echo' <div class="mo_wpns_table_layout">
<table class="mo_wpns_settings_table">
<form name="f" method="post" id="wpns_form" action="">
<input type="hidden" name="option" value="mo_wpns_validate_otp" />
<h3>Verify Your Email</h3>
<td><b><font color="#FF0000">*</font>Enter OTP:</b></td>
<td colspan="2"><input class="mo_wpns_table_textbox" autofocus="true" type="text" name="otp_token" required placeholder="Enter OTP" style="width:61%;" pattern="{6,8}"/>
<a style="cursor:pointer;" onclick="document.getElementById(\'resend_otp_form\').submit();">Resend OTP over Email</a></td>
<tr><td colspan="3"></td></tr>
<a style="cursor:pointer;" onclick="document.getElementById(\'mo_wpns_cancel_form\').submit();"><input type="button" value="Back" id="back_btn" class="button button-primary button-large" /></a>
<input type="submit" value="Validate OTP" class="button button-primary button-large" />
<form method="post" action="" id="mo_wpns_cancel_form">
<input type="hidden" name="option" value="mo_wpns_cancel" />
<form name="f" id="resend_otp_form" method="post" action="">
<input type="hidden" name="option" value="mo_wpns_resend_otp"/>
<h3>I did not recieve any email with OTP . What should I do ?</h3>
<form id="phone_verification" method="post" action="">
<input type="hidden" name="option" value="mo_wpns_phone_verification" />
If you can\'t see the email from miniOrange in your mails, please check your <b>SPAM Folder</b>. If you don\'t see an email even in SPAM folder, verify your identity with our alternate method.
<b>Enter your valid phone number here and verify your identity using one time passcode sent to your phone.</b><br><br><input class="mo_wpns_table_textbox" required="true" pattern="[\+]\d{1,3}\d{10}" autofocus="true" type="text" name="phone_number" id="phone" placeholder="Enter Phone Number" style="width:40%;" value="'.esc_attr($admin_phone).'" title="Enter phone number without any space or dashes."/>
<br><input type="submit" value="Send OTP" class="button button-primary button-large" />
jQuery(document).ready(function(){
$("#phone").intlTelInput();
$("#back_btn").click(function(){
$("#mo_wpns_cancel_form").submit();