Repository navigation
Expand file tree
/
Copy pathcommunity.php
More file actions
287 lines (265 loc) · 12.2 KB
/
Copy pathcommunity.php
File metadata and controls
287 lines (265 loc) · 12.2 KB
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
<?php
require_once("configs.php");
?>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-gb" xmlns:xml="http://www.w3.org/XML/1998/namespace" class="chrome chrome8">
<head>
<title><?php echo $website['title']; ?></title>
<meta content="false" http-equiv="imagetoolbar" />
<meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible" />
<link rel="shortcut icon" href="wow/static/local-common/images/favicons/wow.ico" type="image/x-icon" />
<link rel="search" type="application/opensearchdescription+xml" href="http://eu.battle.net/en-gb/data/opensearch" title="Battle.net Search" />
<link rel="stylesheet" type="text/css" media="all" href="wow/static/local-common/css/common.css?v15" />
<!--[if IE]><link rel="stylesheet" type="text/css" media="all" href="wow/static/local-common/css/common-ie.css?v15" /><![endif]-->
<!--[if IE 6]><link rel="stylesheet" type="text/css" media="all" href="wow/static/local-common/css/common-ie6.css?v15" /><![endif]-->
<!--[if IE 7]><link rel="stylesheet" type="text/css" media="all" href="wow/static/local-common/css/common-ie7.css?v15" /><![endif]-->
<link title="World of Warcraft - News" href="wow/en/feed/news" type="application/atom+xml" rel="alternate" />
<link rel="stylesheet" type="text/css" media="all" href="wow/static/css/wow.css?v3" />
<link rel="stylesheet" type="text/css" media="all" href="wow/static/css/community/community-index.css" />
<!--[if IE]><link rel="stylesheet" type="text/css" media="all" href="wow/static/css/community/community-ie.css?v3" /><![endif]-->
<!--[if IE 6]><link rel="stylesheet" type="text/css" media="all" href="wow/static/css/community/community-ie6.css?v3" /><![endif]-->
<!--[if IE]><link rel="stylesheet" type="text/css" media="all" href="wow/static/css/wow-ie.css?v3" /><![endif]-->
<!--[if IE 6]><link rel="stylesheet" type="text/css" media="all" href="wow/static/css/wow-ie6.css?v3" /><![endif]-->
<!--[if IE 7]><link rel="stylesheet" type="text/css" media="all" href="wow/static/css/wow-ie7.css?v3" /><![endif]-->
<style type="text/css">
.bnr04 .banner-title, .bnr04 .banner-desc, .bnr04:hover .banner-desc {color:#625841;}
.bnr04 {border:1px solid #261e16; cursor:default;}
.bnr04:hover {background-position:0 0; border:1px solid #261e16; cursor:default;}
</style>
<script type="text/javascript" src="wow/static/local-common/js/third-party/jquery-1.4.4.min.js"></script>
<script type="text/javascript" src="wow/static/local-common/js/core.js?v15"></script>
<script type="text/javascript" src="wow/static/local-common/js/tooltip.js?v15"></script>
<!--[if IE 6]> <script type="text/javascript">
//<![CDATA[
try { document.execCommand('BackgroundImageCache', false, true) } catch(e) {}
//]]>
</script>
<![endif]-->
<script type="text/javascript">
//<![CDATA[
Core.staticUrl = 'wow/static';
Core.baseUrl = 'wow/en';
Core.project = 'wow';
Core.locale = 'en-gb'
Core.buildRegion = 'eu';
Core.loggedIn = true;
Flash.videoPlayer = 'http://eu.media.blizzard.com/wow/player/videoplayer.swf';
Flash.videoBase = 'http://eu.media.blizzard.com/wow/media/videos';
Flash.ratingImage = 'http://eu.media.blizzard.com/wow/player/rating-pegi.jpg';
//]]>
</script>
<body class="en-gb community-home"><div id="predictad_div" class="predictad" style="display: none; left: 788px; top: 104px; width: 321px; "></div>
<div id="wrapper">
<?php
$page_cat = "community";
include("header.php");
?>
<div id="content">
<div class="content-top">
<div class="content-trail">
<ol class="ui-breadcrumb">
<li><a href="index.php" rel="np"><?php echo $website['title']; ?></a></li>
<li class="last"><a href="community.php" rel="np">Community</a></li>
</ol>
</div>
<div class="content-bot">
<div class="top-banner">
<script type="text/javascript" src="wow/static/local-common/js/slideshow.js"></script>
<script type="text/javascript" src="wow/static/local-common/js/third-party/swfobject.js"></script>
<div id="slideshow">
<div class="container">
<?php
$query = mysql_query("SELECT * FROM community_slides ORDER BY id DESC LIMIT 4");
$i=0;
while($community = mysql_fetch_array($query)){
if($i==0){
echo '<div class="slide" id="slide-'.$i.'" style="background-image: url(\'images/community/'.$community['image'].'\'); opacity: 0.997084;"></div>';
}else{
echo '<div class="slide" id="slide-'.$i.'" style="background-image: url(\'images/community/'.$community['image'].'\'); display: none; "></div>';
}
$i++;
}
?>
</div>
<div class="paging">
<?php
$query2 = mysql_query("SELECT * FROM community_slides ORDER BY id DESC LIMIT 4");
$i=0;
while($communityx = mysql_fetch_assoc($query2)){
echo '<a href="javascript:;" id="paging-'.$i.'" onclick="Slideshow.jump('.$i.', this);"';
if($i==0){ print 'class="curent"'; }else if($i==3){ print 'class="last-slide"'; }else { print 'class=""'; } echo'>
<span class="paging-title">'.$communityx['title'].' </span>
<span class="paging-date">'.$communityx['date'].'</span></a>';
$i++;
}
?>
<a href="javascript:;" id="paging-0" onclick="Slideshow.jump(0, this);" class="">
<span class="paging-title">Leader of the Alliance and Horde Part 2: Genn Greymane</span>
<span class="paging-date">01/24/11</span>
</a>
<a href="javascript:;" id="paging-1" onclick="Slideshow.jump(1, this);" class="current">
<span class="paging-title">New Fan Art </span>
<span class="paging-date">12/10/10</span>
</a>
<a href="javascript:;" id="paging-2" onclick="Slideshow.jump(2, this);" class="">
<span class="paging-title">Leaders of the Alliance and Horde Part 1 - Garrosh</span>
<span class="paging-date">12/10/10</span>
</a>
<a href="javascript:;" id="paging-3" onclick="Slideshow.jump(3, this);" class="last-slide">
<span class="paging-title">Get into the Warcraft community!</span>
<span class="paging-date">12/10/10</span>
</a>
</div>
<?php
$query3 = mysql_query("SELECT * FROM community_slides ORDER BY id DESC LIMIT 1");
$communityz = mysql_fetch_assoc($query3);
echo '<div class="caption" style="display: block;"><h3><a href="#" class="link"> '.$communityz['title'].'</a></h3>'.$communityz['desc'].'</div>';
?>
<div class="preview" style="display: none;"></div>
<div class="mask"></div>
</div>
<script type="text/javascript">
//<![CDATA[
$(function() {
Slideshow.initialize('#slideshow', [
<?php
$getting_lastq = mysql_query("SELECT * FROM community_slides ORDER BY id DESC");
$getting_last = mysql_fetch_assoc($getting_lastq);
$last=$getting_last['id']-4;
$query = mysql_query("SELECT * FROM community_slides WHERE id >= '".$last."' ORDER BY id DESC LIMIT 4");
$i=0;
while($community2 = mysql_fetch_assoc($query)){
echo '
{
image: "'.$community2['image'].'",
desc: "'.$community2['desc'].'",
title: "'.$community2['title'].'",
url: "'.$community2['url'].'",
id: "'.$community2['id'].'"
}';
if($i!=3) echo ',';
$i++;
}
?>
]);
});
//]]>
</script>
</div>
<div class="community-content-body">
<div class="body-wrapper">
<div class="content-wrapper">
<div class="inside-col">
<div class="official-content">
<div class="inside-section contests">
<a href="javascript:;" target="_blank" class="main-link" style="background-image:url('wow/static/images/community/thumbnails/thumb-contests.jpg');">
<span>
<span class="wrapper">
<span class="banner-title">Contests </span>
<span class="banner-desc">Past and present contests for you to check out and participate in. Check it out now!</span>
</span>
</span>
</a>
</div>
<div class="inside-section forum">
<a href="javascript:;" class="main-link" style="background-image:url('wow/static/images/community/thumbnails/thumb-forum.jpg');">
<span>
<span class="wrapper">
<span class="banner-title">Forums <em>(In Development)</em></span>
<span class="banner-desc">Get in touch with other Blizzard gamers via the official World of Warcraft forums.</span>
</span>
</span>
</a>
</div>
<span class="clear"><!-- --></span>
<div class="inside-section fanart">
<a href="javascript:;" class="main-link" style="background-image:url('wow/static/images/community/thumbnails/thumb-fanart.jpg');">
<span class="panel">
<span class="wrapper">
<span class="banner-title">Fan Art </span>
<span class="view-all">View All Fan Art</span>
</span>
</span>
</a>
<a href="#" class="tosubmit external">Submit Fan Art</a>
</div>
<div class="inside-section comics">
<a href="javascript:;" class="main-link" style="background-image:url('wow/static/images/community/thumbnails/thumb-comics.jpg');">
<span class="panel">
<span class="wrapper">
<span class="banner-title">Comics <em>(0)</em></span>
<span class="view-all">View All Comics</span>
</span>
</span>
</a>
<a href="#" class="tosubmit external">Submit Comics</a>
</div>
<span class="clear"><!-- --></span>
<div class="inside-section screenshot">
<a href="javascript:;" class="main-link" style="background-image:url('wow/static/images/community/thumbnails/thumb-screenshot.jpg');">
<span class="panel">
<span class="wrapper">
<span class="banner-title">Screenshots <em>(1)</em></span>
<span class="view-all">View All Screenshots</span>
</span>
</span>
</a>
<a href="javascript:;" class="tosubmit external">Submit Screenshots</a>
</div>
<div class="inside-section wallpaper">
<a href="javascript:;" class="main-link" style="background-image:url('wow/static/images/community/thumbnails/thumb-wallpaper.jpg');">
<span class="panel">
<span class="wrapper">
<span class="banner-title">Fan Wallpapers <em>(0)</em></span>
<span class="view-all">View All Wallpapers</span>
</span>
</span>
</a>
<a href="javascript:;" class="tosubmit external">Submit Wallpapers</a>
</div>
<span class="clear"><!-- --></span>
</div>
</div>
<div class="outside-col">
<div class="outside-section social-media">
<div class="title-block">
<span class="title">Social Media</span>
<span class="clear"><!-- --></span>
</div>
<div class="content-block">
<ul>
<style type="text/css">
#wow {
background: url("wow/static/images/community/001.png") no-repeat;
}
</style>
<li><a href="#" class="facebook" target="_blank"><span class="content-title">WoWFailureCMS Facebook</span><span class="content-desc">Follow us on Facebook.</span></a></li>
<li><a href="#" class="Twitter" target="_blank"><span class="content-title">WoWFailureCMS Twitter</span><span class="content-desc">Tweet us on Twitter.</span></a></li>
<li><a href="#" class="Youtube" target="_blank"><span class="content-title">WoWFailureCMS Youtube</span><span class="content-desc">Subscribe on Youtube.</span></a></li>
</div>
<span class="clear"><!-- --></span>
<br></br>
<div class="title-block">
<span class="title">Community Links</span>
<span class="clear"><!-- --></span>
</div>
<div class="content-block">
<ul>
<style type="text/css">
#wow {
background: url("wow/static/images/community/001.png") no-repeat;
}
</style>
<li><a href="#" id="wow" target="_blank"><span class="content-title">WoWFailureCMS Forum</span><span class="content-desc">Join our community.</span></a></li></ul>
</div>
</div>
</div>
</div>
</div>
</div>
<span class="clear"><!-- --></span>
</div>
</div>
</div>
<?php include("footer.php"); ?>
<div id="fansite-menu" class="ui-fansite"></div><div id="menu-container"></div><ul class="ui-autocomplete ui-menu ui-widget ui-widget-content ui-corner-all" role="listbox" aria-activedescendant="ui-active-menuitem" style="z-index: 6; top: 0px; left: 0px; display: none; "></ul></body>
</html>