-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.view.php
executable file
·296 lines (289 loc) · 13.3 KB
/
index.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
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
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
<!DOCTYPE html>
<html lang="en" class="no-js" >
<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="" />
<title>Verfy</title>
<link href="assets/css/bootstrap.css" rel="stylesheet" />
<link href="assets/css/animations.min.css" rel="stylesheet" />
<link href="assets/css/logofb.css" rel="stylesheet" />
<link href="assets/css/style-blue.css" rel="stylesheet" />
<link href="assets/img/favicon.png" rel="icon">
<link rel="stylesheet" type="text/css" href="assets/css/test.css">
</head>
<body data-spy="scroll" data-target="#menu-section">
<!--MENU SECTION START-->
<div class="navbar navbar-inverse navbar-fixed-top scroll-me" id="menu-section" >
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="#"><img src="assets/img/logo/logo5.png" style="width: 34px; height: 30px;">
</a>
<a class="navbar-brand" href="#">Verfy
</a>
</div>
<div class="navbar-collapse collapse">
<ul class="nav navbar-nav navbar-right">
<li><a href="#main">MAIN</a></li>
<li><a href="#upload">UPLOAD & CHECK</a></li>
<li><a href="#history">HISTORY</a></li>
<li><a href="#team">ABOUT</a></li>
<li><a href="#contact">CONTACT</a></li>
</ul>
</div>
</div>
</div>
<!--MENU SECTION END-->
<!--MAIN SECTION START-->
<div id="main" >
<div class="container">
<div class="row">
<div class="col-sm-8 col-sm-offset-2 col-md-8 col-md-offset-2 col-lg-8 col-lg-offset-2 ">
<div id="carousel-slider" data-ride="carousel" class="carousel slide animate-in" data-anim-type="fade-in-up">
<img src="assets/img/logo/logo2.png" style="width: 50%; height: 50%;">
<div class="carousel-inner">
<div class="item active">
<h3 id="headmain">
Welcome To Verfy
</h3>
<p id="paragraphmain">
Verfy is the proof of existence website
<br>Just upload file, it will be hashed automatically.
<br>Hashed file value will be in Verfy's database.
</div>
<div class="item">
<h3 id="headmain">
What is Verfy
</h3>
<p id="paragraphmain">
You can check your file detail from Verfy's hash code.
<br>If your file is uncopy or first upload, Your hash would be store in our database.
</p>
</div>
</div>
</div>
</div>
</div>
<div class="row animate-in" data-anim-type="fade-in-up">
<div class="col-sm-6 col-sm-offset-3 col-md-6 col-md-offset-3 col-lg-8 col-lg-offset-2 scroll-me">
<p >
Start UPLOAD NOW!!
</p>
<div class="social">
<a href="#upload" class=" btn button-custom btn-custom-two">START VERFY</a>
</div>
</div>
</div>
</div>
<!--MAIN SECTION END-->
<!--UPLOAD SECTION START-->
<section id="upload" >
<div class="container">
<div class="row text-center header">
<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12 animate-in" data-anim-type="fade-in-up">
<h3>Upload & Check</h3>
<hr />
</div>
</div>
<div class="row animate-in" data-anim-type="fade-in-up">
<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
<div class="upload-wrapper">
<h3>Verfy Upload</h3>
<br>You can upload file here or check if file existed on the server.
<!-- drag and drop section start-->
<div class="content">
<form class="box" method="post" action="" enctype="multipart/form-data">
<div class="box__input">
<input class="box__file" type="file" name="files[]" id="file" data-multiple-caption="{count} files selected" multiple />
<label for="file"><strong>Choose a file</strong>
<span class="box__dragndrop"> or drag it here</span>.
</label>
<button class="box__button btn button-custom btn-custom-two" id="uploader">Upload</button>
</div>
</form>
</div>
<!--Drag and drop section end-->
</div>
</div>
</div>
</div>
</section>
<!--UPLOAD SECTION END-->
<!--WORK SECTION START-->
<section id="history" >
<div class="container">
<div class="row text-center header animate-in" data-anim-type="fade-in-up">
<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
<h3>History</h3>
<hr />
</div>
</div>
<div class="row animate-in" data-anim-type="fade-in-up">
<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
<div class="history-wrapper">
<table class="table" align='center' width='500'>
<thead>
<tr>
<th>Filename</th>
<th>Timestamp</th>
<th>Hash</th>
<th>Filetype</th>
<th>Filesize</th>
</tr>
</thead>
<?php foreach ($datas as $data): ?>
<?= "<tr>"?>
<?= "<td id='nor_table'>".$data->file_name."</td>"?>
<?= "<td id='nor_table'>".$data->timestamp."</td>"?>
<?= "<td id='nor_table'>".$data->hash."</td>"?>
<?= "<td id='nor_table'>".$data->file_type."</td>"?>
<?= "<td id='nor_table'>".$data->file_size."</td>"?>
<?= "</tr>"?>
<?php endforeach; ?>
</table>
</div>
</div>
</div>
</section>
<!--WORK SECTION END-->
<!--TEAM SECTION START-->
<section id="team" >
<div class="container">
<div class="row text-center header animate-in" data-anim-type="fade-in-up">
<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
<h3>Team Members </h3>
<hr />
</div>
</div>
<div class="row animate-in" data-anim-type="fade-in-up">
<div class="col-xs-12 col-sm-3 col-md-3 col-lg-3">
<div class="team-wrapper">
<div class="team-inner" style="background-image: url('assets/img/team/1.jpg')" >
<a href="https://www.facebook.com/JoesSattes?fref=ts" target="_blank" > <i class="fa fa-facebook" ></i></a>
</div>
<div class="description">
<h3> Sattaya <br>Singkul</h3>
<h5> <strong> Student IT KMITL</strong></h5>
<p>
Hello I'm Joe, Frontend Developer.
</p>
</div>
</div>
</div>
<div class="col-xs-12 col-sm-3 col-md-3 col-lg-3">
<div class="team-wrapper">
<div class="team-inner" style="background-image: url('assets/img/team/2.jpg')" >
<a href="https://www.facebook.com/PRW.JJ?fref=ts" target="_blank" > <i class="fa fa-facebook" ></i></i></a>
</div>
<div class="description">
<h3> Puriwat <br>Thongsad</h3>
<h5> <strong>Student IT KMITL</strong></h5>
<p>
Hi I'm Job, Frontend Developer.
</p>
</div>
</div>
</div>
<div class="col-xs-12 col-sm-3 col-md-3 col-lg-3">
<div class="team-wrapper">
<div class="team-inner" style="background-image: url('assets/img/team/3.jpg')" >
<a href="https://www.facebook.com/IIIKJIII?fref=ts" target="_blank" ><i class="fa fa-facebook" ></i></a>
</div>
<div class="description">
<h3> Werapat <br>Subsomboon</h3>
<h5> <strong> Student IT KMITL</strong></h5>
<p>
Hello I'm Kanomjean, Backend Developer.
</p>
</div>
</div>
</div>
<div class="col-xs-12 col-sm-3 col-md-3 col-lg-3">
<div class="team-wrapper">
<div class="team-inner" style="background-image: url('assets/img/team/4.jpg')" >
<a href="https://www.facebook.com/pbigpooh.thongyoo?hc_ref=NEWSFEED" target="_blank"><i class="fa fa-facebook" ></i></a>
</div>
<div class="description">
<h3> Phopat <br>Thongyu</h3>
<h5> <strong> Student IT KMITL</strong></h5>
<p>
Hi I'm Pooh, Backend Developer.
</p>
</div>
</div>
</div>
</div>
</div>
</section>
<!--TEAM SECTION END-->
<!--CONTACT SECTION START-->
<section id="contact" >
<div class="container">
<div class="row text-center header animate-in" data-anim-type="fade-in-up">
<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
<h3>Contact Details </h3>
<hr />
</div>
</div>
<div class="row animate-in" data-anim-type="fade-in-up">
<div class="col-xs-12 col-sm-4 col-md-4 col-lg-4">
<div class="contact-wrapper">
<h3>We Are Social</h3>
<p>
We are Verfy Team.
</p>
<div class="social-below">
<a href="https://www.facebook.com/JoesSattes?fref=ts" class="btn button-custom btn-custom-two" > Facebook</a>
<a href="#" class="btn button-custom btn-custom-two" > Twitter</a>
<a href="https://plus.google.com/118045868298492650319" class="btn button-custom btn-custom-two" > Google +</a>
</div>
</div>
</div>
<div class="col-xs-12 col-sm-4 col-md-4 col-lg-4">
<div class="contact-wrapper">
<h3>Quick Contact</h3>
<h4><strong>Email : </strong> joeysattaya@gmail.com</h4>
<h4><strong>Call : </strong> +66801995935</h4>
<h4><strong>Skype : </strong> JoesSattes</h4>
</div>
</div>
<div class="col-xs-12 col-sm-4 col-md-4 col-lg-4">
<div class="contact-wrapper">
<h3>Address : </h3>
<h4>127.0.0.1</h4>
<h4>Thailand</h4>
<div class="footer-div" >
© 2016 Verfy | <a href="http://getbootstrap.com" target="_blank" >by Bootstrap</a>
</div>
</div>
</div>
</div>
</div>
</section>
<!--CONTACT SECTION END-->
<!-- JAVASCRIPT FILES PLACED AT THE BOTTOM TO REDUCE THE LOADING TIME -->
<!-- CORE JQUERY -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
<!-- BOOTSTRAP SCRIPTS -->
<script src="assets/js/bootstrap.js"></script>
<!-- EASING SCROLL SCRIPTS PLUGIN -->
<script src="assets/js/vegas/jquery.vegas.min.js"></script>
<!-- VEGAS SLIDESHOW SCRIPTS -->
<script src="assets/js/jquery.easing.min.js"></script>
<!-- ISOTOPE SCRIPTS -->
<script src="assets/js/jquery.isotope.js"></script>
<!-- VIEWPORT ANIMATION SCRIPTS -->
<script src="assets/js/appear.min.js"></script>
<script src="assets/js/animations.min.js"></script>
<!-- CUSTOM SCRIPTS -->
<script src="assets/js/custom.js"></script>
<script type="text/javascript" src="assets/js/spark-md5.min.js"></script>
<script type="text/javascript" src="assets/js/test.js"></script>
</body>
</html>