-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathview.php
57 lines (48 loc) · 1.68 KB
/
view.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<!DOCTYPE html>
<html lang="en">
<head>
<title>C Online</title>
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:400,500,700,300,100" >
<link rel="stylesheet" href="styles/bootstrap.min.css">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.2.0/css/all.css" integrity="sha384-hWVjflwFxL6sNzntih27bfxkr27PmbbK/iSvJ+a4+0owXq79v+lsFkW54bOGbiDQ" crossorigin="anonymous">
<link rel="stylesheet" href="styles/style.css">
</head>
<body>
<!--HEADLINE -->
<?php include "includes/header.php" ?>
<div id="content">
<div class="container">
<?php include "includes/sidebar.php" ?>
<div class="col-md-9">
<!-- WELCOME STRIP-->
<div class="row">
<div class="box">
<h1><?php echo $_GET['name'] ?></h1>
<h4>
Product Details
</h4>
<p><?php echo $_GET['details'] ?></p>
</div>
</div>
<!-- ITEMS-->
<div class="row">
<div class="box">
<?php include "controllers/view.controller.php" ?>
<?php include "controllers/addtocart.controller.php" ?>
<form style="border:1px solid #ccc" method='POST' > <!--add POST Action -->
<div class="container">
<br>
<label for="quantity"><b>Quantity</b></label><br>
<input type="number" value="1" min="1" style="width:100px" name="quantity" required><br>
<div class="clearfix">
<button type="submit" class="signupbtn" style="width:200px" >Add to Cart</button>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
</html>