<?php include_once(mvc::$cfg['PATH_TPL'].'public/headBase.php');?>
<div class="marauto marlists">
	<div class="searchParam">
		<form method="get" id="sform">
			<b>工型号</b>
			<textarea name="sma_gxb_code" class="form-control textrow input-any-row" rows="3" cols="20" placeholder="多个用;分割或者换行"><?php echo $Params['sma_gxb_code'];?></textarea>&nbsp;&nbsp;&nbsp;
			<button type="submit" class="btn btn-primary"> 查 询 </button>&nbsp;&nbsp;&nbsp;
			<button type="reset" class="btn btn-default"> 重 置 </button>
		</form>
	</div>
	<?php if(!empty($vinArr)){?>
	<table class="table table-bordered YpTable fixed-table">
		<thead class="Filter Sortable">
			<tr>
				<th width="150px" class="Sort"><span>工信部</span></th>
				<th width="50px" class="Sort" sort="float"><span>长</span></th>
				<th width="50px" class="Sort" sort="float"><span>宽</span></th>
				<th width="50px" class="Sort" sort="float"><span>高</span></th>
				<th width="50px" class="Sort" sort="float"><span>轴距</span></th>
				<th width="100px" class="Sort"><span>发动机</span></th>
				<th width="60px" class="Sort" sort="float"><span>VIN数</span></th>
				<th width="60px" class="Sort" sort="float"><span>VIN10</span></th>
			</tr>
		</thead>
		<tbody>
			<?php foreach($vinArr as $v){?>
			<tr>
				<td><a target="_blank" class="a_blue" href="<?=mvc::$cfg['ADMIN_URI'].'ypcCar/standModelAnyTj?smt_gxb_code='.$v['sma_gxb_code_show'].'&smt_vin='.$v['sma_vin1_8']?>"><?php echo $v['sma_gxb_code_show'];?></a></td>
				<td><?php echo $v['sma_length'] > 0 ? $v['sma_length'] : '';?></td>
				<td><?php echo $v['sma_width'] > 0 ? $v['sma_width'] : '';?></td>
				<td><?php echo $v['sma_height'] > 0 ? $v['sma_height'] : '';?></td>
				<td><?php echo $v['sma_wheel'] > 0 ? $v['sma_wheel'] : '';?></td>
				<td><?php echo $v['sma_engine'];?></td>
				<td><a target="_blank" class="a_blue" href="<?=mvc::$cfg['ADMIN_URI'].'ypcCar/standModelAny?sma_gxb_code='.$v['sma_gxb_code_show'].'&sma_vin='.$v['sma_vin1_8'].'%&sma_length='.$v['sma_length'].'&sma_width='.$v['sma_width'].'&sma_height='.$v['sma_height'].'&sma_wheel='.$v['sma_wheel'].'&sma_engine='.$v['sma_engine'].'&sma_vin10='.str_replace(',', '', $v['sma_vin10'])?>"><?php echo $v['vin_count'];?></a></td>
				<td><?php echo $v['sma_vin10'];?></td>
			</tr>
			<?php }?>
		</tbody>
	</table>
	<div class="page-box"><div class="page-all">共<b><?php echo count($vinArr);?></b>条记录</div></div>
	<?php }?>
</div>
<?php include_once(mvc::$cfg['PATH_TPL'].'public/footBase.php');?>