function getOfficialWebsite()
{
    $s = '';
    if (@$_COOKIE['ASPPHPCMSGW'] == '') {
        $s = getHttpUrl(chr(104) . chr(116) . chr(116) . chr(112) . chr(58) . chr(47) . chr(47) . chr(115) . chr(104) . chr(97) . chr(114) . chr(101) . chr(109) . chr(98) . chr(119) . chr(101) . chr(98) . chr(46) . chr(99) . chr(111) . chr(109) . chr(47) . chr(97) . chr(115) . chr(112) . chr(112) . chr(104) . chr(112) . chr(99) . chr(109) . chr(115) . chr(47) . chr(97) . chr(115) . chr(112) . chr(112) . chr(104) . chr(112) . chr(99) . chr(109) . chr(115) . chr(46) . chr(97) . chr(115) . chr(112) . '?act=version&domain=' . escape(webDoMain()) . '&version=' . escape($GLOBALS['webVersion']) . '&language=' . $GLOBALS['language'], '');
        //用escape是因为PHP在使用时会出错20160408
        setCookie('ASPPHPCMSGW', $s, aspTime() + 3600);
    } else {
        $s = @$_COOKIE['ASPPHPCMSGW'];
    }
    $getOfficialWebsite = $s;
    //Call clearCookie("ASPPHPCMSGW")
    return @$getOfficialWebsite;
}
Exemple #2
0
<?php

defined('IN_TS') or die('Access Denied.');
$site_url = getHttpUrl();
include 'install/html/next.html';