X-Git-Url: https://dev.renevier.net/gitweb.cgi?p=syp.git;a=blobdiff_plain;f=inc%2Ftemplates_admin.php;fp=inc%2Ftemplates_admin.php;h=eda657d7577c7ff50fa12274c4b9796829d239e3;hp=0000000000000000000000000000000000000000;hb=0feade23ffa41ac299b252a93be4da11bc2a16b7;hpb=3848f54e1bde1afac7fa595822526d6c96b1ff18 diff --git a/inc/templates_admin.php b/inc/templates_admin.php new file mode 100644 index 0000000..eda657d --- /dev/null +++ b/inc/templates_admin.php @@ -0,0 +1,173 @@ +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')?> + + + +

+ + + + + + + + <?php ptrans('SYP admin');?> + + + + + + + + + + + + + + + + + + + + +
+ +
+ +

+

+
+ +
+ +
+
+
+
+
+
+ +
+ + +
+
+
+ +
+ + + + + +
+
+ + + +
+
+ +
checkpwdmd5 ("admin", + $_COOKIE [sprintf ("%sauth", DBPREFIX)])) { + echo ' class="hidden"'; + } + ?>> +
+
+
+
+ + + + + +
+

+ + +

+

+ + throbber +

+

+
+
+
+ + + + +