Exemple #1
0
</td>	
		<td style="width:100%">
			<table  class="contenido" cellpadding="0" cellspacing="0" width="100%" align="left">								
				<tr>
					<td><?php 
Plantilla::menuSuperior("anp.php", $menu, $_GET['id'], false);
?>
</td>
				</tr>
				<tr>								
					<td style="width:100%; height:417px">	
					<div id="cuerpo" > 	<?php 
if ($_SESSION['session'][3] == "SI") {
    switch ($_GET['opcion']) {
        case 'new':
            Anps::AnpsNew();
            break;
        case 'add':
            Anps::AnpsAdd();
            Anps::AnpsList();
            break;
        case 'edit':
            Anps::AnpsEdit($_GET['id']);
            break;
        case 'update':
            Anps::AnpsUpdate($_GET['id'], $_POST);
            Anps::AnpsList();
            break;
        case 'delete':
            Areas::AnpsDelete($_GET['id']);
            Areas::AnpsList();