-
Notifications
You must be signed in to change notification settings - Fork 13
/
view.php
83 lines (66 loc) · 1.85 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
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
<?php
include('header.php');
?>
<div class="row">
<div class="content column small-12 medium-7 large-8">
<div class="content-box column small-12">
<div class="content-box-header column small-12">
<div class="title-text">
<?php echo GrabAddonInfo($_GET['id'], 'addon_name'); ?>
</div>
<div class="title-date">
</div>
</div>
<div class="content-box-content column small-12">
<div class="content-text">
<?php echo GrabAddonInfo($_GET['id'], 'addon_description'); ?>
</div>
</div>
</div>
</div>
<div class="content column small-12 medium-5 large-4">
<div class="content-box-sidebar border column small-12">
<div class="content-box-header column small-12">
<div class="title-text">
Download Information
</div>
</div>
<div class="content-box-content column small-12">
<table class="addons-info">
<tr>
<td>Filename</td>
<td><?php echo ucfirst(GrabFileInfo($_GET['id'], 'file_name')); ?></td>
</tr>
<tr>
<td>Size</td>
<td><?php echo ConvertBytes(GrabFileInfo($_GET['id'], 'file_size')); ?></td>
</tr>
<tr>
<td>Uploader</td>
<td><?php echo ucfirst(GrabAddonInfo($_GET['id'], 'addon_uploader')); ?></td>
</tr>
<tr>
<td>Downloads</td>
<td><?php echo GrabAddonInfo($_GET['id'], 'downloads'); ?></td>
</tr>
<tr>
<td>Category</td>
<td><?php echo GrabCategory(GrabAddonInfo($_GET['id'], 'category')); ?></td>
</tr>
<tr>
<td>Expansion</td>
<td><?php echo GrabExpansion(GrabAddonInfo($_GET['id'], 'expansion')); ?></td>
</tr>
</table>
<div class="download-info">
<center>
<a href="download.php?id=<?php echo (int)$_GET['id']; ?>" class="small button">DOWNLOAD</a>
</center>
</div>
</div>
</div>
</div>
</div>
<?php
include('footer.php');
?>