<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Edit Video</title>
<link href="css/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="[var.base_url]/javascripts/swfobject.js"></script>
<script type="text/javascript" src="[var.base_url]/javascripts/ahah.js"></script>
</head>

<body>
  <div align="center" id="EditUserPopup">
    
    <!-- notification div start -->
<span>
<table border="0" cellpadding="0" cellspacing="0" width="700">
  <tr>
    <td width="92%"><div align="center">[var.message;htmlconv=no;]</div></td>
  </tr>
</table>
<!--[onload_3;block=span;when [var.show_notification]=1;comm]-->
</span>
<!-- notification div end -->
    
    <table border="0" width="700" cellspacing="0" cellpadding="0" height="106" style="border: 1px solid #D1D1D1">
    <form id="edit_video" name="edit_video" action="editvideo.php" method="post">
      <tr>
        <td height="12" align="center" class="default_text_blue" colspan="4" background="images/background_tables.png"><p align="left"><font size="2" face="Arial">&nbsp; </font> <b> <font face="Arial" color="#0099CC">[var.lang_edit_details_video]</font></b></p></td>
      </tr>
      <tr>
        <td rowspan="3" valign="top" bgcolor="#F5F5F5">
          <div id="myAlternativeContent"></div>
          <span>
          <script type="text/javascript">
          	var flashvars = {};
		var params = {};
		var attributes = {};
            flashvars.flvsource = "[var.base_url]/uploads/[var.video_play]";
		flashvars.autoplay = "false";
		flashvars.color_nav_bar_top = "0x478dc2";
		flashvars.color_nav_bar_bottom = "0xE7EBEC";
		flashvars.ads_background_color = "0x00CCFF";
		flashvars.ads_border_color = "0xCCCCCC";
		flashvars.scrubber_position_color = "0x6AA1CE";
		flashvars.scrubber_load_color = "0x888888";
		flashvars.scrubber_background_color = "0xBBBBBB";
		flashvars.volume_bar_color = "0xBBBBBB";
		flashvars.buffering_time = 1;
		flashvars.aspect_ratio = "maintain";
		params.allowfullscreen = "true";
		params.allowscriptaccess = "sameDomain";
		flashvars.preview_image = "[var.base_url]/uploads/thumbs/[var.video_thumb]";
		flashvars.url_logo = "[var.base_url]/images/playerlogos/logo-player.png";
		swfobject.embedSWF("[var.base_url]/player.swf", "myAlternativeContent", "245", "192", "9.0.0", false, flashvars, params, attributes);
	    </script>
	    <!--[onload;block=span;when [var.video_type] != 'embedded';comm]-->
	    </span>
	    <span>
	      <!--[var.videoembedder_code;htmlconv=no;comm]-->
	      <!--[onload;block=span;when [var.video_type] == 'embedded';comm]-->
	    </span>
        </td>

        <td width="118" align="right" class="default_text"><font size="2" color="#333333">[var.lang_title]</font></td>
        <td>&nbsp;</td>
        <td width="326" align="left" class="default_text"><input type="text" name="title" size="36" value="[var.title]" /></td>
      </tr>

  <tr>
    <td width="118" align="right" class="default_text"><font size="2" color="#333333">[var.lang_description]</font></td>
    <td>&nbsp;</td>
    <td width="326" align="left" class="default_text"><textarea rows="9" name="description" cols="30">[var.description;htmlconv=no]</textarea></td>
  </tr>

  <tr>
    <td bgcolor="#F5F5F5" width="118" align="right" class="default_text"><font size="2" color="#333333">[var.lang_tags]</font></td>
    <td bgcolor="#F5F5F5">&nbsp;</td>
    <td bgcolor="#F5F5F5" width="326" align="left" class="default_text"><input type="text" name="tags" size="36" value="[var.tags]" /></td>
  </tr>

  <tr>
    <td bgcolor="#F5F5F5">&nbsp;</td>
    <td bgcolor="#F5F5F5" width="118" height="30" align="right" class="default_text"><font size="2" color="#333333">[var.lang_category]</font></td>
    <td bgcolor="#F5F5F5">&nbsp;</td>
    <td bgcolor="#F5F5F5" width="326" height="30" align="left" class="default_text">
      <select class="upload-video-form-input" style="width:160px;" size="1" name="channel" onChange="javascript:ahahscript.ahah('[var.base_url]/uploader.php?sub_cat='+ document.edit_video.channel.value, 'sub_change', '', 'GET', '', this);">&nbsp;[var.fields_all;htmlconv=no]</select>
      <span class="style12">&nbsp;(select a category)</span>
    </td>
  </tr>

  <tr>
    <td bgcolor="#F5F5F5">&nbsp;</td>
    <td bgcolor="#F5F5F5" width="118" height="30" align="right" class="default_text"><font size="2" color="#333333">Sub Category</font></td>
    <td bgcolor="#F5F5F5">&nbsp;</td>
    <td bgcolor="#F5F5F5" width="326" height="30" align="left" class="default_text">
      <span id="sub_change"><select class="upload-video-form-input" style="width:160px;" size="1" name="sub_cat">[var.sub_fields_all;htmlconv=no]</span>
    </td>
  </tr>

  <tr>
    <td bgcolor="#F5F5F5">&nbsp;</td>
    <td bgcolor="#F5F5F5" width="118" height="30" align="right" class="default_text"><font size="2" color="#333333">[var.lang_allow_comm]</font></td>
    <td bgcolor="#F5F5F5">&nbsp;</td>
    <td bgcolor="#F5F5F5" width="326" height="30" align="left" class="default_text">
      <select size="1" name="allow_comments">
        <option value="yes" [var.allow_comments_yes]>[var.lang_yes]</option>
        <option value="no" [var.allow_comments_no]>[var.lang_no]</option>
      </select>
    </td>
  </tr>

  <tr>
    <td bgcolor="#F5F5F5">&nbsp;</td>
    <td bgcolor="#F5F5F5" width="118" height="30" align="right" class="default_text"><font size="2" color="#333333">[var.lang_allow_embed]</font></td>
    <td bgcolor="#F5F5F5">&nbsp;</td>
    <td bgcolor="#F5F5F5" width="326" height="30" align="left" class="default_text">
      <select size="1" name="allow_embedding">
        <option value="yes" [var.allow_embedding_yes]>[var.lang_yes]</option>
        <option value="no" [var.allow_embedding_no]>[var.lang_no]</option>
      </select>
    </td>
  </tr>

  <tr>
    <td bgcolor="#F5F5F5">&nbsp;</td>
    <td bgcolor="#F5F5F5" width="118" height="30" align="right" class="default_text"><font size="2" color="#333333">[var.lang_private_pub]</font></td>
    <td bgcolor="#F5F5F5">&nbsp;</td>
    <td bgcolor="#F5F5F5" width="326" height="30" align="left" class="default_text">
      <select size="1" name="public_private">
        <option value="public" [var.public_private_public]>[var.lang_public]</option>
        <option value="private" [var.public_private_private]>[var.lang_private]</option>
      </select>
    </td>
  </tr>

  <tr>
    <td bgcolor="#F5F5F5">&nbsp;</td>
    <td bgcolor="#F5F5F5">&nbsp;</td>
    <td bgcolor="#F5F5F5">&nbsp;</td>
    <td bgcolor="#F5F5F5">&nbsp;</td>
  </tr>

  <tr>
    <td bgcolor="#F5F5F5">&nbsp;</td>
    <td bgcolor="#F5F5F5">&nbsp;</td>
    <td bgcolor="#F5F5F5">&nbsp;</td>
    <td bgcolor="#F5F5F5">
    <input type="hidden" name="submitted" value="yes" />
        <input type="hidden" name="id" value="[var.vid]" />
        <input type="hidden" name="type" value="[var.type]" />
        <input type="hidden" name="channel_id" value="[var.channel_id]" />
        <input type="hidden" name="sub_channel_id" value="[var.sub_channel_id]" />
        <input type="submit" value="[var.lang_submit]" name="submit" />

    
    
    </td>
  </tr>
  

  <!--[onload;block=table;when [var.input_checks]=1;comm]-->
</table>
</form>
<table><tr><td>Close this window and please start over!!</td></tr><!--[onload;block=table;when [var.input_checks]=0;comm]--></table>
</div>
</body>
</html>
