forked from refitrihidayatullah/siakad-MA
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
118 changed files
with
38,491 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<?php | ||
defined('BASEPATH') or exit('No direct script access allowed'); | ||
|
||
class Dashboard extends CI_Controller | ||
{ | ||
|
||
public function __construct() | ||
{ | ||
parent::__construct(); | ||
} | ||
|
||
public function index() | ||
{ | ||
// echo "ini untuk dashboard"; | ||
$this->load->view('templates/header'); | ||
// letak if else bagian partial dashboard disesuaikan masing masing level ex if siswa daftar siswa elseif guru dashboard guru dll. | ||
$this->load->view('partials/admin/dashboard_admin'); | ||
$this->load->view('templates/footer'); | ||
|
||
// untuk siswa nanti if else lewat session level yang login lakukan dan sesuaikan dashboard tiap masing masing hak akses | ||
} | ||
|
||
} | ||
|
||
/* End of file Dashboard.php and path \application\controllers\Dashboard.php */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?php | ||
defined('BASEPATH') OR exit('No direct script access allowed'); | ||
|
||
class Test_session extends CI_Controller { | ||
|
||
public function __construct() | ||
{ | ||
parent::__construct(); | ||
} | ||
|
||
public function index() | ||
{ | ||
|
||
} | ||
} | ||
|
||
/* End of file Test_session.php and path \application\controllers\Test_session.php */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<?php | ||
// function is_login($redirect = false) | ||
// { | ||
// $ci = &get_instance(); | ||
// $status = $ci->session->userdata('status') == "telah_login" ? true : false; | ||
// if ($redirect && $status === true) { | ||
// redirect($redirect); | ||
// } | ||
// return $status; | ||
// } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<?php | ||
defined('BASEPATH') or exit('No direct script access allowed'); | ||
|
||
class Auth_model extends CI_Model | ||
{ | ||
function cek_login($table, $where) | ||
{ | ||
return $this->db->get_where($table, $where); | ||
} | ||
} | ||
|
||
|
||
/* End of file Auth_model.php and path \application\models\Auth_model.php */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,104 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
|
||
<head> | ||
<title>Login - SIAKAD MA HIDAYATULLAH - Bondowoso</title> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<!--===============================================================================================--> | ||
<link rel="icon" type="image/png" href="https://i.postimg.cc/tCwYcSrj/IMG-20230103-WA0014-removebg-preview-4.png" /> | ||
<!--===============================================================================================--> | ||
<link rel="stylesheet" type="text/css" href="<?php echo base_url('assets_auth/') ?>vendor/bootstrap/css/bootstrap.min.css"> | ||
<!--===============================================================================================--> | ||
<link rel="stylesheet" type="text/css" href="<?php echo base_url('assets_auth/') ?>fonts/font-awesome-4.7.0/css/font-awesome.min.css"> | ||
<!--===============================================================================================--> | ||
<link rel="stylesheet" type="text/css" href="<?php echo base_url('assets_auth/') ?>vendor/animate/animate.css"> | ||
<!--===============================================================================================--> | ||
<link rel="stylesheet" type="text/css" href="<?php echo base_url('assets_auth/') ?>vendor/css-hamburgers/hamburgers.min.css"> | ||
<!--===============================================================================================--> | ||
<link rel="stylesheet" type="text/css" href="<?php echo base_url('assets_auth/') ?>vendor/select2/select2.min.css"> | ||
<!--===============================================================================================--> | ||
<link rel="stylesheet" type="text/css" href="<?php echo base_url('assets_auth/') ?>css/util.css"> | ||
<link rel="stylesheet" type="text/css" href="<?php echo base_url('assets_auth/') ?>css/main.css"> | ||
<!--===============================================================================================--> | ||
</head> | ||
|
||
<body> | ||
|
||
<div class="limiter"> | ||
<div class="container-login100"> | ||
<div class="wrap-login100"> | ||
<div class="login100-pic js-tilt" data-tilt> | ||
<img src="https://i.postimg.cc/tCwYcSrj/IMG-20230103-WA0014-removebg-preview-4.png" alt="IMG"> | ||
</div> | ||
|
||
<form method="post" action="<?php echo base_url('index.php/Auth/login_aksi') ?>" class="login100-form validate-form"> | ||
<span class="login100-form-title"> | ||
Login SIAKAD | ||
</span> | ||
|
||
<div class="wrap-input100 validate-input" data-validate="Valid email is required: [email protected]"> | ||
<input class="input100" type="text" name="username" placeholder="Masukkan NIP/NIS"> | ||
<span class="focus-input100"></span> | ||
<span class="symbol-input100"> | ||
<i class="fa fa-user" aria-hidden="true"></i> | ||
</span> | ||
</div> | ||
|
||
<div class="wrap-input100 validate-input" data-validate="Password is required"> | ||
<input class="input100" type="password" name="password" placeholder="Masukkan Password"> | ||
<span class="focus-input100"></span> | ||
<span class="symbol-input100"> | ||
<i class="fa fa-lock" aria-hidden="true"></i> | ||
</span> | ||
</div> | ||
|
||
<div class="container-login100-form-btn"> | ||
<button class="login100-form-btn"> | ||
Login | ||
</button> | ||
</div> | ||
|
||
<div class="text-center p-t-12"> | ||
<span class="txt1"> | ||
<!-- Forgot --> | ||
</span> | ||
<a class="txt2" href="#"> | ||
<!-- Username / Password? --> | ||
</a> | ||
</div> | ||
|
||
<div class="text-center p-t-136"> | ||
<a class="txt2" href="#"> | ||
<!-- Create your Account --> | ||
<!-- <i class="fa fa-long-arrow-right m-l-5" aria-hidden="true"></i> --> | ||
</a> | ||
</div> | ||
</form> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
|
||
|
||
|
||
<!--===============================================================================================--> | ||
<script src="<?php echo base_url('assets_auth/') ?>vendor/jquery/jquery-3.2.1.min.js"></script> | ||
<!--===============================================================================================--> | ||
<script src="<?php echo base_url('assets_auth/') ?>vendor/bootstrap/js/popper.js"></script> | ||
<script src="<?php echo base_url('assets_auth/') ?>vendor/bootstrap/js/bootstrap.min.js"></script> | ||
<!--===============================================================================================--> | ||
<script src="<?php echo base_url('assets_auth/') ?>vendor/select2/select2.min.js"></script> | ||
<!--===============================================================================================--> | ||
<script src="<?php echo base_url('assets_auth/') ?>vendor/tilt/tilt.jquery.min.js"></script> | ||
<script> | ||
$('.js-tilt').tilt({ | ||
scale: 1.1 | ||
}) | ||
</script> | ||
<!--===============================================================================================--> | ||
<script src="<?php echo base_url('assets_auth/') ?>js/main.js"></script> | ||
|
||
</body> | ||
|
||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.