<?
//***************************************************
// http://www.scriptindonesia.com
// Solusi Hemat Script Bisnis Online Anda
// Menerima Jasa Pembuatan Website & Template Website
//***************************************************
?>
<?
//Edit Script AW 20160221
//if (session_is_registered("valid_admin")) {
  if (isset($_SESSION['valid_admin'])) {
?>
<h2><img src="images/icon-48-article.png" width="48" height="48" align="absmiddle"> Setting Kelebihan Bisnis ... </h2>
<?
switch($page) {
	default :
	$db->select("kelebihan1, kelebihanket1, kelebihan2, kelebihanket2, kelebihan3, kelebihanket3, kelebihan4, kelebihanket4, kelebihan5, kelebihanket5, kelebihan6, kelebihanket6", "setting", "id=1");
	if($act == 1 or $act) {
?>
<div id="notice" align="center"><img src="images/notice-info.png" width="29" height="29" align="absmiddle" /><br />Kelebihan bisnis telah berhasil diupdate !<br />Tekan F5 untuk melihat perubahan</div>
	<?
	}
	?>

<!-- KELEBIHAN 1 -->
<form id="form2" name="form2" method="post" action="?m=setkelebihan&amp;page=submit" enctype="multipart/form-data">

<table width="100%" border="0" cellpadding="2" cellspacing="0" bgcolor="#bfd6ed">
  <tr>
    <td width="100%" height="2" bgcolor="#cccccc">
    </td>
  </tr>
</table>

<table width="100%" border="0" cellpadding="2" cellspacing="0" bgcolor="#bfd6ed">
  <tr>
    <td width="100%" height="2" bgcolor="#cccccc">
        <!-- ------------------------------------- -->
        <div id="menu_button2" align="center">
            <strong><?= $db->config("bank2") ?></strong>
        </div>
        <!-- ------------------------------------- -->
    </td>
  </tr>
</table>

<table width="100%" border="0" align="center" cellpadding="2" cellspacing="0">
  <tr>
    <td height="30" bgcolor="#8c759a"><div align="center"><span class="title">&nbsp;&nbsp;<strong><u>Setting Kelebihan Bisnis</u></strong><u></u></span></div></td>
  </tr>
  <tr>
    <td width="956" bgcolor="#EF9400"><img src="../images/px1.gif" width="1" height="1" alt="" border="0"></td>
  </tr>
</table>

  <br />

  <!-- KELEBIHAN 1 -->
  <table width="70%" border="0" align="center" cellpadding="4" cellspacing="1">
    <!-- ***************************************************************** -->
    <tr class="tbl_header">
        <td colspan="2" style=""><center>Pengaturan Kelebihan (1)</center></td>
    </tr>
    <tr> 
      <td width="45%" align="right" valign="top">Judul Kelebihan (1) :</td>
      <td><input name="kelebihan1" type="text" id="kelebihan1" value="<?= $db->result(0, "kelebihan1"); ?>" size="46" maxlength="100" placeholder="Judul kelebihan 1 ..." /><br />
      <input name="no" type="hidden" id="no" value="1" size="10" /></td>
    </tr>
    <tr> 
      <td align="right" valign="top">Informasi Kelebihan (1) :</td>
      <td><textarea name="kelebihanket1" cols="60" rows="3" id="kelebihanket1" maxlength="250"><?= $db->result(0, "kelebihanket1"); ?></textarea></td><br />
    </tr>

<!-- ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -->

    <tr>
      <? $gambargerak = "info1.png";  ?>
      <td align="right" valign="top">Image Kelebihan (1) :</td>
      <td>
                      <label>
                      <?
		  	if($gambargerak <> "") {
                      ?>
                      <img class="img-responsive" src="../images/<?= $gambargerak; ?>" alt="<?= $judul; ?>" width='75' height='75' /><br />
                      <?
                        }
                      ?>
                      <input name="imggerak" type="file" id="imggerak" size="20" class="form" />
                      </label>
                      <input name="gambargerak" type="hidden" class="form" id="gambargerak" value="<?= $gambargerak; ?>" size="12" />
      </td>
      </tr>

      <tr>
        <td valign="top">&nbsp;</td>
        <td align="left"><div align="left" class="style1 style13">Upload
                      gambar anda (hanya PNG / Transparant)<br>
                      Ukuran maksimal 100KB, dimensi lebar maksimal 75 x 75 pixels,
        </div></td>
      </tr>
<!-- ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -->

      <tr>
        <td valign="top">&nbsp;</td>
        <td align="left">&nbsp;-------------------------------------------------------</td>
      </tr>

      <tr>
        <td valign="top">&nbsp;</td>
        <td align="left" class="bingkai-ket">
           <br />
           <label>
           <input name="Submit" type="submit" class="button"  value="SAVE" />
           </label>
           <label>
           <input type="button" name="cancel" id="cancel" value="CANCEL" onclick="javascript:history.go(-1)" class="cancelbutton" />
           </label>
           <br /><br />
        </td>
      </tr>

      <tr>
        <td valign="top">&nbsp;</td>
        <td align="left">&nbsp;-------------------------------------------------------</td>
      </tr>

    <!-- ***************************************************************** -->

  <tr><td colspan="2"><hr /></td></tr>
    
  </table>
</form>
<!-- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx- -->










<!-- KELEBIHAN 2 -->
<form id="form2" name="form2" method="post" action="?m=setkelebihan&amp;page=submit2" enctype="multipart/form-data">

  <!-- KELEBIHAN 2 -->
  <table width="70%" border="0" align="center" cellpadding="4" cellspacing="1">
    <!-- ***************************************************************** -->
    <tr class="tbl_header">
        <td colspan="2" style=""><center>Pengaturan Kelebihan (2)</center></td>
    </tr>
    <tr>
      <td width="45%" align="right" valign="top">Judul Kelebihan (2) :</td>
      <td><input name="kelebihan2" type="text" id="kelebihan2" value="<?= $db->result(0, "kelebihan2"); ?>" size="46" maxlength="100" placeholder="Judul kelebihan 2 ..." /><br />
      <input name="no" type="hidden" id="no" value="1" size="10" /></td>
    </tr>
    <tr>
      <td align="right" valign="top">Informasi Kelebihan (2) :</td>
      <td><textarea name="kelebihanket2" cols="60" rows="3" id="kelebihanket2" maxlength="250"><?= $db->result(0, "kelebihanket2"); ?></textarea></td><br />
    </tr>

<!-- ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -->

    <tr>
      <? $gambargerak = "info2.png";  ?>
      <td align="right" valign="top">Image Kelebihan (2) :</td>
      <td>
                      <label>
                      <?
		  	if($gambargerak <> "") {
                      ?>
                      <img class="img-responsive" src="../images/<?= $gambargerak; ?>" alt="<?= $judul; ?>" width='75' height='75' /><br />
                      <?
                        }
                      ?>
                      <input name="imggerak" type="file" id="imggerak" size="20" class="form" />
                      </label>
                      <input name="gambargerak" type="hidden" class="form" id="gambargerak" value="<?= $gambargerak; ?>" size="12" />
      </td>
      </tr>

      <tr>
        <td valign="top">&nbsp;</td>
        <td align="left"><div align="left" class="style1 style13">Upload
                      gambar anda (hanya PNG / Transparant)<br>
                      Ukuran maksimal 100KB, dimensi lebar maksimal 75 x 75 pixels,
        </div></td>
      </tr>
<!-- ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -->

      <tr>
        <td valign="top">&nbsp;</td>
        <td align="left">&nbsp;-------------------------------------------------------</td>
      </tr>

      <tr>
        <td valign="top">&nbsp;</td>
        <td align="left" class="bingkai-ket">
           <br />
           <label>
           <input name="Submit" type="submit" class="button"  value="SAVE" />
           </label>
           <label>
           <input type="button" name="cancel" id="cancel" value="CANCEL" onclick="javascript:history.go(-1)" class="cancelbutton" />
           </label>
           <br /><br />
        </td>
      </tr>

      <tr>
        <td valign="top">&nbsp;</td>
        <td align="left">&nbsp;-------------------------------------------------------</td>
      </tr>

    <!-- ***************************************************************** -->

  <tr><td colspan="2"><hr /></td></tr>

  </table>
</form>
<!-- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx- -->










<!-- KELEBIHAN 3 -->
<form id="form2" name="form2" method="post" action="?m=setkelebihan&amp;page=submit3" enctype="multipart/form-data">

  <!-- KELEBIHAN 3 -->
  <table width="70%" border="0" align="center" cellpadding="4" cellspacing="1">
    <!-- ***************************************************************** -->
    <tr class="tbl_header">
        <td colspan="2" style=""><center>Pengaturan Kelebihan (3)</center></td>
    </tr>
    <tr>
      <td width="45%" align="right" valign="top">Judul Kelebihan (3) :</td>
      <td><input name="kelebihan3" type="text" id="kelebihan3" value="<?= $db->result(0, "kelebihan3"); ?>" size="46" maxlength="100" placeholder="Judul kelebihan 3 ..." /><br />
      <input name="no" type="hidden" id="no" value="1" size="10" /></td>
    </tr>
    <tr>
      <td align="right" valign="top">Informasi Kelebihan (3) :</td>
      <td><textarea name="kelebihanket3" cols="60" rows="3" id="kelebihanket3" maxlength="250"><?= $db->result(0, "kelebihanket3"); ?></textarea></td><br />
    </tr>

<!-- ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -->

    <tr>
      <? $gambargerak = "info3.png";  ?>
      <td align="right" valign="top">Image Kelebihan (3) :</td>
      <td>
                      <label>
                      <?
		  	if($gambargerak <> "") {
                      ?>
                      <img class="img-responsive" src="../images/<?= $gambargerak; ?>" alt="<?= $judul; ?>" width='75' height='75' /><br />
                      <?
                        }
                      ?>
                      <input name="imggerak" type="file" id="imggerak" size="20" class="form" />
                      </label>
                      <input name="gambargerak" type="hidden" class="form" id="gambargerak" value="<?= $gambargerak; ?>" size="12" />
      </td>
      </tr>

      <tr>
        <td valign="top">&nbsp;</td>
        <td align="left"><div align="left" class="style1 style13">Upload
                      gambar anda (hanya PNG / Transparant)<br>
                      Ukuran maksimal 100KB, dimensi lebar maksimal 75 x 75 pixels,
        </div></td>
      </tr>
<!-- ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -->

      <tr>
        <td valign="top">&nbsp;</td>
        <td align="left">&nbsp;-------------------------------------------------------</td>
      </tr>

      <tr>
        <td valign="top">&nbsp;</td>
        <td align="left" class="bingkai-ket">
           <br />
           <label>
           <input name="Submit" type="submit" class="button"  value="SAVE" />
           </label>
           <label>
           <input type="button" name="cancel" id="cancel" value="CANCEL" onclick="javascript:history.go(-1)" class="cancelbutton" />
           </label>
           <br /><br />
        </td>
      </tr>

      <tr>
        <td valign="top">&nbsp;</td>
        <td align="left">&nbsp;-------------------------------------------------------</td>
      </tr>

    <!-- ***************************************************************** -->

  <tr><td colspan="2"><hr /></td></tr>

  </table>
</form>
<!-- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx- -->










<!-- KELEBIHAN 4 -->
<form id="form2" name="form2" method="post" action="?m=setkelebihan&amp;page=submit4" enctype="multipart/form-data">

  <!-- KELEBIHAN 4 -->
  <table width="70%" border="0" align="center" cellpadding="4" cellspacing="1">
    <!-- ***************************************************************** -->
    <tr class="tbl_header">
        <td colspan="2" style=""><center>Pengaturan Kelebihan (4)</center></td>
    </tr>
    <tr>
      <td width="45%" align="right" valign="top">Judul Kelebihan (4) :</td>
      <td><input name="kelebihan4" type="text" id="kelebihan4" value="<?= $db->result(0, "kelebihan4"); ?>" size="46" maxlength="100" placeholder="Judul kelebihan 4 ..." /><br />
      <input name="no" type="hidden" id="no" value="1" size="10" /></td>
    </tr>
    <tr>
      <td align="right" valign="top">Informasi Kelebihan (4) :</td>
      <td><textarea name="kelebihanket4" cols="60" rows="3" id="kelebihanket4" maxlength="250"><?= $db->result(0, "kelebihanket4"); ?></textarea></td><br />
    </tr>

<!-- ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -->

    <tr>
      <? $gambargerak = "info4.png";  ?>
      <td align="right" valign="top">Image Kelebihan (4) :</td>
      <td>
                      <label>
                      <?
		  	if($gambargerak <> "") {
                      ?>
                      <img class="img-responsive" src="../images/<?= $gambargerak; ?>" alt="<?= $judul; ?>" width='75' height='75' /><br />
                      <?
                        }
                      ?>
                      <input name="imggerak" type="file" id="imggerak" size="20" class="form" />
                      </label>
                      <input name="gambargerak" type="hidden" class="form" id="gambargerak" value="<?= $gambargerak; ?>" size="12" />
      </td>
      </tr>

      <tr>
        <td valign="top">&nbsp;</td>
        <td align="left"><div align="left" class="style1 style13">Upload
                      gambar anda (hanya PNG / Transparant)<br>
                      Ukuran maksimal 100KB, dimensi lebar maksimal 75 x 75 pixels,
        </div></td>
      </tr>
<!-- ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -->

      <tr>
        <td valign="top">&nbsp;</td>
        <td align="left">&nbsp;-------------------------------------------------------</td>
      </tr>

      <tr>
        <td valign="top">&nbsp;</td>
        <td align="left" class="bingkai-ket">
           <br />
           <label>
           <input name="Submit" type="submit" class="button"  value="SAVE" />
           </label>
           <label>
           <input type="button" name="cancel" id="cancel" value="CANCEL" onclick="javascript:history.go(-1)" class="cancelbutton" />
           </label>
           <br /><br />
        </td>
      </tr>

      <tr>
        <td valign="top">&nbsp;</td>
        <td align="left">&nbsp;-------------------------------------------------------</td>
      </tr>

    <!-- ***************************************************************** -->

  <tr><td colspan="2"><hr /></td></tr>

  </table>
</form>
<!-- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx- -->










<!-- KELEBIHAN 5 -->
<form id="form2" name="form2" method="post" action="?m=setkelebihan&amp;page=submit5" enctype="multipart/form-data">

  <!-- KELEBIHAN 5 -->
  <table width="70%" border="0" align="center" cellpadding="4" cellspacing="1">
    <!-- ***************************************************************** -->
    <tr class="tbl_header">
        <td colspan="2" style=""><center>Pengaturan Kelebihan (5)</center></td>
    </tr>
    <tr>
      <td width="45%" align="right" valign="top">Judul Kelebihan (5) :</td>
      <td><input name="kelebihan5" type="text" id="kelebihan5" value="<?= $db->result(0, "kelebihan5"); ?>" size="46" maxlength="100" placeholder="Judul kelebihan 5 ..." /><br />
      <input name="no" type="hidden" id="no" value="1" size="10" /></td>
    </tr>
    <tr>
      <td align="right" valign="top">Informasi Kelebihan (5) :</td>
      <td><textarea name="kelebihanket5" cols="60" rows="3" id="kelebihanket5" maxlength="250"><?= $db->result(0, "kelebihanket5"); ?></textarea></td><br />
    </tr>

<!-- ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -->

    <tr>
      <? $gambargerak = "info5.png";  ?>
      <td align="right" valign="top">Image Kelebihan (5) :</td>
      <td>
                      <label>
                      <?
		  	if($gambargerak <> "") {
                      ?>
                      <img class="img-responsive" src="../images/<?= $gambargerak; ?>" alt="<?= $judul; ?>" width='75' height='75' /><br />
                      <?
                        }
                      ?>
                      <input name="imggerak" type="file" id="imggerak" size="20" class="form" />
                      </label>
                      <input name="gambargerak" type="hidden" class="form" id="gambargerak" value="<?= $gambargerak; ?>" size="12" />
      </td>
      </tr>

      <tr>
        <td valign="top">&nbsp;</td>
        <td align="left"><div align="left" class="style1 style13">Upload
                      gambar anda (hanya PNG / Transparant)<br>
                      Ukuran maksimal 100KB, dimensi lebar maksimal 75 x 75 pixels,
        </div></td>
      </tr>
<!-- ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -->

      <tr>
        <td valign="top">&nbsp;</td>
        <td align="left">&nbsp;-------------------------------------------------------</td>
      </tr>

      <tr>
        <td valign="top">&nbsp;</td>
        <td align="left" class="bingkai-ket">
           <br />
           <label>
           <input name="Submit" type="submit" class="button"  value="SAVE" />
           </label>
           <label>
           <input type="button" name="cancel" id="cancel" value="CANCEL" onclick="javascript:history.go(-1)" class="cancelbutton" />
           </label>
           <br /><br />
        </td>
      </tr>

      <tr>
        <td valign="top">&nbsp;</td>
        <td align="left">&nbsp;-------------------------------------------------------</td>
      </tr>

    <!-- ***************************************************************** -->

  <tr><td colspan="2"><hr /></td></tr>

  </table>
</form>
<!-- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx- -->










<!-- KELEBIHAN 6 -->
<form id="form2" name="form2" method="post" action="?m=setkelebihan&amp;page=submit6" enctype="multipart/form-data">

  <!-- KELEBIHAN 6 -->
  <table width="70%" border="0" align="center" cellpadding="4" cellspacing="1">
    <!-- ***************************************************************** -->
    <tr class="tbl_header">
        <td colspan="2" style=""><center>Pengaturan Kelebihan (6)</center></td>
    </tr>
    <tr>
      <td width="45%" align="right" valign="top">Judul Kelebihan (6) :</td>
      <td><input name="kelebihan6" type="text" id="kelebihan6" value="<?= $db->result(0, "kelebihan6"); ?>" size="46" maxlength="100" placeholder="Judul kelebihan 6 ..." /><br />
      <input name="no" type="hidden" id="no" value="1" size="10" /></td>
    </tr>
    <tr>
      <td align="right" valign="top">Informasi Kelebihan (6) :</td>
      <td><textarea name="kelebihanket6" cols="60" rows="3" id="kelebihanket6" maxlength="250"><?= $db->result(0, "kelebihanket6"); ?></textarea></td><br />
    </tr>

<!-- ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -->

    <tr>
      <? $gambargerak = "info6.png";  ?>
      <td align="right" valign="top">Image Kelebihan (6) :</td>
      <td>
                      <label>
                      <?
		  	if($gambargerak <> "") {
                      ?>
                      <img class="img-responsive" src="../images/<?= $gambargerak; ?>" alt="<?= $judul; ?>" width='75' height='75' /><br />
                      <?
                        }
                      ?>
                      <input name="imggerak" type="file" id="imggerak" size="20" class="form" />
                      </label>
                      <input name="gambargerak" type="hidden" class="form" id="gambargerak" value="<?= $gambargerak; ?>" size="12" />
      </td>
      </tr>

      <tr>
        <td valign="top">&nbsp;</td>
        <td align="left"><div align="left" class="style1 style13">Upload
                      gambar anda (hanya PNG / Transparant)<br>
                      Ukuran maksimal 100KB, dimensi lebar maksimal 75 x 75 pixels,
        </div></td>
      </tr>
<!-- ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -->

      <tr>
        <td valign="top">&nbsp;</td>
        <td align="left">&nbsp;-------------------------------------------------------</td>
      </tr>

      <tr>
        <td valign="top">&nbsp;</td>
        <td align="left" class="bingkai-ket">
           <br />
           <label>
           <input name="Submit" type="submit" class="button"  value="SAVE" />
           </label>
           <label>
           <input type="button" name="cancel" id="cancel" value="CANCEL" onclick="javascript:history.go(-1)" class="cancelbutton" />
           </label>
           <br /><br />
        </td>
      </tr>

      <tr>
        <td valign="top">&nbsp;</td>
        <td align="left">&nbsp;-------------------------------------------------------</td>
      </tr>

    <!-- ***************************************************************** -->

  <tr><td colspan="2"><hr /></td></tr>

  </table>
</form>
<!-- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx- -->










<!-- KELEBIHAN 7 (Promo) -->
<form id="form2" name="form2" method="post" action="?m=setkelebihan&amp;page=submit7" enctype="multipart/form-data">

  <!-- KELEBIHAN 7 (Promo) -->
  <table width="70%" border="0" align="center" cellpadding="4" cellspacing="1">
    <!-- ***************************************************************** -->
    <tr class="tbl_header">
        <td colspan="2" style=""><center>Banner Bisnis</center></td>
    </tr>
    <tr>
      <td width="45%" align="right" valign="top">&nbsp;</td>
      <td>&nbsp;<br /></td>
    </tr>
    
<!-- ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -->

    <tr>
      <? $gambargerak = "sourceindonesia_promo.png";  ?>
      <td width="45%" align="right" valign="top">Banner Bisnis :</td>
      <td>
                      <label>
                      <?
		  	if($gambargerak <> "") {
                      ?>
                      <img class="img-responsive" src="../images/<?= $gambargerak; ?>" alt="<?= $judul; ?>" width='442' height='265' /><br />
                      <?
                        }
                      ?>
                      <input name="imggerak" type="file" id="imggerak" size="20" class="form" />
                      </label>
                      <input name="gambargerak" type="hidden" class="form" id="gambargerak" value="<?= $gambargerak; ?>" size="12" />
      </td>
      </tr>

      <tr>
        <td valign="top">&nbsp;</td>
        <td align="left"><div align="left" class="style1 style13">Upload
                      gambar anda (hanya PNG / Transparant)<br>
                      Ukuran maksimal 150KB, dimensi lebar maksimal 700 x 420 pixels,
        </div></td>
      </tr>
<!-- ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -->

      <tr>
        <td valign="top">&nbsp;</td>
        <td align="left">&nbsp;-------------------------------------------------------</td>
      </tr>

      <tr>
        <td valign="top">&nbsp;</td>
        <td align="left" class="bingkai-ket">
           <br />
           <label>
           <input name="Submit" type="submit" class="button"  value="SAVE" />
           </label>
           <label>
           <input type="button" name="cancel" id="cancel" value="CANCEL" onclick="javascript:history.go(-1)" class="cancelbutton" />
           </label>
           <br /><br />
        </td>
      </tr>

      <tr>
        <td valign="top">&nbsp;</td>
        <td align="left">&nbsp;-------------------------------------------------------</td>
      </tr>

    <!-- ***************************************************************** -->

  <tr><td colspan="2"><hr /></td></tr>

  </table>
</form>
<!-- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx- -->










  <!-- KETERANGAN -->
  <table width="70%" border="0" align="center" cellpadding="4" cellspacing="1">
    <!-- ***************************************************************** -->
    <tr class="tbl_header">
        <td colspan="2" style=""><center>Keterangan</center></td>
    </tr>
    <tr>
      <td width="45%" align="right" valign="top"></td>
      <td><input name="no" type="hidden" id="no" value="1" size="10" /></td>
    </tr>

<!-- ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
      <tr>
        <td valign="top">&nbsp;</td>
        <td align="left"><div align="left" class="style1 style13">Gambar
                      kelebihan bisnis akan tampil di halaman depan<br>
                      
        </div></td>
      </tr>

    <tr>
      <td align="right" valign="top"></td>
      <td><u>Tampil disini :</u> <br /><br /><a href="../images/ketadminkelebihan.jpg" target="_blank"><img class="img-responsive" src="../images/ketadminkelebihan.jpg" width='442' height='230' title='klik untuk memperbesar' /></a><br /><br /></td>
    </tr>

    <tr>
      <td align="right" valign="top"></td>
      <td><u>dan tampil disini :</u> <br /><br /><a href="../images/ketadmingambarbisnis1.jpg" target="_blank"><img class="img-responsive" src="../images/ketadmingambarbisnis1.jpg" width='442' height='294' title='klik untuk memperbesar' /></a><br /><br /></td>
    </tr>

<!-- ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -->



    <!-- ***************************************************************** -->

  <tr><td colspan="2"><hr /></td></tr>

  </table>










<p>&nbsp;</p>
<?
	break;

        // KELEBIHAN1
	case submit :
            function getFileExtension($filename){
            return substr($filename, strrpos($filename, '.'));
            }

            if(getFileExtension($img1_name) == ".php" or getFileExtension($img1_name) == ".PHP" or getFileExtension($img1_name) == ".php4" or getFileExtension($img1_name) == ".PHP4" or getFileExtension($img1_name) == ".php5" or getFileExtension($img1_name) == ".PHP5" or getFileExtension($img1_name) == ".exe" or getFileExtension($img1_name) == ".EXE "or getFileExtension($img1_name) == ".htm" or getFileExtension($img1_name) == ".HTM" or getFileExtension($img1_name) == ".html" or getFileExtension($img1_name) == ".HTML" or getFileExtension($img1_name) == ".bat" or getFileExtension($img1_name) == ".BAT") {
                echo "<p>&nbsp;</p><p align=center style='color:red'><b>File harus berupa file image (jpg, gif atau png)</b></p>";

	} else {
	//---------upload foto
		if($imggerak <> "") {
			$imggerak_name="info1.png";
                        $gambargerak = $imggerak_name;
			$file = "../images/$imggerak_name";
			@copy("$imggerak" , $file);
		} else {
                        //$foto = $foto2;
		}

                $db->update("setting", "kelebihan1='$kelebihan1', kelebihanket1='$kelebihanket1'", "id='$no'");
                echo "<meta http-equiv='refresh' content='0;URL=?m=setkelebihan&act=1'>";
                break;
                }




                
        // KELEBIHAN2
	case submit2 :
            function getFileExtension($filename){
            return substr($filename, strrpos($filename, '.'));
            }

            if(getFileExtension($img1_name) == ".php" or getFileExtension($img1_name) == ".PHP" or getFileExtension($img1_name) == ".php4" or getFileExtension($img1_name) == ".PHP4" or getFileExtension($img1_name) == ".php5" or getFileExtension($img1_name) == ".PHP5" or getFileExtension($img1_name) == ".exe" or getFileExtension($img1_name) == ".EXE "or getFileExtension($img1_name) == ".htm" or getFileExtension($img1_name) == ".HTM" or getFileExtension($img1_name) == ".html" or getFileExtension($img1_name) == ".HTML" or getFileExtension($img1_name) == ".bat" or getFileExtension($img1_name) == ".BAT") {
                echo "<p>&nbsp;</p><p align=center style='color:red'><b>File harus berupa file image (jpg, gif atau png)</b></p>";

	} else {
	//---------upload foto
		if($imggerak <> "") {
			$imggerak_name="info2.png";
                        $gambargerak = $imggerak_name;
			$file = "../images/$imggerak_name";
			@copy("$imggerak" , $file);
		} else {
                        //$foto = $foto2;
		}

                $db->update("setting", "kelebihan2='$kelebihan2', kelebihanket2='$kelebihanket2'", "id='$no'");
                echo "<meta http-equiv='refresh' content='0;URL=?m=setkelebihan&act=1'>";
                break;
                }





        // KELEBIHAN3
	case submit3 :
            function getFileExtension($filename){
            return substr($filename, strrpos($filename, '.'));
            }

            if(getFileExtension($img1_name) == ".php" or getFileExtension($img1_name) == ".PHP" or getFileExtension($img1_name) == ".php4" or getFileExtension($img1_name) == ".PHP4" or getFileExtension($img1_name) == ".php5" or getFileExtension($img1_name) == ".PHP5" or getFileExtension($img1_name) == ".exe" or getFileExtension($img1_name) == ".EXE "or getFileExtension($img1_name) == ".htm" or getFileExtension($img1_name) == ".HTM" or getFileExtension($img1_name) == ".html" or getFileExtension($img1_name) == ".HTML" or getFileExtension($img1_name) == ".bat" or getFileExtension($img1_name) == ".BAT") {
                echo "<p>&nbsp;</p><p align=center style='color:red'><b>File harus berupa file image (jpg, gif atau png)</b></p>";

	} else {
	//---------upload foto
		if($imggerak <> "") {
			$imggerak_name="info3.png";
                        $gambargerak = $imggerak_name;
			$file = "../images/$imggerak_name";
			@copy("$imggerak" , $file);
		} else {
                        //$foto = $foto2;
		}

                $db->update("setting", "kelebihan3='$kelebihan3', kelebihanket3='$kelebihanket3'", "id='$no'");
                echo "<meta http-equiv='refresh' content='0;URL=?m=setkelebihan&act=1'>";
                break;
                }





        // KELEBIHAN4
	case submit4 :
            function getFileExtension($filename){
            return substr($filename, strrpos($filename, '.'));
            }

            if(getFileExtension($img1_name) == ".php" or getFileExtension($img1_name) == ".PHP" or getFileExtension($img1_name) == ".php4" or getFileExtension($img1_name) == ".PHP4" or getFileExtension($img1_name) == ".php5" or getFileExtension($img1_name) == ".PHP5" or getFileExtension($img1_name) == ".exe" or getFileExtension($img1_name) == ".EXE "or getFileExtension($img1_name) == ".htm" or getFileExtension($img1_name) == ".HTM" or getFileExtension($img1_name) == ".html" or getFileExtension($img1_name) == ".HTML" or getFileExtension($img1_name) == ".bat" or getFileExtension($img1_name) == ".BAT") {
                echo "<p>&nbsp;</p><p align=center style='color:red'><b>File harus berupa file image (jpg, gif atau png)</b></p>";

	} else {
	//---------upload foto
		if($imggerak <> "") {
			$imggerak_name="info4.png";
                        $gambargerak = $imggerak_name;
			$file = "../images/$imggerak_name";
			@copy("$imggerak" , $file);
		} else {
                        //$foto = $foto2;
		}

                $db->update("setting", "kelebihan4='$kelebihan4', kelebihanket4='$kelebihanket4'", "id='$no'");
                echo "<meta http-equiv='refresh' content='0;URL=?m=setkelebihan&act=1'>";
                break;
                }





        // KELEBIHAN5
	case submit5 :
            function getFileExtension($filename){
            return substr($filename, strrpos($filename, '.'));
            }

            if(getFileExtension($img1_name) == ".php" or getFileExtension($img1_name) == ".PHP" or getFileExtension($img1_name) == ".php4" or getFileExtension($img1_name) == ".PHP4" or getFileExtension($img1_name) == ".php5" or getFileExtension($img1_name) == ".PHP5" or getFileExtension($img1_name) == ".exe" or getFileExtension($img1_name) == ".EXE "or getFileExtension($img1_name) == ".htm" or getFileExtension($img1_name) == ".HTM" or getFileExtension($img1_name) == ".html" or getFileExtension($img1_name) == ".HTML" or getFileExtension($img1_name) == ".bat" or getFileExtension($img1_name) == ".BAT") {
                echo "<p>&nbsp;</p><p align=center style='color:red'><b>File harus berupa file image (jpg, gif atau png)</b></p>";

	} else {
	//---------upload foto
		if($imggerak <> "") {
			$imggerak_name="info5.png";
                        $gambargerak = $imggerak_name;
			$file = "../images/$imggerak_name";
			@copy("$imggerak" , $file);
		} else {
                        //$foto = $foto2;
		}

                $db->update("setting", "kelebihan5='$kelebihan5', kelebihanket5='$kelebihanket5'", "id='$no'");
                echo "<meta http-equiv='refresh' content='0;URL=?m=setkelebihan&act=1'>";
                break;
                }





        // KELEBIHAN6
	case submit6 :
            function getFileExtension($filename){
            return substr($filename, strrpos($filename, '.'));
            }

            if(getFileExtension($img1_name) == ".php" or getFileExtension($img1_name) == ".PHP" or getFileExtension($img1_name) == ".php4" or getFileExtension($img1_name) == ".PHP4" or getFileExtension($img1_name) == ".php5" or getFileExtension($img1_name) == ".PHP5" or getFileExtension($img1_name) == ".exe" or getFileExtension($img1_name) == ".EXE "or getFileExtension($img1_name) == ".htm" or getFileExtension($img1_name) == ".HTM" or getFileExtension($img1_name) == ".html" or getFileExtension($img1_name) == ".HTML" or getFileExtension($img1_name) == ".bat" or getFileExtension($img1_name) == ".BAT") {
                echo "<p>&nbsp;</p><p align=center style='color:red'><b>File harus berupa file image (jpg, gif atau png)</b></p>";

	} else {
	//---------upload foto
		if($imggerak <> "") {
			$imggerak_name="info6.png";
                        $gambargerak = $imggerak_name;
			$file = "../images/$imggerak_name";
			@copy("$imggerak" , $file);
		} else {
                        //$foto = $foto2;
		}

                $db->update("setting", "kelebihan6='$kelebihan6', kelebihanket6='$kelebihanket6'", "id='$no'");
                echo "<meta http-equiv='refresh' content='0;URL=?m=setkelebihan&act=1'>";
                break;
                }
        


	


        // KELEBIHAN7
	case submit7 :
            function getFileExtension($filename){
            return substr($filename, strrpos($filename, '.'));
            }

            if(getFileExtension($img1_name) == ".php" or getFileExtension($img1_name) == ".PHP" or getFileExtension($img1_name) == ".php4" or getFileExtension($img1_name) == ".PHP4" or getFileExtension($img1_name) == ".php5" or getFileExtension($img1_name) == ".PHP5" or getFileExtension($img1_name) == ".exe" or getFileExtension($img1_name) == ".EXE "or getFileExtension($img1_name) == ".htm" or getFileExtension($img1_name) == ".HTM" or getFileExtension($img1_name) == ".html" or getFileExtension($img1_name) == ".HTML" or getFileExtension($img1_name) == ".bat" or getFileExtension($img1_name) == ".BAT") {
                echo "<p>&nbsp;</p><p align=center style='color:red'><b>File harus berupa file image (jpg, gif atau png)</b></p>";

	} else {
	//---------upload foto
		if($imggerak <> "") {
			$imggerak_name="sourceindonesia_promo.png";
                        $gambargerak = $imggerak_name;
			$file = "../images/$imggerak_name";
			@copy("$imggerak" , $file);
		} else {
                        //$foto = $foto2;
		}

                echo "<meta http-equiv='refresh' content='0;URL=?m=setkelebihan&act=1'>";
                break;
                }




                
}
?>	
<?
} else {
echo "<meta http-equiv=\"refresh\" content=\"1; url=illegal.html\">";
}
?>