コード例 #1
0
     } 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 ($cache_record['mp3count'] > 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, $cache_record['mp3count']));
     }
     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 ($cache_record['picturescount'] == 0 || isset($_REQUEST['print']) && $_REQUEST['pictures'] == 'no') {
     tpl_set_var('pictures', '<br />');
     tpl_set_var('hidepictures_start', '<!--');
     tpl_set_var('hidepictures_end', '-->');
 } else {
     if (isset($_REQUEST['spoiler_only']) && $_REQUEST['spoiler_only'] == 1) {
コード例 #2
0
ファイル: viewcache.php プロジェクト: kojoty/opencaching-pl
     } 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 />');
     tpl_set_var('hidepictures_start', '<!--');
     tpl_set_var('hidepictures_end', '-->');
 } else {
     if (isset($_REQUEST['spoiler_only']) && $_REQUEST['spoiler_only'] == 1) {