![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
08/08/2002, 18:51
|
| | Fecha de Ingreso: agosto-2002
Mensajes: 5
Antigüedad: 22 años, 6 meses Puntos: 0 | |
Re: Inserciones dobles con php y mysql <?
session_start();
if (!isset ($HTTP_SESSION_VARS['usrData'])){
exit();
die();
}
function headerPage(){
?>
<html>
<head>
<title>Intersys M&eacute;xico S.A. de C.V.</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="../extras/style.css" rel="stylesheet" type="text/css">
</head>
<body leftmargin="5" topmargin="0" marginwidth="0" marginheight="0">
<? } //headerPage
function encabezadoPage(){
global $usrData;
?>
<table width="830" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="left" class="item"></td>
</tr>
<tr>
<td align="left" class="titulo">Control de Minutas</td>
</tr>
<tr>
<td align="left" class="itemsml"><a href="index.php?action=crear"></a>
<? if ($usrData['minutasA'] == 1 && $usrData['minutasC'] == 1){ ?>
<table width="150" border="1" cellspacing="0" bordercolor="#FF6600">
<tr>
<td width="69" align="center" bgcolor="#FF6600" class="itemsml"><a href="index.php?action=crear"><fon t color="#FFFFFF">Agregar</font></a></td>
<td align="center" bgcolor="#FF6600" class="itemsml"><a href="index.php"><font color="#FFFFFF">Buscar</font></a></td>
</tr>
</table>
<? } ?>
<? if ($usrData['minutasA'] == 0 && $usrData['minutasC'] == 1){ ?>
<table width="75" border="1" cellspacing="0" bordercolor="#FF6600">
<tr>
<td align="center" bgcolor="#FF6600" class="itemsml"><a href="index.php"><font color="#FFFFFF">Buscar</font></a></td>
</tr>
</table>
<? } ?>
<? if ($usrData['minutasA'] == 1 && $usrData['minutasC'] == 0){ ?>
<table width="75" border="1" cellspacing="0" bordercolor="#FF6600">
<tr>
<td width="69" align="center" bgcolor="#FF6600" class="itemsml"><a href="index.php?action=crear"><fon t color="#FFFFFF">Agregar</font></a></td>
</tr>
</table>
<? } ?>
</td>
</tr>
<tr |