| @@ -11,7 +11,7 @@ | |||||
| require_once(dirname(__FILE__).'/config.php'); | require_once(dirname(__FILE__).'/config.php'); | ||||
| require_once(DEDEINC.'/datalistcp.class.php'); | require_once(DEDEINC.'/datalistcp.class.php'); | ||||
| require_once(DEDEINC.'/common.func.php'); | require_once(DEDEINC.'/common.func.php'); | ||||
| setcookie('ENV_GOBACK_URL', $dedeNowurl, time() + 3600, '/'); | |||||
| DedeSetCookie('ENV_GOBACK_URL', $dedeNowurl, time() + 3600, '/'); | |||||
| $clsid = isset($clsid) ? intval($clsid) : 0; | $clsid = isset($clsid) ? intval($clsid) : 0; | ||||
| $keyword = isset($keyword) ? addslashes($keyword) : ''; | $keyword = isset($keyword) ? addslashes($keyword) : ''; | ||||
| $dsql->Execute('dd', 'SELECT * FROM `#@__myadtype` ORDER BY id DESC'); | $dsql->Execute('dd', 'SELECT * FROM `#@__myadtype` ORDER BY id DESC'); | ||||
| @@ -11,7 +11,7 @@ | |||||
| require_once(dirname(__FILE__)."/config.php"); | require_once(dirname(__FILE__)."/config.php"); | ||||
| CheckPurview('sys_Keyword'); | CheckPurview('sys_Keyword'); | ||||
| require_once(DEDEINC."/datalistcp.class.php"); | require_once(DEDEINC."/datalistcp.class.php"); | ||||
| setcookie("ENV_GOBACK_URL", $dedeNowurl, time() + 3600, "/"); | |||||
| DedeSetCookie("ENV_GOBACK_URL", $dedeNowurl, time() + 3600, "/"); | |||||
| if (empty($dopost)) $dopost = ''; | if (empty($dopost)) $dopost = ''; | ||||
| //保存批量修改 | //保存批量修改 | ||||
| if ($dopost == 'saveall') { | if ($dopost == 'saveall') { | ||||
| @@ -10,7 +10,7 @@ | |||||
| */ | */ | ||||
| require_once(dirname(__FILE__)."/config.php"); | require_once(dirname(__FILE__)."/config.php"); | ||||
| require_once(DEDEINC."/datalistcp.class.php"); | require_once(DEDEINC."/datalistcp.class.php"); | ||||
| setcookie("ENV_GOBACK_URL", $dedeNowurl, time() + 3600, "/"); | |||||
| DedeSetCookie("ENV_GOBACK_URL", $dedeNowurl, time() + 3600, "/"); | |||||
| $f = RemoveXSS($f); | $f = RemoveXSS($f); | ||||
| if (empty($keywords)) $keywords = ''; | if (empty($keywords)) $keywords = ''; | ||||
| $sql = "SELECT * FROM `#@__keywords` ORDER BY `rank` DESC"; | $sql = "SELECT * FROM `#@__keywords` ORDER BY `rank` DESC"; | ||||
| @@ -48,7 +48,7 @@ if ($stime > $etime) { | |||||
| } | } | ||||
| $adminid = $cuserLogin->getUserID(); | $adminid = $cuserLogin->getUserID(); | ||||
| $maintable = '#@__archives'; | $maintable = '#@__archives'; | ||||
| setcookie('ENV_GOBACK_URL', $dedeNowurl, time() + 3600, '/'); | |||||
| DedeSetCookie('ENV_GOBACK_URL', $dedeNowurl, time() + 3600, '/'); | |||||
| $tl = new TypeLink($cid); | $tl = new TypeLink($cid); | ||||
| //在不指定排序条件和关键词的情况下直接统计微表 | //在不指定排序条件和关键词的情况下直接统计微表 | ||||
| if (empty($totalresult) && empty($keyword) && empty($orderby) && empty($flag)) { | if (empty($totalresult) && empty($keyword) && empty($orderby) && empty($flag)) { | ||||
| @@ -34,7 +34,7 @@ $maintable = '#@__archives'; | |||||
| require_once(DEDEINC."/typelink/typelink.class.php"); | require_once(DEDEINC."/typelink/typelink.class.php"); | ||||
| require_once(DEDEINC."/datalistcp.class.php"); | require_once(DEDEINC."/datalistcp.class.php"); | ||||
| require_once(DEDEADMIN."/inc/inc_list_functions.php"); | require_once(DEDEADMIN."/inc/inc_list_functions.php"); | ||||
| setcookie("ENV_GOBACK_URL", $dedeNowurl, time() + 3600, "/"); | |||||
| DedeSetCookie("ENV_GOBACK_URL", $dedeNowurl, time() + 3600, "/"); | |||||
| $tl = new TypeLink($cid); | $tl = new TypeLink($cid); | ||||
| $listtable = @trim($tl->TypeInfos['addtable']); | $listtable = @trim($tl->TypeInfos['addtable']); | ||||
| if (!empty($channelid) && !empty($ucid) && $tl->TypeInfos['channeltype'] != $channelid) { | if (!empty($channelid) && !empty($ucid) && $tl->TypeInfos['channeltype'] != $channelid) { | ||||
| @@ -12,7 +12,7 @@ require_once(dirname(__FILE__)."/config.php"); | |||||
| CheckPurview('c_List'); | CheckPurview('c_List'); | ||||
| require_once(DEDEINC."/datalistcp.class.php"); | require_once(DEDEINC."/datalistcp.class.php"); | ||||
| require_once(DEDEINC."/common.func.php"); | require_once(DEDEINC."/common.func.php"); | ||||
| setcookie("ENV_GOBACK_URL", $dedeNowurl, time() + 3600, "/"); | |||||
| DedeSetCookie("ENV_GOBACK_URL", $dedeNowurl, time() + 3600, "/"); | |||||
| $sql = "SELECT `diyid`,`name`,`table` FROM `#@__diyforms` ORDER BY diyid ASC"; | $sql = "SELECT `diyid`,`name`,`table` FROM `#@__diyforms` ORDER BY diyid ASC"; | ||||
| $dlist = new DataListCP(); | $dlist = new DataListCP(); | ||||
| $dlist->SetTemplet(DEDEADMIN."/templets/diy_main.htm"); | $dlist->SetTemplet(DEDEADMIN."/templets/diy_main.htm"); | ||||
| @@ -13,7 +13,7 @@ require_once(dirname(__FILE__)."/config.php"); | |||||
| CheckPurview('sys_Feedback'); | CheckPurview('sys_Feedback'); | ||||
| require_once(DEDEINC."/datalistcp.class.php"); | require_once(DEDEINC."/datalistcp.class.php"); | ||||
| require_once(DEDEINC."/typelink/typelink.class.php"); | require_once(DEDEINC."/typelink/typelink.class.php"); | ||||
| setcookie("ENV_GOBACK_URL", $dedeNowurl, time() + 3600, "/"); | |||||
| DedeSetCookie("ENV_GOBACK_URL", $dedeNowurl, time() + 3600, "/"); | |||||
| function IsCheck($st) | function IsCheck($st) | ||||
| { | { | ||||
| return $st==1 ? '已审核' : '待审核'; | return $st==1 ? '已审核' : '待审核'; | ||||
| @@ -11,7 +11,7 @@ | |||||
| require_once(dirname(__FILE__)."/config.php"); | require_once(dirname(__FILE__)."/config.php"); | ||||
| CheckPurview('c_FreeList'); | CheckPurview('c_FreeList'); | ||||
| require_once DEDEINC.'/channelunit.func.php'; | require_once DEDEINC.'/channelunit.func.php'; | ||||
| setcookie("ENV_GOBACK_URL",$dedeNowurl,time()+3600,"/"); | |||||
| DedeSetCookie("ENV_GOBACK_URL",$dedeNowurl,time()+3600,"/"); | |||||
| if (empty($pagesize)) $pagesize = 30; | if (empty($pagesize)) $pagesize = 30; | ||||
| if (empty($pageno)) $pageno = 1; | if (empty($pageno)) $pageno = 1; | ||||
| if (empty($dopost)) $dopost = ''; | if (empty($dopost)) $dopost = ''; | ||||
| @@ -10,7 +10,7 @@ | |||||
| */ | */ | ||||
| require_once(dirname(__FILE__).'/config.php'); | require_once(dirname(__FILE__).'/config.php'); | ||||
| require_once(DEDEINC.'/datalistcp.class.php'); | require_once(DEDEINC.'/datalistcp.class.php'); | ||||
| setcookie('ENV_GOBACK_URL', $dedeNowurl, time() + 3600, '/'); | |||||
| DedeSetCookie('ENV_GOBACK_URL', $dedeNowurl, time() + 3600, '/'); | |||||
| if (empty($keyword)) $keyword = ''; | if (empty($keyword)) $keyword = ''; | ||||
| if (empty($ischeck)) { | if (empty($ischeck)) { | ||||
| $ischeck = 0; | $ischeck = 0; | ||||
| @@ -12,7 +12,7 @@ require_once(dirname(__FILE__)."/config.php"); | |||||
| CheckPurview('sys_Log'); | CheckPurview('sys_Log'); | ||||
| require_once(DEDEINC."/datalistcp.class.php"); | require_once(DEDEINC."/datalistcp.class.php"); | ||||
| require_once(DEDEINC."/common.func.php"); | require_once(DEDEINC."/common.func.php"); | ||||
| setcookie("ENV_GOBACK_URL", $dedeNowurl, time() + 3600, "/"); | |||||
| DedeSetCookie("ENV_GOBACK_URL", $dedeNowurl, time() + 3600, "/"); | |||||
| $sql = $where = ''; | $sql = $where = ''; | ||||
| if (empty($adminid)) $adminid = 0; | if (empty($adminid)) $adminid = 0; | ||||
| if (empty($cip)) $cip = ''; | if (empty($cip)) $cip = ''; | ||||
| @@ -11,7 +11,7 @@ | |||||
| require_once(dirname(__FILE__)."/config.php"); | require_once(dirname(__FILE__)."/config.php"); | ||||
| require_once(DEDEINC."/datalistcp.class.php"); | require_once(DEDEINC."/datalistcp.class.php"); | ||||
| require_once(DEDEINC."/common.func.php"); | require_once(DEDEINC."/common.func.php"); | ||||
| setcookie("ENV_GOBACK_URL", $dedeNowurl, time() + 3600, "/"); | |||||
| DedeSetCookie("ENV_GOBACK_URL", $dedeNowurl, time() + 3600, "/"); | |||||
| if (empty($dopost)) $dopost = ''; | if (empty($dopost)) $dopost = ''; | ||||
| //文件管理器 | //文件管理器 | ||||
| if ($dopost == 'filemanager') { | if ($dopost == 'filemanager') { | ||||
| @@ -11,7 +11,7 @@ | |||||
| require_once(dirname(__FILE__)."/config.php"); | require_once(dirname(__FILE__)."/config.php"); | ||||
| CheckPurview('member_List'); | CheckPurview('member_List'); | ||||
| require_once(DEDEINC."/datalistcp.class.php"); | require_once(DEDEINC."/datalistcp.class.php"); | ||||
| setcookie("ENV_GOBACK_URL", $dedeNowurl, time() + 3600, "/"); | |||||
| DedeSetCookie("ENV_GOBACK_URL", $dedeNowurl, time() + 3600, "/"); | |||||
| if (!isset($sex)) $sex = ''; | if (!isset($sex)) $sex = ''; | ||||
| if (!isset($mtype)) $mtype = ''; | if (!isset($mtype)) $mtype = ''; | ||||
| if (!isset($spacesta)) $spacesta = -10; | if (!isset($spacesta)) $spacesta = -10; | ||||
| @@ -10,7 +10,7 @@ | |||||
| */ | */ | ||||
| require_once(dirname(__FILE__)."/config.php"); | require_once(dirname(__FILE__)."/config.php"); | ||||
| CheckPurview('member_Operations'); | CheckPurview('member_Operations'); | ||||
| setcookie("ENV_GOBACK_URL", $dedeNowurl, time() + 3600, "/"); | |||||
| DedeSetCookie("ENV_GOBACK_URL", $dedeNowurl, time() + 3600, "/"); | |||||
| require_once(DEDEINC.'/datalistcp.class.php'); | require_once(DEDEINC.'/datalistcp.class.php'); | ||||
| if (empty($buyid)) $buyid = ''; | if (empty($buyid)) $buyid = ''; | ||||
| $buyid = HtmlReplace($buyid , 1); | $buyid = HtmlReplace($buyid , 1); | ||||
| @@ -10,7 +10,7 @@ | |||||
| */ | */ | ||||
| require_once(dirname(__FILE__)."/config.php"); | require_once(dirname(__FILE__)."/config.php"); | ||||
| CheckPurview('member_Pm'); | CheckPurview('member_Pm'); | ||||
| setcookie("ENV_GOBACK_URL", $dedeNowurl, time() + 3600, "/"); | |||||
| DedeSetCookie("ENV_GOBACK_URL", $dedeNowurl, time() + 3600, "/"); | |||||
| require_once(DEDEINC.'/datalistcp.class.php'); | require_once(DEDEINC.'/datalistcp.class.php'); | ||||
| if (!isset($folder)) $folder = ''; | if (!isset($folder)) $folder = ''; | ||||
| if (!isset($username)) $username = ''; | if (!isset($username)) $username = ''; | ||||
| @@ -14,7 +14,7 @@ if (DEDEBIZ_SAFE_MODE) { | |||||
| } | } | ||||
| CheckPurview('c_List'); | CheckPurview('c_List'); | ||||
| require_once(DEDEINC.'/datalistcp.class.php'); | require_once(DEDEINC.'/datalistcp.class.php'); | ||||
| setcookie("ENV_GOBACK_URL", $dedeNowurl, time() + 3600, "/"); | |||||
| DedeSetCookie("ENV_GOBACK_URL", $dedeNowurl, time() + 3600, "/"); | |||||
| $sql = "SELECT id,nid,typename,addtable,isshow,issystem FROM `#@__channeltype` ORDER BY id DESC"; | $sql = "SELECT id,nid,typename,addtable,isshow,issystem FROM `#@__channeltype` ORDER BY id DESC"; | ||||
| $dlist = new DataListCP(); | $dlist = new DataListCP(); | ||||
| $dlist->SetTemplet(DEDEADMIN."/templets/mychannel_main.htm"); | $dlist->SetTemplet(DEDEADMIN."/templets/mychannel_main.htm"); | ||||
| @@ -14,7 +14,7 @@ if (DEDEBIZ_SAFE_MODE) { | |||||
| } | } | ||||
| CheckPurview('temp_Other'); | CheckPurview('temp_Other'); | ||||
| require_once(DEDEINC.'/datalistcp.class.php'); | require_once(DEDEINC.'/datalistcp.class.php'); | ||||
| setcookie("ENV_GOBACK_URL", $dedeNowurl, time() + 3600, '/'); | |||||
| DedeSetCookie("ENV_GOBACK_URL", $dedeNowurl, time() + 3600, '/'); | |||||
| make_hash(); | make_hash(); | ||||
| $sql = "SELECT myt.aid,myt.tagname,tp.typename,myt.timeset,myt.endtime FROM `#@__mytag` myt LEFT JOIN `#@__arctype` tp ON tp.id=myt.typeid ORDER BY myt.aid DESC "; | $sql = "SELECT myt.aid,myt.tagname,tp.typename,myt.timeset,myt.endtime FROM `#@__mytag` myt LEFT JOIN `#@__arctype` tp ON tp.id=myt.typeid ORDER BY myt.aid DESC "; | ||||
| $dlist = new DataListCP(); | $dlist = new DataListCP(); | ||||
| @@ -11,7 +11,7 @@ | |||||
| require_once(dirname(__FILE__)."/config.php"); | require_once(dirname(__FILE__)."/config.php"); | ||||
| CheckPurview('sys_plus'); | CheckPurview('sys_plus'); | ||||
| require_once(DEDEINC."/datalistcp.class.php"); | require_once(DEDEINC."/datalistcp.class.php"); | ||||
| setcookie("ENV_GOBACK_URL", $dedeNowurl, time() + 3600, "/"); | |||||
| DedeSetCookie("ENV_GOBACK_URL", $dedeNowurl, time() + 3600, "/"); | |||||
| $sql = "SELECT aid,plusname,writer,isshow FROM `#@__plus` ORDER BY aid ASC"; | $sql = "SELECT aid,plusname,writer,isshow FROM `#@__plus` ORDER BY aid ASC"; | ||||
| $dlist = new DataListCP(); | $dlist = new DataListCP(); | ||||
| $dlist->SetTemplet(DEDEADMIN."/templets/plus_main.htm"); | $dlist->SetTemplet(DEDEADMIN."/templets/plus_main.htm"); | ||||
| @@ -9,7 +9,7 @@ | |||||
| * @link https://www.dedebiz.com | * @link https://www.dedebiz.com | ||||
| */ | */ | ||||
| require_once(dirname(__FILE__)."/config.php"); | require_once(dirname(__FILE__)."/config.php"); | ||||
| setcookie("ENV_GOBACK_URL", $dedeNowurl, time() + 3600, "/"); | |||||
| DedeSetCookie("ENV_GOBACK_URL", $dedeNowurl, time() + 3600, "/"); | |||||
| if (empty($pagesize)) $pagesize = 30; | if (empty($pagesize)) $pagesize = 30; | ||||
| if (empty($pageno)) $pageno = 1; | if (empty($pageno)) $pageno = 1; | ||||
| if (empty($dopost)) $dopost = ''; | if (empty($dopost)) $dopost = ''; | ||||
| @@ -15,7 +15,7 @@ require_once(DEDEINC.'/enums.func.php'); | |||||
| //前台视图 | //前台视图 | ||||
| $ENV_GOBACK_URL = (isset($ENV_GOBACK_URL) ? $ENV_GOBACK_URL : 'stepselect_main.php'); | $ENV_GOBACK_URL = (isset($ENV_GOBACK_URL) ? $ENV_GOBACK_URL : 'stepselect_main.php'); | ||||
| if (empty($action)) { | if (empty($action)) { | ||||
| setcookie("ENV_GOBACK_URL", $dedeNowurl, time() + 3600, "/"); | |||||
| DedeSetCookie("ENV_GOBACK_URL", $dedeNowurl, time() + 3600, "/"); | |||||
| if (!isset($egroup)) $egroup = ''; | if (!isset($egroup)) $egroup = ''; | ||||
| if (!isset($topvalue)) $topvalue = 0; | if (!isset($topvalue)) $topvalue = 0; | ||||
| $etypes = array(); | $etypes = array(); | ||||
| @@ -11,7 +11,7 @@ | |||||
| require_once(dirname(__FILE__)."/config.php"); | require_once(dirname(__FILE__)."/config.php"); | ||||
| CheckPurview('sys_User'); | CheckPurview('sys_User'); | ||||
| require_once(DEDEINC."/datalistcp.class.php"); | require_once(DEDEINC."/datalistcp.class.php"); | ||||
| setcookie("ENV_GOBACK_URL", $dedeNowurl, time() + 3600, "/"); | |||||
| DedeSetCookie("ENV_GOBACK_URL", $dedeNowurl, time() + 3600, "/"); | |||||
| if (empty($rank)) $rank = ''; | if (empty($rank)) $rank = ''; | ||||
| else $rank = " WHERE CONCAT(#@__admin.usertype)='$rank' "; | else $rank = " WHERE CONCAT(#@__admin.usertype)='$rank' "; | ||||
| $dsql->SetQuery("SELECT `rank`,typename FROM `#@__admintype`"); | $dsql->SetQuery("SELECT `rank`,typename FROM `#@__admintype`"); | ||||
| @@ -11,7 +11,7 @@ | |||||
| require_once(dirname(__FILE__)."/config.php"); | require_once(dirname(__FILE__)."/config.php"); | ||||
| CheckPurview('temp_One'); | CheckPurview('temp_One'); | ||||
| require_once(DEDEINC."/datalistcp.class.php"); | require_once(DEDEINC."/datalistcp.class.php"); | ||||
| setcookie("ENV_GOBACK_URL", $dedeNowurl, time() + 3600, "/"); | |||||
| DedeSetCookie("ENV_GOBACK_URL", $dedeNowurl, time() + 3600, "/"); | |||||
| $addquery = ''; | $addquery = ''; | ||||
| $keyword = (!isset($keyword) ? '' : $keyword); | $keyword = (!isset($keyword) ? '' : $keyword); | ||||
| $likeid = (!isset($likeid) ? '' : $likeid); | $likeid = (!isset($likeid) ? '' : $likeid); | ||||
| @@ -10,7 +10,7 @@ | |||||
| */ | */ | ||||
| require_once(dirname(__FILE__)."/config.php"); | require_once(dirname(__FILE__)."/config.php"); | ||||
| require_once(DEDEINC."/datalistcp.class.php"); | require_once(DEDEINC."/datalistcp.class.php"); | ||||
| setcookie("ENV_GOBACK_URL", $dedeNowurl, time() + 3600, "/"); | |||||
| DedeSetCookie("ENV_GOBACK_URL", $dedeNowurl, time() + 3600, "/"); | |||||
| $sql = "SELECT aid,votename,starttime,endtime,totalcount,isenable FROM `#@__vote` ORDER BY aid DESC"; | $sql = "SELECT aid,votename,starttime,endtime,totalcount,isenable FROM `#@__vote` ORDER BY aid DESC"; | ||||
| $dlist = new DataListCP(); | $dlist = new DataListCP(); | ||||
| $issel = isset($issel) ? $issel : 0; | $issel = isset($issel) ? $issel : 0; | ||||
| @@ -157,10 +157,10 @@ class DedeVote | |||||
| ShowMsg('您已投过票', $ENV_GOBACK_URL); | ShowMsg('您已投过票', $ENV_GOBACK_URL); | ||||
| exit(); | exit(); | ||||
| } else { | } else { | ||||
| setcookie('VOTE_MEMBER_IP', $_SERVER['REMOTE_ADDR'], time() * $row['spec'] * 3600, '/'); | |||||
| DedeSetCookie('VOTE_MEMBER_IP', $_SERVER['REMOTE_ADDR'], time() * $row['spec'] * 3600, '/'); | |||||
| } | } | ||||
| } else { | } else { | ||||
| setcookie('VOTE_MEMBER_IP', $_SERVER['REMOTE_ADDR'], time() * $row['spec'] * 3600, '/'); | |||||
| DedeSetCookie('VOTE_MEMBER_IP', $_SERVER['REMOTE_ADDR'], time() * $row['spec'] * 3600, '/'); | |||||
| } | } | ||||
| //检查会员是否已投过票 | //检查会员是否已投过票 | ||||
| $nowtime = time(); | $nowtime = time(); | ||||
| @@ -13,7 +13,7 @@ CheckRank(0, 0);//禁止游客操作 | |||||
| require_once(DEDEINC."/typelink/typelink.class.php"); | require_once(DEDEINC."/typelink/typelink.class.php"); | ||||
| require_once(DEDEINC."/datalistcp.class.php"); | require_once(DEDEINC."/datalistcp.class.php"); | ||||
| require_once(DEDEMEMBER."/inc/inc_list_functions.php"); | require_once(DEDEMEMBER."/inc/inc_list_functions.php"); | ||||
| setcookie("ENV_GOBACK_URL", $dedeNowurl, time() + 3600, "/"); | |||||
| DedeSetCookie("ENV_GOBACK_URL", $dedeNowurl, time() + 3600, "/"); | |||||
| $cid = isset($cid) && is_numeric($cid) ? $cid : 0; | $cid = isset($cid) && is_numeric($cid) ? $cid : 0; | ||||
| $channelid = isset($channelid) && is_numeric($channelid) ? $channelid : 0; | $channelid = isset($channelid) && is_numeric($channelid) ? $channelid : 0; | ||||
| $mtypesid = isset($mtypesid) && is_numeric($mtypesid) ? $mtypesid : 0; | $mtypesid = isset($mtypesid) && is_numeric($mtypesid) ? $mtypesid : 0; | ||||
| @@ -13,7 +13,7 @@ CheckRank(0, 0);//禁止游客操作 | |||||
| require_once(DEDEINC."/typelink/typelink.class.php"); | require_once(DEDEINC."/typelink/typelink.class.php"); | ||||
| require_once(DEDEINC."/datalistcp.class.php"); | require_once(DEDEINC."/datalistcp.class.php"); | ||||
| require_once(DEDEMEMBER."/inc/inc_list_functions.php"); | require_once(DEDEMEMBER."/inc/inc_list_functions.php"); | ||||
| setcookie("ENV_GOBACK_URL", $dedeNowurl, time() + 3600, "/"); | |||||
| DedeSetCookie("ENV_GOBACK_URL", $dedeNowurl, time() + 3600, "/"); | |||||
| $cid = isset($cid) && is_numeric($cid) ? $cid : 0; | $cid = isset($cid) && is_numeric($cid) ? $cid : 0; | ||||
| $channelid = isset($channelid) && is_numeric($channelid) ? $channelid : 0; | $channelid = isset($channelid) && is_numeric($channelid) ? $channelid : 0; | ||||
| $mtypesid = isset($mtypesid) && is_numeric($mtypesid) ? $mtypesid : 0; | $mtypesid = isset($mtypesid) && is_numeric($mtypesid) ? $mtypesid : 0; | ||||
| @@ -13,7 +13,7 @@ CheckRank(0, 0);//禁止游客操作 | |||||
| $menutype = 'mydede'; | $menutype = 'mydede'; | ||||
| $menutype_son = 'op'; | $menutype_son = 'op'; | ||||
| require_once(DEDEINC.'/datalistcp.class.php'); | require_once(DEDEINC.'/datalistcp.class.php'); | ||||
| setcookie('ENV_GOBACK_URL', GetCurUrl(), time() + 3600, '/'); | |||||
| DedeSetCookie('ENV_GOBACK_URL', GetCurUrl(), time() + 3600, '/'); | |||||
| if (!isset($dopost)) $dopost = ''; | if (!isset($dopost)) $dopost = ''; | ||||
| if ($dopost == '') { | if ($dopost == '') { | ||||
| $query = "SELECT * FROM `#@__member_operation` WHERE mid='".$cfg_ml->M_ID."' And product='archive' ORDER BY aid DESC"; | $query = "SELECT * FROM `#@__member_operation` WHERE mid='".$cfg_ml->M_ID."' And product='archive' ORDER BY aid DESC"; | ||||
| @@ -11,7 +11,7 @@ | |||||
| require_once(dirname(__FILE__)."/config.php"); | require_once(dirname(__FILE__)."/config.php"); | ||||
| CheckRank(0, 0);//禁止游客操作 | CheckRank(0, 0);//禁止游客操作 | ||||
| require_once(DEDEINC."/datalistcp.class.php"); | require_once(DEDEINC."/datalistcp.class.php"); | ||||
| setcookie("ENV_GOBACK_URL", GetCurUrl(), time() + 3600, "/"); | |||||
| DedeSetCookie("ENV_GOBACK_URL", GetCurUrl(), time() + 3600, "/"); | |||||
| $type = empty($type) ? "sys" : trim($type); | $type = empty($type) ? "sys" : trim($type); | ||||
| $tpl = ''; | $tpl = ''; | ||||
| $menutype = 'mydede'; | $menutype = 'mydede'; | ||||
| @@ -13,7 +13,7 @@ CheckRank(0, 0);//禁止游客操作 | |||||
| require_once(DEDEINC."/datalistcp.class.php"); | require_once(DEDEINC."/datalistcp.class.php"); | ||||
| $menutype = 'mydede'; | $menutype = 'mydede'; | ||||
| $menutype_son = 'op'; | $menutype_son = 'op'; | ||||
| setcookie("ENV_GOBACK_URL", GetCurUrl(), time() + 3600, "/"); | |||||
| DedeSetCookie("ENV_GOBACK_URL", GetCurUrl(), time() + 3600, "/"); | |||||
| if (!isset($dopost)) $dopost = ''; | if (!isset($dopost)) $dopost = ''; | ||||
| function GetSta($sta) | function GetSta($sta) | ||||
| { | { | ||||