This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| function curPageName() { | |
| return substr($_SERVER["SCRIPT_NAME"],strrpos($_SERVER["SCRIPT_NAME"],"/")+1); | |
| } | |
| ?> | |
| <div id='menu'> | |
| <ul> | |
| <li><a href="tuhuerto.php" <? if (curPageName()=='tuhuerto.php') echo "class='activo' "; ?> >tu huerto</a></li> | |
| <li><a href="cajones.php" <? if (curPageName()=='cajones.php') echo "class='activo' "; ?> >cajones elevados</a></li> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <table bgcolor="#FFFFFF" width="800px" align="center"> | |
| <tr> | |
| <td> | |
| <h3 class="seccion">Agregar</h3></td></tr> | |
| <tr> | |
| <td> | |
| <table align="center" width="90%"> | |
| <form action='_insertar.php' method='post' enctype="multipart/form-data"> | |
| <tr> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <? | |
| include_once('datos.php'); | |
| conectar(); | |
| //elimina archivo real | |
| $id= $_REQUEST[id]; | |
| $rs = mysql_query("SELECT foto FROM n1 WHERE id=$id"); | |
| list($foto) = mysql_fetch_row($rs); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //salva posibles comillas en el texto | |
| $titulo = mysql_real_escape_string($_POST['titulo']); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <? | |
| include('datos.php'); | |
| conectar(); | |
| //salva posibles comillas en el texto | |
| $titulo = mysql_real_escape_string($_POST['titulo']); | |
| $cuerpo = mysql_real_escape_string($_POST['cuerpo']); | |
| //fecha |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //fecha | |
| $fecha = $_POST[fecha]; | |
| $fecha_nueva = explode( "/", $fecha); | |
| $fecha_mysql = $fecha_nueva [2]."-".$fecha_nueva [1]."-".$fecha_nueva[0]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <? | |
| include('login_tope.php'); | |
| ?> | |
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
| <html xmlns="http://www.w3.org/1999/xhtml"> | |
| <head> | |
| <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> | |
| <title>Noticias: Actualizar datos</title> | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <style type="text/css"> | |
| </style> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //traducir fecha para que la leaen castellano | |
| $fecha_nueva = explode( "-", $fecha); | |
| $fecha_castellano_dia = $fecha_nueva [2]; | |
| $fecha_castellano_mes = $fecha_nueva [1]; | |
| $dia = $fecha_castellano_dia; | |
| $mes = '03'; | |
| $year = '2012'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| switch ($nivel) | |
| { | |
| case 1: | |
| $color ="#CF5FA4"; | |
| $color2="#F0BDD7"; | |
| $txtnivel="JARDÍN:"; | |
| break; | |
| case 2: | |
| $color ="#DE2126"; | |
| $color2="#F1AE96"; |
NewerOlder