You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

53 lines
3.7 KiB

<?php if ($this->_var['favourable_list']): ?>
<div class="ncc-title" style="height:25px; border:0px;">
<h3 style="font-size:18px;"><?php echo $this->_var['lang']['label_favourable']; ?></h3>
</div>
<?php $_from = $this->_var['favourable_list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'favourable');if (count($_from)):
foreach ($_from AS $this->_var['favourable']):
?>
<form action="flow.php" method="post">
<table width="99%" class="ncc-table-style" align="center" border="0" cellpadding="5" cellspacing="1" bgcolor="#dddddd">
<tr>
<td align="right" bgcolor="#ffffff"><?php echo $this->_var['lang']['favourable_name']; ?></td>
<td bgcolor="#ffffff" style="text-align:left;"><strong><?php echo $this->_var['favourable']['act_name']; ?></strong></td>
</tr>
<tr>
<td align="right" bgcolor="#ffffff"><?php echo $this->_var['lang']['favourable_period']; ?></td>
<td bgcolor="#ffffff" style="text-align:left;"><?php echo $this->_var['favourable']['start_time']; ?> --- <?php echo $this->_var['favourable']['end_time']; ?></td>
</tr>
<tr>
<td align="right" bgcolor="#ffffff"><?php echo $this->_var['lang']['favourable_range']; ?></td>
<td bgcolor="#ffffff" style="text-align:left;"><?php echo $this->_var['lang']['far_ext'][$this->_var['favourable']['act_range']]; ?><br />
<?php echo $this->_var['favourable']['act_range_desc']; ?></td>
</tr>
<tr>
<td align="right" bgcolor="#ffffff"><?php echo $this->_var['lang']['favourable_amount']; ?></td>
<td bgcolor="#ffffff" style="text-align:left;"><?php echo $this->_var['favourable']['formated_min_amount']; ?> --- <?php echo $this->_var['favourable']['formated_max_amount']; ?></td>
</tr>
<tr>
<td align="right" bgcolor="#ffffff"><?php echo $this->_var['lang']['favourable_type']; ?></td>
<td bgcolor="#ffffff" style="text-align:left;">
<span class="STYLE1 fl clearfix"><?php echo $this->_var['favourable']['act_type_desc']; ?></span>
<?php if ($this->_var['favourable']['act_type'] == 0): ?>
<?php $_from = $this->_var['favourable']['gift']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'gift');if (count($_from)):
foreach ($_from AS $this->_var['gift']):
?>
<span style="padding-top:5px; clear:both;" class="fl clearfix"><input type="checkbox" value="<?php echo $this->_var['gift']['id']; ?>" name="gift[]" />
<a href="goods.php?id=<?php echo $this->_var['gift']['id']; ?>" target="_blank" class="f6" style="color:#d93600"><?php echo $this->_var['gift']['name']; ?></a> [<?php echo $this->_var['gift']['formated_price']; ?>]
</span>
<?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
<?php endif; ?> </td>
</tr>
<?php if ($this->_var['favourable']['available']): ?>
<tr>
<td align="right" bgcolor="#ffffff">&nbsp;</td>
<td align="center" bgcolor="#ffffff"><input type="image" alt="" border="0" class="addto_cart" value="" /></td>
</tr>
<?php endif; ?>
</table>
<input type="hidden" name="act_id" value="<?php echo $this->_var['favourable']['act_id']; ?>" />
<input type="hidden" name="step" value="add_favourable" />
</form>
<?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
<?php endif; ?>