<?php /* Smarty version Smarty-3.0.8, created on 2014-05-18 19:49:01
         compiled from "D:\www\cangku/tpl\gooutlist.html" */ ?>
<?php /*%%SmartyHeaderCode:2344453789e2d788237-76439799%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'dd76b264b0c75ba62ab0836fbd4443d41d8fc3a3' => 
    array (
      0 => 'D:\\www\\cangku/tpl\\gooutlist.html',
      1 => 1400413354,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '2344453789e2d788237-76439799',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<!DOCTYPE HTML>
<html>
<head>
	<meta http-equiv="content-type" content="text/html" />
    <link rel="stylesheet" href="dist/css/bootstrap.css"/>
    <link href="dist/css/bootstrap-responsive.css" rel="stylesheet"/>
     <script src="dist/js/jquery.min.js"></script>
     <script src="dist/js/bootstrap.min.js"></script>
     		<link rel="stylesheet" href="dist/js/default.css" />
		<script src="dist/js/kindeditor.js"></script>
        <title>仓库管理系统后台-出入库表格</title>
</head>
<body>
<div style="width: 98%;margin: auto;margin-top: 5px;">
<table class="table table-bordered">
       <tr>
        <th style="width: 150px;">来货司机</th>
        <th style="width: 150px;">司机车号</th>
        <th style="width: 150px;">入仓打折</th>
        <th style="width: 150px;">联系电话</th>
        <th style="width: 150px;">QQ</th>
        <th style="width: 150px;">来货城市</th>
        <th style="width: 150px;">可否退货</th>
        <th style="width: 150px;">退货型号</th>
        <th style="width: 150px;">退货数量</th>
        <th style="width: 150px;">产品过期</th>
        <th style="width: 150px;">申请时间</th>
        <th style="width: 150px;">操作</th>
        </tr>
        <?php  $_smarty_tpl->tpl_vars['value'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('b')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['value']->key => $_smarty_tpl->tpl_vars['value']->value){
?>
                <tr>
                <td><?php echo $_smarty_tpl->tpl_vars['value']->value['brivername'];?>
</td>
                <td><?php echo $_smarty_tpl->tpl_vars['value']->value['brivernum'];?>
</td>
                <td><?php echo $_smarty_tpl->tpl_vars['value']->value['sale'];?>
</td>
                <td><?php echo $_smarty_tpl->tpl_vars['value']->value['tel'];?>
</td>
                <td><?php echo $_smarty_tpl->tpl_vars['value']->value['qq'];?>
</td>
                <td><?php echo $_smarty_tpl->tpl_vars['value']->value['city'];?>
</td>
                <td><?php echo $_smarty_tpl->tpl_vars['value']->value['dont'];?>
</td>
                <td><?php echo $_smarty_tpl->tpl_vars['value']->value['dontmodel'];?>
</td>
                <td><?php echo $_smarty_tpl->tpl_vars['value']->value['dontnum'];?>
</td>
                <td><?php echo $_smarty_tpl->tpl_vars['value']->value['overdue'];?>
</td>
                <td><?php echo $_smarty_tpl->tpl_vars['value']->value['time'];?>
</td>
                <td><a href="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['spUrl'][0][0]->__template_spUrl(array('c'=>'main','a'=>'gooutdel','id'=>$_smarty_tpl->tpl_vars['value']->value['id']),$_smarty_tpl);?>
">刪除</a></td>
                </tr>
                <?php }} ?>
</table>
    <div style="width: 100%;text-align: center;">
  <?php if ($_smarty_tpl->getVariable('pager')->value){?>
共有内容<?php echo $_smarty_tpl->getVariable('pager')->value['total_count'];?>
条，共有<?php echo $_smarty_tpl->getVariable('pager')->value['total_page'];?>
页（每页<?php echo $_smarty_tpl->getVariable('pager')->value['page_size'];?>
条内容）：
<!--在当前页不是第一页的时候，显示前页和上一页-->
<?php if ($_smarty_tpl->getVariable('pager')->value['current_page']!=$_smarty_tpl->getVariable('pager')->value['first_page']){?>
<a href="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['spUrl'][0][0]->__template_spUrl(array('c'=>'main','a'=>'gooutlist','page'=>$_smarty_tpl->getVariable('pager')->value['first_page'],'name'=>$_smarty_tpl->getVariable('fenye')->value),$_smarty_tpl);?>
">前页</a> | 
<a href="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['spUrl'][0][0]->__template_spUrl(array('c'=>'main','a'=>'gooutlist','page'=>$_smarty_tpl->getVariable('pager')->value['prev_page'],'name'=>$_smarty_tpl->getVariable('fenye')->value),$_smarty_tpl);?>
">上一页</a> | 
<?php }?>
<!--开始循环页码，同时如果循环到当前页则不显示链接-->
<?php  $_smarty_tpl->tpl_vars['thepage'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('pager')->value['all_pages']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['thepage']->key => $_smarty_tpl->tpl_vars['thepage']->value){
?>
	<?php if ($_smarty_tpl->tpl_vars['thepage']->value!=$_smarty_tpl->getVariable('pager')->value['current_page']){?>
		<a href="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['spUrl'][0][0]->__template_spUrl(array('c'=>'main','a'=>'gooutlist','page'=>$_smarty_tpl->tpl_vars['thepage']->value,'name'=>$_smarty_tpl->getVariable('fenye')->value),$_smarty_tpl);?>
"><?php echo $_smarty_tpl->tpl_vars['thepage']->value;?>
</a>
	<?php }else{ ?>
		<b><?php echo $_smarty_tpl->tpl_vars['thepage']->value;?>
</b>
	<?php }?>
<?php }} ?>
<!--在当前页不是最后一页的时候，显示下一页和后页-->
<?php if ($_smarty_tpl->getVariable('pager')->value['current_page']!=$_smarty_tpl->getVariable('pager')->value['last_page']){?>
 | 
<a href="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['spUrl'][0][0]->__template_spUrl(array('c'=>'main','a'=>'gooutlist','page'=>$_smarty_tpl->getVariable('pager')->value['next_page'],'name'=>$_smarty_tpl->getVariable('fenye')->value),$_smarty_tpl);?>
">下一页</a> | 
<a href="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['spUrl'][0][0]->__template_spUrl(array('c'=>'main','a'=>'gooutlist','page'=>$_smarty_tpl->getVariable('pager')->value['last_page'],'name'=>$_smarty_tpl->getVariable('fenye')->value),$_smarty_tpl);?>
">后页</a>
<?php }?>
<?php }?>
</div>
</div>
</body>
</html>