{"id":332,"date":"2013-05-05T23:01:59","date_gmt":"2013-05-05T23:01:59","guid":{"rendered":"http:\/\/www.giff.mx\/?page_id=332"},"modified":"2013-07-09T20:21:44","modified_gmt":"2013-07-09T20:21:44","slug":"2010-2","status":"publish","type":"page","link":"https:\/\/giff.mx\/en\/2010-2\/","title":{"rendered":"2010"},"content":{"rendered":"<p><? \ninclude(\"films\/db.php\");\n$page=\"catalog\";\n?><\/p>\n<h1>\n<?\nif($_GET[\"cat\"]==27 OR $_GET[\"cat\"]==22 OR $_GET[\"cat\"]==28 OR $_GET[\"cat\"]==32 OR $_GET[\"cat\"]==21){ ?><? $ev=1; \/* Eventos*\/ ?><? }\nif($_GET[\"films\"]==1){ ?>Pel&iacute;culas<? }\nif(!isset($_GET[\"cat\"]) AND !isset($_GET[\"films\"])){ ?>Todos los Eventos 2010<? } ?><br \/>\n <? if(isset($_GET[\"cat\"])){ $sql=\"SELECT * FROM categorias2010 WHERE id='\".$_GET[\"cat\"].\"'\"; $result=mysql_query($sql); $row=mysql_fetch_assoc($result); \n?><? if($ev!=1){ ?><? } ?><?=$row[\"espanol\"]?><? if($ev!=1){ ?><? } ?><? } ?><\/h1>\n<p><br \/><br \/>\n<? if(!isset($_GET[\"cat\"])){ ?><br \/>\nPor favor selecciona una categor&iacute;a para ver las pel&iacute;culas en ella.<\/p>\n<p><center><\/p>\n<table cellspacing=\"10\" border=\"0\">\n<?\n$sql=\"SELECT * FROM categorias2010 ORDER BY espanol\";\nif($_GET[\"films\"]==1){ $sql=\"SELECT * FROM categorias2010 WHERE id!=27 AND id!=22 AND id!=28 AND id!=32 AND id!=21 ORDER BY ingles\"; $page=\"films\"; }\n$result=mysql_query($sql);\nwhile($row=mysql_fetch_assoc($result)){\n$sq=\"SELECT count(*) from peliculas2010 WHERE categoria='\".$row[\"id\"].\"'\";\n$re=mysql_query($sq);\n$ro=mysql_fetch_assoc($re);\n?><\/p>\n<tr>\n<td><a href=\"?page_id=332&#038;cat=<?=$row[\"id\"]?>&#8220;><strong><?=$row[\"espanol\"]?> (<?=$ro[\"count(*)\"]?> pel&iacute;culas\/eventos)<\/strong><\/a><\/td><\/tr><p><? } ?><br \/><\/table><p><? }else{ if($_GET[\"cat\"]==\"27\"){ $page=\"conferences\"; }if($_GET[\"cat\"]==\"22\"){ $page=\"events\"; }if($_GET[\"cat\"]==\"28\"){ $page=\"workshops\"; }if($_GET[\"cat\"]==\"32\"){ $page=\"kids\"; }if($_GET[\"cat\"]==\"21\"){ $page=\"action\"; }?><\/p><p align=\"right\">\nMostrar por sede\/ciudad: <select name=\"orderbyvenue\" onchange=\"document.location='?page_id=332&#038;cat=<?=$_GET[\"cat\"]?>&#038;order=<?=$_GET[\"order\"]?>&#038;venue=&#8217;+this.options[selectedIndex].value;&#8221;><option value=\"\">Selecciona una sede&#8230;<\/option><? $sql=\"SELECT DISTINCT sala1 FROM peliculas2010 WHERE categoria='\".$_GET[\"cat\"].\"'\";\n$result=mysql_query($sql);\n$v=0;\nwhile($row=mysql_fetch_assoc($result)){\n$salas[$v]=$row[\"sala1\"]; \n$v++;\n}\n$sql=\"SELECT DISTINCT sala2 FROM peliculas2010 WHERE categoria='\".$_GET[\"cat\"].\"'\";\n$result=mysql_query($sql); \nwhile($row=mysql_fetch_assoc($result)){\n$salas[$v]=$row[\"sala2\"];\n$v++;\n}\n$sql=\"SELECT * FROM salas2010 WHERE \";\nforeach($salas as $sala){\n$sql.=\"id='\".$sala.\"' OR \";\n}\n$sql.=\"id='0' ORDER BY ciudad,sala\";\n$result=mysql_query($sql);\nwhile($row=mysql_fetch_assoc($result)){\n?><option value=\"NO NUMERIC NOISE KEY\" 1039 no numeric noise key 1038selected=\"&#8221;selected&#8221;NO NUMERIC NOISE KEY\" 1037><?=$row[\"sala\"]?> (<?=$row[\"ciudad\"]?>)<\/option><? } ?><br \/>\n<\/select>\n<\/p>\n<table cellspacing=\"0\" border=\"0\" cellpadding=\"0\">\n<tr>\n<td align=\"center\"><a href=\"?page_id=332&#038;cat=<?=$_GET[\"cat\"]?>&#038;order=prog&#038;venue=<?=$_GET[\"venue\"]?>&#8220;><strong>PROGRAMA<\/strong><\/a><\/td><td width=\"10\"><\/td>\n<td><a href=\"?page_id=332&#038;cat=<?=$_GET[\"cat\"]?>&#038;order=film&#038;venue=<?=$_GET[\"venue\"]?>&#8220;><strong>PEL&Iacute;CULA<\/strong><\/a><\/td><td width=\"10\"><\/td>\n<td><a href=\"?page_id=332&#038;cat=<?=$_GET[\"cat\"]?>&#038;order=rating&#038;venue=<?=$_GET[\"venue\"]?>&#8220;><strong>CALIFICACI&Oacute;N<\/strong><\/a><\/td><td width=\"10\"><\/td>\n<td><a href=\"?page_id=332&#038;cat=<?=$_GET[\"cat\"]?>&#038;order=comments&#038;venue=<?=$_GET[\"venue\"]?>&#8220;><strong>COMENTARIOS<\/strong><\/a><\/td><td width=\"10\"><\/td>\n<td><a href=\"?page_id=332&#038;cat=<?=$_GET[\"cat\"]?>&#038;order=date&#038;venue=<?=$_GET[\"venue\"]?>&#8220;><strong>PROYECCI&Oacute;N<\/strong><\/a><\/td><\/tr><p><?if(!isset($_GET[\"order\"]) OR $_GET[\"order\"]==\"\"){ $_GET[\"order\"]=\"film\"; }if($_GET[\"order\"]==\"prog\"){ $sql=\"SELECT * FROM peliculas2010 WHERE categoria='\".$_GET[\"cat\"].\"' ORDER BY programa\"; }if($_GET[\"order\"]==\"film\"){ $sql=\"SELECT * FROM peliculas2010 WHERE categoria='\".$_GET[\"cat\"].\"' ORDER BY titulo_en\"; }if($_GET[\"order\"]==\"rating\"){ $sql=\"SELECT * FROM peliculas2010 WHERE categoria='\".$_GET[\"cat\"].\"' ORDER BY rating DESC\"; }if($_GET[\"order\"]==\"comments\"){ $sql=\"SELECT * FROM peliculas2010 WHERE categoria='\".$_GET[\"cat\"].\"' ORDER BY numcomentarios DESC\"; }if($_GET[\"order\"]==\"date\"){ $sql=\"SELECT * FROM peliculas2010 WHERE categoria='\".$_GET[\"cat\"].\"' ORDER BY fecha1\"; }if(isset($_GET[\"venue\"]) AND $_GET[\"venue\"]!=\"\"){ $sql=str_replace(\"ORDER BY\",\" AND (sala1='\".$_GET[\"venue\"].\"' OR sala2='\".$_GET[\"venue\"].\"') ORDER BY\",$sql); }$result=mysql_query($sql);$bgor=1;while($row=mysql_fetch_assoc($result)){$sq=\"SELECT * FROM programas WHERE id='\".$row[\"programa\"].\"'\";$re=mysql_query($sq);$ro=mysql_fetch_assoc($re);$mes1=$row[\"fecha1\"][0];$mes2=$row[\"fecha2\"][0];$dia1=$row[\"fecha1\"][1].$row[\"fecha1\"][2];$dia2=$row[\"fecha2\"][1].$row[\"fecha2\"][2];$hora1=$row[\"fecha1\"][3].$row[\"fecha1\"][4];$hora2=$row[\"fecha2\"][3].$row[\"fecha2\"][4];$minuto1=$row[\"fecha1\"][5].$row[\"fecha1\"][6];$minuto2=$row[\"fecha2\"][5].$row[\"fecha2\"][6];$sala1=\"SELECT * FROM salas WHERE id='\".$row[\"sala1\"].\"'\";$sala1=mysql_query($sala1);$sala1=mysql_fetch_assoc($sala1);$sala1=$sala1[\"sala\"];$sala2=\"SELECT * FROM salas WHERE id='\".$row[\"sala2\"].\"'\";$sala2=mysql_query($sala2);$sala2=mysql_fetch_assoc($sala2);$sala2=$sala2[\"sala\"];if($bgor==1){ $bg=\"FFFFFF\"; }if($bgor==2){ $bg=\"EEEEEE\"; $bgor=0;}?><\/p><tr bgcolor=\"#no numeric noise key 1022&#8220;><\/p>\n<td><?=$ro[\"programa\"]?><\/td>\n<td><\/td>\n<td><a href=\"?page_id=335&#038;film=<?=$row[\"id\"]?>&#8220;><strong><?=strtoupper(utf8_encode($row[\"titulo_es\"]))?><\/strong><\/a><Br \/><?=substr(utf8_encode($row[\"sinopsis_es\"]),0,150)?>&#8230;<\/td><td><\/td><td><img decoding=\"async\" src=\"films\/avg-<?=round($row[\"rating\"])?>.png&#8221;><br \/>(<?=$row[\"numrates\"]?> votos)<\/td><td><\/td><td><?=$row[\"numcomentarios\"]?> comentarios<\/td><td><\/td><td><? if($row[\"fecha1\"]!=\"7230000\"){ ?><img decoding=\"> <?=$dia1?>\/<?=$mes1?> <?=$hora1?>:<?=$minuto1?><br \/><?=$sala1?><br \/><? } if($row[\"fecha2\"]!=\"7230000\"){ ?><img decoding=\"async\" src=\"films\/calendar_icon.gif\"> <?=$dia2?>\/<?=$mes2?> <?=$hora2?>:<?=$minuto2?><br \/><?=$sala2?><? } ?><\/td>\n<\/tr>\n<p><? \n$bgor++;\n} ?><br \/>\n<\/table>\n<p><? } ?><\/p>","protected":false},"excerpt":{"rendered":"<p>Pel&iacute;culasTodos los Eventos 2010<\/p>","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-332","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/giff.mx\/en\/wp-json\/wp\/v2\/pages\/332","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/giff.mx\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/giff.mx\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/giff.mx\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/giff.mx\/en\/wp-json\/wp\/v2\/comments?post=332"}],"version-history":[{"count":0,"href":"https:\/\/giff.mx\/en\/wp-json\/wp\/v2\/pages\/332\/revisions"}],"wp:attachment":[{"href":"https:\/\/giff.mx\/en\/wp-json\/wp\/v2\/media?parent=332"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}