<?php /*echo('<pre>'); print_r($_REQUEST); echo('</pre>');*/ require_once 'config.php'; require_once 'funciones.php'; if (!isset($_REQUEST['liga'])) { exit('ERROR: Liga No seteada'); } ?> <div id="liga_body"> <?php switch ($_REQUEST['accion']) { case 'tabla_jug': echo tablas_jugadores($_REQUEST['liga'], NULL, "id=\"tablacuadricula\"", "class=\"ui-state-default\"", NULL, $tabla, "class=\"htrestitle\"", $ah3, $divin, $ul, $li); echo "</div>"; echo "<img src=\"icons/accept.png\" onload='\$(\"#tablacuadricula\").sortable(); \$(\"#tablacuadricula\").disableSelection()' />"; break; case 'grafico': echo grafico_liga($_REQUEST['liga']); break; default: echo "<div id=\"lista_partidos\">"; echo lista_partidos(nombreliga($_REQUEST['liga']), partidos($_REQUEST['liga'], 10, $_REQUEST['pag'], NULL), NULL, NULL, "class=\"htrestitle\"", "class=\"fbbodyderul\"", NULL, "class=\"fbbodyderfbfecha\""); echo lista_partidos_menu($_REQUEST['liga'], 10, $_REQUEST['pag'], NULL, "href=\"javascript: div_ajax_post('liga_page.php',\$('#body_der')[0],{liga: '" . $_REQUEST['liga'] . "', pag: '\$pag' })\"", NULL, NULL, NULL); echo "</div>"; break; } ?>
</head> <body> <div id="todo"> <div id="header"><a href="<?php echo $basepage; ?> "><img src="logo1.jpg" ></a></div> <div class="fbmenu"> <a href="#" class="fbtab">Partidos</a> <a href="#" class="fbtab">Jugadores</a> <a href="#" class="fbtab">Estadisticas</a> <a href="#" class="fbtab">Tabla Liga</a> </div> <div id="cuerpo"> <?php echo tablas_jugadores($_GET['liga'], "class=\"accordion\"", NULL, $tabla, $h3, $ah3, $divin, $ul, $li); echo lista_partidos(nombreliga($_GET['liga']), partidos($_GET['liga'], 10, $_GET['pag'], NULL), NULL, NULL, NULL, NULL, NULL); echo lista_partidos_menu($_GET['liga'], 10, $_GET['pag'], NULL, $basepage . "/liga_page.php", NULL, NULL, NULL); ?> </div> <script type="text/javascript"> FB.init("<?php echo $appapikey; ?> ", "xd_receiver.htm"); </script> </body> </html>