top.php 2.41 KB
Newer Older
Яков's avatar
first  
Яков committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<div class="overlay_callback" onclick="callback.close();">
    <div class="overlay_callback__item" onclick="event.stopPropagation();">
        <?php
        include_component('callback', 'callback');
        ?>
    </div>
</div>
<div id="panel"></div>
<div class="search_overlay" onclick="search.close();">
    <div class="search_overlay__line" onclick="event.stopPropagation();">
        <div class="max_width">
            <form method="get" action="<?php echo url_for('@search');?>">
                <table cellspacing="0" cellpadding="0" width="100%">
                    <tbody>
                    <tr>
                        <td>
                            <input type="text" class="search_overlay__line__inp" autocomplete="off" name="q" placeholder="<?php echo __('Поиск');?>" onkeyup="search.onKeyup(this);" />
                        </td>
                        <td width="1">
                            <button class="search_overlay__line__btn search_btn" type="submit"></button>
                        </td>
                        <td width="20"></td>
                        <td width="1">
                            <div class="search_overlay__close" onclick="search.close();"></div>
                        </td>
                    </tr>
                    </tbody>
                </table>
            </form>
        </div>
    </div>
    <div class="search_overlay__result max_width" onclick="event.stopPropagation();"></div>
</div>

<div class="body_wrapper_wrapper">
    <table class="body_wrapper" width="100%" cellspacing="0" cellpadding="0" heigth="100%">
        <tr>
            <td heigth="100%" align="center">
                <table class="root_table" width="100%" cellspacing="0" cellpadding="0">
                    <tr valign="top">
                        <td class="root_table__top" align="center">
                            <?php include(sfConfig::get('sf_app_template_dir') . '/top_desktop.php'); ?>
                            <?php include(sfConfig::get('sf_app_template_dir') . '/top_mobile.php'); ?>
                        </td>
                    </tr>
                    <tr valign="top" onclick="$('.body_wrapper_search').removeClass('show');">
                        <td class="root_table__middle" align="center" height="100%" colspan="2">
                            <div class="btn_to_up" onclick="$('html, body').animate({scrollTop:0}, 600);"></div>
                            <div class="er_content">