関数
TcdEgo::dlsellerLoginTemplate()
戻り値 戻り値
ファイル: src/Views/CustomerPage/Themes/TcdEgo.php
    public function dlsellerLoginTemplate() {
        get_header();
        ?>
        <main class="l-main">
            <div class="l-mian__inner l-inner">
                <div id="l-primary" class="site-content wcexaap">
                    <div class="p-entry p-wc p-wc-cart-page p-wc-<?php usces_page_name(); ?>">
                        <div class="p-wc__body p-body">
                            <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="p-wc-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>
                                                <li></li>
                                            </ul>
                                        </div>
                                        <div class="p-wc-header_explanation">
                                            <?php
                                            /**
                                             * Mirrored Welcart action hook
                                             *
                                             * @ignore
                                             */
                                            do_action('usces_action_customer_page_header');
                                            ?>
                                        </div>
                                        <div class="p-wc-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 class="p-wc-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" class="lostpassword">
                                                    <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="p-button p-button--lg" 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>
                    </div>
                </div>
            </div>
        </main>
        <?php
        get_footer();
    }