<tr class="<?php 
            echo $styl;
            ?>
">
                                <td width=210><?php 
            echo isset($v['cache_name']) ? "<img src=\"tpl/stdstyle/images/" . get_icon_for_cache_type($v['cache_type']) . "\" /> " . $v['kod_str'] . " " . $v['cache_name'] : " ";
            ?>
</td>
                                <td width=70 style="text-align: right"><?php 
            echo isset($v['data']) ? str_replace(" ", "<br />", $v['data']) : " ";
            echo "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
            echo isset($v['status']) ? "<img src=\"tpl/stdstyle/images/" . get_icon_for_status($v['status']) . "\" />" : " ";
            ?>
</td>
                                <td width=70 style="text-align: right"><?php 
            echo isset($v['got_last_activity']) ? str_replace(" ", "<br />", $v['last_date']) . "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;" . (isset($v['last_status']) ? "<img src=\"tpl/stdstyle/images/" . get_icon_for_status($v['last_status']) . "\" />" : " ") : " ";
            ?>
</td>
                            </tr><tr class="<?php 
            echo $styl;
            ?>
">
                                <td width="280" colspan=2><?php 
            echo isset($v['koment']) ? $v['koment'] : " ";
            ?>
&nbsp;</td>
                                <td style="text-align: center"><?php 
            if (isset($v['cache_id']) && !$zgodne) {
                echo "<input type=\"submit\" value=\"Log\" style=\"width: 50px\" onclick=\"parent.cachePreview.location.href='viewcache.php?cacheid=" . $v['cache_id'] . "'; return true;\"/>";
            }
            ?>
    echo isset($v['cache_name']) ? "<A href=\"viewcache.php?cacheid=" . $v['cache_id'] . "\" target=\"_blank\">" . "<img src=\"tpl/stdstyle/images/" . get_icon_for_cache_type($v['cache_type']) . "\" /> " . $v['kod_str'] . " " . $v['cache_name'] . "</a>" : " ";
    ?>
</td>
                            <td width=70 style="text-align: right"><?php 
    $v['data'] = date($datetimeFormat, strtotime($v['data']));
    echo isset($v['data']) ? str_replace(" ", "<br />", $v['data']) : " ";
    echo "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
    echo isset($v['status']) ? "<img src=\"tpl/stdstyle/images/" . get_icon_for_status($v['status']) . "\" />" : " ";
    ?>
</td>
                            <td width=70 style="text-align: right"><?php 
    if (isset($v['got_last_activity'])) {
        $v['last_date'] = date($datetimeFormat, strtotime($v['last_date']));
        echo str_replace(" ", "<br />", $v['last_date']) . "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
        if (isset($v['last_status'])) {
            echo "<img src=\"tpl/stdstyle/images/" . get_icon_for_status($v['last_status']) . "\" />";
        } else {
            echo " ";
        }
    } else {
        echo " ";
    }
    ?>
</td>
                        </tr><tr class="<?php 
    echo $styl;
    ?>
">
                            <td width="630" colspan=2><?php 
    echo isset($v['koment']) ? $v['koment'] : " ";
    ?>