本文整理汇总了PHP中adminTemplate函数的典型用法代码示例。如果您正苦于以下问题:PHP adminTemplate函数的具体用法?PHP adminTemplate怎么用?PHP adminTemplate使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了adminTemplate函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: financial_rewardpunish_list
function financial_rewardpunish_list()
{
/*//note 处理搜索会员聊天
if($_GET['action'] == 'active_chat') {
$choose = MooGetGPC('choose','string');
$keyword = MooGetGPC('keyword','string');
$where = '';
if(!empty($choose) && !empty($keyword)) {
if($choose == 's_content') {
$where = " WHERE $choose like '%$keyword%'";
}else{
$where = " WHERE $choose = '$keyword'";
}
}
}
//note 登陆系统后客服显示自己范围内的, 主管显示全部
$return_arr = active_chat_loginlist($where,$keyword);
$where = $return_arr['where'];
$member_arr = $return_arr['members'];
//note 分页处理
$page = max(1,MooGetGPC('page','integer'));
$limit = 15;
$offset = ($page-1)*$limit;
//note 查询语句
if($where != '1') { //note 只查询属于该客服下的用户
//note 数据库查询
$sql = "SELECT COUNT(*) num FROM {$GLOBALS['dbTablePre']}service_chat $where";
$total = $GLOBALS['_MooClass']['MooMySQL']->getOne($sql);
$sql = "SELECT * FROM {$GLOBALS['dbTablePre']}service_chat $where ORDER BY s_id DESC LIMIT {$offset},{$limit}";
$user_arr = $GLOBALS['_MooClass']['MooMySQL']->getAll($sql);
}
//note 搜索分页处理
if(!empty($choose) && !empty($keyword)) {
$currenturl = "index.php?action=active_chat&h=list&choose=$choose&keyword=".urlencode($keyword);
}else {
$currenturl = "index.php?action=active_chat&h=list";
}
$pages = multipage( $total['num'], $limit, $page, $currenturl );
//note 跳转到某一页
$page_num = ceil($total['num']/$limit);
*/
$sql = "SELECT * FROM {$GLOBALS['dbTablePre']}financial_rewardpunish";
$user_arr = $GLOBALS['_MooClass']['MooMySQL']->getAll($sql);
foreach ($user_arr as $k => $v) {
$sql = "SELECT * FROM {$GLOBALS['dbTablePre']}admin_user WHERE uid='{$v['uid']}'";
$user = $GLOBALS['_MooClass']['MooMySQL']->getOne($sql);
$user_arr[$k]['name'] = $user['name'];
}
//note 插入日志
serverlog(1, $GLOBALS['dbTablePre'] . 'financial_rewardpunish', "{$GLOBALS['username']}查看奖惩订单列表", $GLOBALS['adminid']);
//note 调用模板
require adminTemplate('financial_rewardpunish_list');
}
示例2: site_media_edit
function site_media_edit()
{
$ispost = MooGetGPC('ispost', 'integer', 'P');
if ($ispost) {
$id = MooGetGPC('id', 'integer', 'P');
$title = MooGetGPC('title', 'string', 'P');
$type = MooGetGPC('type', 'string', 'P');
$addtime = strtotime(MooGetGPC('addtime', 'string', 'P'));
$source = MooGetGPC('source', 'string', 'P');
$content = MooGetGPC('content', 'string', 'P');
if (empty($content)) {
salert("内容不能为空");
}
$sql = "UPDATE {$GLOBALS['dbTablePre']}media SET sid = {$GLOBALS['adminid']},type = '{$type}', title = '{$title}', content = '{$content}', addtime = '{$addtime}', source = '{$source}' WHERE id={$id}";
$GLOBALS['_MooClass']['MooMySQL']->query($sql);
//note 插入日志
serverlog(2, $GLOBALS['dbTablePre'] . 'media', "{$GLOBALS['username']}编辑媒体报道", $GLOBALS['adminid']);
salert("编辑成功", "index.php?action=site_media&h=edit&id=" . $id);
}
$isedit = 1;
$id = MooGetGPC('id', 'integer', 'G');
$sql = "SELECT * FROM {$GLOBALS['dbTablePre']}media WHERE id = {$id}";
$news = $GLOBALS['_MooClass']['MooMySQL']->getOne($sql);
require adminTemplate('site_media_add');
}
示例3: transfer_modify
function transfer_modify()
{
$id = MooGetGPC('id', 'integer', 'G');
if ($_POST['ispost']) {
$id = MooGetGPC('modifyid', 'integer', 'P');
$data['sid'] = MooGetGPC('sid', 'integer', 'P');
$data['uid'] = MooGetGPC('uid', 'integer', 'P');
$data['servicetime'] = MooGetGPC('servicetime', 'integer', 'P');
$data['payments'] = MooGetGPC('payments', 'integer', 'P');
$data['otheruid'] = MooGetGPC('otheruid', 'integer', 'P');
$data['chatnotes'] = MooGetGPC('chatnotes', 'string', 'P');
$data['intro'] = MooGetGPC('intro', 'string', 'P');
$data['otherintro'] = MooGetGPC('otherintro', 'string', 'P');
$data['lastcom'] = MooGetGPC('lastcom', 'string', 'P');
$data['remark'] = MooGetGPC('remark', 'string', 'P');
foreach ($data as $k => $v) {
$set_pram[] .= $k . "='{$v}'";
}
$set_pram = implode(',', $set_pram);
$sql = "UPDATE {$GLOBALS['dbTablePre']}members_transfer SET {$set_pram} WHERE id=" . $id;
$GLOBALS['_MooClass']['MooMySQL']->query($sql);
salert('修改成功!', 'index.php?action=other_members_transfer&h=list');
} elseif ($id > 0) {
$sql = "SELECT * FROM {$GLOBALS['dbTablePre']}members_transfer WHERE `id`=" . $id;
$transfer = $GLOBALS['_MooClass']['MooMySQL']->getOne($sql);
}
require adminTemplate('transfer_modify');
}
示例4: active_rightbottom_sitemail
function active_rightbottom_sitemail()
{
if ($_POST) {
$sid = MooGetGPC('msg_sid', 'integer', 'P');
if (empty($_POST['msg_sid']) && !empty($_POST['msg_username'])) {
$username = MooGetGPC('msg_username', 'string', 'P');
$sql = "SELECT uid FROM {$GLOBALS['dbTablePre']}admin_user WHERE username='{$username}'";
$admin_user = $GLOBALS['_MooClass']['MooMySQL']->getOne($sql);
if (empty($admin_user)) {
salert('此用户不存在');
exit;
}
$sid = $admin_user['uid'];
}
$data['sid'] = $sid;
$data['title'] = "{$GLOBALS['adminid']}号客服:" . MooGetGPC('msg_title', 'string', 'P');
$data['content'] = MooGetGPC('msg_content', 'string', 'P');
$data['awoketime'] = time() + 120;
$data['dateline'] = time();
$data['send_id'] = $GLOBALS['adminid'];
inserttable('admin_remark', $data);
salert('发送成功');
exit;
}
$group_list = get_group_type();
require adminTemplate('other_rightbottom_sitemail');
}
示例5: system_adminaction_edit
function system_adminaction_edit()
{
global $menu_nav_arr, $dbTablePre;
$actionid = MooGetGPC('actionid', 'integer');
$ispost = MooGetGPC('ispost', 'integer');
if (empty($actionid)) {
MooMessageAdmin('参数错误', 'index.php?action=adminaction&h=list', 1);
}
if ($ispost) {
$actiondesc = MooGetGPC('actiondesc', 'string');
$actioncode = MooGetGPC('actioncode', 'string');
$navcode = MooGetGPC('navcode', 'string');
$navname = MooGetGPC('navname', 'string');
if (empty($actiondesc) || empty($actioncode) || empty($navcode) || empty($navname)) {
$admin->showMessage('请将信息填写完整', 'index.php?action=adminaction&h=add', 1);
}
$sql = "UPDATE {$GLOBALS['dbTablePre']}admin_action SET navname='{$navname}',navcode='{$navcode}',actioncode='{$actioncode}',actiondesc='{$actiondesc}' WHERE id='{$actionid}'";
$result = $GLOBALS['_MooClass']['MooMySQL']->query($sql);
if ($result) {
//note 插入日志
serverlog(2, $GLOBALS['dbTablePre'] . 'admin_action', "{$GLOBALS['username']}修改操作{$actionid}", $GLOBALS['adminid']);
salert('修改成功', 'index.php?action=system_adminaction&h=list');
//MooMessageAdmin('修改成功','index.php?action=system_adminaction&h=list',1);
} else {
salert('修改失败', 'index.php?action=system_adminaction&h=list');
//MooMessageAdmin('修改失败','index.php?action=system_adminaction&h=list',1);
}
}
$sql = "SELECT * FROM {$GLOBALS['dbTablePre']}admin_action WHERE id='{$actionid}'";
$adminaction = $GLOBALS['_MooClass']['MooMySQL']->getOne($sql);
require_once adminTemplate('adminaction_edit');
}
示例6: login_index
function login_index()
{
global $memcached;
$seccode = md5(uniqid(rand(), true));
MooSetCookie('seccode', $seccode, time() + 3600, '');
$session_seccode = $memcached->set($seccode, '', 0, 300);
require adminTemplate("login_index");
}
示例7: financial_telphonetime_list
function financial_telphonetime_list()
{
$sid_get = 1;
$sid = $sid_get + 800;
//note 查询出所有的客服
$sql = "SELECT * FROM {$GLOBALS['dbTablePre']}admin_user";
$user_arr = $GLOBALS['_MooClass']['MooMySQL']->getAll($sql);
/*
$sql = "SELECT * FROM {$GLOBALS['dbTablePre']}admin_user WHERE uid='$v[uid]'";
$sql = "SELECT * FROM {$GLOBALS['dbTablePre']}financial_telphonetime";
$user_arr = $GLOBALS['_MooClass']['MooMySQL']->getAll($sql);
foreach($user_arr as $k => $v){
$sql = "
SELECT * FROM {$GLOBALS['dbTablePre']}admin_user WHERE uid='$v[uid]'";
$user = $GLOBALS['_MooClass']['MooMySQL']->getOne($sql);
$user_arr[$k]['name'] = $user['name'];
}
*/
/*
//note 处理导出功能
if($_GET['export']) {
ob_clean();
if(empty($user_arr)){
echo '没有找到符合条件的财务报表';
exit;
}
$today = date("Y-m-d");
header("Content-type:application/vnd.ms-excel; charset=gbk");
header("Content-Disposition:attachment; filename={$today}.xls");
echo iconv('utf-8','gbk','客服')."\t";
echo iconv('utf-8','gbk','电话时间')."\t";
echo iconv('utf-8','gbk','日期')."\t\n";
foreach($user_arr as $k => $v){
echo iconv('utf-8','gbk',$v['name'])."\t";
echo iconv('utf-8','gbk',$v['telphonetime'])."\t";
echo iconv('utf-8','gbk',date("Y-m-d",$v['dateline']))."\t\n";
}
exit;
}
*/
//note 插入日志
serverlog(1, $GLOBALS['dbTablePre'] . 'financial_telphonetime', "{$GLOBALS['username']}查看个人电话时间", $GLOBALS['adminid']);
//note 调用模板
require adminTemplate('financial_telphonetime_list');
}
示例8: activite_edit
function activite_edit()
{
$db = $GLOBALS['db'];
$mid = $_REQUEST['mid'];
$sql = "select * from web_activity_img where mid = '{$mid}'";
$content = $db->getOne($sql);
$group = $content[group];
$sort = $content[sort];
$addresses = explode('/', $content[address]);
$address = array_pop($addresses);
$hreffs = explode('=', $content[href]);
$href = array_pop($hreffs);
require adminTemplate('activity_img_add');
exit;
}
示例9: financial_ordertotal_list
function financial_ordertotal_list()
{
//note 处理搜索会员聊天
if ($_GET['action'] == 'financial_ordertotal') {
$bgtime = MooGetGPC('bgtime', 'string');
$endtime = MooGetGPC('endtime', 'string');
$where = ' WHERE 1=1 ';
if (!empty($bgtime) && !empty($endtime)) {
$bgtime_arr = explode("-", $bgtime);
$bgtime_mk = mktime(0, 0, 0, $bgtime_arr[1], $bgtime_arr[2], $bgtime_arr[0]);
$endtime_arr = explode("-", $endtime);
$endtime_mk = mktime(0, 0, 0, $endtime_arr[1], $endtime_arr[2], $endtime_arr[0]);
if ($endtime < $bgtime) {
echo "<script>alert('结束日期不能小于开始日期');window.location.href='index.php?action=financial_ordertotal&h=list'</script>";
exit;
}
$where .= " AND dateline >= '{$bgtime_mk}' AND dateline <= '{$endtime_mk}'";
}
}
//note 处理导出功能
$export = MooGetGPC('export', 'string', 'G');
//if($_GET['export']) {
if ($export) {
ob_clean();
if (empty($user_arr)) {
echo '没有找到符合条件的财务报表';
exit;
}
$today = date("Y-m-d");
header("Content-type:application/vnd.ms-excel; charset=gbk");
header("Content-Disposition:attachment; filename={$today}.xls");
echo iconv('utf-8', 'gbk', '成功订单总数') . "\t";
echo iconv('utf-8', 'gbk', '日期') . "\t\n";
foreach ($user_arr as $k => $v) {
echo iconv('utf-8', 'gbk', $v['name']) . "\t";
echo iconv('utf-8', 'gbk', date("Y-m-d", $v['dateline'])) . "\t\n";
}
exit;
}
//note 数据库查询
$sql = "SELECT COUNT(*) num FROM {$GLOBALS['dbTablePre']}financial_orderok {$where}";
$total = $GLOBALS['_MooClass']['MooMySQL']->getOne($sql);
//note 插入日志
serverlog(1, $GLOBALS['dbTablePre'] . 'financial_orderok', "{$GLOBALS['username']}查看成功订单总数记录列表", $GLOBALS['adminid']);
//note 调用模板
require adminTemplate('financial_ordertotal_list');
}
示例10: site_search_index
function site_search_index()
{
global $_MooClass, $dbTablePre;
$province = MooGetGPC('workprovince', 'integer', 'P');
$city = MooGetGPC('workcity', 'integer', 'P');
if (in_array($province, array(10101201, 10101002))) {
//note 修正广东省深圳和广州的区域查询
$city = $province;
$province = 10101000;
}
if (!isset($province) || !isset($city)) {
require_once adminTemplate('site_member_recommend');
exit;
}
if (!isset($province)) {
salert('请选择省市查看');
}
//获取该城市的首页展示
$user_arr = array();
// $sql = "SELECT * FROM {$dbTablePre}members_recommend WHERE city='$city' and province = '$province' order by uid desc"; // original file
$sql = "SELECT uid, sort,dateline FROM {$dbTablePre}members_recommend WHERE city='{$city}' and province = '{$province}' order by uid desc";
// updated file
//echo $sql;exit;
$user_arr = $_MooClass['MooMySQL']->getAll($sql);
$uid_list = array();
$user_arr1 = array();
if ($user_arr) {
foreach ($user_arr as $user) {
$uid_list[] = $user['uid'];
}
$allow_uid = implode(',', $uid_list);
$user_arr1 = $_MooClass['MooMySQL']->getAll("select nickname, birthyear, marriage, gender, city_star, s_cid from {$dbTablePre}members_search where uid in({$allow_uid}) order by uid desc");
$count = count($uid_list);
for ($i = 0; $i < $count; $i++) {
if (!empty($user_arr1[$i])) {
$user_arr[$i] = array_merge($user_arr[$i], $user_arr1[$i]);
}
}
}
require_once adminTemplate('site_member_recommend');
}
示例11: system_adminmembers_move
function system_adminmembers_move()
{
global $dbTablePre, $_MooClass;
$kefu_list = get_kefulist();
$is_post = MooGetGPC('ispost', 'integer', 'G');
$fromuser = MooGetGPC('fromuser', 'integer', 'G');
if ($is_post && $fromuser) {
$grade = MooGetGPC('grade', 'integer', 'G');
$getuser = MooGetGPC('getuser', 'integer', 'G');
$move_num = MooGetGPC('move_num', 'integer', 'G');
if ($move_num) {
$limit = "limit {$move_num}";
}
if ($grade) {
$sql = "update {$dbTablePre}members_search m left join {$dbTablePre}member_admininfo a on m.uid=a.uid set m.sid={$getuser} where m.sid={$fromuser} and a.effect_grade={$grade} {$limit}";
$sql2 = "select m.uid as uid from {$dbTablePre}members_search m left join {$dbTablePre}member_admininfo a on m.uid=a.uid where m.sid={$fromuser} and a.effect_grade={$grade} {$limit}";
} else {
$sql = "update {$dbTablePre}members_search set sid={$getuser} where sid={$fromuser} {$limit}";
$sql2 = "select uid from {$dbTablePre}members_search where sid={$fromuser} {$limit}";
}
$rs = $_MooClass['MooMySQL']->getAll($sql2);
if (isset($rs) && $rs) {
foreach ($rs as $k => $v) {
$str_arr[$v] = array($getuser);
}
searchApi('members_man members_women')->updateAttr(array('sid'), $str_arr);
}
$_MooClass['MooMySQL']->query($sql);
$num = $_MooClass['MooMySQL']->affectedRows();
if ($num) {
$sql = "update {$dbTablePre}admin_user set member_count=member_count-'{$num}' where uid={$fromuser}";
$_MooClass['MooMySQL']->query($sql);
$sql = "update {$dbTablePre}admin_user set member_count=member_count+'{$num}' where uid={$getuser}";
$_MooClass['MooMySQL']->query($sql);
serverlog(4, $GLOBALS['dbTablePre'] . "members_search", "{$GLOBALS['username']}将{$fromuser}号客服的{$num}个会员转出", $GLOBALS['adminid'], $uid);
}
salert("成功转移" . $num . "名会员", "index.php?action=system_adminmembers&h=move");
}
require_once adminTemplate('system_adminmembers_move');
}
示例12: site_lovetype_add
function site_lovetype_add()
{
global $love_type;
$ispost = MooGetGPC('ispost', 'integer', 'P');
if ($ispost) {
$pid = MooGetGPC('pid', 'integer', 'P');
$ty_pe = MooGetGPC('ty_pe', 'integer', 'P');
$bgcounts = MooGetGPC('bgcounts', 'integer', 'P');
$endcounts = MooGetGPC('endcounts', 'integer', 'P');
$results = MooGetGPC('results', 'string', 'P');
$sql = "INSERT INTO {$GLOBALS['dbTablePre']}love_type(ty_pe, bgcounts, endcounts, results, pid) VALUES({$ty_pe}, {$bgcounts}, {$endcounts} ,'{$results}', {$pid})";
$GLOBALS['_MooClass']['MooMySQL']->query($sql);
//note 插入日志
serverlog(3, $GLOBALS['dbTablePre'] . 'love_type', '添加测试评分结果', $GLOBALS['adminid']);
salert("添加成功", "index.php?action=site_lovetype&h=add");
}
// $sql = "SELECT * FROM {$GLOBALS['dbTablePre']}love_test "; // original file
$sql = "SELECT qid, title FROM {$GLOBALS['dbTablePre']}love_test ";
// updated file
$lovetype_list = $GLOBALS['_MooClass']['MooMySQL']->getAll($sql);
require adminTemplate('site_lovetype_add');
}
示例13: music_add
function music_add()
{
//note 指定会员POST
$post_old_uid = !empty($_POST['old_uid']) ? $_POST['old_uid'] : '';
$post_uid = !empty($_POST['uid']) ? $_POST['uid'] : '';
$old_uid = $post_old_uid ? MooGetGPC('old_uid', 'integer', 'P') : MooGetGPC('uid', 'integer', 'G');
$uid = $post_uid ? MooGetGPC('uid', 'integer', 'P') : $old_uid;
if (isset($_POST['ispost']) && !empty($uid)) {
$ps = '信息不全';
//是否MP3
if (preg_match('/\\.mp3$/i', $_FILES['mp3']['name'])) {
//限制大小6兆
if ($_FILES['mp3']['size'] < 6 * 1024 * 1024) {
MooMakeDir(MP3_DIR . '/' . substr($uid, -2));
$file = str_replace('\\\\', '\\', $_FILES['mp3']['tmp_name']);
$path = substr($uid, -2) . '/' . $uid . '_' . time() . '.mp3';
if (move_uploaded_file($file, MP3_DIR . $path)) {
$title = MooGetGPC('title', 'string', 'P');
$path = $path;
$note = MooGetGPC('note', 'string', 'P');
$dateline = time();
$sql = "INSERT INTO {$GLOBALS['dbTablePre']}art_music (uid,path,title,note,dateline) VALUES ('{$uid}','{$path}','{$title}','{$note}','{$dateline}')";
$insert = $GLOBALS['_MooClass']['MooMySQL']->query($sql);
$ps = '添加音频成功...';
} else {
$ps = '文件保存失败...';
}
} else {
$ps = 'MP3大小不能超过6KB...';
}
} else {
$ps = '请上传MP3格式...';
}
salert($ps, 'index.php?action=diamond_music&h=list');
//echo "<script>window.history.go(-1);</script>";
}
require adminTemplate('diamond_music_add');
}
示例14: site_lovequestion_add
function site_lovequestion_add()
{
global $love_type;
$ispost = MooGetGPC('ispost', 'integer', 'P');
if ($ispost) {
$qid = MooGetGPC('lovetype', 'integer', 'P');
$ty_pe = MooGetGPC('ty_pe', 'integer', 'P');
$title = MooGetGPC('title', 'string', 'P');
$ask1 = MooGetGPC('askvalue1', 'integer', 'P');
$ask2 = MooGetGPC('askvalue2', 'integer', 'P');
$ask3 = MooGetGPC('askvalue3', 'integer', 'P');
$ask4 = MooGetGPC('askvalue4', 'integer', 'P');
$ask5 = MooGetGPC('askvalue5', 'integer', 'P');
$sql = "INSERT INTO {$GLOBALS['dbTablePre']}love_question(qid,title,ty_pe,ask1,ask2,ask3,ask4,ask5) VALUES({$qid},'{$title}',{$ty_pe},{$ask1},{$ask2},{$ask3},{$ask4},{$ask5})";
$GLOBALS['_MooClass']['MooMySQL']->query($sql);
//note 插入日志
serverlog(3, $GLOBALS['dbTablePre'] . 'love_question', '添加爱情测试题目', $GLOBALS['adminid']);
salert("添加成功", "index.php?action=site_lovequestion&h=add");
}
$sql = "SELECT * FROM {$GLOBALS['dbTablePre']}love_test ";
$lovetype_list = $GLOBALS['_MooClass']['MooMySQL']->getAll($sql);
require adminTemplate('site_lovequestion_add');
}
示例15: check_memberinfo_detail
function check_memberinfo_detail()
{
$id = MooGetGPC('id', 'integer', 'G');
$sql = "SELECT * FROM {$GLOBALS['dbTablePre']}admin_editmembersinfo_sql WHERE id='{$id}'";
$res = $GLOBALS['_MooClass']['MooMySQL']->getOne($sql, true);
$uid = $res['uid'];
//审核通过
if ($_GET['status'] == 1) {
$sql = base64_decode($res['exec_members_sql']);
$GLOBALS['_MooClass']['MooMySQL']->query($sql);
//var_dump($sql);
$sql = base64_decode($res['exec_memberfield_sql']);
$GLOBALS['_MooClass']['MooMySQL']->query($sql);
//var_dump($sql);
$sql = "UPDATE {$GLOBALS['dbTablePre']}admin_editmembersinfo_sql SET status=1 WHERE id='{$id}'";
$GLOBALS['_MooClass']['MooMySQL']->query($sql);
//note 更新用户数据
//fastsearch_update($uid,1);
//fastsearch_update($uid,2);
salert('操作成功');
exit;
}
//审核不通过
if ($_GET['status'] == 2) {
$sql = "UPDATE {$GLOBALS['dbTablePre']}admin_editmembersinfo_sql SET status=2 WHERE id='{$id}'";
$GLOBALS['_MooClass']['MooMySQL']->query($sql);
salert('操作成功,您已拒绝此次对会员资料的修改');
exit;
}
$userinfo = $GLOBALS['_MooClass']['MooMySQL']->getOne("SELECT * FROM {$GLOBALS['dbTablePre']}members WHERE uid='{$uid}'", true);
$userfield = $GLOBALS['_MooClass']['MooMySQL']->getOne("SELECT * FROM {$GLOBALS['dbTablePre']}memberfield WHERE uid='{$uid}'", true);
//修改过的
$userinfo_new = $GLOBALS['_MooClass']['MooMySQL']->getOne("SELECT * FROM {$GLOBALS['dbTablePre']}members_edithistory WHERE uid='{$uid}'", true);
$userfield_new = $GLOBALS['_MooClass']['MooMySQL']->getOne("SELECT * FROM {$GLOBALS['dbTablePre']}memberfield_edithistory WHERE uid='{$uid}'", true);
require adminTemplate("check_memberinfo_detail");
}