<?PHP
include("index.cma.db.php");
$query = "Select * from $mytable"; 
$result = mysql_query($query); 
if($row = mysql_fetch_array($result)){
?><LINK href="index.css" rel="stylesheet" type="text/css">

<style type="text/css">
<!--
.style1 {color: #FFFFFF}
-->
</style>
<title>CAMELON INSTALLATION | STEP 1</title><table width="100%"  border="0" cellspacing="8" cellpadding="8">
  <tr>
    <td bgcolor="#FF9900"><table width="100%"  border="0" cellspacing="2" cellpadding="2">
      <tr>
        <td><strong>SELAMAT DATANG DI CAMELON INSTALASI </strong></td>
      </tr>
    </table></td>
  </tr>
</table>
<table width="100%"  border="0" cellspacing="8" cellpadding="8">
  <tr>
    <td>Pengaturan Aplikasi </td>
  </tr>
  <tr>
    <td>Gunakan Huruf Kapital/Besar </td>
  </tr>
  <tr>
    <td><?PHP
$query = "Select * from tab_settings"; 
$result = mysql_query($query); 
if($row = mysql_fetch_array($result)){
?><form name="form1" method="post" action="install.1.php">
      <table width="100%"  border="0" cellspacing="4" cellpadding="4" class="panel">
        <tr>
          <td width="15%">Kejati</td>
          <td width="2%">:</td>
          <td width="83%"><input name="kejati" type="text" id="kejati" value="<?PHP echo htmlspecialchars($row['s_wil']); ?>" size="50"> 
            Contoh : D.I.YOGYAKARTA
            <input name="key" type="hidden" id="key" value="lokasi">
            <input name="table" type="hidden" id="table" value="tab_settings"></td>
        </tr>
        <tr>
          <td>Kejari</td>
          <td>:</td>
          <td><input name="kejari" type="text" id="kejari" value="<?PHP echo htmlspecialchars($row['s_satker']); ?>" size="40"></td>
        </tr>
        <tr>
          <td>Tipe</td>
          <td>:</td>
          <td><input name="tipe" type="text" id="tipe" value="<?PHP echo htmlspecialchars($row['s_tipe']); ?>" size="5"></td>
        </tr>
        <tr>
          <td>Alamat</td>
          <td>:</td>
          <td><input name="alamat" type="text" id="alamat" value="<?PHP echo htmlspecialchars($row['s_alamat']); ?>" size="60"></td>
        </tr>
        <tr>
          <td>&nbsp;</td>
          <td>&nbsp;</td>
          <td>&nbsp;</td>
        </tr>
        <tr>
          <td>Masukkan Kode Pembayaran </td>
          <td>:</td>
          <td bgcolor="#FF0000"><input name="kode" type="text" id="kode" value="<?PHP echo htmlspecialchars($row['s_global']); ?>">
            <span class="style1">***WAJIB ANDA ISI </span></td>
        </tr>
        <tr>
          <td>&nbsp;</td>
          <td>&nbsp;</td>
          <td><input type="submit" name="Submit" value="Simpan"></td>
        </tr>
      </table>
    </form></td>
  </tr>
</table>
<table width="100%"  border="0" cellspacing="8" cellpadding="8">
  <tr>
    <td><div align="center"></div></td>
  </tr>
  <tr>
    <td><div align="center">Camelon By <strong>Chendia Studio Network </strong></div></td>
  </tr>
  <tr>
    <td>&nbsp;</td>
  </tr>
</table>
<? }} ?>
