class-mo-firebase-authentication-demo.php
4 years ago
class-mo-firebase-authentication-faq.php
4 years ago
class-mo-firebase-authentication-support.php
4 years ago
class-mo-firebase-authentication-support.php
44 lines
| 1 | <?php |
| 2 | |
| 3 | class Mo_Firebase_Authentication_Admin_Support { |
| 4 | |
| 5 | public static function mo_firebase_authentication_support(){ |
| 6 | ?> |
| 7 | <div class="col-md-12" style="padding: 5px;"> |
| 8 | <div class="mo_firebase_auth_card" style="width:90%" > |
| 9 | <h3 style="margin: 10px 0;">Contact us</h3> |
| 10 | <p>Need any help?<br>Just send us a query so we can help you.</p> |
| 11 | <table class="mo_settings_table"> |
| 12 | <form action="" method="POST"> |
| 13 | <?php wp_nonce_field('mo_firebase_auth_contact_us_form','mo_firebase_auth_contact_us_field'); ?> |
| 14 | <input type="hidden" name="option" value="mo_firebase_auth_contact_us"> |
| 15 | |
| 16 | <tr> |
| 17 | <td><input style="width:95%;" type="email" placeholder="Enter email here" name="mo_firebase_auth_contact_us_email" id="mo_firebase_auth_contact_us_email" required></td> |
| 18 | </tr><tr><td></td></tr> |
| 19 | <tr> |
| 20 | <td><input style="width:95%;" type="tel" id="mo_firebase_auth_contact_us_phone" pattern="[\+]\d{11,14}|[\+]\d{1,4}[\s]\d{9,10}" placeholder="Enter phone here" name="mo_firebase_auth_contact_us_phone"></td> |
| 21 | </tr><tr><td></td></tr> |
| 22 | <tr> |
| 23 | <td><textarea style="width:95%;" onkeypress="mo_firebase_auth_contact_us_valid_query(this)" onkeyup="mo_firebase_auth_contact_us_valid_query(this)" onblur="mo_firebase_auth_contact_us_valid_query(this)" name="mo_firebase_auth_contact_us_query" placeholder="Enter query here" rows="5" id="mo_firebase_auth_contact_us_query" required></textarea></td> |
| 24 | </tr><tr><td> |
| 25 | <input type="submit" class="button button-primary button-large" style="width:100px; margin: 15px 0;" value="Submit"></td></tr> |
| 26 | </form> |
| 27 | </table> |
| 28 | <p style="padding-right: 8%;">If you want custom features in the plugin, just drop an email at <a href="mailto:info@xecurify.com">info@xecurify.com</a></p> |
| 29 | </div> |
| 30 | </div> |
| 31 | |
| 32 | <script> |
| 33 | jQuery("#mo_firebase_auth_contact_us_phone").intlTelInput(); |
| 34 | function mo_firebase_auth_contact_us_valid_query(f) { |
| 35 | !(/^[a-zA-Z?,.\(\)\/@ 0-9]*$/).test(f.value) ? f.value = f.value.replace( |
| 36 | /[^a-zA-Z?,.\(\)\/@ 0-9]/, '') : null; |
| 37 | } |
| 38 | |
| 39 | </script> |
| 40 | <?php |
| 41 | } |
| 42 | |
| 43 | |
| 44 | } |