예제 #1
0
        <p style="line-height: 1.6em;">
            <img src="tpl/stdstyle/images/free_icons/mountain.png" class="icon16" width=16 height=16 alt="" title="" align="middle" />&nbsp;{{cache_alt}}: {altitude} {{abovesealevel}}<br />
            <img src="tpl/stdstyle/images/free_icons/map.png" class="icon16" alt="" title="" align="middle" />&nbsp;{coords_other} <img src="tpl/stdstyle/images/misc/linkicon.png" alt="link"><br />
            <img src="tpl/stdstyle/images/free_icons/world.png" class="icon16" alt="" title="" align="middle" />&nbsp;{{location}}:<b><span style="color: rgb(88,144,168)"> {kraj} {dziubek1} {woj} {dziubek2} {miasto}</span></b><br />
            {distance_cache}
            <img src="tpl/stdstyle/images/free_icons/box.png" class="icon16" alt="" title="" align="middle" />&nbsp;{{cache_type}}: <b>{cachetype}</b><br />
            <img src="tpl/stdstyle/images/free_icons/package_green.png" class="icon16" alt="" title="" align="middle" />&nbsp;{{size}}: <b>{cachesize}</b><br />
            <img src="tpl/stdstyle/images/free_icons/page.png" class="icon16" alt="" title="" align="middle" />&nbsp;{{status_label}}: {status}<br />
            {hidetime_start}<img src="tpl/stdstyle/images/free_icons/time.png" class="icon16" alt="" title="" align="middle" />&nbsp;{{time}}: {search_time}&nbsp;&nbsp;<img src="tpl/stdstyle/images/free_icons/arrow_switch.png" class="icon16" alt="" title="" align="middle" />&nbsp;{{length}}: {way_length}<br />{hidetime_end}
            <?php 
if (tpl_get_var('typeLetter') == 'e') {
    echo '<img src="tpl/stdstyle/images/cache/16x16-event.png" class="icon16" alt="" title="" align="middle" />&nbsp;';
    echo tr('date_event_label') . ': <strong>' . tpl_get_var('hidden_date') . '</strong>';
} else {
    echo '<img src="tpl/stdstyle/images/free_icons/date.png" class="icon16" alt="" title="" align="middle" />&nbsp;';
    echo tr('date_hidden_label') . ': ' . tpl_get_var('hidden_date');
}
?>
<br />
            <img src="tpl/stdstyle/images/free_icons/date.png" class="icon16" alt="" title="" align="middle" />&nbsp;{{date_created_label}}: {date_created}<br />
            <img src="tpl/stdstyle/images/free_icons/date.png" class="icon16" alt="" title="" align="middle" />&nbsp;{{last_modified_label}}: {last_modified}<br />
            <img src="tpl/stdstyle/images/free_icons/arrow_in.png" class="icon16" alt="" title="" align="middle" />&nbsp;Waypoint: <b>{oc_waypoint}</b><br />
            {hidelistingsites_start}<img src="tpl/stdstyle/images/free_icons/link.png" class="icon16" alt="" title="" align="middle" />&nbsp;{{listed_also_on}}: {listed_on}<br />{hidelistingsites_end}
        </p>
        <?php 
global $usr, $lang, $hide_coords;
if ($usr == false && $hide_coords) {
    echo "";
} else {
    echo "<a class=\"send-to-gps\" href=\"#\" onclick=\"javascript:window.open('garmin.php?lat=";
    ?>
예제 #2
0
     $short_desc = iconv("ISO-8859-1", "UTF-8", $short_desc);
     $desc = iconv("ISO-8859-1", "UTF-8", $desc);
     $name = iconv("ISO-8859-1", "UTF-8", $name);
 }
 // Text / normal HTML / HTML editor
 tpl_set_var('use_tinymce', $descMode == 3 ? 1 : 0);
 tpl_set_var('descMode', $descMode);
 tpl_set_var('htmlnotice', $descMode == 2 ? $htmlnotice : '');
 //desc
 if (isset($_POST['desc'])) {
     $desc = processEditorInput($oldDescMode, $descMode, $_POST['desc']);
 } else {
     $desc = '';
 }
 tpl_set_var('desc', htmlspecialchars($desc, ENT_COMPAT, 'UTF-8'));
 $headers = tpl_get_var('htmlheaders') . "\n";
 if ($descMode == 3) {
     // TinyMCE
     $headers .= '<script language="javascript" type="text/javascript" src="resource2/tinymce/tiny_mce_gzip.js"></script>' . "\n";
     $headers .= '<script language="javascript" type="text/javascript" src="resource2/tinymce/config/desc.js.php?cacheid=0&lang=' . strtolower($locale) . '"></script>' . "\n";
 }
 $headers .= '<script language="javascript" type="text/javascript" src="' . editorJsPath() . '"></script>' . "\n";
 tpl_set_var('htmlheaders', $headers);
 //effort
 $search_time = isset($_POST['search_time']) ? $_POST['search_time'] : '0';
 $way_length = isset($_POST['way_length']) ? $_POST['way_length'] : '0';
 $search_time = mb_ereg_replace(',', '.', $search_time);
 $way_length = mb_ereg_replace(',', '.', $way_length);
 if (mb_strpos($search_time, ':') == mb_strlen($search_time) - 3) {
     $st_hours = mb_substr($search_time, 0, mb_strpos($search_time, ':'));
     $st_minutes = mb_substr($search_time, mb_strlen($st_hours) + 1);
예제 #3
0
    printf('<img src="//maps.googleapis.com/maps/api/staticmap?center=%1$f,%2$f&amp;zoom=%6$s&amp;size=170x170&amp;maptype=%5$s&amp;key=%4$s&amp;sensor=false&amp;markers=color:%7$s%%7Clabel:%%7C%1$f,%2$f&amp;format=png"
                         longdesc="ifr::cachemap-mini.php?inputZoom=%8$s&amp;lat=%1$f&amp;lon=%2$f&amp;cacheid=%3$s::%9$s::%10$s"
                         onclick="enlarge(this);" alt="%11$s" title="%11$s" />', tpl_get_var('latitude'), tpl_get_var('longitude'), tpl_get_var('cacheid'), tpl_get_var('googlemap_key'), $config['maps']['cache_page_map']['layer'], $config['maps']['cache_page_map']['zoom'], $config['maps']['cache_page_map']['marker_color'], $config['maps']['cache_mini_map']['zoom'], $config['maps']['cache_mini_map']['width'], $config['maps']['cache_mini_map']['height'], tr('map'));
    ?>
     
                </div>
            </div>
            <?php 
}
if ($usr == false && $hide_coords) {
    echo "";
} else {
    echo "<b>{{available_maps}}:</b>&nbsp;\n";
    foreach ($config['maps']['external'] as $key => $value) {
        if ($value == 1) {
            printf($config['maps']['external'][$key . '_URL'], tpl_get_var('latitude'), tpl_get_var('longitude'), tpl_get_var('cacheid'), tpl_get_var('oc_waypoint'), urlencode($vars['cachename']), $key);
            echo "&nbsp;\n";
        }
    }
}
?>
    </div>
</div>
<!-- End Text Container -->

<!-- Text container -->
{cache_attributes_start}
<div class="content2-container bg-blue02">
    <p class="content-title-noshade-size1">
        <img src="tpl/stdstyle/images/blue/attributes.png" class="icon32" alt="" />
        {{cache_attributes_label}}