<?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">
        <div class="breadcrumbs">
            <ul>
                <?php foreach ($breadcrumbs as $breadcrumb) { ?>
                <li class="category11"><span><?php echo $breadcrumb['separator']; ?></span><a href="<?php echo $breadcrumb['href']; ?>"><?php echo $breadcrumb['text']; ?></a> </li>
                <?php } ?>
            </ul>
        </div>

        <div class="login_page">
            <div class="page-title">
                <h2><?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="button create-account" onClick="window.location='<?php echo $register; ?>';"><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>
                                        <p class="required">* <?php echo $this->language->get('lang_required'); ?></p> 
                                        <div class="buttons-set">
                                            <button class="button login" type="submit" value="<?php echo $button_login; ?>" c><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; ?>