Index.php
if($_SESSION['login']){?> Welcome echo $_SESSION['user']; } else {?> <marquee>You Must Login <<= } ?>
type="text/css"
<script type="text/javascript" src="js/jquery1.5.2.min.js"> <script type="text/javascript" src="js/jquery.cycle.all.min.js"> <script type="text/javascript" src="js/functions.js"> <script type="text/javascript" src="js/jquery.maskMoney.min.js"> <script type="text/javascript"> function convertToRupiah (objek) { separator = "."; a = objek.value; b = a.replace(/[^\d]/g,""); c = ""; panjang = b.length; j = 0; for (i = panjang; i > 0; i--) { j = j + 1; if (((j % 3) == 1) && (j != 1)) { c = b.substr(i-1,1) + separator + c; } else { c = b.substr(i-1,1) + c; } } objek.value = c; }
switch($_GET['pg']) { case 'reg':{ include "regksm.php";}break; case 'usul':{ include "usulankegiatan.php";}break; case 'anggaran':{ include "anggaranbiaya.php";}break; case 'rincian1':{ include "rincian_adm_trs.php";}break; case 'rincian2':{ include "rincian_alat.php";}break; case 'rincian3':{ include "rincian_upah.php";}break; case 'upload':{ include "upload_doc.php";}break; case 'kas':{ include "pencatatan_kas.php";}break; case 'user':{ include "user_login.php";}break; case 'view':{ include "view.php";}break; case 'status':{ include "status.php";}break; case 'anggota':{ include "anggota.php";}break; case 'view_usulan':{ include "view_usulan.php";}break; case 'laporan':{ include "laporan.php";}break; case 'laporan_view':{ include "laporan_msk_klr.php";}break; case 'view_doc':{ include "view_doc.php";}break; case 'data':{ include "data_anggota.php";}break;
case 'logout':{ include "logout.php";}break; default:{ if($_SESSION['login']) include'home2.php'; else include'home1.php'; } break; }?>
case 'logout':{ include "logout.php";}break; default:{ if($_SESSION['login']) include'home2.php'; else include'home1.php'; } break; }?>
Categories
include'ddm.php'; ?>