Hacked By AnonymousFox
Current Path : C:/AppServ/www/bhz/system/ |
|
Current File : C:/AppServ/www/bhz/system/iframe_check_duplicate_manual.php |
<?
include("../lib/session.php");
include("../lib/config.php");
include("../lib/connect.php");
include("../lib/function.php");
?>
<html><!-- InstanceBegin template="/Templates/E-Office Popup.dwt.php" codeOutsideHTMLIsLocked="false" -->
<?
include("lib/config.php");
include("../system/lib/connect.php");
include("../system/lib/function.php");
?>
<head>
<!-- InstanceBeginEditable name="doctitle" -->
<title>
<?=$System_Variable_Title?>
</title>
<!-- InstanceEndEditable -->
<?
if ($System_Session_AccountType=="Dealer") $image_folder="images_blue";
else $image_folder="images_brown";
?>
<meta http-equiv="Content-Type" content="text/html; charset=windows-874">
<? if($System_Session_User_ID==0 || $System_Session_AccountType=="CST" || $System_Session_AccountType=="Trainer") { ?>
<link href="css/mystyle-blue.css" rel="stylesheet" type="text/css">
<? } else { ?>
<link href="css/mystyle-new.css" rel="stylesheet" type="text/css">
<? } ?>
<link href="css/mycalendarstyle-blue.css" rel="stylesheet" type="text/css">
<!-- InstanceBeginEditable name="head" --><!-- InstanceEndEditable -->
</head>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="100%" height="100%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#000000">
<tr valign="top">
<td width="77%" align="center" valign="top" bgcolor="#FFFFFF"><!-- InstanceBeginEditable name="Programmable Region" -->
<?
$SQL_Array = explode('<tab>',$SQL);
$inputName_Array = explode('<tab>',$inputName);
$AlertMsg_Array = explode('<tab>',$AlertMsg);
$found_dup = false;
$index = 0;
while ($index<count($SQL_Array) && !$found_dup) {
$query_search = mysql_query($SQL_Array[$index]);
if (mysql_num_rows($query_search)>0) {
$found_dup = true;
echo "<script language='JavaScript'>";
echo "window.parent.document.myForm.".$inputName_Array[$index].".focus();";
echo "window.parent.alert('Data ".$AlertMsg_Array[$index]." was been exit please use other');";
echo "</script>";
}
$index++;
}
if (!$found_dup) {
echo "<script language='JavaScript'>";
echo "window.parent.document.myForm.submit();";
echo "</script>";
}
?>
<!-- InstanceEndEditable --></td>
</tr>
</table>
</body>
<!-- InstanceEnd --></html>
<?
//include("lib/disconnect.php");
?>
Hacked By AnonymousFox1.0, Coded By AnonymousFox