clipbucket/upload/styles/cb_28/layout/blocks/manage/account_head.html

237 lines
9.2 KiB
HTML
Raw Normal View History

<div class="message">
<div class="row accountprofile">
<div class="col-md-10">
<div class="media">
<a class="pull-left" href="#">
<img class="media-object imgobject" src="{$userquery->getUserThumb($user)}" width="142" alt="...">
</a>
<div class="media-body">
<div class="row">
<div class="col-md-6 procolor">
<h4 class="media-heading headcolor">{$user.username}</h4>
2016-05-24 13:01:53 +05:00
<b>{lang code='since:'}</b> ({$user.doj|date_format})
2016-11-22 18:23:30 +05:00
<b>{lang code='last_Login'}:</b> ({$user.last_logged|nicetime})
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<hr class="newhr1">
<div class="mvideo accountprofile">
<span class="lead">
2016-05-24 13:01:53 +05:00
{lang code='Latest_Videos'}
</span>
<table class="table table-bordered table-striped manageUsersTable">
<tr>
2016-05-24 13:01:53 +05:00
<td><i class="icon-facetime-video"></i> {lang code="Videos_Details"}</td>
<td>{lang code="option"}</td>
</tr>
{if $videos}
{foreach from=$videos item=video}
<tr>
<td>
<div class="row">
<div class="col-md-10">
<div class="row">
<div class="col-md-3">
<a class="manageVid_thumb" href="{$baseurl}/edit_video.php?vid={$video.videoid}">
<img src="{getThumb vdetails=$video}" class="img-responsive" width="130" height="80" id="thumbs_{$video.videoid}" class="vthumb" title=""/>
<span class="duration">({if
$video.duration>1}{$video.duration|SetTime}{else}00:00{/if})</span>
</a>
</div>
<div class="col-md-9">
<a href="edit_video.php?vid={$video.videoid}">
{$video.title|truncate:80} </a><br>
<span class="maccountlabels"> <strong>{$video.date_added|niceTime}</strong>
{lang code='views'} : <strong>{$video.views|number_format}</strong></span>
<div class="labels">
2016-11-22 18:23:30 +05:00
{if $video.featured=='yes'}<span class="label label-primary">{lang code="featured"}{/if}</span>
<span class="label {if $video.active=='yes'}label-success{else}label-warning{/if} mlabel">
2016-11-22 18:23:30 +05:00
{if $video.active=='yes'}{lang code="active"}{else}{lang code="inactive"}{/if}</span>
<span class="label {if $video.status=='Successful'}label-success{else}label-warning{/if}">
2016-11-22 18:23:30 +05:00
{if $video.status=='Successful'}{lang code="successful"}{else}{lang code="processing"}{/if}</span>
<span class="label label-info">
Viewed {$video.last_viewed|niceTime}</span>
</div>
</div>
</div>
</div>
<div class="col-md-2">
<div class="row">
{if $video.broadcast=='public'}
<div class="col-md-1"><i class="icon-globe"></i></div>
{elseif $video.broadcast!='public'}
<div class="col-md-1"><i class="icon-lock"></i></div>
{/if}
</div>
2016-03-31 19:21:45 +05:00
<a href="view_channel.php?user={$video.userid}">{$video.username}</a>
</div>
</div>
</td>
<td>
<div class="dropdown">
<button id="dropdownMenu1" class="btn btn-primary btn-xs dropdown-toggle" data-toggle="dropdown">
Actions <i class="caret"></i></button>
<ul class="dropdown-menu pull-right" aria-labelledby="dropdownMenu1" role="menu">
<li><a role="menuitem" tabindex="-1"
2016-11-22 18:23:30 +05:00
href="{$baseurl}/edit_video.php?vid={$video.videoid}" class="">{lang code="edit_video"}</a></li>
<li><a role="menuitem" tabindex="-1"
2016-11-22 18:23:30 +05:00
href="{$baseurl}/watch_video.php?v={$video.videokey}"target="_blank">{lang code="Watch"}</a>
<li class="divider"></li>
2016-11-22 18:23:30 +05:00
<li><a role="menuitem" tabindex="-1" href="{$baseurl}/myaccount.php?delete_video={$video.videoid}">{lang code="delete"}</a>
</li>
{foreach from=$cbvid->video_manager_links item=links}
{$cbvid->video_manager_link($links,$video)}
{/foreach}
</ul>
</div>
</td>
</tr>
{/foreach}
</table>
{else}
2016-05-24 13:01:53 +05:00
<div align="center"><strong><em>{lang code="no_videos_found"}</em></strong></div>
{/if}
</div>
<div class="flaggedtable accountprofile1">
<table class="table table-bordered table-striped">
{if has_access("admin_access")}
<div id="fobjects" class="tab-pane" >
<div class="widget-box">
<td>
<div class="widget-header">
2016-05-24 13:01:53 +05:00
<h5><i class="glyphicon glyphicon-flag"></i>{lang code="flagged_obj"}</h5>
</div>
<div class="widget-body">
<div class="tabbable tabs-left">
<ul class="nav nav-tabs" id="myTab">
<li class="active">
2016-05-24 13:01:53 +05:00
<a data-toggle="tab" href="#fvideos">{lang code="videos"}</a>
</li>
{if $Cbucket->configs['photosSection']==yes}
<li class="photos">
2016-05-24 13:01:53 +05:00
<a data-toggle="tab" href="#fphotos">{lang code="photos"}</a>
</li>
{/if}
</ul>
<br>
<div class="tab-content">
<div id="fvideos" class="tab-pane active">
{section name=list loop=$flagedVideos}
<div class="row">
<div class="col-md-3">
<img src="{getThumb vdetails=$flagedVideos[list]}" width="85" height="70" id="thumbs_{$flagedVideos[list].videoid}" title=""/>
</div>
<div class="col-md-6 fvideos">
{$flagedVideos[list].title|truncate:50}
</div>
<div class="col-md-7 fvideos">
<label class="label label-danger">Uploaded {$flagedVideos[list].date_added|niceTime}</label>
<label class="label label-default"> {lang code='views'} : {$flagedVideos.views|number_format}</label>
<label class="label label-primary"> Flags:{$flagedVideos[list].total_flags}</label>
</div>
</div>
<hr class="newhr">
{/section}
</div>
{if $Cbucket->configs['photosSection']==yes}
<div id="fphotos" class="tab-pane">
{section name=list loop=$flagedPhotos}
<div class="row">
<div class="col-md-3">
<img src="{getThumb vdetails=$flagedPhotos[list]}" width="85" height="70" id="thumbs_{$flagedPhotos[list].photoid}" title=""/>
</div>
<div class="col-md-6 fusers">
{$flagedphotos[list].title|truncate:50}
</div>
<div class="col-md-2">
<strong class="btn btn-primary btn-xs pull-right"> Flags:{$flagedPhotos[list].total_flags}</strong>
</div>
<div class="col-md-7 fusers">
<label class="label label-danger">Uploaded {$flagedPhotos[list].date_added|niceTime}</label>
<label class="label label-default"> {lang code='views'} : {$flagedPhotos.views|number_format}</label>
</div>
</div>
{/section}
</div>
{/if}
</div>
</div>
<!-- /widget-main -->
</div><!-- /widget-body -->
</div>
</div>
{/if}
</table>
</div>
<div class="col-md-12">
<div class="padding38">
{if $user.userid == userid()}
<button class="btn btn-primary new1" style="background-color: #000000;color: white">
<span class="line-height-1 bigger-170 blue">{$user.total_videos}</span>
<br>
<span class="line-height-1 smaller-90 new1"> {lang code='Videos'} </span>
</button>
{if $Cbucket->configs['photosSection']==yes}
<span class="btn btn-primary new1" style="background-color: #000000;color: #ffffff">
<span class="line-height-1 bigger-170 blue">{$user.total_photos}</span>
<br>
<span class="line-height-1 smaller-90 new1"> {lang code="photos"} </span>
</span>
{/if}
<span class="btn btn-primary new1" style="background-color: #000000;color: #ffffff">
<span class="line-height-1 bigger-170 blue">{$user.num_visits|number_format}</span>
<br>
<span class="line-height-1 smaller-90 new1"> {lang code='total_logins'} </span>
</span>
<span class="btn btn-primary new1" style="background-color: #000000;color: #ffffff">
<span class="line-height-1 bigger-170 blue">{$user.total_watched|number_format}</span>
<br>
<span class="line-height-1 smaller-90 new1"> {lang code='Watched'} </span>
</span>
<span class="btn btn-primary new1" style="background-color: #000000;color: #ffffff">
<span class="line-height-1 bigger-170 blue">{$user.total_comments|number_format}</span>
<br>
<span class="line-height-1 smaller-90 new1"> {lang code='comments'} </span>
</span>
<span class="btn btn-primary new1" style="background-color: #000000;color: #ffffff">
<span class="line-height-1 bigger-170 blue">{$user.total_collections|number_format}</span>
<br>
<span class="line-height-1 smaller-90 new1"> {lang code='collections'} </span>
</span>
<span class="btn btn-primary new1" style="background-color: #000000; color: #ffffff">
<span class="line-height-1 bigger-170 blue">{$user.profile_hits}</span>
<br>
<span class="line-height-1 smaller-90 new1"> {lang code='views'} </span>
</span>
<span class="btn btn-primary new1" style="background-color: #000000;color: #ffffff">
<span class="line-height-1 bigger-170 blue">{$user.subscribers}</span>
<br>
<span class="line-height-1 smaller-90 new1"> {lang code='subscribers'} </span>
</span>
{/if}
</div>
</div>
<style type="text/css">
.label {
font-size: 85%;
}
</style>