Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
nikhilkeshava authored Apr 12, 2021
1 parent 851633c commit 8e8a7f4
Show file tree
Hide file tree
Showing 9 changed files with 74 additions and 50 deletions.
64 changes: 32 additions & 32 deletions body.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

<div class="main mainn-raised">
<div class="container mainn-raised" style="width:100%;">
<div class="container mainn-raised" style="width:100%;height: 60vh;">

<div id="myCarousel" class="carousel slide" data-ride="carousel">
<!-- Indicators -->
Expand All @@ -10,25 +10,25 @@
<div class="carousel-inner">

<div class="item active">
<img src="img/banner3.jpg" alt="Los Angeles" style="width:100%;">
<img src="img/banner3.jpg" alt="Los Angeles" style="width:100%;height: 60vh;">

</div>

<div class="item">
<img src="img/banner2.jpg" style="width:100%;">
<img src="img/banner2.jpg" style="width:100%;height: 60vh;">

</div>

<div class="item">
<img src="img/banner4.jpg" alt="New York" style="width:100%;">
<img src="img/banner4.jpg" alt="New York" style="width:100%;height: 60vh;">

</div>
<div class="item">
<img src="img/banner1.jpg" alt="New York" style="width:100%;">
<img src="img/banner1.jpg" alt="New York" style="width:100%;height: 60vh;">

</div>
<div class="item">
<img src="img/banner3.jpg" alt="New York" style="width:100%;">
<img src="img/banner3.jpg" alt="New York" style="width:100%;height: 60vh;">

</div>

Expand Down Expand Up @@ -117,12 +117,12 @@
<!-- section title -->
<div class="col-md-12">
<div class="section-title">
<h3 class="title">New Products</h3>
<h3 class="title">New Arrival Products</h3>
<div class="section-nav">
<ul class="section-tab-nav tab-nav">
<li class="active"><a data-toggle="tab" href="#tab1">Laptops</a></li>
<li class="active"><a data-toggle="tab" href="#tab1">Camera</a></li>
<li><a data-toggle="tab" href="#tab1">Smartphones</a></li>
<li><a data-toggle="tab" href="#tab1">Cameras</a></li>
<li><a data-toggle="tab" href="#tab1">Mobile</a></li>
<li><a data-toggle="tab" href="#tab1">Accessories</a></li>
</ul>
</div>
Expand Down Expand Up @@ -172,7 +172,7 @@
<div class='product-body'>
<p class='product-category'>$cat_name</p>
<h3 class='product-name header-cart-item-name'><a href='product.php?p=$pro_id'>$pro_title</a></h3>
<h4 class='product-price header-cart-item-info'>RM $pro_price <del class='product-old-price'>RM $pro_dis</del></h4>
<h4 class='product-price header-cart-item-info'>Rs. $pro_price <del class='product-old-price'>Rs. $pro_dis</del></h4>
</div>
Expand Down Expand Up @@ -215,7 +215,7 @@
<ul class="hot-deal-countdown">
<li>
<div>
<h3>02</h3>
<h3>05</h3>
<span>Days</span>
</div>
</li>
Expand All @@ -227,7 +227,7 @@
</li>
<li>
<div>
<h3>34</h3>
<h3>40</h3>
<span>Mins</span>
</div>
</li>
Expand All @@ -239,8 +239,8 @@
</li>
</ul>
<h2 class="text-uppercase">hot deal this week</h2>
<p>New Collection Up to 50% OFF</p>
<a class="primary-btn cta-btn" href="store.php">Shop now</a>
<p>Save upto 50% OFF</p>
<a class="primary-btn cta-btn" href="store.php">Buy now</a>
</div>
</div>
</div>
Expand All @@ -261,7 +261,7 @@
<div class="row">
<div class="col-md-4 col-xs-6">
<div class="section-title">
<h4 class="title">Top selling</h4>
<h4 class="title">Top Mobile Product</h4>
<div class="section-nav">
<div id="slick-nav-3" class="products-slick-nav"></div>
</div>
Expand All @@ -284,7 +284,7 @@
<div class="product-body">
<p class="product-category">Category</p>
<h3 class="product-name"><a href="#">product name goes here</a></h3>
<h4 class="product-price">RM 970.00 <del class="product-old-price">RM 850 </del></h4>
<h4 class="product-price">Rs. 970.00 <del class="product-old-price">Rs. 850 </del></h4>
</div>
</div>
<!-- /product widget -->
Expand All @@ -297,7 +297,7 @@
<div class="product-body">
<p class="product-category">Category</p>
<h3 class="product-name"><a href="#">product name goes here</a></h3>
<h4 class="product-price">RM 980.00<del class="product-old-price">RM 990.00</del></h4>
<h4 class="product-price">Rs. 980.00<del class="product-old-price">Rs. 990.00</del></h4>
</div>
</div>
<!-- /product widget -->
Expand All @@ -310,7 +310,7 @@
<div class="product-body">
<p class="product-category">Category</p>
<h3 class="product-name"><a href="#">product name goes here</a></h3>
<h4 class="product-price">RM 980.00 <del class="product-old-price">RM 990.00</del></h4>
<h4 class="product-price">Rs. 980.00 <del class="product-old-price">Rs. 990.00</del></h4>
</div>
</div>
<!-- product widget -->
Expand All @@ -320,7 +320,7 @@

<div class="col-md-4 col-xs-6">
<div class="section-title">
<h4 class="title">Top selling</h4>
<h4 class="title">Top Laptop Product</h4>
<div class="section-nav">
<div id="slick-nav-4" class="products-slick-nav"></div>
</div>
Expand All @@ -336,7 +336,7 @@
<div class="product-body">
<p class="product-category">Category</p>
<h3 class="product-name"><a href="#">product name goes here</a></h3>
<h4 class="product-price">RM 990.00<del class="product-old-price">RM 990.00</del></h4>
<h4 class="product-price">Rs. 990.00<del class="product-old-price">Rs. 990.00</del></h4>
</div>
</div>
<!-- /product widget -->
Expand All @@ -349,7 +349,7 @@
<div class="product-body">
<p class="product-category">Category</p>
<h3 class="product-name"><a href="#">product name goes here</a></h3>
<h4 class="product-price">RM 990.00<del class="product-old-price">RM 990.00</del></h4>
<h4 class="product-price">Rs. 990.00<del class="product-old-price">Rs. 990.00</del></h4>
</div>
</div>
<!-- /product widget -->
Expand All @@ -362,7 +362,7 @@
<div class="product-body">
<p class="product-category">Category</p>
<h3 class="product-name"><a href="#">product name goes here</a></h3>
<h4 class="product-price">RM 990.00<del class="product-old-price">RM 990.00</del></h4>
<h4 class="product-price">Rs. 990.00<del class="product-old-price">Rs. 990.00</del></h4>
</div>
</div>
<!-- product widget -->
Expand All @@ -377,7 +377,7 @@
<div class="product-body">
<p class="product-category">Category</p>
<h3 class="product-name"><a href="#">product name goes here</a></h3>
<h4 class="product-price">RM 990.00<del class="product-old-price">RM 990.00</del></h4>
<h4 class="product-price">Rs. 990.00<del class="product-old-price">Rs. 990.00</del></h4>
</div>
</div>
<!-- /product widget -->
Expand All @@ -390,7 +390,7 @@
<div class="product-body">
<p class="product-category">Category</p>
<h3 class="product-name"><a href="#">product name goes here</a></h3>
<h4 class="product-price">RM 990.00<del class="product-old-price">RM 990.00</del></h4>
<h4 class="product-price">Rs. 990.00<del class="product-old-price">Rs. 990.00</del></h4>
</div>
</div>
<!-- /product widget -->
Expand All @@ -403,7 +403,7 @@
<div class="product-body">
<p class="product-category">Category</p>
<h3 class="product-name"><a href="#">product name goes here</a></h3>
<h4 class="product-price">RM 990.00<del class="product-old-price">RM 990.00</del></h4>
<h4 class="product-price">Rs. 990.00<del class="product-old-price">Rs. 990.00</del></h4>
</div>
</div>
<!-- product widget -->
Expand All @@ -417,7 +417,7 @@

<div class="col-md-4 col-xs-6">
<div class="section-title">
<h4 class="title">Top selling</h4>
<h4 class="title">Top Accessories Collection</h4>
<div class="section-nav">
<div id="slick-nav-5" class="products-slick-nav"></div>
</div>
Expand All @@ -433,7 +433,7 @@
<div class="product-body">
<p class="product-category">Category</p>
<h3 class="product-name"><a href="#">product name goes here</a></h3>
<h4 class="product-price">RM 990.00<del class="product-old-price">RM 990.00</del></h4>
<h4 class="product-price">Rs. 990.00<del class="product-old-price">Rs. 990.00</del></h4>
</div>
</div>
<!-- /product widget -->
Expand All @@ -446,7 +446,7 @@
<div class="product-body">
<p class="product-category">Category</p>
<h3 class="product-name"><a href="#">product name goes here</a></h3>
<h4 class="product-price">RM 990.00<del class="product-old-price">RM 990.00</del></h4>
<h4 class="product-price">Rs. 990.00<del class="product-old-price">Rs. 990.00</del></h4>
</div>
</div>
<!-- /product widget -->
Expand All @@ -459,7 +459,7 @@
<div class="product-body">
<p class="product-category">Category</p>
<h3 class="product-name"><a href="#">product name goes here</a></h3>
<h4 class="product-price">RM 990.00<del class="product-old-price">RM 990.00</del></h4>
<h4 class="product-price">Rs. 990.00<del class="product-old-price">Rs. 990.00</del></h4>
</div>
</div>
<!-- product widget -->
Expand All @@ -474,7 +474,7 @@
<div class="product-body">
<p class="product-category">Category</p>
<h3 class="product-name"><a href="#">product name goes here</a></h3>
<h4 class="product-price">RM 990.00<del class="product-old-price">RM 990.00</del></h4>
<h4 class="product-price">Rs. 990.00<del class="product-old-price">Rs. 990.00</del></h4>
</div>
</div>
<!-- /product widget -->
Expand All @@ -488,7 +488,7 @@
<div class="product-body">
<p class="product-category">Category</p>
<h3 class="product-name"><a href="#">product name goes here</a></h3>
<h4 class="product-price">RM 990.00<del class="product-old-price">RM 990.00</del></h4>
<h4 class="product-price">Rs. 990.00<del class="product-old-price">Rs. 990.00</del></h4>
</div>
</div>
<!-- /product widget -->
Expand All @@ -501,7 +501,7 @@
<div class="product-body">
<p class="product-category">Category</p>
<h3 class="product-name"><a href="#">product name goes here</a></h3>
<h4 class="product-price">RM 990.00<del class="product-old-price">RM 990.00</del></h4>
<h4 class="product-price">Rs. 990.00<del class="product-old-price">Rs. 990.00</del></h4>
</div>
</div>
<!-- product widget -->
Expand Down
6 changes: 3 additions & 3 deletions checkout.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
}

.checkout-btn {
background-color: #4CAF50;
background-color: #00bcd4;
color: white;
padding: 12px;
margin: 10px 0;
Expand Down Expand Up @@ -252,7 +252,7 @@

echo "
<tr><td><p>$item_number_</p></td><td><p>$item_name_</p></td><td ><p>$quantity_</p></td><td ><p>RM $amount_</p></td></tr>";
<tr><td><p>$item_number_</p></td><td><p>$item_name_</p></td><td ><p>$quantity_</p></td><td ><p>Rs. $amount_</p></td></tr>";

$i++;
}
Expand All @@ -263,7 +263,7 @@
</table>
<hr>
<h3>total<span class='price' style='color:black'><b>RM $total</b></span></h3>";
<h3>total<span class='price' style='color:black'><b>Rs. $total</b></span></h3>";

}
?>
Expand Down
17 changes: 17 additions & 0 deletions db.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?php

$servername = "localhost";
$username = "root";
$password = "";
$db = "onlineshop";

// Create connection
$con = mysqli_connect($servername, $username, $password,$db);

// Check connection
if (!$con) {
die("Connection failed: " . mysqli_connect_error());
}


?>
10 changes: 5 additions & 5 deletions footer.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,19 @@
<div class="col-md-3 col-xs-6">
<div class="footer">
<h3 class="footer-title">About Us</h3>
<p>This is project based on the online shopping</p>
<p>This is the project build on php and mysql and also used ajex for business logic and frontend logic visit our website for more projects </p>
<ul class="footer-links">
<li><a href="#"><i class="fa fa-map-marker"></i>place</a></li>
<li><a href="#"><i class="fa fa-phone"></i>+91-999999999</a></li>
<li><a href="#"><i class="fa fa-envelope-o"></i>demo@gmail.com</a></li>
<li><a href="#"><i class="fa fa-map-marker"></i>Mysore</a></li>
<li><a href="#"><i class="fa fa-phone"></i>+91-9964713807</a></li>
<li><a href="#"><i class="fa fa-envelope-o"></i>nikhilkeshav76@gmail.com</a></li>
</ul>
</div>
</div>
<div class="col-md-6 text-center" style="margin-top:80px;">
<span class="copyright">
<!-- Link back to Colorlib can't be removed. Template is licensed under CC BY 3.0. -->
Copyright &copy;<script>document.write(new Date().getFullYear());</script> All rights reserved |made with <i class="fa fa-heart-o" aria-hidden="true"></i> by <a href="#" target="_blank" style="color: #fff;">Jeyapratha Puspanathan</a>
Copyright &copy;<script>document.write(new Date().getFullYear());</script> All rights reserved |made with <i class="fa fa-heart-o" aria-hidden="true"></i> by <a href="#" target="_blank" style="color: #fff;">notes4free.in</a>
<!-- Link back to Colorlib can't be removed. Template is licensed under CC BY 3.0. -->
</span>
</div>
Expand Down
15 changes: 8 additions & 7 deletions header.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,9 @@
<div id="top-header">
<div class="container">
<ul class="header-links pull-left">
<li><a href="#"><i class="fa fa-phone"></i> +91-917152</a></li>
<li><a href="#"><i class="fa fa-envelope-o"></i>demo@gmail.com</a></li>
<li><a href="#"><i class="fa fa-map-marker"></i>cityname</a></li>
<li><a href="#"><i class="fa fa-phone"></i> +91-9964716807</a></li>
<li><a href="#"><i class="fa fa-envelope-o"></i>nikhilkeshav76@gmail.com</a></li>
<li><a href="#"><i class="fa fa-map-marker"></i>Mysore</a></li>
</ul>

</div>
Expand Down Expand Up @@ -127,7 +127,7 @@

</select>
<input class="input" id="search" type="text" placeholder="Search here">
<button type="submit" id="search_btn" class="search-btn" style="background: #d10024;
<button type="submit" id="search_btn" class="search-btn" style="background: #00bcd4;
color: #fff;">Search</button>
</form>
</div>
Expand Down Expand Up @@ -161,7 +161,8 @@
<!-- /Cart -->
<ul class="header-links pull-right">

<li><?php include "db.php";
<li>
<?php include "db.php";
if(isset($_SESSION["uid"])){
$sql = "SELECT first_name FROM user_info WHERE user_id='$_SESSION[uid]'";
$query = mysqli_query($con,$sql);
Expand Down Expand Up @@ -192,7 +193,7 @@
</li>
<style type="text/css">
.header-links li i {
color: #fff;
color: #00bcd4;
margin-right: 15px;
}
</style>
Expand Down Expand Up @@ -221,7 +222,7 @@
<style type="text/css">
.main-nav>li>a {
padding: 20px 0px;
color: #000;
color: #00bcd4;
}
a {
color: #000;
Expand Down
2 changes: 1 addition & 1 deletion homeaction.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<!-- NAV -->
<ul class='main-nav nav navbar-nav'>
<li class='active'><a href='index.php'>Home</a></li>
<li><a href='store.php'>Mobiles </a></li>
<li><a href='store.php'>Mobile</a></li>
";
if(mysqli_num_rows($run_query) > 0){
Expand Down
6 changes: 6 additions & 0 deletions ins.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
To open admin - /admin/login.php
admin username-admin
pass-admin


To open supplier- /supplier/login.php
2 changes: 1 addition & 1 deletion login_form.php
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@

<input class="un " type="text" align="center" placeholder="Username" name="email">
<input class="pass" type="password" align="center" placeholder="Password" name="password">
<input id="myButton" class="submit" type="submit" name="email" Value="Login">
<input id="myButton" class="submit" type="submit" Value="Login">

</form>

Expand Down
Loading

0 comments on commit 8e8a7f4

Please sign in to comment.