| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122 |
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="utf-8">
- <title>OpenShop - Backend Login</title>
- <meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport'>
- <!-- Bootstrap 3.3.2 -->
- <link href="<?php echo BASE_URL; ?>static/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
- <!-- Font Awesome Icons -->
- <link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css" rel="stylesheet" type="text/css" />
- <!-- Theme style -->
- <link href="<?php echo BASE_URL; ?>static/dist/css/AdminLTE.min.css" rel="stylesheet" type="text/css" />
- <!-- iCheck -->
- <link href="<?php echo BASE_URL; ?>static/plugins/iCheck/square/blue.css" rel="stylesheet" type="text/css" />
-
- <link href="<?php echo BASE_URL; ?>static/css/admin.css" rel="stylesheet" type="text/css" />
- <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
- <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
- <!--[if lt IE 9]>
- <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
- <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
- <![endif]-->
- </head>
- <body class="login-page">
- <div class="login-box">
- <div class="login-logo">
- <!--<img src="/images/BUDS_logo-p-500.png" alt="<?=admin_utils::getSiteName('KREATIN')?>" style="width: 100%;"><br>-->
- <a href="/admin/login"><b>ADMIN</b> <?=lang::_('LOGIN')?></a>
- </div><!-- /.login-logo -->
- <div class="login-box-body">
- <p class="login-box-msg"><?=lang::_('Sign in to start your session');?></p>
- <?php if ($login_error==true) : ?>
- <div class="alert alert-danger alert-dismissable">
- <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
- <h4><i class="icon fa fa-ban"></i> <?=lang::_('Authentication failed')?></h4>
- <?=lang::_('Please check username and password')?>
- </div>
- <?php endif; ?>
- <form id="logmein" action="/admin/login/logmein" method="post">
- <div class="form-group has-feedback">
- <input type="text" name="email" data-validate="true" value="<?=$kreatin_username?>" class="form-control" placeholder="<?=lang::_('Email or username');?>"/>
- <span class="glyphicon glyphicon-user form-control-feedback"></span>
- </div>
- <div class="form-group has-feedback">
- <input type="password" name="pass" data-validate="true" value="<?=$kreatin_password?>" class="form-control" placeholder="<?=lang::_('Password');?>"/>
- <span class="glyphicon glyphicon-lock form-control-feedback"></span>
- </div>
- <div class="row">
- <!--<div class="col-xs-8">
- <div class="checkbox icheck">
- <label>
- <input type="checkbox" name="remember"<?=$remember?> value="rememberme"> <?=lang::_('Remember Me');?>
- </label>
- </div>
- </div>--><!-- /.col -->
- <div class="col-xs-4">
- <button type="button" onclick="validateForm('#logmein',null,null)" class="btn btn-primary btn-block btn-flat"><?=lang::_('Sign In');?></button>
- </div><!-- /.col -->
- </div>
- </form>
-
- <!-- <a href="#" onclick="forgotpass()"><?=lang::_('I forgot my password');?></a><br>-->
-
- <?php if ($forgotview==false) : ?>
- <form id="forgotFRM" class="hideme" action="/admin/forgot/send" method="post">
- <?php else : ?>
- <form id="forgotFRM" action="/admin/forgot/send" method="post">
- <?php endif; ?>
-
- <?php if ($reminder_error==true) : ?>
- <div class="alert alert-danger alert-dismissable">
- <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
- <h4><i class="icon fa fa-ban"></i> <?=lang::_('Error')?></h4>
- <?=lang::_('This email not assigned to any active user')?>
- </div>
- <?php endif; ?>
-
- <?php if ($reminder_message==true) : ?>
- <div class="alert alert-success alert-dismissable">
- <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
- <h4><i class="icon fa fa-check"></i> <?=lang::_('Reminder sent')?></h4>
- <?=lang::_('All right, You will get an email soon')?>
- </div>
- <?php endif; ?>
-
- <div class="form-group has-feedback">
- <input type="text" name="email" data-validate="true" class="form-control" placeholder="<?=lang::_('Your email or username');?>"/>
- <span class="glyphicon glyphicon-cog form-control-feedback"></span>
- </div>
- <div class="row">
- <div class="col-xs-8">
- <div class="checkbox icheck"></div>
- </div><!-- /.col -->
- <div class="col-xs-4">
- <button type="button" onclick="validateForm('#forgotFRM',null,null)" class="btn btn-primary btn-block btn-flat"><?=lang::_('Send it');?></button>
- </div><!-- /.col -->
- </div>
- </form>
- </div><!-- /.login-box-body -->
- </div><!-- /.login-box -->
- <!-- jQuery 2.1.3 -->
- <script src="<?php echo BASE_URL; ?>static/plugins/jQuery/jQuery-2.1.3.min.js"></script>
- <!-- Bootstrap 3.3.2 JS -->
- <script src="<?php echo BASE_URL; ?>static/bootstrap/js/bootstrap.min.js" type="text/javascript"></script>
- <!-- iCheck -->
- <script src="<?php echo BASE_URL; ?>static/plugins/iCheck/icheck.min.js" type="text/javascript"></script>
- <script>
- $(function () {
- $('input').iCheck({
- checkboxClass: 'icheckbox_square-blue',
- radioClass: 'iradio_square-blue',
- increaseArea: '20%' // optional
- });
- });
- </script>
-
- <script src="<?php echo BASE_URL; ?>static/js/admin_functions.js"></script>
- </body>
- </html>
|