include getenv(DOCUMENT_ROOT)."/liveproc/inc/common.php"; include getenv(DOCUMENT_ROOT)."/liveproc/biz/discusion.php"; $Discusion = new Discusion; $mode = RemoveXSS($_POST['mode']); if($mode =="i"){ $_POST[etc1] = addslashes($_POST[etc1]); $_POST[etc2] = addslashes($_POST[etc2]); $_POST[etc3] = addslashes($_POST[etc3]); $name = RemoveXSS($_POST['name']); $email= RemoveXSS($_POST['email']); $etc1= RemoveXSS($_POST['etc1']); $etc2= RemoveXSS($_POST['etc2']); $etc3= RemoveXSS($_POST['etc3']); $code= RemoveXSS($_POST['code']); $result = $Discusion->AddAdmin($_POST); if ($result) { echo ""; exit; } else { error_back("DB ERROR"); exit; } } $rand = rand(1000,9999); ?>