Hacked By AnonymousFox

Current Path : C:/AppServ/www/covid19/db/home/pay1/
Upload File :
Current File : C:/AppServ/www/covid19/db/home/pay1/record_t1.php

<? 
include("../../lib/session.php"); 
include("../../lib/config.php");
include("../../lib/connect.php");
include("../../lib/function.php");
$typein=$_POST["typein"];
$selecttype=$_POST["selecttype"];
$inputfa=$_POST["inputfa"];
$inputsubject=$_POST["inputsubject"];
$inputyear=$_POST["inputyear"];
$inputdate=$_POST["inputdate"];
$inputtime=$_POST["inputtime"];
$inputst_year=$_POST["inputst_year"];

$inputteacher1=$_POST["inputteacher1"];
$inputteacher2=$_POST["inputteacher2"];
$inputteacher3=$_POST["inputteacher3"];
$inputteacher4=$_POST["inputteacher4"];
$inputteacher5=$_POST["inputteacher5"];
$inputteacher6=$_POST["inputteacher6"];
$inputteacher7=$_POST["inputteacher7"];
$inputteacher8=$_POST["inputteacher8"];
$inputteacher9=$_POST["inputteacher9"];
$inputteacher10=$_POST["inputteacher10"];
$inputteacher11=$_POST["inputteacher11"];
$inputteacher12=$_POST["inputteacher12"];
$inputteacher13=$_POST["inputteacher13"];
$inputteacher14=$_POST["inputteacher14"];
$inputteacher15=$_POST["inputteacher15"];
$inputteacher16=$_POST["inputteacher16"];
$inputteacher17=$_POST["inputteacher17"];
$inputteacher18=$_POST["inputteacher18"];
$inputteacher19=$_POST["inputteacher19"];
$inputteacher20=$_POST["inputteacher20"];
$inputteacher21=$_POST["inputteacher21"];
$inputteacher22=$_POST["inputteacher22"];
$inputteacher23=$_POST["inputteacher23"];
$inputteacher24=$_POST["inputteacher24"];
$inputteacher25=$_POST["inputteacher25"];
$inputteacher26=$_POST["inputteacher26"];
$inputteacher27=$_POST["inputteacher27"];
$inputteacher28=$_POST["inputteacher28"];
$inputteacher29=$_POST["inputteacher29"];
$inputteacher30=$_POST["inputteacher30"];

$otherdetail1=$_POST["otherdetail1"];
$otherdetail2=$_POST["otherdetail2"];
$otherdetail3=$_POST["otherdetail3"];
$otherdetail4=$_POST["otherdetail4"];
$otherdetail5=$_POST["otherdetail5"];
$otherdetail6=$_POST["otherdetail6"];
$otherdetail7=$_POST["otherdetail7"];
$otherdetail8=$_POST["otherdetail8"];
$otherdetail9=$_POST["otherdetail9"];
$otherdetail10=$_POST["otherdetail10"];
$otherdetail11=$_POST["otherdetail11"];
$otherdetail12=$_POST["otherdetail12"];
$otherdetail13=$_POST["otherdetail13"];
$otherdetail14=$_POST["otherdetail14"];
$otherdetail15=$_POST["otherdetail15"];
$otherdetail16=$_POST["otherdetail16"];
$otherdetail17=$_POST["otherdetail17"];
$otherdetail18=$_POST["otherdetail18"];
$otherdetail19=$_POST["otherdetail19"];
$otherdetail20=$_POST["otherdetail20"];
$otherdetail21=$_POST["otherdetail21"];
$otherdetail22=$_POST["otherdetail22"];
$otherdetail23=$_POST["otherdetail23"];
$otherdetail24=$_POST["otherdetail24"];
$otherdetail25=$_POST["otherdetail25"];
$otherdetail26=$_POST["otherdetail26"];
$otherdetail27=$_POST["otherdetail27"];
$otherdetail28=$_POST["otherdetail28"];
$otherdetail29=$_POST["otherdetail29"];
$otherdetail30=$_POST["otherdetail30"];

$inputam1=$_POST["inputam1"];
$inputam2=$_POST["inputam2"];
$inputam3=$_POST["inputam3"];
$inputam4=$_POST["inputam4"];
$inputam5=$_POST["inputam5"];
$inputam6=$_POST["inputam6"];
$inputam7=$_POST["inputam7"];
$inputam8=$_POST["inputam8"];
$inputam9=$_POST["inputam9"];
$inputam10=$_POST["inputam10"];
$inputam11=$_POST["inputam11"];
$inputam12=$_POST["inputam12"];
$inputam13=$_POST["inputam13"];
$inputam14=$_POST["inputam14"];
$inputam15=$_POST["inputam15"];
$inputam16=$_POST["inputam16"];
$inputam17=$_POST["inputam17"];
$inputam18=$_POST["inputam18"];
$inputam19=$_POST["inputam19"];
$inputam20=$_POST["inputam20"];
$inputam21=$_POST["inputam21"];
$inputam22=$_POST["inputam22"];
$inputam23=$_POST["inputam23"];
$inputam24=$_POST["inputam24"];
$inputam25=$_POST["inputam25"];
$inputam26=$_POST["inputam26"];
$inputam27=$_POST["inputam27"];
$inputam28=$_POST["inputam28"];
$inputam29=$_POST["inputam29"];
$inputam30=$_POST["inputam30"];

 $sql="insert into recordpay values (NULL,'$selecttype','$inputfa','$inputsubject','$inputyear','$inputdate','$inputtime','$inputst_year')";
$query=mysql_query($sql);

$sql="select MAX(Id) from recordpay";
$query=mysql_query($sql);
$row=mysql_fetch_array($query);


if($inputteacher1!=""){
 $sql="insert into recordpay1 (Id,Idrefer,Idteacher,Number) values (NULL,'$row[0]','$inputteacher1$otherdetail1','$inputam1')";
$query=mysql_query($sql);
}
if($inputteacher2!=""){
 $sql="insert into recordpay1 (Id,Idrefer,Idteacher,Number) values (NULL,'$row[0]','$inputteacher2$otherdetail2','$inputam2')";
$query=mysql_query($sql);
}
if($inputteacher3!=""){
 $sql="insert into recordpay1 (Id,Idrefer,Idteacher,Number) values (NULL,'$row[0]','$inputteacher3$otherdetail3','$inputam3')";
$query=mysql_query($sql);
}
if($inputteacher4!=""){
 $sql="insert into recordpay1 (Id,Idrefer,Idteacher,Number) values (NULL,'$row[0]','$inputteacher4$otherdetail4','$inputam4')";
$query=mysql_query($sql);
}
if($inputteacher5!=""){
 $sql="insert into recordpay1 (Id,Idrefer,Idteacher,Number) values (NULL,'$row[0]','$inputteacher5$otherdetail5','$inputam5')";
$query=mysql_query($sql);
}
if($inputteacher6!=""){
 $sql="insert into recordpay1 (Id,Idrefer,Idteacher,Number) values (NULL,'$row[0]','$inputteacher6$otherdetail6','$inputam6')";
$query=mysql_query($sql);
}
if($inputteacher7!=""){
 $sql="insert into recordpay1 (Id,Idrefer,Idteacher,Number) values (NULL,'$row[0]','$inputteacher7$otherdetail7','$inputam7')";
$query=mysql_query($sql);
}
if($inputteacher8!=""){
 $sql="insert into recordpay1 (Id,Idrefer,Idteacher,Number) values (NULL,'$row[0]','$inputteacher8$otherdetail8','$inputam8')";
$query=mysql_query($sql);
}
if($inputteacher9!=""){
 $sql="insert into recordpay1 (Id,Idrefer,Idteacher,Number) values (NULL,'$row[0]','$inputteacher9$otherdetail9','$inputam9')";
$query=mysql_query($sql);
}
if($inputteacher10!=""){
 $sql="insert into recordpay1 (Id,Idrefer,Idteacher,Number) values (NULL,'$row[0]','$inputteacher10$otherdetail10','$inputam10')";
$query=mysql_query($sql);
}
if($inputteacher11!=""){
 $sql="insert into recordpay1 (Id,Idrefer,Idteacher,Number) values (NULL,'$row[0]','$inputteacher11$otherdetail11','$inputam11')";
$query=mysql_query($sql);
}
if($inputteacher12!=""){
 $sql="insert into recordpay1 (Id,Idrefer,Idteacher,Number) values (NULL,'$row[0]','$inputteacher12$otherdetail12','$inputam12')";
$query=mysql_query($sql);
}
if($inputteacher13!=""){
 $sql="insert into recordpay1 (Id,Idrefer,Idteacher,Number) values (NULL,'$row[0]','$inputteacher13$otherdetail13','$inputam13')";
$query=mysql_query($sql);
}
if($inputteacher14!=""){
 $sql="insert into recordpay1 (Id,Idrefer,Idteacher,Number) values (NULL,'$row[0]','$inputteacher14$otherdetail14','$inputam14')";
$query=mysql_query($sql);
}
if($inputteacher15!=""){
 $sql="insert into recordpay1 (Id,Idrefer,Idteacher,Number) values (NULL,'$row[0]','$inputteacher15$otherdetail15','$inputam15')";
$query=mysql_query($sql);
}
if($inputteacher16!=""){
 $sql="insert into recordpay1 (Id,Idrefer,Idteacher,Number) values (NULL,'$row[0]','$inputteacher16$otherdetail16','$inputam16')";
$query=mysql_query($sql);
}
if($inputteacher17!=""){
 $sql="insert into recordpay1 (Id,Idrefer,Idteacher,Number) values (NULL,'$row[0]','$inputteacher17$otherdetail17','$inputam17')";
$query=mysql_query($sql);
}
if($inputteacher18!=""){
 $sql="insert into recordpay1 (Id,Idrefer,Idteacher,Number) values (NULL,'$row[0]','$inputteacher18$otherdetail18','$inputam18')";
$query=mysql_query($sql);
}
if($inputteacher19!=""){
 $sql="insert into recordpay1 (Id,Idrefer,Idteacher,Number) values (NULL,'$row[0]','$inputteacher19$otherdetail19','$inputam19')";
$query=mysql_query($sql);
}
if($inputteacher20!=""){
 $sql="insert into recordpay1 (Id,Idrefer,Idteacher,Number) values (NULL,'$row[0]','$inputteacher20$otherdetail20','$inputam20')";
$query=mysql_query($sql);
}
if($inputteacher21!=""){
 $sql="insert into recordpay1 (Id,Idrefer,Idteacher,Number) values (NULL,'$row[0]','$inputteacher21$otherdetail21','$inputam21')";
$query=mysql_query($sql);
}
if($inputteacher22!=""){
 $sql="insert into recordpay1 (Id,Idrefer,Idteacher,Number) values (NULL,'$row[0]','$inputteacher22$otherdetail22','$inputam22')";
$query=mysql_query($sql);
}
if($inputteacher23!=""){
 $sql="insert into recordpay1 (Id,Idrefer,Idteacher,Number) values (NULL,'$row[0]','$inputteacher23$otherdetail23','$inputam23')";
$query=mysql_query($sql);
}
if($inputteacher24!=""){
 $sql="insert into recordpay1 (Id,Idrefer,Idteacher,Number) values (NULL,'$row[0]','$inputteacher24$otherdetail24','$inputam24')";
$query=mysql_query($sql);
}
if($inputteacher25!=""){
 $sql="insert into recordpay1 (Id,Idrefer,Idteacher,Number) values (NULL,'$row[0]','$inputteacher25$otherdetail25','$inputam25')";
$query=mysql_query($sql);
}
if($inputteacher26!=""){
 $sql="insert into recordpay1 (Id,Idrefer,Idteacher,Number) values (NULL,'$row[0]','$inputteacher26$otherdetail26','$inputam26')";
$query=mysql_query($sql);
}
if($inputteacher27!=""){
 $sql="insert into recordpay1 (Id,Idrefer,Idteacher,Number) values (NULL,'$row[0]','$inputteacher27$otherdetail27','$inputam27')";
$query=mysql_query($sql);
}
if($inputteacher28!=""){
 $sql="insert into recordpay1 (Id,Idrefer,Idteacher,Number) values (NULL,'$row[0]','$inputteacher28$otherdetail28','$inputam28')";
$query=mysql_query($sql);
}
if($inputteacher29!=""){
 $sql="insert into recordpay1 (Id,Idrefer,Idteacher,Number) values (NULL,'$row[0]','$inputteacher29$otherdetail29','$inputam29')";
$query=mysql_query($sql);
}
if($inputteacher30!=""){
 $sql="insert into recordpay1 (Id,Idrefer,Idteacher,Number) values (NULL,'$row[0]','$inputteacher30$otherdetail30','$inputam30')";
$query=mysql_query($sql);
}
	Header("Location:type1.php?type=$typein");

?>

Hacked By AnonymousFox1.0, Coded By AnonymousFox