<table width="680" border="0" cellspacing="0" cellpadding="0"  class="from_table">
  <tr>
  <th colspan="3" style=" text-align:left; padding-left:10px;"> <tpl> $langSysSSeachFlux </tpl> | <a href="javascript:;" onclick="ShowDiv='result_content';getPageContent('statics_eng.manage.php?action=trend')"><tpl> $langSysSSeachFluxDirection </tpl></a></th> 
  </tr>
		<!-- 日历 -->
		<tr>
		<th width="150"><tpl> $langSysSPleaseSelectTime </tpl>：</th>
		<td width="530" align="left"><input name="time" type="radio" value="1" onclick="ajax_list(this.value);" <tpl> if $time eq '1' </tpl>checked="checked"<tpl> /if </tpl>/><tpl> $langSysSToday </tpl>
		<input name="time" type="radio" value="2" onclick="ajax_list(this.value);" <tpl> if $time eq '2' </tpl>checked="checked"<tpl> /if </tpl>/><tpl> $langSysSYesterday </tpl>
		<input name="time" type="radio" value="3" onclick="ajax_list(this.value);" <tpl> if $time eq '3' </tpl>checked="checked"<tpl> /if </tpl>/><tpl> $langSysSBeforeYesterday </tpl>
		<input name="time" type="radio" value="4" onclick="ajax_list(this.value);" <tpl> if $time eq '4' </tpl>checked="checked"<tpl> /if </tpl>/><tpl> $langSysSNonceWeek </tpl>
		<input name="time" type="radio" value="5" onclick="ajax_list(this.value);" <tpl> if $time eq '5' </tpl>checked="checked"<tpl> /if </tpl>/><tpl> $langSysSUpWeek </tpl>
		<input name="time" type="radio" value="6" onclick="ajax_list(this.value);" <tpl> if $time eq '6' </tpl>checked="checked"<tpl> /if </tpl>/><tpl> $langSysSNonceMonth </tpl>
		<input name="time" type="radio" value="7" onclick="ajax_list(this.value);" <tpl> if $time eq '7' </tpl>checked="checked"<tpl> /if </tpl>/><tpl> $langSysSUpMonth </tpl>
		<input name="time" type="radio" value="8" onclick="ajax_list(this.value);" <tpl> if $time eq '8' </tpl>checked="checked"<tpl> /if </tpl>/><tpl> $langSysSLatelyThirtyDay </tpl>
		</td>
		</tr>
		<tr>
		<th width="150">
	<tpl> $langSysSNonceTimeSegment </tpl>：</th><td><tpl> $end_time </tpl> <tpl> $langSysSTo </tpl> <tpl> $start_time </tpl></td>
	</tr>
	<tr></table>
	<table width="680" style="float:left; clear:both" border="0" cellspacing="0" cellpadding="0">
  <tr>
  <td style="padding-left:10px">
  <tpl> $statics_flash </tpl></td>
  </tr></table>
  
 <table  class="from_table2_one top-1">
	  <thead>
	  <tr class="area_ajax_list_title">
		  <th class="pd-left" width="170"><tpl> $langSysSSeachEng </tpl></th>
          <th width="170">PV</th>
          <th width="170"><tpl> $langSysSPercent </tpl></th>
          <th width="170"><tpl> $langSysSDirection </tpl></th>
      </tr>
	  </thead>
        <tr>
          <td class="pd-left" width="170" align="left"><tpl> $langSysSTotalize </tpl></td>
          <td width="170" align="left"><tpl> $num_sum|default:'0' </tpl></td>
          <td width="170" align="left">100%</td>
          <td width="170" align="left"></td>
        </tr>
	       <tpl> foreach from=$eng_array key=key item=one </tpl>
		  <tr>
			<td class="pd-left" align="left"><tpl> $key </tpl></td>
			<td align="left"><tpl> $one </tpl></td>
			<td align="left"><tpl> if $num_sum neq '' && $num_sum neq '0' </tpl>
			    <tpl> $one/$num_sum*100|string_format:'%.2f' </tpl>%
			<tpl> else </tpl>
				0.00%
			<tpl> /if </tpl>			</td>
			<td align="left"><a href="javascript:;" onclick="ShowDiv='mainshow';getPageContent('statics_eng.manage.php?action=trend&eng=<tpl> $key </tpl>');">
<tpl> $langSysSDirection </tpl></a></td>
		  </tr>
	  <tpl> /foreach </tpl>
</table>
<script type="text/javascript" language="javascript"> 
function ajax_list(time){
	$.ajax({
		url: "statics_eng.manage.php",
		data: 'action=list&time='+time,
		type:'get',
		dataType:"html",
		beforeSubmit:  showLoading(showText),   // 提交之前执行的方法
		success: function(msg){
			$("#result_content").html(msg);
			hideLoading();
		}
	});
	return false;
}
</script>