
Added : new js functions loadObject and channelObjects. Added : new links for user collections, user favorite collection, user subscriptions and user subscribers Added : height parameter in getFileSmarty function Updated : default_thumb function for photos Updated : registered get_collections for smarty Added : new jquery compressed plugin jquery.jCarousel.js Added : channel_item.html in blocks/view_channel folder
165 lines
No EOL
9.2 KiB
HTML
165 lines
No EOL
9.2 KiB
HTML
{include file="$style_dir/global_header.html"}
|
|
<body>
|
|
{include file="$style_dir/blocks/view_channel/channel_global.html" }
|
|
<div id="container" class="container clearfix" style="background-color:none">
|
|
{include file="$style_dir/header.html"}
|
|
<div style="height:10px;"></div>
|
|
{include file="$style_dir/message.html"}
|
|
<div class="channel_inner_box" id="result_cont" style="display:none; background:#eee;"></div>
|
|
{show_flag_form id=$u.userid type=User}
|
|
<div class="moveL clearfix" style="width:270px; padding:0px 5px;">
|
|
{include file="$style_dir/blocks/view_channel/channel_left.html"}
|
|
</div> <!-- this is left side -->
|
|
<div class="moveL clearfix" style="width:700px; padding:0px 5px; ">
|
|
{if isSectionEnabled('photos') || isSectionEnabled('videos')}
|
|
{get_photos assign=latestP order=" date_added DESC" limit=10 user=$u.userid}
|
|
{get_videos assign=latestV order=" date_added DESC" limit=10 user=$u.userid status="Successful" broadcast="public"}
|
|
{if $latestP || $latestV}
|
|
<div class="channelFeatureBox clearfix">
|
|
<div class="itemListing moveL">
|
|
<button id="PprevItem" class="carouselButton">↑</button>
|
|
<div id="photoListing">
|
|
<ul style="list-style:none; margin:0px; padding:0px;">
|
|
{if $latestP}
|
|
{section name=plist loop=$latestP}
|
|
{include file="$style_dir/blocks/photo.html" photo=$latestP[plist] display_type='channel_page'}
|
|
{/section}
|
|
{else}
|
|
<div style="min-height:200px; text-align:center; line-height:200px;"><em>Found No Photos</em></div>
|
|
{/if}
|
|
</ul>
|
|
</div>
|
|
<button id="PnextItem" class="carouselButton">↓</button>
|
|
</div> <!-- itemListing end -->
|
|
<div class="viewItemBox">
|
|
<div id="viewingArea" class="viewingArea">
|
|
|
|
</div> <!-- viewingArea end -->
|
|
</div> <!-- viewItemBox end -->
|
|
<div class="itemListing moveR">
|
|
|
|
<button id="VprevItem" class="carouselButton">↑</button>
|
|
<div id="videoListing">
|
|
<ul style="list-style:none; margin:0px; padding:0px;">
|
|
{if $latestV}
|
|
{section name=vlist loop=$latestV}
|
|
{include file="$style_dir/blocks/video.html" video=$latestV[vlist] display_type='channel_page'}
|
|
{/section}
|
|
{else}
|
|
<div style="min-height:200px; text-align:center; line-height:200px;"><em>Found No Videos</em></div>
|
|
{/if}
|
|
</ul>
|
|
</div>
|
|
<button id="VnextItem" class="carouselButton">↓</button>
|
|
</div> <!-- itemListing end -->
|
|
</div> <!-- channelFeatureBox end -->
|
|
{/if}
|
|
{/if}
|
|
<div class="clearfix channelBox" style="border:1px solid #ccc; padding:0px;">
|
|
<ul class="channelBar clearfix">
|
|
<li><a href="#" class="selected" rel="infoDIV" onClick="channelObjects(this,'#channelDetailsBox','info','{$u.userid}'); return false;">Info</a></li>
|
|
{if isSectionEnabled('videos')}
|
|
<li><a href="#" onClick="channelObjects(this,'#channelDetailsBox','videos','{$u.userid}'); return false;">Videos</a></li>{/if}
|
|
{if isSectionEnabled('groups')}
|
|
<li><a href="#" onClick="channelObjects(this,'#channelDetailsBox','groups','{$u.userid}'); return false;">Groups</a></li>{/if}
|
|
{if isSectionEnabled('photos')}
|
|
<li><a href="#" onClick="channelObjects(this,'#channelDetailsBox','photos','{$u.userid}'); return false;">Photos</a></li>{/if}
|
|
</ul>
|
|
<div id="channelDetailsBox">
|
|
<div id="infoDIV" class="channelInnerPadding clearfix">
|
|
<fieldset class="channelFieldset">
|
|
<legend class="channelLegend">Basic Info</legend>
|
|
{assign var="personal_details" value=$userquery->load_personal_details($p)}
|
|
{foreach from=$personal_details item=field}
|
|
{if $field.auto_view=='yes'}
|
|
<div class="channelRow">
|
|
{if $field.type !='textarea' && $field.type !='text' && $field.type !='textfield'}
|
|
<div class="channelLabel">{$field.title}</div>
|
|
<div class="channelDetail">{input_value input=$field}</div>
|
|
{elseif $field.type =='textarea'}
|
|
<div class="channelLabel">{$field.title}</div>
|
|
<div class="channelDetail">{$field.value|nl2br}</div>
|
|
{else}
|
|
<div class="channelLabel">{$field.title}</div>
|
|
<div class="channelDetail">{input_value input=$field}</div>
|
|
{/if}
|
|
</div>
|
|
{/if}
|
|
{/foreach}
|
|
</fieldset>
|
|
|
|
<fieldset id="moreDetails" class="channelFieldset">
|
|
<legend class="channelLegend" style=" margin-bottom:0px;" onClick="$('#moreDetails').hide(); $('#moreDetailsDIV').show();">MORE</legend>
|
|
</fieldset>
|
|
|
|
<div style="display:none; margin:0px; padding:0px;" id="moreDetailsDIV">
|
|
<fieldset class="channelFieldset">
|
|
<legend class="channelLegend">Location</legend>
|
|
{assign var="location_details" value=$userquery->load_location_fields($p)}
|
|
{foreach from=$location_details item=field}
|
|
{if $field.auto_view=='yes'}
|
|
<div class="channelRow">
|
|
{if $field.type !='textarea' && $field.type !='text' && $field.type !='textfield'}
|
|
<div class="channelLabel">{$field.title}</div>
|
|
<div class="channelDetail">{input_value input=$field}</div>
|
|
{elseif $field.type =='textarea'}
|
|
<div class="channelLabel">{$field.title}</div>
|
|
<div class="channelDetail">{$field.value|nl2br}</div>
|
|
{else}
|
|
<div class="channelLabel">{$field.title}</div>
|
|
<div class="channelDetail">{input_value input=$field}</div>
|
|
{/if}
|
|
</div>
|
|
{/if}
|
|
{/foreach}
|
|
</fieldset>
|
|
|
|
<fieldset class="channelFieldset">
|
|
<legend class="channelLegend">Education, Hobbies, etc</legend>
|
|
{assign var="other_details" value=$userquery->load_other_fields($p)}
|
|
{foreach from=$other_details item=field}
|
|
{if $field.auto_view=='yes'}
|
|
<div class="channelRow">
|
|
{if $field.type !='textarea' && $field.type !='text' && $field.type !='textfield'}
|
|
<div class="channelLabel">{$field.title}</div>
|
|
<div class="channelDetail">{input_value input=$field}</div>
|
|
{elseif $field.type =='textarea'}
|
|
<div class="channelLabel">{$field.title}</div>
|
|
<div class="channelDetail">{$field.value|nl2br}</div>
|
|
{else}
|
|
<div class="channelLabel">{$field.title}</div>
|
|
<div class="channelDetail">{input_value input=$field}</div>
|
|
{/if}
|
|
</div>
|
|
{/if}
|
|
{/foreach}
|
|
</fieldset>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="borderLine clearfix" style=" border-width:1px; margin:0px 0px 15px;"></div>
|
|
|
|
<div class="channelInnerPadding" id="commentsDIV">
|
|
<fieldset class="channelFieldset">
|
|
<legend class="channelLegend">{lang code="comments"}</legend>
|
|
{include file="$style_dir/blocks/comments/comments.html" id=$u.userid type=c}<hr width="100%" size="1" noshade>
|
|
|
|
{if $myquery->is_commentable($p,'u')}
|
|
{include file="$style_dir/blocks/comments/add_comment.html" id=$u.userid type=c}
|
|
{else}
|
|
<div class="disable_msg" align="center">{lang code='coments_disabled_profile'}</div>
|
|
{/if}
|
|
</fieldset>
|
|
</div>
|
|
</div>
|
|
</div> <!-- this is right side -->
|
|
</div> <!-- container end -->
|
|
|
|
<div class="clearfix" style="height:10px"></div>
|
|
<div id="footer" class="clearfix" style="margin-top:0px;">
|
|
<div class="footer">
|
|
© {$title} {$smarty.now|date_format:"%Y"}
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html> |