Ejemplo n.º 1
0
         $waypoints .= '</table>';
         tpl_set_var('waypoints_content', $waypoints);
         tpl_set_var('waypoints_start', '');
         tpl_set_var('waypoints_end', '');
     } else {
         tpl_set_var('waypoints_content', '<br />');
         tpl_set_var('waypoints_start', '<!--');
         tpl_set_var('waypoints_end', '-->');
     }
 } else {
     tpl_set_var('waypoints_content', '<br />');
     tpl_set_var('waypoints_start', '<!--');
     tpl_set_var('waypoints_end', '-->');
 }
 // show mp3 files for PodCache
 if ($geocache->getMp3count() > 0) {
     if (isset($_REQUEST['mp3_files']) && $_REQUEST['mp3_files'] == 'no') {
         tpl_set_var('mp3_files', "");
     } else {
         tpl_set_var('mp3_files', viewcache_getmp3table($cache_id, $geocache->getMp3count()));
     }
     tpl_set_var('hidemp3_start', '');
     tpl_set_var('hidemp3_end', '');
 } else {
     tpl_set_var('mp3_files', '<br />');
     tpl_set_var('hidemp3_start', '<!--');
     tpl_set_var('hidemp3_end', '-->');
 }
 // show pictures
 if ($geocache->getPicturesCount() == 0 || isset($_REQUEST['print']) && $_REQUEST['pictures'] == 'no') {
     tpl_set_var('pictures', '<br />');