HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: //var/www/html/wpcurated/wp-content/themes/curatedbkk/header.php
<?php 
    global $post;
    $post_slug = $post->post_name;
    
?>
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Curated</title>
    <link rel="icon" type="image/x-icon" href="<?php echo esc_url(get_template_directory_uri()); ?>/img/icon.png">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.3.3/css/bootstrap.min.css"
        integrity="sha512-jnSuA4Ss2PkkikSOLtYs8BlYIeeIK1h99ty4YfvRPAlzr377vr3CXDb7sb7eEEBYjDtcYj+AjBH3FLv5uSJuXg=="
        crossorigin="anonymous" referrerpolicy="no-referrer" />
    <link rel="stylesheet" type="text/css" href="//cdn.jsdelivr.net/npm/slick-carousel@1.8.1/slick/slick.css" />

    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.9.0/slick-theme.min.css"
    integrity="sha512-17EgCFERpgZKcm0j0fEq1YCJuyAWdz9KUtv1EjVuaOz8pDnh/0nZxmU6BBXwaaxqoi9PQXnRWqlcDB027hgv9A=="
    crossorigin="anonymous" referrerpolicy="no-referrer" />
    <link
    rel="stylesheet"
    href="https://cdn.jsdelivr.net/npm/@fancyapps/ui@5.0/dist/fancybox/fancybox.css"
    />
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/parsley.js/2.9.2/parsley.css">
    

    <link rel="stylesheet" href="<?php echo get_template_directory_uri(); ?>/css/common.css">
    <link rel="stylesheet" href="<?php echo get_template_directory_uri(); ?>/css/header.css">

    <link rel="stylesheet" href="<?php echo get_template_directory_uri(); ?>/css/footer.css">
    <link rel="stylesheet" href="<?php echo get_template_directory_uri(); ?>/css/style.css">
    <link rel="stylesheet" href="<?php echo get_template_directory_uri(); ?>/css/homesection1.css">
    <link rel="stylesheet" href="<?php echo get_template_directory_uri(); ?>/css/our-review.css">
    <link rel="stylesheet" href="<?php echo get_template_directory_uri(); ?>/css/our-location.css">
    <link rel="stylesheet" href="<?php echo get_template_directory_uri(); ?>/css/inner-page.css">
    <link rel="stylesheet" href="<?php echo get_template_directory_uri(); ?>/css/services.css">
    <link rel="stylesheet" href="<?php echo get_template_directory_uri(); ?>/css/service-details.css">
    <link rel="stylesheet" href="<?php echo get_template_directory_uri(); ?>/css/contact-us.css">
    <link rel="stylesheet" href="<?php echo get_template_directory_uri(); ?>/css/our-blog.css">
    <link rel="stylesheet" href="<?php echo get_template_directory_uri(); ?>/css/career.css">
    <link rel="stylesheet" href="<?php echo get_template_directory_uri(); ?>/css/refer-patient.css">
    <link rel="stylesheet" href="<?php echo get_template_directory_uri(); ?>/css/apply.css">
    <link rel="stylesheet" href="<?php echo get_template_directory_uri(); ?>/css/form.css">
    
    <?php if($post_slug == "intake-form" || $post_slug == "locations" || $post_slug =="refer-a-patient"){ ?>
        <link rel="stylesheet" href="<?php echo get_template_directory_uri(); ?>/css/intake-form.css">
    <?php } ?>
    <?php wp_head(); ?>
</head>

<body>

    <header class="header">

        <figure class="logo">
        <a href="<?php echo esc_url(site_url()); ?>"> <img src="<?php echo get_template_directory_uri(); ?>/img/logo.png" alt=""></a>
        </figure>
        <nav class="menu-wrap navbar navbar-expand-xl ">
            <button class="navbar-toggler ms-auto" type="button" data-bs-toggle="collapse"
                data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false"
                aria-label="Toggle navigation">
                <span class="navbar-toggler-icon"></span>
            </button>
            <div class="collapse navbar-collapse " id="navbarSupportedContent">
                <ul class="listing navbar-nav">
                    <li class="<?php echo (is_page('home')) ? 'active' : ''; ?>"><a href="<?php echo esc_url(site_url()); ?>">Home</a></li>
                    <li class="<?php echo (is_page('services')) ? 'active' : ''; ?>"><a href="<?php echo esc_url(home_url('/services')); ?>">Our Services</a></li>
                    <li class="dropdown "><?php //echo (is_page(array('depression-disorders', 'treatment-resistant-depression', 'anxiety-disorders', 'insomnia', 'conditions-treated'))) ? 'active' : ''; ?>
                        <a href="<?php echo esc_url(home_url('/conditions-treated')); ?>" data-bs-toggle="dropdown" class="dropdown-toggle">Conditions Treated</a>
                        <ul class="dropdown-menu">
                            <li class="<?php echo (is_page('depression-disorders')) ? 'active' : ''; ?>">
                                <a class="dropdown-item" href="<?php echo esc_url(home_url('/depression-disorders')); ?>">Depression Disorders</a>
                            </li>
                            <li class="<?php echo (is_page('treatment-resistant-depression')) ? 'active' : ''; ?>">
                                <a class="dropdown-item" href="<?php echo esc_url(home_url('/treatment-resistant-depression')); ?>">Treatment Resistant Depression</a>
                            </li>
                            <li class="<?php echo (is_page('anxiety-disorders')) ? 'active' : ''; ?>">
                                <a class="dropdown-item" href="<?php echo esc_url(home_url('/anxiety-disorders')); ?>">Anxiety Disorders</a>
                            </li>
                            <li class="<?php echo (is_page('insomnia')) ? 'active' : ''; ?>">
                                <a class="dropdown-item" href="<?php echo esc_url(home_url('/insomnia')); ?>">Insomnia</a>
                            </li>
                            <li class="<?php echo (is_page('other-conditions')) ? 'active' : ''; ?>">
                                <a class="dropdown-item" href="<?php echo esc_url(home_url('/other-conditions')); ?>">Other Conditions</a>
                            </li>
                        </ul>
                    </li>

                    <li class="<?php echo (is_page('about-us')) ? 'active' : ''; ?>"><a href="<?php echo esc_url(home_url('/about-us')); ?>">About Us</a></li>
                    <li class="<?php echo (is_page('our-blog')) ? 'active' : ''; ?>"><a href="<?php echo esc_url(home_url('/our-blog')); ?>">Blog</a></li>
                    <li class="dropdown <?php echo (is_page(array('contact-us', 'refer-a-patient', 'work-with-us'))) ? 'active' : ''; ?>"><a href="<?php echo esc_url(home_url('/contact-us')); ?>" data-bs-toggle="dropdown" class="dropdown-toggle">Contact Us</a>
                 <ul class="dropdown-menu">
                        <li><a class="dropdown-item" href="<?php echo esc_url(home_url('/contact-us')); ?>">Contact</a></li>
                        <li><a class="dropdown-item" href="<?php echo esc_url(home_url('/refer-a-patient')); ?>">Refer a patient</a></li>
                        <li><a class="dropdown-item" href="<?php echo esc_url(home_url('/careers')); ?>">Work With Us</a></li>
                        
                    </ul>
                    </li>
                    <li class="<?php echo (is_page('locations')) ? 'active' : ''; ?>"><a href="<?php echo esc_url(home_url('/locations')); ?>">Locations</a></li>
                    <li><a href="https://patientportal.advancedmd.com/147720/account/logon" target="_blank">Patient Portal Access</a></li>
                   
                    <li>
                        <div class="button-wrap">
                        <a class="callus" href="tel:9174517018">
                            <span>Call Us : (917) 451-7018</span> 
                            <svg class="icon" viewBox="0 0 29 29" fill="none" xmlns="http://www.w3.org/2000/svg">
                                <circle cx="14.5" cy="14.5" r="11.365" fill="#fff"></circle>
                                <path fill-rule="evenodd" clip-rule="evenodd"
                                    d="M14.5 0c4.005 0 7.63 1.624 10.252 4.248A14.455 14.455 0 0 1 29 14.5a14.45 14.45 0 0 1-4.248 10.252A14.455 14.455 0 0 1 14.5 29c-4.005 0-7.63-1.624-10.252-4.248A14.446 14.446 0 0 1 0 14.5c0-4.005 1.624-7.63 4.248-10.252A14.446 14.446 0 0 1 14.5 0Zm-3.148 13.261c.472.85 1.014 1.666 1.72 2.41.706.748 1.586 1.43 2.726 2.008a.27.27 0 0 0 .236.012c.109-.043.217-.13.328-.239.083-.082.189-.22.3-.365.436-.576.98-1.291 1.744-.935.016.007.03.017.047.026l2.551 1.468c.007.005.017.012.026.016.338.232.477.588.48.992 0 .413-.152.875-.374 1.267-.295.517-.726.857-1.227 1.086-.474.217-1.005.337-1.513.41a5.12 5.12 0 0 1-2.312-.193c-.748-.232-1.504-.614-2.325-1.124l-.059-.037c-.378-.236-.786-.489-1.187-.786-1.466-1.105-2.96-2.703-3.93-4.46-.816-1.478-1.26-3.071-1.02-4.589.135-.833.494-1.59 1.115-2.088.543-.437 1.274-.678 2.22-.593.11.007.206.071.258.166l1.638 2.766c.238.311.269.618.139.925-.109.252-.328.483-.628.703-.087.075-.193.151-.304.231-.366.264-.784.571-.64.935l-.01-.012Z"
                                    fill="#014CB2"></path>
                            </svg>
                        </a>

                            <a class="booknow" href="https://www.zocdoc.com/practice/curated-mental-health-84121?lock=true&amp;isNewPatient=false&amp;referrerType=widget" target="_blank">
                                <span>Book Now</span>
                                <svg class="icon" viewBox="0 0 16 15" fill="none" xmlns="http://www.w3.org/2000/svg">
                                    <path d="M15 7.369H1m14 0-6 5.684m6-5.684L9 1.684" stroke="#fff" stroke-width="2"
                                        stroke-linecap="round" stroke-linejoin="round"></path>
                                </svg>
                            </a>
                        </div>
                    </li>
                </ul>
            </div>
        </nav>
        <div class="button-wrap">
            <a class="callus" href="tel:9174517018">
                <span>Call Us : (917) 451-7018</span> <svg class="icon" viewBox="0 0 29 29" fill="none"
                    xmlns="http://www.w3.org/2000/svg">
                    <circle cx="14.5" cy="14.5" r="11.365" fill="#fff" />
                    <path fill-rule="evenodd" clip-rule="evenodd"
                        d="M14.5 0c4.005 0 7.63 1.624 10.252 4.248A14.455 14.455 0 0 1 29 14.5a14.45 14.45 0 0 1-4.248 10.252A14.455 14.455 0 0 1 14.5 29c-4.005 0-7.63-1.624-10.252-4.248A14.446 14.446 0 0 1 0 14.5c0-4.005 1.624-7.63 4.248-10.252A14.446 14.446 0 0 1 14.5 0Zm-3.148 13.261c.472.85 1.014 1.666 1.72 2.41.706.748 1.586 1.43 2.726 2.008a.27.27 0 0 0 .236.012c.109-.043.217-.13.328-.239.083-.082.189-.22.3-.365.436-.576.98-1.291 1.744-.935.016.007.03.017.047.026l2.551 1.468c.007.005.017.012.026.016.338.232.477.588.48.992 0 .413-.152.875-.374 1.267-.295.517-.726.857-1.227 1.086-.474.217-1.005.337-1.513.41a5.12 5.12 0 0 1-2.312-.193c-.748-.232-1.504-.614-2.325-1.124l-.059-.037c-.378-.236-.786-.489-1.187-.786-1.466-1.105-2.96-2.703-3.93-4.46-.816-1.478-1.26-3.071-1.02-4.589.135-.833.494-1.59 1.115-2.088.543-.437 1.274-.678 2.22-.593.11.007.206.071.258.166l1.638 2.766c.238.311.269.618.139.925-.109.252-.328.483-.628.703-.087.075-.193.151-.304.231-.366.264-.784.571-.64.935l-.01-.012Z"
                        fill="#014CB2" />
                </svg>
            </a>
            <a class="booknow" href="https://www.zocdoc.com/practice/curated-mental-health-84121?lock=true&amp;isNewPatient=false&amp;referrerType=widget" target="_blank">
                <span>Book Now</span>
                <svg class='icon' viewBox="0 0 16 15" fill="none" xmlns="http://www.w3.org/2000/svg">
                    <path d="M15 7.369H1m14 0-6 5.684m6-5.684L9 1.684" stroke="#fff" stroke-width="2"
                        stroke-linecap="round" stroke-linejoin="round" />
                </svg>
            </a>
        </div>
    </header>