<?php /* Smarty version Smarty-3.0.8, created on 2014-05-20 00:40:05
         compiled from "D:\www\cangku/tpl\two.html" */ ?>
<?php /*%%SmartyHeaderCode:12591537a33e5c60c29-90698601%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '2625d1b0a708e16c96705624bb47363b12e95ebc' => 
    array (
      0 => 'D:\\www\\cangku/tpl\\two.html',
      1 => 1400517603,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '12591537a33e5c60c29-90698601',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<!DOCTYPE HTML>
<html>
<head>
	<meta http-equiv="content-type" content="text/html" />
	<meta name="author" content="mxszpt.com" />
        <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
    <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>
	<title>货仓管理统计表蓝</title>
    <style>
    body{border: 0px;margin: 0px;background-image: url(images/bj.jpg);background-repeat:no-repeat;width: 100%;}
    img{border:0px;margin: 0px;display:block}
    </style>
</head>

<body>
<div style="width: 960px;margin: auto;">
    <div style="text-align: center;margin-top: 30px;"><span style="font-size: 70px;color: red;">货仓管理统计表</span><br />
            <div style="text-align: center;margin-top: 5px;"><span style="font-size: <?php echo $_smarty_tpl->getVariable('confignr')->value['title_fonta'];?>
;color: <?php echo $_smarty_tpl->getVariable('confignr')->value['titel_colora'];?>
;"><?php echo $_smarty_tpl->getVariable('confignr')->value['twoname'];?>
</span></div>
            <a href="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['spUrl'][0][0]->__template_spUrl(array('c'=>'main','a'=>'index'),$_smarty_tpl);?>
">回到首页</a>
    </div>
             <!-- 
               <div style="width: 560px;height: 180px;margin: auto;margin-top: 20px;background-image: url(images/ly.jpg);">
               <div style="padding: 15px;">
                 <div style="text-align: center;"><span style="color: red;font-size: 16px;">员工留言版</span></div>
                 <div style="margin-top: 10px;">
                 <form action="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['spUrl'][0][0]->__template_spUrl(array('c'=>'main','a'=>'book'),$_smarty_tpl);?>
" method="POST">
                 <b>员工姓名：</b><input type="text" name="who" style="width:450px"/><br /><br />
                 <b>留言内容：</b><textarea name="contents" style="width: 450px; height: 30px;"></textarea><br /><br />
                 <div style="text-align: center;"><input type="submit" value="请认真填写，完成后点击此处提交" class="btn btn-info"/></div>
                        </form>
                        </div>
                    </div>
                </div> 
                -->       
                    <div style="width: 331px;margin: auto;text-align: center;">
           <?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){
?>
                <div style="border: 1px solid #F2F2F2;width: 311px;background-color: #FFFFFF;float: left;margin: 2px;">
                    <a href="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['spUrl'][0][0]->__template_spUrl(array('c'=>'main','a'=>'three','id'=>$_smarty_tpl->tpl_vars['value']->value['id'],'name'=>$_smarty_tpl->tpl_vars['value']->value['shopname'],'num'=>$_smarty_tpl->tpl_vars['value']->value['num']),$_smarty_tpl);?>
"><img src="<?php echo $_smarty_tpl->tpl_vars['value']->value['images'];?>
" style="width: 310px;height: 50px;"/></a>
                    </div>
                <?php }} ?>
                    <div style="width: 100%;text-align: center;float: left;">
  <?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'=>'shoplist','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'=>'shoplist','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'=>'shoplist','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'=>'shoplist','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'=>'shoplist','page'=>$_smarty_tpl->getVariable('pager')->value['last_page'],'name'=>$_smarty_tpl->getVariable('fenye')->value),$_smarty_tpl);?>
">后页</a>
<?php }?>
<?php }?>
</div> 
                        </div>

    </div>
</body>
</html>