7e47ce238b
添加了管理后台所需的图片资源、Excel文件、安装程序以及设计相关的图片文件
28 lines
1.0 KiB
PHP
28 lines
1.0 KiB
PHP
<?php
|
|
if(THIS_IN!="edt_c")
|
|
exit("错误的访问!");
|
|
$uid=check_cookie();
|
|
$db=_mysql_connect();
|
|
$msg_login_user=get_db_msg("select * from ".$table_pre."user where id='".$uid."'");
|
|
switch($_t){
|
|
case "log":
|
|
$_title_="日志明细";
|
|
$_width_="60";
|
|
if($id)
|
|
$msg=get_db_msg("select * from ".$table_pre.$_t." where id='".$id."'");
|
|
if(!$msg["id"])
|
|
exit("对不起,该信息不存在!");
|
|
$tmp=get_db_msg("select * from ".$table_pre."user where id='".$msg["uid"]."'");
|
|
$content[]=array("用户名","<a href=\"javascript:o_window('".$_SERVER[PHP_SELF]."?_m=manage/view&_t=user&id=".$msg["uid"]."','user',500,600)\">".$tmp["username"]."</a>");
|
|
$content[]=array("IP地址",$msg[ip]);
|
|
$content[]=array("访问时间",date("Y/n/j H:i:s",$msg["add_date"]));
|
|
$content[]=array("执行动作",$msg["action"]);
|
|
$content[]=array("备注",$msg["remark"]);
|
|
$content[]=array("SQL","<span style='line-height:150%';>".dhtmlchars($msg[sql_value])."<span>");
|
|
include template("manage_view");
|
|
break;
|
|
default:
|
|
exit("错误的访问!");
|
|
break;
|
|
}
|
|
?>
|