関数
CustomerPage::dlsellerLoginTemplate()
戻り値 戻り値
ファイル: src/Views/CustomerPage/CustomerPage.php
public function dlsellerLoginTemplate() {
get_header();
?>
<div id="primary" class="site-content wcexaap">
<div id="content" class="cart-page" role="main">
<?php if (have_posts()) :
usces_remove_filter(); ?>
<article class="post" id="wc_customer">
<h1 class="cart_page_title"><?php _e('Customer Information', 'usces'); ?></h1>
<div id="customer-info">
<div class="cart_navi">
<ul>
<li><?php _e('1.Cart', 'usces'); ?></li>
<li class="current"><?php _e('2.Customer Info', 'usces'); ?></li>
<li><?php _e('4.Confirm', 'usces'); ?></li>
</ul>
</div>
<div class="header_explanation">
<?php
/**
* Mirrored Welcart action hook
*
* @ignore
*/
do_action('usces_action_customer_page_header');
?>
</div>
<div class="error_message"><?php usces_error_message(); ?></div>
<?php if (usces_is_membersystem_state()) : ?>
<form action="<?php echo $this->formAction ?>" method="post" name="customer_loginform" onKeyDown="if(event.keyCode == 13){return false;}">
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="customer_form">
<tr>
<th scope="row"><?php _e('e-mail adress', 'usces'); ?></th>
<td><input name="loginmail" id="loginmail" type="text" value="<?php echo esc_attr($this->email); ?>" style="ime-mode: inactive" /></td>
</tr>
<tr>
<th scope="row"><?php _e('password', 'usces'); ?></th>
<td><input name="loginpass" id="loginpass" type="password" value="" /></td>
</tr>
</table>
<?php if ($this->hasExOrder()) : ?>
<p id="nav">
<a class="lostpassword" href="<?php usces_url('lostmemberpassword'); ?>"><?php _e('Did you forget your password?', 'usces'); ?></a>
</p>
<p id="nav">
<a class="newmember" href="<?php usces_url('newmember'); ?>&wcexaap_transition=newmember"><?php _e('New enrollment for membership.', 'usces'); ?></a>
</p>
<?php endif; ?>
<div class="send">
<input name="customerlogin" class="to_memberlogin_button" type="submit" value="<?php _e(' Next ', 'usces'); ?>" />
<div class="ui checkbox">
<input
name="allowAmazonLogin"
type="checkbox"
value="1"
>
<label
for="allowAmazonLogin"
style="cursor:pointer;"
>
<?php _e('Log me in automatically from now on when I use Amazon Pay.', 'wcexaap'); ?>
</label>
</div>
<div class="ui warning message autologin-info" style="display: none;">
<p><?php _e('Note: this feature only works if your login email is the same as your Amazon account email', 'wcexaap'); ?></p>
</div>
</div>
<?php
/**
* Mirrored Welcart action hook
*
* @ignore
*/
do_action('usces_action_customer_page_member_inform');
?>
</form>
<?php endif; ?>
<div class="footer_explanation">
<?php
/**
* Mirrored Welcart action hook
*
* @ignore
*/
do_action('usces_action_customer_page_footer');
?>
</div>
</div>
</article>
<?php else : ?>
<p><?php _e('Sorry, no posts matched your criteria.', 'usces'); ?></p>
<?php endif; ?>
</div>
</div>
<?php
get_footer();
}