{load(fhead)}
<body class="mainbg">
	<div id="mainhearder"><span>您的位置：经销商商户首页</span></div>
	<div id="defaulthearder"><img src="{$vd['content']}images/icon_ptsj.gif" align="absbottom" /></div>
	<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
	<tr>
	<td class="tableleft">
		<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" class="table1">
		<?php
    $tmp = array();
    if(isset($vd['agent'][9]) && $vd['agent'][9] > 0)
    {
      $staffrights = $vd['agent'][11];
      $tmp = explode(',',$staffrights);
    }
    else
    {
    	for($i = 0; $i < 80; $i++)
    	{
    		$tmp[$i] = '1';
    	}
    }
    ?>
    <!--if($tmp[14]==1){-->
		<tr>
		<td width="22%" width="22%" height="30" class="tableleft1">下属客户数量：</td>
		<td width="78%" width="78%" class="tableright1"><a href="index.php?m=mod_agent&c=Underling"><font color=#ff0000><u>{$vd['rs']['underling_sum']}</u></font> 个</a></td>
		</tr>
		<!--}-->
		<!--if($tmp[5]==1){-->
		<tr>
		<td width="22%" height="30" class="tableleft1">今日转款金额：</td>
		<td width="78%" class="tableright1"><a href="index.php?m=mod_agent&c=trade&tpl=history&tradetype=31,32"><font color=#ff0000><u>{$vd['lang']['moneysymbol']}{$vd['rs']['tran_sum']}</u></font></a></td>
		</tr>
		<!--}-->
		<!--if($tmp[10]==1){-->
		<tr>
		<td width="22%" height="30" class="tableleft1">今日提成金额：</td>
		<td width="78%" class="tableright1"><a href="index.php?m=mod_agent&c=trade&tpl=profit&tradetype=11"><font color=#ff0000><u>{$vd['lang']['moneysymbol']}{$vd['rs']['profit_sum']}</u></font></a></td>
		</tr>
		<!--}-->
		<!--if($tmp[35]==1){-->
		<tr>
		<td width="22%" height="30" class="tableleft1">未处款汇款通知：</td>
		<td width="78%" class="tableright1"><a href="index.php?m=mod_agent&c=Remit"><font color=#ff0000><u>{$vd['rs']['remit_sum']}</u></font> 条</a></td>
		</tr>
		<!--}-->
		<!--if($vd['custom']==1){-->
		<!--if($tmp[16]==1){-->
		<tr>
		<td width="22%" height="30" class="tableleft1">未处理订单投诉：</td>
		<td width="78%" class="tableright1"><a href="index.php?m=mod_agent&c=Complaint&&msgstate=1&msgdirect=1"><font color=#ff0000><u>{$vd['rs']['complaint_sum']}</u></font> 条</a></td>
		</tr>
		<!--}-->
		<!--if($tmp[44]==1){-->
		<tr>
		<td width="22%" height="30" class="tableleft1">今日商品销售额：</td>
		<td width="78%" class="tableright1"><a href="index.php?m=mod_agent&c=AOrder&a=Simple&by=1"><font color=#ff0000><u>{$vd['lang']['moneysymbol']}{$vd['rs']['sell_sum']}</u></font></a></td>
		</tr>
		<!--}-->
		<!--if($tmp[44]==1){-->
		<tr>
		<td width="22%" height="30" class="tableleft1">未代充订单数：</td>
		<td width="78%" class="tableright1"><a href="index.php?m=mod_agent&c=AOrder&a=CzOrder&ptype=sd&ordstate=1&by=1"><font color=#ff0000><u>{$vd['rs']['nodeal_sum']}</u></font> 条</a></td>
		</tr>
		<!--}-->
		<!--if($tmp[44]==1){-->
		<tr>
		<td width="22%" height="30" class="tableleft1">销售卡密总数：</td>
		<td width="78%" class="tableright1"><a href="index.php?m=mod_agent&c=AOrder&&a=Simple&optype=km&by=1"><font color=#ff0000><u>{$vd['rs']['kmsell_sum']}</u></font> 张</a></td>
		</tr>
		<!--}-->
		<!--}-->
		</table>
	</td>
	</tr>
	</table>
	<br>
	<br>
	<div id="defaulthearder"><img src="{$vd['content']}images/icon_tjgg.gif" align="absbottom" /></div>
	<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
	<tr>
	<td class="tableleft">
		<table width="100%" border="0" cellpadding="0" cellspacing="0" class="table1">
		<tr>
		<td class="tjgg">
		<div id="gg">
		<ul>
			<!--$i=0;foreach($vd['price'] as $a) {-->
      <li><span>{$this->DateFormat($a['ndate'],'Y-m-d')}</span><a href="<!--if($a['titlelink'] != ''){-->{$a['titlelink']}" target="_blank"<!--}else{-->{$vd['root']}article/<!--if($vd['vip'] > 0){-->?{$a['id']}<!--}else{-->{$a['id']}.html<!--}-->" target="_blank"<!--}--> title="{$a['title']}"><font color="{$a['titlecolor']}">{#SubText($a['title'], 29)}</font></a></li>
      <!--$i++;}-->
		</ul>
		</div>
		</td>
		</tr>
		</table>
	</td>
	</tr>
	</table>
	<br>
</body>
</html>
