X-Git-Url: https://dev.renevier.net/gitweb.cgi?p=syp.git;a=blobdiff_plain;f=inc%2Fhtml%2Fadmin.php;fp=inc%2Fhtml%2Fadmin.php;h=7702b949b7408fd720eaf0f140b042af2e7e3fb1;hp=0000000000000000000000000000000000000000;hb=b8be7edca1802692be4d330c7065e5260fb348f6;hpb=a1d1d319af15be975bde4695a3bfeb7d78ea0398 diff --git a/inc/html/admin.php b/inc/html/admin.php new file mode 100644 index 0000000..7702b94 --- /dev/null +++ b/inc/html/admin.php @@ -0,0 +1,237 @@ +connect (DBHOST, DBUSER, DBPWD, DBNAME, DBPREFIX); + $usrtblexists = $connection->users_table_exists (); + $itemstblexists = $connection->items_table_exists (); +} catch (Exception $e) { + $error = true; +} +if (!$usrtblexists || !$itemstblexists) { + $error = true; +} + if ($error) { +?> + + + + + <?php ptrans('SYP admin')?> + + + +

wizard.')?>

+ + +checkpwdmd5 ($user, $pwd)); +?> + + + + + <?php ptrans('SYP admin');?> + + + + + + + + + + + + + + + + + + + + +
+ +
+ +

+

+
+ +
+ +
+
+
+
+
+
+ +
+ + +
+
+
+ +
+ + + + + +
+
+ + + +
+

+ + <?php ptrans('throbber')?> +

+
+ + + + + + +