<?PHP
session_start();
if(isset($_SESSION['Nama']) and isset($_SESSION['Pass'])) {
$Nama = $_SESSION['Nama'];
if ($Nama == "tilang"){
?>
<?PHP
include("../index.globalconfig.php");
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title><?PHP echo $satker; ?></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<LINK href="images/index.css" rel="stylesheet" type="text/css">
<LINK href="images/menu.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
body {
	background-image: url();
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
.style1 {
	color: #FFFFFF;
	font-weight: bold;
}
-->
</style>
<script language="javascript" type="text/javascript">
<!--
/****************************************************
     Author: Eric King
     Url: http://redrival.com/eak/index.shtml
     This script is free to use as long as this info is left in
     Featured on Dynamic Drive script library (http://www.dynamicdrive.com)
****************************************************/
var win=null;
function NewWindow(mypage,myname,w,h,scroll,pos){
if(pos=="random"){LeftPosition=(screen.width)?Math.floor(Math.random()*(screen.width-w)):100;TopPosition=(screen.height)?Math.floor(Math.random()*((screen.height-h)-75)):100;}
if(pos=="center"){LeftPosition=(screen.width)?(screen.width-w)/2:100;TopPosition=(screen.height)?(screen.height-h)/2:100;}
else if((pos!="center" && pos!="random") || pos==null){LeftPosition=0;TopPosition=20}
settings='width='+w+',height='+h+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=yes';
win=window.open(mypage,myname,settings);}
// -->
</script></head>

<body>
<table width="100%"  border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><table width="100%"  border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td bgcolor="#FF6600"><table width="100%"  border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td bgcolor="#FF0000"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="700" height="50">
              <param name="movie" value="../themes/top_merah.swf">
              <param name="quality" value="high">
              <embed src="../themes/top_merah.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="700" height="50"></embed>
            </object></td>
          </tr>
        </table>
        <table width="100%"  border="0" cellspacing="6" cellpadding="6">
          <tr>
            <td><span class="style1">SELAMAT DATANG OPERATOR PIDUM PETUGAS TILANG </span></td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td><table width="100%"  border="0" align="center" cellpadding="0" cellspacing="0">
            <tr>
              <td><div class="drop">
                  <ul class="drop_menu">
                    <li><a href='#'><strong>HOME</strong></a>
                        <ul>
						<li><a href='?g=home&i=index'>BERANDA</a></li>
					
                        </ul>
                    </li>
					 
                   
                   
					
                    
					    <li><a href='#'><strong>TILANG</strong></a>
                        <ul>
                          <li><a href="?g=tilang&i=index" title="HOME">INPUT DATA TILANG</a></li>
						  <li><a href="?g=rekap&i=index" title="HOME">INPUT REKAP PNPB MINGGUAN</a></li>
					<li><a href="?g=datatilang&i=index" title="HOME">DATA TILANG BULANAN</a></li>
                        </ul>
                    </li>
                  
                    <li><a href='../index.logout.php'><strong>LOGOUT</strong></a> </li>
                  </ul>
              </div></td>
            </tr>
          </table></td>
      </tr>
      <tr>
        <td><table width="100%"  border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td bgcolor="#FFF0F0"><table width="100%"  border="0" cellspacing="8" cellpadding="8">
              <tr>
                <td><?PHP
$g1 = $_GET["g"];  
$i1 = $_GET["i"]; 
if($g1 == "datatilang"){ include("index_datatilang.php"); }
elseif($g1 == "tilang"){ include("index_input.php"); }
elseif($g1 == "rekap"){ include("index_rekapan.php"); }
elseif($g1 == "home"){ include("index_home.php"); }
else{ include("index_home.php"); }
?></td>
              </tr>
            </table></td>
          </tr>
        </table></td>
      </tr>
    </table></td>
  </tr>
</table>
<table width="100%"  border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td bgcolor="#FF0000"><table width="100%"  border="0" cellspacing="4" cellpadding="4">
      <tr>
        <td><?PHP echo $satker; ?> | <?PHP echo $alamat; ?></td>
      </tr>
    </table></td>
  </tr>
</table>
</body>
</html>

<?PHP
}
else {
echo "ANDA BELUM LOGIN, GAGAL AKSES";
echo "<meta http-equiv=\"refresh\" content=\"3; url=../index.php\">";
}}
?>