<?PHP
session_start();
if(isset($_SESSION['Nama']) and isset($_SESSION['Pass'])) {
//$Nama = $_SESSION['Nama'];
//$Pass = $_SESSION['Pass']; 
//echo "Nama = ".$Nama;
//echo "<br/>Pass = ".$Pass;
?>


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>CAMELON  | PERPUSTAKAAN</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<LINK href="../images/index.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--

.style1 {color: #FFFFFF}
body {
	margin-top: 0px;
	background-image: url(../images/green_wallpaper.jpg);
	margin-bottom: 0px;
}
-->
</style></head>

<body>
<table width="1100"  border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td valign="bottom" bgcolor="#669900"><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_hijau.swf">
      <param name="quality" value="high">
      <embed src="../themes/top_hijau.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="700" height="50"></embed>
    </object></td>
  </tr>
  <tr>
    <td><table width="100%"  border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td width="22%" valign="top" bgcolor="#336600"><table width="300" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr>
            <td bgcolor="#669900"><table width="100%"  border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td><form name="form1" method="post" action="index.auth.php">
                  <table width="300" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td background="../images/bg.jpg"><table width="300" border="0" align="center" cellpadding="0" cellspacing="0">
                        <tr>
                          <td><a href="index.php" class="menu">BERANDA</a></td>
                        </tr>
                      </table>                        </td>
                    </tr>
                  </table>
                </form></td>
              </tr>
            </table></td>
          </tr>
        </table>
          <table width="300" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td height="449" valign="top" background="../images/camelon_library.jpg"><table width="100%"  border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td><form name="form2" method="post" action="perpus_search.php">
                        <table width="80%" border="0" align="center" cellpadding="8" cellspacing="8">
                          <tr>
                            <td><div align="center"></div></td>
                          </tr>
                          <tr>
                            <td>&nbsp;</td>
                          </tr>
                          <tr>
                            <td>&nbsp;</td>
                          </tr>
                          <tr>
                            <td>&nbsp;</td>
                          </tr>
                          <tr>
                            <td>&nbsp;</td>
                          </tr>
                          <tr>
                            <td><div align="center"><span class="style1">PENCARIAN BUKU </span></div></td>
                          </tr>
                          <tr>
                            <td><div align="center">
                                <input name="query2" type="text" id="query22">
                            </div></td>
                          </tr>
                          <tr>
                            <td><div align="center">
                                <input type="submit" name="Submit2" value="CARI JUDUL BUKU">
                            </div></td>
                          </tr>
                          <tr>
                            <td>&nbsp;</td>
                          </tr>
                        </table>
                    </form></td>
                  </tr>
              </table></td>
            </tr>
          </table></td>
        <td width="78%" valign="top" bgcolor="#CCCCCC"><table width="100%"  border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td bgcolor="#FF9900"><table width="100%"  border="0" cellspacing="4" cellpadding="4">
                  <tr>
                    <td width="85%"><strong>POSTING BUKU BARU </strong></td>
                    <td width="15%"><a href="../index.logout.php" class="menubin">LOGOUT</a></td>
                  </tr>
              </table></td>
            </tr>
          </table>
          <table width="100%"  border="0" cellspacing="4" cellpadding="4">
            <tr>
              <td><form action="perpus_postadd.php" method="post" name="perpusk" id="perpusk">
                <table width="90%"  border="0" align="center" cellpadding="5" cellspacing="5">
                  <tr>
                    <td colspan="3">&nbsp;</td>
                  </tr>
                  <tr>
                    <td width="28%">&nbsp;</td>
                    <td width="2%">&nbsp;</td>
                    <td width="70%">&nbsp;</td>
                  </tr>
                  <tr>
                    <td>Judul Buku </td>
                    <td>:</td>
                    <td><input name="p_judul" type="text" id="p_judul" size="60" onkeyup="javascript:this.value=this.value.toUpperCase();"></td>
                  </tr>
                  <tr>
                    <td>Pengarang</td>
                    <td>:</td>
                    <td><input name="p_pengarang" type="text" id="p_pengarang" size="60" onkeyup="javascript:this.value=this.value.toUpperCase();"></td>
                  </tr>
                  <tr>
                    <td>ISSBN</td>
                    <td>:</td>
                    <td><input name="p_issbn" type="text" id="p_issbn">
        *Tidak wajib </td>
                  </tr>
                  <tr>
                    <td>Dicetak Tahun </td>
                    <td>:</td>
                    <td><input name="p_dicetak" type="text" id="p_dicetak" size="20" onKeyPress="return numbersonly(this, event)" onkeyup="return numbersonly(this, event)"></td>
                  </tr>
                  <tr>
                    <td>Jumlah Buku </td>
                    <td>:</td>
                    <td><input name="p_jmlh" type="text" id="p_jmlh" size="5" onKeyPress="return numbersonly(this, event)" onkeyup="return numbersonly(this, event)">
        Buku Dalam Inventaris</td>
                  </tr>
                  <tr>
                    <td>Kategori/Klasfikasi Buku </td>
                    <td>:</td>
                    <td><input name="p_kat" type="text" id="p_kat" size="20"> 
                    &lt;&lt;--KLASIFIKASI SESUAI RAK BUKU </td>
                  </tr>
                  <tr>
                    <td>Sumber Buku dari </td>
                    <td>:</td>
                    <td><select name="p_sumber" id="p_sumber">
                        <option value="0" selected>Beli</option>
                        <option value="1">Sumbangan</option>
                        <option value="2">Langganan</option>
                      </select>
        *Jika tidak dipilih maka standar diperoleh dari &quot;Beli&quot; </td>
                  </tr>
                  <tr>
                    <td>&nbsp;</td>
                    <td>&nbsp;</td>
                    <td>&nbsp;</td>
                  </tr>
                  <tr>
                    <td>&nbsp;</td>
                    <td>&nbsp;</td>
                    <td><input type="reset" name="Submit22" value="Reset">
                        <input type="submit" name="Submit" value="Simpan Posting Katalog">
                    </td>
                  </tr>
                  <tr>
                    <td>&nbsp;</td>
                    <td>&nbsp;</td>
                    <td>&nbsp;</td>
                  </tr>
                  <tr>
                    <td>&nbsp;</td>
                    <td>&nbsp;</td>
                    <td>&nbsp;</td>
                  </tr>
                </table>
              </form></td>
            </tr>
          </table></td>
      </tr>
    </table></td>
  </tr>
</table>
<table width="1100" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td bgcolor="#EEEEEE"><table width="699"  border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td></td>
      </tr>
      <tr>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td><div align="center"></div></td>
      </tr>
      <tr>
        <td><div align="center">(c) 2016 Created By <strong>Chendia Studio</strong></div></td>
      </tr>
      <tr>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td>&nbsp;</td>
      </tr>
    </table></td>
  </tr>
</table>
</body>
</html>
<?PHP
}
else {
echo "ANDA BELUM LOGIN";
echo "<meta http-equiv=\"refresh\" content=\"3; url=../index.php\">";
}
?>

