<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head><title><!--{$UUDEV_PAGE_TITLE}--></title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<!--{include file=elements/header.css.html}-->
<!--{include file=elements/header.js.html type=common}-->
<!--{include file=elements/header.js.html type=popbox}-->
<script>
	$(document).ready(function(){
		
		$.ajax({
			type: "GET",
			url: "index.php",
			cache:false,
			timeout:10000,
			data: 'r=Frame.latest_version',
			dataType:'json',
			error : function(msg) {
				$("#latest_version").html(msg);
  			},
			success: function(data){
				if(data.flag==2){
					$("#latest_version").html("最新版本<span style=\"color:red;\"><a style=\"color:red;\" href=\""+data.url+"\">V" + data.latest_version +"</a></span>");
				}else{
					$("#latest_version").html("<span style=\"color:green;\">已是最新版本</span>");
				}
			}
		});	
		
		$.ajax({
			type: "GET",
			url: "index.php",
			cache:false,
			timeout:1000,
			data: 'r=Frame.u_status',
			dataType:'json',
			error : function(msg) {
				$("#u_status").html(msg);
  			},
			success: function(data){
				if(data.flag =='block'){
					$.popbox({title:"系统提示", content:popstr_search});
					var str = "<div style=\"margin:10px 0px;\">";
					str += '<div style="height:90px; width:420px; padding-left:40px; padding-top:50px;">';
					str += "<span style=\"color:red;font-size:12px;font-weight:800;\">"+data.msg+"</span>咨询地址:<a href=\"http://www.uudev.com/contact.jsp\">http://www.uudev.com/contact.jsp</a>";
					str += '</div></div>';	
					$.popbox.setcontent({title:"系统提示", content:str});
				}
			}
		});		
		
		$.ajax({
			type: "GET",
			url: "index.php",
			cache:false,
			timeout:10000,
			data: 'r=Frame.user_balance',
			dataType:'json',
			error : function(msg) {
				$("#user_balance").html(msg);
  			},
			success: function(data){
				if(data.balance!=''){
					$("#user_balance").html(data.balance);
				}else{
					$("#user_balance").html("<span>0.00</span>");
				}
			}
		});		
		
	});
</script>
<title>无忧建站后台管理系统</title>
</head>
<body>
<div id="outside">
	<!--{include file=frame/top.html}-->
	<div id="mainareaContent">
		<!--{include file=frame/left.html}-->
		<div id="rightContent">
			<div id="secrightContent">
				<div class="tableContent4">
					<table class="admin_default_table" width="100%">
						<tr>
							<td colspan="2">亲爱的<!--{$user.login_name}-->，欢迎您登录本系统！</td>
						</tr>
						<tr>
							<td width="50%">优拓中心账户现金：<span style="color:#FF0000"><b>100.00</b></span>元</td>
							<td width="50%"><span style="color:#FF0000"><b>优告可结算广告收入：<span id="user_balance"></span></b></span>元 [<a href="http://www.taogao.net" target="_blank">提现</a>]</td>
						</tr>
						<tr>
							<td width="50%"><span>站长等级：初级站长</span></td>
							<td width="50%"><span>站长积分：100</span> </td>
						</tr>
						<tr>
							<td colspan="2" style="padding:0px;" valign="top">
								<div style="height:32px;color:#333333; font-weight:bold; font-size:13px; background:#e6f0f7; line-height:29px; padding-left:7px;">
									<i class="title_img2"></i>赚钱广告<span class="title_more" style="font-size:12px; font-weight:100; padding-left:10px; ">
									<input type="button" value="更多赚钱广告" onClick="window.location.href='index.php?r=Uuadv.adlist&menu_id=50'" style="cursor:pointer; background:url(images/moreadd1.png) no-repeat; border:none; width:106px; height:24px; color:#fff; line-height:24px; text-align:left; padding-left:6px; margin-top:4px;text-shadow:-1px -1px 0 #dd7900;" onMouseOver="this.style.backgroundImage='url(images/moreadd1-on.png)'" onMouseOut="this.style.backgroundImage='url(images/moreadd1.png)'">	
								</span>
								</div>
								<table width="100%" class="admin_default_table2">
									<tr class="thead">
										<td style="color:#999999;font-weight:bold;">广告名称</td>
										
										<td style="color:#999999;font-weight:bold;">结算方式</td>
										<td style="color:#999999;font-weight:bold;">价格[单位:元]</td>
										<td style="color:#999999;font-weight:bold;">推荐等级</td>
										<td style="color:#999999;font-weight:bold;">状态</td>
										<td style="color:#999999;font-weight:bold;">操作</td>
										<td style="color:#999999;font-weight:bold;">广告评价</td>
									</tr>
									<tbody id="adList">
										<!--{$adList}-->
									</tbody>
								</table>
							</td>
							
						</tr>
						<tr>
							<td width="50%" style="padding:0;" valign="top">
								<div style="height:32px;color:#333333; font-weight:bold; font-size:13px; background:#e6f0f7; line-height:29px; padding-left:7px;">
									<i class="title_img2"></i>广告上下线通知<span class="title_more" style="font-size:12px; font-weight:100; padding-left:10px; ">[<a href="index.php?r=Frame.getAdNews">+更多</a>]</span>
								</div>
								<table width="100%" class="admin_default_table2">
									<tbody id="functionNoticeList">
										<!--{$topNews}-->
									</tbody>
								</table>
							</td>
							<td width="50%" style="padding:0;" valign="top">
								<div style="height:32px;color:#333333; font-weight:bold; font-size:13px; background:#e6f0f7; line-height:29px; padding-left:7px;">
									<i class="title_img2"></i>优拓公告
								</div>
								<table width="100%" class="admin_default_table2">
									<tbody id="systemNoticeList">
										<!--{$getBulletins}-->
									</tbody>
								</table>
							</td>
						</tr>							
						<tr>
							<td width="50%" style="padding:0px;" valign="top">
								<div style="height:32px;color:#333333; font-weight:bold; font-size:13px; background:#e6f0f7; line-height:29px; padding-left:7px;">
									<i class="title_img2"></i>流量概况
								</div>
								<table width="100%" class="admin_default_table2">
									<tr class="thead">
										<td width="30%" style="color:#999999;font-weight:bold;">名称</td>
										<td width="30%" style="color:#999999;font-weight:bold;">PV</td>
										<td style="color:#999999;font-weight:bold;">UV</td>
									</tr>
									<tr>
										<td>总访问量</td>
										<td><!--{if $all_pv != null}--><!--{$all_pv}--><!--{else}-->0<!--{/if}--></td>
										<td><!--{if $all_uv != null}--><!--{$all_uv}--><!--{else}-->0<!--{/if}--></td>
									</tr>
									<tr>
										<td>今日访问量</td>
										<td><!--{if $today_pv != null}--><!--{$today_pv}--><!--{else}-->0<!--{/if}--></td>
										<td><!--{if $today_uv != null}--><!--{$today_uv}--><!--{else}-->0<!--{/if}--></td>
									</tr>
									<tr>
										<td>昨日访问量</td>
										<td><!--{if $yesterday_pv != null}--><!--{$yesterday_pv}--><!--{else}-->0<!--{/if}--></td>
										<td><!--{if $yesterday_uv != null}--><!--{$yesterday_uv}--><!--{else}-->0<!--{/if}--></td>
									</tr>
									<tr>
										<td>本月访问量</td>
										<td><!--{if $month_pv != null}--><!--{$month_pv}--><!--{else}-->0<!--{/if}--></td>
										<td><!--{if $month_uv != null}--><!--{$month_uv}--><!--{else}-->0<!--{/if}--></td>
									</tr>
									<tr>
										<td>日平均访问量</td>
										<td><!--{if $avg_pv != null}--><!--{$avg_pv}--><!--{else}-->0<!--{/if}--></td>
										<td><!--{if $avg_uv != null}--><!--{$avg_uv}--><!--{else}-->0<!--{/if}--></td>
									</tr>
									<tr>
										<td>月平均访问量</td>
										<td><!--{if $month_avg_pv != null}--><!--{$month_avg_pv}--><!--{else}-->0<!--{/if}--></td>
										<td><!--{if $month_avg_uv != null}--><!--{$month_avg_uv}--><!--{else}-->0<!--{/if}--></td>
									</tr>
								</table>
							</td>
							<td width="50%" style="padding:0;" valign="top">
								<div style="height:32px;color:#333333; font-weight:bold; font-size:13px; background:#e6f0f7; line-height:29px; padding-left:7px;">
									<i class="title_img2"></i>系统信息
								</div>
								
								<table width="100%" class="admin_default_table2">
									<tr>
							<td >系统版本：当前版本V<!--{$current_version}-->&nbsp;&nbsp;<span id="latest_version"></span></td>
						</tr>
						<Tr>
							<td  >服务器系统：<!--{$SERVER_OS}--></td>
						</Tr>
						<Tr>
							<td  >服务器端软件：<!--{$SERVER_SOFTWARE}--> 服务器MySql版本 <!--{$MYSQL_VERSION}--></td>
						</Tr>
								</table>
							</td>
						</tr>
						

					</table>
				</div>
			</div>
		</div>
	</div>
</div>
</body>
</html>