    <div id="conteiner">
        <div id="conteiner_2">
            <div id="head">
                <div class="head_content">
                    <? if(!empty($GLOBALS['user']->name)) : ?>
                    <div class="login">
                        <span><?php print $GLOBALS['user']->name?></span> 
                        <?if(e_diary_pages_get_type() == "parent" && e_diary_pages_get_count_child() > 1):?>
                            <a class="select" href="/select">Выбрать ученика</a>
                        <?endif;?>
                        <?php print l(t('Log out'), "user/logout", array("attributes" => array("class" => array("exit")))); ?>
                    </div>
                    <? endif; ?>
                    <img src="<?php print $logo; ?>" alt="<?php print t('Home'); ?>" class="logo" />
                    <? if(!empty($GLOBALS['user']->name)) : ?>
                        <?php print render($page['sidebar_first']); ?>
                    <? endif; ?>
                </div>
            </div>
            <div id="center">
                <div class="center_2">
                    <div class="center_3">
                        <div class="center_content">
                            <table class="table_border">
                                <tbody>
                                    <tr>
                                        <td>
                                            <div class="border_1">
                                                <div class="border_2">
                                                    <?php print render($page['content']); ?>
                                                </div>
                                            </div>
                                        </td>
                                    </tr>
                                </tbody>
                            </table>
                            <!--Insert Block Here-->
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>