示例#1
0
文件: index.php 项目: sakti/andes
<?php

session_start();
require_once '../../lib/koneksi.php';
require_once '../../lib/auth.php';
require_once '../../modules/kantor_cabang.php';
require_once '../../modules/tracking.php';
require_once '../../modules/pegawai.php';
require_once '../../modules/keluhan.php';
auth_page('administratif');
$daftarkc = kc_getDaftarKC();
$daftarrute = track_getDaftarRute();
$daftarpegawai = pg_getDaftarPeg();
$daftarkab = track_getDaftarKab();
$daftarkec = track_getDaftarKecByKab($daftarkab[0]['id']);
$daftarkelopen = kel_getKelByStatus('open');
$daftarkelclose = kel_getKelByStatus('closed');
?>

<!DOCTYPE html>
<html>
<head>
    <title>andes bagian administratif</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link type="text/css" href="../../css/south-street/jquery-ui-1.8.1.custom.css" rel="stylesheet" />
    <link type="text/css" href="../../css/main.css" rel="stylesheet" />
    <link type="text/css" href="../../css/dashboard.css" rel="stylesheet" />
    <style type="text/css">
    </style>
</head>
<body>
示例#2
0
文件: ajax.php 项目: sakti/andes
             if ($hasil = track_getRuteById($_GET['id'])) {
                 echo json_encode($hasil);
             } else {
                 echo 'false';
             }
         }
         break;
     case 'getallpeg':
         if ($hasil = pg_getDaftarPeg()) {
             echo json_encode($hasil);
         } else {
             echo 'false';
         }
         break;
     case 'getallkc':
         if ($hasil = kc_getDaftarKC()) {
             echo json_encode($hasil);
         } else {
             echo 'false';
         }
         break;
     case 'getallrute':
         if ($hasil = track_getDaftarRute()) {
             echo json_encode($hasil);
         } else {
             echo 'false';
         }
         break;
 }
 switch ($_SESSION['jabatan']) {
     case 'administratif':