<style>
.loginbox.twocolumns .loginpanel
{
border:none;
background-color:#F3F3F3;
border:1px solid #F3F3F3;
border-radius: 10px;
width: 35%;
min-height:340px;
margin-bottom: -2000px;
margin-left: 8%;
padding-bottom:0px;
width: 33.5%;
margin-top: 4%;
}
h3.sectionname, h2.headingblock, h2.main, h3.main, h2.main a, h3.main a, div.loginpanel h2, div.signuppanel h2 {
   border-bottom:none;
    color: #7f7f7f;
    display: block;
    font-size: 18px;
    font-weight: bold;
    margin:3px 19px 2px;
    padding-bottom: 2px;
    text-align: left;
    text-transform: uppercase;
}
.loginbox.twocolumns .signuppanel {
    background-color:#F3F3F3;
    border: 1px solid #F3F3F3;
    border-radius: 10px;
    float: right;
    min-height:630px;
    margin-bottom:0px;
    padding-bottom:0px;
    width:40%;
	margin-top: 4%;
	margin-right: 8%;
	}
.loginbox .loginpanel .desc {
    color: #383838;
    margin:0 19px 5px;
    padding: 0;
}
html a, body a, html a:visited, body a:visited
{
color: #154b15;
font-size: 13px;
text-decoration: underline;
}
.loginbox h2, .loginbox .subcontent
{
text-align:left;
}
.loginbox .loginform .form-label {
    color: #383838;
    direction: rtl;
    float: left;
    padding-top: 10px;
    text-align: left;  
    white-space: nowrap;
    width: 44%;
	margin-left:6%;
}

.loginbox .loginform .form-input {
    float: right;
    padding-top: 10px;
    width: 55%;
	margin-right: -5%;
}
#form-label {
    color: #383838;
    direction: rtl;
    float: left;
    padding-top: 10px;
    text-align: left;  
    white-space: nowrap;
    width:37%;
	margin-left:8%;
}
#form-input {
    float: right;
    padding-top: 10px;
    width: 55%;
	/*margin-right: -11%;*/
}
#form-text
{
  float: left;
    font-size: 13px;
    margin-left: 6%;
    margin-top:6%;
    text-align: left;
    width:90%;
}
.loginbox .loginform 
{
    margin: 20px 0 22px 4px;
    width: 87%;
}

html a, body a, html a:link, body a:link {
    color:#006666;
    font-size: 13px;
    text-decoration: underline;
}
.loginbox .forgetpass {
    font-size: 95%;
    margin: 1em 0 0 7%;
}
</style>
<?php
if ($show_instructions) {
    $columns = 'twocolumns';
} else {
    $columns = 'onecolumn';
}

if (!empty($CFG->loginpasswordautocomplete)) {
    $autocomplete = 'autocomplete="off"';
} else {
    $autocomplete = '';
}
?>
<div class="loginbox clearfix <?php echo $columns ?>">
  <div class="loginpanel">
<?php
  if (($CFG->registerauth == 'email') || !empty($CFG->registerauth)) { ?>
      <div class="skiplinks"><a class="skip" href="signup.php"><?php print_string("tocreatenewaccount"); ?></a></div>
<?php
  } ?>
    <h2><?php print_string("returningtosite") ?></h2>
      <div class="subcontent loginsub">
        <div class="desc">
          <?php
           // print_string("loginusing");
           // echo '<br/>';
           echo ''.get_string("cookiesenabled").'';
           // echo $OUTPUT->help_icon('cookiesenabled');
           ?>
        </div>
        <?php
          if (!empty($errormsg)) {
              echo '<div class="loginerrors">';
              echo $OUTPUT->error_text($errormsg);
              echo '</div>';
          }
        ?>
        <form action="<?php echo $CFG->httpswwwroot; ?>/login/index.php" method="post" id="login" <?php echo $autocomplete; ?> >
          <div class="loginform">
            <div class="form-label"><label for="username"><?php print_string("username") ?></label></div>
            <div class="form-input">
              <input type="text" name="username" id="username" size="15" value="<?php p($frm->username) ?>" style="height: 20px !important;
    margin-left: -17%;
    width: 178px !important;"/>
            </div>
            <div class="clearer"><!-- --></div>
            <div class="form-label"><label for="password"><?php print_string("password") ?></label></div>
            <div class="form-input">
              <input type="password" name="password" id="password" size="15" value="<?php echo $autocomplete; ?>" style="height: 20px !important;
    margin-left: -17%;
    width: 178px !important;"/>
              <!--<input type="submit" id="loginbtn" value="<?php //print_string("login") ?>" />-->
			  <input type="image" src="http://gricourse.com/louisiana/theme/formal_white/pix/LOGIN.png" id="loginbtn" style="float: right;
    margin-right: 16%;
    margin-top: 7%;" value="<?php //print_string("login") ?>" />
            </div>
          </div>
            <div class="clearer"><!-- --></div>
              <?php if (isset($CFG->rememberusername) and $CFG->rememberusername == 2) { ?>
             <!-- <div class="rememberpass">
                  <input type="checkbox" name="rememberusername" id="rememberusername" value="1" <?php //if ($frm->username) {echo 'checked="checked"';} ?> />
                  <label for="rememberusername"><?php print_string('rememberusername', 'admin') ?></label>
              </div>-->
              <?php } ?>
          <div class="clearer"><!-- --></div>
          <div class="forgetpass"><a href="forgot_password.php"><?php print_string("forgotten") ?></a></div>
        </form>
      </div>

<?php if ($CFG->guestloginbutton and !isguestuser()) {  ?>
      <!--<div class="subcontent guestsub">
        <div class="desc">
          <?php //print_string("someallowguest") ?>
        </div>
        <form action="index.php" method="post" id="guestlogin">
          <div class="guestform">
            <input type="hidden" name="username" value="guest" />
            <input type="hidden" name="password" value="guest" />
            <input type="submit" value="<?php print_string("loginguest") ?>" />
          </div>
        </form>
      </div>-->
<?php } ?>
     </div>
<?php if ($show_instructions) { ?>
    <div class="signuppanel">
      <h2><?php print_string("firsttime") ?></h2>
      <!--<div class="subcontent">
<?php     //if (is_enabled_auth('none')) { // instructions override the rest for security reasons
          //    print_string("loginstepsnone");
          //} else if ($CFG->registerauth == 'email') {
          //    if (!empty($CFG->auth_instructions)) {
           //       echo format_text($CFG->auth_instructions);
           //   } else {
           //       print_string("loginsteps", "", "signup.php");
           //   } ?>
                 <div class="signupform">
                   <form action="signup.php" method="get" id="signup">
                   <div><input type="submit" value="<?php print_string("startsignup") ?>" /></div>
                   </form>
                 </div>
<?php    // } else if (!empty($CFG->registerauth)) {
          //    echo format_text($CFG->auth_instructions); ?>
              <div class="signupform">
                <form action="signup.php" method="get" id="signup">
                <div><input type="submit" value="<?php print_string("startsignup") ?>" /></div>
                </form>
              </div>
<?php     //} else {
          //    echo format_text($CFG->auth_instructions);
          //} ?>
      </div>-->
	  
	  <!---Ankita code--->
	  
	  <form name="signupform">
          <div class="signUpform" style="margin-top:2%;">
            <div id="form-label"><label for="firstname">First name</label></div>
            <div id="form-input">
              <input type="text" name="firstname" id="firstname" size="15"  style="height: 20px !important; width: 178px !important; margin-left: -17%;"/>
            </div>
            <div class="clearer"><!-- --></div>
            <div id="form-label"><label for="lastname">Last name</label></div>
            <div id="form-input">
           <input type="text" name="lastname" id="lastname" size="15"  style="height: 20px !important; width:178px !important; margin-left: -17%;"/>
             </div>  
			 <div class="clearer"><!-- --></div>
            <div id="form-label"><label for="username">Username</label></div>
            <div id="form-input">
           <input type="text" name="username" id="regusername" size="15"  style="height: 20px !important; width:178px !important; margin-left: -17%;"/>
             </div> 
			 <div class="clearer"><!-- --></div>
            <div id="form-label"><label for="password">Password</label></div>
            <div id="form-input">
           <input type="password" name="password" id="regpassword" size="15"  style="height: 20px !important; width:178px !important; margin-left: -17%;"/>
             </div> 
			 
			 <div class="clearer"><!-- --></div>
            <div id="form-label"><label for="address">Email</label></div>
            <div id="form-input">
           <input type="email" name="email" id="email" size="15"  style="height: 20px !important; width:178px !important; margin-left: -17%;"/>
             </div> 
             
              <div class="clearer"><!-- --></div>
            <div id="form-label"><label for="address">Address</label></div>
            <div id="form-input">
           <input type="text" name="address" id="address" size="15"  style="height: 20px !important; width:178px !important; margin-left: -17%;"/>
             </div>  
			 
			 
			 <div class="clearer"><!-- --></div>
            <div id="form-label"><label for="address 2">Address 2</label></div>
            <div id="form-input">
           <input type="text" name="address2" id="address2" size="15"  style="height: 20px !important; width:178px !important; margin-left: -17%;"/>
             </div>
             
             
            	  <div class="clearer"><!-- --></div>
            <div id="form-label"><label for="city">City</label></div>
            <div id="form-input">
           <input type="text" name="city" id="city" size="15"  style="height: 20px !important; width:178px !important; margin-left: -17%;"/>
             </div> 
			 
			 
			 <div class="clearer"><!-- --></div>
            <div id="form-label"><label for="state">State</label></div>
            <div id="form-input">
           
          <select name="state" id="state"   style="height: 27px !important; width:183px !important; margin-left: -17%;">
           <option value="AL">Alabama</option>
<option value="AK">Alaska</option>
<option value="AZ">Arizona</option>
<option value="AR">Arkansas</option>
<option value="CA">California</option>
<option value="CO">Colorado</option>
<option value="CT">Connecticut</option>
<option value="DE">Delaware</option>
<option value="FL">Florida</option>
<option value="GA">Georgia</option>
<option value="HI">Hawaii</option>
<option value="ID">Idaho</option>
<option value="IL">Illinois</option>
<option value="IN">Indiana</option>
<option value="IA">Iowa</option>
<option value="KS">Kansas</option>
<option value="KY">Kentucky</option>
<option value="LA">Louisiana</option>
<option value="ME">Maine</option>
<option value="MD">Maryland</option>
<option value="MA">Massachusetts</option>
<option value="MI">Michigan</option>
<option value="MN">Minnesota</option>
<option value="MS">Mississippi</option>
<option value="MO">Missouri</option>
<option value="MT">Montana</option>
<option value="NE">Nebraska</option>
<option value="NV">Nevada</option>
<option value="NH">New Hampshire</option>
<option value="NJ">New Jersey</option>
<option value="NM">New Mexico</option>
<option value="NY">New York</option>
<option value="NC">North Carolina</option>
<option value="ND">North Dakota</option>
<option value="OH">Ohio</option>
<option value="OK">Oklahoma</option>
<option value="OR">Oregon</option>
<option value="PA">Pennsylvania</option>
<option value="RI">Rhode Island</option>
<option value="SC">South Carolina</option>
<option value="SD">South Dakota</option>
<option value="TN">Tennessee</option>
<option value="TX">Texas</option>
<option value="UT">Utah</option>
<option value="VT">Vermont</option>
<option value="VA">Virginia</option>
<option value="WA">Washington</option>
<option value="WV">West Virginia</option>
<option value="WI">Wisconsin</option>
<option value="WY">Wyoming</option>
</select>

           
    </div> 
			 
			 <div class="clearer"><!-- --></div>
            <div id="form-label"><label for="zip">Zip</label></div>
            <div id="form-input">
           <input type="text" name="zip" id="zip" size="15"  style="height: 20px !important; width:178px !important; margin-left: -17%;"/>
             </div> 
			 
			 <div class="clearer"><!-- --></div>
            <div id="form-label"><label for="phone">Phone</label></div>
            <div id="form-input">
           <input type="phone" name="phone" id="phone" size="15"  style="height: 20px !important; width:178px !important; margin-left: -17%;"  placeholder="xxx-xxx-xxxx" onclick='javascript: this.value = ""'/>
             </div> 
		
		<div id="form-text"><input type="checkbox" name="checkbox1" value="I agree. I have read the Membership Agreement and Privacy Policy"> I agree. I have read the <a href="#" style="font-size:13px;">Membership Agreement and Privacy Policy.</a>
          </div>	  
			  
	 <input type="image" src="http://gricourse.com/louisiana/theme/formal_white/pix/register.png" id="registerbtn" style="float: right; margin-right: 3%; margin-top: 3%;" onclick="return validateform();"/>
	  </div>
          </div>
		  </form>
	  
	  <!---Ankita code--->
    </div>
<?php } ?>
<?php if (!empty($potentialidps)) { ?>
    <div class="subcontent potentialidps">
        <h6><?php print_string('potentialidps', 'auth'); ?></h6>
        <div class="potentialidplist">
<?php foreach ($potentialidps as $idp) {
    echo  '<div class="potentialidp"><a href="' . $idp['url']->out() . '" title="' . $idp['name'] . '">' . $OUTPUT->render($idp['icon'], $idp['name']) . $idp['name'] . '</a></div>';
} ?>
        </div>
    </div>
<?php } ?>
</div>
