codding style
This commit is contained in:
parent
c0c3de53ba
commit
79543c77c1
1 changed files with 12 additions and 9 deletions
|
@ -9,6 +9,7 @@
|
|||
}(document, 'script', 'facebook-jssdk'));</script>
|
||||
<div class="row cb-box marginBottom">
|
||||
|
||||
{$row = $myquery->Get_Website_Details()}
|
||||
|
||||
<!--<div class="alert alert-info margin-bottom-10 ">-->
|
||||
{ANCHOR place='global'}
|
||||
|
@ -175,7 +176,7 @@
|
|||
|
||||
<div class="col-md-12 nopadding ">
|
||||
<h2 class="myHeading theme_color">{lang code="Featured Photos"}</h2>
|
||||
|
||||
{$result_photos1_01 = get_photos(['order'=>' RAND() LIMIT 1 '])}
|
||||
{if $result_photos1_01}
|
||||
<!-- *********** FIRST PHOTOS START ************ //-->
|
||||
<div class="col-md-12 fill-background lg-img">
|
||||
|
@ -187,7 +188,7 @@
|
|||
</a>
|
||||
{/foreach}
|
||||
</div>
|
||||
|
||||
{$result_photos1_08 = get_photos(['order'=>' photo_id DESC LIMIT 4 '])}
|
||||
<div class="col-md-5 nopadding sm-imgs">
|
||||
{foreach from=$result_photos1_08 item=result_photo1_08}
|
||||
<div class="col-md-6" style="border-right: 1px solid rgb(204, 204, 204); display: block; height: 133px; padding: 7px; border-top: 1px solid rgb(204, 204, 204);">
|
||||
|
@ -200,12 +201,14 @@
|
|||
</div>
|
||||
</div>
|
||||
<!-- *********** FIRST PHOTOS END ************ //-->
|
||||
{/if}
|
||||
{/if}
|
||||
|
||||
{$result_photos2_08 = get_photos(['order'=>' photo_id ASC LIMIT 4 '])}
|
||||
|
||||
{if $result_photos2_08}
|
||||
<!-- *********** SECOND PHOTOS START ************ //-->
|
||||
<div class="col-md-12" style="display:block; height:265px; padding:5px;">
|
||||
|
||||
|
||||
<div class="col-md-5 nopadding" style="display:block; height:132px;">
|
||||
{foreach from=$result_photos2_08 item=result_photo2_08}
|
||||
<div class="col-md-6" style="display: block; height: 132px; padding: 7px; border-left: 1px solid rgb(204, 204, 204); border-bottom: 1px solid rgb(204, 204, 204);">
|
||||
|
@ -216,7 +219,7 @@
|
|||
</div>
|
||||
{/foreach}
|
||||
</div>
|
||||
|
||||
{$result_photos2_01 = get_photos(['order'=>' RAND() LIMIT 1 '])}
|
||||
<div class="col-md-7 big_img">
|
||||
{foreach from=$result_photos2_01 item=result_photo2_01}
|
||||
<a href="{$cbphoto->photo_links($result_photo2_01,'view_item')}">
|
||||
|
@ -302,7 +305,7 @@
|
|||
<!-- ******************************************* //-->
|
||||
<!-- ************* USER BLOCK END ************ //-->
|
||||
<!-- ******************************************* //-->
|
||||
|
||||
{$collections = $cbcollection->get_collections(['limit'=>5])}
|
||||
<div class="col-md-4 comment_home side_user_home" >
|
||||
<h4 class="home-side-heading">{lang code="Top Collections"}</h4>
|
||||
{if $collections}
|
||||
|
@ -318,10 +321,10 @@
|
|||
<img class="cb_img_thum" src="{$cbcollection->get_thumb($collection,'',TRUE)}"/>
|
||||
</div>
|
||||
{/foreach}
|
||||
{else}
|
||||
{else}
|
||||
<div class="col-md-12 nopadding">No Collection</div>
|
||||
{/if}
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue