<?php
/****************************************/
/*                                      */
/*  百信卡盟平台联系QQ:84945491         */
/*  淘宝店 http://shop70674652.taobao.com  */
/*  百信卡盟 http://www.caipiaobus.com  */
/*                                      */
/****************************************/

$tabletpl = array(
				"orddate" => array( "width" => "140", "headHtml" => "<b>时间</b>", "bodyHtml" => "{\$item['orddate']}" ),
				"ordno" => array( "width" => "150", "headHtml" => "<b>订单号</b>", "bodyHtml" => "<a href=\"index.php?m=mod_b2b&c=order&a=detail&ubzordno={\$item['ordno']}&ishistory={\$ishistory}\" title=\"查看订单\"><font color=\"#00875A\">{\$item['ordno']}</font>" ),
				"view" => array( "width" => "22", "headHtml" => "<img src=\"{\$vd['sc']}images/icon_view.gif\"/>", "bodyHtml" => "<a href=\"index.php?m=mod_b2b&c=order&a=detail&ubzordno={\$item['ordno']}&ishistory={\$ishistory}\" title=\"查看订单\" onFocus=\"this.blur()\" onclick=\"loadDisp(1)\"><img src=\"{\$vd['sc']}images/icon_view.gif\"/></a>" ),
				"cprice" => array( "width" => "45", "headHtml" => "<b>售价</b>", "bodyHtml" => "{\$item['cprice']}" ),
				"price" => array( "width" => "50", "headHtml" => "<b>进价</b>", "bodyHtml" => "{\$item['price']}" ),
				"qty" => array( "width" => "35", "headHtml" => "<b>数量</b>", "bodyHtml" => "{\$item['qty']}" ),
				"profit" => array( "width" => "150", "headHtml" => "<b>总利润</b>", "bodyHtml" => "{\$item['profit']}" ),
				"sysprofit" => array( "width" => "150", "headHtml" => "<b>系统利润</b>", "bodyHtml" => "<!--echo round((\$item['profit'] - \$item['agentprofit']), 3)-->" ),
				"agentprofit" => array( "width" => "150", "headHtml" => "<b>代理商利润</b>", "bodyHtml" => "{\$item['agentprofit']}" ),
				"pname" => array( "width" => "140", "headHtml" => "<b>下单时间</b>", "bodyHtml" => "{\$item['orddate']}" ),
				"aname" => array( "width" => "120", "headHtml" => "<b>下单者</b>", "bodyHtml" => "<a href=\"index.php?m=mod_b2b&c=profit&comefrom={\$item['comefrom']}&keywords={\$item['aname']}&stype=aname&by=1\" onclick=\"loadDisp(1)\" title=\"点击查看这个用户购买的所有的单子\">{\$item['cname']}</a>" ),
				"aid" => array( "width" => "65", "headHtml" => "<b>所属</b>", "bodyHtml" => "<a href=\"index.php?m=mod_b2b&c=Profit&stype=aid&keywords={\$item['aid']}&by=1&allaid=1\" onclick=\"loadDisp(1)\" title=\"点击查看这个用户的订单\">{#DisplayCode(\$item['aid'])}</a>" )
);
?>
