-
Notifications
You must be signed in to change notification settings - Fork 81
/
index.template.php
90 lines (82 loc) · 4.25 KB
/
index.template.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
<!DOCTYPE html>
<html><head>
<meta charset="utf-8" />
<title>Pokédex - Pokémon Showdown</title>
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=IE8" />
<link rel="stylesheet" href="//play.pokemonshowdown.com/style/font-awesome.css" />
<link rel="stylesheet" href="/theme/panels.css?" />
<link rel="stylesheet" href="/theme/main.css?" />
<meta name="viewport" content="width=device-width,initial-scale=1">
<link rel="stylesheet" href="//play.pokemonshowdown.com/style/utilichart.css?" />
<link rel="stylesheet" href="/theme/pokedex.css?" />
<!-- Workarounds for IE bugs to display trees correctly. -->
<!--[if lte IE 6]><style> li.tree { height: 1px; } </style><![endif]-->
<!--[if IE 7]><style> li.tree { zoom: 1; } </style><![endif]-->
</head><body>
<div class="pfx-topbar">
<div class="header">
<ul class="nav">
<li><a class="button nav-first" href="//pokemonshowdown.com/"><img src="/images/pokemonshowdownbeta.png" alt="Pokémon Showdown! (beta)" /> Home</a></li>
<li><a class="button cur" href="/">Pokédex</a></li>
<li><a class="button" href="//replay.pokemonshowdown.com/">Replays</a></li>
<li><a class="button" href="//pokemonshowdown.com/ladder/">Ladder</a></li>
<li><a class="button nav-last" href="//pokemonshowdown.com/forums/">Forum</a></li>
</ul>
<ul class="nav nav-play">
<li><a class="button greenbutton nav-first nav-last" href="http://play.pokemonshowdown.com/">Play</a></li>
</ul>
<div style="clear:both"></div>
</div>
</div>
<div class="pfx-panel"><div class="pfx-body">
<?php if ($_SERVER['REQUEST_URI'][0] === '/' && !ctype_alnum($_SERVER['REQUEST_URI'][1])) { ?>
<form class="pokedex">
<h1>
<a href="/">Pokédex</a>
</h1>
<ul class="tabbar centered" style="margin-bottom: 18px"><li><button class="button nav-first cur" value="">Search</button></li><li><button class="button" value="pokemon/">Pokémon</button></li><li><button class="button nav-last" value="moves/">Moves</button></li></ul>
<div class="searchboxwrapper">
<input class="textbox searchbox" type="search" name="q" value="<?php echo @$_REQUEST['q'] ?>" autocomplete="off" autofocus placeholder="Search Pokémon, moves, abilities, items, types, or more" />
</div>
<noscript><p>
<strong>Requires JavaScript!</strong>
</p></noscript>
<p class="buttonbar">
<button type="submit" class="button"><strong>Pokédex Search</strong></button> <button onclick="alert(['That\'s pretty cool.','Your mom\'s feeling lucky.','I see.','If you feel lucky for more than four hours, perhaps you should see a doctor.'][Math.floor(Math.random()*4)]); return false" class="button">I'm Feeling Lucky</button>
</p>
</form>
<div class="results">
</div>
<?php } else { ?>
<noscript><p>
<strong>Requires JavaScript!</strong>
</p></noscript>
<p>
Loading...
</p>
<?php } ?>
</div></div>
<script src="/js/lib/jquery-1.12.4.min.js"></script>
<script src="/js/lib/lodash.min.js"></script>
<script src="/js/lib/backbone-min.js"></script>
<script src="/js/panels.js?"></script>
<script src="//play.pokemonshowdown.com/config/config.js?"></script>
<script src="//play.pokemonshowdown.com/js/battledata.js?"></script>
<script src="//play.pokemonshowdown.com/data/search-index.js?"></script>
<script src="//play.pokemonshowdown.com/data/pokedex.js?"></script>
<script src="//play.pokemonshowdown.com/data/teambuilder-tables.js?"></script>
<script src="//play.pokemonshowdown.com/data/learnsets.js?"></script>
<script src="//play.pokemonshowdown.com/data/moves.js?"></script>
<script src="//play.pokemonshowdown.com/data/abilities.js?"></script>
<script src="//play.pokemonshowdown.com/data/items.js?"></script>
<script src="//play.pokemonshowdown.com/data/formats-data.js?"></script>
<script src="//play.pokemonshowdown.com/data/typechart.js?"></script>
<script src="//play.pokemonshowdown.com/data/aliases.js?"></script>
<script src="//play.pokemonshowdown.com/js/battle-dex-search.js?"></script>
<script src="//play.pokemonshowdown.com/js/search.js?"></script>
<script src="/js/pokedex.js?"></script>
<script src="/js/pokedex-pokemon.js?"></script>
<script src="/js/pokedex-moves.js?"></script>
<script src="/js/pokedex-search.js?"></script>
<script src="/js/router.js?"></script>
</body></html>