<?php
session_start();
if (empty($_SESSION['namauser']) AND empty($_SESSION['passuser'])){
	header('location:404.php');
}else{
	$selectlangid = ($localLang == 'indonesia') ? 'selected' : '';
	$selectlangen = ($localLang == 'english') ? 'selected' : '';
	echo "<div class='secWrapper'>
            <div class='secTop'>
                <div class='balance'>
                    <div class='balInfo' style='margin-top:8px; font-size:12px;'>$langhome16</div>
                    <form action='admin.php?mod=home' method='POST'>
						<div class='grid12 noSearch'>
							<select class='select' name='Lang' onChange='submit()'>
								<option value='indonesia' $selectlangid>Indonesia</option>
								<option value='english' $selectlangen>English</option>
							</select>
						</div>
					</form>
                </div>
                <a href='#' class='triangle-red'></a>
            </div>
            <!-- Tabs container -->
            <div id='tab-container' class='tab-container'>
                <ul class='iconsLine ic3 etabs'>
                    <li><a href='#generalside' title=''><span class='icos-blocks'></span></a></li>
                    <li><a href='#calendarside' title=''><span class='icos-dcalendar'></span></a></li>
                    <li><a href='#directoryside' title=''><span class='icos-archive'></span></a></li>
                </ul>
                <div class='divider'><span></span></div>
                <div id='generalside'>
                    <ul class='subNav'>";
						include "thirdmenu.php";
                    echo "</ul>
                </div>
                <div id='calendarside'>
                    <div class='sideWidget'>
                        <div class='inlinedate'></div>
                    </div>
                </div>
                <div id='directoryside'>
                    <div class='widget'>
                        <div class='whead'>
                            <h6><span class='icon-tree-view'></span>Directory List</h6>
                            <div class='clear'></div>
                        </div>
                        <div class='filetree'></div>
                    </div>
                </div>
            </div>
            <div class='divider'><span></span></div>
       </div> 
       <div class='clear'></div>";
}
?>