I've checked the includes files without any luck. Maybe you'll see something that i didn't
configuration.php
<?php
$db_host = "localhost"; // This is normally set to localhost
$db_name = "*****"; // MySQL database name
$db_username = "****"; // MySQL username
$db_pass = "****"; // MySQL password
?>
functions.php
<?php
if ((int)ini_get('magic_quotes_runtime')) set_magic_quotes_runtime(0);
Set_Time_Limit(0);
Ignore_User_Abort(True);
mysql_connect("$db_host","$db_username","$db_pass") or die(mysql_error());
mysql_select_db("$db_name") or die(mysql_error());
$SCRIPT_NAME = 'URLs-Rotator-Pro';
$SCRIPT_VERSION = '0.4';
function redirectTo($newUrl) {
$newUrl = trim($newUrl);
echo("<head><meta http-equiv=\"Refresh\" content=\"0;URL=" . $newUrl . "\"></head><body>Loading wait...</body></html>");
exit();
}
function checklogin() {
session_start();
if ($_SESSION['loginfortools2u']!="yeslogintotoolz2uatoz") {
session_unset();
session_destroy();
redirectTo("login.php");
}
}
?>
header.php
<html>
<head>
<title>My Script</title>
<noscript><meta http-equiv="Refresh" content="0;URL=?javascript=no"></noscript>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" href="style.css" type="text/css" media="screen">
<script language="JavaScript" type="text/javascript">
<!--
if (navigator.appName == "Microsoft Internet Explorer") {
document.write ('<link href="style_ie.css" rel="stylesheet" type="text/css" media="screen">');
};
//-->
</script>
<script type="text/javascript" language="JavaScript 1.1">
<!--
function CSB() {
if (document.mform.all.checked) {
xxx = true;
} else {
xxx = false;
}
for (i = 0; i < document.forms['mform'].length; i++) {
document.forms['mform'].elements[i].checked = xxx
}
}
-->
</script>
<script language="JavaScript 1.1" type="text/javascript">
<!--
function checkform() {
err = "";
if (form1.OWNER_NAME.value=="") {
err += "Your Full Name\n";
}
rexp = /^\w(\.?[\w-])*@\w(\.?[\w-])*\.[a-z]{2,6}$/i;
if (form1.OWNER_EMAIL.value.search(rexp) == -1) {
err += "Your E-Mail\n";
}
if (err=="") {
return true;
} else {
alert("Please check:\n\n" + err);
return false;
}
}
-->
</script>
<script language="JavaScript 1.1" type="text/javascript">
<!--
function OpenWin(url, winname, w, h) {
window.open(url, winname, "toolbar=0,location=0,directories=0,menuBar=0,scrollbars=1,resizable=1,width="+w+",height="+h);
}
-->
</script>
<?php
$filename = basename($_SERVER['PHP_SELF']);
if($filename != 'login.php') {
?>
<script src="js/core.WebDDM.compressed.js"></script>
<script src="js/domTT.WebDDM.compressed.js"></script>
<link rel="stylesheet" href="mainmenu/mainmenu.css" type="text/css">
<script src="mainmenu/mainmenu.js"></script>
<?php
}
?>
</head>
<?php
$filename = basename($_SERVER['PHP_SELF']);
if($filename != 'login.php') {
?>
<body onload="initWebDDM();">
<div id="pagetitle"></div>
<?php
} else {
?>
<body>
<?php
}
?>
<table border="0" align="center" cellpadding="0" cellspacing="0" class="bbg">
<tr>
<td colspan="3" class="header">
<div class="co_name">
<h1><a target=_blank href="http://www.tools2u.com">URLs Rotator Pro v<?php echo $SCRIPT_VERSION; ?></a></h1>
<div class="slogan"><div class="small_verdana">it can rotate unlimited URLs from one simple URL</div></div>
</div>
<div align="right">
<div id="mainmenu"></div>
</div>
</td>
</tr>
footer.php
</td>
</tr>
</table>
<p> </p></td>
<td width="11"> </td>
</tr>
<tr>
<td colspan="3">
<div class="foot"></div>
</td>
</tr>
<tr>
<td colspan="3" class="footer">
<div class="footer_txt">
<div class="normal" align="center">URLs Rotator Pro is proudly powered by <a href="http://www.tools2u.com/" target="_blank">Tools2U - Ultimate Web Utilities</a></div>
</div> </td>
</tr>
</table>
</body>
</html>
Sorry about posting so much code, but I'm stumped and not sure where to go from here.