aboutsummaryrefslogtreecommitdiff
path: root/admin.php
diff options
context:
space:
mode:
authorMateja <mail@matejamaric.com>2020-10-04 01:00:02 +0200
committerMateja <mail@matejamaric.com>2020-10-04 01:00:02 +0200
commit9bcdc348dc9e93440e1cb5067548241259750cef (patch)
tree38de9eb87530d32dadc4a5378ef7743d00896841 /admin.php
parenta3094caeb564821870870d57efb4a4fc3fd659e7 (diff)
downloadold-php-yota-9bcdc348dc9e93440e1cb5067548241259750cef.tar.gz
old-php-yota-9bcdc348dc9e93440e1cb5067548241259750cef.zip
Working...
Diffstat (limited to 'admin.php')
-rw-r--r--admin.php13
1 files changed, 1 insertions, 12 deletions
diff --git a/admin.php b/admin.php
index 32f6b03..888965c 100644
--- a/admin.php
+++ b/admin.php
@@ -61,17 +61,6 @@ if (isset($_SESSION['admin']) && $_SESSION['admin'] == true) {
else
echo "<td class=\"center\"><input type=\"checkbox\"></td>";
- //echo "<td contenteditable=\"true\">" . $row['operatorCall'] . "</td>";
- //echo "<td contenteditable=\"true\">" . $row['fromTime'] . "</td>";
- //echo "<td contenteditable=\"true\">" . $row['toTime'] . "</td>";
- //echo "<td contenteditable=\"true\">" . $row['frequencies'] . "</td>";
- //echo "<td contenteditable=\"true\">" . $row['modes'] . "</td>";
- //echo "<td contenteditable=\"true\">" . $row['specialCall'] . "</td>";
- //echo "<td contenteditable=\"true\">" . $row['operatorName'] . "</td>";
- //echo "<td contenteditable=\"true\">" . $row['operatorEmail'] . "</td>";
- //echo "<td contenteditable=\"true\">" . $row['operatorPhone'] . "</td>";
- //echo "<td contenteditable=\"true\">" . $row['qso'] . "</td>";
-
echo "<td><div class=\"edit\" contenteditable=\"true\">" . $row['operatorCall'] . "</div></td>";
echo "<td><div class=\"edit\" contenteditable=\"true\">" . $row['qso'] . "</div></td>";
echo "<td><div class=\"edit\" contenteditable=\"true\">" . $row['fromTime'] . "</div></td>";
@@ -98,7 +87,7 @@ if (isset($_SESSION['admin']) && $_SESSION['admin'] == true) {
if (isset($_SESSION['admin']) && $_SESSION['admin'] == false)
echo "<em>Bad credentials!</em>";
# Login form
- echo '<form method="post">';
+ echo '<form action="login.php" method="post">';
echo '<label for="email">Email:</label>';
echo '<input type="email" id="email" name="email">';
echo '<label for="password">Password:</label>';