Sfoglia il codice sorgente

still trying

development
mauirixxx 8 anni fa
parent
commit
0cb04237f2
1 ha cambiato i file con 4 aggiunte e 4 eliminazioni
  1. +4
    -4
      gw-history.php

+ 4
- 4
gw-history.php Vedi File

@@ -5,7 +5,7 @@
<TITLE>Treasure Data</TITLE> <TITLE>Treasure Data</TITLE>
</HEAD> </HEAD>
<BODY> <BODY>
<CENTER><TABLE BORDER="0"><TR>
<CENTER><TABLE BORDER="0">
<?php <?php
session_start(); session_start();
include_once 'gw-connect.php'; include_once 'gw-connect.php';
@@ -21,7 +21,7 @@ if (!$result = $con->query($sql)){
} }
if (mysqli_num_rows($result) > 0) { if (mysqli_num_rows($result) > 0) {
while ($row = $result->fetch_array()){ while ($row = $result->fetch_array()){
echo '<TD>On ' . $row['historydate'] . ', "' . $row['charname'] . '" got ' . $row['goldrec'] . 'GP and ';
echo '<TR><TD>On ' . $row['historydate'] . ', "' . $row['charname'] . '" got ' . $row['goldrec'] . 'GP and ';
if ($row['itemtype'] == 16) { //this would be a rune if ($row['itemtype'] == 16) { //this would be a rune
$runeid = $row['runetype']; $runeid = $row['runetype'];
$sqlrune = "SELECT listrunes.`runeid`, listrunes.`runes` FROM listrunes WHERE listrunes.`runeid` = $runeid"; $sqlrune = "SELECT listrunes.`runeid`, listrunes.`runes` FROM listrunes WHERE listrunes.`runeid` = $runeid";
@@ -72,13 +72,13 @@ if (mysqli_num_rows($result) > 0) {
} }
} }
} }
echo ' at <A HREF="' . $row['wikilink'] . '" CLASS="navlink">' . $row['location'] . '</A></TD>';
echo ' at <A HREF="' . $row['wikilink'] . '" CLASS="navlink">' . $row['location'] . '</A></TD></TR>';
} }
} else { } else {
echo '<CENTER>There is no data to display for that character yet</CENTER><BR />'; echo '<CENTER>There is no data to display for that character yet</CENTER><BR />';
} }
?> ?>
</TR></TABLE></CENTER>
</TABLE></CENTER>
<BR /> <BR />
<CENTER> <CENTER>
<FORM METHOD="POST" ACTION="gw-toon.php"> <FORM METHOD="POST" ACTION="gw-toon.php">


Caricamento…
Annulla
Salva