function checkinfofull() { if (isset($_SESSION['uid'])) { $db = new DB_Sql(); $str = "select name,home_tel,mobile from user where id =" . $_SESSION['uid']; $db->query($str); $db->next_record(); $name1 = $db->value('name'); $hometel = $db->value('home_tel'); $mob = $db->value('mobile'); if (strlen(trim($name1)) == 0 || strlen(trim($hometel)) == 0 && strlen(trim($mob)) == 0) { msg("请先完善个人信息!将您能够填写的项目全部填写完毕,再进行报名。"); jump("adminindex.php?type=editor_personal_info"); } } else { jump("login.php"); } }