Hacked By AnonymousFox
<?php
include("lib/connect.php");
include("lib/session.php");
if($System_Session_User_ID=="") {
echo "<SCRIPT LANGUAGE=\"JavaScript\">window.location = \"index.php\";alert(\"You must Login first.\");</SCRIPT>";
}
$sql="update fin_step set Step='$Step',No='$No',Detail='$Detail',Date1='$Date1',Date2='$Date2',Date3='$Date3',Comment='$Comment',Datetimesave=NOW() where Id='$Idedit'";
$query=mysql_query($sql);
$sqlc1="select Idfin from fin_step where Id='$Idedit'";
$queryc1=mysql_query($sqlc1);
$rowc1=mysql_fetch_array($queryc1);
$Idback=$rowc1[0];
$sql="update fin_data set Result='4' where Id='$Idback'";
$query=mysql_query($sql);
Header("Location:editdata.php?Id=$Idback");
?>
</body>
</html>
Hacked By AnonymousFox1.0, Coded By AnonymousFox