-
Notifications
You must be signed in to change notification settings - Fork 77
/
index.php
28 lines (26 loc) · 962 Bytes
/
index.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?php
/*
==========================================================================
ADEL CODEIGNITER 4 CRUD GENERATOR
==========================================================================
برمجة وتطوير: عادل قصي
البريد الإلكتروني: adelbak2014@gmail.com
الموقع الرسمي: www.e-net.xyz
الصفحة الرسمية للمبرمج: https://www.facebook.com/adel.qusay.9
==========================================================================
*/
require('config.php');
$p = isset($_GET['p']) ? $_GET['p'] : '';
switch ( $p ) {
case 'generator':
$data = array();
$data['title'] = 'ADEL CI4 CRUD GENERATOR';
$data['databases'] = $engine->getDatabases();
$viewLoader->load_template('generator', $data);
break;
default:
$data = array();
$data['title'] = 'ADEL CI4 CRUD GENERATOR';
$viewLoader->load_template('home', $data);
}
?>