diff --git a/upload/styles/cb_28/layout/blocks/photo.html b/upload/styles/cb_28/layout/blocks/photo.html index 57bc96a0..2498ceec 100644 --- a/upload/styles/cb_28/layout/blocks/photo.html +++ b/upload/styles/cb_28/layout/blocks/photo.html @@ -46,6 +46,13 @@ {/if} +{if $display_type == "relatedPhoto_sidebar"} + + {get_photo details=$photo output='html' size='l' class='img-responsive'} + + +{/if} + {if $display_type == 'subscription'}
{get_photo details=$photo output='html' class='photoThumbBox' width='110'} diff --git a/upload/styles/cb_28/layout/global_header.html b/upload/styles/cb_28/layout/global_header.html index 996854d2..5f517c80 100644 --- a/upload/styles/cb_28/layout/global_header.html +++ b/upload/styles/cb_28/layout/global_header.html @@ -52,7 +52,7 @@ - + diff --git a/upload/styles/cb_28/layout/photos.html b/upload/styles/cb_28/layout/photos.html index cdde4d09..c2b8cc55 100644 --- a/upload/styles/cb_28/layout/photos.html +++ b/upload/styles/cb_28/layout/photos.html @@ -114,7 +114,7 @@ {/foreach}
{else} -
No Collection
+
No Collection
{/if} {/if} diff --git a/upload/styles/cb_28/layout/view_photo.html b/upload/styles/cb_28/layout/view_photo.html index 45599394..6a7f25da 100644 --- a/upload/styles/cb_28/layout/view_photo.html +++ b/upload/styles/cb_28/layout/view_photo.html @@ -1,10 +1,13 @@ {lang code='photo' assign='object_type'} -
- {assign var=json value=$photo.photo_details|json_decode} -
-
-
+{assign var=json value=$photo.photo_details|json_decode} +
+
+
+
+ {AD place='ad_728x90'} +
+
{get_photo details=$photo size='l' class='img-responsive center-block' output='html' height="100"} {assign var=objctid value=$object.ci_id} @@ -14,72 +17,53 @@ {assign var=nextLink value=$cbphoto->collection->get_next_prev_item($objctid,$collid,'next')} - next - - prev +
+ next + + prev +
- -
-
-
-

{wordwrap($photo.photo_title,8, "\n", true)}

- -  {*$vdo.views|number_format*} - + +
+
+

{$photo.photo_title|truncate:55}

+
+ + + +

+ {$user.username} +

+
+ {prettyNum($photo.views)} +
-
- - -
- +
+ +
+ {show_share_form id=$photo.photo_id type=Photo}
@@ -124,64 +125,88 @@
{show_flag_form id=$photo.photo_id type=Photo}
- -
-
-
-
-
-
- {lang code='comments'} {$photo.total_comments} -
- {if $myquery->is_commentable($photo,'p')} - {include file="$style_dir/blocks/comments/add_comment.html" id=$photo.photo_id type=p} - {else} -
{lang code='Comments disabled for this photo'}
- {/if} -
-
-
-
-
+
+
+
+
+
+
+
+
+
+ {lang code='comments'} {$photo.total_comments}
+ {if $myquery->is_commentable($photo,'p')} + {include file="$style_dir/blocks/comments/add_comment.html" id=$photo.photo_id type=p} + {else} +
{lang code='Comments disabled for this photo'}
+ {/if} +
+
+
-
-
-

{lang code='Most Popular'}

-
-
- {section name=p_list loop=$photos} - {include file="$style_dir/blocks/PopularPhotos.html" photo=$photos[p_list]} - {sectionelse} - {lang code='no_results_found'} - {/section} -
-
-
- - {section name=list loop=$uphotos} - {include file="$style_dir/blocks/photo.html" display_type="related_photos" photo=$uphotos[list]} - {/section} + + {$row = $myquery->Get_Website_Details()} + {if $row.collectionsSection == 'yes'} + {$collections = $cbcollection->get_collections(['limit'=>5, 'active'=>'yes'])} +

{lang code="Top Collections"}

+
+
+ {$limit=10} + {if $collections} + {foreach from=$collections item=collection} + {$first_col_thumb = $cbcollection->coll_first_thumb($collection,'l')} +
+
+
+ + {$collection.title} + +
+
+ {$collection.total_objects}Photo(s) +
+ +
+ {$collection.collection_name} +
+ {/foreach} +
+ {else} +
No Collection
+ {/if} +
+ {/if} + + {*section name=list loop=$uphotos} + {include file="$style_dir/blocks/photo.html" display_type="related_photos" photo=$uphotos[list]} + {/section*} +
diff --git a/upload/styles/cb_28/layout/watch_video.html b/upload/styles/cb_28/layout/watch_video.html index 8a1f725a..2af19cac 100644 --- a/upload/styles/cb_28/layout/watch_video.html +++ b/upload/styles/cb_28/layout/watch_video.html @@ -13,7 +13,7 @@
{AD place='ad_728x90'}
-
+

{$video.title|truncate:55}

@@ -120,7 +120,7 @@
-
+
@@ -145,7 +145,7 @@