Skip to content

Latest commit

 

History

History
108 lines (83 loc) · 1.82 KB

Readme.md

File metadata and controls

108 lines (83 loc) · 1.82 KB

Medan Software - Codeigniter Web Camera ☕

Klasifikasi Nilai Pasti dan Bukan Prediksi

Refrences :

Site Setting

Google Chrome

chrome://settings/content/siteDetails?site=https://yoursite.ext/
chrome://settings/content/camera

Note!!

  • Change email config & reset password email from

Template Loader

$config = array(
	'module' => 'admin'
);
$this->load->library('template', $config);

controllers/Admin.php

<?php defined('BASEPATH') OR exit('No direct script access allowed');

class Admin extends CI_Controller
{
	/**
	 * constructor
	 */
	public function __construct()
	{
		parent::__construct();
		$config = array(
			'module' => 'admin'
		);
		$this->load->library('template', $config);
	}

	public function index()
	{
		$data['title'] = 'Page Title';
		$this->template->load('home', $data);
	}
}

models/Admin.php

<?php
/**
 * @package Codeigniter
 * @subpackage Admin
 * @category Model
 * @author Agung Dirgantara <agungmasda29@gmail.com>
 */

namespace Angeli;

class Admin extends MY_Model
{
	public function __construct()
	{
		parent::__construct();
	}
}

/* End of file Admin.php */
/* Location : ./application/models/Admin.php */

views/admin/base.php

<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<title>Base</title>
</head>
<body>
<?php echo $page; ?>
</body>
</html>

views/admin/home.php

<div class="row">Page Content Here</div>