mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-05-15 19:23:59 -04:00
~Tom git-svn-id: svn+ssh://jekkos@svn.code.sf.net/p/opensourcepos/code/@18 c3eb156b-1dc0-44e1-88ae-e38439141b53
62 lines
1.9 KiB
PHP
62 lines
1.9 KiB
PHP
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
|
<link rel="stylesheet" rev="stylesheet" href="<?php echo base_url();?>css/login.css" />
|
|
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
|
<title>Open Source Point Of Sale <?php echo $this->lang->line('login_login'); ?></title>
|
|
<script src="<?php echo base_url();?>js/jquery-1.2.6.min.js" type="text/javascript" language="javascript" charset="UTF-8"></script>
|
|
<script type="text/javascript">
|
|
$(document).ready(function()
|
|
{
|
|
$("#login_form input:first").focus();
|
|
});
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<h1>Open Source Point Of Sale 1.0</h1>
|
|
<?php
|
|
if ($_SERVER['HTTP_HOST'] == 'ospos.pappastech.com')
|
|
{
|
|
?>
|
|
<h2>Press login to continue</h2>
|
|
<?php
|
|
}
|
|
?>
|
|
<?php echo form_open('login') ?>
|
|
<div id="container">
|
|
<?php echo validation_errors(); ?>
|
|
<div id="top">
|
|
<?php echo $this->lang->line('login_login'); ?>
|
|
</div>
|
|
<div id="login_form">
|
|
<div id="welcome_message">
|
|
<?php echo $this->lang->line('login_welcome_message'); ?>
|
|
</div>
|
|
|
|
<div class="form_field_label"><?php echo $this->lang->line('login_username'); ?>: </div>
|
|
<div class="form_field">
|
|
<?php echo form_input(array(
|
|
'name'=>'username',
|
|
'value'=> $_SERVER['HTTP_HOST'] == 'ospos.pappastech.com' ? 'admin' : '',
|
|
'size'=>'20')); ?>
|
|
</div>
|
|
|
|
<div class="form_field_label"><?php echo $this->lang->line('login_password'); ?>: </div>
|
|
<div class="form_field">
|
|
<?php echo form_password(array(
|
|
'name'=>'password',
|
|
'value'=>$_SERVER['HTTP_HOST'] == 'ospos.pappastech.com' ? 'pointofsale' : '',
|
|
'size'=>'20')); ?>
|
|
|
|
</div>
|
|
|
|
<div id="submit_button">
|
|
<?php echo form_submit('loginButton','Go'); ?>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<?php echo form_close(); ?>
|
|
</body>
|
|
</html>
|