<?php include 'header.tpl.php';?>
<script src="<?php echo WEB_URL?>/images/js/ajax.js"></script>
<script>
window.onload=function(){
	yj_ajax_get("?app=step2&isajax=1",function(data){
		var obj_data=get_json_obj(data);
		if(!obj_data.isnull){
			if(obj_data.user_total) document.getElementById("id_user_total").innerHTML=obj_data.user_total;
			if(obj_data.user_today) document.getElementById("id_user_today").innerHTML=obj_data.user_today;
			if(obj_data.job_total) document.getElementById("id_job_total").innerHTML=obj_data.job_total;
			if(obj_data.job_today) document.getElementById("id_job_today").innerHTML=obj_data.job_today;
			if(obj_data.resume_total) document.getElementById("id_resume_total").innerHTML=obj_data.resume_total;
			if(obj_data.resume_today) document.getElementById("id_resume_today").innerHTML=obj_data.resume_today;
			if(obj_data.vip_total) document.getElementById("id_vip_total").innerHTML=obj_data.vip_total;
			if(obj_data.vip_today) document.getElementById("id_vip_today").innerHTML=obj_data.vip_today;

			if(obj_data.jobinvite_total) document.getElementById("id_jobinvite_total").innerHTML=obj_data.jobinvite_total;
			if(obj_data.jobinvite_today) document.getElementById("id_jobinvite_today").innerHTML=obj_data.jobinvite_today;
			if(obj_data.jobapply_total) document.getElementById("id_jobapply_total").innerHTML=obj_data.jobapply_total;
			if(obj_data.jobapply_today) document.getElementById("id_jobapply_today").innerHTML=obj_data.jobapply_today;
		
		}else{
		}
	});
	yj_ajax_get("?app=api&isajax=1",function(data){
		var obj_data=get_json_obj(data);
		if(!obj_data.isnull){
			if(obj_data.msgcount && parseInt(obj_data.msgcount)>0){
				document.getElementById("id_admin_msg").innerHTML="<a href=\"javascript:me_help();\" style='color:#ff0000'>消息："+obj_data.msgcount+" 条</a>";
			}
		}
	});
}
function me_open(msg_regkey,msg_name,msg_parm){
	var str_parm="";
	if(msg_parm) str_parm=encodeURIComponent(msg_parm);
	parent.wintop.me_click(msg_regkey);
	window.open("../menu.php?model_regkey="+msg_regkey+"&pagename="+msg_name+"&url_parms="+str_parm+"&rnd="+Math.random(),"winmenu");
}
function me_help(){
	dialog_show('me_help',"帮助中心","<?php echo XXGONET_URL;?>/bbs.php?temp=help&app=user&uname=<?php echo XXGONET_UNAME;?>&pwd=<?php echo XXGONET_PWD;?>",false,820);
}
</script>
<style>
.me_li1{float:left;width:250px;text-align:left;margin:20px 0px 0px 20px}
.me_li1 li{float:left;width:250px;padding:5px 0px 3px 0px}
.me_tit1{font-weight:bold;border-bottom:1px #cccccc solid}
.me_li2{float:left;width:300px;text-align:left;margin:20px 0px 0px 20px}
.me_li2 li{float:left;width:150px;padding:5px 0px 3px 0px}
.me_li3{float:left;width:600px;text-align:left;margin:20px 0px 0px 20px}
.me_li3 li{float:left;width:600px;padding:5px 0px 3px 0px}
</style>
<div class="me_li1">
	<li class="me_tit1">统计信息</li>
	<li><span style="float:left;width:120px"><a href="javascript:me_open('sys','user.php','');">注册人数</a>：<font color="#0000ff" id="id_user_total"></font></span><span style="float:left;width:100px"><a href="javascript:me_open('sys','user.php','?s_regtime1=<?php echo date('Y-m-d');?>');">今日新增</a>：<font color="#ff0000" id="id_user_today"></font></span></li>
	<li><span style="float:left;width:120px"><a href="javascript:me_open('company','job.php','');">招聘职位</a>：<font color="#0000ff" id="id_job_total"></font></span><span style="float:left;width:100px"><a href="javascript:me_open('company','job.php','?s_updatetime1=<?php echo date('Y-m-d');?>');">今日新增</a>：<font color="#ff0000" id="id_job_today"></font></span></li>
	<li><span style="float:left;width:120px"><a href="javascript:me_open('personal','resume.php','');">简历人数</a>：<font color="#0000ff" id="id_resume_total"></font></span><span style="float:left;width:100px"><a href="javascript:me_open('personal','resume.php','?s_addtime1=<?php echo date('Y-m-d');?>');">今日新增</a>：<font color="#ff0000" id="id_resume_today"></font></span></li>
	<li><span style="float:left;width:120px"><a href="javascript:me_open('company','company.php','?s_vip=-2');">VIP 数量</a>：<font color="#0000ff" id="id_vip_total"></font></span><span style="float:left;width:100px"><a href="javascript:me_open('company','company.php','?s_vip=-2&s_viptime1=<?php echo date('Y-m-d');?>');">今日新增</a>：<font color="#ff0000" id="id_vip_today"></font></span></li>
	<li><span style="float:left;width:120px"><a href="javascript:me_open('company','job_invite.php','');">面试邀请</a>：<font color="#0000ff" id="id_jobinvite_total"></font></span><span style="float:left;width:100px"><a href="javascript:me_open('company','job_invite.php','?s_addtime1=<?php echo date('Y-m-d');?>');">今日新增</a>：<font color="#ff0000" id="id_jobinvite_today"></font></span></li>
	<li><span style="float:left;width:120px"><a href="javascript:me_open('personal','job_apply.php','');">职位申请</a>：<font color="#0000ff" id="id_jobapply_total"></font></span><span style="float:left;width:100px"><a href="javascript:me_open('personal','job_apply.php','?s_addtime1=<?php echo date('Y-m-d');?>');">今日新增</a>：<font color="#ff0000" id="id_jobapply_today"></font></span></li>
</div>
<div class="me_li2">
	<li class="me_tit1" style="width:100%">未审信息</li>
	<?php if(isset($arr_count["user"])):?><li><a href="javascript:me_open('sys','user.php','?s_state=0');">注册账号</a>：<span id="id_user" style="color:#ff0000"><?php echo $arr_count["user"];?></span></li><?php endif;?>
	<?php if(isset($arr_count["resume"])):?><li><a href="javascript:me_open('personal','resume.php','?s_state=0');">个人简历</a>：<span id="id_resume" style="color:#ff0000"><?php echo $arr_count["resume"];?></span></li><?php endif;?>
	<?php if(isset($arr_count["resume_headerpic"])):?><li><a href="javascript:me_open('personal','resume.php','?s_state=0&pannel=photo');">简历头像</a>：<span id="id_resume_headerpic" style="color:#ff0000"><?php echo $arr_count["resume_headerpic"];?></span></li><?php endif;?>
	<?php if(isset($arr_count["resume_photo"])):?><li><a href="javascript:me_open('personal','photo.php','?s_state=0');">个人相册</a>：<span id="id_resume_photo" style="color:#ff0000"><?php echo $arr_count["resume_photo"];?></span></li><?php endif;?>
	<?php if(isset($arr_count["company"])):?><li><a href="javascript:me_open('company','company.php','?s_state=0');">企业信息</a>：<span id="id_company" style="color:#ff0000"><?php echo $arr_count["company"];?></span></li><?php endif;?>
	<?php if(isset($arr_count["company_photo"])):?><li><a href="javascript:me_open('company','photo.php','?s_state=0');">企业相册</a>：<span id="id_company_photo" style="color:#ff0000"><?php echo $arr_count["company_photo"];?></span></li><?php endif;?>
	<li><a href="javascript:me_open('other','msgbook.php','?s_state=0');">未读留言</a>：<span id="id_msgbook" style="color:#ff0000"><?php echo $arr_count["msgbook"];?></span></li>
	<li><a href="javascript:me_open('other','friendlink.php','?s_state=0');">友情申请</a>：<span id="id_friendlink" style="color:#ff0000"><?php echo $arr_count["friendlink"];?></span></li>
	<li><a href="javascript:me_open('sys','verify.php','?s_state=0&verify_type=1');">邮箱认证</a>：<span id="id_verify" style="color:#ff0000"><?php echo $arr_count["verify"]["id_1"];?></span></li>
	<li><a href="javascript:me_open('sys','verify.php','?s_state=0&verify_type=2');">身份认证</a>：<span id="id_verify" style="color:#ff0000"><?php echo $arr_count["verify"]["id_2"];?></span></li>
	<li><a href="javascript:me_open('sys','verify.php','?s_state=0&verify_type=4');">证书认证</a>：<span id="id_verify" style="color:#ff0000"><?php echo $arr_count["verify"]["id_4"];?></span></li>
	<li><a href="javascript:me_open('sys','verify.php','?s_state=0&verify_type=8');">执照认证</a>：<span id="id_verify" style="color:#ff0000"><?php echo $arr_count["verify"]["id_8"];?></span></li>
	<li><a href="javascript:me_open('company','meet.php','?s_state=0');">新招聘会</a>：<span id="id_meet" style="color:#ff0000"><?php echo $arr_count["meet"];?></span></li>
</div>
<div class="me_li3">
	<li class="me_tit1">版本信息</li>
	<li>当前版本：<?php echo $arr_version["myphp"];?>&nbsp;[<a href="<?php echo XXGONET_URL;?>" style="color:#ff0000" target="_blank">官网</a>]&nbsp;&nbsp;<span id="id_admin_msg" style="color:#ff0000"></span></li>
	<li>服务器信息：<?php echo $arr_version["version"];?></li>
</div>
<?php include 'footer.tpl.php';?>		
