<?php

/* @var $this \yii\web\View */
/* @var $content string */

use yii\helpers\Html;
use yii\bootstrap\Nav;
use yii\bootstrap\NavBar;
use yii\widgets\Breadcrumbs;
use frontend\assets\AppAsset;
use common\widgets\Alert;
use yii\helpers\Url;

AppAsset::register($this);
?>
<?php $this->beginPage() ?>
<!DOCTYPE html>
<html lang="<?= Yii::$app->language ?>">
<head>
    <meta charset="<?= Yii::$app->charset ?>">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <?= Html::csrfMetaTags() ?>
    <title> Cardiac Associates</title>
    <?php $this->head() ?>
</head>
<body>
<?php $this->beginBody() ?>

<div id="box_wrapper">

	
    
    <section id="topline" class="with_bottom_border section_padding_0 table_section table_section_md">
        <div class="container-fluid">
            <div class="row">
                <div class="col-md-9 text-md-center">
                    <p class="margin_0">
                    <span class="grey">
						<a class="icon-box" href="<?php  echo Url::home(true)?>site/contact" target="_blank">
							<span class="grey">Rockville •&nbsp;Germantown • Olney • Laurel</span>
						</a>
                    </span>

                    <span class="grey">
                        <i class="rt-icon-newspaper highlight"></i> 8 (800) 695-2684
                    </span>

                    <span class="grey">
                        <i class="rt-icon-email2 highlight"></i> info@cardiacassociates.com
                    </span>
                    </p>
                </div>

                <div class="col-md-3 text-right text-md-center">
                    <div class="widget widget_search">
                        <form role="search" method="get" id="searchform" class="searchform form-inline" action="/">
                            <div class="form-group">
                                <label class="screen-reader-text" for="search">Search for:</label>
                                <input type="text" value="" name="search" id="search" class="form-control" placeholder="Search keyword">
                            </div>
                            <button type="submit" id="searchsubmit" class="theme_button">Search</button>
                        </form>
                     </div>
                </div>
            </div>

        </div>

    </section>

    <section id="toplogo" class="light_section text-center">
        <!-- header toggler -->    
        <span id="toggle_menu"><span></span></span>
        <!--p id="social">
            <a class="socialico-facebook" href="#" title="Facebook">#</a><a class="socialico-twitter" href="#" title="Twitter">#</a><a class="socialico-google" href="#" title="Google">#</a><a class="socialico-linkedin" href="#" title="LinkedIn">#</a><a class="socialico-dribble" href="#" title="Dribble">#</a>
        </p-->
		<?php  $basepath = \Yii::getAlias('@webroot');     ?>
        <a href="./" class="logo top_logo">
            <img src="<?php  echo Url::home(true)?>images/logo.png" alt="">
        </a>
    </section>
    <?php
	$menuItems = [
        ['label' => 'Main', 'url' => ['/site/index']],
        ['label' => 'For Patients', 'url' => ['site/forpatients']],
        ['label' => 'Physicians', 'url' => ['/site/providers']],
		['label' => 'For Referring Physicians', 'url' => ['forphysicians']],
        ['label' => 'Venous Health Centers', 'url' => 'http://www.venoushealthcenters.com/'],
        ['label' => 'Contact', 'url' => ['/site/contact']],
		['label' => 'Faq', 'url' => ['/site/faq']],
		
    ]; ?>
	<header id="header">
        <div class="container-fluid">
            <div class="row">
                <div class="col-sm-12">
					<nav id="mainmenu_wrapper">
	<?php			
    echo Nav::widget([
        'options' => ['class' => 'nav sf-menu'],
        'items' => $menuItems,
    ]);	?>			
					</nav>
				</div>
            </div>
        </div>
    </header>

    <div>
	
	<?php if(!empty($this->params['breadcrumbs'])){ ?>
	<section id="breadcrumbs" class="breadcrumbs_section color_section section_padding_15 gradient bg_image">
		<div class="container">
			<div class="row">
				<div class="col-sm-12 text-center">
					<?= Breadcrumbs::widget([
				'links' => isset($this->params['breadcrumbs']) ? $this->params['breadcrumbs'] : [],
			]) ?>
				</div>
			</div>
		</div>
	</section>
	<?php } ?>
        <?= $content ?>
    </div>


<footer id="subscribe" class="darkgrey_section bg_image">
        <div class="container">
            
        </div>
    </footer>

</div><!-- eof #box_wrapper -->

<div class="preloader">
    <div class="preloader_image"></div>
</div>

<?php $this->endBody() ?>
</body>
</html>
<?php $this->endPage() ?>
