Server IP : 104.21.14.48 / Your IP : 18.119.127.87 [ Web Server : Apache System : Linux b70eb322-3aee-0c53-7c82-0db91281f2c6.secureserver.net 6.1.90-1.el9.elrepo.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 2 12:09:22 EDT 2024 x86_64 User : root ( 0) PHP Version : 8.0.30.2 Disable Function : NONE Domains : 0 Domains MySQL : ON | cURL : ON | WGET : ON | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/chroot/var/www/wp-content/plugins/contact-us/ |
Upload File : |
<form id="contactform" class="contactform" method="post" action=""> <?php wp_nonce_field( $this->tag, $this->tag.'_nonce' ); ?> <?php if ( count( $this->messages ) > 0 ) : ?> <div id="contact_response" class="<?php echo ( count( $this->messages['error'] ) > 0 ? 'error' : 'ok' ); ?>"> <?php if ( isset( $this->messages['ok'] ) ) : ?> <p><?php esc_html_e( $this->messages['ok'] ); ?></p> <?php elseif ( is_array( $this->messages['error'] ) ) : ?> <ul> <li><?php echo implode( '</li><li>', $this->messages['error'] ); ?></li> </ul> <?php endif; ?> </div> <?php endif; ?> <p class="contact_name"> <input type="text" tabindex="1" size="22" value="<?php if ( isset( $contact['name'] ) ) { esc_html_e( $contact['name'] ); } ?>" id="contact_name" name="contact[name]" /> <label for="contact_name"> <small><?php _e( 'Name' ); ?> (<?php _e( 'required' ); ?>)</small> </label> </p> <p class="contact_email"> <input type="text" tabindex="2" size="22" value="<?php if ( isset( $contact['email'] ) ) { esc_html_e( $contact['email'] ); } ?>" id="contact_email" name="contact[email]" /> <label for="contact_email"> <small><?php _e( 'Email' ); ?> (<?php _e( 'required' ); ?>)</small> </label> </p> <p class="contact_phone"> <input type="text" tabindex="3" size="22" value="<?php if ( isset( $contact['phone'] ) ) { esc_html_e( $contact['phone'] ); } ?>" id="contact_phone" name="contact[phone]" /> <label for="contact_phone"> <small><?php _e( 'Phone' ); ?></small> </label> </p> <p class="contact_message"> <textarea tabindex="4" rows="10" cols="60" id="contact_message" name="contact[message]"><?php if ( isset( $contact['message'] ) ) { esc_html_e($contact['message']); } ?></textarea> </p> <?php if($this->options['recaptcha_enable'] === 'true' && !empty($this->options['recaptcha_public_key'])){ ?> <p class="contact_recaptcha"> <!-- YOUR RECAPTCHA CODE GOES HERE --> <script type="text/javascript" src="http://api.recaptcha.net/challenge?k=<?php echo $this->options['recaptcha_public_key']?>"></script> <noscript> <iframe src="http://api.recaptcha.net/noscript?k=<?php echo $this->options['recaptcha_public_key']?>" height="300" width="500" frameborder="0"></iframe> <textarea name="recaptcha_challenge_field" rows="3" cols="60"></textarea> <input type="hidden" name="recaptcha_response_field" value="manual_challenge"> </noscript> <!-- END RECAPTCHA CODE --> </p> <?php } ?> <p class="contact_submit"> <input type="submit" value="<?php _e( 'Send Message' ); ?>" tabindex="5" id="submit" name="contact[submit]" /> </p> </form>