First commit 08/03/2002
9
README.md
Normal file
@ -0,0 +1,9 @@
|
||||
#equipalsa
|
||||
|
||||
|
||||
*08/03/2002*
|
||||
|
||||
ToDo: wwtcf?
|
||||
|
||||
|
||||

|
25
common/config.inc.php
Normal file
@ -0,0 +1,25 @@
|
||||
<?php
|
||||
|
||||
|
||||
# Appearance
|
||||
$bg_color = "#57A44D";
|
||||
$tbl_width = 600;
|
||||
$tbl_border = 1;
|
||||
$tbl_borderc = "#000000";
|
||||
|
||||
$tbl_bg = "#427B42";
|
||||
$tbl_rowscolor = "#488048";
|
||||
|
||||
#DataBase Control
|
||||
$limit = 20;
|
||||
|
||||
function MakeBox( $string )
|
||||
{
|
||||
global $tbl_border, $tbl_borderc, $tbl_width, $bg_color, $tbl_bg;
|
||||
|
||||
if ( !isset( $box_template ) )
|
||||
return "<div align=\"center\"><center><table border=\"$tbl_border\" cellpadding=\"0\" cellspacing=\"0\" width=\"$tbl_width\" bgcolor=\"$tbl_bg\" bordercolor=\"$tbl_borderc\" bordercolordark=\"$tbl_borderc\" bordercolorlight=\"$tbl_borderc\"><tr><td>$string</td></tr></table></center></div>";
|
||||
};
|
||||
|
||||
|
||||
?>
|
47
common/dbnav_bar.php
Normal file
@ -0,0 +1,47 @@
|
||||
<?php
|
||||
|
||||
function CreateDBnav( $from )
|
||||
{
|
||||
global $limit,$offset,$conexion,$nav_buttons,$parse_options;
|
||||
|
||||
$qrows = "SELECT DISTINCT * FROM $from";
|
||||
$res = mysql_query( $qrows, $conexion ) or die("No puedo obtener el número de registros<br>".mysql_error($conexion));
|
||||
$numrows = mysql_num_rows( $res );
|
||||
|
||||
$nav_buttons = "<table border=\"0\" cellpadding=\"2\" cellspacing=\"0\" width=\"100%\"><tr><td width=\"100%\"><p style=\"text-align:right\">";
|
||||
if ( $offset > 1 )
|
||||
$nav_buttons .= "<a href=\"$PHP_SELF?offset=".($offset-$limit)."$parse_options\"><< Anterior</a> -";
|
||||
else
|
||||
$nav_buttons .= "<< Anterior -";
|
||||
if ( $numrows > 0 )
|
||||
{
|
||||
$pages = intval( $numrows/$limit );
|
||||
if ( $numrows%$limit ) $pages++;
|
||||
for ( $i=1;$i<=$pages;$i++)
|
||||
{
|
||||
$newoffset=$limit*($i-1);
|
||||
if ( $newoffset == $offset )
|
||||
$nav_buttons .= "[$i]-";
|
||||
else
|
||||
$nav_buttons .= "<a href=\"$PHP_SELF?offset=$newoffset$parse_options\">$i</a>-";
|
||||
}
|
||||
}
|
||||
$nav_buttons .= "</p></td><td><nobr>";
|
||||
if ( ($offset+$limit)<$numrows )
|
||||
$nav_buttons .= "<a href=\"$PHP_SELF?offset=".($offset+$limit)."$parse_options\">Siguiente >></a>";
|
||||
else
|
||||
$nav_buttons .= "Siguiente >>";
|
||||
$nav_buttons .= "</nobr></td></tr></table>";
|
||||
};
|
||||
|
||||
function ShowDBnav()
|
||||
{
|
||||
global $nav_buttons;
|
||||
echo $nav_buttons;
|
||||
};
|
||||
|
||||
function GetDBnav()
|
||||
{
|
||||
global $nav_buttons;
|
||||
return $nav_buttons;
|
||||
};
|
69
eq.css
Normal file
@ -0,0 +1,69 @@
|
||||
/* Enlaces */
|
||||
a {
|
||||
color: #000000;
|
||||
font-size: 9pt;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
A:hover {color: #FF0000;}
|
||||
|
||||
.a2 {
|
||||
color: #303030;
|
||||
font-size: 12pt;
|
||||
font-weight: bold;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
A:hover.a2 {color: #FF0000;}
|
||||
|
||||
h1 {
|
||||
color: #D8A60E;
|
||||
font-size: 24pt;
|
||||
font-weight: bold;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
BODY {
|
||||
scrollbar-face-color: #FFFFFF;
|
||||
scrollbar-highlight-color: #000000;
|
||||
scrollbar-3dlight-color: #FFFFFF;
|
||||
scrollbar-darkshadow-color: #0000FF;
|
||||
scrollbar-shadow-color: #FFFFFF;
|
||||
scrollbar-arrow-color: #0000FF;
|
||||
scrollbar-track-color: #FFFFFF;
|
||||
font-family: arial, helvetica, sans-serif;
|
||||
font-size: 10pt;
|
||||
color: #000000;
|
||||
}
|
||||
|
||||
/* Tablas */
|
||||
td, th {
|
||||
font-size: 10pt;
|
||||
color: #000000;
|
||||
text-align: justify;margin-right:5.0pt;
|
||||
}
|
||||
|
||||
.tdr {
|
||||
font-size: 10pt;
|
||||
color: #D8A60E;
|
||||
text-align: right;margin-right:5.0pt;
|
||||
}
|
||||
/* formularios */
|
||||
input {
|
||||
background-color: #242424;
|
||||
border-width: 0;
|
||||
border-color: #646464;
|
||||
border-style: solid;
|
||||
color: #CC3333;
|
||||
font-size: 10pt;
|
||||
}
|
||||
|
||||
select {
|
||||
background-color: #242424;
|
||||
border-width: 1;
|
||||
border-color: #646464;
|
||||
border-style: solid;
|
||||
color: #CC3333;
|
||||
font-size: 10pt;
|
||||
}
|
||||
|
62
error.htm
Normal file
@ -0,0 +1,62 @@
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<meta http-equiv="Content-Type"
|
||||
content="text/html; charset=iso-8859-1">
|
||||
<meta name="GENERATOR" content="Microsoft FrontPage Express 2.0">
|
||||
<title>-= Coordinación de Stocks =-</title>
|
||||
<link href="syncro.ico" rel="SHORTCUT ICON">
|
||||
<link rel="stylesheet" type="text/css" href="eq.css"
|
||||
body="eq.css">
|
||||
</head>
|
||||
|
||||
<body bgcolor="#FFFFFF">
|
||||
|
||||
<p align="center"><br>
|
||||
<br>
|
||||
</p>
|
||||
<div align="center"><center>
|
||||
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="436"
|
||||
background="images/into.gif">
|
||||
<tr>
|
||||
<td width="1"><img src="images/separador.gif" width="1"
|
||||
height="294"></td>
|
||||
<td><table border="0" cellpadding="0" cellspacing="0"
|
||||
width="100%">
|
||||
<tr>
|
||||
<td align="center"><!--webbot bot="HTMLMarkup"
|
||||
startspan --><div align="center"><!--webbot bot="HTMLMarkup"
|
||||
endspan --><font color="#FFFFFF" size="4"><strong>Coordinador
|
||||
de Stocks<!--webbot bot="HTMLMarkup" startspan --></div><!--webbot
|
||||
bot="HTMLMarkup" endspan --></strong></font></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center"><div align="center"><center><table
|
||||
border="0">
|
||||
<tr>
|
||||
<td><font color="#FFFFFF" size="7"><strong>Error!</strong></font></td>
|
||||
</tr>
|
||||
</table>
|
||||
</center></div></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</center></div>
|
||||
|
||||
<p align="center"><br>
|
||||
</p>
|
||||
|
||||
<p><!--webbot bot="HTMLMarkup" startspan -->
|
||||
<a href="http://jd.infdj.com/credits.htm" target="_blank">
|
||||
<img src="images/bt-jdsoft0.gif" alt="Coordinador de Stocks
 Diseñado por JDsoft
 www.infdj.com" align="right" border="0" hspace="0" width="95" height="27"
|
||||
name="bt-jdsoft"
|
||||
onmouseout="javascript:document['bt-jdsoft'].src='images/bt-jdsoft0.gif'"
|
||||
onmouseover="javascript:document['bt-jdsoft'].src='images/bt-jdsoft1.gif'">
|
||||
</a>
|
||||
<!--webbot
|
||||
bot="HTMLMarkup" endspan --></p>
|
||||
</body>
|
||||
</html>
|
294
foro.php
Normal file
@ -0,0 +1,294 @@
|
||||
<?
|
||||
session_name( "EQUIPALSA" );
|
||||
$v1="user_id";
|
||||
$v2="user_name";
|
||||
$v3="user_auth";
|
||||
session_register($v1,$v2,$v3);
|
||||
session_start();
|
||||
|
||||
if ( !$user_auth ) die( "<META CONTENT=\"0; URL=error.htm\" HTTP-EQUIV=\"REFRESH\">" );
|
||||
|
||||
require ("common/config.inc.php");
|
||||
require ("common/dbnav_bar.php");
|
||||
|
||||
$limit = 8;
|
||||
if ( !isset( $offset ) ) $offset = 0;
|
||||
|
||||
// Segun TIPO selecionamos las pelis
|
||||
$conexion = mysql_connect( 'localhost', 'equipalsa_users', '06mar2002' ) OR die("No puedo conectar");
|
||||
$id = mysql_select_db( 'EQUIPALSA', $conexion ) OR die("No puedo abrir Base de Datos");
|
||||
?>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||
<title>-= foro =- </title>
|
||||
<link href="images/eq.ico" rel="SHORTCUT ICON">
|
||||
<link rel="stylesheet" type="text/css" href="eq.css" body="eq.css">
|
||||
</head>
|
||||
|
||||
<body bgcolor="#057CD8">
|
||||
|
||||
<?
|
||||
if ( !isset( $accion ) )
|
||||
{
|
||||
$qFROM = "foro WHERE post_ant is NULL";
|
||||
$consulta = "SELECT id, post_ant, owner, Apodo, fecha, hora, Asunto FROM $qFROM ORDER BY id DESC LIMIT $offset, $limit";
|
||||
CreateDBnav( $qFROM );
|
||||
$res = mysql_query( $consulta, $conexion ) OR die("No puedo realizar la consulta<br>$consulta<br>".mysql_error($conexion));
|
||||
?>
|
||||
<div align="center"><center>
|
||||
<table border="1" cellpadding="0" cellspacing="0" width="600" bgcolor="#52ABF0" bordercolor="#000000" bordercolordark="#000000" bordercolorlight="#000000">
|
||||
<tr>
|
||||
<td><table border="0" cellpadding="2" cellspacing="0" width="100%">
|
||||
<tr>
|
||||
<td valign="top" width="225">
|
||||
<p style='text-align:center'><font size="6">-foro-</font><br>
|
||||
-=[ <a href="<? echo $PHP_SELF ?>?accion=sins">Insertar nueva noticia</a> ]=-</p></td>
|
||||
<td valign="top"><table border="0" cellpadding="0" cellspacing="0" width="100%">
|
||||
<tr>
|
||||
<td> </td>
|
||||
<td width="20">
|
||||
<a href="<? echo $PHP_SELF ?>" target="_blank">
|
||||
<img src="images/exp.gif" alt="Hacer zoom (Iniciar en una ventana nueva)" align="absmiddle" border="0" width="20" height="18">
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<hr>
|
||||
<table border="0" width="100%">
|
||||
<tr bgcolor="#057CD8"><td width="80">Fecha -</td><td>Asunto</td><td width="20">Resp.</td><td width="100">Usuario</td><td width="26">.</td><td width="26">.</td></tr>
|
||||
<?
|
||||
// Bucle de NOTICIAS (Cabeceras)
|
||||
while ( $datos = mysql_fetch_array($res) )
|
||||
{
|
||||
// Contamos las respuestas (Si tiene) a este mensaje...
|
||||
$resp = mysql_query( "SELECT COUNT(*) AS Respuestas FROM foro WHERE post_ant=$datos[0]", $conexion ) or die("No puedo obtener el número de registros<br>".mysql_error($conexion));
|
||||
$NResp = mysql_result( $resp, 0, 'Respuestas' );
|
||||
|
||||
echo "<tr><td width=\"80\"><strong>$datos[4] -</td><td><a href=\"foro.php?accion=vn&nid=$datos[0]\">$datos[6]</a></strong></td>".
|
||||
"<td width=\"20\">$NResp</td>".
|
||||
"<td width=\"100\">[-<font color=\"#FFFFBB\">$datos[3]</font>-]</td>".
|
||||
"<td width=\"26\">";
|
||||
if ( $user_auth && ( $user_id == $datos[2] || $user_id == 1 ) )
|
||||
echo "<a href=\"$PHP_SELF?accion=sedit&new=$datos[0]\"><img src=\"images/edit.gif\" width=\"25\" height=\"31\" border=\"0\"></a>";
|
||||
echo "</td><td valign=\"bottom\" width=\"26\">";
|
||||
if ( $user_auth && ( $user_id == $datos[2] || $user_id == 1 ) )
|
||||
echo "'<a href=\"$PHP_SELF?accion=del&new=$datos[0]\"><img src=\"images/del.gif\" alt=\"Eliminar esta noticia\" width=\"17\" height=\"15\" border=\"0\"></a>";
|
||||
echo "</td></tr>";
|
||||
}
|
||||
// Fin del bucle de noticias (Cabeceras)
|
||||
?>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</center></div><br>
|
||||
|
||||
<?
|
||||
$navBarBox = MakeBox( GetDBnav() );
|
||||
echo $navBarBox;
|
||||
} else {
|
||||
// Muestra la pantalla de insertar...
|
||||
if ( strcmp( $accion, "sins" )==0 ||
|
||||
strcmp( $accion, "sedit" )==0 )
|
||||
{
|
||||
if ( strcmp( $accion, "sins" ) == 0 )
|
||||
{
|
||||
if ( isset( $nid ) )
|
||||
$next_action = "ins&nid=$nid";
|
||||
else
|
||||
$next_action = "ins";
|
||||
$fecha = date("Y-m-d");
|
||||
$n_user_name = $user_name;
|
||||
} else {
|
||||
$next_action = "edit&new=$new";
|
||||
// Leemos los datos actuales...
|
||||
$sql = "SELECT fecha, Apodo, Asunto, Comentario FROM foro WHERE id = $new";
|
||||
$res = mysql_query( $sql, $conexion );
|
||||
$datos = mysql_fetch_array($res);
|
||||
$fecha = $datos[0];
|
||||
$n_user_name = $datos[1];
|
||||
$p_asunto = $datos[2];
|
||||
$p_comentario = $datos[3];
|
||||
}
|
||||
?>
|
||||
<form action="<? echo "$PHP_SELF?accion=$next_action" ?>" method="POST">
|
||||
<div align="center"><center>
|
||||
<table border="1" cellpadding="0" cellspacing="0" width="600"
|
||||
bgcolor="#52ABF0" bordercolor="#000000" bordercolordark="#000000"
|
||||
bordercolorlight="#000000">
|
||||
<tr>
|
||||
<td><table border="0" cellpadding="2" cellspacing="0"
|
||||
width="100%">
|
||||
<tr>
|
||||
<td valign="top" width="225"><!--webbot
|
||||
bot="HTMLMarkup" startspan --><p style='text-align:center'><!--webbot
|
||||
bot="HTMLMarkup" endspan --><font size="6">-foro-</font><br>
|
||||
-=[ <font color="#FFFF80">Insertando nueva
|
||||
Noticia</font> ]=-<!--webbot bot="HTMLMarkup"
|
||||
startspan --></p><!--webbot bot="HTMLMarkup"
|
||||
endspan --></td>
|
||||
<td valign="top"><table border="0"
|
||||
cellpadding="0" cellspacing="0" width="100%">
|
||||
<tr>
|
||||
<td> </td>
|
||||
<td width="20"><a href="javascript:history.go(-1);"><img src="images/del.gif"
|
||||
alt="Cancelar la operaci¢n actual"
|
||||
align="absmiddle" border="0" width="20"
|
||||
height="18"></a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<hr>
|
||||
<table border="0" cellpadding="0" cellspacing="0"
|
||||
width="100%" bgcolor="#057CD8">
|
||||
<tr>
|
||||
<td><strong><? echo $fecha; ?></strong></td>
|
||||
<td><input type="text" size="40"
|
||||
name="p_asunto" value="<? echo $p_asunto ?>"></td>
|
||||
<td width="100">[<? echo $n_user_name ?>]</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center"><!--webbot
|
||||
bot="HTMLMarkup" startspan --><p style='text-align:center'><!--webbot
|
||||
bot="HTMLMarkup" endspan --><input
|
||||
type="image" name="I1"
|
||||
src="images/enviar.gif" align="bottom"
|
||||
border="0" width="20" height="71"><!--webbot
|
||||
bot="HTMLMarkup" startspan --></p><!--webbot
|
||||
bot="HTMLMarkup" endspan --></td>
|
||||
<td colspan="2"><textarea name="p_comentario"
|
||||
rows="6" cols="60"><? echo $p_comentario ?></textarea></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</center></div>
|
||||
</form>
|
||||
|
||||
<?
|
||||
}
|
||||
// Inserta los datos...
|
||||
if ( strcmp( $accion, "ins" )==0 )
|
||||
{
|
||||
if ( isset( $p_asunto ) && !empty( $p_asunto ) &&
|
||||
isset( $p_comentario ) && !empty( $p_comentario ) )
|
||||
{
|
||||
if ( $user_id != 1 ) $ps_comentario = strip_tags($p_comentario); else $ps_comentario = $p_comentario;
|
||||
if ( !isset( $nid ) )
|
||||
{
|
||||
$sql_ins = "INSERT INTO foro (owner, Apodo, fecha, hora, Asunto, Comentario)".
|
||||
"VALUES ('$user_id', '$user_name', '".date("Y-m-d")."', '".date("H:i:s")."', '$p_asunto', '$ps_comentario')";
|
||||
} else {
|
||||
$sql_ins = "INSERT INTO foro (owner, post_ant, Apodo, fecha, hora, Asunto, Comentario)".
|
||||
"VALUES ('$user_id', '$nid', '$user_name', '".date("Y-m-d")."', '".date("H:i:s")."', '$p_asunto', '$ps_comentario')";
|
||||
}
|
||||
$res = mysql_query( $sql_ins, $conexion ) OR die("No puedo realizar la Insersión en el foro<br>$sql_ins<br>".mysql_error($conexion));
|
||||
|
||||
$dev = MakeBox( "<br><p style=\"text-align:center\">Tu \"Noticia\" ha sido insertada<br>-[<a href=\"$PHP_SELF\">ver noticias</a>]-</p><br>" );
|
||||
} else {
|
||||
$dev = MakeBox( "<br><p style=\"text-align:center\">No puedo insertar una noticia VACIA.<br>-[<a href=\"$PHP_SELF\">ver noticias</a>]-</p><br>" );
|
||||
}
|
||||
echo $dev;
|
||||
}
|
||||
// Actualizamos los datos
|
||||
if ( strcmp( $accion, "edit" )==0 )
|
||||
{
|
||||
if ( isset( $p_asunto ) && !empty( $p_asunto ) &&
|
||||
isset( $p_comentario ) && !empty( $p_comentario ) )
|
||||
{
|
||||
if ( $user_id != 1 ) $ps_comentario = strip_tags($p_comentario); else $ps_comentario = $p_comentario;
|
||||
$sql_upd = "UPDATE foro SET Asunto='$p_asunto', Comentario='$p_comentario' WHERE id=$new";
|
||||
$res = mysql_query( $sql_upd, $conexion ) OR die("No puedo realizar la Actualizacion de la Noticia<br>$sql_upd<br>".mysql_error($conexion));
|
||||
$dev = MakeBox( "<br><p style=\"text-align:center\">Tu \"Noticia\" ha sido actualizada<br>-[<a href=\"$PHP_SELF\">ver noticias</a>]-</p><br>" );
|
||||
} else {
|
||||
$dev = MakeBox( "<br><p style=\"text-align:center\">No puedo modificar una noticia a VACIA.<br>-[<a href=\"$PHP_SELF\">ver noticias</a>]-</p><br>" );
|
||||
}
|
||||
echo $dev;
|
||||
}
|
||||
// Eliminamos la noticia
|
||||
if ( strcmp( $accion, "del" )==0 )
|
||||
{
|
||||
if ( isset( $new ) )
|
||||
{
|
||||
$sql_upd = "DELETE FROM foro WHERE id=$new";
|
||||
$res = mysql_query( $sql_upd, $conexion ) OR die("No puedo eliminar la Noticia<br>$sql_upd<br>".mysql_error($conexion));
|
||||
$dev = MakeBox( "<br><p style=\"text-align:center\">La \"Noticia\" ha sido eliminada<br>-[<a href=\"$PHP_SELF\">ver noticias</a>]-</p><br>" );
|
||||
} else {
|
||||
$dev = MakeBox( "<br><p style=\"text-align:center\">No estas autorizado a eliminar esa Noticia<br>-[<a href=\"$PHP_SELF\">ver noticias</a>]-</p><br>" );
|
||||
}
|
||||
echo $dev;
|
||||
}
|
||||
}
|
||||
|
||||
// VER NOTICIA
|
||||
if ( strcmp( $accion, "vn" ) == 0 )
|
||||
{
|
||||
$qFROM = "foro WHERE id=$nid OR post_ant=$nid";
|
||||
$consulta = "SELECT * FROM $qFROM ORDER BY id LIMIT $offset, $limit";
|
||||
$res = mysql_query( $consulta, $conexion ) OR die("No puedo realizar la consulta<br>$consulta<br>".mysql_error($conexion));
|
||||
|
||||
?>
|
||||
<div align="center"><center>
|
||||
<table border="1" cellpadding="0" cellspacing="0" width="600" bgcolor="#52ABF0" bordercolor="#000000" bordercolordark="#000000" bordercolorlight="#000000">
|
||||
<tr>
|
||||
<td><table border="0" cellpadding="2" cellspacing="0" width="100%">
|
||||
<tr>
|
||||
<td valign="top" width="225">
|
||||
<p style='text-align:center'><font size="6">-foro-</font><br>
|
||||
-=[ <a href="<? echo $PHP_SELF ?>?accion=sins&nid=<? echo $nid ?>">Responder a esta noticia</a> ]=-</p></td>
|
||||
<td valign="top"><table border="0" cellpadding="0" cellspacing="0" width="100%">
|
||||
<tr>
|
||||
<td> </td>
|
||||
<td width="20">
|
||||
<a href="<? echo $PHP_SELF ?>" target="_blank">
|
||||
<img src="images/exp.gif" alt="Hacer zoom (Iniciar en una ventana nueva)" align="absmiddle" border="0" width="20" height="18">
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<hr>
|
||||
<table border="0" width="100%">
|
||||
<?
|
||||
// Bucle de NOTICIAS
|
||||
while ( $datos = mysql_fetch_array($res) )
|
||||
{
|
||||
echo "<tr bgcolor=\"#057CD8\">" .
|
||||
"<td><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\">".
|
||||
"<tr><td><strong>$datos[4] - $datos[6]</strong></td>".
|
||||
"<td width=\"100\">[-<font color=\"#FFFFBB\">$datos[3]</font>-]</td>".
|
||||
"<td width=\"26\">";
|
||||
if ( $user_auth && ( $user_id == $datos[2] || $user_id == 1 ) )
|
||||
echo "<a href=\"$PHP_SELF?accion=sedit&new=$datos[0]\"><img src=\"images/edit.gif\" width=\"26\" height=\"34\" border=\"0\"></a>";
|
||||
echo "</td><td valign=\"bottom\" width=\"26\">";
|
||||
if ( $user_auth && ( $user_id == $datos[2] || $user_id == 1 ) )
|
||||
echo "'<a href=\"$PHP_SELF?accion=del&new=$datos[0]\"><img src=\"images/del.gif\" alt=\"Eliminar esta noticia\" width=\"17\" height=\"15\" border=\"0\"></a>";
|
||||
echo "</td>".
|
||||
"</tr>".
|
||||
"</table></td></tr>".
|
||||
"<tr><td><blockquote><p>". nl2br($datos[7]) ."</p></blockquote></td></tr>";
|
||||
}
|
||||
// Fin del bucle de noticias
|
||||
?>
|
||||
</table>
|
||||
<hr><center>-=[ <a href="javascript:history.go(-1);">volver al foro</a> ]=-</center><br>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</center></div><br>
|
||||
<?
|
||||
}
|
||||
mysql_close($conexion);
|
||||
|
||||
?>
|
||||
</body>
|
||||
</html>
|
60
gestion.php
Normal file
@ -0,0 +1,60 @@
|
||||
<?
|
||||
$sin_error = false;
|
||||
if ( empty($user) || empty($user_pwd) )
|
||||
{
|
||||
$sin_error = false;
|
||||
} else {
|
||||
// Comprobar que login/user sean válidos...
|
||||
$conexion = mysql_connect( 'localhost', 'equipalsa_users', '06mar2002' ) OR die("No puedo conectar");
|
||||
$id = mysql_select_db( 'EQUIPALSA', $conexion ) OR die("No puedo abrir Base de Datos");
|
||||
|
||||
$consulta = 'SELECT id, Apodo, Password FROM users WHERE Apodo = "' . $user . '"';
|
||||
$res = mysql_query( $consulta, $conexion ) OR die("No puedo realizar la consulta");
|
||||
if ( mysql_num_rows($res) > 0 )
|
||||
{
|
||||
$pwd = mysql_result( $res, 0, 'Password' );
|
||||
if ( strcmp( $pwd, $user_pwd ) == 0 )
|
||||
{
|
||||
session_name( "EQUIPALSA" );
|
||||
$v1="user_id";
|
||||
$v2="user_name";
|
||||
$v3="user_auth";
|
||||
session_register($v1,$v2,$v3);
|
||||
session_start();
|
||||
|
||||
$sin_error = true;
|
||||
$user_id = mysql_result( $res, 0, "id" );
|
||||
$user_name = $user;
|
||||
$user_auth = true;
|
||||
$sin_error = true;
|
||||
}
|
||||
}
|
||||
mysql_free_result($res);
|
||||
mysql_close($conexion);
|
||||
}
|
||||
|
||||
if ( $sin_error == false )
|
||||
{
|
||||
echo "<META CONTENT=\"0; URL=error.htm\" HTTP-EQUIV=\"REFRESH\">";
|
||||
} else {
|
||||
?>
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<script language="JavaScript" TYPE="text/javascript">
|
||||
window.status = "Coordinador de Stocks v1.0";
|
||||
</script>
|
||||
<LINK REL="SHORTCUT ICON" HREF="images/cstock.ico">
|
||||
<title>-= Coordinación de Stocks =-</title>
|
||||
</HEAD>
|
||||
<FRAMESET COLS=200,* FRAMEBORDER=NO border="0" color="#000000" NORESIZE FRAMESPACING="0" marginwidth=0 marginheight=0>
|
||||
<FRAME SCROLLING=NO NORESIZE SRC="menu.htm" NAME="menu" border=0 marginwidth=0 marginheight=0>
|
||||
<FRAMESET ROWS=*,210 FRAMEBORDER=NO border="0" NORESIZE FRAMESPACING="0" marginwidth=0 marginheight=0>
|
||||
<FRAME NORESIZE SRC="portada.htm" NAME="pizarra" border=0 marginwidth=0 marginheight=0>
|
||||
<FRAME NORESIZE SRC="news.php" NAME="preview" border=0 marginwidth=0 marginheight=4>
|
||||
</FRAMESET>
|
||||
</FRAMESET>
|
||||
<?
|
||||
}
|
||||
?>
|
||||
</HTML>
|
||||
|
BIN
images/FlechaRight02.gif
Normal file
After Width: | Height: | Size: 858 B |
BIN
images/bt-jdsoft0.gif
Normal file
After Width: | Height: | Size: 1.8 KiB |
BIN
images/bt-jdsoft1.gif
Normal file
After Width: | Height: | Size: 1.7 KiB |
BIN
images/enviar.gif
Normal file
After Width: | Height: | Size: 1.8 KiB |
BIN
images/into.gif
Normal file
After Width: | Height: | Size: 12 KiB |
BIN
images/mbot.gif
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
images/mficha0.gif
Normal file
After Width: | Height: | Size: 1.5 KiB |
BIN
images/mficha1.gif
Normal file
After Width: | Height: | Size: 1.8 KiB |
BIN
images/mforo0.gif
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
images/mforo1.gif
Normal file
After Width: | Height: | Size: 1.6 KiB |
BIN
images/minfo.gif
Normal file
After Width: | Height: | Size: 4.1 KiB |
BIN
images/minsertar0.gif
Normal file
After Width: | Height: | Size: 1.6 KiB |
BIN
images/minsertar1.gif
Normal file
After Width: | Height: | Size: 1.8 KiB |
BIN
images/mlistado0.gif
Normal file
After Width: | Height: | Size: 1.6 KiB |
BIN
images/mlistado1.gif
Normal file
After Width: | Height: | Size: 1.9 KiB |
BIN
images/mlistadog0.gif
Normal file
After Width: | Height: | Size: 1.6 KiB |
BIN
images/mlistadog1.gif
Normal file
After Width: | Height: | Size: 1.8 KiB |
BIN
images/mnews0.gif
Normal file
After Width: | Height: | Size: 1.5 KiB |
BIN
images/mnews1.gif
Normal file
After Width: | Height: | Size: 1.7 KiB |
BIN
images/mtop.gif
Normal file
After Width: | Height: | Size: 1.5 KiB |
BIN
images/separador.gif
Normal file
After Width: | Height: | Size: 43 B |
BIN
images/topd.gif
Normal file
After Width: | Height: | Size: 4.7 KiB |
BIN
images/topt.gif
Normal file
After Width: | Height: | Size: 364 B |
BIN
images/toptd.gif
Normal file
After Width: | Height: | Size: 5.0 KiB |
90
index.htm
Normal file
@ -0,0 +1,90 @@
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<meta http-equiv="Content-Type"
|
||||
content="text/html; charset=iso-8859-1">
|
||||
<title>-= Coordinación de Stocks =-</title>
|
||||
<link href="syncro.ico" rel="SHORTCUT ICON">
|
||||
<link rel="stylesheet" type="text/css" href="eq.css"
|
||||
body="eq.css">
|
||||
</head>
|
||||
|
||||
<body bgcolor="#FFFFFF">
|
||||
|
||||
<p align="center"><br>
|
||||
<br>
|
||||
</p>
|
||||
<form method="POST" name="login" action="gestion.php">
|
||||
<div align="center"><center>
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="436"
|
||||
background="images/into.gif">
|
||||
<tr>
|
||||
<td width="1"><img src="images/separador.gif" width="1"
|
||||
height="294"></td>
|
||||
<td><table border="0" cellpadding="0" cellspacing="0"
|
||||
width="100%">
|
||||
<tr>
|
||||
<td align="center"><!--webbot bot="HTMLMarkup"
|
||||
startspan --><div align="center"><!--webbot bot="HTMLMarkup"
|
||||
endspan --><font color="#FFFFFF" size="4"><strong>Coordinador
|
||||
de Stocks<!--webbot bot="HTMLMarkup" startspan --></div><!--webbot
|
||||
bot="HTMLMarkup" endspan --></strong></font></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center"><div align="center"><center><table
|
||||
border="0" width="200">
|
||||
<tr>
|
||||
<td><div align="center"><center><table
|
||||
border="0">
|
||||
<tr>
|
||||
<td><table border="0">
|
||||
<tr>
|
||||
<td><font color="#FFFFFF">Login:</font></td>
|
||||
<td><input type="text"
|
||||
size="12" name="user"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><font color="#FFFFFF">Password:</font></td>
|
||||
<td><input
|
||||
type="password" size="12"
|
||||
name="user_pwd"></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td><input type="image" name
|
||||
src="images/enviar.gif"
|
||||
alt="ENVIAR" align="bottom"
|
||||
border="0" width="20" height="71">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</center></div></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><font color="#FFFFFF">Necesario para
|
||||
actualizar tus stocks.Si no tienes,
|
||||
solicitalos!.</font></td>
|
||||
</tr>
|
||||
</table>
|
||||
</center></div></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</center></div>
|
||||
</form>
|
||||
<p align="center"><br>
|
||||
</p>
|
||||
|
||||
<p><!--webbot bot="HTMLMarkup" startspan -->
|
||||
<a href="http://jd.infdj.com/credits.htm" target="_blank">
|
||||
<img src="images/bt-jdsoft0.gif" alt="Coordinador de Stocks
 Diseñado por JDsoft
 www.infdj.com" align="right" border="0" hspace="0" width="95" height="27"
|
||||
name="bt-jdsoft"
|
||||
onmouseout="javascript:document['bt-jdsoft'].src='images/bt-jdsoft0.gif'"
|
||||
onmouseover="javascript:document['bt-jdsoft'].src='images/bt-jdsoft1.gif'">
|
||||
</a>
|
||||
<!--webbot
|
||||
bot="HTMLMarkup" endspan --></p>
|
||||
</body>
|
||||
</html>
|
81
menu.htm
Normal file
@ -0,0 +1,81 @@
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<meta http-equiv="Content-Type"
|
||||
content="text/html; charset=iso-8859-1">
|
||||
<title>Sin título Página normal</title>
|
||||
</head>
|
||||
|
||||
<body bgcolor="#057CD8">
|
||||
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="200">
|
||||
<tr>
|
||||
<td><img src="images/mtop.gif" width="200" height="38"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="news.php" target="preview"><img src="images/mnews0.gif" width="200" height="28"
|
||||
name="news" border="0"
|
||||
onmouseout="document.images['news'].src = 'images/mnews0.gif'"
|
||||
onmouseover="document.images['news'].src = 'images/mnews1.gif'"></a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="prods.php" target="pizarra"><img src="images/mlistadog0.gif" width="200"
|
||||
height="28" name="listadog" border="0"
|
||||
onmouseout="document.images['listadog'].src = 'images/mlistadog0.gif'"
|
||||
onmouseover="document.images['listadog'].src = 'images/mlistadog1.gif'"></a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="miFicha.php" target="preview"><img src="images/mficha0.gif" width="200" height="18"
|
||||
name="mficha" border="0"
|
||||
onmouseout="document.images['mficha'].src = 'images/mficha0.gif'"
|
||||
onmouseover="document.images['mficha'].src = 'images/mficha1.gif'"></a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="prods.php?tipo=mio" target="pizarra"><img src="images/mlistado0.gif" width="200"
|
||||
height="20" name="mlistado" border="0"
|
||||
onmouseout="document.images['mlistado'].src = 'images/mlistado0.gif'"
|
||||
onmouseover="document.images['mlistado'].src = 'images/mlistado1.gif'"></a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><img src="images/minsertar0.gif" width="200"
|
||||
height="28" name="minsertar"
|
||||
onmouseout="document.images['minsertar'].src = 'images/minsertar0.gif'"
|
||||
onmouseover="document.images['minsertar'].src = 'images/minsertar1.gif'"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="foro.php" target="preview"><img src="images/mforo0.gif" width="200" height="28"
|
||||
name="mforo" border="0"
|
||||
onmouseout="document.images['mforo'].src = 'images/mforo0.gif'"
|
||||
onmouseover="document.images['mforo'].src = 'images/mforo1.gif'"></a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><img src="images/mbot.gif" width="200" height="27"></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<p><br>
|
||||
<br>
|
||||
<br>
|
||||
<br>
|
||||
<br>
|
||||
<br>
|
||||
</p>
|
||||
<div align="center"><center>
|
||||
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="132"
|
||||
background="file:///C:/Mis%20documentos/WebSites/TMP-Equipalsa/images/minfo.gif">
|
||||
<tr>
|
||||
<td><!--webbot bot="HTMLMarkup" startspan --> <a href="http://jd.infdj.com/credits.htm" target="_blank">
|
||||
<img src="images/bt-jdsoft0.gif" alt="Coordinador de Stocks
 Diseñado por JDsoft
 www.infdj.com" align="right" border="0" hspace="0" width="95" height="27"
|
||||
name="bt-jdsoft"
|
||||
onmouseout="javascript:document['bt-jdsoft'].src='images/bt-jdsoft0.gif'"
|
||||
onmouseover="javascript:document['bt-jdsoft'].src='images/bt-jdsoft1.gif'">
|
||||
</a><!--webbot
|
||||
bot="HTMLMarkup" endspan --></td>
|
||||
<td width="18"><img src="images/separador.gif" width="1"
|
||||
height="96"></td>
|
||||
</tr>
|
||||
</table>
|
||||
</center></div>
|
||||
</body>
|
||||
</html>
|
167
miFicha.php
Normal file
@ -0,0 +1,167 @@
|
||||
<?
|
||||
session_name( "EQUIPALSA" );
|
||||
$v1="user_id";
|
||||
$v2="user_name";
|
||||
$v3="user_auth";
|
||||
session_register($v1,$v2,$v3);
|
||||
session_start();
|
||||
?>
|
||||
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<meta http-equiv="Content-Type"
|
||||
content="text/html; charset=iso-8859-1">
|
||||
<title>-= SYNCRO =-</title>
|
||||
<link href="syncro.ico" rel="SHORTCUT ICON">
|
||||
<link rel="stylesheet" type="text/css" href="eq.css"
|
||||
body="eq.css">
|
||||
</head>
|
||||
|
||||
<body bgcolor="#057CD8">
|
||||
|
||||
<?
|
||||
if (!empty($user_auth))
|
||||
{
|
||||
$conexion = mysql_connect( 'localhost', 'equipalsa_users', '06mar2002' ) OR die("No puedo conectar");
|
||||
$id = mysql_select_db( 'EQUIPALSA', $conexion ) OR die("No puedo abrir Base de Datos");
|
||||
|
||||
if ( isset($nombre) )
|
||||
{
|
||||
// Actualizamos la ficha...
|
||||
$sql_upd = "UPDATE users SET ";
|
||||
$sql_upd = $sql_upd . " Nombre='$nombre'";
|
||||
$sql_upd = $sql_upd . ", Apellidos='$apellidos'";
|
||||
$sql_upd = $sql_upd . ", e_Mail='$email'";
|
||||
$sql_upd = $sql_upd . ", Telefono1='$tlf1'";
|
||||
$sql_upd = $sql_upd . ", Telefono2='$tlf2'";
|
||||
$sql_upd = $sql_upd . ", Telefono3='$tlf3'";
|
||||
$sql_upd = $sql_upd . ", Telefono4='$tlf4'";
|
||||
$sql_upd = $sql_upd . ", url='$url'";
|
||||
$sql_upd = $sql_upd . ", Calle='$calle'";
|
||||
$sql_upd = $sql_upd . ", Calle2='$calle2'";
|
||||
$sql_upd = $sql_upd . ", CP='$cp'";
|
||||
$sql_upd = $sql_upd . ", Poblacion='$poblacion'";
|
||||
$sql_upd = $sql_upd . ", Provincia='$provincia'";
|
||||
$sql_upd = $sql_upd . ", Password='$pwd'";
|
||||
|
||||
$sql_upd = $sql_upd . " WHERE id = ".$user_id;
|
||||
|
||||
$res = mysql_query( $sql_upd, $conexion ) OR die("No puedo realizar las actualizaciones<br>$sql_upd<br>".mysql_error($conexion));
|
||||
} else {
|
||||
if ( isset( $info_user ) )
|
||||
$consulta = "SELECT * FROM users WHERE id = ".$info_user;
|
||||
else
|
||||
$consulta = "SELECT * FROM users WHERE id = ".$user_id;
|
||||
$res = mysql_query( $consulta, $conexion ) OR die("No puedo realizar la consulta");
|
||||
if ( mysql_num_rows($res) > 0 )
|
||||
{
|
||||
$nombre = mysql_result( $res, 0, 'Nombre' );
|
||||
$apellidos= mysql_result( $res, 0, 'Apellidos' );
|
||||
$email = mysql_result( $res, 0, 'e_Mail' );
|
||||
$tlf1 = mysql_result( $res, 0, 'Telefono1' );
|
||||
$tlf2 = mysql_result( $res, 0, 'Telefono2' );
|
||||
$tlf3 = mysql_result( $res, 0, 'Telefono3' );
|
||||
$tlf4 = mysql_result( $res, 0, 'Telefono4' );
|
||||
$url = mysql_result( $res, 0, 'url' );
|
||||
$calle = mysql_result( $res, 0, 'Calle' );
|
||||
$calle2 = mysql_result( $res, 0, 'Calle2' );
|
||||
$cp = mysql_result( $res, 0, 'CP' );
|
||||
$poblacion= mysql_result( $res, 0, 'Poblacion' );
|
||||
$provincia= mysql_result( $res, 0, 'Provincia' );
|
||||
$pwd = mysql_result( $res, 0, 'Password' );
|
||||
}
|
||||
mysql_free_result($res);
|
||||
}
|
||||
mysql_close($conexion);
|
||||
|
||||
if ( isset($info_user) ) $hidden_pwd = "hidden"; else $hidden_pwd ="";
|
||||
?>
|
||||
<form action="miFicha.php" method="POST">
|
||||
<div align="center"><center><table border="1" cellpadding="0"
|
||||
cellspacing="0" width="600" bgcolor="#057CD8"
|
||||
bordercolor="#000000" bordercolordark="#000000"
|
||||
bordercolorlight="#000000">
|
||||
<tr>
|
||||
<td><table border="0" width="100%">
|
||||
<tr>
|
||||
<td>Nombre:</td>
|
||||
<td><input type="text" size="15"
|
||||
name="nombre" value="<? echo $nombre ?>"></td>
|
||||
<td>Apellidos:</td>
|
||||
<td><input type="text" size="15"
|
||||
name="apellidos" value="<? echo $apellidos ?>"></td>
|
||||
<td>Password:</td>
|
||||
<td>
|
||||
<?
|
||||
if ( !isset($info_user) )
|
||||
echo "<input type=\"password\" size=\"15\" name=\"pwd\" value=\"$pwd\">";
|
||||
else
|
||||
echo "<input type=\"password\" size=\"15\" name=\"fpwd\" value=\"QueTeLoHasCreido\">";
|
||||
?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Telefonos:</td>
|
||||
<td><input type="text" size="12" name="tlf1" value="<? echo $tlf1 ?>"></td>
|
||||
<td><input type="text" size="12" name="tlf2" value="<? echo $tlf2 ?>"></td>
|
||||
<td><input type="text" size="12" name="tlf3" value="<? echo $tlf3 ?>"></td>
|
||||
<td>Fax:</td>
|
||||
<td><input type="text" size="15" name="tlf4" value="<? echo $tlf4 ?>"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>e-mail:</td>
|
||||
<td><input type="text" size="15" name="email" value="<? echo $email ?>"></td>
|
||||
<td> </td>
|
||||
<td>Dirección pág. WEB:</td>
|
||||
<td colspan="2"><input type="text" size="25"
|
||||
name="url" value="<? echo $url ?>"></td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<? if ( !isset($info_user) ){ ?>
|
||||
<hr>
|
||||
<table border="0" width="100%">
|
||||
<tr>
|
||||
<td><table border="0">
|
||||
<tr>
|
||||
<td>Calle</td>
|
||||
<td><input type="text" size="30"
|
||||
name="calle" value="<? echo $calle ?>"></td>
|
||||
|
||||
<td> </td>
|
||||
|
||||
<td><input type="text" size="30"
|
||||
name="calle2" value="<? echo $calle2 ?>"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Población:</td>
|
||||
<td><input type="text" size="15"
|
||||
name="poblacion" value="<? echo $poblacion ?>"></td>
|
||||
<td>Provincia:</td>
|
||||
<td><input type="text" size="10"
|
||||
name="provincia" value="<? echo $provincia ?>"> CP: <input type="text" size="10"
|
||||
name="cp" value="<? echo $cp ?>"></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td><input type="image" name="I1"
|
||||
src="images/enviar.gif" alt="ENVIAR"
|
||||
align="bottom" border="0" width="20"
|
||||
height="71"></td>
|
||||
</tr>
|
||||
</table>
|
||||
<?
|
||||
}
|
||||
?>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</center></div>
|
||||
</form>
|
||||
|
||||
<?
|
||||
}
|
||||
?>
|
||||
</body>
|
||||
</html>
|
222
news.php
Normal file
@ -0,0 +1,222 @@
|
||||
<?
|
||||
session_name( "EQUIPALSA" );
|
||||
$v1="user_id";
|
||||
$v2="user_name";
|
||||
$v3="user_auth";
|
||||
session_register($v1,$v2,$v3);
|
||||
session_start();
|
||||
|
||||
require ("common/config.inc.php");
|
||||
require ("common/dbnav_bar.php");
|
||||
|
||||
$limit = 8;
|
||||
if ( !isset( $offset ) ) $offset = 0;
|
||||
|
||||
// Segun TIPO selecionamos las pelis
|
||||
$conexion = mysql_connect( 'localhost', 'equipalsa_users', '06mar2002' ) OR die("No puedo conectar");
|
||||
$id = mysql_select_db( 'EQUIPALSA', $conexion ) OR die("No puedo abrir Base de Datos");
|
||||
?>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||
<title>-= SYNCRO news =- </title>
|
||||
<link href="images/syncro.ico" rel="SHORTCUT ICON">
|
||||
<link rel="stylesheet" type="text/css" href="eq.css" body="eq.css">
|
||||
</head>
|
||||
|
||||
<body bgcolor="#057CD8">
|
||||
|
||||
<?
|
||||
if ( !isset( $accion ) )
|
||||
{
|
||||
$qFROM = "news";
|
||||
$consulta = "SELECT * FROM $qFROM ORDER BY id DESC LIMIT $offset, $limit";
|
||||
CreateDBnav( $qFROM );
|
||||
$res = mysql_query( $consulta, $conexion ) OR die("No puedo realizar la consulta<br>$consulta<br>".mysql_error($conexion));
|
||||
?>
|
||||
<div align="center"><center>
|
||||
<table border="1" cellpadding="0" cellspacing="0" width="600" bgcolor="#52ABF0" bordercolor="#000000" bordercolordark="#000000" bordercolorlight="#000000">
|
||||
<tr>
|
||||
<td><table border="0" cellpadding="2" cellspacing="0" width="100%">
|
||||
<tr>
|
||||
<td valign="top" width="225">
|
||||
<p style='text-align:center'><font size="4">Coordinador -news-</font><br>
|
||||
<?
|
||||
if ( $user_id == 1 )
|
||||
echo "-=[ <a href=\"$PHP_SELF?accion=sins\">Insertar nueva noticia</a> ]=-";
|
||||
?></p></td>
|
||||
<td valign="top"><table border="0" cellpadding="0" cellspacing="0" width="100%">
|
||||
<tr>
|
||||
<td> </td>
|
||||
<td width="20">
|
||||
<a href="<? echo $PHP_SELF ?>" target="_blank">
|
||||
<img src="images/exp.gif" alt="Hacer zoom (Iniciar en una ventana nueva)" align="absmiddle" border="0" width="20" height="18">
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<hr>
|
||||
<table border="0" width="100%">
|
||||
<?
|
||||
// Bucle de NOTICIAS
|
||||
while ( $datos = mysql_fetch_array($res) )
|
||||
{
|
||||
echo "<tr>" .
|
||||
"<td><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\">".
|
||||
"<tr><td><strong>$datos[3] - $datos[5]</strong></td>".
|
||||
"<td width=\"100\">[-<font color=\"#FFFFBB\">$datos[2]</font>-]</td>".
|
||||
"<td width=\"26\">";
|
||||
if ( $user_auth && ( $user_id == $datos[1] || $user_id == 1 ) )
|
||||
echo "<a href=\"$PHP_SELF?accion=sedit&new=$datos[0]\"><img src=\"images/edit.gif\" width=\"26\" height=\"34\" border=\"0\"></a>";
|
||||
echo "</td><td valign=\"bottom\" width=\"26\">";
|
||||
if ( $user_auth && ( $user_id == $datos[1] || $user_id == 1 ) )
|
||||
echo "'<a href=\"$PHP_SELF?accion=del&new=$datos[0]\"><img src=\"images/del.gif\" alt=\"Eliminar esta noticia\" width=\"17\" height=\"15\" border=\"0\"></a>";
|
||||
echo "</td>".
|
||||
"</tr>".
|
||||
"</table></td></tr>".
|
||||
"<tr><td><blockquote><p>".nl2br($datos[6])."</p></blockquote></td></tr>";
|
||||
}
|
||||
// Fin del bucle de noticias
|
||||
?>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</center></div><br>
|
||||
|
||||
<?
|
||||
$navBarBox = MakeBox( GetDBnav() );
|
||||
echo $navBarBox;
|
||||
} else {
|
||||
// Muestra la pantalla de insertar...
|
||||
if ( strcmp( $accion, "sins" )==0 ||
|
||||
strcmp( $accion, "sedit" )==0 )
|
||||
{
|
||||
if ( strcmp( $accion, "sins" ) == 0 )
|
||||
{
|
||||
$next_action = "ins";
|
||||
$fecha = date("Y-m-d");
|
||||
$n_user_name = $user_name;
|
||||
} else {
|
||||
$next_action = "edit&new=$new";
|
||||
// Leemos los datos actuales...
|
||||
$sql = "SELECT fecha, Apodo, Asunto, Comentario FROM news WHERE id = $new";
|
||||
$res = mysql_query( $sql, $conexion );
|
||||
$datos = mysql_fetch_array($res);
|
||||
$fecha = $datos[0];
|
||||
$n_user_name = $datos[1];
|
||||
$p_asunto = $datos[2];
|
||||
$p_comentario = $datos[3];
|
||||
}
|
||||
?>
|
||||
<form action="<? echo "$PHP_SELF?accion=$next_action" ?>" method="POST">
|
||||
<div align="center"><center>
|
||||
<table border="1" cellpadding="0" cellspacing="0" width="600"
|
||||
bgcolor="#52ABF0" bordercolor="#000000" bordercolordark="#000000"
|
||||
bordercolorlight="#000000">
|
||||
<tr>
|
||||
<td><table border="0" cellpadding="2" cellspacing="0"
|
||||
width="100%">
|
||||
<tr>
|
||||
<td valign="top" width="225"><!--webbot
|
||||
bot="HTMLMarkup" startspan --><p style='text-align:center'><!--webbot
|
||||
bot="HTMLMarkup" endspan --><font size="6">SyNcro
|
||||
-news-</font><br>
|
||||
-=[ <font color="#FFFF80">Insertando nueva
|
||||
Noticia</font>]=-<!--webbot bot="HTMLMarkup"
|
||||
startspan --></p><!--webbot bot="HTMLMarkup"
|
||||
endspan --></td>
|
||||
<td valign="top"><table border="0"
|
||||
cellpadding="0" cellspacing="0" width="100%">
|
||||
<tr>
|
||||
<td> </td>
|
||||
<td width="20"><a href="<? echo $PHP_SELF ?>"><img src="images/del.gif"
|
||||
alt="Cancelar la operaci¢n actual"
|
||||
align="absmiddle" border="0" width="20"
|
||||
height="18"></a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<hr>
|
||||
<table border="0" cellpadding="0" cellspacing="0"
|
||||
width="100%">
|
||||
<tr>
|
||||
<td><strong><? echo $fecha; ?></strong></td>
|
||||
<td><input type="text" size="40"
|
||||
name="p_asunto" value="<? echo $p_asunto ?>"></td>
|
||||
<td width="100">[<? echo $n_user_name ?>]</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center"><!--webbot
|
||||
bot="HTMLMarkup" startspan --><p style='text-align:center'><!--webbot
|
||||
bot="HTMLMarkup" endspan --><input
|
||||
type="image" name="I1"
|
||||
src="images/enviar.gif" align="bottom"
|
||||
border="0" width="20" height="71"><!--webbot
|
||||
bot="HTMLMarkup" startspan --></p><!--webbot
|
||||
bot="HTMLMarkup" endspan --></td>
|
||||
<td colspan="2"><textarea name="p_comentario"
|
||||
rows="6" cols="60"><? echo $p_comentario ?></textarea></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</center></div>
|
||||
</form>
|
||||
|
||||
<?
|
||||
}
|
||||
// Inserta los datos...
|
||||
if ( strcmp( $accion, "ins" )==0 )
|
||||
{
|
||||
if ( isset( $p_asunto ) && !empty( $p_asunto ) &&
|
||||
isset( $p_comentario ) && !empty( $p_comentario ) )
|
||||
{
|
||||
$sql_ins = "INSERT INTO news (owner, Apodo, fecha, hora, Asunto, Comentario)".
|
||||
"VALUES ('$user_id', '$user_name', '".date("Y-m-d")."', '".date("H:i:s")."', '$p_asunto', '$p_comentario')";
|
||||
$res = mysql_query( $sql_ins, $conexion ) OR die("No puedo realizar la Insersión de NEWS<br>$sql_ins<br>".mysql_error($conexion));
|
||||
|
||||
$dev = MakeBox( "<br><p style=\"text-align:center\">Tu \"Noticia\" ha sido insertada<br>-[<a href=\"$PHP_SELF\">ver noticias</a>]-</p><br>" );
|
||||
} else {
|
||||
$dev = MakeBox( "<br><p style=\"text-align:center\">No puedo insertar una noticia VACIA.<br>-[<a href=\"$PHP_SELF\">ver noticias</a>]-</p><br>" );
|
||||
}
|
||||
echo $dev;
|
||||
}
|
||||
// Actualizamos los datos
|
||||
if ( strcmp( $accion, "edit" )==0 )
|
||||
{
|
||||
if ( isset( $p_asunto ) && !empty( $p_asunto ) &&
|
||||
isset( $p_comentario ) && !empty( $p_comentario ) )
|
||||
{
|
||||
$sql_upd = "UPDATE news SET Asunto='$p_asunto', Comentario='$p_comentario' WHERE id=$new";
|
||||
$res = mysql_query( $sql_upd, $conexion ) OR die("No puedo realizar la Actualizacion de la Noticia<br>$sql_upd<br>".mysql_error($conexion));
|
||||
$dev = MakeBox( "<br><p style=\"text-align:center\">Tu \"Noticia\" ha sido actualizada<br>-[<a href=\"$PHP_SELF\">ver noticias</a>]-</p><br>" );
|
||||
} else {
|
||||
$dev = MakeBox( "<br><p style=\"text-align:center\">No puedo modificar una noticia a VACIA.<br>-[<a href=\"$PHP_SELF\">ver noticias</a>]-</p><br>" );
|
||||
}
|
||||
echo $dev;
|
||||
}
|
||||
// Eliminamos la noticia
|
||||
if ( strcmp( $accion, "del" )==0 )
|
||||
{
|
||||
if ( isset( $new ) )
|
||||
{
|
||||
$sql_upd = "DELETE FROM news WHERE id=$new";
|
||||
$res = mysql_query( $sql_upd, $conexion ) OR die("No puedo eliminar la Noticia<br>$sql_upd<br>".mysql_error($conexion));
|
||||
$dev = MakeBox( "<br><p style=\"text-align:center\">La \"Noticia\" ha sido eliminada<br>-[<a href=\"$PHP_SELF\">ver noticias</a>]-</p><br>" );
|
||||
} else {
|
||||
$dev = MakeBox( "<br><p style=\"text-align:center\">No estas autorizado a eliminar esa Noticia<br>-[<a href=\"$PHP_SELF\">ver noticias</a>]-</p><br>" );
|
||||
}
|
||||
echo $dev;
|
||||
}
|
||||
}
|
||||
mysql_close($conexion);
|
||||
?>
|
||||
</body>
|
||||
</html>
|
114
plantilla.htm
Normal file
@ -0,0 +1,114 @@
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<meta http-equiv="Content-Type"
|
||||
content="text/html; charset=iso-8859-1">
|
||||
<meta name="GENERATOR" content="Microsoft FrontPage Express 2.0">
|
||||
<title>-= Coordinación de Stocks =-</title>
|
||||
<link href="syncro.ico" rel="SHORTCUT ICON">
|
||||
<link rel="stylesheet" type="text/css" href="eq.css"
|
||||
body="eq.css">
|
||||
</head>
|
||||
|
||||
<body bgcolor="#057CD8" topmargin="0" leftmargin="0">
|
||||
|
||||
<p align="center"><br>
|
||||
</p>
|
||||
<div align="center"><center>
|
||||
|
||||
<table border="1" cellpadding="0" cellspacing="0" width="600"
|
||||
bordercolordark="#DDDDDD" bordercolorlight="#000080">
|
||||
<tr>
|
||||
<td><p> </p>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</center></div>
|
||||
|
||||
<p align="center"><br>
|
||||
</p>
|
||||
<div align="center"><center>
|
||||
|
||||
<table border="1" cellpadding="0" cellspacing="0" width="600"
|
||||
bordercolordark="#DDDDDD" bordercolorlight="#000080">
|
||||
<tr>
|
||||
<td width="70" bgcolor="#000080"><font color="#FFFFFF">Familia</font></td>
|
||||
<td width="100" bgcolor="#000080"><font color="#FFFFFF">Código</font></td>
|
||||
<td width="380" bgcolor="#000080"><font color="#FFFFFF">Descripción</font></td>
|
||||
<td width="50" bgcolor="#000080"><font color="#FFFFFF"></font> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="70"> </td>
|
||||
<td> </td>
|
||||
<td width="380"> </td>
|
||||
<td width="50"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="70"> </td>
|
||||
<td> </td>
|
||||
<td width="380"> </td>
|
||||
<td width="50"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="70"> </td>
|
||||
<td> </td>
|
||||
<td width="380"> </td>
|
||||
<td width="50"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="70"> </td>
|
||||
<td> </td>
|
||||
<td width="380"> </td>
|
||||
<td width="50"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="70"> </td>
|
||||
<td> </td>
|
||||
<td width="380"> </td>
|
||||
<td width="50"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="70"> </td>
|
||||
<td> </td>
|
||||
<td width="380"> </td>
|
||||
<td width="50"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="70"> </td>
|
||||
<td> </td>
|
||||
<td width="380"> </td>
|
||||
<td width="50"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="70"> </td>
|
||||
<td> </td>
|
||||
<td width="380"> </td>
|
||||
<td width="50"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="70"> </td>
|
||||
<td> </td>
|
||||
<td width="380"> </td>
|
||||
<td width="50"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="70"> </td>
|
||||
<td> </td>
|
||||
<td width="380"> </td>
|
||||
<td width="50"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="70"> </td>
|
||||
<td> </td>
|
||||
<td width="380"> </td>
|
||||
<td width="50"> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</center></div>
|
||||
|
||||
<p align="center"><br>
|
||||
</p>
|
||||
|
||||
<p> </p>
|
||||
</body>
|
||||
</html>
|
22
portada.htm
Normal file
@ -0,0 +1,22 @@
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<meta http-equiv="Content-Type"
|
||||
content="text/html; charset=iso-8859-1">
|
||||
<meta name="GENERATOR" content="Microsoft FrontPage Express 2.0">
|
||||
<title>-= Coordinación de Stocks =-</title>
|
||||
<link href="syncro.ico" rel="SHORTCUT ICON">
|
||||
<link rel="stylesheet" type="text/css" href="eq.css"
|
||||
body="eq.css">
|
||||
</head>
|
||||
|
||||
<body bgcolor="#057CD8">
|
||||
|
||||
<p align="center"><br>
|
||||
<br>
|
||||
<img src="images/carretillas.gif" width="364" height="234"></p>
|
||||
<p align="center"><br>
|
||||
Estas páginas estan preparadas para una resolución de 1024x768, aunque fueron pensadas para su correcto funcionamiento en 800x600, con una configuración de barra de herramientas SIN TITULOS y la barra de direccion anexa a la de herramientas.
|
||||
</p>
|
||||
</body>
|
||||
</html>
|
19
sql/Leeme.txt
Normal file
@ -0,0 +1,19 @@
|
||||
Este directorio contiene los ficheros que pueden ser usados para configurar la base de datos 'EQUIPALSA' que será usada por dichas páginas.
|
||||
|
||||
Lo primero que debemos hacer, es crear la base de datos usando el programa 'mysql':
|
||||
|
||||
mysql> CREATE DATABASE EQUIPALSA;
|
||||
mysql> USE EQUIPALSA;
|
||||
|
||||
Para crear las tablas necesarias:
|
||||
|
||||
% mysql -p EQUIPALSA < cr_users_tbl.sql
|
||||
% mysql -p EQUIPALSA < cr_prod_tbl.sql
|
||||
% mysql -p EQUIPALSA < cr_pelis_user_tbl.sql
|
||||
% mysql -p EQUIPALSA < cr_news_tbl.sql
|
||||
% mysql -p EQUIPALSA < cr_foro_tbl.sql
|
||||
|
||||
Para asignar los permisos:
|
||||
% mysql -p SYNCRO < cr_global_key.sql
|
||||
|
||||
|
0
sql/Pruebas.txt
Normal file
28
sql/cr_foro_tbl.sql
Normal file
@ -0,0 +1,28 @@
|
||||
# drop the "foro" table if it exists, then recreate it
|
||||
|
||||
DROP TABLE IF EXISTS foro;
|
||||
|
||||
CREATE TABLE foro
|
||||
(
|
||||
# /********************\
|
||||
#|* Datos Básicos *|
|
||||
# \********************/
|
||||
id SMALLINT UNSIGNED NOT NULL AUTO_INCREMENT,
|
||||
post_ant SMALLINT,
|
||||
owner SMALLINT,
|
||||
Apodo VARCHAR(15),
|
||||
fecha DATE,
|
||||
hora TIME,
|
||||
Asunto VARCHAR(40),
|
||||
Comentario TEXT,
|
||||
|
||||
# /************************\
|
||||
#|* CLAVES PK, SK *|
|
||||
# \************************/
|
||||
|
||||
PRIMARY KEY (id)
|
||||
);
|
||||
|
||||
# Cargamos otros datos suministrados por defecto...
|
||||
# LOAD DATA LOCAL INFILE "foro.txt" INTO TABLE personas;
|
||||
|
9
sql/cr_global_key.sql
Normal file
@ -0,0 +1,9 @@
|
||||
#########################################
|
||||
# Definimos 3 Nuevos USUARIOS #
|
||||
# #
|
||||
################# PERMISOS ESPECIFICOS ##
|
||||
##
|
||||
GRANT ALL PRIVILEGES ON SYNCRO.* to syncro_users@localhost
|
||||
IDENTIFIED BY '29dic2001' WITH GRANT OPTION;
|
||||
GRANT ALL PRIVILEGES ON SYNCRO.* to syncro_users@"%"
|
||||
IDENTIFIED BY '29dic2001' WITH GRANT OPTION;
|
27
sql/cr_news_tbl.sql
Normal file
@ -0,0 +1,27 @@
|
||||
# drop the "pelis" table if it exists, then recreate it
|
||||
|
||||
DROP TABLE IF EXISTS news;
|
||||
|
||||
CREATE TABLE news
|
||||
(
|
||||
# /********************\
|
||||
#|* Datos Básicos *|
|
||||
# \********************/
|
||||
id SMALLINT UNSIGNED NOT NULL AUTO_INCREMENT,
|
||||
owner SMALLINT,
|
||||
Apodo VARCHAR(15),
|
||||
fecha DATE,
|
||||
hora TIME,
|
||||
Asunto VARCHAR(40),
|
||||
Comentario TEXT,
|
||||
|
||||
# /************************\
|
||||
#|* CLAVES PK, SK *|
|
||||
# \************************/
|
||||
|
||||
PRIMARY KEY (id)
|
||||
);
|
||||
|
||||
# Cargamos otros datos suministrados por defecto...
|
||||
# LOAD DATA LOCAL INFILE "pelis.txt" INTO TABLE personas;
|
||||
|
25
sql/cr_prod_tbl.sql
Normal file
@ -0,0 +1,25 @@
|
||||
# drop the "prod" table if it exists, then recreate it
|
||||
|
||||
DROP TABLE IF EXISTS prod;
|
||||
|
||||
CREATE TABLE prod
|
||||
(
|
||||
# /********************\
|
||||
#|* Datos Básicos *|
|
||||
# \********************/
|
||||
id SMALLINT UNSIGNED NOT NULL AUTO_INCREMENT,
|
||||
familia SMALLINT,
|
||||
desc VARCHAR(30),
|
||||
Imagen BLOB,
|
||||
filetype VARCHAR(50)
|
||||
|
||||
# /************************\
|
||||
#|* CLAVES PK, SK *|
|
||||
# \************************/
|
||||
|
||||
PRIMARY KEY (id),
|
||||
);
|
||||
|
||||
# Cargamos otros datos suministrados por defecto...
|
||||
# LOAD DATA LOCAL INFILE "pelis.txt" INTO TABLE personas;
|
||||
|
20
sql/cr_prod_users_tbl.sql
Normal file
@ -0,0 +1,20 @@
|
||||
# drop the "prod_user" table if it exists, then recreate it
|
||||
|
||||
DROP TABLE IF EXISTS prod_user;
|
||||
|
||||
CREATE TABLE prod_user
|
||||
(
|
||||
# /********************\
|
||||
#|* Datos Básicos *|
|
||||
# \********************/
|
||||
user SMALLINT UNSIGNED NOT NULL REFERENCES users,
|
||||
prod SMALLINT UNSIGNED NOT NULL REFERENCES prod,
|
||||
stock SMALLINT
|
||||
|
||||
PRIMARY KEY (user, prod)
|
||||
|
||||
);
|
||||
|
||||
# Cargamos otros datos suministrados por defecto...
|
||||
# LOAD DATA LOCAL INFILE "pelis_user.txt" INTO TABLE personas;
|
||||
|
43
sql/cr_users_tbl.sql
Normal file
@ -0,0 +1,43 @@
|
||||
# drop the "personas" table if it exists, then recreate it
|
||||
|
||||
DROP TABLE IF EXISTS users;
|
||||
|
||||
CREATE TABLE users
|
||||
(
|
||||
# /********************\
|
||||
#|* Datos Básicos *|
|
||||
# \********************/
|
||||
id SMALLINT UNSIGNED NOT NULL AUTO_INCREMENT,
|
||||
Empresa VARCHAR(30) NOT NULL,
|
||||
Nombre VARCHAR(15),
|
||||
Apellidos VARCHAR(30),
|
||||
|
||||
Telefono1 VARCHAR(15),
|
||||
Telefono2 VARCHAR(15),
|
||||
Telefono3 VARCHAR(15),
|
||||
Telefono4 VARCHAR(15),
|
||||
e_Mail VARCHAR(30),
|
||||
url VARCHAR(50),
|
||||
Calle VARCHAR(25),
|
||||
Calle2 VARCHAR(25),
|
||||
Num VARCHAR(4),
|
||||
Piso VARCHAR(2),
|
||||
Letra VARCHAR(2),
|
||||
Poblacion VARCHAR(20),
|
||||
Provincia VARCHAR(15),
|
||||
CP SMALLINT,
|
||||
|
||||
Password VARCHAR(15),
|
||||
|
||||
Imagen BLOB,
|
||||
|
||||
# /************************\
|
||||
#|* CLAVES PK, SK *|
|
||||
# \************************/
|
||||
|
||||
PRIMARY KEY (id)
|
||||
);
|
||||
|
||||
# Cargamos otros datos suministrados por defecto...
|
||||
# LOAD DATA LOCAL INFILE "personas.txt" INTO TABLE personas;
|
||||
|
18
test.htm
Normal file
@ -0,0 +1,18 @@
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<script language="JavaScript" TYPE="text/javascript">
|
||||
window.status = "Coordinador de Stocks v1.0";
|
||||
</script>
|
||||
<LINK REL="SHORTCUT ICON" HREF="images/cstock.ico">
|
||||
<title>-= Coordinación de Stocks =-</title>
|
||||
</HEAD>
|
||||
<FRAMESET COLS=200,* FRAMEBORDER=NO border="0" color="#000000" NORESIZE FRAMESPACING="0" marginwidth=0 marginheight=0>
|
||||
<FRAME SCROLLING=NO NORESIZE SRC="menu.htm" NAME="menu" border=0 marginwidth=0 marginheight=0>
|
||||
<FRAMESET ROWS=*,210 FRAMEBORDER=NO border="0" NORESIZE FRAMESPACING="0" marginwidth=0 marginheight=0>
|
||||
<FRAME NORESIZE SRC="portada.htm" NAME="pizarra" border=0 marginwidth=0 marginheight=0>
|
||||
<FRAME NORESIZE SRC="news.php" NAME="preview" border=0 marginwidth=0 marginheight=4>
|
||||
</FRAMESET>
|
||||
</FRAMESET>
|
||||
|
||||
</HTML>
|
||||
|