-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathorder.php
199 lines (140 loc) · 4.74 KB
/
order.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
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta
name="viewport"
content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="description" content="">
<meta name="author" content="">
<meta name="keywords" content="">
<meta name="theme-color" content="#272727">
<?php include ('cpanel/dbcon.php');
include('header.php');
$id=$_GET['id'];
$query=mysql_query("select * from produkt where produkt_id='$id'")or die (mysql_error());
$row=mysql_fetch_array($query);
?>
<title>DuarArtat | <?php echo $row['emer'];?></title>
<link rel="shortcut icon" href="img/favicon.ico" type="image/x-icon">
<!-- BOOTSTRAP -->
<link rel="stylesheet" href="css/bootstrap.css">
<!-- PLUGINS -->
<link rel="stylesheet" href="css/vlthemes.css">
<!-- CUSTOM CSS -->
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<!-- FRAMES -->
<span class="frame-line top-frame"></span>
<span class="frame-line right-frame"></span>
<span class="frame-line bottom-frame"></span>
<span class="frame-line left-frame"></span>
<div class="animsition">
<div class="content">
<div class="clearfix"></div>
</div>
</div>
<!-- END HEADER-INNER -->
</header>
<!-- END HEADER-WRAP -->
<main>
<div class="single-post-wrap clearfix">
<div class="container">
<div class="row">
<div class="col-md-8 content-fixed">
<article class="post single-post">
<div class="post-thumb clearfix">
<img src="cpanel/<?php echo $row['location'];?>" alt="">
<!-- Go to www.addthis.com/dashboard to customize your tools -->
<script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-57ad999c3aacc22f"></script>
</div>
<div class="post-content">
<div class="post-date">
<?php echo $row['data'];?>
</div>
<h2 class="post-title">
<?php echo $row['emer'];?>
</h2>
<p><?php echo $row['pershkrim'];?></p>
<div class="entry-tags clearfix">
<h1>Cmimi:
<?php echo $row['cmim'];?><br></h1><h4>
Kategoria:
<?php echo $row['kategori'];?><br>
Prodhuesi:
<?php echo $row['prodhuesi'];?><br>
Gjendja:
<?php echo $row['gjendja'];?><br>
</h4>
<div class="entry-footer clearfix">
</div>
</div>
</div>
</article>
<!-- END SINGLE-POST -->
</div>
<div class="col-md-4 sidebar-fixed">
<div class="sidebar">
<div class="comments-area clearfix">
<div class="comment-respond">
<h4 class="comment-reply-title">Porosit Tani</h4>
<form class="comment-form" action="cpanel/up_porosi.php?id=<?php echo $row['produkt_id'];?>" method="POST">
<div class="row">
<div class="col-sm-6">
<div class="field-list">
<label>Emri Mbiemri:</label>
<input type="text" name="kl_emr" required>
</div>
</div>
<div class="col-sm-6">
<div class="field-list">
<label>Numri i Celularit:</label>
<input type="text" name="kl_nr" required>
</div>
</div>
</div>
<div class="row">
<div class="col-sm-6">
<div class="field-list">
<label>Sasia:</label>
<input type="number" name="kl_sasi" required>
</div>
</div>
<div class="col-sm-6">
<div class="field-list">
<label>Data</label>
<input type="date" name="data">
</div>
</div>
</div>
<div class="field-list">
<label>Adresa:</label>
<textarea name="kl_adr"></textarea>
</div>
<button class="button button-black button-block" type="submit" name="submit">Porosit</button>
</form>
</div>
</div>
<!-- END COMMENTS-AREA -->
</div>
<!-- END SIDEBAR -->
</div>
</div>
</div>
</div>
<!-- END SINGLE-POST-WRAP -->
</main>
<!-- END MAIN -->
<?php include('footer.php');?>
</div>
<!-- END CONTENT -->
</div>
<!-- END ANIMSITION -->
<!-- SCRIPTS -->
<script src="vendors/jquery-1.12.0.min.js"></script>
<script src="scripts/plugins.min.js"></script>
<!-- CUSTOM SCRIPT -->
<script src="scripts/script.js"></script>
</body>
</html>