lizudus
Www.Xivarian.Com Owner
- Joined
- May 14, 2008
- Messages
- 456
- Reaction score
- 5
First this one i try to use this but the webpage show absolutely WHITE!http://otland.net/f483/2-phps-gesior-modern-102397/?highlight=war+of+emperium
well this is my script
and there is a way to get Power gamers and More players online for modern aac i use that i found in otland but it said to me many errors about undefined index or variables so, can someone to share with me exphist.php and onlinetime.php also buying war.php (elf)
and there is a way to get this??
PLEASE DONT POST IF YOU DONT WILL HELP ME! With f*c*ing stu*id replys
well this is my script
PHP:
<?PHP
require("config.php");
$ots = POT::getInstance();
$ots->connect(POT::DB_MYSQL, connection());
$SQL = $ots->getDBHandle();
$woe = $SQL->query("
SELECT w.id AS id, w.time AS time, g.name AS guild, p.name AS name, w.started AS start, w.guild AS guild_id
FROM woe AS w
INNER JOIN players AS p
ON p.id = w.breaker
INNER JOIN guilds AS g
ON g.id = w.guild
ORDER BY id DESC LIMIT 10;
");
foreach ($woe as $k=>$v) {
$winners .="
<TR BGCOLOR=\"".$config['site'][($k % 2 == 1 ? 'light' : 'dark').'border']."\">
<TD>{$v[id]}</TD>
<TD><a href='index.php?subtopic=guilds&action=show&guild=" . $v[guild_id] . "'>$v[guild]</a></TD>
<TD>{$v[name]}</TD>
<TD>" . date("d/m/y H:i:s", $v[start]) . "</TD>
<TD>" . date("d/m/y H:i:s", $v[time]) . "</TD>
</TR>
";
}
echo '
<center><h1>War of Emperium</h1></center>
<br>
INFO HERE
';
if(!$winners) {
echo '
<TABLE BORDER=0 CELLSPACING=1 CELLPADDING=4 WIDTH=100%>
<TR BGCOLOR="'.$config['site']['vdarkborder'].'">
<TD CLASS=white>
<B>Winners of WoE</B>
</TD>
</TR>
<TR BGCOLOR='.$config['site']['darkborder'].'>
<TD>
no WoE in '.$config['server']['serverName'].' yet.
</TD>
</TR>
</TABLE>
';
} else {
echo "
<TABLE BORDER=0 CELLSPACING=1 CELLPADDING=4 WIDTH=100%>
<TR BGCOLOR=\"{$config['site']['vdarkborder']}\">
<TD CLASS=white width=5%>
<B>No.</B>
</TD>
<TD CLASS=white width=30%>
<B>Winner guild</B>
</TD>
<TD CLASS=white width=25%>
<B>Conquest by</B>
</TD>
<TD CLASS=white width=20%>
<B>Start time</B>
</TD>
<TD CLASS=white width=20%>
<B>Last conquest</B>
</TD>
</TR>
$winners
</TABLE>
";
}
?>
and there is a way to get Power gamers and More players online for modern aac i use that i found in otland but it said to me many errors about undefined index or variables so, can someone to share with me exphist.php and onlinetime.php also buying war.php (elf)
and there is a way to get this??
PLEASE DONT POST IF YOU DONT WILL HELP ME! With f*c*ing stu*id replys