Line 79... |
Line 79... |
79 |
|
79 |
|
80 |
</div>
|
80 |
</div>
|
81 |
|
81 |
|
82 |
<?php if (wpsg_isSizedArray($this->view['arProducts'])) { ?>
|
82 |
<?php if (wpsg_isSizedArray($this->view['arProducts'])) { ?>
|
83 |
|
83 |
|
84 |
<?php $i = 0; foreach ($this->view['arProducts'] as $p); $oProduct = wpsg_product::getInstance($p['product_key']); { $i ++; ?>
|
84 |
<?php $i = 0; foreach ($this->view['arProducts'] as $p) { $oProduct = wpsg_product::getInstance($p['product_key']); $i ++; ?>
|
85 |
|
85 |
|
86 |
<?php if (($i - 1) % $col == 0) { ?><div class="wpsg_mod_productindex_productrow"><?php } ?>
|
86 |
<?php if (($i - 1) % $col == 0) { ?><div class="wpsg_mod_productindex_productrow"><?php } ?>
|
87 |
|
87 |
|
88 |
<div class="wpsg_mod_productindex_product <?php echo (($i == sizeof($this->view['arProducts']))?'wpsg_mod_productindex_product_last':''); ?> <?php echo (($i == 1)?'wpsg_mod_productindex_product_first':''); ?>" style="width:<?php echo round((100 / $col), 2) ?>%;">
|
88 |
<div class="wpsg_mod_productindex_product <?php echo (($i == sizeof($this->view['arProducts']))?'wpsg_mod_productindex_product_last':''); ?> <?php echo (($i == 1)?'wpsg_mod_productindex_product_first':''); ?>" style="width:<?php echo round((100 / $col), 2) ?>%;">
|
89 |
<div class="wpsg_mod_productindex_product_inner">
|
89 |
<div class="wpsg_mod_productindex_product_inner">
|