<!DOCTYPE html>
<html>
	<?php echo $this->fetch('head.html'); ?>
	<body>
		<div class="tabs-border">
			<div gourl="/moduleadmin.php?m=s2c_product_day" class="item <?php if (get ( 'day' ) == 0): ?>active<?php endif; ?>">今日备货</div>
			<div gourl="/moduleadmin.php?m=s2c_product_day&day=-1" class="item <?php if (get ( 'day' ) == - 1): ?>active<?php endif; ?>">昨日备货</div>
			<div gourl="/moduleadmin.php?m=s2c_product_day&day=2" class="item <?php if (get ( 'day' ) == 2): ?>active<?php endif; ?>">明日备货</div>
		</div>
		<div class="main-body">
			<table class="tbs">
				<thead>
					<tr>
						<td>产品</td>
						<td>款式</td>
						<td>数量</td>
					</tr>
				</thead>
				<tbody>
					<?php $_from = $this->_var['list']; if (!is_array($_from) && !is_object($_from)) { $_from=array();}; $this->push_vars('', 'c');if (count($_from)):
    foreach ($_from AS $this->_var['c']):
?>
					<tr>
						<td><?php echo $this->_var['c']['title']; ?></td>
						<td><?php echo $this->_var['c']['ks_title']; ?></td>
						<td><?php echo $this->_var['c']['amount']; ?></td>
					</tr>
					<?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
				</tbody>
			</table>
		</div>
		<?php echo $this->fetch('footer.html'); ?>
	</body>
</html>
