forked from glllcarchive/widget_list
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.php
More file actions
executable file
·33 lines (24 loc) · 738 Bytes
/
index.php
File metadata and controls
executable file
·33 lines (24 loc) · 738 Bytes
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
29
30
31
32
33
<?php
session_start();
$G_DEBUG = true;
define('DB_SERVER', 'localhost');
define('DB_SERVER_USERNAME', 'root');
define('DB_SERVER_PASSWORD', 'root');
define('DB_DATABASE', 'development');
require('libs/db/mysql.php');
require('libs/widgets/tpl.php');
require('libs/widgets/WidgetList.php');
require('libs/widgets/WidgetReport.php');
require('libs/widgets/widgets.php');
require('libs/functions.php');
/*
* example list calling pages
*/
$listPieces = array();
$listPieces['<!--CONTENT-->'] = '<!--LIST1--><!--LIST2-->';
//Simple version
require('examples/information_schema.tables.php');
//Advanced versions
require('examples/advanced.information_schema.columns.php');
echo Fill($listPieces, file_get_contents('index.tpl'));
?>