<?php

session_start();
require_once '../clases/paciente_data.php';
$paciente = new pacientedata();
if (!isset($_SESSION['sesion_id_usuario'])) {
    die("No tiene acceso  a esta seccion");
}
?>
 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>SISTEMA DE GESTION DE CONSULTORIO MEDICO</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="../estilos/css_sistema.css" rel="stylesheet" type="text/css" />
<link href="../imagenes/logo.ico" type="image/x-icon" rel="shortcut icon">
</head>

<body>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td align="center">
	

	<?php 
if ($_REQUEST['id'] === '1') {
    $rs = $paciente->provincia_nuevo($_REQUEST['departamento'], $_REQUEST['provincia'], '0');
Ejemplo n.º 2
0
<?php

session_start();
require_once '../clases/paciente_data.php';
$paciente = new pacientedata();
if (!isset($_SESSION['sesion_id_usuario'])) {
    die("No tiene acceso  a esta seccion");
}
?>
 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>SISTEMA DE GESTION DE CONSULTORIO MEDICO</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="../estilos/css_sistema.css" rel="stylesheet" type="text/css" />
<link href="../imagenes/logo.ico" type="image/x-icon" rel="shortcut icon">
<script language="Javascript" src="../javascript/PopCalendar.js"></script>
</head>

<body>
<script language="JavaScript">
	PopCalendar = getCalendarInstance();
	PopCalendar.initCalendar();
</script>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td>
      <?php 
include "menu.php";
?>