forked from kyau/darkstar-afterhours
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathitem.php
132 lines (121 loc) · 3.68 KB
/
item.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
<?php
$jobs = array("","WAR","MNK","WHM","BLM","RDM","THF","PLD","DRK","BST","BRD","RNG","SAM","NIN","DRG","SMN","BLU","COR","PUP","DNC","SCH");
$clock = true;
require("include/html.inc");
if (isset($_GET['id'])) {
if (isset($_GET['stack']))
htmlHeader(trim($_GET['id'], "/"), $_GET['stack']);
else
htmlHeader(trim($_GET['id'], "/"));
htmlDropDown(1);
echo <<<EOF
</div>
<div id="content">
EOF;
//
// Character Stats
//
echo <<<EOF
<div class="topline">
<table class="tbl tbl-item">
<thead><tr class="tbl-head">
<th colspan="2"><i class="fa fa-tag" aria-hidden="true"></i> Item</th>
</tr></thead>
<tbody><tr>
<td colspan="2"></td>
</tr><tr>
<td class="item-icon"><img src="images/large-icons/18270.png" class="i_mainicon"></td>
<td class="item">
<span class="i_stack"></span><span class="i_raex"></span><div class="i_item">Name</div><div class="i_stats"><stats></div><div class="i_jobs"><jobs></div>
</td>
</tr><tr>
<td colspan="2" style="height:1px"></td>
</tr></tbody>
</table>
EOF;
//
// Item Stats
//
echo <<<EOF
<table class="tbl tbl-stats tbl-hover">
<thead><tr class="tbl-head">
<th><i class="fa fa-line-chart" aria-hidden="true"></i> Stats</th>
</tr></thead>
<tbody><tr>
<td class="center"><span class="item-ahcat"></span></td>
</tr><tr>
<td class="center">In Stock: <span class="item-stock"></span></td>
</tr><tr>
<td class="center">Price: <span style="color:rgba(180,180,180,1);" class="item-currprice"></span></td>
</tr><tr>
<td class="center item-bgwiki"></td>
</tr></tbody>
</table>
EOF;
//
// Bazaars
//
echo <<<EOF
<div class="bazaar-hide">
<table class="tbl tbl-bazaar tbl-hover">
<thead><tr class="tbl-head">
<th colspan="6"><i class="fa fa-inbox" aria-hidden="true"></i> Bazaars<span id="bazaar_list"></span></th>
</tr>
<tr class="tbl-subhead">
<td class="left">Seller</td>
<td class="center">Price</td>
<td class="center">AH</td>
</tr></thead>
<tbody id="bazaars">
</tbody>
</table>
</div>
</div>
<br/>
EOF;
//
// Crafting Recipe
//
echo <<<EOF
<div class="recipe-hide">
<table class="tbl tbl-recipes">
<thead><tr class="tbl-head">
<td id="recipecat" colspan="4"><i class="fa fa-diamond" aria-hidden="true"></i> Crafting Recipes</td>
</tr>
<tr class="tbl-subhead">
<th class="center">Skills <i class="fa fa-unsorted" aria-hidden="true"></i></th>
<th class="center">Ingredients <i class="fa fa-unsorted" aria-hidden="true"></i></th>
<th class="center">Results <i class="fa fa-unsorted" aria-hidden="true"></i></th>
</tr></thead>
<tbody id="recipes">
</tbody>
</table>
<br/><br/>
</div>
EOF;
//
// Auction House
//
echo <<<EOF
<table class="tbl tbl-ah tbl-hover">
<thead><tr class="tbl-head">
<th colspan="6"><i class="fa fa-balance-scale" aria-hidden="true"></i> Price History<span id="price_history"></span></th>
</tr>
<tr class="tbl-subhead">
<td class="ah-date">Date</td>
<td class="ah-who">Seller</td>
<td class="ah-who">Buyer</td>
<td class="ah-price">Price</td>
</tr></thead>
<tbody id="auctions">
</tbody>
</table>
EOF;
// Footer
echo " <div id=\"toTop\"><i class=\"fa fa-caret-square-o-up\" aria-hidden=\"true\"></i></div>";
echo " </div>";
htmlFooter("item");
} else {
header('Location: https://ffxi.kyau.net:4444/');
}
?>