<?php
/**
 * @version $Id: header.php 248 2008-05-23 10:40:56Z elkuku $
 * @package		prot_conf
 * @subpackage	
 * @author		EasyJoomla {@link http://www.easy-joomla.org Easy-Joomla.org}
 * @author		Jays.Soho {@link http://jays.survey-partner.com}
 * @author		Efthimios Mavrogeorgiadis
 * @author		Created on 25-Feb-2009
 */

// no direct access
defined( '_JEXEC' ) or die( ';)' );
?>



<form action="index.php" method="post" name="adminForm" id="adminForm">

 <fieldset class="adminform">
	<legend><?php echo JText::_( '>Rename Config File' ); ?></legend>
<table border="0" cellpadding="3" cellspacing="0" width="700">

    <tr>
    <td align="right"><b>Current name:</b></td>
    <td><?php echo $this->oldf->file; ?></td>
    </tr>

    <tr>
    <td align="right"><b>Random new name:</b></td>
    <td><input type="text" size="50" maxsize="100" name="input" value="<?php
    for ( $i = 0; $i < 15; $i++ ) {
        srand((double)microtime()*1000000);
        $rnum = rand(48, 122);
        if ( ($rnum > 57 and $rnum < 65) or ($rnum > 90 and $rnum < 95) or $rnum == 96 ) {
            $i--;
        }
        else {
            echo chr($rnum);
        }
    }
    ?>" />
	</td>
    </tr>

    <tr>
    <td></td>
    <td align="right">
	
	</td>
    </tr>

    <tr>
    <td colspan="2" ><?PHP echo _NOTE; ?><br /><br />
   
   
   </td>
    </tr>
   </table>
</fieldset>  
  <?PHP echo _FOOTER; ?>



<input type="hidden" name="option" value="com_prot_conf" />
<input type="hidden" name="task" value="" />
<input type="hidden" name="act" value="renamed" />
<input type="hidden" name="controller" value="rename" />
</form>
