<li> <span><?php echo $this->_foreach['history_goods']['iteration']; ?> </span> <a href="goods.php?id=<?php echo $this->_var['goods_0_49436700_1390727024']['goods_id']; ?> "><img src="themes/default/images/sgoods/<?php echo $this->_var['goods_0_49436700_1390727024']['goods_sn']; ?> .png" width="40" height="30" /> <img src="themes/default/images/price_name.gif" width="24" height="24" /></a> <div> <p style="color:#000;"><?php echo price_format_new($this->_var['goods_0_49436700_1390727024']['shop_price']); ?> </p> <p><?php echo $this->_var['goods_0_49436700_1390727024']['goods_name']; ?> </p> </div> </li> <?php } } unset($_from); $this->pop_vars(); ?>
$this->_foreach['cart_goods_list'] = array('total' => count($_from), 'iteration' => 0); if ($this->_foreach['cart_goods_list']['total'] > 0) { foreach ($_from as $this->_var['goods_0_10255200_1403744144']) { $this->_foreach['cart_goods_list']['iteration']++; ?> <tr> <td width="50" align="left" style="font-size:11px;"><?php echo $this->_var['goods_0_10255200_1403744144']['goods_name']; ?> </td> <td width="35" align="center"><?php echo $this->_var['goods_0_10255200_1403744144']['goods_number']; ?> </td> <td width="35" align="center"><?php echo price_format_new($this->_var['goods_0_10255200_1403744144']['goods_price']); ?> </td> <td align="center"><a href="javascript:if (confirm('<?php echo $this->_var['lang']['drop_goods_confirm']; ?> ')) location.href='flow.php?step=drop_goods&id=<?php echo $this->_var['goods_0_10255200_1403744144']['rec_id']; ?> '; "><img src="themes/default/images/cancel_btn.gif" width="12" height="12" /></a></td> </tr> <?php } } unset($_from); $this->pop_vars();