<?php defined( '_JEXEC' ) or die( 'Restricted access' );?>
<?php 
error_reporting(E_ERROR);
error_reporting(E_ERROR | E_WARNING | E_PARSE | E_NOTICE);
?>
<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml" 

   xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" >
<head>
<meta name="viewport" content="width=device-width" />
<jdoc:include type="head" />
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/system/css/system.css" type="text/css" />
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/system/css/general.css" type="text/css" />
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template; ?>/css/style.css" type="text/css" />
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template; ?>/css/res-style.css" type="text/css" />
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css" type="text/css" media="all" />
<!-- Google Fonts -->
<link href='https://fonts.googleapis.com/css?family=PT+Sans:400,400italic,700,700italic' rel='stylesheet' type='text/css'>
<link href="https://fonts.googleapis.com/css?family=Montserrat:400,700" rel="stylesheet">
<!-- Google Fonts -->
<script src="acc-tabs.js" type="text/javascript"></script>
<script src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template; ?>/js/acc-tabs.js" type="text/javascript"></script>
<?php
  $app = JFactory::getApplication();
  $menu = $app->getMenu()->getActive();
  $pageclass = '';
  if (is_object($menu))
    $pageclass = $menu->params->get('pageclass_sfx');
	/** Pop Up **/
	JHTML::_('behavior.modal'); 
?>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript">
jQuery(window).load(function() {
	jQuery(".loader").fadeOut("slow");
})
</script>
<script src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template; ?>/js/jquery.js.js" type="text/javascript"></script>
</head>

<body id="<?php echo $pageclass ? htmlspecialchars($pageclass) : 'default'; ?>">
<div class="loader"> </div>
<!-- Main Container -->
<div id="Main-Container"> 
  
  <!-- Top-container-->
  <div id="Top-container">
    <div class="top-container">
      <div class="container">
        <div class="logo"> <a href="<?php echo $this->baseurl ?>"><img src="images/logo.png"></a> </div>
        <div class="logo-right">
          <div class="top"><span>+973 17253399</span>
            <div class="search-box">
              <jdoc:include type="modules" name="search-box" style="xhtml" />
            </div>
            <div class="social">
              <jdoc:include type="modules" name="social" style="xhtml" />
            </div>
          </div>
          <div class="main-menu">
            <jdoc:include type="modules" name="main-menu" style="xhtml" />
          </div>
        </div>
      </div>
    </div>
  </div>
  <!-- Top-container-->
  
  <?php if ($this->countModules( 'home-banner' )) : ?>
  <!-- Home Banner -->
  <div id="Home-banner">
    <div class="home-banner">
      <div class="container">
        <jdoc:include type="modules" name="home-banner" style="xhtml" />
      </div>
    </div>
  </div>
  <!-- Home Banner -->
  <?php endif; ?>
  <?php if ($this->countModules( 'bread-crumb' )) : ?>
  <!-- Bread-crumb -->
  <div id="Bread-crumb">
    <div class="bread-crumb">
      <div class="container">
        <jdoc:include type="modules" name="bread-crumb" style="xhtml" />
      </div>
    </div>
  </div>
  <!-- Bread-crumb -->
  <?php endif; ?>
  <!-- Text Main -->
  <div id="Text-main">
    <div class="text-main">
      <div class="container">
        <div class="content">
          <jdoc:include type="component" />
        </div>
        <?php if ($this->countModules( 'side-bar' )) : ?>
        <div id="Side-bar">
          <div class="side-bar">
            <jdoc:include type="modules" name="side-bar" style="xhtml" />
          </div>
        </div>
        <?php endif; ?>
      </div>
    </div>
  </div>
  <!-- Text Main -->
  <?php if ($this->countModules( 'what' )) : ?>
  <!-- What container -->
  <div id="What-container">
    <div class="dot-bg">
      <div class="what-container">
        <div class="container">
          <jdoc:include type="modules" name="what" style="xhtml" />
        </div>
      </div>
    </div>
  </div>
  <!-- What container -->
  <?php endif; ?>
  <?php if ($this->countModules( 'services' )) : ?>
  <!-- Home-services-->
  <div id="Services-container">
    <div class="services-container">
      <div class="container">
        <jdoc:include type="modules" name="services" style="xhtml" />
      </div>
    </div>
  </div>
  <!-- End-services-->
  <?php endif; ?>
  <?php if ($this->countModules( 'client' )) : ?>
  <!-- Client-container-->
  <div id="Client-container">
    <jdoc:include type="modules" name="client" style="xhtml" />
  </div>
  <!-- Client-container-->
  <?php endif; ?>
  <?php if ($this->countModules( 'map' )) : ?>
  <!-- Map-container-->
  <div id="Map-container">
    <jdoc:include type="modules" name="map" style="xhtml" />
  </div>
  <!-- Map-container-->
  <?php endif; ?>
  <?php if ($this->countModules( 'foot-contact' )) : ?>
  <!-- Home-footer-contact-->
  <div id="Footer-contact">
    <div class="footer-contact">
      <div class="container">
        <jdoc:include type="modules" name="foot-contact" style="xhtml" />
        <div class="right">
          <jdoc:include type="modules" name="home-contact-form" style="xhtml" />
        </div>
      </div>
    </div>
  </div>
  <!-- End-footer-contact-->
  <?php endif; ?>
  <!-- footer -->
  <div id="Footer-container">
    <div class="footer-container">
      <div class="container">
        <div class="website">
          <p>Copyright &copy; 2016 Manama Printing Press. All Rights Reserved.<span class="web"> Design & Developed by <a href="http://www.webtreeonline.com" target="_blank">Webtree.</a></span></p>
        </div>
        <div class="footer-menu">
          <jdoc:include type="modules" name="footer-menu" style="xhtml" />
        </div>
      </div>
    </div>
  </div>
  <!-- footer --> 
</div>
<!-- End Main Container --> 
<script type="text/javascript">
var TabbedPanels1 = new Spry.Widget.TabbedPanels("TabbedPanels1");
</script>
</body>
</html>