Commit 48e107ef by tetiana yaremko

upload file on live server

parent fb202086
...@@ -103,8 +103,6 @@ ...@@ -103,8 +103,6 @@
<?php $i=0; ?> <?php $i=0; ?>
<?php foreach (array_reverse($get_by_genre) as $item) { ?> <?php foreach (array_reverse($get_by_genre) as $item) { ?>
<?php if($i<4 && $item->id != $data->id) { ?> <?php if($i<4 && $item->id != $data->id) { ?>
<?php if($item->feature=='exclusive') { ?>
<div class="pair-col col d-flex flex-column justify-content-center align-items-center mb-5"> <div class="pair-col col d-flex flex-column justify-content-center align-items-center mb-5">
<a href="<?php echo base_url(); ?>index.php/home/item/<?php echo $item->id; ?>"> <a href="<?php echo base_url(); ?>index.php/home/item/<?php echo $item->id; ?>">
<img class="img-thumbnail" style="max-height: 20rem" src="<?php echo $item->image; ?>"/></a> <img class="img-thumbnail" style="max-height: 20rem" src="<?php echo $item->image; ?>"/></a>
...@@ -114,10 +112,10 @@ ...@@ -114,10 +112,10 @@
</div> </div>
<?php } ?>
<?php } ?>
<?php $i++; ?> <?php $i++; ?>
<?php } ?> <?php } ?>
<?php } ?>
<?php endif; ?> <?php endif; ?>
......
...@@ -126,10 +126,10 @@ ...@@ -126,10 +126,10 @@
</div> </div>
</div> </div>
<?php } ?>
<?php $i++; ?> <?php $i++; ?>
<?php } ?> <?php } ?>
<?php } ?>
<?php } ?> <?php } ?>
<?php endif; ?> <?php endif; ?>
</div> </div>
...@@ -183,9 +183,11 @@ ...@@ -183,9 +183,11 @@
</div> </div>
</div> </div>
<?php $i++; ?>
<?php } ?> <?php } ?>
<?php } ?> <?php } ?>
<?php $i++; ?>
<?php } ?> <?php } ?>
<?php endif; ?> <?php endif; ?>
</div> </div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment