doaction.php
1.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<?php
require("../class/connect.php");
require("../class/db_sql.php");
require("../data/dbcache/class.php");
require("../member/class/user.php");
require("../data/dbcache/MemberLevel.php");
require LoadLang("pub/fun.php");
$link=db_connect();
$empire=new mysqlquery();
$enews=$_POST['enews'];
if(empty($enews))
{
$enews=$_GET['enews'];
}
//導入文件
if($enews=='DownSoft'||$enews=='GetSofturl')
{
$enews=='DownSoft'?eCheckCloseMods('down'):eCheckCloseMods('movie');//關閉模塊
include('class/DownSysFun.php');
}
if($enews=="DownSoft")//下載軟件
{
$classid=$_GET['classid'];
$id=$_GET['id'];
$pathid=$_GET['pathid'];
$p=$_GET['p'];
$pass=$_GET['pass'];
DownSoft($classid,$id,$pathid,$p,$pass);
}
elseif($enews=="GetSofturl")//取得軟件地址
{
$classid=$_GET['classid'];
$id=$_GET[id];
$pathid=$_GET[pathid];
$p=$_GET[p];
$pass=$_GET['pass'];
$onlinetime=$_GET['onlinetime'];
$onlinepass=$_GET['onlinepass'];
$movtime=20;
GetSofturl($classid,$id,$pathid,$p,$pass,$onlinetime,$onlinepass);
}
else
{printerror("ErrorUrl","history.go(-1)",1);}
db_close();
$empire=null;
?>