<?php /* Smarty version 2.6.26, created on 2011-05-13 09:57:00
         compiled from admin_import_ftp.tpl */ ?>

<?php echo '
<script language="javascript" type="text/javascript">
function chk_importFormFTP() {
	var form = document.importFormFTP;

	// do field validation
	if (form.title.value == ""){
	    alert( "'; ?>
<?php echo @_HWDVIDS_ALERT_NOTITLE; ?>
<?php echo '" );
    	    form.title.focus();
	    return false;
	} else if (form.description.value == "") {
	    alert( "'; ?>
<?php echo @_HWDVIDS_ALERT_NODESC; ?>
<?php echo '" );
    	    form.description.focus();
	    return false;
  	} else if (form.category_id.value == 0) {
	    alert( "'; ?>
<?php echo @_HWDVIDS_ALERT_NOCAT; ?>
<?php echo '" );
    	    form.category_id.focus();
	    return false;
  	} else if (form.tags.value == "") {
	    alert( "'; ?>
<?php echo @_HWDVIDS_ALERT_NOTAG; ?>
<?php echo '" );
    	    form.tags.focus();
	    return false;
  	}
}
</script>
'; ?>


<div style="text-align:left;padding:5px;margin:5px;border:1px solid #ccc;background:#f5f5ee;">
  <h3><?php echo @_HWDVIDS_IMPT_FTP_TITLE; ?>
</h3>
  <?php echo @_HWDVIDS_DOCS; ?>
: <a href="http://documentation.hwdmediashare.co.uk/wiki/Import_Videos_from_SQL_Backup_File" target="_blank">http://documentation.hwdmediashare.co.uk/wiki/Import_Videos_from_SQL_Backup_File</a>
  <p><?php echo @_HWDVIDS_IMPT_FTP_DESC; ?>
</p>
  <ol>
    <li><?php echo @_HWDVIDS_IMPT_FTP_DESC1; ?>
 <b style='color:#333333'><?php echo $this->_tpl_vars['newvideoid']; ?>
</b></li>
    <li><?php echo @_HWDVIDS_IMPT_FTP_DESC2; ?>
</li>
    <li><?php echo @_HWDVIDS_IMPT_FTP_DESC3; ?>
</li>
    <li><?php echo @_HWDVIDS_IMPT_FTP_DESC4; ?>
</li>
  </ol>
</div>

<div style="text-align:left;padding:5px;margin:5px;border:1px solid #ccc;">
<form name="importFormFTP" action="index.php" method="post" onsubmit="return chk_importFormFTP()">
  <table cellpadding="0" cellspacing="0" border="0">
    <tr>
      <td align="left" valign="top">  
        <table width="100%" cellpadding="2" cellspacing="2" border="0">
          <tr>
            <td width="150">Type <font class="required">*</font></td>
            <td>
              <select name="ext">
                <option value ="flv">FLV</option>
                <option value ="mp4">MP4</option>
                <option value ="swf">SWF</option>
                <option value ="flv">FLV & MP4</option>
              </select>    
            </td>
          </tr>
        </table>
      </td>
    </tr>
    <tr><td align="left" valign="top">  
    <?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'admin_upload_form.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
    <input type="submit" name="send" class="inputbox" value="<?php echo @_HWDVIDS_BUTTON_SAVE; ?>
" />
    </td></tr>
  </table> 
  <input type="hidden" name="videoid" value="$smarty.const.$filename}" />
  <input type="hidden" name="option" value="com_hwdvideoshare" />
  <input type="hidden" name="videoid" value="<?php echo $this->_tpl_vars['newvideoid']; ?>
" />
  <input type="hidden" name="duration" value="0:00:00" />
  <input type="hidden" name="task" value="ftpupload" />
  <input type="hidden" name="hidemainmenu" value="0">
</form>
</div>