{if $header_id neq true}
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1250" />
    <link rel="stylesheet" type="text/css" href="/css/main.css" />
    <title>{* title *}{include file="791948.tpl"}</title>
</head>
<body>
    {if $user_id eq true}
        {if $header_id neq true}
            {* toolbar *}{include file="1549959.tpl"}
        {/if}
    {/if}
    {if $error eq true}
        <center><span class="most_important">{$error}</span></center>
    {/if}
    {if $new_mail eq true}
        <center><a href="/id/24/" class="mail">u have {$new_mail} new mail,last from {$new_mail_name}</a></center>
    {/if}
{/if}

<center>
    <img src="/images/top.gif" />
    <table align="center" valign="top" class="bordered" width="780" cellspacing="0" cellpadding="3" style="border: 0;">
        <tr>
            <td colspan="3" style="width: 160px; text-align: center; border-width: 0 1px; border-style: solid; border-color: #6DAE42;">
                <!-- reklama? -->
                {* banner editovat na /id/1870248 *}{include file="1870248.tpl"}
            </td>
        </tr>
        <tr>
            <!-- left column -->
            <td align="left" valign="top" style="width: 230px; white-space: normal; border-width: 0 0 1px 1px; border-style: solid; border-color: #6DAE42;">

{*                <!-- blogs -->
                <center><span class="important">user blogs</span></center><Br>
                {get_nodes_by_parent parent=21 listing_amount=23 offset=$offset}
                {foreach from=$get_nodes_by_parent item=child}
                    <table width="230">
                        <tr>
                            <td>
                                <img src="{get_image_link id=$child.node_creator}" align="left" hspace="5" vspace="5" border="0">
                                <a href="/id/{$child.node_id}">{$child.node_name|wordwrap:20:"<br>":true|stripslashes}</a><br>
                                {$child.node_content|strip_tags:false|stripslashes|truncate:66:"...":true|wordwrap:20:"<br>":true}<br>
                                by <a href="/id/{$child.node_creator}">{$child.login}</a> {$child.node_views} views
                            </td>
                        </tr>
                    </table>
                    <br>
                {/foreach}
                <!-- end of blogs -->
*}
                <br />

                <!-- data nodes -->
                <center><span class="important">latest data nodes</span></center><br><br>
                {get_nodes_by_type type=12 listing_amount=23 offset=$offset}
                {foreach from=$get_nodes_by_type item=child}
                    <div style="margin-bottom: 6px;">
                    <a href="/id/{$child.node_id}">{$child.node_name|wordwrap:40:"<br>":true}</a><br>
                    by <a href="/id/{$child.node_creator}">{$child.login|wordwrap:40:"<br>":true}</a><br>
                    in <a href="/id/{$child.node_parent}">{$child.parent_name|wordwrap:40:"<br>":true}</a><br>
                    </div>
                {/foreach}
                <!-- end of datanodes -->

                <center>{* node_settings *}{include file="1549925.tpl"}</center>
            </td>
            <!-- end of left column -->

            <!-- central column -->
            <td valign="top" style="width: 380px; white-space: normal; border-width: 0 0 1px 0; border-style: solid; border-color: #6DAE42;">

                <center><img src="/images/milkshake.jpg" /><br />{* stav uctu *}{include file="3024338.tpl"}</center>

                <!-- forums -->
                <center><span align="center" class="important">latest forums</span></center><br>
                {get_linked_nodes node_id=1058182 listing_amount=23}
                {foreach from=$get_linked_nodes item=child}
                    <a href="/id/{$child.node_id}">{$child.node_name|strip_tags|stripslashes|truncate:66:"...":true}</a>
                    by <a href="/id/{$child.node_creator}">{$child.login}</a>
                    ({$child.node_children_count} children)</a><br>
                {/foreach}
                <!-- end of forums -->

                <br /><br />
                <!-- articles -->
                {get_linked_nodes listing_amount=42}
                <br /><center><span class="important" align="center">latest articles</span></center>
                {foreach from=$get_linked_nodes item=child }
                    <table width="100%" class="bordered">
                        <tr>
                            <td>
                                <img width="75" src="{get_image_link id=$child.node_id}" align="left" hspace="5" vspace="5" border="0" />
                                <a href="/id/{$child.node_id}">{$child.node_name|stripslashes}</a><br>
                                {$child.node_content|strip_tags|truncate:320|stripslashes}<br><br>
                                <i>node created by <a href="/id/{$child.node_creator}">{$child.login}</a></i>
                            </td>
                        </tr>
                    </table>
                    <br />
                {/foreach}
                <!-- end of articles -->
            </td>
            <!-- end of central column -->

            <!-- right column -->
            <td valign="top" align="center" style="width: 160px; white-space: normal; border-width: 0 1px 1px 0; border-style: solid; border-color: #6DAE42;">
                {if $user_id eq false}
                    <form enctype="multipart/form-data" action="/id/{$node.node_id}" method="post">
                        login::&nbsp;<input type="text" name="login" tabindex="1" accesskey="l" style="width: 100px;" /><br />
                        pass::&nbsp;<input type="password" name="password" tabindex="2" accesskey="p" style="width: 100px;" /><br />
                        name::&nbsp;<input type="radio" name="login_type" value="name" accesskey="n" checked="checked" />
                        id::&nbsp;<input type="radio" name="login_type" value="id" accesskey="i" /><br />
                        <input type="submit" name="event" value="login" tabindex="3" /><br />

                        <script language="JavaScript" type="text/javascript">
                        <!--
                        document.write("<input type='hidden' name='screen_width' value='" + screen.width +
                        "'><input type='hidden' name='screen_height' value='" +
                        screen.height + "'>");
                        // -->
                        </script>
                    </form>
                {/if}

                <br />
                <a href="/id/31" title="register">register</a><br />
                <a href="/id/17/"" title="request password">request password</a><br />
                <br />
                <form action="/id/25/"" method="post">
                    <input type="text" value="{$smarty.post.query}" name="query" />
                    <input type="submit" name="template_event"  value="search" />
                </form>
                <br /><br />

                {* get_userlist *}{include file="1549848.tpl"}
            </td>
        </tr>
    </table>
    {* footer *}{include file="1549377.tpl"}
</center>