JTBC_CMS的php代码的调测修改,对吗
{ap_user_init();global$nusername,$nvalidate;if(ii_isnull($nusername)){$tmpstr=ii_irep...
{
ap_user_init();
global $nusername, $nvalidate;
if (ii_isnull($nusername))
{
$tmpstr = ii_ireplace('global.' . USER_FOLDER . ':api.jslogin_login', 'tpl');
$tmpstr = mm_cvalhtml($tmpstr, $nvalidate, '{@recurrence_valcode}');
}
else $tmpstr = ii_ireplace('global.' . USER_FOLDER . ':api.jslogin_logined', 'tpl');
echo $tmpstr;溺宠丑夫之夫人威武全本TXT小说下载http://60m.net/guzhuangyanqing/txt571.html
}
function jtbc_cms_interface_nlogin()
{
if (!mm_ck_valcode()) echo 'error1';
else
{
$tusername = ii_unescape(ii_get_safecode($_GET['username']));
$tpassword = md5(ii_unescape(ii_get_safecode($_GET['password'])));
setcookie(APP_NAME . 'user[username]', $tusername, 0, COOKIES_PATH);
setcookie(APP_NAME . 'user[password]', $tpassword, 0, COOKIES_PATH);
if (ap_check_username($tusername, $tpassword)) echo 'ok';
else echo 'error2';
}
}
function jtbc_cms_interface_check_username()
{
$tusername = ii_unescape(ii_get_safecode($_GET['username']));
if (ap_check_isuser($tusername) == 0) echo '0';
else echo '1';
} 展开
ap_user_init();
global $nusername, $nvalidate;
if (ii_isnull($nusername))
{
$tmpstr = ii_ireplace('global.' . USER_FOLDER . ':api.jslogin_login', 'tpl');
$tmpstr = mm_cvalhtml($tmpstr, $nvalidate, '{@recurrence_valcode}');
}
else $tmpstr = ii_ireplace('global.' . USER_FOLDER . ':api.jslogin_logined', 'tpl');
echo $tmpstr;溺宠丑夫之夫人威武全本TXT小说下载http://60m.net/guzhuangyanqing/txt571.html
}
function jtbc_cms_interface_nlogin()
{
if (!mm_ck_valcode()) echo 'error1';
else
{
$tusername = ii_unescape(ii_get_safecode($_GET['username']));
$tpassword = md5(ii_unescape(ii_get_safecode($_GET['password'])));
setcookie(APP_NAME . 'user[username]', $tusername, 0, COOKIES_PATH);
setcookie(APP_NAME . 'user[password]', $tpassword, 0, COOKIES_PATH);
if (ap_check_username($tusername, $tpassword)) echo 'ok';
else echo 'error2';
}
}
function jtbc_cms_interface_check_username()
{
$tusername = ii_unescape(ii_get_safecode($_GET['username']));
if (ap_check_isuser($tusername) == 0) echo '0';
else echo '1';
} 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询