Hii
I have this PHP code for my admin panel, but the links don't show up, any ideas?
Thanks and +rep to helpPHP Code:<?php
require_once("includes/pass.php");
require_once("includes/phpfunct.php");
echo "<h2>Welcome to jcs.me.uk Administrator Control Panel.</h2>";
if(isset($_SESSION['authuser']))
{
if($_SESSION['authuser'] == $A_user)
{
if($_SESSION['authpass'] == $A_pass)
{
echo "<p><br /><a href=\"***\">File Editor for the /htdocs folder</a>";
echo "<br /><a href=\"***\">File Editor for the /htdocs/html folder</a>";
echo "<br /><a href=\"***\">File Editor Recursive mode</a>";
echo "<br />//TODO: Add some things to do other than logging out.";
echo "<br /><br /><a href='logout.php'>Logout</a></p>";
exit();
}
}
}
echo "<p>Please Login to the jcs.me.uk Control Panel<br />";
echo '<form name="login" action="login.php" method="post">';
echo 'Username: ';
echo '<input type="text" name="user">';
echo '<br>';
echo 'Password: ';
echo '<input type="password" name="pass"><br />';
echo '<input type="submit" value="Submit">';
echo '</form>';
echo '</p>';
require_once("includes/footer.php");
?>
Luke





Reply With Quote
