文件名称:UCH2.0绿色完美支持邮箱登陆(免费)
文件大小:1KB
文件格式:RAR
更新时间:2013-12-14 15:11:23
UCH2.0绿色完美支持邮箱登陆(免费)
UCH2.0绿色完美支持邮箱登陆(免费) 找到 source/do_login.php $password = $_POST['password']; $username = $_POST['username']; $cookietime = intval($_POST['cookietime']); if (isemail($username)) { $sqlgetuser = "SELECT uid,email,emailcheck FROM ".tname("spacefield")." WHERE email='$username'"; $querygetuser = $_SGLOBAL['db']->query($sqlgetuser); $getuserid = $_SGLOBAL['db']->fetch_array($querygetuser); if ($getuserid['emailcheck'] == 0 && $_SGLOBAL['db']->num_rows($querygetuser) != 0) { showmessage('email_unchecked', 'do.php?ac='.$_SCONFIG['login_action']); } $getuserid = $getuserid['uid']; $sqlgetuser = "SELECT uid,username FROM ".tname("space")." WHERE uid='$getuserid'"; $querygetuser = $_SGLOBAL['db']->query($sqlgetuser); $getusername = $_SGLOBAL['db']->fetch_array($querygetuser); $username = trim($getusername['username']); } //Noffice.Net 找到 language/lang_showmessage.php 在里面添加'email_unchecked' 对应的提示信息(根据自身要求写)
【文件预览】:
17cha8.cn.txt
readme.txt
说明.htm