|
|
@ -45,7 +45,8 @@ |
|
|
|
$q=mysqli_query($conn, "INSERT INTO advertisement VALUES(null, $uid, '".$order."', $ouid, '".addslashes(trim($_POST['full_name']))."', |
|
|
|
'".addslashes(trim($email))."', NOW(), '".addslashes(nl2br($_POST['text']))."', |
|
|
|
'".addslashes(trim($_POST['city']))."', '".addslashes(trim($_POST['contact_phone']))."', |
|
|
|
'".addslashes(trim($_POST['contact_email']))."', $append, '".$_POST['type']."', 1, 1)"); |
|
|
|
'".addslashes(trim($_POST['contact_email']))."', $append, '".$_POST['type']."', ". |
|
|
|
($_SESSION['AUTH']['id'] ? 1 : 0).", 1)"); |
|
|
|
|
|
|
|
echo "<script>setTimeout( function(){parent.location = parent.location;},1500); </script>"; |
|
|
|
|
|
|
|