{"id":879,"date":"2012-01-03T07:34:00","date_gmt":"2012-01-03T07:34:00","guid":{"rendered":"http:\/\/www.garbici.com\/?page_id=879"},"modified":"2015-02-24T10:33:04","modified_gmt":"2015-02-24T09:33:04","slug":"lista-de-rutas-alto-palancia","status":"publish","type":"page","link":"https:\/\/garbici.com\/?page_id=879","title":{"rendered":"Libro de Rutas"},"content":{"rendered":"<p><?php\n\n$taxloc = echotaxloc();\n$taxdis = echotaxdis();\n$taxacu = echotaxacu();\n$taxibp = echotaxibp();\n\n\n$args=array(\n  'localizacion' => $taxloc,<br \/>\n  &#8216;dureza&#8217; => $taxibp,<br \/>\n  &#8216;distancia&#8217; => $taxdis,<br \/>\n  &#8216;acumulado&#8217; => $taxacu,<br \/>\n  &#8216;post_type&#8217; => &#8216;ruta&#8217;,<br \/>\n  &#8216;post_status&#8217; => &#8216;publish&#8217;,<br \/>\n  &#8216;posts_per_page&#8217; => -1,<br \/>\n  &#8216;caller_get_posts&#8217;=> 1,<br \/>\n  &#8216;meta_key&#8217; => $_GET[&#8216;metakey&#8217;],<br \/>\n  &#8216;orderby&#8217; => &#8216;meta_value_num&#8217;,<br \/>\n  &#8216;order&#8217; => &#8216;DESC&#8217;,<br \/>\n  &#8216;meta_query&#8217; => array(array(&#8216;key&#8217; => $_GET[&#8216;metakey&#8217;],&#8217;compare&#8217; => &#8216;LIKE&#8217;,))<br \/>\n);<\/p>\n<p>$my_query = null;<br \/>\n$my_query = new WP_Query($args);<br \/>\nif( $my_query->have_posts() ) { ?><\/p>\n<table width=\"100\" border=\"1\" bordercolor=\"#C82F15\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td align=\"center\" bgcolor=#C82F15><span style=\"color: white;\"><strong>FECHA<\/strong><\/span><\/td>\n<td align=\"center\" bgcolor=#C82F15><span style=\"color: white;\"><strong>RUTA<\/strong><\/span><\/td>\n<td align=\"center\" bgcolor=#C82F15><span style=\"color: white;\"><strong>DISTANCIA<\/strong><\/span><\/td>\n<td align=\"center\" bgcolor=#C82F15><span style=\"color: white;\"><strong>ACUMULADO<\/strong><\/span><\/td>\n<td align=\"center\" bgcolor=#C82F15><span style=\"color: white;\"><strong>IBP<\/strong><\/span><\/td>\n<\/tr>\n<p>  <?php\n  while ($my_query->have_posts()) : $my_query->the_post();<br \/>\n   echo \u00ab<\/p>\n<tr>\u00ab;<br \/>\n   echo \u00ab<\/p>\n<td align=\\\"center\\\">\u00ab;<br \/>\n   echo get_post_meta(get_the_ID(), &#8216;Fecha&#8217;, true);<br \/>\n   echo \u00ab<\/td>\n<p>\u00ab;<br \/>\n   echo \u00ab<\/p>\n<td align=\\\"left\\\">\u00ab; ?><br \/>\n   <a href=\"<?php the_permalink(); ?>\u00ab><?php the_title(); ?><\/a><?php\n   echo \"<\/td>\n<p>\u00ab;<br \/>\n   echo \u00ab<\/p>\n<td align=\\\"right\\\">\u00ab;<br \/>\n   echo get_post_meta(get_the_ID(), &#8216;Distancia&#8217;, true);<br \/>\n   echo \u00ab<\/td>\n<p>\u00ab;<br \/>\n   echo \u00ab<\/p>\n<td align=\\\"right\\\">\u00ab;<br \/>\n   echo get_post_meta(get_the_ID(), &#8216;Acumulado&#8217;, true);<br \/>\n   echo \u00ab<\/td>\n<p>\u00ab;<br \/>\n   echo \u00ab<\/p>\n<td align=\\\"right\\\">\u00ab;<br \/>\n   echo get_post_meta(get_the_ID(), &#8216;IBP&#8217;, true);<br \/>\n   echo \u00ab<\/td>\n<p>\u00ab;<br \/>\n   echo \u00ab<\/tr>\n<p>\u00ab;<br \/>\n  endwhile;<br \/>\n}<br \/>\necho \u00ab<\/tbody>\n<p>\u00ab;<br \/>\necho \u00ab<\/table>\n<p>\u00ab;<br \/>\nwp_reset_query();  \/\/ Restore global post data stomped by the_post().<br \/>\n?><\/p>\n","protected":false},"excerpt":{"rendered":"<p>FECHA RUTA DISTANCIA ACUMULADO IBP<\/p>\n","protected":false},"author":4,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"ngg_post_thumbnail":0,"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_kad_post_classname":"","jetpack_post_was_ever_published":false,"footnotes":""},"class_list":["post-879","page","type-page","status-publish","hentry"],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/P25PoV-eb","jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/garbici.com\/index.php?rest_route=\/wp\/v2\/pages\/879","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/garbici.com\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/garbici.com\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/garbici.com\/index.php?rest_route=\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/garbici.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=879"}],"version-history":[{"count":0,"href":"https:\/\/garbici.com\/index.php?rest_route=\/wp\/v2\/pages\/879\/revisions"}],"wp:attachment":[{"href":"https:\/\/garbici.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=879"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}