-
Notifications
You must be signed in to change notification settings - Fork 0
/
information.php
158 lines (128 loc) · 4.83 KB
/
information.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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
<?php require_once'inc/header.php' ?>
<?php
require_once'inc/nav.php';
if(strlen($_SESSION['login'])==0)
{
header('location:sign_in.php');
}
else{
?>
<!-- ============================================== HEADER : END ============================================== -->
<div class="breadcrumb">
<div class="container">
<div class="breadcrumb-inner">
<ul class="list-inline list-unstyled">
<li><a href="#">Home</a></li>
<li class='active'>Shopping Cart</li>
</ul>
</div><!-- /.breadcrumb-inner -->
</div><!-- /.container -->
</div><!-- /.breadcrumb -->
<div class="body-content outer-top-xs">
<div class="container">
<div class="row ">
<div class="shopping-cart">
<div class="shopping-cart-table ">
<div class="table-responsive">
<?php
update_user_record();
display_message();
?>
<form method="post" >
</div>
</div><!-- /.shopping-cart-table --> <div class="col-md-4 col-sm-12 estimate-ship-tax">
<table class="table">
<thead>
<tr>
<th>
<span class="estimate-title">Enter your Informations</span>
<p>Enter your destination to get shipping and tax.</p>
</th>
</tr>
</thead>
<tbody>
<tr>
<td>
<input class="form-control" type="hidden" name="id" value="<?php echo $_SESSION['id'] ?>">
<div class="form-group">
<label class="info-title control-label">Phone</label>
<input type="text" class="form-control unicase-form-control text-input" name="phone" value="<?php echo $_SESSION['phone'] ?>" placeholder="" required >
</div>
<div class="form-group">
<label class="info-title control-label">City</label>
<input type="text" class="form-control unicase-form-control text-input" name="city" value="<?php echo $_SESSION['shopping_state'] ?>" placeholder="" required >
</div>
<div class="form-group">
<label class="info-title control-label">Full address</label>
<textarea type="text" class="form-control unicase-form-control text-input" name="address" placeholder="" required ><?php echo $_SESSION['shopping_address'] ?></textarea>
</div>
<div class="radio radio-checkout-unicase">
<input id="guest" type="radio" name="payment" value="deli" checked>
<label class="radio-button guest-check" for="guest">deli</label>
<br>
<input id="guest" type="radio" name="payment" value="degital" checked>
<label class="radio-button guest-check" for="guest">Degital</label>
</div>
</td>
</tr>
</tbody><!-- /thead -->
</table>
</div><!-- /.estimate-ship-tax -->
<div class="col-md-4 col-sm-12 estimate-ship-tax">
<table class="table">
<thead>
<tr>
<th>
<span class="estimate-title">Discount Code</span>
<p>Enter your coupon code if you have one..</p>
</th>
</tr>
</thead>
<tbody>
<tr>
<td>
<span class="estimate-title">Discount Code</span>
<p>Enter your coupon code if you have one..</p>
</td>
</tr>
</tbody><!-- /tbody -->
</table>
</div><!-- /.estimate-ship-tax -->
<div class="col-md-4 col-sm-12 cart-shopping-total">
<table class="table">
<thead>
<tr>
<th>
<div class="cart-grand-total">
<input name="total_price" type="hidden" value="<?php echo $_SESSION['tp']="$totalprice"; ?>" >
Grand Total<span class="inner-left-md"><?php echo $_SESSION['tp']="$totalprice". ".KS"; ?></span>
</div>
</th>
</tr>
</thead><!-- /thead -->
<tbody>
<tr>
<td>
<div class="cart-checkout-btn pull-right">
<button name="user_btn_edit" class="btn btn-primary checkout-btn"><a>PROCCED TO CHEKOUT</a></button>
</div>
</td>
</tr>
</tbody><!-- /tbody -->
</table>
</div> </div>
</div>
</form>
<!-- /table -->
</div><!-- /.cart-shopping-total --> </div><!-- /.shopping-cart -->
</div> <!-- /.row -->
<!-- ============================================== BRANDS CAROUSEL ============================================== -->
<!-- ============================================== BRANDS CAROUSEL : END ============================================== --> </div><!-- /.container -->
</div><!-- /.body-content -->
<!-- ============================================================= FOOTER ============================================================= -->
<!-- ============================================== INFO BOXES ============================================== -->
<?php require_once'inc/footer_bar.php' ?>
<!-- /.info-boxes -->
<!-- ============================================== INFO BOXES : END ============================================== -->
<?php require_once'inc/footer.php' ?>
<?php } ?>