7e47ce238b
添加了管理后台所需的图片资源、Excel文件、安装程序以及设计相关的图片文件
21 lines
583 B
PHP
21 lines
583 B
PHP
<?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;
|
|
?>
|