Aw: ERROR LOGIN AND NEW USERS
::::this is my code - login.php ::::::::::
<div class="jshop">
<h1><?php print _JSHOP_LOGIN ?></h1>
<?php if ($this->config->shop_user_guest && $this->show_pay_without_reg) {?>
<span class="text_pay_without_reg"><?php print _JSHOP_ORDER_WITHOUT_REGISTER_CLICK?> <a href="<?php print SEFLink('index.php?option=com_jshopping&controller=checkout&task=step2',1,0, $this->config->use_ssl);?>"><?php print _JSHOP_HERE?></a></span>
<?php } ?>
<table width="100%">
<tr>
<td width="50%" valign="top" class="login_block">
<form method = "post" action = "<?php print SEFLink('index.php?option=com_jshopping&controller=user&task=loginsave', 0,0, $this->config->use_ssl)?>" name = "jlogin">
<fieldset>
<legend><?php print _JSHOP_HAVE_ACCOUNT ?></legend>
<span><?php print _JSHOP_PL_LOGIN ?></span>
<table style="margin-top:3px;">
<tr>
<td><?php print _JSHOP_USERNAME ?>: </td>
<td><input type = "text" name = "username" value = "" class = "inputbox" /></td>
</tr>
<tr>
<td><?php print _JSHOP_PASSWORT ?>: </td>
<td><input type = "password" name = "passwd" value = "" class = "inputbox" /></td>
</tr>
<tr>
<td colspan="2">
<label style="width:auto; margin-left:80px" for = "remember_me"><?php print _JSHOP_REMEMBER_ME ?></label><input type = "checkbox" name = "remember" id = "remember_me" value = "yes" />
</td>
</tr>
<tr>
<td colspan="2">
<input type="submit" class="button" value="<?php print _JSHOP_LOGIN ?>" /><br /> <br />
<a href = "<?php print $this->href_lost_pass ?>"><?php print _JSHOP_LOST_PASSWORD ?></a>
</td>
</tr>
</table>
<input type = "hidden" name = "return" value = "<?php print $this->return ?>" />
<input type = "hidden" name = "Itemid" value = "<?php print $this->Itemid ?>" />
<input type = "hidden" name = "<?php print $this->validate ?>" value = "1" />
</fieldset>
</form>
</td>
<td width="50%" valign="top" class="register_block">
<span class="small_header"><?php print _JSHOP_HAVE_NOT_ACCOUNT ?></span>
<span><?php print _JSHOP_REGISTER ?></span>
<?php if (!$this->config->show_registerform_in_logintemplate){?>
<div style="padding-top:3px;"><input type="button" class="button" value="<?php print _JSHOP_REGISTRATION ?>" onclick="location.href='<?php print $this->href_register ?>';" /></div>
<?php }else{?>
<?php $hideheaderh1 = 1; include(dirname(__FILE__)."/register.php"); ?>
<?php }?>
</td>
</tr>
</table>
</div>
Last change: 24.10.2014 14:50