<?php /* Smarty version 2.6.13, created on 2007-07-26 16:48:32
         compiled from pf_sensorxcamara_edit.htm */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'include_if_exists', 'pf_sensorxcamara_edit.htm', 10, false),array('function', 'doevent', 'pf_sensorxcamara_edit.htm', 19, false),array('function', 'build_edit_control', 'pf_sensorxcamara_edit.htm', 31, false),)), $this); ?>
<html>
<head><title>Sensores</title>
<link REL="stylesheet" href="include/style.css" type="text/css">
<?php echo $this->_tpl_vars['includes']; ?>

</head>

<body bgcolor=white <?php echo $this->_tpl_vars['bodyonload']; ?>
>
<form name="editform" encType="multipart/form-data" method="post" action="pf_sensorxcamara_edit.php" <?php echo $this->_tpl_vars['onsubmit']; ?>
>

<?php echo smarty_function_include_if_exists(array('file' => "include/header.php"), $this);?>


<h1>Sensores, Editar registro [
Direccion Modulo: <?php echo $this->_tpl_vars['show_key1']; ?>

,
Tipo Modulo: <?php echo $this->_tpl_vars['show_key2']; ?>

]
</h1>

<?php echo smarty_function_doevent(array('name' => 'EditOnLoad'), $this);?>

<?php echo $this->_tpl_vars['message']; ?>


<div align=left><hr width=300 noshade size=1></div>

&nbsp;&nbsp;&nbsp;<a href="pf_sensorxcamara_list.php?a=return">Volver a la lista</a><br><br>
<table cellpadding=2>

<input type=hidden name=editid1 value="<?php echo $this->_tpl_vars['key1']; ?>
">
<input type=hidden name=editid2 value="<?php echo $this->_tpl_vars['key2']; ?>
">

  <tr><td class=shade width=150>Direccion Modulo</td><td width=250>
    <?php echo smarty_function_build_edit_control(array('field' => 'LecturaDirModulo','value' => $this->_tpl_vars['value_LecturaDirModulo'],'mode' => 'edit'), $this);?>

      &nbsp;<img src="images/icon_required.gif">
  </td></tr>
  <tr><td class=shade width=150>Tipo Modulo</td><td width=250>
    <?php echo smarty_function_build_edit_control(array('field' => 'LecturaDirTipo','value' => $this->_tpl_vars['value_LecturaDirTipo'],'mode' => 'edit'), $this);?>

      &nbsp;<img src="images/icon_required.gif">
  </td></tr>
  <tr><td class=shade width=150>Identificador Camara</td><td width=250>
    <?php echo smarty_function_build_edit_control(array('field' => 'id_camara','value' => $this->_tpl_vars['value_id_camara'],'mode' => 'edit'), $this);?>

    </td></tr>
  <tr><td class=shade width=150>Status</td><td width=250>
    <?php echo smarty_function_build_edit_control(array('field' => 'id_status','value' => $this->_tpl_vars['value_id_status'],'mode' => 'edit'), $this);?>

    </td></tr>
  <tr><td class=shade width=150>Nombre del Modulo</td><td width=250>
    <?php echo smarty_function_build_edit_control(array('field' => 'Nombre_modulo','value' => $this->_tpl_vars['value_Nombre_modulo'],'mode' => 'edit'), $this);?>

    </td></tr>
  <tr><td class=shade width=150>Limite Minimo</td><td width=250>
    <?php echo smarty_function_build_edit_control(array('field' => 'limite_minimo','value' => $this->_tpl_vars['value_limite_minimo'],'mode' => 'edit'), $this);?>

    </td></tr>
  <tr><td class=shade width=150>Limite Maximo</td><td width=250>
    <?php echo smarty_function_build_edit_control(array('field' => 'limite_maximo','value' => $this->_tpl_vars['value_limite_maximo'],'mode' => 'edit'), $this);?>

    </td></tr>

 <tr height=50><td colspan=2 align=center>
 <input class=button type=submit value="Guardar" id=submit1 name=submit1>
 <input class=button type=reset value="Reiniciar">
 <input type=hidden name="a" value="edited">
 </td></tr>

</form>
 
   <!-- legend -->
   <tr height=50><td colspan=2 align=left>
   <hr width=300 noshade size=1>
   <br><img src="images/icon_required.gif"> - Campo de requerimiento
   </td></tr>

</table>

<?php echo smarty_function_include_if_exists(array('file' => "include/footer.php"), $this);?>


<?php echo $this->_tpl_vars['linkdata']; ?>

<script>SetToFirstControl();</script>
</body>
</html>