Example #1
0
                            <div class="span2"></div>
                            <div class="span8">
                                <div class="progress progress-striped active" id="load">
                                    <div class="bar" style="width: 100%;"></div>
                                </div>
                            </div>
                            <div class="span2"></div>
                        </div>

                        <div class="row-fluid" id="home_view_posts">
                            <ul class="thumbnails">
                                <?php 
//                                ($cat_data as $detail)
$count = 1;
foreach ($cat_data as $detail) {
    $user = useritemsquery::create()->filterByitemid($detail['item_id'])->findOne()->getuserid();
    $user = userprofilequery::create()->filterByuserid($user)->findOne();
    $thumb = $detail['field_value'];
    $obj = json_decode($thumb);
    ?>
                                    <li class="span3 <?php 
    echo $count == 1 ? 'first' : '';
    ?>
">
                                        <div class="thumbnail">
                                            <img data-src="holder.js/a" src="http://webdekeyif.com/uploads/<?php 
    echo $obj->thumbnail;
    ?>
" alt="<?php 
    echo $detail['item_name'];
    ?>
Example #2
0
echo $this->lang->line('view_all_cat');
?>
</a></li>
                            </ul>
                        </div>
                        <div class="row-fluid">
                            <script type="text/javascript">
                                $(document).ready(function() {
                                    $(".thumbnails").Zoomdp();
                                });
                            </script>
                            <ul class="thumbnails">
                                <?php 
$count = 1;
foreach ($items as $item) {
    $user = useritemsquery::create()->filterByitemid($item['id'])->findOne()->getuserid();
    $user = userprofilequery::create()->filterByuserid($user)->findOne();
    ?>
                                    <li class="span3 <?php 
    echo $count == 1 ? 'first' : '';
    ?>
">
                                        <div class="thumbnail">
                                            <img data-src="holder.js/a" src="../../../assets/img/1.jpg" alt="">
                                            <div class="desc">
                                                <h2><a href="<?php 
    echo 'http://webdekeyif.com/index.php/item/productView/' . $item['id'];
    ?>
"><?php 
    echo $item['itemname'];
    ?>