<?
 require( "addons/open_db.php" );
 require( "addons/autenticate.php" );

// require("addons/lbox.php");
 require("addons/cbox.php");
?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Inform&aacute;tica D.J. programadores :: w w w . i n f d j . c o m ::</title>
<link rel="stylesheet" type="text/css" href="addons/infdj.css" body="addons/infdj.css">

<script language="JavaScript" src="addons/cb.js"></script>
<script language="javascript">baseA = "";</script>
<script language="javascript" src="addons/menu_bar/sniffer.js"></script>
<script language="javascript1.2" src="addons/menu_bar/custom.js"></script>
<script language="javascript1.2" src="addons/menu_bar/style.js"></script>

<?
  echo "<script language=\"JavaScript\">numNew=".getNumNews().";var level=";
  if ( isset( $user_level ) ) echo "$user_level"; else echo "0";
  echo ";</script>";
?>
</head>

<body bgcolor="#FFFFFF" text="#FFFFFF" topmargin="0"
leftmargin="0" ondragstart="return false" onselectstart="return false" oncontextmenu="return false">
<div
align="center"><center>
<table border="0" cellpadding="0" cellspacing="0" width="769"   background="images/bg.jpg">
    <tr>
        <td width="1" bgcolor="#FFFFFF" ><img src="images/sep.gif" width="1"
        height="1"></td>
        <td valign="top" width="777" bgcolor="#FFFFFF"><table border="0"
        cellpadding="0" cellspacing="0" width="100%">
            <tr>
                <td width="10">&nbsp;</td>
                <td width="76"><img src="images/bm_logo_sup.gif"
                width="76" height="77"></td>
                <td valign="top" width="186"><a href="<?echo "$PHP_SELF";?>"><img
                src="images/txt_infdj.gif" width="186"
                height="37" border="0"></a></td>
                <td align="center" style="text-align='center'">[ESPACIO
                RESERVADO]</td>
            </tr>
        </table>
        </td>
        <td width="1" bgcolor="#FFFFFF"><img src="images/sep.gif" width="1" height="1"></td>
    </tr>
    <tr>
        <td background="images/ln.gif"><img src="images/ln.gif"
        width="1" height="500"></td>

        <td valign="top"><table border="0" cellpadding="0"
        cellspacing="0" width="100%">
            <tr>
                <td width="10"><img src="images/bm_med.gif"
                width="10" height="29"></td>
                <td width="76"><img src="images/bm_logo_med.gif"
                width="76" height="29"></td>
                <td width="130"
                background="images/bm_crist_med.gif"
                class="cristal"><img src="images/bm_med.gif"
                align="absmiddle" width="10" height="29"><img
                src="images/bm_crist_izq.gif" align="absmiddle"
                width="10" height="29"><? if ( isset($user_name) ) echo $user_name; else echo date("d-M-Y" );?></td>
                <td background="images/bm_med.gif"><img
                src="images/bm_crist_der.gif" width="10"
                height="29" align="absmiddle"><img src="sep.gif" name="anchor" alt="" border=0 width=5 height=20 align="absmiddle"></td>
            </tr>
        </table>
        <table border="0" cellpadding="0" cellspacing="0"
        width="100%">
            <tr>
                <td width="10"><img src="images/bm_minf.gif"
                width="10" height="30"></td>
                <td width="76"><img src="images/bm_logo_inf.gif"
                width="76" height="30"></td>
                <td width="130"
                background="images/bm_crist_medinf.gif"><img
                src="images/bm_minf.gif" align="absmiddle"
                width="10" height="30"><img
                src="images/bm_crist_izqinf.gif"
                align="absmiddle" width="10" height="30"></td>
                <td background="images/bm_minf.gif"><img
                src="images/bm_crist_derinf.gif"
                align="absmiddle" width="10" height="30">Mas
                pruebas</td>
            </tr>
        </table>

        <table border="0" cellpadding="5" cellspacing="0"
        width="100%">
            <tr>
                <td>        
<p><br><br></p>
                <table border="0">
                    <tr>
                        <td><img src="images/sep.gif" width="5"
                        height="5"></td>
                    </tr>
                </table>
<script language="javascript" src="addons/box_noticias.js"></script>
                <table border="0">
                    <tr>
                        <td><img src="images/sep.gif" width="5"
                        height="5"></td>
                    </tr>
                </table>
<?
if ( ! $user_auth )
 echo '<script language="javascript" src="addons/box_ident.js"></script>';
?>
              <table border="0">
                    <tr>
                        <td><img src="images/sep.gif" width="5"
                        height="5"></td>
                    </tr>
                </table>
<script language="javascript" src="addons/box_enlaces.js"></script>
                <table border="0">
                    <tr>
                        <td><img src="images/sep.gif" width="5"
                        height="5"></td>
                    </tr>
                </table>
<script language="javascript" src="addons/box_miniChat.js"></script>
                </td>
                <td valign="top">
<?
   if ( isset($go) ) 
   {
	if ( file_exists( "pages/$go" ) )
			require("pages/$go");
	else
			echo "<CENTER>la pagina no esta disponible</center>";
   } else
	require('./default.php');
?> </td>
            </tr>
        </table>
        <p><br>
        </p>
        </td>
        <td background="images/ln.gif"><img src="images/sep.gif"
        width="1" height="1"></td>
    </tr>
    <tr>
        <td bgcolor="#000000"><img src="images/sep.gif" width="1"
        height="1"></td>
        <td align="right" valign="top" bgcolor="#000000"
        class="litt" style="text-align:right;margin-right:5.0pt">::
        copyright © 1999 - 2002 <a href="http://jd.infdj.com"
        class="litt">JDsoft</a> ::</td>
        <td bgcolor="#000000"><img src="images/sep.gif" width="1"
        height="1"></td>
    </tr>
</table>
</center></div>

<p><br>
</p>

<script language="javascript1.2" src="addons/menu_bar/menu.js"></script>

</body>
</html>
<?
 mysql_close($conexion);
?>
