Viewing file: subir.php (4.08 KB) -rw-rw-r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<!-- Selector de provincias y localidades Ajax - non intrusive - Cross browser Copyright (C)I�aki Gorostiza Esquerdeiro http://www.hellogoogle.com [email protected] This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. --> <html> <head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <script src="js/AjaxCode.js"></script> </head> <body> <?if (!$_REQUEST['libro']){ ?> <center> <table border=0 align=center><br><tr><td bgcolor=red align=center><h1>subir libro para su conversion en fb2</h1></td></tr><tr><td bgcolor=#C0FFFF>AVISO! SOLO SE ADMITEN FICHEROS EN ZIP<BR>los ficheros que no esten comprimidos, se desecharan sin mirarlos.</table> <table><tr><td>se necesita direccion de correo, para mandaros una copia ya transformada a el.</table> <hr> <Table border=0 align=center> <form action="ftpupload.php" method="post" enctype="multipart/form-data"> <tr><td>Autor <td><input name="autor" type="text" SIZE=30></tr> <tr><td>Titulo<td><input name="titulo" type="text" SIZE=30></tr> <br> <tr><td> <tr><td>Seleccione genero:<td> <select name="genero" id="genero" onChange="return provinciaListOnChange()"> <option >Seleccione grupo...</option> <?php $xml = simplexml_load_file('menu.xml'); $result = $xml->xpath("/lista/provincia/nombre | /lista/provincia/@id"); for ($i=0;$i<count($result);$i+=2) { $e=$i+1; $provincia=UTF8_DECODE($result[$e]); echo("<option value='$result[$i]'>$provincia</option>"); } ?> </select> </td></tr>
<br> <br> <tr><td>Seleccione su subgrupo:<td> <select name="subgenero" id="subgenero" > <option >Seleccione antes un genero</option> </select> </td></tr> <tr><td>Tu correo<td><input name="correo" type="text" SIZE=30></tr> <br> <tr><td>Selecciona un fichero <td><input name="upload" type="file"></tr> <tr><td><INPUT TYPE="submit"><INPUT TYPE="Reset"></tr> <span id="advice"> </span> </form> </table> <?}else{ ?> <center> <table border=0 align=center><br><tr><td align=center bgcolor=yellow><h1>subir libro en fb2 para compartir</h1></td></tr><tr><td bgcolor=#C0FFFF>AVISO! SOLO SE ADMITEN FICHEROS EN ZIP<BR>los ficheros que no esten comprimidos, se desecharan sin mirarlos.</table> <table><tr><td>se necesita direccion de correo.</table> <hr> <table><tr><td>se necesita direccion de correo.</table> <hr> <Table border=0 align=center> <form action="ftpupload.php?fb2=1" method="post" enctype="multipart/form-data"> <tr><td>Autor <td><input name="autor" type="text" SIZE=30></tr> <tr><td>Titulo<td><input name="titulo" type="text" SIZE=30></tr> <br> <tr><td> <tr><td>Seleccione genero:<td> <select name="genero" id="genero" onChange="return provinciaListOnChange()"> <option >Seleccione grupo...</option> <?php $xml = simplexml_load_file('menu.xml'); $result = $xml->xpath("/lista/provincia/nombre | /lista/provincia/@id"); for ($i=0;$i<count($result);$i+=2) { $e=$i+1; $provincia=UTF8_DECODE($result[$e]); echo("<option value='$result[$i]'>$provincia</option>"); } ?> </select> </td></tr>
<br> <br> <tr><td>Seleccione su subgrupo:<td> <select name="subgenero" id="subgenero" > <option >Seleccione antes un genero</option> </select> </td></tr> <tr><td>Tu correo<td><input name="correo" type="text" SIZE=30></tr> <br> <tr><td>Selecciona un fichero <td><input name="upload" type="file"></tr> <tr><td><INPUT TYPE="submit"><INPUT TYPE="Reset"></tr> <span id="advice"> </span> </form> </table> <?}?> </body> </html>
|