<!-- BEGIN HEAD -->
<!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="$config[language]" lang="$config[language]">
<head>
  <title>$lang['Admin'] - $config[title]</title>
  <meta http-equiv="Content-Type" content="text/html; charset=$config[charset]" />
  <meta name="Description" content="" />
  <meta name="Keywords" content="" />
  <meta name="Author" content="Simlution.org" />
  <script type="text/javascript" src="$config[dir_core]common.js"></script>
  <script type="text/javascript" src="$config[dir_core]common-admin.js"></script>
  <script type="text/javascript" src="$config[dir_core]checkForm.js"></script>
  <script src="$config[dir_core]lert.js" type="text/javascript"></script>
  <link rel="stylesheet" href="$config[dir_templates]admin/style.css" type="text/css" />
  <script type="text/javascript">
    <!--
    var cfBorderColor     = "#666666";
    var cfLangNoWord      = "$lang[cf_no_word]";
    var cfLangMail        = "$lang[cf_mail]";
    var cfWrongValue      = "$lang[cf_wrong_value]";
    var cfToSmallValue    = "$lang[cf_to_small_value]";
    var cfTxtToShort      = "$lang[cf_txt_to_short]";

    var delShure = "$lang['Operation_sure']";
    var yes = "$lang[yes]";
    var no = "$lang[no]";
    var Cancel = "$lang[Cancel]";
    var Yes = "$lang[Yes]";
    var YesWithoutFiles = "$lang[Yes_without_files]";
    var aDelTxt = Array( Yes, YesWithoutFiles );
    //-->
  </script>

<!-- END HEAD -->
<!-- BEGIN BODY -->
</head>

<body>
  <div id="container">
    $sMsg
    <div id="header">
      <div id="menuTop">
        <div id="links"><a href="?p=">$lang['homepage']</a>|<a href="http://simlution.org/forum/">$lang['support']</a>|<a href="?p=settings-config">$lang['configuration']</a>|<a href="?p=logout">$lang['log_out']</a><!-- menu top end --></div>
        <div id="lang">$lang['select_language']: <select name="" onchange="redirectToUrl( '$_SERVER[PHP_SELF]?sLang='+this.value )">$sLangSelect</select></div>
      </div>
      <div id="logoSimlution">
        <a href="http://simlution.org/"><img src="$config[dir_templates]admin/img/simlution.png" alt="Simlution.org" /></a>
      </div>
      <div class="clear"></div>

      <!-- menu under_logo start -->
      <ul id="menuBar">
        <li onmouseover="return buttonClick( event, 'p' ); buttonMouseover( event, 'p' );"><a href="?p=p-list"><span class="pages">$lang['Pages']</span></a></li>
        <li onmouseover="return buttonClick( event, 'languages' ); buttonMouseover( event, 'languages' );"><a href="?p=lang-list"><span class="lang">$lang['Languages']</span></a></li>
        <li onmouseover="return buttonClick( event, 'images' ); buttonMouseover( event, 'images' );"><a href="?p=images-list"><span class="images">$lang['Images']</span></a></li>
        <!-- menu under_logo bar end -->
      </ul>

      <!-- submenu under_logo start -->
      <div id="p" class="menu" onmouseover="menuMouseover( event );">
        <a href="?p=p-form">$lang['New_page']</a>
      </div>
      <div id="languages" class="menu" onmouseover="menuMouseover( event );">
        <a href="?p=lang-form">$lang['New_language']</a>
      </div>
      <div id="images" class="menu" onmouseover="menuMouseover( event );">
        <a href="?p=images-form">$lang['New_image']</a>
        <span class="sep">&nbsp;</span>
        <a href="?p=images-multiform">$lang['New_images']</a>
        <span class="sep">&nbsp;</span>
        <a href="?p=comments-list">$lang['Comments']</a>
      </div>
      <!-- menu under_logo end -->

    </div>
    <div class="clear"></div>
    <div id="body">
<!-- END BODY -->

<!-- BEGIN FOOT -->
      <div id="back">
        &laquo; <a href="javascript:history.back();">$lang[back]</a>
      </div>
    </div>
  </div>
</body>
</html>
<!-- END FOOT -->

<!-- BEGIN HOME -->
<h1>$lang['Homepage']</h1>
<div class="mainPage">
  <table id="mainPage" cellspacing="0">
    <tr>
      <td id="news">
        <h2>$lang['News_from_simlution']</h2>
        <iframe src="http://simlution.org/news,$config[language],$config[version].html"></iframe>
      </td>
    </tr>
  </table>
</div>
<!-- END HOME -->