|
@@ -17,31 +17,37 @@
|
|
|
|
|
|
|
|
The Initial Developer of the Original Code is
|
|
The Initial Developer of the Original Code is
|
|
|
Mark J Crane <[email protected]>
|
|
Mark J Crane <[email protected]>
|
|
|
- Portions created by the Initial Developer are Copyright (C) 2008-2016
|
|
|
|
|
|
|
+ Portions created by the Initial Developer are Copyright (C) 2008-2019
|
|
|
the Initial Developer. All Rights Reserved.
|
|
the Initial Developer. All Rights Reserved.
|
|
|
|
|
|
|
|
Contributor(s):
|
|
Contributor(s):
|
|
|
Mark J Crane <[email protected]>
|
|
Mark J Crane <[email protected]>
|
|
|
*/
|
|
*/
|
|
|
-require_once "root.php";
|
|
|
|
|
-require_once "resources/require.php";
|
|
|
|
|
-require_once "resources/check_auth.php";
|
|
|
|
|
-if (permission_exists('exec_sql')) {
|
|
|
|
|
- //access granted
|
|
|
|
|
-}
|
|
|
|
|
-else {
|
|
|
|
|
- echo "access denied";
|
|
|
|
|
- exit;
|
|
|
|
|
-}
|
|
|
|
|
|
|
+
|
|
|
|
|
+//includes
|
|
|
|
|
+ require_once "root.php";
|
|
|
|
|
+ require_once "resources/require.php";
|
|
|
|
|
+ require_once "resources/check_auth.php";
|
|
|
|
|
+
|
|
|
|
|
+//check permissions
|
|
|
|
|
+ if (permission_exists('exec_sql')) {
|
|
|
|
|
+ //access granted
|
|
|
|
|
+ }
|
|
|
|
|
+ else {
|
|
|
|
|
+ echo "access denied";
|
|
|
|
|
+ exit;
|
|
|
|
|
+ }
|
|
|
|
|
|
|
|
//add multi-lingual support
|
|
//add multi-lingual support
|
|
|
$language = new text;
|
|
$language = new text;
|
|
|
$text = $language->get();
|
|
$text = $language->get();
|
|
|
|
|
|
|
|
-require_once "resources/header.php";
|
|
|
|
|
-$document['title'] = $text['title-databases'];
|
|
|
|
|
|
|
+//add the header and title
|
|
|
|
|
+ require_once "resources/header.php";
|
|
|
|
|
+ $document['title'] = $text['title-databases'];
|
|
|
|
|
|
|
|
-require_once "resources/paging.php";
|
|
|
|
|
|
|
+//include paging
|
|
|
|
|
+ require_once "resources/paging.php";
|
|
|
|
|
|
|
|
//get variables used to control the order
|
|
//get variables used to control the order
|
|
|
$order_by = $_GET["order_by"];
|
|
$order_by = $_GET["order_by"];
|