<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="{$charset}" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>{if $kbarticle.title}{$kbarticle.title} - {/if}{$pagetitle} - {$companyname}</title>

    {include file="$template/includes/head.tpl"}

    {$headoutput}

</head>
<body>

{$headeroutput}
 {if $adminMasqueradingAsClient || $adminLoggedIn}
<section id="adminmasquarade">
<div class="container">
 <div class="row">
    <div class="col-sm-12">
     {if $adminMasqueradingAsClient}
                <!-- Return to admin link -->
                <div class="admin-masquerade-notice">
                    {$LANG.adminmasqueradingasclient} <a href="logout.php?returntoadmin=1" class="alert-link">{$LANG.logoutandreturntoadminarea}</a>
                </div>
            {elseif $adminLoggedIn}
                <!-- Return to admin link -->
                <div class="admin-masquerade-notice">
                    {$LANG.adminloggedin} <a href="logout.php?returntoadmin=1" class="alert-link">{$LANG.returntoadminarea}</a>
                </div>
            {/if}
    </div>
    </div>
    </div>
</section>
{/if}

<section id="thetopbar">
 <div class="container">
    <div class="row">
    <div class="col-xs-12 col-sm-4">
     <ul class="top-list">
  <li><i class="fa fa-phone"></i> 851.02.DATASERV</li>
</ul>
    </div>
    <div class="col-xs-12 col-sm-8">
     <!-- Top Bar -->
        <div id="top-nav">
            <!-- Language -->
            {if $languagechangeenabled && count($locales) > 1}
                <div class="pull-right nav">
                    <a href="#" class="quick-nav" data-toggle="popover" id="languageChooser"><i class="fa fa-language"></i> {$LANG.chooselanguage} <span class="caret"></span></a>
                    <div id="languageChooserContent" class="hidden">
                        <ul>
                            {foreach from=$locales item=locale}
                                <li><a href="{$currentpagelinkback}language={$locale.language}">{$locale.localisedName}</a></li>
                            {/foreach}
                        </ul>
                    </div>
                </div>
            {/if}
            <!-- Login/Account Notifications -->
            {if $loggedin}
                <div class="pull-right nav">
                    <a href="#" class="quick-nav" data-toggle="popover" id="accountNotifications" data-placement="bottom" title="Account Notifications"><i class="fa fa-info"></i> {$LANG.notifications} <span class="badge">{$clientAlerts|count}</span></a>
                    <div id="accountNotificationsContent" class="hidden">
                        {foreach $clientAlerts as $alert}
                            <div class="clientalert text-{$alert->getSeverity()}">{$alert->getMessage()}{if $alert->getLinkText()} <a href="{$alert->getLink()}" class="btn btn-xs btn-{$alert->getSeverity()}">{$alert->getLinkText()}</a>{/if}</div>
                        {foreachelse}
                            <div class="clientalert text-success"><i class="fa fa-check-square-o"></i> {$LANG.notificationsnone}</div>
                        {/foreach}
                    </div>
                </div>
            {else}
                <div class="pull-right nav">
                    <a href="#" class="quick-nav" data-toggle="popover" id="loginOrRegister" data-placement="bottom"><i class="fa fa-user"></i> {$LANG.login}</a>
                    <div id="loginOrRegisterContent" class="hidden">
                        <form action="dologin.php" method="post" role="form">
                            <div class="form-group">
                                <input type="email" name="username" class="form-control" placeholder="{$LANG.clientareaemail}" required />
                            </div>
                            <div class="form-group">
                                    <input type="password" name="password" class="form-control" placeholder="{$LANG.loginpassword}" required />
                            </div>
                            <div class="form-group">
                            <span class="input-group-btn">
                                        <input type="submit" class="btn btn-primary" value="{$LANG.login}" />
                                    </span>
                                    </div>
                            <label class="checkbox-inline">
                                <input type="checkbox" name="rememberme" /> {$LANG.loginrememberme} &bull; <a href="pwreset.php">{$LANG.forgotpw}</a>
                            </label>
                        </form>
                        <hr />
                        {$LANG.newcustomersignup|sprintf2:'<a href="register.php">':'</a>'}
                    </div>
                </div>
            {/if}
            <!-- Shopping Cart -->
            <div class="pull-right nav">
                <a href="cart.php?a=view" class="quick-nav"><i class="fa fa-shopping-cart"></i> <span class="hidden-xs">{$LANG.viewcart} <span class="badge">{$cartitemcount}</span></span></a>
            </div>



        </div>

    </div>
    </div>
    </div>
</section>

<section id="header">
    <div class="container">

         <!-- Top Bar-->
    <div class="top">
        <div class="row">
            <div class="col-sm-3">
                <div class="logo"><a href="{$WEB_ROOT}/index.php"><img src="{$WEB_ROOT}/templates/{$template}/img/logo.png" alt="{$companyname}" /></a></div>
            </div>
            <div class="col-sm-9">

              <!--  NAVIGATION MENU AREA -->
    <nav id="desktop-menu">
      <ul class="sf-menu" id="navigation">
        <li class="current"><a href="#">Home</a>
          <ul>
            <li><a href="http://themes.audemedia.com/html/dataserv/index.html">Order Slider</a></li>
              <li><a href="http://themes.audemedia.com/html/dataserv/index-image.html">Background Header</a></li>
            <li><a href="http://themes.audemedia.com/html/dataserv/index-image2.html">Background Header 2</a></li>
            <li><a href="http://themes.audemedia.com/html/dataserv/index-video.html">Video Header</a></li>
            <li><a href="http://themes.audemedia.com/html/dataserv/index-slider.html">Slider Header</a></li>
          </ul>
        </li>
        <li><a href="#">Hosting</a>
          <ul>
            <li><a href="http://themes.audemedia.com/html/dataserv/shared.html">Shared Hosting</a></li>
            <li><a href="http://themes.audemedia.com/html/dataserv/vps.html">Cloud VPS</a></li>
            <li><a href="http://themes.audemedia.com/html/dataserv/servers.html">Dedicated Servers</a></li>
          </ul>
        </li>
        <li><a href="http://themes.audemedia.com/html/dataserv/domains.html">Domains</a></li>
        <li><a href="#">Pages</a>
          <ul>
            <li><a href="http://themes.audemedia.com/html/dataserv/about.html">About</a></li>
            <li><a href="http://themes.audemedia.com/html/dataserv/faq.html">FAQ</a></li>
            <li><a href="http://themes.audemedia.com/html/dataserv/datacenter.html">Datacenter</a></li>
            <li><a href="http://themes.audemedia.com/html/dataserv/elements.html">Elements</a></li>
          </ul>
        </li>
        <li><a href="#">Blog</a>
          <ul>
            <li><a href="http://themes.audemedia.com/html/dataserv/blog-category.html">Category</a></li>
            <li><a href="http://themes.audemedia.com/html/dataserv/blog-single.html">Single</a></li>
          </ul>
        </li>
        <li><a href="http://themes.audemedia.com/html/dataserv/contact.html">Contact</a></li>
      </ul>
    </nav>

<!--  END OF NAVIGATION MENU AREA -->

            </div>
        </div>
    </div>
    <!-- End of Top Bar-->

    </div>
</section>

<section id="main-menu">

    <nav id="nav" class="navbar navbar-default navbar-main" role="navigation">
        <div class="container">
            <!-- Brand and toggle get grouped for better mobile display -->
            <div class="navbar-header">
                <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
                    <span class="sr-only">Toggle navigation</span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
            </div>

            <!-- Collect the nav links, forms, and other content for toggling -->
            <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">

                <ul class="nav navbar-nav">

                    {include file="$template/includes/navbar.tpl" navbar=$primaryNavbar}

                </ul>

                <ul class="nav navbar-nav navbar-right">

                    {include file="$template/includes/navbar.tpl" navbar=$secondaryNavbar}

                </ul>

            </div><!-- /.navbar-collapse -->
        </div>
    </nav>

</section>

{if $templatefile == 'homepage'}
    <section id="home-banner">
    <div class="container">
        <div class="row">
            <div class="col-sm-12">
             {if $registerdomainenabled || $transferdomainenabled}
                <h2 class="text-center">{$LANG.homebegin}</h2>
                <form method="post" action="domainchecker.php">
                    <div class="row">
                        <div class="col-md-8 col-md-offset-2 col-sm-10 col-sm-offset-1">
                            <div class="input-group input-group-lg">
                                <input type="text" class="form-control" name="domain" placeholder="{$LANG.exampledomain}" />
                                <span class="input-group-btn">
                                    {if $registerdomainenabled}
                                        <input type="submit" class="btn btn-warning" value="{$LANG.search}" />
                                    {/if}
                                    {if $transferdomainenabled}
                                        <input type="submit" name="transfer" class="btn btn-info" value="{$LANG.domainstransfer}" />
                                    {/if}
                                </span>
                            </div>
                        </div>
                    </div>

                    {include file="$template/includes/captcha.tpl"}
                </form>
            {else}
                <h2>{$LANG.doToday}</h2>
            {/if}
             </div>
        </div>
        </div>
    </section>
     {if $registerdomainenabled || $transferdomainenabled}
    <div class="home-shortcuts">
     {else}
     <div class="home-shortcuts nodomains">
      {/if}
        <div class="container">
        <h2 class="text-center">{$LANG.howcanwehelp}</h2>
            <div class="row">
             <div class="col-sm-12">
                   <ul>
                        {if $registerdomainenabled || $transferdomainenabled}
                            <li>
                                <a id="btnBuyADomain" href="domainchecker.php">
                                    <i class="fa fa-globe"></i>
                                    <p>
                                        {$LANG.buyadomain} <span>&raquo;</span>
                                    </p>
                                </a>
                            </li>
                        {/if}
                        <li>
                            <a id="btnOrderHosting" href="cart.php">
                                <i class="fa fa-hdd-o"></i>
                                <p>
                                    {$LANG.orderhosting} <span>&raquo;</span>
                                </p>
                            </a>
                        </li>
                        <li>
                            <a id="btnMakePayment" href="clientarea.php">
                                <i class="fa fa-credit-card"></i>
                                <p>
                                    {$LANG.makepayment} <span>&raquo;</span>
                                </p>
                            </a>
                        </li>
                        <li>
                            <a id="btnGetSupport" href="submitticket.php">
                                <i class="fa fa-envelope-o"></i>
                                <p>
                                    {$LANG.getsupport} <span>&raquo;</span>
                                </p>
                            </a>
                        </li>
                    </ul>
                </div>
            </div>
        </div>
    </div>
{/if}

<section id="main-body" class="container">

    <div class="row">
        {if $primarySidebar->hasChildren() || $secondarySidebar->hasChildren()}
            {if $primarySidebar->hasChildren()}
                <div class="col-md-9 pull-md-right">
                    {include file="$template/includes/pageheader.tpl" title=$displayTitle desc=$tagline showbreadcrumb=true}
                </div>
            {/if}
            <div class="col-md-3 pull-md-left sidebar">
                {include file="$template/includes/sidebar.tpl" sidebar=$primarySidebar}
            </div>
        {/if}
        <!-- Container for main page display content -->
        <div class="{if $primarySidebar->hasChildren() || $secondarySidebar->hasChildren()}col-md-9 pull-md-right{else}col-xs-12{/if} main-content">
            {if !$primarySidebar->hasChildren() && !$showingLoginPage && $templatefile != 'homepage'}
                {include file="$template/includes/pageheader.tpl" title=$displayTitle desc=$tagline showbreadcrumb=true}
            {/if}