示例#1
0
                                    <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'];
    ?>
</a></h2>
                                                <span>category :</span><a href="#"><?php 
    echo categoriesquery::create()->filterByid($item['categoryid'])->findOne()->getcategoryname();
    ?>
</a>
                                                <p>by<span class="author"><?php 
    echo ' ' . $user->getfirstname() . ' ' . $user->getlastname();
    ?>
</span><span class="right"><span class="icon-thumbs-up"></span>250   <span class="icon-eye-open"></span>1225</span></p>
                                            </div>
                                        </div>
                                    </li>
                                    <?php 
    if ($count > 4) {
        $count = 0;
    }
    $count++;
}
示例#2
0
    ?>
"
                                                 data-fullsize="http://webdekeyif.com/uploads/<?php 
    echo $obj->thumbnail;
    ?>
" />
                                            <div class="desc">
                                                <h2><a href="<?php 
    echo 'http://webdekeyif.com/index.php/item/productView/' . $detail['item_id'];
    ?>
"><?php 
    echo substr($detail['item_name'], 0, 40);
    ?>
</a></h2>
                                                <span>category :</span><a href="#"><?php 
    echo categoriesquery::create()->filterByid($detail['category_id'])->findOne()->getcategoryname();
    ?>
</a>
                                                <p>by<span class="author"><?php 
    echo ' ' . $user->getfirstname() . ' ' . $user->getlastname();
    ?>
</span><span class="right"><span class="icon-thumbs-up"></span>250   <span class="icon-eye-open"></span>1225</span></p>
                                            </div>
                                        </div>
                                    </li>
                                    <?php 
    if ($count > 3) {
        $count = 0;
    }
    $count++;
}
示例#3
0
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              <!--<img src="/scripts/timthumb.php?src=/images/whatever.jpg&h=150&w=150&zc=1" alt="">--> 
                                            <img  src="<?php 
        echo $image_url . base_url();
        ?>
uploads/<?php 
        echo $thumbnail_url . '&h=50&w=50&zc=1';
        ?>
" alt="<?php 
        echo substr($array_val[0]['item_name'], 0, 40);
        ?>
"
                                                  class="thumbimg img-polaroid tip_trigger" author="<?php 
        echo ' ' . $user->getfirstname() . ' ' . $user->getlastname();
        ?>
" category="<?php 
        echo categoriesquery::create()->filterByid($category_id)->findOne()->getcategoryname();
        ?>
"
                                                  data-fullsize="<?php 
        echo base_url();
        ?>
uploads/<?php 
        echo $thumbnail_url;
        ?>
" price="<?php 
        echo $price;
        ?>
" />
                                        </a>
                                        <div class="desc">
                                            <h2><a target="_blank" href="<?php