
<div class="left"><?php  echo $this->callElement("default/common/quicklinks"); ?></div>

<div class="center-large">

    <h2><?php echo $this->__("Login"); ?></h2>
    <form method="post" class="form" id="login_form" action="<?php echo $this->baseurl("/member/login"); ?>">
    <ul>
    <?php
        $username = isset($this->data["Member"]["login_id"]) ? $this->data["Member"]["login_id"] : "";
        if($message != ""):
            echo App::Load("Helper/Html")->get_from_row("&nbsp;","<div class=\"message\">{$message}</div>");
        endif;

        echo App::Load("Helper/Html")->get_from_row($this->__("Email Address"),App::Load("Helper/Html")->inputTag("data[Member][login_id]",$username,array("size"=>"35","class"=>"input check_notempty",'id'=>'email',"longdesc"=>"Enter your email address")) );
        echo App::Load("Helper/Html")->get_from_row($this->__("Password"),App::Load("Helper/Html")->passwordTag("data[Member][password]","",array("size"=>"35","class"=>"input appPassword check_notempty",'id'=>'password',"longdesc"=>"Enter your password")) );
        echo App::Load("Helper/Html")->get_from_row("&nbsp;",App::Load("Helper/Html")->submitTag("data[Member][submit]","Login",array("class" => "button")) );
    ?>
    </ul>
    </form>
     <?php App::Helper('JavaScript')->appForm('#login_form'); ?>
   
    <br class="clearboth" />
    <h2><?php echo $this->__("Forgot Login"); ?></h2>
    <span class="message"></span>
    <form method="post" class="forgotlogin form" action="<?php echo $this->baseurl("/member/forgotlogin"); ?>">
        <ul>
        <?php
            echo App::Load("Helper/Html")->get_from_row($this->__("Email"), App::Load("Helper/Html")->inputTag("data[Forgotlogin][login_name]","",array("id"=>"flogin_name","class"=>"input check_notempty","longdesc"=>"Enter your email address")));
            echo App::Load("Helper/Html")->get_from_row("&nbsp;",App::Load("Helper/Html")->submitTag("data[Forgotlogin][button]","Send",array("class"=>"button")));
        ?>
        </ul>
    </form>
    <?php  App::Helper('JavaScript')->setAjax(array("debug"=>false,"autoHide"=>false))->appForm('.forgotlogin');?>

</div>