/
var
/
www
/
clients
/
client1
/
web2
/
web
/
admin
/
/var/www/clients/client1/web2/web/admin
mkdir
upload
Name
Size
Mode
Actions
css/
-
0755
rm
fonts/
-
0755
rm
imagenes/
-
0755
rm
js/
-
0755
rm
responsive-sidebar-navigation-master/
-
0755
rm
vendors/
-
0755
rm
access.php
344
0644
edit
dl
rm
admin.php
19898
0644
edit
dl
rm
assets.php
518
0644
edit
dl
rm
banners_mod2.php
4190
0644
edit
dl
rm
certificaciones_mod.php
2847
0644
edit
dl
rm
certificaciones_mod2.php
2551
0644
edit
dl
rm
comodin_mod.php
2368
0644
edit
dl
rm
comodin_mod2.php
1927
0644
edit
dl
rm
contactos_mod.php
1674
0644
edit
dl
rm
datepicker.php
138
0644
edit
dl
rm
editor.php
623
0644
edit
dl
rm
eliminar.php
449
0644
edit
dl
rm
eliminar_ajax.php
209
0644
edit
dl
rm
eliminar_archivo.php
215
0644
edit
dl
rm
estilos.css
1287
0644
edit
dl
rm
excel_contacto.php
2377
0644
edit
dl
rm
frases_mod2.php
1175
0644
edit
dl
rm
funciones.js
1316
0644
edit
dl
rm
funciones.php
13648
0644
edit
dl
rm
home.php
29
0644
edit
dl
rm
imagenes_home_add.php
1053
0644
edit
dl
rm
imagenes_home_mod.php
2669
0644
edit
dl
rm
imagenes_home_mod2.php
2352
0644
edit
dl
rm
index.php
3249
0644
edit
dl
rm
links_mod2.php
1157
0644
edit
dl
rm
log.php
2575
0644
edit
dl
rm
logout.php
200
0644
edit
dl
rm
medidas_mod.php
2448
0644
edit
dl
rm
medidas_mod2.php
2547
0644
edit
dl
rm
ordenar.php
543
0644
edit
dl
rm
pdfs_mod2.php
3090
0644
edit
dl
rm
post_procesos.php
624
0644
edit
dl
rm
procesos.php
10335
0644
edit
dl
rm
process.ordenar.php
435
0644
edit
dl
rm
representantes_mod.php
2317
0644
edit
dl
rm
representantes_mod2.php
4025
0644
edit
dl
rm
sliders_mod.php
2468
0644
edit
dl
rm
sliders_mod2.php
5073
0644
edit
dl
rm
sube_fotos.php
6605
0644
edit
dl
rm
sube_fotos_multiple.php
6104
0644
edit
dl
rm
t.php
698
0644
edit
dl
rm
tabla_fusion_mod.php
3475
0644
edit
dl
rm
tabla_fusion_mod2.php
4797
0644
edit
dl
rm
tabla_mod.php
3220
0644
edit
dl
rm
tabla_mod2.php
4145
0644
edit
dl
rm
titulos.php
2722
0644
edit
dl
rm
usuarios_mod.php
2265
0644
edit
dl
rm
usuarios_mod2.php
1776
0644
edit
dl
rm
videos_mod.php
2444
0644
edit
dl
rm
videos_mod2.php
1915
0644
edit
dl
rm
video_home_mod2.php
1457
0644
edit
dl
rm
zona_mod.php
1832
0644
edit
dl
rm
zona_mod2.php
1521
0644
edit
dl
rm
Edit:
/var/www/clients/client1/web2/web/admin/tabla_mod2.php
(4145B)
<?php require_once('../Connections/latynconexiones.php'); $colname_tabla = "-1"; if (isset($_GET['id'])) { $colname_tabla = $_GET['id'];} $query_tabla = sprintf("SELECT * FROM tabla WHERE Id = %s", GetSQLValueString($colname_tabla, "int")); $tabla = mysqli_query($latynconexiones, $query_tabla) or die(mysqli_error()); $row_tabla = mysqli_fetch_assoc($tabla); $totalRows_tabla = mysqli_num_rows($tabla); ?> <form action="procesos.php" enctype="multipart/form-data" method="post" name="tabla" id="tabla"> <table align="center"> <tr valign="baseline"> <td nowrap="nowrap" align="right">Categoria:</td> <td><select name="id_categoria" id="id_categoria"> <!-- <option value="1" <?php if($row_tabla['id_categoria']=='1'){ echo ' selected '; } ?>>Agua</option>--> <option value="2" <?php if($row_tabla['id_categoria']=='2'){ echo ' selected '; } ?>>Flexible</option> <option value="3" <?php if($row_tabla['id_categoria']=='3'){ echo ' selected '; } ?>>Sifones</option> <option value="4" <?php if($row_tabla['id_categoria']=='4'){ echo ' selected '; } ?>>Descargas</option> <option value="5" <?php if($row_tabla['id_categoria']=='5'){ echo ' selected '; } ?>>Gas</option> </select></td> </tr> <tr valign="baseline"> <td nowrap="nowrap" align="right">Nombre:</td> <td><input type="text" name="nombre" value="<?php echo htmlentities($row_tabla['nombre'], ENT_COMPAT, 'utf-8'); ?>" size="32" /></td> </tr> <tr valign="baseline"> <td nowrap="nowrap" align="right">Código:</td> <td><input type="text" name="codigo" value="<?php echo htmlentities($row_tabla['codigo'], ENT_COMPAT, 'utf-8'); ?>" size="32" /></td> </tr> <tr valign="baseline"> <td nowrap="nowrap" align="right">Descripcion:</td> <td><textarea name="descripcion" cols="32"><?php echo htmlentities($row_tabla['descripcion'], ENT_COMPAT, 'utf-8'); ?></textarea></td> </tr> <tr valign="baseline"> <td nowrap="nowrap" align="right">Foto:</td> <td> <?php if($row_tabla['foto']){ ?> <div id="foto"><img src="../img_tabla/<?php echo $row_tabla['foto']; ?>" width="100 "> <a href="javascript:del_imagen('foto','arch');" style="vertical-align:bottom;"> <i style="vertical-align:bottom;" class="fa fa-trash-o fa-2x"></i> </a><br /> </div> <?php } ?> <input type="file" name="foto" size="32" /></td> </tr> <tr valign="baseline"> <td nowrap="nowrap" align="right">Ficha:</td> <td> <?php if($row_tabla['ficha']){ ?> <div id="ficha"><a target="_blank" href="../img_tabla/<?php echo $row_tabla['ficha']; ?>"><?php echo $row_tabla['ficha']; ?></a> <a href="javascript:del_imagen('ficha','arch1');" style="vertical-align:bottom;"> <i style="vertical-align:bottom;" class="fa fa-trash-o fa-2x"></i> </a><br /> </div> <?php } ?> <input type="file" name="ficha" size="32" /></td> </tr> <tr valign="baseline"> <td nowrap="nowrap" align="right">Video:</td> <td><input name="video" type="text" id="video" value="<?php echo htmlentities($row_tabla['video'], ENT_COMPAT, 'utf-8'); ?>" size="32" /></td> </tr> <tr valign="baseline"> <td nowrap="nowrap" align="right"> </td> <td> </td> </tr> <tr valign="baseline"> <td colspan="2" align="center" nowrap="nowrap"><input type="submit" value="Modificar" /></td> </tr> </table> <input type="hidden" name="MM_update" value="tabla" /> <input type="hidden" name="Id" value="<?php echo $row_tabla['Id']; ?>" /> <input name="arch" type="hidden" id="arch" value="<?php echo htmlentities($row_tabla['foto'], ENT_COMPAT, 'utf-8'); ?>" /> <input name="arch1" type="hidden" id="arch1" value="<?php echo htmlentities($row_tabla['ficha'], ENT_COMPAT, 'utf-8'); ?>" /> </form> <?php mysqli_free_result($tabla); ?>
Save
cmd:
run