firebase-authentication
/
admin
/
partials
/
support
/
class-mo-firebase-authentication-admin-support.php
class-mo-firebase-authentication-admin-demo.php
2 years ago
class-mo-firebase-authentication-admin-support.php
3 years ago
class-mo-firebase-authentication-admin-support.php
69 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Firebase Authentication Support |
| 4 | * |
| 5 | * @package firebase-authentication |
| 6 | */ |
| 7 | |
| 8 | /** |
| 9 | * Renders support form |
| 10 | */ |
| 11 | class Mo_Firebase_Authentication_Admin_Support { |
| 12 | |
| 13 | /** |
| 14 | * Display contact us form |
| 15 | * |
| 16 | * @return void |
| 17 | */ |
| 18 | public static function mo_firebase_authentication_support() { |
| 19 | ?> |
| 20 | <div class="col-md-12" style="padding: 5px;"> |
| 21 | <div class="mo_firebase_auth_card" style="width:90%" > |
| 22 | <h3 style="margin: 10px 0;">Contact us</h3> |
| 23 | <p>Need any help?<br>Just send us a query so we can help you.</p> |
| 24 | <form action="" method="POST"> |
| 25 | <table class="mo_settings_table"> |
| 26 | <?php wp_nonce_field( 'mo_firebase_auth_contact_us_form', 'mo_firebase_auth_contact_us_field' ); ?> |
| 27 | <input type="hidden" name="option" value="mo_firebase_auth_contact_us"> |
| 28 | <tr> |
| 29 | <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> |
| 30 | </tr><tr><td></td></tr> |
| 31 | <tr> |
| 32 | <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> |
| 33 | </tr><tr><td></td></tr> |
| 34 | <tr> |
| 35 | <td><textarea style="width:95%;" name="mo_firebase_auth_contact_us_query" placeholder="Enter query here" rows="5" id="mo_firebase_auth_contact_us_query" required></textarea></td> |
| 36 | </tr><tr><td> |
| 37 | <input type="submit" class="button button-primary button-large" style="width:100px; margin: 15px 0;" value="Submit"></td></tr> |
| 38 | </table> |
| 39 | </form> |
| 40 | <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> |
| 41 | </div> |
| 42 | </div> |
| 43 | <div class="firestore_adv"> |
| 44 | <div class="firestore_adv_row"> |
| 45 | <div class="col-md-2 text-center"> |
| 46 | <img src="<?php echo esc_url( MO_FIREBASE_AUTHENTICATION_URL . 'public/images/mini.png' ); ?>" width="50px"> |
| 47 | </div> |
| 48 | <div class="col-md-10 text-dark"> |
| 49 | <h5><a href="https://plugins.miniorange.com/woocommerce-cloud-firestore-integration" target="_blank" style="text-decoration: none;">WordPress Firestore Integrator </a></h5> |
| 50 | <h6> |
| 51 | <span class="h5 ">By</span><span><a rel="nofollow" href="https://miniorange.com/" target="_blank" class="firestore_adv_url"> miniOrange</a></span> |
| 52 | </h6> |
| 53 | <hr class="firestore_adv_hr"/> |
| 54 | </div> |
| 55 | </div> |
| 56 | <p class="mt-2 pl-2 firestore_adv_content"> |
| 57 | WordPress Firestore integrator plugin allows you to sync your WordPress data into Firebase Cloud Firestore. The cloud firestore data can also be displayed on your WordPress site. |
| 58 | </p> |
| 59 | <p style="margin-left: 4%;"> Please reach out to us at <a href="mailto:info@xecurify.com">info@xecurify.com</a> to discuss the integration you want between your WordPress site and Firestore.</p> |
| 60 | </div> |
| 61 | |
| 62 | <script> |
| 63 | jQuery("#mo_firebase_auth_contact_us_phone").intlTelInput(); |
| 64 | |
| 65 | </script> |
| 66 | <?php |
| 67 | } |
| 68 | } |
| 69 |