Location: PHPKode > projects > eSoftScript > essfree-2-0/skins/orange/form_prefill.html
<script language="JavaScript" type="text/javascript">
<!--
function countChars(fields, boxs, maxim) {
field = document.getElementById(fields);
box=  document.getElementById(boxs);


if(field.value.length > maxim) {
field.blur();
box.value =0;
alert("Maximum characters exceled!");
}
else box.value = maxim-field.value.length;
if (box.value==0) {
var text=field.value
field.value=text.substr(0,maxim);
}
}
function GetFileSize(url) {	window.open("{$list_url}/index.php?pag=get_file_size&c&url="+url,"File Size", "width=30, height=30");}

//-->
</script> <h3><a href="{$list_url}" title="{$titlu_site}">{$titlu_site}</a> &raquo; {$lng->php_430}</h3><div class="diverse_box"> <div align="left">{$lng->php_420}</div><div align="center">{$status}{$error_field}</div><form action="" method="post"> <div class="name_form">{$lng->php_427} </div><div class="input_form"><input type="text" value="{$pad_url}" size="45" name="URL" > <input class="submit" name="submit_pad" type="Submit" value="Prefill"></div></form><form method="post" action="index.php?a=pad&submit_pad" name="form" enctype="multipart/form-data"><input type="hidden" name="referer" value="{$referer}"><div class="name_form">{$lng->php_569}:<sup>*</sup></div><div class="input_form"><input maxlength="255" name="p_name" type="text" size="61" value="{$p_name}"{$p_name_red}> <b>{$lng->php_571}:<sup>*</sup></b><input maxlength="15" name="p_vers" type="text" size="5" value="{$p_vers}"{$p_vers_red}></div>{$cat_from_pad}<div class="name_form">{$lng->php_432}:<sup>*</sup></div><div class="input_form"><select name="categories" style="width:505px;{$red_cats}"><option value="">{$lng->php_570}</option>{$categories}</select></div><div class="name_form">{$lng->php_572}:<sup>*</sup><br><input id="full_des" name="full_des" size=2 value=2000 class="chars_left_2"></div><div class="input_form"><textarea name="description" id="description" cols="60" rows="5" onKeyUp="countChars('description', 'full_des', '2000')"{$description_red}>{$description}</textarea></div><div class="name_form">{$lng->php_573}:<br><input id="short_des"  size=1 value=250 name="short_des" class="chars_left_2"></div><div class="input_form"><textarea name="short_description" id="short_description" cols="60" rows="2" onKeyUp="countChars('short_description', 'short_des', '250')">{$short_description}</textarea></div><div class="name_form">{$lng->php_434}:<br><input id="key" size=1 value=250 name="key" class="chars_left_2"></div><div class="input_form"><textarea name="keywords" id="keywords" cols="60" rows="2" onKeyUp="countChars('keywords', 'key', '250')"{$keywords_red}>{$keywords}</textarea></div><div class="name_form">{$lng->php_574} 1:</div><div class="input_form"><input maxlength="255" name="screenshot_1" type="text" size="80" value="{$screenshot_1}"{$screenshot_1_red}></div><div class="name_form">{$lng->php_574} 2:</div><div class="input_form"><input maxlength="255" name="screenshot_2" type="text" size="80" value="{$screenshot_2}"{$screenshot_2_red}></div><div class="name_form">{$lng->php_574} 3:</div><div class="input_form"><input maxlength="255" name="screenshot_3" type="text" size="80" value="{$screenshot_3}"{$screenshot_3_red}></div><div class="name_form">{$lng->php_575}:</div><div class="input_form"><input maxlength="255" name="p_icon" type="text" size="80" value="{$p_icon}"{$p_icon_red}></div><div class="name_form">{$lng->php_576}:</div><div class="input_form"><input maxlength="255" name="p_url" type="text" size="80" value="{$p_url}"></div><div class="name_form">{$lng->php_577} 1:</div><div class="input_form"><input maxlength="255" name="down_link_1" type="text" size="80" value="{$down_link_1}"{$no_link_red}></div><div class="name_form">{$lng->php_577} 2:</div><div class="input_form"><input maxlength="255" name="down_link_2" type="text" size="80" value="{$down_link_2}"{$no_link_red}></div><div class="name_form">{$lng->php_577} 3:</div><div class="input_form"><input maxlength="255" name="down_link_3" type="text" size="80"value="{$down_link_3}"{$no_link_red}></div><div class="name_form">{$lng->php_577} 4:</div><div class="input_form"><input maxlength="255" name="down_link_4" type="text" size="80" value="{$down_link_4}"{$no_link_red}></div><div class="name_form">{$lng->php_65}:<sup>*</sup></div><div class="input_form"><input maxlength="10" name="p_size" type="text" size="69" value="{$p_size}"{$p_size_red}> <input class="submit" name="get_file" type="button" value="Get Size" onClick="GetFileSize(this.form.down_link_1.value)"></div><div class="name_form">{$lng->php_578}:</div><div class="input_form"><input maxlength="255" name="order_link" type="text" size="80" value="{$order_link}"{$no_link_red}></div><div class="name_form">{$lng->php_579}:</div><div class="input_form"><input maxlength="20" name="p_price_1" type="text" size="80" value="{$p_price_1}"></div><div class="name_form">{$lng->php_580}:</div><div class="input_form"><input maxlength="20" name="p_price_2" type="text" size="80" value="{$p_price_2}"></div><div class="name_form">{$lng->php_581}:</div><div class="input_form"><input name="p_type" type="text" size="80" value="{$p_type}"></div><div class="name_form">{$lng->php_582}:<sup>*</sup></div><div class="input_form"><input maxlength="10" name="p_rel_date" type="text" size="10" value="{$p_rel_date}"{$p_rel_date_red}> dd-mm-yyyy {$err_avans_date}</div><div class="name_form">{$lng->php_583}:</div><div class="input_form"><input maxlength="255" name="p_rel_status" type="text" size="80" value="{$p_rel_status}"></div><div class="name_form">{$lng->php_104}:</div><div class="input_form"><input maxlength="255" name="p_support" type="text" size="80" value="{$p_support}"></div><div class="name_form">{$lng->php_360}:<sup>*</sup></div><div class="input_form"><table cellpadding="2"{$os_support_red}>
        <tr> <td><input name="os_support[]" value="WinXP" type="checkbox" {$WinXP}></td><td>WinXP</td><td><input name="os_support[]" value="WinNT 4.x" type="checkbox" {$WinNT 4.x}></td><td>WinNT 4.x</td><td><input name="os_support[]" value="WinNT 3.x" type="checkbox" {$WinNT 3.x}></td><td>WinNT 3.x</td><td><input name="os_support[]" value="WinME" type="checkbox" {$WinME}></td><td>WinME</td><td><input name="os_support[]" value="Windows2003" type="checkbox" {$Windows2003}></td><td>Win2003</td><td><input name="os_support[]" value="Windows2000" type="checkbox" {$Windows2000}></td><td>Win2000</td></tr>
        <tr> <td><input name="os_support[]" value="Win Vista" type="checkbox" {$Win Vista}></td><td>Win Vista</td><td><input name="os_support[]" value="Win CE" type="checkbox" {$Win CE}></td><td>Win CE</td><td><input name="os_support[]" value="Win98" type="checkbox" {$Win98}></td><td>Win98</td><td><input name="os_support[]" value="Win95" type="checkbox" {$Win95}></td><td>Win95</td><td><input name="os_support[]" value="Win 3.1x" type="checkbox" {$Win 3.1x}></td><td>Win 3.1x</td><td><input name="os_support[]" value="Unix" type="checkbox" {$Unix}></td><td>Unix</td></tr>
        <tr> <td><input name="os_support[]" value="Symbian" type="checkbox" {$Symbian}></td><td>Symbian</td><td><input name="os_support[]" value="RIM" type="checkbox" {$RIM}></td><td>RIM</td><td><input name="os_support[]" value="Pocket PC" type="checkbox" {$Pocket PC}></td><td>Pocket PC</td><td><input name="os_support[]" value="Palm OS 3.2" type="checkbox" {$Palm OS 3.2}></td><td>Palm OS 3.2</td><td><input name="os_support[]" value="Palm OS 3.1" type="checkbox" {$Palm OS 3.1}></td><td>Palm OS 3.1</td><td><input name="os_support[]" value="Palm OS 3.0" type="checkbox" {$Palm OS 3.0}></td><td>Palm OS 3.0</td></tr>
        <tr> <td><input name="os_support[]" value="Palm OS 2.1" type="checkbox" {$Palm OS 2.1}></td><td>Palm OS 2.1</td><td><input name="os_support[]" value="Palm OS 2.0" type="checkbox" {$Palm OS 2.0}></td><td>Palm OS 2.0</td><td><input name="os_support[]" value="Palm OS 1.0" type="checkbox" {$Palm OS 1.0}></td><td>Palm OS 1.0</td><td><input name="os_support[]" value="OS/2 Warp 4" type="checkbox" {$OS/2 Warp 4}></td><td>OS/2 Warp 4</td><td><input name="os_support[]" value="OS/2 Warp" type="checkbox" {$OS/2 Warp}></td><td>OS/2 Warp</td><td><input name="os_support[]" value="OS/2" type="checkbox" {$OS/2}></td><td>OS/2</td></tr>
        <tr> <td><input name="os_support[]" value="OpenVMS" type="checkbox" {$OpenVMS}></td><td>OpenVMS</td><td><input name="os_support[]" value="Not Applicable" type="checkbox" {$Not Applicable}></td><td>Not Applicable</td><td><input name="os_support[]" value="Netware" type="checkbox" {$Netware}></td><td>Netware</td><td><input name="os_support[]" value="MS-DOS" type="checkbox" {$MS-DOS}></td><td>MS-DOS</td><td><input name="os_support[]" value="Mac PPC" type="checkbox" {$Mac PPC}></td><td>Mac PPC</td><td><input name="os_support[]" value="Mac Other" type="checkbox" {$Mac Other}></td><td>Mac Other</td></tr>
        <tr> <td><input name="os_support[]" value="Mac OS X" type="checkbox" {$Mac OS X}></td><td>Mac OS X</td><td><input name="os_support[]" value="MAC 68k" type="checkbox" {$MAC 68k}></td><td>MAC 68k</td><td><input name="os_support[]" value="Linux Open Source" type="checkbox" {$Linux Open Source}></td><td>Linux Open Source</td><td><input name="os_support[]" value="Linux Gnome" type="checkbox" {$Linux Gnome}></td><td>Linux Gnome</td><td><input name="os_support[]" value="Linux Console" type="checkbox" {$Linux Console}></td><td>Linux Console</td><td><input name="os_support[]" value="Linux" type="checkbox" {$Linux}></td><td>Linux</td></tr>
        <tr> <td><input name="os_support[]" value="Java" type="checkbox" {$Java}></td><td>Java</td><td><input name="os_support[]" value="BEOS" type="checkbox" {$BEOS}></td><td>BEOS</td><td><input name="os_support[]" value="AS/400" type="checkbox" {$AS/400}></td><td>AS/400</td><td colspan="6"></td></tr>
      </table></div><div class="name_form">{$lng->php_536}:<br><input id="sys_req" size=1 value=2000 name="sys_req" class="chars_left_2"></div><div class="input_form"><textarea name="p_sys_req" id="p_sys_req" cols="60" rows="5" onKeyUp="countChars('p_sys_req', 'sys_req', '2000')">{$p_sys_req}</textarea></div><div class="name_form">{$lng->php_357}:<sup>*</sup></div><div class="input_form"><input maxlength="255" name="comp_name" type="text" size="80" value="{$comp_name}"{$comp_name_red}></div><div class="name_form">{$lng->php_584}:</div><div class="input_form"><input maxlength="255" name="comp_url" type="text" size="80" value="{$comp_url}"></div><div class="name_form">{$lng->php_585}:<sup>*</sup></div><div class="input_form"><input maxlength="255" name="p_email" type="text" size="80" value="{$p_email}"{$p_email_red}></div><div class="name_form">{$lng->php_586}:</div><div class="input_form"><input maxlength="255" name="s_email" type="text" size="80" value="{$s_email}"></div><div class="input_form" align="center"><input maxlength="255" name="pad_url" type="hidden" size="80" value="{$pad_url}"><input class="submit" name="submit_prog" type="submit" value="{$lng->php_351}"></div></form><br clear="all"> <br> </div>
Return current item: eSoftScript