From 88bcd5a38b9a5cd67f709bce24d786e281e3f776 Mon Sep 17 00:00:00 2001
From: thies <git@td00.de>
Date: Sun, 10 Jan 2021 19:16:05 +0100
Subject: [PATCH] changing secure.php to start.php everywhere

---
 activate.php              | 2 +-
 adminarea.php             | 2 +-
 changepass.php            | 4 ++--
 forlaterpurposemaybe.html | 2 +-
 login.php                 | 2 +-
 profile.php               | 2 +-
 6 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/activate.php b/activate.php
index 186713c..d2048e0 100644
--- a/activate.php
+++ b/activate.php
@@ -44,7 +44,7 @@ if(isset($_GET['send'])) {
  $result = $statement->execute(array('userid'=> $userid ));
  
  if($result) {
- die('Activated. Going to <a href="secure.php">secure</a> now.<meta http-equiv="refresh" content="1; URL=update.php?page=secure.php">');
+ die('Activated. Going to <a href="start.php">start</a> now.<meta http-equiv="refresh" content="1; URL=update.php?page=start.php">');
  }
 }
 ?>
diff --git a/adminarea.php b/adminarea.php
index 4926538..988e7be 100644
--- a/adminarea.php
+++ b/adminarea.php
@@ -19,5 +19,5 @@ echo '<a href="adminarea_sessions.php"><button class="btn btn-primary">Session A
 echo '<br /> <br />';
 echo '<a href="adminarea_admins.php"><button class="btn btn-danger">Admin Admin</button></a>';
 echo '<br /> <br />';
-echo '<a href="secure.php"><button class="btn btn-info">Back</button></a>';
+echo '<a href="start.php"><button class="btn btn-info">Back</button></a>';
 ?>
diff --git a/changepass.php b/changepass.php
index 25100d5..b7f092b 100644
--- a/changepass.php
+++ b/changepass.php
@@ -37,11 +37,11 @@ if(isset($_GET['changed'])) {
             $result = $statement->execute(array('passwordhash' => $passwordhash, 'userid'=> $userid ));
             
             if($result) {
-            die('Changed password. Going to <a href="secure.php">secure</a> now.<meta http-equiv="refresh" content="1; URL=secure.php">');
+            die('Changed password. Going to <a href="start.php">start</a> now.<meta http-equiv="refresh" content="1; URL=start.php">');
             }
             }
            }
-        die('<div class="alert alert-success" role="alert"> successfull. go to: <a href="secure.php">secure page</a></div> <meta http-equiv="refresh" content="0; URL=secure.php">');
+        die('<div class="alert alert-success" role="alert"> successfull. go to: <a href="start.php">start page</a></div> <meta http-equiv="refresh" content="0; URL=start.php">');
     } else {
         $errorMessage = '<div class="alert alert-danger" role="alert">somethings wrong (maybe wrong password or wrong user)</div><br>';
     }
diff --git a/forlaterpurposemaybe.html b/forlaterpurposemaybe.html
index c848c6f..dc78c39 100644
--- a/forlaterpurposemaybe.html
+++ b/forlaterpurposemaybe.html
@@ -32,7 +32,7 @@
             <a class="nav-link" href="register.php">Register<span class="sr-only">(current)</span></a>
           </li>
              <li class="nav-item dropdown">
-            <a class="nav-link active dropdown-toggle" href="secure.php" id="dropdown01" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Functions</a>
+            <a class="nav-link active dropdown-toggle" href="start.php" id="dropdown01" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Functions</a>
             <div class="dropdown-menu" aria-labelledby="dropdown01">
               <a class="dropdown-item" href="profile.php">Profile</a>
               <a class="dropdown-item" href="#">Another action</a>
diff --git a/login.php b/login.php
index 9ce9477..f045117 100644
--- a/login.php
+++ b/login.php
@@ -20,7 +20,7 @@ if(isset($_GET['login'])) {
         $_SESSION['activated'] = $user['activated'];
         $_SESSION['updated_at'] = $user['updated_at'];
         $_SESSION['isadmin'] = $user['isadmin'];
-        die('<div class="alert alert-success" role="alert"> successfull. go to: <a href="start.php">secure page</a></div> <meta http-equiv="refresh" content="0; URL=start.php">');
+        die('<div class="alert alert-success" role="alert"> successfull. go to: <a href="start.php">start page</a></div> <meta http-equiv="refresh" content="0; URL=start.php">');
     } else {
         $errorMessage = '<div class="alert alert-danger" role="alert">somethings wrong (maybe wrong password or wrong user)</div><br>';
     }
diff --git a/profile.php b/profile.php
index 5e2f440..8dfcb47 100644
--- a/profile.php
+++ b/profile.php
@@ -87,7 +87,7 @@ echo "</tr>";
 
 <br/>
 <br>
-<a href="secure.php"><button class="btn btn-info">Back</button></a>
+<a href="start.php"><button class="btn btn-info">Back</button></a>
 <br/>
 <br>
 <!--<a href="rawdata.php"><button class="btn btn-black">Raw Data</button></a>-->