File manager - Edit - /home/autoph/public_html/voc/home/SendLoungeFeedback.php
Back
<?php include_once 'core/init.php'; $surveyDate = date_create() ->format("Y-m-d"); $surveyTime =date('H:i:s'); $myUID = $user_data['u_id']; if(isset($_POST['done'])){ $custName = mysql_escape_string($_POST['custName']); $custMobile = mysql_escape_string($_POST['custMobile']); $commentBox = mysql_escape_string($_POST['commentBox']); $myRangeA = mysql_escape_string($_POST['myRangeA']); $myRangeB = mysql_escape_string($_POST['myRangeB']); $myRangeC = mysql_escape_string($_POST['myRangeC']); $myRangeD = mysql_escape_string($_POST['myRangeD']); $dealer = mysql_escape_string($_POST['dealer']); $score =((($myRangeA + $myRangeB + $myRangeC + $myRangeD) / 4) / 10) * 100; mysql_query("INSERT INTO fgp_lounge_db(date,time,custName,custMobile,commentBox,Qa,Qb,Qc,Qd,dealer,score) VALUES('{$surveyDate}','{$surveyTime}','{$custName}','{$custMobile}','{$commentBox}','{$myRangeA}','{$myRangeB}','{$myRangeC}','{$myRangeD}','{$dealer}','{$score}')"); echo "THANK YOU!<br><br> You have completed the customer the feedback form. <br><br><p style='font-family:Yu Gothic Light;font-size:2vw;font-weight:normal'>Your input will help us improve our service in the future and make your next visit a more enjouyable one. If you have any concerns or inquiries, please feel free to contact us anytime.</p> <br><br><b style='font-family: Yu Gothic Light;font-size:2vw;font-weight:normal;width:100%;'>Call us: 8860-8888 <br>E-mail: info@autohubgroup.com<b>"; } ?>
| ver. 1.4 |
.
| PHP 7.3.33 | Generation time: 0 |
proxy
|
phpinfo
|
Settings