{"id":16250,"date":"2017-07-14T14:25:53","date_gmt":"2017-07-14T14:25:53","guid":{"rendered":"http:\/\/giff.mx\/?page_id=16250"},"modified":"2022-05-25T14:11:24","modified_gmt":"2022-05-25T19:11:24","slug":"hotels-san-miguel-2","status":"publish","type":"page","link":"http:\/\/giff.mx\/en\/hotels-san-miguel-2\/","title":{"rendered":"Hotels San Miguel"},"content":{"rendered":"<div style=\"max-width: 960px; margin-left: auto; margin-right: auto; overflow:hidden;\">\n<?\n\n$link = mysqli_connect('localhost', 'eddiered_eventos', 'Giff2013!', 'eddiered_eventos');\n\/\/$host = \"localhost\";  \/\/ el host de la base de datos\n \/\/ $user = \"eddiered_eventos\";     \/\/ usuario de la base de datos\n \/\/ $pass = 'Giff2013!';        \/\/ contrase?a de la base de datos\n \/\/$bbdd = \"eddiered_eventos\"; \nif(isset($_GET['id'])){\n\n $result=$link->query(&#8220;select * from hoteles where id=&#8221;.$_GET[&#8216;id&#8217;]);<br \/>\n  $row=mysqli_fetch_row($result);<br \/>\n?><\/p>\n<table align=\"center\" style=\"width:900px; margin-left:auto; margin-right:auto;\" >\n<tr>\n<td>\n<h3><?\/\/ echo str_replace(\"<br \/>&#8220;, &#8221; &#8220;,$row[1]); ?><\/h3>\n<p>     <? if($row[1]!=\"n_a\"){  ?><img decoding=\"async\" src=\"http:\/\/www.giff.mx\/subirhoteles\/imgshoteles\/&lt;? echo htmlentities($row[2]); ?&gt;&rdquo; \/&gt;&lt;? } ?&gt;&lt;\/td&gt;&lt;td style=\"vertical-align: top; text-align:justify; padding-top:30px;\" align=\"justify\">\n<p><? echo str_replace(\"<br \/>&#8220;, &#8221; &#8220;,$row[3]); ?><\/p>\n<p><? \n$y=0;\n$t=0;\n$d= str_replace(\"\n\", \"|\",$row[4]);\nfor($i=0; $i<=strlen($d); $i++){\n if(substr($d,$i,1)==\"|\" || strlen($d)==$i){\n   $t++;\nif(strlen($d)==$i){\n$c=substr($d,$y,($i-$y));\n}else{\n$c=substr($d,$y,($i-6-$y));\n}\n   ?> <a href=\"http:\/\/&lt;? echo $c; ?&gt;&rdquo; target=&rdquo;_blank&rdquo;; &gt;&lt;? echo $c; ?&gt;&lt;\/a&gt;&lt;br \/&gt;&lt;?   $y=$i+1;  }} ?&gt;&lt;\/td&gt;&lt;td style=\"vertical-align: bottom;\"><img decoding=\"async\" src=\"http:\/\/www.giff.mx\/subirhoteles\/imgshoteles\/&lt;? echo htmlentities($row[5]); ?&gt;&rdquo;  style=&rdquo; height:230px;&rdquo; \/&gt;&lt;\/td&gt;&lt;\/tr&gt;&lt;\/table&gt;&lt;p&gt; &lt;?}  $result4=$link-&gt;query(&ldquo;select * from hoteles where ciudad=&rsquo;1&prime; order by id &ldquo;);&lt;\/p&gt;&lt;p&gt;      while($row4=mysqli_fetch_row($result4)){&lt;br \/&gt;       ?&gt;&lt;\/p&gt;&lt;div style=\" width:220px; height:270px; float:left; padding:5px; text-align:center; overflow:hidden;\"><a","protected":false},"excerpt":{"rendered":"","protected":false},"author":4,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-16250","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"http:\/\/giff.mx\/en\/wp-json\/wp\/v2\/pages\/16250","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/giff.mx\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"http:\/\/giff.mx\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"http:\/\/giff.mx\/en\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"http:\/\/giff.mx\/en\/wp-json\/wp\/v2\/comments?post=16250"}],"version-history":[{"count":8,"href":"http:\/\/giff.mx\/en\/wp-json\/wp\/v2\/pages\/16250\/revisions"}],"predecessor-version":[{"id":28063,"href":"http:\/\/giff.mx\/en\/wp-json\/wp\/v2\/pages\/16250\/revisions\/28063"}],"wp:attachment":[{"href":"http:\/\/giff.mx\/en\/wp-json\/wp\/v2\/media?parent=16250"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}