<?php /* Smarty version Smarty-3.0.8, created on 2017-07-30 10:29:01
         compiled from "/www/wwwroot/sanweiyuan.cn/tpl/admin/shoplist.html" */ ?>
<?php /*%%SmartyHeaderCode:1370490251597d446d594d43-01669088%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'b273335c656399de9b993b486d928ea4e6ce9bc4' => 
    array (
      0 => '/www/wwwroot/sanweiyuan.cn/tpl/admin/shoplist.html',
      1 => 1499665964,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '1370490251597d446d594d43-01669088',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta content="RY Inc." name="Copyright" />
<link media="all" type="text/css" href="css/bootstrap.min.css" rel="stylesheet">
<link media="all" type="text/css" href="css/admincp.css" rel="stylesheet">
<link media="all" type="text/css" href="css/style.admin.css" rel="stylesheet">
<title>燕子家居-砍价系统管理后台</title>
</head>

<body>
<div class="table-responsive">
	<table class="table table-bordered  table-hover ry-table">
		<thead>
			<tr class="ry-thead">
				<th>编号</th>
				<th>活动名</th>
				<th>开始时间</th>
				<th>结束时间</th>
				<th>总数量</th>
				<th>剩余数量</th>
				<!-- <th>砍价最小</th>
				<th>砍价最大</th> -->
				<th>原价</th>
				<th>低价</th>
				<th>参与人数</th>
				<th>添加时间</th>
				<th>操作</th>
			</tr>
		</thead>
		<tbody>
			<?php  $_smarty_tpl->tpl_vars['value'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('all')->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['refnum'];?>
</td>
				<td><?php echo $_smarty_tpl->tpl_vars['value']->value['title'];?>
</td>
				<td><?php echo $_smarty_tpl->tpl_vars['value']->value['starttime'];?>
</td>
				<td><?php echo $_smarty_tpl->tpl_vars['value']->value['overtime'];?>
</td>
				<td>
					<?php if ($_smarty_tpl->tpl_vars['value']->value['num']==0){?>
						无限制
					<?php }else{ ?>
						<?php echo $_smarty_tpl->tpl_vars['value']->value['num'];?>
	
					<?php }?>
				</td>
				<td><?php echo $_smarty_tpl->tpl_vars['value']->value['overnum'];?>
</td>
				<!-- <td>产品2</td>
				<td>产品3</td> -->
				<td><?php echo $_smarty_tpl->tpl_vars['value']->value['yprice'];?>
</td>
				<td><?php echo $_smarty_tpl->tpl_vars['value']->value['minprice'];?>
</td>
				<td>
					<?php if (empty($_smarty_tpl->tpl_vars['value']->value['people'])){?>
						0
					<?php }else{ ?>
						<?php echo $_smarty_tpl->tpl_vars['value']->value['people'];?>
	
					<?php }?>
				</td>
				<td><?php echo $_smarty_tpl->tpl_vars['value']->value['addtime'];?>
</td>
				<td><a href="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['spUrl'][0][0]->__template_spUrl(array('c'=>'admin','a'=>'shopedit','id'=>$_smarty_tpl->tpl_vars['value']->value['id']),$_smarty_tpl);?>
">修改</a>|<a href="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['spUrl'][0][0]->__template_spUrl(array('c'=>'admin','a'=>'shopdel','id'=>$_smarty_tpl->tpl_vars['value']->value['id']),$_smarty_tpl);?>
" onclick="return confirm('确认删除?');">删除</a></td>
			</tr>
			<?php }} ?>
		</tbody>
</table>
</div>  	
</body>
</html>