<commit_before>{block title}OpenStreetMap.cz{/block}
{block layout_aftertitle}{/block}

{block map}
<div id="map-container">
    <div id="map-searchbar">
    </div>
    <div id="map"></div>
</div>
{/block}

{block content}
<div class="container splash">

    <div class="row">
        <div class="content-box-inner jumbotron col-md-8 col-md-offset-2 bottom-spacer">
            <button type="button" class="close close-overlay" aria-label="Close"><span>&times;</span>
            </button>

            <h1>Hezky, české&nbsp;<img src="/theme/img/osmcz.220x220.png" alt="Logo OSMCZ" width="110" height="110"
                                       title="přeci OpenStreetMapy :-)" class="osmlogo">!</h1>

            <p class="lead">OpenStreetMap je mapa, kterou může kdokoliv upravovat. Něco jako Wikipedie. Česká
                komunita Vám zde nabízí mapovou aplikaci, své <a href="/projekty">projekty</a>, odborníky
                či&nbsp;<a href="/skoleni">školení</a>.</p>

            <p style="font-size:85%;">Tento web je zatím beta-verze, zapojte se do bouřlivého vývoje na <a href="https://github.com/osmcz/osmcz"><img src="http://github.com/favicon.ico" width="13" style="margin:0 4px" alt="">githubu</a>.</p>

            <p><a href="/skoleni" class="btn btn-primary btn-large">Přihlásit
                    se na školení</a>
                <a href="http://old.openstreetmap.cz" class="btn btn-large">Přejít na old.openstreetmap.cz</a></p>
        </div>
    </div>

    {snippet content}
    <div class="row">

        <div class="content-box-left col-md-4 col-md-offset-2">
            <div class="content-box-inner">
                <h2>Tweety <a href="https://twitter.com/intent/follow?screen_name=osmcz" class="btn btn-link twitter-follow">Sledovat @osmcz</a></h2>
                {$presenter[TwitterPlugin]->write('twitter')}
            </div>
        </div>

        <div class="content-box-right col-md-4">
            <div class="content-box-inner bottom-spacer">
                <h2>Český týdeník</h2>
                {$presenter[TwitterPlugin]->write('weekly')}
            </div>

            <div class="content-box-inner bottom-spacer">
                <h2>Konference</h2>

                <table class="konference">
                    {var $limit = isset($_GET[konf]) ? $_GET[konf] : 5}
                    {foreach dibi::query('SELECT * FROM mailarchive ORDER BY date DESC LIMIT %i', $limit) as $r}
                        <tr title="{$r[date]|date:'j.n. H:i'} {$r[name]} ({!$r[from]|replace:'@':'&#64;'})
{$r[subject]}
-------
{$r[text]|truncate:200}">
                            <td class="img"><img src="http://www.gravatar.com/avatar/{md5(strtolower($r[from]))}?s=32&d=mm" alt="gravatar" width="32" height="32">
                            <td class="subject">{$r[subject]|truncate:50}
                            <td class="date">{$r[date]|timeago}
                    {/foreach}
                </table>

                <p class="text-right">
                    <a class="ajax btn btn-link" n:href="this konf=>$limit+5">načíst více</a>
                    <a class="btn btn-sm btn-default" href="https://lists.openstreetmap.org/pipermail/talk-cz/" role="button">Archiv konference</a>
                    <a class="btn btn-sm btn-success" href="/komunita" role="button">Napište nám</a>
                </p>

            </div>

            <div class="content-box-inner">
                <h2>Newsletter</h2>

                <p>Občasné info o dění v komunitě - méně než 1× za čtvrtrok. Zde <a href="http://us11.campaign-archive2.com/home/?u=cb9a83e4c66e393586b89e370&id=81b42f6aac">archiv</a>.</p>

                <form action="//zby.us11.list-manage.com/subscribe/post?u=cb9a83e4c66e393586b89e370&amp;id=81b42f6aac"
                      method="post" target="_blank">
                    <div class="input-group">
                        <input type="email" value="" name="EMAIL" placeholder="email" required
                               class="form-control input-sm"><commit_msg>osmcz: info box on splash screen<commit_after>{block title}OpenStreetMap.cz{/block}
{block layout_aftertitle}{/block}

{block map}
<div id="map-container">
    <div id="map-searchbar">
    </div>
    <div id="map"></div>
</div>
{/block}

{block content}
<div class="container splash">

    <div class="row">
        <div class="content-box-inner jumbotron col-md-8 col-md-offset-2 bottom-spacer">
            <button type="button" class="close close-overlay" aria-label="Close"><span>&times;</span>
            </button>

            <h1>Hezky, české&nbsp;<img src="/theme/img/osmcz.220x220.png" alt="Logo OSMCZ" width="110" height="110"
                                       title="přeci OpenStreetMapy :-)" class="osmlogo">!</h1>

            <p class="lead">OpenStreetMap je mapa, kterou může kdokoliv upravovat. Něco jako Wikipedie. Česká
                komunita Vám zde nabízí mapovou aplikaci, své <a href="/projekty">projekty</a>, odborníky
                či&nbsp;<a href="/skoleni">školení</a>.</p>

            <p style="font-size:85%;">Tento web je zatím beta-verze, zapojte se do bouřlivého vývoje na <a href="https://github.com/osmcz/osmcz"><img src="http://github.com/favicon.ico" width="13" style="margin:0 4px" alt="">githubu</a>.</p>

            <p><a href="/skoleni" class="btn btn-primary btn-large">Přihlásit
                    se na školení</a>
                <a href="http://old.openstreetmap.cz" class="btn btn-large">Přejít na old.openstreetmap.cz</a></p>
        </div>
    </div>

    {snippet content}
    <div class="row">

        <div class="content-box-left col-md-4 col-md-offset-2">
            <div class="content-box-inner">
                <h2>Tweety <a href="https://twitter.com/intent/follow?screen_name=osmcz" class="btn btn-link twitter-follow">Sledovat @osmcz</a></h2>
                {$presenter[TwitterPlugin]->write('twitter')}
            </div>
        </div>

        <div class="content-box-right col-md-4">
            <div class="content-box-inner bottom-spacer">
                <h2>Český týdeník</h2>
                {$presenter[TwitterPlugin]->write('weekly')}
            </div>

            <div class="content-box-inner bottom-spacer">
                <h2>Konference</h2>

                <table class="konference">
                    {var $limit = isset($_GET[konf]) ? $_GET[konf] : 3}
                    {foreach dibi::query('SELECT * FROM mailarchive ORDER BY date DESC LIMIT %i', $limit) as $r}
                        <tr title="{$r[date]|date:'j.n. H:i'} {$r[name]} ({!$r[from]|replace:'@':'&#64;'})
{$r[subject]}
-------
{$r[text]|truncate:200}">
                            <td class="img"><img src="http://www.gravatar.com/avatar/{md5(strtolower($r[from]))}?s=32&d=mm" alt="gravatar" width="32" height="32">
                            <td class="subject">{$r[subject]|truncate:50}
                            <td class="date">{$r[date]|timeago}
                    {/foreach}
                </table>

                <p class="text-right">
                    <a class="ajax btn btn-link" n:href="this konf=>$limit+5">načíst více</a>
                    <a class="btn btn-sm btn-default" href="https://lists.openstreetmap.org/pipermail/talk-cz/" role="button">Archiv konference</a>
                    <a class="btn btn-sm btn-success" href="/komunita" role="button">Napište nám</a>
                </p>

            </div>

            {var $splash = PagesModel::getPageById(29)}
            <div class="content-box-inner bottom-spacer" n:if="$splash->getMeta('show_content')">
                {!$splash->content}
            </div>

            <div class="content-box-inner">
                <h2>Newsletter</h2>

                <p>Občasné info o dění v komunitě - méně než 1× za čtvrtrok. Zde <a href="http://us11.campaign-archive2.com/home/?u=cb9a83e4c66e393586b89e370&id=81b42f6aac">archiv</a>.</p>

                <form action="//zby.us11.list-manage.com/subscribe/post?u=cb9a83e4c66e393586b89e370&amp;id=81b42f6aac"
                      method="post" target="_blank">
                    <div class="input-group">
                        <input type="email" value="" name="EMAIL" placeholder="email" required
                               class="form-control input-sm">
{'fraction_non_alphanumeric': 0.17308853726295445, 'fraction_numerical': 0.024157506945283246, 'mean_word_length': 2.173629743196627, 'pattern_counts': {'":': 0, '<': 161, '<?xml version=': 0, '>': 169, 'https://': 6, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7276564', 'n_tokens_mistral': 2992, 'n_tokens_neox': 2780, 'n_words': 477}