2012-04-28 20:11:43 +00:00
|
|
|
|
|
|
|
|
|
<h2>Video Manager</h2>
|
2012-07-18 19:22:31 +00:00
|
|
|
|
Manage all your videos here, change categories , delete and edit. Read more
|
|
|
|
|
<div class="height10"></div>
|
2012-07-18 10:01:07 +00:00
|
|
|
|
<div class="manager-list">
|
|
|
|
|
<div class="controller scrolltoFixed white-grad">
|
|
|
|
|
<div class="buttons">
|
|
|
|
|
<div class="btn-toolbar">
|
|
|
|
|
<div class="btn-group">
|
|
|
|
|
<label class="btn check-all"><input type="checkbox"></label>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="btn-group">
|
|
|
|
|
<a class="btn" onclick="return false;">First Button</a>
|
|
|
|
|
<a class="btn" onclick="return false;">Second Button</a>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="right-button">
|
2012-07-18 19:22:31 +00:00
|
|
|
|
<form>
|
|
|
|
|
<input class="input valignTop" name="title" value="{'title'|get}">
|
|
|
|
|
<button class="btn btn-primary" name="search" value="do">
|
|
|
|
|
<i class="icon-search icon-white"></i>
|
|
|
|
|
Search
|
|
|
|
|
</button>
|
|
|
|
|
<a class="btn" data-toggle="modal" data-target="#advance-search">Advance Search</a>
|
|
|
|
|
</form>
|
2012-07-18 10:01:07 +00:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2012-07-18 19:22:31 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="modal hide" id="myModal">
|
|
|
|
|
<div class="modal-header">
|
|
|
|
|
<button type="button" class="close" data-dismiss="modal">×</button>
|
|
|
|
|
<h3>{lang code='Advance Search'}</h3>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="modal-body">
|
|
|
|
|
<p>One fine body…</p>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="modal-footer">
|
|
|
|
|
<a href="#" class="btn" data-dismiss="modal">{lang code='Cancel'}</a>
|
|
|
|
|
<a href="#" class="btn btn-primary">{lang code='Seach'}</a>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2012-07-18 10:01:07 +00:00
|
|
|
|
|
|
|
|
|
<form name="my-form-name" method="post" id="my-form-id">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<table id="my-item-list-good-id" class="table table-striped list-block {if !$videos}display-none{/if}">
|
|
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<th width="50"></th>
|
|
|
|
|
<th width="70">#</th>
|
2012-07-18 19:22:31 +00:00
|
|
|
|
<th width="60">Thumb</th>
|
|
|
|
|
<th>Video</th>
|
|
|
|
|
<th width="70">Uploader</th>
|
|
|
|
|
<th width="70">Status</th>
|
|
|
|
|
<th width="200">Date</th>
|
2012-07-18 10:01:07 +00:00
|
|
|
|
<th width="120"></th>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{foreach $videos as $video}
|
|
|
|
|
<tr>
|
|
|
|
|
<td><input type="checkbox" class="check-item" name="my-items-list[]" value="value"></td>
|
2012-07-18 19:22:31 +00:00
|
|
|
|
<td>{$video.videoid}</td>
|
|
|
|
|
<td><img src="{getThumb vdetails=$video}" widt="60" height="45"/></td>
|
|
|
|
|
<td><a href="#" class="popover-classx" rel="popover"
|
|
|
|
|
data-content='<h6>Description</h6>{$video.description|truncate:300}<h6>Category</h6>{$video.category|categories:video}'
|
|
|
|
|
data-original-title="More details">{$video.title}</a>
|
|
|
|
|
|
|
|
|
|
{if $video.status=='Successful'}
|
|
|
|
|
({$video.duration|SetTime})
|
|
|
|
|
{/if}
|
|
|
|
|
|
|
|
|
|
{if $video.broadcast!='public'}
|
|
|
|
|
<a class="icon icon-user" rel="tooltip" title="This video is {$video.broadcast}"></a>
|
|
|
|
|
{/if}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="height5"></div>
|
|
|
|
|
|
|
|
|
|
{if $video.active=='yes'}
|
|
|
|
|
<span class="label label-success">{lang code='Active'}</span>
|
|
|
|
|
{else}
|
|
|
|
|
<span class="label label-warning">{lang code='Inactive'}</span>
|
|
|
|
|
{/if}
|
|
|
|
|
|
|
|
|
|
{if $video.featured=='yes'}
|
|
|
|
|
<span class="label label-success">Featured</span>
|
|
|
|
|
{/if}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</td>
|
|
|
|
|
<td>{$video.username}</td>
|
|
|
|
|
<td>{$video.status}</td>
|
|
|
|
|
<td>{$video.date_added|niceTime}</td>
|
2012-07-18 10:01:07 +00:00
|
|
|
|
<td>
|
|
|
|
|
<div class="dropdown pull-right btn-group">
|
|
|
|
|
<a class="btn" href="edit_video.php?video={$video.videoid}">Edit</a>
|
|
|
|
|
<a class="dropdown-toggle btn" data-toggle="dropdown"><b class="caret"></b></a>
|
|
|
|
|
<ul class="dropdown-menu">
|
|
|
|
|
<li><a href="{$baseurl}/watch_video.php?v={$video.videokey}">Watch Video</a></li>
|
|
|
|
|
|
|
|
|
|
{if $video.active == yes}
|
|
|
|
|
<li><a href="#">Deactivate</a></li>
|
|
|
|
|
{else}
|
|
|
|
|
<li><a href="#">Activate</a></li>
|
|
|
|
|
{/if}
|
|
|
|
|
|
|
|
|
|
{if $video.featured == yes}
|
|
|
|
|
<li><a href="#">Unfeature it</a></li>
|
|
|
|
|
{else}
|
|
|
|
|
<li><a href="#">Make featured</a></li>
|
|
|
|
|
{/if}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{foreach from=$cbvid->video_manager_links item=links}
|
|
|
|
|
{$cbvid->video_manager_link($links,$video)}
|
|
|
|
|
{/foreach}
|
|
|
|
|
|
|
|
|
|
<li class="divider"></li>
|
|
|
|
|
<li><a href="javascript:Confirm_Delete('?delete_video={$videos[list].videoid}')">Delete</a></li>
|
|
|
|
|
|
|
|
|
|
<li><a href="view_conversion_log.php?file_name={$videos[list].file_name}">Separated link</a></li>
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
{/foreach}
|
|
|
|
|
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
</form>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
2012-04-28 20:11:43 +00:00
|
|
|
|
<img src="{$imageurl}/dot.gif" class="sarch_button" onclick="toggle_search('searchdiv')" />
|
|
|
|
|
<div class="search_box" id="searchdiv" {if $smarty.cookies.show_searchdiv_search!='show'} style="display:none"{/if}> <form id="video_search" name="video_search" method="get" action="video_manager.php" class="video_search">
|
|
|
|
|
<table width="400" border="0" cellpadding="2" cellspacing="2">
|
|
|
|
|
<tr>
|
|
|
|
|
<td width="106" align="right"><label for="title">Video title</label></td>
|
|
|
|
|
<td width="280"><input name="title" type="text" class="input" id="title" value="{'title'|get_form_val:true}" //></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td align="right"><label for="videokey">Video key</label></td>
|
|
|
|
|
<td><input name="videokey" type="text" class="input" id="videokey" value="{'videokey'|get_form_val:true}" //></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td align="right"><label for="videoid">Video id</label></td>
|
|
|
|
|
<td><input name="videoid" type="text" class="input" id="videoid" value="{'videoid'|get_form_val:true}" //></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td align="right"><label for="tags">Video tags</label></td>
|
|
|
|
|
<td><input name="tags" type="text" class="input" id="tags" value="{'tags'|get_form_val:true}" /></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td align="right">Featured</td>
|
|
|
|
|
<td><label for="featured"></label>
|
|
|
|
|
<select name="featured" id="featured" class="input">
|
|
|
|
|
<option value="" ></option>
|
|
|
|
|
<option value="yes" {if $smarty.get.featured=='yes'} selected="selected"{/if}>Yes</option>
|
|
|
|
|
<option value="no" {if $smarty.get.featured=='no'} selected="selected"{/if}>No</option>
|
|
|
|
|
</select></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td align="right">Active</td>
|
|
|
|
|
<td><select name="active" id="active" class="input">
|
|
|
|
|
<option value="" ></option>
|
|
|
|
|
<option value="yes" {if $smarty.get.active=='yes'} selected="selected"{/if}>Yes</option>
|
|
|
|
|
<option value="no" {if $smarty.get.active=='no'} selected="selected"{/if}>No</option>
|
|
|
|
|
</select></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td align="right">Conversion Status</td>
|
|
|
|
|
<td><select name="status" id="status" class="input">
|
|
|
|
|
<option value="" ></option>
|
|
|
|
|
<option value="Successful" {if $smarty.get.status=='Successful'} selected="selected"{/if}>Successful</option>
|
|
|
|
|
<option value="Processing" {if $smarty.get.status=='Processing'} selected="selected"{/if}>Processing</option>
|
|
|
|
|
<option value="Failed" {if $smarty.get.status=='Failed'} selected="selected"{/if}>Failed</option>
|
|
|
|
|
</select></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td align="right">Userid</td>
|
|
|
|
|
<td><input name="userid" type="text" class="input" id="userid" value="{'userid'|get_form_val:true}" /></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td align="right" valign="top">Category</td>
|
|
|
|
|
<td>
|
|
|
|
|
{$formObj->createField($cat_array)}
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
|
|
|
|
<br />
|
|
|
|
|
<input type="submit" name="search" id="search" value="Search Form" class="button"/>
|
|
|
|
|
</form>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<!-- DIsplaying Videos Ends-->
|
|
|
|
|
{include file="$style_dir/blocks/pagination.html" }
|