</div>
          <!-- End #tab1 -->


          <!-- start tab2 -->
          <div class="tab-content <?php 
echo $tab2class;
?>
" id="tab2">


            To restore from a backup, select the backup file below:<br /><br />

            <?php 
$options = getBackupFiles_asOptions(@$_REQUEST['restore']);
?>
            <select name="restore" id="restore"><?php 
echo $options;
?>
</select>
            <input class="button" type="submit" name="null" value="Restore" /><br/><br/>
            NOTE: To prevent data loss you can only restore to a database location with no pre-existing user accounts.<br/>



          </div>
          <!-- End #tab2 -->
        </div> <!-- End .content-box-content -->
      </div> <!-- End .content-box -->
        </select>
        <input class="button" type="button" name="null" value="<?php 
eht('Backup');
?>
" onclick="return redirectWithPost('?', {menu:'admin', action:'backup', 'backupTable':$('#backupTable').val(), '_CSRFToken': $('[name=_CSRFToken]').val()});" /><br/>

      </td>
    </tr>
    <tr>
      <td width="200"><?php 
et('Database Restore');
?>
</td>
      <td>
        <?php 
$options = getBackupFiles_asOptions();
?>
        <select name="restore" id="restore"><?php 
echo $options;
?>
</select>
        <input class="button" type="button" name="null" value="<?php 
eht('Restore');
?>
" onclick="confirmRestoreDatabase()" /><br/>

      </td>
    </tr>


     <tr><td colspan="2">&nbsp;</td></tr>