|    
			
				28/10/2007, 00:57
			
			
			  | 
  |   |  |  |  |  Fecha de Ingreso: septiembre-2007 Ubicación: Funes , Argentina 
						Mensajes: 204
					 Antigüedad: 18 años, 1 mes Puntos: 0 |  | 
  |  Re: resultados de encuesta en popup  
  pordon pero soy medio lento para esto de la programacion , vos lo que me decis del $_get que puse al principio del switch de phpmira aca te muestro el codigo fuente completo
 portada
 
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml2/DTD/xhtml1-strict.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
 <head><SCRIPT>
 var mydate=new Date();
 var year=mydate.getYear(); if (year < 1000) year+=1900; var
 day=mydate.getDay(); var month=mydate.getMonth(); var
 daym=mydate.getDate(); if (daym<10) daym="0"+daym; var
 dayarray=new Array("Domingo","Lunes","Martes","Miercoles",
 "Jueves","Viernes","Sábado");
 var montharray=new Array("Enero","Febrero","Marzo","Abril",
 "Mayo","Junio","Julio","Agosto","Septiembre","Octu  bre",
 "Noviembre","Diciembre"); </SCRIPT>
 <script type="text/javascript">
 function opensite(url) {
 window.open(url);
 }
 
 
 
 <script type="text/javascript">
 _uacct = "UA-370200-1";
 urchinTracker();
 </script>
 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
 <title>Hernansam.com</title>
 
 
 
 <style type="text/css">
 
 
 .preload1 {background: url(prodrop4/pro_drop4_2a.gif);}
 .preload1 {background: url(prodrop4/pro_drop4_2b.gif);}
 
 .prodrop4 {padding:0 0 0 32px; margin:0; list-style:none; height:36px; background:transparent url(prodrop4/pro_drop4_back.gif); position:relative; z-index:500; font-family:arial, verdana, sans-serif;}
 .prodrop4 li.top {display:block; float:left;}
 .prodrop4 li a.top_link {display:block; float:left; height:36px; line-height:27px; color:#666; text-decoration:none; font-size:11px; font-weight:bold; padding:0 0 0 10px; cursor:pointer;background: url(prodrop4/pro_drop4_0a.gif) no-repeat;}
 .prodrop4 li a.top_link span {float:left; display:block; padding:0 20px 0 10px; height:36px;background:url(prodrop4/pro_drop4_0b.gif) right top;}
 .prodrop4 li a.top_link:hover {color:#000; background: url(prodrop4/pro_drop4_2a.gif) no-repeat; line-height:25px;}
 .prodrop4 li a.top_link:hover span {background:url(prodrop4/pro_drop4_2b.gif) no-repeat right top;}
 
 .prodrop4 li:hover > a.top_link {color:#000; background: url(prodrop4/pro_drop4_2a.gif) no-repeat; line-height:25px;}
 .prodrop4 li:hover > a.top_link span {background:url(prodrop4/pro_drop4_2b.gif) no-repeat right top;}
 
 
 .prodrop4 table {border-collapse:collapse; width:0; height:0; position:absolute; top:0; left:0;}
 
 /* Default link styling */
 
 /* Style the list OR link hover. Depends on which browser is used */
 
 .prodrop4 a:hover {visibility:visible; position:relative; z-index:200;}
 .prodrop4 li:hover {position:relative; z-index:200;}
 
 /* keep the 'next' level invisible by placing it off screen. */
 .prodrop4 ul {position:absolute; left:-9999px; top:-9999px; width:0; height:0; margin:0; padding:0; list-style:none;}
 
 .prodrop4 ul.sub1 {width:130px;}
 .prodrop4 ul.sub2 {width:110px;}
 .prodrop4 ul.sub3 {width:120px;}
 .prodrop4 ul.sub4 {width:112px;}
 
 .prodrop4 :hover ul {left:0; top:35px; background: #b9d3fb; padding:3px; border:1px solid #3a93d2; border-width:0 1px 1px; white-space:nowrap; height:auto; z-index:300;}
 .prodrop4 :hover ul li {display:block; height:20px; position:relative; font-weight:normal; width:auto;}
 .prodrop4 :hover ul li a {display:block; font-size:11px; height:20px; line-height:20px; width:auto; padding:0 10px; color:#000; text-decoration:none;}
 .prodrop4 :hover ul li a:hover {background:#3a93d2; color:#fff;}
 
 
 #Layer1 {
 position:absolute;
 left:516px;
 top:108px;
 width:170px;
 height:36px;
 z-index:501;
 }
 #Layer2 {
 position:absolute;
 left:516px;
 top:15px;
 width:353px;
 height:79px;
 z-index:502;
 }
 </style>
 <link href="css/div.css" rel="stylesheet" type="text/css" />
 <style type="text/css">
 <!--
 #Layer3 {
 position:absolute;
 left:40px;
 top:315px;
 width:469px;
 height:269px;
 z-index:503;
 }
 -->
 </style>
 <link href="css/diseno.css" rel="stylesheet" type="text/css" />
 <link href="css/layout.css" rel="stylesheet" type="text/css" />
 <style type="text/css">
 <!--
 #Layer4 {
 position:absolute;
 left:515px;
 top:161px;
 width:265px;
 height:22px;
 z-index:503;
 }
 -->
 </style>
 </head>
 
 <body>
 <div id="Layer1">
 <script>
 document.write("<small><strong><font color='#000000' face='Arial'><b>"+ dayarray[day] + " " + daym + " de " + montharray[month] + " de " + year + "</b></font></strong></small>");
 </script></div>
 <div id="Layer2"><!-- SiteSearch Google -->
 <form method="get" action="http://www.google.com/custom" target="_top">
 <table border="0" bgcolor="#ffffff">
 <tr><td nowrap="nowrap" valign="top" align="left" height="32">
 
 </td>
 <td nowrap="nowrap">
 <input type="hidden" name="domains" value="hernansam.com"></input>
 <label for="sbi" style="display: none">Introduzca los términos de búsqueda.</label>
 <input type="text" name="q" size="31" maxlength="255" value="" id="sbi"></input>
 <label for="sbb" style="display: none">Envíe el formulario de búsqueda</label>
 <input type="submit" name="sa" value="Búsqueda de Google" id="sbb"></input>
 </td></tr>
 <tr>
 <td> </td>
 <td nowrap="nowrap">
 <table>
 <tr>
 <td>
 <input type="radio" name="sitesearch" value="" checked id="ss0"></input>
 <label for="ss0" title="Buscar en la web"><font size="-1" color="#000000">Web</font></label></td>
 <td>
 <input type="radio" name="sitesearch" value="hernansam.com" id="ss1"></input>
 <label for="ss1" title="Buscar hernansam.com"><font size="-1" color="#000000">hernansam.com</font></label></td>
 </tr>
 </table>
 <input type="hidden" name="client" value="pub-0329315843942091"></input>
 <input type="hidden" name="forid" value="1"></input>
 <input type="hidden" name="ie" value="ISO-8859-1"></input>
 <input type="hidden" name="oe" value="ISO-8859-1"></input>
 <input type="hidden" name="cof" value="GALT:#008000;GL:1;DIV:#336699;VLC:663399;AH  :center;BGC:FFFFFF;LBGC:336699;ALC:0000FF;LC:0000F  F;T:000000;GFNT:0000FF;GIMP:0000FF;FORID:1"></input>
 <input type="hidden" name="hl" value="es"></input>
 </td></tr></table>
 </form>
 <!-- SiteSearch Google --></div>
 <div id="Layer4">
 <script type="text/javascript"><!--
 google_ad_client = "pub-0329315843942091";
 google_ad_width = 468;
 google_ad_height = 15;
 google_ad_format = "468x15_0ads_al";
 google_ad_channel = "";
 //-->
 </script>
 <script type="text/javascript"
 src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
 </script></div>
 <p><img src="Portada/Imagen1.jpg" alt="" width="500" height="150" /></p>
 <ul class="prodrop4">
 <li class="top"><a href="portada.php?id=home" id="home" class="top_link"><span>Inicio</span></a></li>
 <li class="top"><a href="" id="products" class="top_link"><span>Noticias</span><!--[if gte IE 7]><!--></a><!--<![endif]-->
 <!--[if lte IE 6]><table><tr><td><![endif]-->
 <ul class="sub1">
 <li><a href="portada.php?id=deportes" class="fly">Deportes</a></li>
 <li><a href="portada.php?id=espectaculo">Espectaculo</a></li>
 <li><a href="portada.php?id=tecnologia">Tecnologia</a></li>
 <li><a href="portada.php?id=nob">Newell's Old Boys</a></li>
 <li><a href="portada.php?id=central">Rosario Central</a></li>
 </ul>
 <!--[if lte IE 6]></td></tr></table></a><![endif]-->
 </li>
 <li class="top"><a href="" id="products" class="top_link"><span>Ocios</span></a>
 <ul class="sub2">
 <li><a href="portada.php?id=juegosenflash1">Juegos</a></li>
 <li><a href="portada.php?id=horoscopo">Horoscopo</a></li>
 <li><a href="portada.php?id=fotos">Imagenes</a></li>
 <li><a href="portada.php?id=videos">Videos</a></li>
 </ul>
 
 </li>
 <li class="top"><a href="" id="contacts" class="top_link"><span>Servicios</span></a>
 
 <ul class="sub3">
 <li><a href="portada.php?id=sms">SMS</a></li>
 <li><a href="portada.php?id=tiempo">Pronostico del tiempo</a></li>
 
 </ul>
 <!--[if lte IE 6]></td></tr></table></a><![endif]-->
 </li>
 <li class="top"><a href="" id="shop" class="top_link"><span>Varios</span><!--[if gte IE 7]><!--></a><!--<![endif]-->
 <!--[if lte IE 6]><table><tr><td><![endif]-->
 <ul class="sub4">
 <li><a href="portada.php?id=revistas">Revistas</a></li>
 <li><a href="portada.php?id=chistes">Chistes</a></li>
 
 </ul>
 <!--[if lte IE 6]></td></tr></table></a><![endif]-->
 </li>
 <li class="top"><a href="portada.php?id=libro" id="privacy" class="top_link"><span>Deja tu opinion</span></a><br />
 <br />
 </li>
 </ul>
 <div id="maincontainer">
 <div id="contentwrapper">
 <div id="contentcolumn">
 <div class="innertube"><b> <em></em></b>
 <script type="text/javascript">filltext(45)</script>
 
 <?php switch ($_GET['id']){
 
 case'deportes':
 include("noticias/deportes/deportes.php");
 break;
 
 case'espectaculo':
 include("noticias/espectaculo/espectaculo.php");
 break;
 
 case'tecnologia':
 include("noticias/tecnologia/tecnologia.php");
 break;
 
 case'nob':
 include("deportivasdelaciudad/nob/nob.php");
 break;
 
 case'nob1':
 include("deportivasdelaciudad/nob/nob1.php");
 break;
 
 case'nob2':
 include("deportivasdelaciudad/nob/nob2.php");
 break;
 
 case'nob3':
 include("deportivasdelaciudad/nob/nob3.php");
 break;
 
 case'central':
 include("deportivasdelaciudad/central/central.php");
 break;
 
 case'central1':
 include("deportivasdelaciudad/central/central1.php");
 break;
 
 case'central2':
 include("deportivasdelaciudad/central/central2.php");
 break;
 
 case'central3':
 include("deportivasdelaciudad/central/central3.php");
 break;
 
 case'juegosenflash1':
 include("flash/juegosenflash1.php");
 break;
 
 case'deportesflash':
 include("flash/deportesflash.php");
 break;
 
 case'logica':
 include("flash/logica.php");
 break;
 
 case'arcade':
 include("flash/arcade.php");
 break;
 
 case'berboy':
 include("flash/arcade/berboy.php");
 break;
 
 case'dexter':
 include("flash/arcade/dexter.php");
 break;
 
 case'street1':
 include("flash/arcade/street1.php");
 break;
 
 case'street3':
 include("flash/arcade/street3.php");
 break;
 
 case'superpez':
 include("flash/arcade/superpez.php");
 break;
 
 case'super':
 include("flash/arcade/super.php");
 break;
 
 case'ping-pong':
 include("flash/deportes/ping-pong.php");
 break;
   Última edición por hernansam; 28/10/2007 a las 01:04
     |