Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Dihfahsih1 committed Oct 22, 2018
0 parents commit d4aed28
Show file tree
Hide file tree
Showing 114 changed files with 14,462 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Auto detect text files and perform LF normalization
* text=auto
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# eazi_cakes
95 changes: 95 additions & 0 deletions about-us.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
<?php
session_start();

if (!isset($_SESSION['username'])){
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<meta name="author" content="">
<link href="images/logo.jpg" rel="shortcut icon">
<title>eazi cakes</title>

<!-- core CSS -->
<link href="css/bootstrap.css" rel="stylesheet">
<link href="css/bootstrap.min.css" rel="stylesheet">
<link href="css/font-awesome.min.css" rel="stylesheet">
<link href="css/animate.min.css" rel="stylesheet">
<link href="css/prettyPhoto.css" rel="stylesheet">
<link href="css/main.css" rel="stylesheet">
<link href="css/responsive.css" rel="stylesheet">

</head><!--/head-->

<!--*********************************************START OF NAVIGATION BAR****************************************-->
<body>

<nav class="navbar navbar-inverse" role="banner">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a href="index.php"><h4 class="wow fadeInDown" style="margin-top:20px; color:#FFF;"><img src="images/logo.jpg" width="15% "/> Sweet and Healthy Cakes</h4></a>
</div>

<div class="collapse navbar-collapse navbar-right wow fadeInDown">
<ul class="nav navbar-nav">
<li><a href="index.php"><i class="fa fa-home"></i>Home</a></li>
<li class="active" ><a href="about-us.php">About Us</a></li>
<li ><a href="available.php">Availables</a></li>
<li><a href="contacts.php">Contacts</a></li>

</ul>
</div>
</div><!--/.container-->
</nav><!--/nav-->
<section id="contact-info">
<div class="center wow fadeInDown">
<h2>Mission</h2>
<p class="lead">We are truted fresh food partner and local provider of ready eat food program. This associated order and bussiness information,food consulting, and local controlled logistics. Food Ordering system provide best in class food service enterprise since its founding in 2015.</p>
</div>
<div class="center wow fadeInDown">
<h2>Vision</h2>
<p class="lead">To be premier company thats meets and eceeds the demands of today's lifestyles by providing ready, convenient, innovative and healthy food products to multi-location requester nationally while adhering to our core values </p>

</div>
<div class="center wow fadeInDown">
<h2>Core Values</h2>
<p class="lead">Christ-centered<br>Passionate for result<br>Enterprenuetal Spirit<br>Committed to the organization<br>Growth oriented</p>

</div>

<div class="center wow fadeInDown">
<h2>FoodOrderingSystem Profile</h2>
<p class="lead">FoodOrderingSystem (FOS) Services aim to provide excellent quality service to client ensuring customer satisfaction through a service with value and personalization performed by a highly knowledgeable and experienced professional. My concentration shall and always will be to assist the clients in achieving their dream of a perfect food eating while maintaining my ideas and integrity in the line of customer.</p>
</div>
</section>

<!--*************************************************** FOOTERS **********************************************-->

<?php include('includes/footer.php');?>

<?php include('loginModal.php');?>
<script src="js/jquery.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/jquery.prettyPhoto.js"></script>
<script src="js/jquery.isotope.min.js"></script>
<script src="js/main.js"></script>
<script src="js/wow.min.js"></script>
</body>
</html>

<?php

} else if(isset($_SESSION['username'])) {

include('includes/admin.php');

} ?>
78 changes: 78 additions & 0 deletions addcnp.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<meta name="author" content="">
<link href="images/foods/logo.png" rel="shortcut icon">
<title>ADMIN | CAKES ORDERING SYSTEM</title>

<!-- core CSS -->
<link href="css/bootstrap.css" rel="stylesheet">
<link href="css/bootstrap.min.css" rel="stylesheet">
<link href="css/font-awesome.min.css" rel="stylesheet">
<link href="css/animate.min.css" rel="stylesheet">
<link href="css/prettyPhoto.css" rel="stylesheet">
<link href="css/main.css" rel="stylesheet">
<link href="css/responsive.css" rel="stylesheet">

</head><!--/head-->
<body>
<nav class="navbar navbar-inverse" role="banner">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a href="index.php"><img src="images/logo.jpg" width="35% " /><i class="wow fadeInDown" style="margin-top:-2%; color:#FFF;"></i></a>
</div>

<div class="collapse navbar-collapse navbar-right">
<ul class="nav navbar-nav">
<li class="dropdown active"><a class="dropdown-toggle wow fadeInDown" data-toggle="dropdown" href="#"><span class="glyphicon glyphicon-th"></span> Cakes Module<span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a href="addcnp.php"> Add Cakes </a></li>
<li><a href="update_cnp.php"> Update Cakes </a></li>
</ul>
</li>
<li id="reservation" class="wow fadeInDown"><a href="index.php"><span class="glyphicon glyphicon-calendar"></span> Orders</a></li>
<li id="admin" class="wow fadeInDown"><a href="adminacc.php"><span class="glyphicon glyphicon-user"></span> Admin Account</a></li>
<li id="logout" class="wow fadeInDown"><a id="logoutbtn" href='<?php echo "logout_process.php?logout=1"?>'><span class="glyphicon glyphicon-share"></span> Logout</a></li>
</ul>
</div>
</div><!--/.container-->
</nav><!--/nav-->
<br>

<?php
include('includes/availablepackage.php');

?>

<br>
<!--*************************************************** FOOTERS **********************************************-->

<footer id="footer" class="midnight-blue">
<div class="container">
<div class="row">
<div class="col-sm-12">
<center>&copy; 2018 eazi cakes. All Rights Reserved.</center>
</div>
</div>
</div>
</footer><!--/#footer-->

</script>

<script src="js/jquery.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/jquery.prettyPhoto.js"></script>
<script src="js/jquery.isotope.min.js"></script>
<script src="js/main.js"></script>
<script src="js/wow.min.js"></script>
</body>
</html>
7 changes: 7 additions & 0 deletions admin_reject_completed.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?php
include('includes/dbconn.php');
$id = $_GET['id'];
$sql = ("DELETE FROM tblorders where id = '$id'") or die (mysqli_error());
$result=mysqli_query($con, $sql);
header("location:index.php");
?>
22 changes: 22 additions & 0 deletions admin_reservefilter.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@

<?php include('includes/dbconn.php');
$stat = $_POST['filter'];
$sql= ("SELECT tblcnp.*,tblorders.*
FROM tblorders LEFT JOIN
tblcnp ON tblorders.cnpoid = tblcnp.id WHERE tblorders.ostatus = '$stat' order by tblorders.id LIMIT 0,30") or die (mysqli_error());
$result=mysqli_query($con, $sql);
if(mysqli_num_rows($result)>0){
while($row = mysqli_fetch_assoc($result)){?>
<tr class="success" style="cursor:pointer;">
<td style="text-align:center;"><a href="admin_reject_completed.php?id=<?php echo $row['id']?>" class="btn btn-default"><i class="glyphicon glyphicon-trash"></i> Delete</a></td>
<td style="text-align:center;"><?php echo $row['cname'];?></td>
<td style="text-align:center;"><?php echo $row['name'];?></td>
<td style="text-align:center;"><?php echo $row['address'];?></td>
<td style="text-align:center;"><?php echo $row['contact'];?></td>
<td style="text-align:center;"><?php echo $row['timestamp'];?></td>


</tr>

<?php }}else {echo'<strong style="color:red">No '.$stat.' record from database</strong>';}?>

Loading

0 comments on commit d4aed28

Please sign in to comment.