<?php echo $header; ?>
<?php if ($success) { ?>
<div class="success"><?php echo $success; ?></div>
<?php } ?>
<?php if ($error_warning) { ?>
<div class="warning"><?php echo $error_warning; ?></div>
<?php } ?>

<section class="main-container col1-layout">
    <article class="col-main">
      <?php echo $breadcrumbs; ?>
        <div class="login_page">
            <div class="page-title">
                <h2 class="font-family-header"><?php echo $heading_title; ?></h2>
            </div>

            <div id="content">
                <?php echo $content_top; ?>
                <?php echo $text_description; ?>


                <div class="login-content">
                    <fieldset class="col2-set login-page">
                        <legend></legend>
                        <div class="col-1 new-users"><strong><?php echo $text_new_affiliate; ?></strong>

                            <div class="content">
                                <p><?php echo $text_register_account; ?></p>
                                <div class="buttons-set" style="margin-top: 55px;">
                                  <button type="button" class="btn-default btn-medium" onClick="window.location='<?php echo $register; ?>';">
                                    <i class="fas fa-user" aria-hidden="true"></i>
                                    <span><?php echo $button_continue; ?></span>
                                  </button>
                                </div>
                            </div>
                        </div>
                        <div class="col-2 registered-users">
                            <strong><?php echo $text_returning_affiliate; ?></strong>
                            <div class="content">
                                <p><?php echo $text_i_am_returning_affiliate; ?></p>
                                <form action="<?php echo $action; ?>" method="post" enctype="multipart/form-data">
                                    <ul class="form-list">

                                        <li>
                                            <label for="email"><?php echo $entry_email; ?><span class="required">*</span></label>
                                            <input type="text" class="input-text required-entry" name="email" value="<?php echo $email; ?>" />
                                        </li>

                                        <li>
                                            <label for="email"><?php echo $entry_password; ?><span class="required">*</span></label>
                                            <input type="password" class="input-text required-entry" name="password" value="<?php echo $password; ?>" />

                                        </li>
                                        <div class="buttons-set">
                                            <button class="button login" type="submit" value="<?php echo $button_login; ?>">
                                              <span><?php echo $button_login; ?></span>
                                            </button>
                                            <?php if ($redirect) { ?>
                                            <input type="hidden" name="redirect" value="<?php echo $redirect; ?>" />
                                            <?php } ?>
                                            <a href="<?php echo $forgotten; ?>"><?php echo $text_forgotten; ?></a>
                                        </div>
                                    </ul>
                                </form>
                            </div>
                        </div>
                    </fieldset>
                </div>
            </div>
        </div>

    </article>

</section>





<?php echo $footer; ?>
