{"id":8176,"date":"2015-04-15T21:16:25","date_gmt":"2015-04-15T21:16:25","guid":{"rendered":"http:\/\/www.giff.mx\/?page_id=8176"},"modified":"2022-07-12T14:07:38","modified_gmt":"2022-07-12T19:07:38","slug":"stores-friends-2","status":"publish","type":"page","link":"http:\/\/giff.mx\/en\/stores-friends-2\/","title":{"rendered":"Stores &#8211; Friends"},"content":{"rendered":"<p><?php $link = mysqli_connect('localhost', 'eddiered_eventos', 'Giff2013!', 'eddiered_eventos'); ?><br \/>\n<?php if(isset($_GET['id'])){ ?><\/p>\n<div class=\"sc_blogger_columns_wrap sc_item_columns sc_item_posts_container trx_addons_columns_wrap columns_padding_bottom columns_in_single_row\"><?php\n $csql = \"select * from tiendas where id=\".$_GET['id'];\n $result = $link->query($csql);<br \/>\n  $row=mysqli_fetch_row($result);<br \/>\n?><\/p>\n<h3><?php echo $row[1]; ?><\/h3>\n<\/div>\n<div class=\"sc_blogger_columns_wrap sc_item_columns sc_item_posts_container trx_addons_columns_wrap columns_padding_bottom columns_in_single_row\">\n<div class=\"trx_addons_column-1_4\"  style=\"font-size: 14px;\"><img decoding=\"async\" src=\"https:\/\/giff.mx\/subirhoteles\/imgstiendas\/&lt;?php echo htmlentities($row[5]); ?&gt;&ldquo;&gt;&lt;\/div&gt;&lt;div class=\"trx_addons_column-1_4\" style=\"font-size: 14px;\"><?php if($row[1]!=\"n_a\"){  ?><?php } ?><\/p>\n<p><?php echo str_replace(\"<br \/-->&#8220;, &#8221; &#8220;,$row[3]); ?><\/p>\n<p><?php \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;?php echo $c; ?&gt;&rdquo; target=&rdquo;_blank&rdquo; &gt;&lt;?php echo $c; ?&gt;&lt;\/a&gt;&lt;br \/&gt;&lt;?php   $y=$i+1;  }} ?&gt;&lt;\/p&gt;&lt;\/div&gt;&lt;div class=\"trx_addons_column-1_4\" style=\"font-size: 14px;\"><img decoding=\"async\" style=\"hewidth: 250px;\" src=\"https:\/\/giff.mx\/subirhoteles\/imgstiendas\/&lt;?php echo htmlentities($row[2]); ?&gt;&ldquo;&gt;&lt;\/div&gt;&lt;\/div&gt;&lt;div class=\"sc_blogger_columns_wrap sc_item_columns sc_item_posts_container trx_addons_columns_wrap columns_padding_bottom columns_in_single_row\">\n<div class=\"trx_addons_column-1_3\" src=\"https:\/\/giff.mx\/subirhoteles\/imgstiendas\/<?php echo htmlentities($row[6]); ?>&#8220;><\/div><div class=\"trx_addons_column-1_3\" sc_blogger_columns_wrapsc_item_columns sc_item_posts_containertrx_addons_columns_wrap columns_padding_bottom columns_in_single_row\">\n<h2>San Miguel de Allende<\/h2>\n<\/div>\n<div class=\"sc_blogger_columns_wrap sc_item_columns sc_item_posts_container trx_addons_columns_wrap columns_padding_bottom columns_in_single_row\">\n<?php $csql4 = \"select * from tiendas where ciudad='1' order by id \";\n $result4 = $link->query($csql4);<br \/>\n      while($row4=mysqli_fetch_row($result4)){<br \/>\n ?><\/p>\n<div class=\"trx_addons_column-1_4\"  style=\"font-size: 14px;\">\n<a title=\"<?php echo $row4[1] ?>&#8221; href=&#8221;https:\/\/giff.mx\/?page_id=8176&amp;id=<?php echo $row4[0]; ?>&#8221; target=&#8221;_self&#8221; style=&#8221;color: #1A1A1A;font-size: 22px; line-height: 28px; font-weight: 600; font-style: normal;text-align: center;&#8221;><img decoding=\"async\" src=\"https:\/\/giff.mx\/subirhoteles\/imgstiendas\/<?php echo $row4[2] ?>&#8221; style=&#8221;width:100%;&#8221; ><br \/><?php echo $row4[1] ?><\/a><\/p><p style=\"font-size: 14px;\"><?php echo str_replace(\"<br \/-->&#8220;, &#8221; &#8220;,$row4[3]); ?><br \/><?php \n$y=0;\n$t=0;\n$d= str_replace(\"\n\", \"|\",$row4[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;?php echo $c; ?&gt;&rdquo; target=&rdquo;_blank&rdquo; &gt;&lt;?php echo $c; ?&gt;&lt;\/a&gt;&lt;br \/&gt;&lt;?php   $y=$i+1;  }} ?&gt;&lt;\/p&gt;&lt;\/div&gt;&lt;p&gt;&lt;?php } ?&gt;&lt;\/div&gt;&lt;div class=\"sc_blogger_columns_wrap sc_item_columns sc_item_posts_container trx_addons_columns_wrap columns_padding_bottom columns_in_single_row\">\n<h2>Le\u00f3n<\/h2>\n<\/div>\n<div class=\"sc_blogger_columns_wrap sc_item_columns sc_item_posts_container trx_addons_columns_wrap columns_padding_bottom columns_in_single_row\">\n<?php $csql4 = \"select * from tiendas where ciudad='2' order by id \";\n $result4 = $link->query($csql4);<br \/>\n      while($row4=mysqli_fetch_row($result4)){<br \/>\n ?><\/p>\n<div class=\"trx_addons_column-1_4\"  style=\"font-size: 14px;\">\n<a title=\"<?php echo $row4[1] ?>&#8221; href=&#8221;https:\/\/giff.mx\/?page_id=8176&amp;id=<?php echo $row4[0]; ?>&#8221; target=&#8221;_self&#8221; style=&#8221;color: #1A1A1A;font-size: 22px; line-height: 28px; font-weight: 600; font-style: normal;text-align: center;&#8221;><img decoding=\"async\" src=\"https:\/\/giff.mx\/subirhoteles\/imgstiendas\/<?php echo $row4[2] ?>&#8221; style=&#8221;width:100%;&#8221; ><br \/><?php echo $row4[1] ?><\/a><\/p><p style=\"font-size: 14px;\"><?php echo str_replace(\"<br \/-->&#8220;, &#8221; &#8220;,$row4[3]); ?><br \/><?php \n$y=0;\n$t=0;\n$d= str_replace(\"\n\", \"|\",$row4[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;?php echo $c; ?&gt;&rdquo; target=&rdquo;_blank&rdquo; &gt;&lt;?php echo $c; ?&gt;&lt;\/a&gt;&lt;br \/&gt;&lt;?php   $y=$i+1;  }} ?&gt;&lt;\/p&gt;&lt;\/div&gt;&lt;p&gt;&lt;?php } ?&gt;&lt;\/div&gt;&lt;div class=\"sc_blogger_columns_wrap sc_item_columns sc_item_posts_container trx_addons_columns_wrap columns_padding_bottom columns_in_single_row\">\n<h2>Irapuato<\/h2>\n<\/div>\n<div class=\"sc_blogger_columns_wrap sc_item_columns sc_item_posts_container trx_addons_columns_wrap columns_padding_bottom columns_in_single_row\">\n<?php $csql4 = \"select * from tiendas where ciudad='3' order by id \";\n $result4 = $link->query($csql4);<br \/>\n      while($row4=mysqli_fetch_row($result4)){<br \/>\n ?><\/p>\n<div class=\"trx_addons_column-1_4\"  style=\"font-size: 14px;\">\n<a title=\"<?php echo $row4[1] ?>&#8221; href=&#8221;https:\/\/giff.mx\/?page_id=8176&amp;id=<?php echo $row4[0]; ?>&#8221; target=&#8221;_self&#8221; style=&#8221;color: #1A1A1A;font-size: 22px; line-height: 28px; font-weight: 600; font-style: normal;text-align: center;&#8221;><img decoding=\"async\" src=\"https:\/\/giff.mx\/subirhoteles\/imgstiendas\/<?php echo $row4[2] ?>&#8221; style=&#8221;width:100%;&#8221; ><br \/><?php echo $row4[1] ?><\/a><\/p><p style=\"font-size: 14px;\"><?php echo str_replace(\"<br \/-->&#8220;, &#8221; &#8220;,$row4[3]); ?><br \/><?php \n$y=0;\n$t=0;\n$d= str_replace(\"\n\", \"|\",$row4[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","protected":false},"excerpt":{"rendered":"<p>&#8221; href=&#8221;https:\/\/giff.mx\/?page_id=8176&amp;id=&#8221; target=&#8221;_self&#8221; style=&#8221;color: #1A1A1A;font-size: 22px; line-height: 28px; font-weight: 600; font-style: normal;text-align: center;&#8221;><\/p>","protected":false},"author":4,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-8176","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"http:\/\/giff.mx\/en\/wp-json\/wp\/v2\/pages\/8176","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=8176"}],"version-history":[{"count":7,"href":"http:\/\/giff.mx\/en\/wp-json\/wp\/v2\/pages\/8176\/revisions"}],"predecessor-version":[{"id":29096,"href":"http:\/\/giff.mx\/en\/wp-json\/wp\/v2\/pages\/8176\/revisions\/29096"}],"wp:attachment":[{"href":"http:\/\/giff.mx\/en\/wp-json\/wp\/v2\/media?parent=8176"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}