Hacked By AnonymousFox

Current Path : C:/AppServ/www/bkup/finan300368/financial/
Upload File :
Current File : C:/AppServ/www/bkup/finan300368/financial/saveedit.php

<?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_data set Egp='$Egp',Moneyco='$Moneyco',Round1='$Round1',Money1='$Money1',Round2='$Round2',Money2='$Money2',Round3='$Round3',Money3='$Money3',Namecompany='$Namecompany' where Id='$Idedit'";
$query=mysql_query($sql);

$sql="insert into fin_step values (NULL,'$Step','$No','$Detail','$Date1','$Date2','$Date3','$Comment',NOW(),'$Idedit','$System_Session_User_ID')";
$query=mysql_query($sql);

$sql="insert into fin_stepold values (NULL,'$Step','$No','$Detail','$Date1','$Date2','$Date3','$Comment',NOW(),'$Idedit','$System_Session_User_ID')";
$query=mysql_query($sql);


$sql="update fin_step set Idfin='0' where Step<$Step and Idfin='$Idedit'";
$query=mysql_query($sql);

$sql="insert fin_data2 values (NULL,'$Datenew1','$Datenew2','$Datenew3','$Idedit')";
$query=mysql_query($sql);

Header("Location:editdata.php?Id=$Idedit");

?>
</body>
</html>

Hacked By AnonymousFox1.0, Coded By AnonymousFox