changing secure.php to start.php everywhere

This commit is contained in:
thies 2021-01-10 19:16:05 +01:00
parent 8813cb8c54
commit 88bcd5a38b
6 changed files with 7 additions and 7 deletions

View File

@ -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">');
}
}
?>

View File

@ -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>';
?>

View File

@ -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>';
}

View File

@ -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>

View File

@ -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>';
}

View File

@ -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>-->