<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
       "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

<head>
    <meta http-equiv="content-type" content="text/html;charset=UTF-8" />
    <title>{if $hostname eq ""}VoiceOne Personal{else}{$hostname} - VoiceOne Personal{/if}</title>
    <link rel="shortcut icon" href="{$cw_public}/img/favicon.ico" />
    <link rel="Stylesheet" href="{$cw_public}/css/index.css" type="text/css" media="screen" />
    <link rel="Stylesheet" href="{$cw_public}/css/thickbox.css" type="text/css" media="screen" />
    <link rel="stylesheet" href="{$cw_public}/css/ui.tabs.css" type="text/css" media="print, projection, screen">
    <script language="JavaScript" src="{$cw_public}/js/functions.js"></script>
    <script language="JavaScript" src="{$cw_public}/js/calendar/calendar.js"></script>
    <script language="JavaScript" src="{$cw_public}/js/jquery-1.2.1.min.js"></script>
    <script language="JavaScript" src="{$cw_public}/js/thickbox.js"></script>
    <script language="JavaScript" src="{$cw_public}/js/ui.tabs.js"></script>
    {literal}
    <style>
      #Tabs a {background-image: url({/literal}{$cw_public}img/tabCornerBlue.gif{literal}); background-repeat: no-repeat;}
      #Header {border: 10px solid #003366; border-width: 10px 10px 0 10px;}
      #DashContentFrame {border: 10px solid #003366; border-width: 0 10px 10px 10px;}
    </style>
    {/literal}
</head>

<body style="background: #CBE1F0 url({$cw_public}img/bodybg.gif) repeat-x;">

<div class="Container">
  <div id="Statusbar" >
		<div id="StatusRight">
		</div>
  </div>

  <div id="Header">
    <h3 style="width:300px;">
      <div style="float: right; margin-left: 10px;"><img id="tplpbxsytatus" src="{$pbxStatus}"></div>
      <div>
        {$persWelcome} <strong>{$cwUser}</strong> (<a class="" href="?cwLogOut=1">{$persLogOff}</a>)<br/>
        {if $hostname neq ""}System <strong>{$hostname}</strong> - {else}Voiceone {/if}v{$voiceone_version} (r{$voiceone_release})<br/><br/>
      </div>
	  </h3>
		<h1 style="padding-bottom: 7px;"><img src="{$cw_public}img/personal.gif" alt="VoiceOne Personal Panel" /></h1>
    {menu section=$section subsection=$subsection}
	</div>


  {if $templateType eq "OneCol"}
      {include file="_1col.tpl"}
  {elseif $templateType eq "TwoColRight"}
      {include file="_2colRight.tpl"}
  {elseif $templateType eq "TwoColLeft"} 
      {include file="_2colLeft.tpl"}
  {else} 
      {include file="_2colLeft.tpl"}
  {/if}

  <div id="Footer">
    <a href="http://www.voiceone.it" target="_blank"><img align="right"  src="{$cw_public}/img/callware.gif" alt="Powered by Callware" border="0" align="absmiddle" hspace="20"/></a>
    <a href="http://www.voiceone.it/support/">Get support</a> | 
    <a href="/voiceone/LICENSE" target="_blank">{$loginTerms}</a>
  </div>

</div>
</body>
</html>
