<?php include_once(mvc::$cfg['PATH_TPL'].'public/topSeller.php');?>
<div class="maintb">
	<?php include_once(mvc::$cfg['PATH_TPL'].'seller/leftMenu.php');?>
	<div class="main_middle shop-server">
		<div class="navrow">
			<ul class="navrow_ul">
				<li>
					<a href="/seller/shopBail">保证金</a>
				</li>
				<li>
					<a href="/seller/shopCustom">无忧退货</a>
				</li>
				<li class="active">
					<a href="/seller/shopServerList">卖家服务</a>
				</li>
			</ul>
		</div>
		<div class="mod-main ">
			<div class="shop-custom-head">
				
				<a href="/seller/shopServer"><button type="button" class="btn btn-default">新增售后模版</button></a>
			</div>		
			<table class="table table-bordered martb10" id="my_list">
				<thead>
					<tr>
						<th width="85px">操作</th>
						<th width="400px;">模版名称</th>
						<th width="300px;">备注</th>
						<th width="50px">配件数</th>
						<th>添加时间</th>
					</tr>
				</thead>
				<tbody class="pdtTbody">
				<?php if(!empty($pdtArr)){?>
				 <?php foreach ($pdtArr as $k=>$v){?>
					<tr id="pdtTr<?php echo $v['pdt_id'];?>">
						<td>
							<a class="a_blue marr5" href="/seller/shopServer?pdtId=<?php echo $v['pdt_id'];?>" >编辑</a>
							<a class="a_blue mar5 delAddr" addid="<?php echo $v['addr_id'];?>" href="javascript:;" onclick="delCustomPdt(<?php echo $v['pdt_id'];?>);return false;">删除</a>
						</td>
						<td><?php echo $v['pdt_name'];?></td>
						<td><?php echo $v['pdt_remark'];?></td>
						<td><?php echo $v['pronum'];?></td>
						<td><?php echo date("Y-m-d H:i",$v['pdt_add_time']);?></td>
					</tr>
				 <?php }?>
				<?php }else{?>
					<tr>
						<td colspan="4" class="center">还没有售后模版，点击<a href="/seller/shopServer" class="orange">这里</a>去设置</td>
					</tr>
				<?php }?>
				</tbody>
			</table>
		</div>
		<div class="clear"></div>
	</div>
</div>
<?php include_once(mvc::$cfg['PATH_TPL'].'public/footAll.php');?>