chore: 添加多个图片和资源文件
添加了管理后台所需的图片资源、Excel文件、安装程序以及设计相关的图片文件
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
header("Content-type: text/html; charset=utf-8");
|
||||
$json_data="{";
|
||||
if(THIS_IN!="edt_ipad")
|
||||
exit("错误的访问!");
|
||||
$msg_client=get_db_msg("select * from ".$table_pre."client where id='".$uid."'");
|
||||
$is_msg=get_set("is_msg");
|
||||
switch($cate){
|
||||
case "get_msg":
|
||||
if($is_msg=="y"){
|
||||
$msg_num=get_db_msg("select count(*) 'num' from ".$table_pre."msg where to_cid='".$uid."' and is_read='n' order by add_date");
|
||||
$json_data.="\"msgnum\":\"".$msg_num["num"]."\",";
|
||||
}else{
|
||||
$json_data.="\"msgnum\":0,";
|
||||
}
|
||||
break;
|
||||
}
|
||||
$json_data=substr($json_data,0,-1)."}";
|
||||
echo $json_data;
|
||||
?>
|
||||
Reference in New Issue
Block a user