Permalink
Browse files

Slight change to CSS and updated the welcome page

  • Loading branch information...
1 parent 3dfc00f commit 107185ab7a7e58bb48b430b48fc17d9f3dc27b77 Mathijs Schmittmann committed Jul 4, 2011
Showing with 12 additions and 99 deletions.
  1. +0 −81 admin/generate_dataset.php
  2. +1 −9 css/riftupgrade.css
  3. BIN welcome.jpg
  4. +11 −9 welcome.php
@@ -1,81 +0,0 @@
-<?
-
-if(!isset($_GET['class'])) die("Please supply ?class=classname, for example ?class=roguedps");
-
-require("../dbconfig.php");
-
-// connect to db
-$link = mysql_connect($hostname, $username, $password) or die(mysql_error());
-mysql_select_db($database, $link);
-
-$input = mysql_real_escape_string($_GET['class']);
-
-$record = mysql_query("SELECT * FROM items_".$input.";") or die(mysql_error());
-
-?>
-
-<head>
- <meta http-equiv="Content-Type" content="text/html;charset=us-ascii"/>
- <title>Rogue DPS Upgrade Planner - Items</title>
- <script type="text/javascript" src="js/jquery.js" charset="utf-8"></script>
- <script type="text/javascript" src="js/tablesorter.js" charset="utf-8"></script>
- <link rel="stylesheet" href="css/blue.css" type="text/css" media="screen" charset="utf-8" />
- <link rel="icon" type="image/ico" href="favicon.ico" />
-</head>
-<body>
- <p style="font-size:12pt;">Items in <? echo $input; ?> database: (generated <? echo date("F dS Y H:i:s"); ?>)<p>
- <table id="outputtable" class="outputtable" border="0" cellpadding="0" cellspacing="1">
- <thead>
-
- <tr>
- <th>ID</th>
- <th>Itemname</th>
- <th>Slot</th>
- <th>Quality</th>
- <th>Str</th>
- <th>Dex</th>
- <th>Ap</th>
- <th>Crit</th>
- <th>Hit</th>
- <th>DPS</th>
- <th>Source</th>
- <th>Sourcename</th>
- <th>Sourcelocation</th>
- </tr>
- </thead>
- <tbody>
-<?
-
- while ($result = mysql_fetch_assoc($record)) {
-
-?>
- <tr>
- <td><? echo stripslashes($result["id"]); ?></td>
- <td><? echo stripslashes($result["itemname"]); ?></td>
- <td><? echo stripslashes($result["slot"]); ?></td>
- <td><? echo stripslashes($result["quality"]); ?></td>
- <td><? echo stripslashes($result["strength"]); ?></td>
- <td><? echo stripslashes($result["dexterity"]); ?></td>
- <td><? echo stripslashes($result["attackpower"]); ?></td>
- <td><? echo stripslashes($result["criticalhit"]); ?></td>
- <td><? echo stripslashes($result["hit"]); ?></td>
- <td><? echo stripslashes($result["dps"]); ?></td>
- <td><? echo stripslashes($result["source"]); ?></td>
- <td><? echo stripslashes($result["sourcename"]); ?></td>
- <td><? echo stripslashes($result["sourcelocation"]); ?></td>
- </tr>
-<?
- }
-?>
- </tbody>
- </table>
-<?
- mysql_close($link);
-?>
-
-<script>
-$("#outputtable").tablesorter( {sortList: [[1,0]]} );
-</script>
-
-</body>
-</html>
View
@@ -12,19 +12,11 @@
margin-top: 2px;
}
label {
- margin-top: 3px;
- }
- #w3cicon
- {
- width: 100%;
- text-align: right;
- }
- label
- {
width: 100px;
float: left;
text-align: right;
margin-right: 5px;
+ margin-top: 3px;
display: block;
font-size:12px;
}
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
@@ -14,15 +14,17 @@
<body>
<img src="welcome.jpg" usemap="#welcome"></img>
<map id="welcome" name="welcome">
-<area shape="rect" alt="Rogue DPS" title="" coords="314,562,478,742" href="roguedps/" target="_self" />
-<!-- <area shape="rect" alt="Cleric DPS" title="" coords="58,162,216,332" href="clericdps/" target="_self" />
-<area shape="rect" alt="Cleric Healer" title="" coords="58,366,220,538" href="clerichealer/" target="_self" />
-<area shape="rect" alt="Rogue Tank" title="" coords="54,574,216,738" href="roguetank/" target="_self" />
-<area shape="rect" alt="Warrior Tank" title="" coords="560,568,726,742" href="warriortank/" target="_self" />
-<area shape="rect" alt="Warrior DPS" title="" coords="816,566,976,748" href="warriordps/" target="" />
-<area shape="rect" alt="Mage DPS" title="" coords="816,368,966,544" href="magedps/" target="_self" />
-<area shape="rect" alt="Mage Support" title="" coords="810,164,974,336" href="magesupport/" target="_self" /> -->
+<area shape="rect" alt="Rogue DPS" title="" coords="428,566,598,742" href="roguedps/" target="_self" />
+<!-- <area shape="rect" alt="Cleric DPS" title="" coords="30,142,198,316" href="clericdps/" target="_self" />
+<area shape="rect" alt="Cleric Healer" title="" coords="30,354,196,528" href="clerichealer/" target="_self" />
+<area shape="rect" alt="Cleric Tank" title="" coords="28,566,200,738" href="clerictank/" target="_self" />
+<area shape="rect" alt="Rogue Tank" title="" coords="230,566,396,740" href="roguetank/" target="_self" />
+<area shape="rect" alt="Warrior Tank" title="" coords="632,566,800,742" href="warriortank/" target="_self" />
+<area shape="rect" alt="Warrior DPS" title="" coords="830,568,992,744" href="warriordps/" target="_self" />
+<area shape="rect" alt="Mage DPS" title="" coords="836,356,992,528" href="magedps/" target="_self" />
+<area shape="rect" alt="Mage Support" title="" coords="830,144,992,314" href="magesupport/" target="_self" /> -->
</map>
-<p>Want to help out with development, or see how it works? Click <a href="https://github.com/Roobarb/Rift-Upgrades">here</a>.</p>
+<p>Want to help out with development, or see how it works? Click <a href="https://github.com/Roobarb/Rift-Upgrades">here</a>.<br />
+Authors: Roobarb (Blightweald) & Zemm (Sunrest) | Join us on IRC: #riftupgrades @ irc.riftirc.com</p>
</body>
</html>

0 comments on commit 107185a

Please sign in to comment.