/var/www/hkosl.com/m.musiccircle/_header.php


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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
<script>
    (function (i, s, o, g, r, a, m) {
        i['GoogleAnalyticsObject'] = r;
        i[r] = i[r] || function () {
                (i[r].q = i[r].q || []).push(arguments)
            }, i[r].l = 1 * new Date();
        a = s.createElement(o),
            m = s.getElementsByTagName(o)[0];
        a.async = 1;
        a.src = g;
        m.parentNode.insertBefore(a, m)
    })(window, document, 'script', 'https://www.google-analytics.com/analytics.js', 'ga');

    ga('create', 'UA-45123111-26', 'auto');
    ga('send', 'pageview');
</script>

<!-- Google Tag Manager -->
<script>(function (w, d, s, l, i) {
        w[l] = w[l] || [];
        w[l].push({
            "gtm.start": new Date().getTime(), event: "gtm.js"
        });
        var f = d.getElementsByTagName(s)[0],
            j = d.createElement(s), dl = l != "dataLayer" ? "&l=" + l : "";
        j.async = true;
        j.src = "https://www.googletagmanager.com/gtm.js?id=" + i + dl;
        f.parentNode.insertBefore(j, f);
    })(window, document, "script", "dataLayer", "GTM-M9P657B");</script>
<!-- End Google Tag Manager -->
<!-- Google Tag Manager (noscript) -->
<noscript>
    <iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M9P657B"
            height="0" width="0" style="display:none;visibility:hidden"></iframe>
</noscript>
<!-- End Google Tag Manager (noscript) -->

<div id="LiFullbg">
    <div class="loading"><img src="img/loading_icon.gif" alt="loading" width="50"/></div>
</div>
<nav class="navbar navbar-default navbar-fixed-top">
    <div class="container">
        <!-- Brand and toggle get grouped for better mobile display -->
        <div class="navbar-header page-scroll" style="padding-top: 0; margin-top: 0;">
            <?php
                
if (strpos($_SERVER['PHP_SELF'], "category.php") !== FALSE){
                    echo 
'<div id="header_companyname" style="cursor: pointer;" onclick="history.back();"> <span class="glyphicon glyphicon-menu-left" aria-hidden="true" style="font-size: 19px;"></span> &nbsp;&nbsp;'._lang("Tutor Searching").'</div>';
                }else if (
strpos($_SERVER['PHP_SELF'], "order_index.php") !== FALSE || strpos($_SERVER['PHP_SELF'], "order_form.php") !== FALSE){
                    echo 
'<div id="header_companyname" style="cursor: pointer;" onclick="history.back();"> <span class="glyphicon glyphicon-menu-left" aria-hidden="true" style="font-size: 19px;"></span> &nbsp;&nbsp;'._lang("Lesson Record").'</div>';
                }else if (
strpos($_SERVER['PHP_SELF'], "fee.php") !== FALSE){
                    echo 
'<div id="header_companyname" style="cursor: pointer;" onclick="history.back();"> <span class="glyphicon glyphicon-menu-left" aria-hidden="true" style="font-size: 19px;"></span> &nbsp;&nbsp;'._lang("Fee").'</div>';
                }else if (
strpos($_SERVER['PHP_SELF'], "chat.php") !== FALSE){
                    echo 
'<div id="header_companyname" style="cursor: pointer;" onclick="chat_switch();"> <span class="glyphicon glyphicon-menu-left" aria-hidden="true" style="font-size: 19px;"></span> &nbsp;&nbsp;'._lang("Chat").'</div>';
                }else if (
strpos($_SERVER['PHP_SELF'], "setting.php") !== FALSE){
                    echo 
'<div id="header_companyname" style="cursor: pointer;" onclick="history.back();"> <span class="glyphicon glyphicon-menu-left" aria-hidden="true" style="font-size: 19px;"></span> &nbsp;&nbsp;'._lang("Setting").'</div>';
                }else if (
strpos($_SERVER['PHP_SELF'], "my_wish.php") !== FALSE){
                    echo 
'<div id="header_companyname" style="cursor: pointer;" onclick="history.back();"> <span class="glyphicon glyphicon-menu-left" aria-hidden="true" style="font-size: 19px;"></span> &nbsp;&nbsp;'._lang("My Wish").'</div>';
                }else if (
strpos($_SERVER['PHP_SELF'], "faq.php") !== FALSE){
                    echo 
'<div id="header_companyname" style="cursor: pointer;" onclick="history.back();"> <span class="glyphicon glyphicon-menu-left" aria-hidden="true" style="font-size: 19px;"></span> &nbsp;&nbsp;'._lang("FAQ").'</div>';
                }else if (
strpos($_SERVER['PHP_SELF'], "tnc.php") !== FALSE){
                    echo 
'<div id="header_companyname" style="cursor: pointer;" onclick="history.back();"> <span class="glyphicon glyphicon-menu-left" aria-hidden="true" style="font-size: 19px;"></span> &nbsp;&nbsp;'._lang("Terms & Conditions").'</div>';
                }else if (
strpos($_SERVER['PHP_SELF'], "privacy_policy.php") !== FALSE){
                    echo 
'<div id="header_companyname" style="cursor: pointer;" onclick="history.back();"> <span class="glyphicon glyphicon-menu-left" aria-hidden="true" style="font-size: 19px;"></span> &nbsp;&nbsp;'._lang("Privacy Policy").'</div>';
                }else if (
strpos($_SERVER['PHP_SELF'], "my_notification.php") !== FALSE){
                    echo 
'<div id="header_companyname" style="cursor: pointer;" onclick="history.back();"> <span class="glyphicon glyphicon-menu-left" aria-hidden="true" style="font-size: 19px;"></span> &nbsp;&nbsp;'._lang("My Notification").'</div>';
                }else if (
strpos($_SERVER['PHP_SELF'], "aboutus.php") !== FALSE){
                    echo 
'<div id="header_companyname" style="cursor: pointer;" onclick="history.back();"> <span class="glyphicon glyphicon-menu-left" aria-hidden="true" style="font-size: 19px;"></span> &nbsp;&nbsp;'._lang("About Us").'</div>';
                }else if (
strpos($_SERVER['PHP_SELF'], "musical_show.php") !== FALSE){
                    echo 
'<div id="header_companyname" style="cursor: pointer;" onclick="history.back();"> <span class="glyphicon glyphicon-menu-left" aria-hidden="true" style="font-size: 19px;"></span> &nbsp;&nbsp;'._lang("單曲樂器表演").'</div>';
                }else if (
strpos($_SERVER['PHP_SELF'], "student_profile.php") !== FALSE){
                    echo 
'<div id="header_companyname" style="cursor: pointer;" onclick="history.back();"> <span class="glyphicon glyphicon-menu-left" aria-hidden="true" style="font-size: 19px;"></span> &nbsp;&nbsp;'._lang("My Profile").'</div>';
                }else if (
strpos($_SERVER['PHP_SELF'], "tutor_profile.php") !== FALSE){
                    echo 
'<div id="header_companyname" style="cursor: pointer;" onclick="history.back();"> <span class="glyphicon glyphicon-menu-left" aria-hidden="true" style="font-size: 19px;"></span> &nbsp;&nbsp;'._lang("Tutor Resume").'</div>';
                }else if (
strpos($_SERVER['PHP_SELF'], "iframe.php") !== FALSE){
                    echo 
'<div id="header_companyname" style="cursor: pointer;" onclick="history.back();"> <span class="glyphicon glyphicon-menu-left" aria-hidden="true" style="font-size: 19px;"></span> &nbsp;&nbsp;'._lang("MusicCircle").'</div>';
                }else if (
strpos($_SERVER['PHP_SELF'], "profile.php") !== FALSE){
                    echo 
'<div id="header_companyname" style="cursor: pointer;" onclick="profile_redirect();"> <span class="glyphicon glyphicon-menu-left" aria-hidden="true" style="font-size: 19px;"></span> &nbsp;&nbsp;'._lang("Tutor Resume").'</div>';
                }else if (
strpos($_SERVER['PHP_SELF'], "student_postjob_form.php") !== FALSE || strpos($_SERVER['PHP_SELF'], "student_postjob_index.php") !== FALSE){
                    echo 
'<div id="header_companyname" style="cursor: pointer;" onclick="history.back();"> <span class="glyphicon glyphicon-menu-left" aria-hidden="true" style="font-size: 19px;"></span> &nbsp;&nbsp;'._lang("Post Jobs").'</div>';
                }else if (
strpos($_SERVER['PHP_SELF'], "job.php") !== FALSE || strpos($_SERVER['PHP_SELF'], "job_detail.php") !== FALSE){
                    echo 
'<div id="header_companyname" style="cursor: pointer;" onclick="history.back();"> <span class="glyphicon glyphicon-menu-left" aria-hidden="true" style="font-size: 19px;"></span> &nbsp;&nbsp;'._lang("Matching Student").'</div>';
                }else{
                    echo 
'<a href="index.php" id="header_companyname">MusicCircle</a><div style="float: right; position: relative; top: 11px; right: 10px;"><img src="'.$site_info["url"].'img/whatsapp.png" style="height: 25px; margin-top: -5px;"> <span style="color: #fff; font-size: 21px; ">9446 0817</span></div>';
                }
            
?>

        </div>
    </div>
</nav>