Szukamy bannedcfg
Ten kod usuwamy
<form name="bannedcfg" method="POST" enctype="multipart/form-data"> <tr class="settings_line"> <td> <input size="32" type="text" name="reason" value="{"_IMPORT"|lang}" /> {"_REASON"|lang}<br /> <input size="32" type="text" name="player_nick" value="{"_UNKNOWN"|lang}" /> {"_NICKNAME"|lang}<br /> <input size="32" type="text" name="server_name" value="{"_WEB"|lang}" /> {"_SERVER"|lang}<br /> <input size="28" type="text" name="ban_created" value="{$smarty.now|date_format:"%d-%m-%Y"}" /> <script language="javascript" src="calendar1.js" /><a href="javascript:cal1.popup();"><img src="images/date.png" width="16" height="16" border="0" title="Pick a date"></a> {"_DATE"|lang}<br /> <input class="input_file" type="file" size="30" name="filename"> </td> <td width="1%" valign="bottom"><input type="submit" class="button" name="bancfgupl" onclick="return confirm('{"_DATAIMPORT"|lang}');" value="{"_IMPORT"|lang}" /></td> <script language="JavaScript"> <!-- var cal1 = new calendar1(document.forms['bannedcfg'].elements['ban_created']); cal1.year_scroll = true; cal1.time_comp = false; --> </script> </tr>
a za niego wstawiamy
<form name="bannedcfg" method="POST" enctype="multipart/form-data"> <tr class="settings_line"> <td> <input size="32" type="text" name="reason" value="{"_IMPORT"|lang}" /> {"_REASON"|lang}<br /> <input size="32" type="text" name="player_nick" value="{"_UNKNOWN"|lang}" /> {"_NICKNAME"|lang}<br /> <input size="32" type="text" name="server_name" value="{"_WEB"|lang}" /> {"_SERVER"|lang}<br /> <input size="28" type="text" name="ban_created" value="{$smarty.now|date_format:"%d-%m-%Y"}" /> <input class="input_file" type="file" size="30" name="filename"> </td> <td width="1%" valign="bottom"><input type="submit" class="button" name="bancfgupl" onclick="return confirm('{"_DATAIMPORT"|lang}');" value="{"_IMPORT"|lang}" /></td> <script language="JavaScript"> <!-- var cal1 = new calendar1(document.forms['bannedcfg'].elements['ban_created']); cal1.year_scroll = true; cal1.time_comp = false; --> </script> </tr>
I Wszystko dziala jak nalezy.
Polecam się na przyszlosc.
Pozdrawiam.