<?php
@session_start();
?>
<!-- Welcome to the scripts database of HIOX INDIA -->
<!-- This tool is developed and a copyright -->
<!-- product of HIOX INDIA. -->
<!-- For more information visit http://www.hscripts.com -->
<html>
<head>
</head>
<?php
include "authheader.php";
if($block != "true")
{
include "heade.php"
?>
<!-- content row -->
<table width=95% align=center border=1 cellpadding=0 cellspacing=0 bgcolor=adccaa>
<tr height=100%>
<td height=100% class=maintext align=center>
<?php
$asd = $_POST['addd'];
if($asd == "addd")
{
$imager= htmlentities($_POST['imgsrc'], ENT_QUOTES);
$linkr= htmlentities($_POST['linksrc'], ENT_QUOTES);
if($imager == "" || $linkr=="")
{
echo "<font color=red>Empty Values Not allowed</font><br><br>";
}
else
{
// add ad code here
$open = fopen("images.php", "a");
fwrite($open, "\n\n");
fwrite($open, "image=\"".$imager."\";");
fwrite($open, "\n");
fwrite($open, "url=\"".$linkr."\";");
fclose($open);
// add ad code here
echo "<font color=green><b>New Banner Successfully added</b></font><br><br>";
}
}
?>
Use this form to add new banners for rotation.
<table class=maintext bgcolor=acbefa style="color:000000;">
<form name=addf action="<?php echo $PHP_SELF;?>" method=POST>
<input name=addd type=hidden value=addd>
<tr><td>Banner Image Src</td><td><input name=imgsrc type=text size=33></td></tr>
<tr><td></td><td>Ex: ./images/image1.jpg <br> or <br>http://www.hscripts.com/xyxyxyx.jpg</td></tr>
<tr><td> </td><td> </td></tr>
<tr><td>Link Src</td><td><input name=linksrc type=text size=33></td></tr>
<tr><td></td><td>Ex: http://www.hioxindia.com </td></tr>
<tr><td></td><td><input type=submit value=add></td></tr>
</table>
</td>
</tr>
</table>
</td></tr>
<!-- content row -->
</table>
<!-- main table -->
</td></tr>
</table>
</body>
</html>
<?php
}
?>
<!-- Welcome to the scripts database of HIOX INDIA -->
<!-- This tool is developed and a copyright -->
<!-- product of HIOX INDIA. -->
<!-- For more information visit http://www.hscripts.com -->