 {form->basepath_script}
 <!--[if lte IE 7]> 
 <div id="ie7-display" style="background:#FC3;font:20px/25px bold Arial, Helvetica, sans-serif;margin:20px;padding:20px;border:#C90 1px solid;position:fixed;top:45%;left:20%;right:20%;color:#000;z-index:10000;text-align:center">For better view "Please Update Your Browser",you are using an old version of Internet explorer!!!!!</div>
<script type="text/javascript">
setTimeout(function(){ $("#ie7-display").slideUp();},10000);
</script>
<![endif]-->
<div class="header_container">
    <!-- Start:Header Container Middle -->
    <div class="header_container_middle clearfix">
    <div class="right-link-list fixing_right">
    	<ul class="clearfix">
        	<li class="logout">  {html->anchor href="adminuser/logout/" class="bg-color-tarsition"  title="{$language.lblLogout}" content="<span class='icon-top'>&nbsp;</span>"}</li>
           {if $view_common_languages|@count>1}<li>
<div class="languageSelectionBox1 clearfix bg-color-tarsition">
  <div class="flagbox"><img src="{$view_root_path}/public/uploads/languages/{$view_common_languageImage|escape}" width="14" height="11" alt="{$resCommonLanguages.languageName|default:''}" /></div>
  <div class=" {if $view_common_languages|@count>1}languagebox_head{else}languagebox_single{/if}">{$view_common_languageName}</div>
  <div class="languageList1" id="languageDropdown">
    <ul>
      {foreach from=$view_common_languages item="resCommonLanguages" key="key"}
      {if $view_common_languageName neq $resCommonLanguages.languageName}
      <li id="common_language1_{$resCommonLanguages.languageID}" class="bg-color-tarsition">
        <div class="flagbox"><img src="{$view_root_path}/public/uploads/languages/{$resCommonLanguages.languageImage|escape}" width="14" height="11" alt="{$resCommonLanguages.languageName}" /></div>
        <div class="languagebox1">{$resCommonLanguages.languageName}</div>
      </li>
      {/if}
      {/foreach}
    </ul>
  </div>
</div></li>{/if}
             <li class="user-mng bg-color-tarsition">
          {if $profileEditPrivilege} {html->anchor href="adminuser/profileedit/" class="drop-bx " caption="{$view_common_manageUserName}"}{else}	<span class="drop-bx">{$view_common_manageUserName}</span> {/if}
            </li>
            <li class="quick-link-blck">
            	{html->anchor  class="orders-icon icon-top" href="/order/index/" priv_href="order/index/" title="{$language.lblOrders}"}
                
            </li>
        </ul>
 </div>	
{assign var="today" value=$smarty.now|date_format:"%d-%m-%Y"} 
      <!-- Start:Logo Container-->
     <div class="logo">
        <h1>{$view_common_site_name}</h1>
    </div>
      <!-- End:Logo Container -->
    </div>
    <!-- End:Header Container Middle -->
    <div class="header_container_bottom clearfix">
    <!--	<div class="quickmenu">
        	<span class="qk-mm">
            	<span class="icon-top"></span>
            </span>
            
        </div>-->
      <!-- Start:Header Menu -->
     {include file='CommonTopMenu.tpl'}
      <!-- End:Header Menu -->
    </div>
    <!-- End:Header Container Bottom -->
    {if $notify_count >0}
      {assign var="showCount" value='1'}
    {else}
     {assign var="showCount" value='0'}
    {/if}
  </div>
<div id="ajaxLoader" class="overlay ajax-loader hide">
    <div class="loader-img">
        <img src="{$view_images}/ajax-loader.gif">
    </div>
</div>
<script type="text/javascript">
    var showCount='{$showCount}'
	
    $('.notification').click(function(){		
		
	if($(".notify-bx").is(':visible')){
	  $(".notify-bx").hide(500,function(){ $(".notify").removeClass("active");});
	  //$(".notify").removeClass("active");
	}
  else
  {
	if(showCount==1)
	{
		$(".notify-bx").show();   
		$(".notify").addClass("active");
	}
  }
    
    });
   $(document).mouseup(function (e)
{
    var container = $(".notify-bx");

    if (container.has(e.target).length === 0)
    {
        container.hide(1,function(){ $(".notify").removeClass("active");});
		
    }
});
$(".main_menu li:first").addClass("dashboard").find("a").html("<span class='icon-top'></span>");
//$(".dashboard a").append("<span class='icon-top'></span>");
</script>