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

$tabletpl = array(
				"aid" => array( "width" => "90", "headHtml" => "<b>所属</b>", "bodyHtml" => "<a href=\"index.php?m=mod_b2b&c=order&comefrom={\$item['comefrom']}&by=1&inrecycle={\$vd['inrecycle']}\" onclick=\"loadDisp(1)\">{#ComeFrom(\$item['comefrom'])}</a>(<a href=\"index.php?m=mod_b2b&c=order&aid={\$item['aid']}&comefrom={\$item['comefrom']}&by=1&inrecycle={\$vd['inrecycle']}\" onclick=\"loadDisp(1)\"><font color=\"#ff0000\">{#DisplayCode(\$item['aid'])}</font></a>)" ),
				"ordno" => array( "width" => "150", "headHtml" => "<b>订单号</b>", "bodyHtml" => "<a href=\"index.php?m=mod_b2b&c=order&a=detail&ubzordno={\$item['ordno']}&ishistory=<!--echo intval(request('ishistory'));-->\" title=\"查看订单\" onFocus=\"this.blur()\" onclick=\"loadDisp(1)\">{\$item['ordno']}</a>" ),
				"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=<!--echo intval(request('ishistory'));-->\" title=\"查看订单\" onFocus=\"this.blur()\" onclick=\"loadDisp(1)\"><img src=\"{\$vd['sc']}images/icon_view.gif\"/></a>" ),
				"pname" => array( "width" => "160", "headHtml" => "<b>订购商品</b>", "bodyHtml" => "<nobr><samp title=\"{\$item['pname']}\">{\$item['pname']}</samp></nobr>" ),
				"remarks" => array( "width" => "150", "headHtml" => "<span class=\"canedit\">备注</span>", "bodyHtml" => "<span onclick=\"toInput(this,'{\$item['ordno']}','remarks')\"><!--if(\$item['remarks']==''){-->--<!--}else{-->{\$item['remarks']}<!--}--></span>" ),
				"ptype" => array( "width" => "65", "headHtml" => "<b>商品类型</b>", "bodyHtml" => "{#ProductType(\$item['ptype'])}" ),
				"cname" => array( "width" => "120", "headHtml" => "<b>操作者</b>", "bodyHtml" => "<a href=\"index.php?m=mod_b2b&c=order&comefrom={\$item['comefrom']}&keywords={\$item['cname']}&stype=cname&by=1\" onclick=\"loadDisp(1)\" title=\"点击查看这个用户购买的所有的单子\">{\$item['cname']}</a>" ),
				"aname" => array( "width" => "120", "headHtml" => "<b>用户名</b>", "bodyHtml" => "<a href=\"index.php?m=mod_b2b&c=order&comefrom={\$item['comefrom']}&keywords={\$item['aname']}&stype=aname&by=1\" onclick=\"loadDisp(1)\" title=\"点击查看这个用户购买的所有的单子\">{\$item['cname']}</a>" ),
				"cqq" => array( "width" => "120", "headHtml" => "<b>QQ号</b>", "bodyHtml" => "{\$item['cqq']}" ),
				"tadmin" => array( "width" => "120", "headHtml" => "<b>代充管理员</b>", "bodyHtml" => "<!--if(\$vd['admname']==\$item['admname']){--><font color=\"#ff0000\"><!--}-->{\$item['admname']}<!--if(\$vd['admname']==\$item['admname']){--></font><!--}-->" ),
				"cmail" => array( "width" => "120", "headHtml" => "<b>邮箱</b>", "bodyHtml" => "{\$item['cmail']}" ),
				"ctel" => array( "width" => "120", "headHtml" => "<b>电话</b>", "bodyHtml" => "{\$item['ctel']}" ),
				"caccount" => array( "width" => "120", "headHtml" => "<b>充值帐号</b>", "bodyHtml" => "{\$item['caccount']}" ),
				"orddate" => array( "width" => "140", "headHtml" => "<b>下单时间</b>", "bodyHtml" => "{\$item['orddate']}" ),
				"cip" => array( "width" => "120", "headHtml" => "<b>下单者IP</b>", "bodyHtml" => "{\$item['cip']}" ),
				"qty" => array( "width" => "40", "headHtml" => "<b>数量</b>", "bodyHtml" => "{\$item['qty']}" ),
				"dollars" => array( "width" => "80", "headHtml" => "<span class=\"canedit\">总金额</span>", "bodyHtml" => "<span onclick=\"toInput(this,'{\$item['ordno']}','dollars')\">{\$item['dollars']}</span>" ),
				"price" => array( "width" => "80", "headHtml" => "<span class=\"canedit\">进货价</span>", "bodyHtml" => "<span onclick=\"toInput(this,'{\$item['ordno']}','price')\">{\$item['price']}</span>" ),
				"cprice" => array( "width" => "80", "headHtml" => "<span class=\"canedit\">售价</span>", "bodyHtml" => "<span onclick=\"toInput(this,'{\$item['ordno']}','cprice')\">{\$item['cprice']}</span>" ),
				"profit" => array( "width" => "80", "headHtml" => "<span class=\"canedit\">利润</span>", "bodyHtml" => "<span onclick=\"toInput(this,'{\$item['ordno']}','profit')\">{\$item['profit']}</span>" ),
				"payment" => array( "width" => "75", "headHtml" => "<b>支付方式</b>", "bodyHtml" => "{#GetPayment(\$item['payment'],\$item['ordno'])}" ),
				"state" => array( "width" => "95", "headHtml" => "<b>订单状态</b>", "bodyHtml" => "{#OrderState(\$item['ordstate'], \$item['ptype'])}" ),
				"czaccount" => array( "width" => "120", "headHtml" => "<b>充值用户</b>", "bodyHtml" => "<span onclick=\"copyToClipboard('{\$item['czaccount']}')\" style=\"cursor:pointer\" title=\"点击直接复制\">{\$item['czaccount']}</span>" ),
				"czarea1" => array( "width" => "120", "headHtml" => "<b>充值区域</b>", "bodyHtml" => "{#CzText(\$item['czarea1'])}" ),
				"czarea2" => array( "width" => "120", "headHtml" => "<b>充值服务器</b>", "bodyHtml" => "{#CzText(\$item['czarea2'])}" ),
				"cztype" => array( "width" => "120", "headHtml" => "<b>计费方式</b>", "bodyHtml" => "{#CzText(\$item['cztype'])}" ),
				"czother" => array( "width" => "120", "headHtml" => "<b>帐号类型</b>", "bodyHtml" => "{#CzText(\$item['czother'])}" ),
				"quickcheck" => array( "width" => "35", "headHtml" => "<b>成功</b>", "bodyHtml" => "<!--if(\$item['sup'] != 1) {--><!--if(\$item['ordstate']==2){--><img src=\"{\$vd['sc']}{#ToggleImgSrc(\$item['ordstate']==2 ? 1 : 0)}\" /><!--}else{--><img src=\"{\$vd['sc']}{#ToggleImgSrc(\$item['ordstate']==2 ? 1 : 0)}\" onclick=\"toToggle(this,'{\$item['ordno']}','ordstate3')\" alt=\"点此马上修改订单状态为交易完成状态！\" onFocus=\"this.blur()\" class=\"mousehand\"/><!--}--><!--}else{-->--<!--}-->" ),
				"del" => array( "width" => "22", "headHtml" => "<img src=\"{\$vd['sc']}images/icon_trash.gif\"/>", "bodyHtml" => "<img src=\"{\$vd['sc']}images/icon_trash.gif\" onclick=\"delSubmit({\$item['cid']})\" alt=\"删除用户,相关信息也会被删除\" style=\"cursor:pointer\"/>" )
);
?>
