2009-08-25 12:16:42 +00:00
|
|
|
|
|
|
|
<span class="page_title">Video Manager</span>
|
|
|
|
|
|
|
|
|
2009-08-30 21:34:07 +00:00
|
|
|
<div class="search_box"> <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>
|
2009-08-31 12:01:33 +00:00
|
|
|
<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>
|
2009-08-30 21:34:07 +00:00
|
|
|
</tr>
|
|
|
|
<tr>
|
2009-08-31 12:01:33 +00:00
|
|
|
<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>
|
2009-08-30 21:34:07 +00:00
|
|
|
</tr>
|
|
|
|
<tr>
|
2009-08-31 12:01:33 +00:00
|
|
|
<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>
|
2009-08-30 21:34:07 +00:00
|
|
|
</tr>
|
|
|
|
<tr>
|
2009-08-31 12:01:33 +00:00
|
|
|
<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>
|
2009-08-30 21:34:07 +00:00
|
|
|
</tr>
|
2009-08-25 12:16:42 +00:00
|
|
|
</table>
|
2009-08-30 21:34:07 +00:00
|
|
|
<br />
|
|
|
|
<input type="submit" name="search" id="search" value="Search Form" class="button"/>
|
|
|
|
</form>
|
|
|
|
</div>
|
2009-08-25 12:16:42 +00:00
|
|
|
|
|
|
|
|
|
|
|
<!-- DIsplaying Videos -->
|
|
|
|
<form name="video_manage" method="post">
|
|
|
|
|
|
|
|
<table width="99%" border="0" cellpadding="0" cellspacing="0">
|
|
|
|
<tr>
|
|
|
|
<td width="30" align="center" valign="middle"><img src="{$imageurl}/arrow_return.png" width="25" height="25"></td>
|
|
|
|
<td height="50" style="padding-left:15px">
|
|
|
|
<input type="submit" name="activate_selected" value="Activate" class="button"/>
|
|
|
|
<input type="submit" name="deactivate_selected" value="Deactivate" class="button" />
|
|
|
|
<input type="submit" name="make_featured_selected" value="Make Featured" class="button"/>
|
|
|
|
<input type="submit" name="make_unfeatured_selected" value="Make Unfeatured" class="button"/>
|
|
|
|
<input type="submit" name="delete_selected" value="Delete" class="button" onclick="Confirm_Delete('')"/>
|
|
|
|
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
|
|
|
|
<table width="99%" border="0" cellpadding="0" cellspacing="0">
|
|
|
|
<tr>
|
|
|
|
<td width="30" align="center" valign="middle" class="left_head">
|
|
|
|
<input type="checkbox" name="checkall" onclick="checkUncheckAll(this);"/></td>
|
|
|
|
<td width="50" class="head_sep_left">VID</td>
|
|
|
|
<td class="head"><div class="head_sep_left" style="width:250px">Details</div></td>
|
|
|
|
<td width="50" class="right_head"> </td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<table width="99%" border="0" cellpadding="0" cellspacing="0">
|
|
|
|
{assign var = bgcolor value = ""}
|
|
|
|
{section name=list loop=$videos}
|
|
|
|
<tr class="video_opt_td" bgcolor="{$bgcolor}">
|
|
|
|
<td width="30" align="center" valign="top" class="video_opt_td"> <input name="check_video[]" type="checkbox" id="check_video" value="{$videos[list].videoid}" /></td>
|
|
|
|
<td width="50" align="center" valign="top" class="video_opt_td">{$videos[list].videoid}</td>
|
|
|
|
<td valign="top" class="video_opt_td"
|
|
|
|
onmouseover="$('#vid_opt-{$videos[list].videoid}').show()"
|
|
|
|
onmouseout="$('#vid_opt-{$videos[list].videoid}').hide()" >
|
|
|
|
<a href="{$baseurl}/watch_video.php?v={$videos[list].videokey}" target="_blank" style="text-indent:10px">
|
|
|
|
{$videos[list].title}
|
|
|
|
</a> —
|
|
|
|
<span class="vdo_sets">
|
|
|
|
Featured:<strong>{$videos[list].featured} </strong> •
|
|
|
|
Active:<strong>{$videos[list].active}</strong> •
|
|
|
|
Status:<strong>{$videos[list].status}</strong>
|
|
|
|
</span>
|
|
|
|
|
|
|
|
<br />
|
|
|
|
<div id="vid_opt-{$videos[list].videoid}" style="display:none" class="vid_opts">
|
|
|
|
|
|
|
|
<a href="view_video.php?video={$videos[list].videoid}">View</a> |
|
|
|
|
<a href="edit_video.php?video={$videos[list].videoid}">Edit</a> {if $videos[list].featured == yes} |
|
2009-08-31 12:01:33 +00:00
|
|
|
<a href="javascript:Confirm_Delete('?delete_video={$videos[list].videoid}')">Delete</a> |
|
2009-08-25 12:16:42 +00:00
|
|
|
<a href="?make_unfeature={$videos[list].videoid}">Make Unfeatured</a> {/if}
|
|
|
|
{if $videos[list].featured == no} |
|
|
|
|
<a href="?make_feature={$videos[list].videoid}">Make Featured</a> {/if}
|
|
|
|
{if $videos[list].active == yes} |
|
|
|
|
<a href="?deactivate={$videos[list].videoid}">Deactivate</a> {else} |
|
|
|
|
<a href="?activate={$videos[list].videoid}">Activate</a> {/if} |
|
|
|
|
<a href="?editor_pick={$videos[list].videoid}">Add To Editor's Pick</a> |
|
|
|
|
<a href="view_conversion_log.php?file_name={$videos[list].file_name}">File conversion details</a>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
<td width="50" valign="top" class="video_opt_td"> </td>
|
|
|
|
</tr>
|
|
|
|
{if $bgcolor == ""}
|
|
|
|
{assign var = bgcolor value = "#EEEEEE"}
|
|
|
|
{else}
|
|
|
|
{assign var = bgcolor value = ""}
|
|
|
|
{/if}
|
|
|
|
|
|
|
|
{/section}
|
|
|
|
</table>
|
|
|
|
|
|
|
|
|
|
|
|
<table width="99%" border="0" cellpadding="0" cellspacing="0">
|
|
|
|
<tr>
|
|
|
|
<td width="30" align="center" valign="middle"><img src="{$imageurl}/arrow_return_invert.png" width="25" height="25"></td>
|
|
|
|
<td height="50" style="padding-left:15px">
|
|
|
|
<input type="submit" name="activate_selected" value="Activate" class="button"/>
|
|
|
|
<input type="submit" name="deactivate_selected" value="Deactivate" class="button" />
|
|
|
|
<input type="submit" name="make_featured_selected" value="Make Featured" class="button"/>
|
|
|
|
<input type="submit" name="make_unfeatured_selected" value="Make Unfeatured" class="button"/>
|
|
|
|
<input type="submit" name="delete_selected" value="Delete" class="button" onclick="Confirm_Delete('')"/>
|
|
|
|
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
</form>
|
|
|
|
|
|
|
|
<!-- DIsplaying Videos Ends-->
|
|
|
|
{include file="$style_dir/blocks/pagination.html" }
|