<!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=date}-->
</head>
<body>
<div id="outside">
	<!--{include file=frame/top.html}-->
	<div id="mainareaContent">
		<!--{include file=frame/left.html}-->
		<div id="rightContent">
			<div id="topContent">
				<div class="sitmap">
					<span class="r"><!--{include file="elements/uuadvad.html"}--></span>模块管理&nbsp;&gt;&nbsp;友链模块&nbsp;&gt;&nbsp;实时数据分析
				</div>
			</div>
			<div class="tabcontent">
				<a href="index.php?r=FriendSite.friendsitelist" class="link">内管管理</a>
				<a href="index.php?r=SiteSet.friendsiteset" class="link">属性设置</a>
				<a href="index.php?r=FriendSite.friendsiteListLayout" class="link">列表页布局</a>
					<a href="index.php?r=FriendSite.friendsitePageLayout" class="link">内容页布局</a>
					<a href="index.php?r=FriendSite.realtimereport" class="link">实时数据分析</a>
			</div>
			<div id="secrightContent">
				<div class="tableContent2">
					<form name="searchForm" action="index.php" method="get" onSubmit="setDisabled('button', window.document);">
						<input type="hidden" name="r" value="FriendSite.realtimereport"/>
						<input type="hidden" id="orderby" name="orderby" value="<!--{$orderby}-->"/>
					</form>
					<table class="tbl_list" width="100%" border="0" cellpadding="0" cellspacing="0">
						<tr class="thead">
							<td width="20%">站点名称</td>
							<td width="11%">
								<!--{if $orderby eq in_pv0}-->
								<a onClick="$('#orderby').val('in_pv1');document.forms['searchForm'].submit();">链入点击</a><a onClick="$('#orderby').val('site_pv1');document.forms['searchForm'].submit();">PV</a><a onClick="$('#orderby').val('in_pv1');document.forms['searchForm'].submit();">↑</a>
								<!--{elseif $orderby eq in_pv1}-->
								<a onClick="$('#orderby').val('in_pv0');document.forms['searchForm'].submit();">链入点击</a><a onClick="$('#orderby').val('site_pv1');document.forms['searchForm'].submit();">PV</a><a onClick="$('#orderby').val('in_pv0');document.forms['searchForm'].submit();">↓</a>
								<!--{else}-->
								<a onClick="$('#orderby').val('in_pv1');document.forms['searchForm'].submit();">链入点击</a><a onClick="$('#orderby').val('site_pv1');document.forms['searchForm'].submit();">PV</a>								<!--{/if}-->							</td>
							<td width="11%">
								<!--{if $orderby eq site_pv0}-->
								<a onClick="$('#orderby').val('site_pv1');document.forms['searchForm'].submit();">链入页面PV↑</a>
								<!--{elseif $orderby eq site_pv1}-->
								<a onClick="$('#orderby').val('site_pv0');document.forms['searchForm'].submit();">链入页面PV↓</a>
								<!--{else}-->
								<a onClick="$('#orderby').val('site_pv1');document.forms['searchForm'].submit();">链入页面PV</a><!--{/if}-->
							</td>
							<td width="11%">
								<!--{if $orderby eq out_pv0}-->
								<a onClick="$('#orderby').val('out_pv1');document.forms['searchForm'].submit();">链出点击PV↑</a>
								<!--{elseif $orderby eq out_pv1}-->
								<a onClick="$('#orderby').val('out_pv0');document.forms['searchForm'].submit();">链出点击PV↓</a>
								<!--{else}-->
								<a onClick="$('#orderby').val('out_pv1');document.forms['searchForm'].submit();">链出点击PV</a><!--{/if}-->
							</td>
							<td width="11%">赚取点击PV</td>
							<td width="11%">用户质量</td>
							<td width="15%">日志</td>
						</tr>
						<!--{if $datalist != null}-->
							<!--{foreach from=$datalist item=item}-->
								<tr onMouseOver="chgTrColor(this)" onMouseOut="chgTrColor(this)">
									<td><!--{$item.friend_site_name}--></td>
									<td><!--{$item.in_pv}--></td>
									<td><!--{$item.site_pv}--></td>
									<td><!--{$item.out_pv}--></td>
									<td><!--{$item.in_pv-$item.out_pv}--></td>
									<td><!--{if $item.in_pv != 0}--><!--{$item.site_pv/$item.in_pv|round:2}--><!--{else}-->0<!--{/if}--></td>
									<td class="center"><a href="index.php?r=FriendSite.inlog&frid=<!--{$item.friend_site_id}-->&returnParams=<!--{$returnParams}-->">链入日志</a> <a href="index.php?r=FriendSite.visitlog&frid=<!--{$item.friend_site_id}-->&returnParams=<!--{$returnParams}-->">轨迹日志</a></td>
								</tr>
							<!--{/foreach}-->
						<!--{else}-->
							<tr><td colspan="8">没有对应数据</td></tr>
						<!--{/if}-->
					</table>
				</div>
			</div>
		</div>
	</div>
</div>
</body>
</html>