| Server IP : 74.208.236.52 / Your IP : 216.73.217.98 Web Server : Apache System : Linux infong527 4.4.400-icpu-115 #2 SMP Mon Jul 6 08:15:05 UTC 2026 x86_64 User : u44043973 ( 5404757) PHP Version : 8.4.24 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /homepages/18/d194259149/htdocs/bonus1/admin/ |
Upload File : |
<?php
session_start();
include "../config.php";
include "../header.php";
include "../style.php";
$name = $_POST['name'];
$url = $_POST['url'];
$seq = $_POST['seq'];
if( session_is_registered("alogin") ) {
?><table>
<tr>
<td width="15%" valign=top><br>
<? include("adminnavigation.php"); ?>
</td>
<td valign="top" align="center"><br><br> <?
echo "<font size=2 face='$fonttype' color='$fontcolour'><p><b><center>";
$query = "insert into navigation (name,url,status,seq) VALUES ('$name','$url','ON',$seq)";
$result = mysql_query ($query)
or die ("Insert failed");
echo "Your new navigation has been saved.";
?> <p>Click <a href=navigation.php>here</a> to go back<p>
</table>
</td>
</tr>
</table>
<?
}
else {
echo "Unauthorised Access!";
}
include "../footer.php";
mysql_close($dblink);
?>