示例#1
0
文件: index.php 项目: underdos/sipkom
<DOCTYPE html>
<?php 
session_start();
include "controller/function.php";
if (ceklogin()) {
    redirect('login.php');
}
?>
<html>
	<head>
		<link rel="stylesheet" type="text/css" href="framework/themes/gray/easyui.css" >
		<link rel="stylesheet" type="text/css" href="framework/themes/icon.css" >
		<link rel="stylesheet" type="text/css" href="framework/demo/demo.css" >
		<link rel="stylesheet" type="text/css" href="css/sipkom.css" >
		<script type="text/javascript" src="framework/jquery.min.js"></script>
		<script type="text/javascript" src="framework/jquery.easyui.min.js"></script>
	</head>
	<body>
		<div id="windowApp" class="easyui-window" title="&nbsp SISTEM INFORMASI PENGHITUNGAN KOMISI SALES PT LUXINDO RAYA - User_Logged_As [ <?php 
echo $_SESSION['nama'];
?>
 ] [ <?php 
echo $_SESSION['jabatan'];
?>
 ]" data-options="iconCls:'icon-large-chart',maximized:true" style="width:100%;height:100%;padding:10px;">
		</div>		
		<script type="text/javascript">
			var level = <?php 
echo $_SESSION['level'];
?>
;
示例#2
0
文件: login.php 项目: amadibra/sipeg
<?
include "inc/config.inc.php";
include "inc/function.inc.php";
//$user = $_POST["user"];
//$pass = $_POST["pass"];

/* file ini melakukan pengecekan login, apabila sukses akan menuju home.php */
if(!ceklogin($user, $pass)) header("Location: errorlogin.htm");
?>
示例#3
0
<?php

include '../include/konfigurasi.php';
ceklogin();
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Pajak Kendaraan Bermotor</title>
<link href="../style.css" rel="stylesheet" type="text/css" />
</head>

<body>