|
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17 System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64 User : nobody ( 99) PHP Version : 5.2.17 Disable Function : NONE Directory : /proc/22697/root/home/queenjbs/yuchun/admin/Proc/ |
Upload File : |
<?include "$DOCUMENT_ROOT/conf/conf_dir.php";?>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<?
$module_name = "2"; //jyj
$contents = addslashes($contents); //특수문자db에 들어가게..
if($idx){
$queryupok = "update mail_form set from_email='$from_email',subject='$subject', contents = '$contents' where id = '$idx'";
//echo $queryupok."<br>";
$queryupok_result = mysql_query($queryupok,$db_con);
//$query= "update user_evan_cash set startdate='$m_startdate',enddate='$m_enddate' where user_id = '$idx'";
//$query_result = mysql_query($query,$db_con);
}else{
$querys = "INSERT INTO mail_form (module_name, mode, from_email, subject, contents, regdate) VALUES ('$module_name', '$mode', '$from_email', '$subject','$contents',now());";
$results = mysql_query($querys,$db_con);
}
?>
<script>
alert("保存しました.");
location.href='../mailform.html?tabs=<?=$tabs?>';
</script>