<?
//***************************************************
// 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 Informasi Bisnis ... </h2>
<?
switch($page) {
	default :
	$db->select("info1, infoket1, info2, infoket2, info3, infoket3, info4, infoket4, info5, infoket5, info6, infoket6, infotesti", "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 />Informasi bisnis telah berhasil diupdate !<br />Tekan F5 untuk melihat perubahan</div>
	<?
	}
	?>

<!-- INFO 1 -->
<form id="form2" name="form2" method="post" action="?m=setinformasibisnis&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 Informasi 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 />

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

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

    <tr>
      <? $gambargerak = "img1.png";  ?>
      <td align="right" valign="top">Image Info (1) :</td>
      <td>
                      <label>
                      <?
		  	if($gambargerak <> "") {
                      ?>
                      <img class="img-responsive" src="../images/<?= $gambargerak; ?>" alt="<?= $judul; ?>" width='150' height='150' /><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 informasi bisnis anda<br>
                      Ukuran maksimal 100KB, dimensi lebar maksimal 150 x 150 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- -->










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

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

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

    <tr>
      <? $gambargerak = "img2.png";  ?>
      <td align="right" valign="top">Image Info (2) :</td>
      <td>
                      <label>
                      <?
		  	if($gambargerak <> "") {
                      ?>
                      <img class="img-responsive" src="../images/<?= $gambargerak; ?>" alt="<?= $judul; ?>" width='150' height='150' /><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 informasi bisnis anda<br>
                      Ukuran maksimal 100KB, dimensi lebar maksimal 150 x 150 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- -->










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

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

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

    <tr>
      <? $gambargerak = "img3.png";  ?>
      <td align="right" valign="top">Image Info (3) :</td>
      <td>
                      <label>
                      <?
		  	if($gambargerak <> "") {
                      ?>
                      <img class="img-responsive" src="../images/<?= $gambargerak; ?>" alt="<?= $judul; ?>" width='150' height='150' /><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 informasi bisnis anda<br>
                      Ukuran maksimal 100KB, dimensi lebar maksimal 150 x 150 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- -->










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

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

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

    <tr>
      <? $gambargerak = "img4.png";  ?>
      <td align="right" valign="top">Image Info (4) :</td>
      <td>
                      <label>
                      <?
		  	if($gambargerak <> "") {
                      ?>
                      <img class="img-responsive" src="../images/<?= $gambargerak; ?>" alt="<?= $judul; ?>" width='150' height='150' /><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 informasi bisnis anda<br>
                      Ukuran maksimal 100KB, dimensi lebar maksimal 150 x 150 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- -->










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

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

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

<!--    <tr>
      <? $gambargerak = "img5.png";  ?>
      <td align="right" valign="top">Image Info (5) :</td>
      <td>
                      <label>
                      <?
		  	if($gambargerak <> "") {
                      ?>
                      <img class="img-responsive" src="../images/<?= $gambargerak; ?>" alt="<?= $judul; ?>" width='150' height='150' /><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 informasi bisnis anda<br>
                      Ukuran maksimal 100KB, dimensi lebar maksimal 150 x 150 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- -->










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

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

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

<!--    <tr>
      <? $gambargerak = "img6.png";  ?>
      <td align="right" valign="top">Image Info (6) :</td>
      <td>
                      <label>
                      <?
		  	if($gambargerak <> "") {
                      ?>
                      <img class="img-responsive" src="../images/<?= $gambargerak; ?>" alt="<?= $judul; ?>" width='150' height='150' /><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 informasi bisnis anda<br>
                      Ukuran maksimal 100KB, dimensi lebar maksimal 150 x 150 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- -->











<!-- INFO TESTI -->
<form id="form2" name="form2" method="post" action="?m=setinformasibisnis&amp;page=submit7" enctype="multipart/form-data">

  <!-- INFO TESTI -->
  <table width="70%" border="0" align="center" cellpadding="4" cellspacing="1">
    <!-- ***************************************************************** -->
    <tr class="tbl_header">
        <td colspan="2" style=""><center>Testi Member</center></td>
    </tr>
    <tr>
      <td width="45%" align="right" valign="top">Keterangan Testimoni Member :</td>
      <td><textarea name="infotesti" cols="60" rows="3" id="infotesti" maxlength="300"><?= $db->result(0, "infotesti"); ?></textarea><input name="no" type="hidden" id="no" value="1" size="10" /></td><br />
    </tr>

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

    <tr>
      <? $gambargerak = "fototesti.gif";  ?>
      <td align="right" valign="top">Image Testimoni Member :</td>
      <td>
                      <label>
                      <?
		  	if($gambargerak <> "") {
                      ?>
                      <img class="img-responsive" src="../images/<?= $gambargerak; ?>" alt="<?= $judul; ?>" width='50' height='50' /><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 testimoni member<br>
                      Ukuran maksimal 100KB, dimensi lebar maksimal 100 x 100 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
                      informasi 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/ketadmininfo.jpg" target="_blank"><img class="img-responsive" src="../images/ketadmininfo.jpg" width='442' height='198' title='klik untuk memperbesar' /></a><br /><br /></td>
    </tr>

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



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

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

  </table>










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

        // INFO1
	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="img1.png";
                        $gambargerak = $imggerak_name;
			$file = "../images/$imggerak_name";
			@copy("$imggerak" , $file);
		} else {
                        //$foto = $foto2;
		}

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




                
        // INFO2
	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="img2.png";
                        $gambargerak = $imggerak_name;
			$file = "../images/$imggerak_name";
			@copy("$imggerak" , $file);
		} else {
                        //$foto = $foto2;
		}

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





        // INFO3
	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="img3.png";
                        $gambargerak = $imggerak_name;
			$file = "../images/$imggerak_name";
			@copy("$imggerak" , $file);
		} else {
                        //$foto = $foto2;
		}

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





        // INFO4
	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="img4.png";
                        $gambargerak = $imggerak_name;
			$file = "../images/$imggerak_name";
			@copy("$imggerak" , $file);
		} else {
                        //$foto = $foto2;
		}

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





        // INFO5
	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="img5.png";
                        $gambargerak = $imggerak_name;
			$file = "../images/$imggerak_name";
			@copy("$imggerak" , $file);
		} else {
                        //$foto = $foto2;
		}

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





        // INFO6
	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="img6.png";
                        $gambargerak = $imggerak_name;
			$file = "../images/$imggerak_name";
			@copy("$imggerak" , $file);
		} else {
                        //$foto = $foto2;
		}

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


	



        // INFO7
	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="fototesti.gif";
                        $gambargerak = $imggerak_name;
			$file = "../images/$imggerak_name";
			@copy("$imggerak" , $file);
		} else {
                        //$foto = $foto2;
		}

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







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