| Server IP : 162.214.74.102 / Your IP : 216.73.216.36 Web Server : Apache System : Linux dedi-4363141.lrsys.com.br 3.10.0-1160.119.1.el7.tuxcare.els25.x86_64 #1 SMP Wed Oct 1 17:37:27 UTC 2025 x86_64 User : lrsys ( 1015) PHP Version : 5.6.40 Disable Function : exec,passthru,shell_exec,system MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/lrsys/public_html/lrsys_projetos/sopizzas/application/views/frontend/ |
Upload File : |
<div class="for-fixed"></div>
<section id="cos-login">
<div class="container">
<div class="row cos-reg">
<div class="col-md-12 col-sm-12 col-xs-12">
<div class="col-md-6">
<h3 class="text-center"><?php echo $this->lang->line('Customer_Login');?></h3>
<p class="text-center clp"><?php echo $this->lang->line('Login_To_Place_Your_Order');?></p>
<?php if($this->session->userdata('success_msg')) { ?>
<div class="alert alert-info text-center">
<a href="#" class="close" data-dismiss="alert" aria-label="close">×</a>
<strong><?php echo $this->session->userdata('success_msg'); $this->session->unset_userdata('success_msg'); ?></strong>
</div>
<?php } ?>
<?php if($this->session->flashdata('success_msg')) { ?>
<div class="alert alert-info text-center">
<a href="#" class="close" data-dismiss="alert" aria-label="close">×</a>
<strong><?php echo $this->session->flashdata('success_msg'); ?></strong>
</div>
<?php } ?>
<?php if($this->session->flashdata('error_msg')) { ?>
<div class="alert alert-danger text-center">
<a href="#" class="close" data-dismiss="alert" aria-label="close">×</a>
<strong><?php echo $this->session->flashdata('error_msg'); ?></strong>
</div>
<?php } ?>
<?php if(validation_errors() != FALSE) { ?>
<div class="alert alert-danger text-center">
<a href="#" class="close" data-dismiss="alert" aria-label="close">×</a>
<strong><?php echo validation_errors(); ?></strong>
</div>
<?php } ?>
<?php $validator = array('role' => 'form', 'data-toggle' => 'validator'); echo form_open('verifylogin_customer', $validator); ?>
<input type="hidden" name="requestPage" value="<?=set_value('requestPage', $requestPage);?>">
<div class="input-group form-group">
<span class="input-group-btn">
<button class="btn btn-secondary btn-icon" type="button"><i class="fa fa-user" aria-hidden="true"></i></button>
</span>
<input type="email" name="username" id="username" class="form-control bod-form" value="<?php echo set_value('username', $username); ?>" required placeholder="<?php echo $this->lang->line('Email');?>">
</div>
<div class="input-group form-group">
<span class="input-group-btn">
<button class="btn btn-secondary btn-icon" type="button"><i class="fa fa-lock" aria-hidden="true"></i></button>
</span>
<input name="password" required id="password" type="password" value="<?php echo $password; ?>" class="form-control bod-form" placeholder="<?php echo $this->lang->line('Password');?>">
</div>
<div class="form-group push--bottom">
<input type="checkbox" name="rememberme" id="checkbox-rememberme" class="hidden" <?php echo $ischecked; ?> />
<label class="checkbox" for="checkbox-rememberme">
<?php echo $this->lang->line('Remember_Me');?>
</label>
<span class="rememberme-forgetpassword-separator"></span>
<a href="javascript:void(0);" class="forgot-password" onclick="openCustomerForgotPass()">
<?php echo $this->lang->line('Forgot_Password');?>
</a>
</div>
<div class="form-group push--bottom">
<?php echo $this->lang->line('Dont_have_an_account');?> <a href="<?=base_url().'frontend/register'?>"><?php echo $this->lang->line('Sign_Up');?></a>
</div>
<div class="col-md-12 custom-padding-0">
<button type="submit" class="btn cos-mh-btn nxt-btn"><?php echo $this->lang->line('Login');?></button>
</div>
</form>
<div class="clearfix"></div>
<p class="selze"><?php echo $this->lang->line('By_logging');?> <a href="<?=base_url();?>terms"><?php echo $this->lang->line('Terms_Of_Use');?></a> <?php echo $this->lang->line('and');?> <a href="<?=base_url();?>privacy-policy"><?php echo $this->lang->line('Privacy_Policy');?></a></p>
<?php
if ($requestPage != 'checkout') {
?>
<!-- p class="a-user">Are you Restaurant Owner? <a href="<?=base_url();?>restaurant-admin-register">Login here</a> </p>
<p class="a-user">Are you Driver? <a href="<?=base_url();?>apply-driver-online">Login here</a> </p -->
<?php
}
?>
</div>
<div class="col-md-6">
<div class="col-md-12 text-center">
<img src="<?php echo base_url(); ?>assets/img/front-end/create-account.png">
</div>
<?php
if (!isset($requestPage)) {
$requestPage = '';
}
if ($requestPage == 'checkout' || set_value('requestPage') == 'checkout') {
?>
<h3 class="text-center"><?php echo $this->lang->line('Guest_Checkout');?></h3>
<div class="col-md-12 custom-padding-0 text-center">
<button type="button" onclick="window.location.href = '<?php echo base_url();?>createorderfrontend/showCheckout'" class="btn cos-mh-btn nxt-btn"><?php echo $this->lang->line('Checkout');?></button>
</div>
<div class="clearfix"></div>
<?php
}
else {
?>
<h3 class="text-center"><?php echo $this->lang->line('Create_New_Account');?></h3>
<div class="col-md-12 custom-padding-0 text-center">
<button type="button" onclick="window.location.href = '<?php echo base_url();?>frontend/register'" class="btn cos-mh-btn nxt-btn"><?php echo $this->lang->line('Sign_Up');?></button>
</div>
<div class="clearfix"></div>
<p class="text-center selze"><?php echo $this->lang->line('ViewPast');?></p>
<?php
}
?>
<div class="clearfix"></div>
<!-- <div id="facebook" class="algn-cntr"> -->
<div class="algn-cntr facebookLoginButton">
<a href="javascript:void(0)"><img src="<?php echo base_url(); ?>assets/img/front-end/facebook-login.png" alt="Facebook Login" title="Facebook Login" class="lgnwthothr"></a>
</div>
<?php
//$ses_user=$this->session->userdata('User');
//echo '<img src="https://graph.facebook.com/'. $ses_user['id'] .'/picture" width="30" height="30"/><div>'.$ses_user['name'].'</div>';
// echo '<a href="'.$this->session->userdata('logout').'">Logout</a>';
?>
</div>
</div>
</div>
</div>
</section>
<div class="clearfix"></div>
<!-- <?php $base_url=$this->config->item('base_url'); ?>
<script type="text/javascript">
window.fbAsyncInit = function() {
//Initiallize the facebook using the facebook javascript sdk
FB.init({
appId:'<?php echo $this->config->item('appID'); ?>', // App ID
cookie:true, // enable cookies to allow the server to access the session
status:true, // check login status
xfbml:true, // parse XFBML
oauth : true //enable Oauth
});
};
//Read the baseurl from the config.php file
(function(d){
var js, id = 'facebook-jssdk', ref = d.getElementsByTagName('script')[0];
if (d.getElementById(id)) {return;}
js = d.createElement('script'); js.id = id; js.async = true;
js.src = "//connect.facebook.net/en_US/all.js";
ref.parentNode.insertBefore(js, ref);
}(document));
//Onclick for fb login
$('#facebook').click(function(e) {
FB.login(function(response) {
if(response.authResponse) {
parent.location ='<?php echo $base_url; ?>frontend/fblogin'; //redirect uri after closing the facebook popup
}
},{scope: 'email'}); //permissions for facebook
});
</script> -->