' . $testimonialform[css] . ''; } echo $jscript = ''; $status_msg = $_REQUEST['status']; if ($status_msg == "Success") { echo $jscript = ''; } ?> form{margin:0;padding:0;} /*contact*/ .recaptcha_source{margin:0 !important;} .awp_testimonial_form input.required{color:#000;font-weight:normal;} #login-box .form_section{float:left;width:100%;margin-bottom:15px;} #login-box{float:left;width:100%;} #login-box select{color:#000000;} #login-box .form_left_part {width:100% !important;float:left;} #login-box .form_rgt_part{width:100% !important;float:left;margin-top:5px;} #login-box .form_rgt_part input{width:50%;} #login-box .form_rgt_part textarea{width:50%;} #login-box .form_rgt_part input#telephonenumber1, #login-box .form_rgt_part input#telephonenumber2, #login-box .form_rgt_part input#telephonenumber3{width:30% !important} #login-box .form_rgt_part input[type="checkbox"], #login-box .form_rgt_part input[type="radio"]{width:auto !important;float:left;} #login-box .form_rgt_part select{padding:6px;width:100%;} #login-box input[type="submit"], #login-box input[type="image"]{margin-left:0px !important;float:right !important;} .absp_success_msg{color:green;font-weight:bold;padding-bottom:5px;} @media screen and (max-width:900px){ #login-box .form_left_part {width:100% !important;float:left !important;} #login-box .form_rgt_part{width:100% !important;float:left !important;margin-top:5px;} #recaptcha_widget_div{zoom:0.79;-moz-transform: scale(0.76);} } @media screen and (max-width:360px){ #login-box .form_rgt_part input#telephonenumber1, #login-box .form_rgt_part input#telephonenumber2, #login-box .form_rgt_part input#telephonenumber3{width:30% !important} #recaptcha_widget_div{zoom:0.59;-moz-transform: scale(0.56);} } '; ?> ' . $successmsg . ""; } do_action('apptivo_business_testimonial_applicant_' . $testimonialform['name'] . '_before_fprm'); //Before submit form if ($_REQUEST['status']) { $status_msg = $_REQUEST['status']; if ($status_msg == "Success") { echo "Testimonial Added Successfully
"; } else if ($status_msg == "Please enter correct Verification code") { $postValues= $_SESSION['POST_VALUES']; echo " Please enter correct Verification code. "; } else { echo " Error while submitting Testimonials. "; } } echo '
'; echo ''; echo ''; echo ''; echo "
'; } else if ($fieldid == 'industry') { if (!empty($optionvalues)) { echo '
'; } else { echo '
'; } } else { echo ''; } break; case "file": echo ''; echo ''; break; case "radio": $i = 0; $opt = 0; echo '
'; foreach ($optionvalues as $optionvalue) { if (!empty($optionvalue) && strlen(trim($optionvalue)) != 0) { echo '
  
'; $i++; $opt++; } } echo '
'; break; case "checkbox": $i = 0; $opt = 0; echo '
'; foreach ($optionvalues as $optionvalue) { if (!empty($optionvalue) && strlen(trim($optionvalue)) != 0) { echo '
  
'; $i++; $opt++; } } echo '
'; break; case "captcha": awp_reCaptcha(); echo ""; break; } echo ''; } /* redirection URL */ $actual_link = SITE_URL.$_SERVER[REQUEST_URI]; $_SESSION['request_link'] = $actual_link; echo ''; if ($testimonialform[submit_button_type] == "submit" && ($testimonialform[submit_button_val]) != "") { $button_value = 'value="' . $testimonialform[submit_button_val] . '"'; } else { if ($testimonialform[submit_button_val] == '' || empty($testimonialform[submit_button_val])) : $testimonialform[submit_button_val] = awp_image('submit_button'); endif; $button_value = 'src="' . $testimonialform[submit_button_val] . '"'; } do_action('apptivo_business_testimonial_applicant_' . $testimonialform['name'] . '_before_submit_query'); //Before Submit Query echo ''; echo '
'; ?>