Exemplo n.º 1
0
<?php 
?>
<!-- body -->




<!-- container -->
<div class="left" > 
<div class="leftProducts">
<div style="padding:5px">
<?php 
if (user_login_check($mysqli) == true) {
    include 'users/mycart.php';
} else {
    if (admin_login_check($mysqli)) {
    } else {
        echo "you need to login to view your cart!";
        ?>
 <div class="login-body">

 <form action="<?php 
        echo site_name;
        ?>
/users/includes/process_login.php" method="post" name="login_form">                      
       <input type="text" name="email" /> :Email </br>
       <input type="password"  name="password" id="password"/> :Password </br>
       <input type="button" value="Login" class="send-form" onclick="formhash(this.form, this.form.password);" /> 
 </form>

Exemplo n.º 2
0
<!-- main header --!>
<?php 
?>

<?php 
include '../head.php';
include '../menu.php';
?>

<?php 
if (admin_login_check($mysqli) == false) {
    header("location: admin_login.php");
    exit;
}
?>


<h1>Store Admin Arena</h1>
<!-- body -->

<!-- latest clothes -->



<!-- container -->
<div class="left" > 
<div class="leftProducts">
    <div class="admin_index">
        
<p style="background-color:#E9E9E9">Welcome to your store <?php 
Exemplo n.º 3
0
<?php

include 'config/db_connect.php';
include 'classes/functions.php';
sec_session_start();
if (admin_login_check($mysqli) == true || user_login_check($mysqli) == true) {
    $logged = 'in';
} else {
    $logged = 'out';
}
?>
<!DOCTYPE html>
<html>
<head>
<title>wow clothes</title>

<link rel="stylesheet" type="text/css" href="<?php 
echo site_name;
?>
/css/style.css">
<link rel="stylesheet" type="text/css" href="<?php 
echo site_name;
?>
/css/slide.css">
<link rel="stylesheet" type="text/css" href="<?php 
echo site_name;
?>
/css/contact-form.css">
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<link href="<?php 
echo site_name;
Exemplo n.º 4
0
<?php

ob_start();
session_start();
include_once '../lib/functions.php';
include_once '../lib/db.php';
admin_login_check('0', 'admin');
?>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
    <link rel="shortcut icon" href="#" type="image/png">
    <title>Brain Master :: Admin</title>

    <!--icheck-->
    <link href="js/iCheck/skins/minimal/minimal.css" rel="stylesheet">
    <link href="js/iCheck/skins/square/square.css" rel="stylesheet">
    <link href="js/iCheck/skins/square/red.css" rel="stylesheet">
    <link href="js/iCheck/skins/square/blue.css" rel="stylesheet">

    <!--dashboard calendar-->
    <link href="css/clndr.css" rel="stylesheet">

    <!--Morris Chart CSS -->
    <link rel="stylesheet" href="js/morris-chart/morris.css">

    <!--common-->
    <link href="css/style.css" rel="stylesheet">
    <link href="css/style-responsive.css" rel="stylesheet">