%PDF- %PDF-
| Direktori : /home/tjamichg/portal.tjamich.gob.mx/sisofi/modules/forms/ |
| Current File : /home/tjamichg/portal.tjamich.gob.mx/sisofi/modules/forms/conf.forms.php |
<br />
<div class="content">
<div class="titulo">Configurar Formatos</div>
<br />
<div class="cfmenu">
<a href="index.php?token=<?php echo $_GET['token']; ?>&load=addform&mod=pload"><img src="images/plus.png" width="20" height="20" /> Agregar Nuevo Formato</a> <a href="index.php?token=<?php echo $_GET['token']; ?>&mod=massForms"><img src="images/plus.png" width="20" height="20" /> Carga Masiva</a> <a href="index.php?token=<?php echo $_GET['token']; ?>&mod=massConfig"><img src="images/cogs.png" width="20" height="20" /> Configuración Masiva</a>
</div><br />
<div>
<table class="tablas">
<tr>
<td class="ctab">Formato</td>
<td class="ctab">Tabla</td>
<td class="ctab">Visible</td>
<td class="ctab">Vigente</td>
<td class="ctab">Temporalidad</td>
</tr>
<?php
$tforms = mysql_query("SELECT f.idform AS idform, f.nform AS nform, f.tabla AS tabla,
IF(f.visible=1,'Si','No') AS visible, IF(f.vigente=1,'Si','No') AS vigente, t.temporal AS tempo
FROM formatos f JOIN tiempos t ON (f.tempo =t.idtmp)
ORDER BY f.idform ASC");
while($forma = mysql_fetch_array($tforms)){
?>
<tr>
<td><?php echo $forma['nform']; ?></td>
<td><?php echo $forma['tabla']; ?></td>
<td><?php echo $forma['visible']; ?></td>
<td><?php echo $forma['vigente']; ?></td>
<td><?php echo $forma['tempo']; ?></td>
<td>
<div class="caja"><a href="index.php?token=<?php echo $_GET['token']; ?>&mod=conf_form&form=<?php echo $forma['idform']; ?>"><img src="images/cog.png" width="20" height="20" /><span class="info">Configurar</span></a></div>
</td>
<td>
<div class="caja"><a href="index.php?token=<?php echo $_GET['token']; ?>&mod=formatos_edit&edit=edit&id=<?php echo $forma['idform']; ?>"><img src="images/pencil.png" width="20" height="20" /><span class="info">Modificar</span></a></div>
</td>
</tr>
<?php } ?>
</table>
</div>
</div>