|
|
@@ -67,21 +67,21 @@ class tools {
|
|
|
$operate = strtolower($operate);
|
|
|
|
|
|
if ($operate == "mark_save") {
|
|
|
- $suggestion = common::check_input($_POST ['suggestion']);
|
|
|
- $proposal = common::check_input($_POST ['proposal']);
|
|
|
- $expression = common::check_input($_POST ['expression']);
|
|
|
- $complete_funtionality = common::check_input($_POST ['Complete_funtionality']);
|
|
|
- $accurate_data = common::check_input($_POST ['Accurate_data']);
|
|
|
- $clear_information = common::check_input($_POST ['Clear_information']);
|
|
|
- $easy_to_use = common::check_input($_POST ['Easy_to_use']);
|
|
|
- $system_Performance = common::check_input($_POST ['System_Performance']);
|
|
|
+ $suggestion = utils::implode(",",$_POST['suggestion']);
|
|
|
+ $proposal = common::check_input($_POST['proposal']);
|
|
|
+ $expression = common::check_input($_POST['expression']);
|
|
|
+ $complete_funtionality = common::check_input($_POST['Complete_funtionality']);
|
|
|
+ $accurate_data = common::check_input($_POST['Accurate_data']);
|
|
|
+ $clear_information = common::check_input($_POST['Clear_information']);
|
|
|
+ $easy_to_use = common::check_input($_POST['Easy_to_use']);
|
|
|
+ $system_Performance = common::check_input($_POST['System_Performance']);
|
|
|
|
|
|
$user_type = _isApexLogin() ? "employee" : "customer";
|
|
|
$sql = "INSERT INTO public.customer_service_user_mark(user_type, user_name, suggestion, proposal, expression, complete_funtionality,
|
|
|
accurate_data, clear_information, easy_to_use, system_performance,
|
|
|
- created_time)
|
|
|
+ created_time,email)
|
|
|
VALUES ('$user_type', '"._getLoginName()."', '$suggestion', '$proposal', '$expression', '$complete_funtionality',
|
|
|
- '$accurate_data', '$clear_information', '$easy_to_use', '$system_Performance', now())";
|
|
|
+ '$accurate_data', '$clear_information', '$easy_to_use', '$system_Performance', now(),'"._getLoginEamil()."')";
|
|
|
common::excuteUpdateSql($sql);
|
|
|
|
|
|
$data = array("msg" =>"success");
|