Пример #1
0
            	<input name="fono_representante" value="<?php 
echo $fono_representante;
?>
">
			</div></td>
          </tr>
          <tr>
            <td class="texto_adm" ><div align="left">Comuna</div></td>
            <td class="texto_adm" ><div align="left">:</div></td>
            <td ><div align="left">
              <?php 
//Llamaba a combo de omunas
include_once '../controller/class_comuna.php';
$comunas = new comunas();
if ($_GET['accion'] == 'modificar') {
    $comunas->seleccionaComunasByIdCmb($comuna);
} else {
    $comunas->seleccionaComunasCmb();
}
?>
            </div></td>
            <td class="texto_adm"><div align="left">Email Representante Legal</div></td>
            <td class="texto_adm" ><div align="left"></div></td>
            <td ><div align="left">
            	<input name="email_representante" value="<?php 
echo $email_representante;
?>
"/>
            </div></td>
          </tr>
        </table>
Пример #2
0
                <input type="hidden" name="id" value="<?php 
echo $_GET[id];
?>
">
            </div></td>
            </tr>
            <tr>
            <td class="texto_adm"><div align="left">Comuna</div></td>
            <td class="texto_adm"><div align="left">:</div></td>
            <td><div align="left">
                 <?php 
//Llamaba a combo de los paises
include_once '../controller/class_comuna.php';
$comunas = new comunas();
if ($_GET['accion'] == 'modificar') {
    $comunas->seleccionaComunasByIdCmb($region);
} else {
    $comunas->seleccionaComunasCmb();
}
?>
            </div></td>
            </tr>
        </table>
		<?php 
if ($_GET['accion'] == 'modificar') {
    ?>
				<input name="modificar" value="Modificar" type="submit">
                <input name="cancelar" value="Cancelar" type="submit">

		<?php 
} else {