Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Modules
Author Message
oneunit
Regular
Regular


Joined: Feb 18, 2008
Posts: 94

PostPosted: Sun Feb 24, 2008 3:43 pm Reply with quote

i dl the zip, extracted it, installed it, and when i went to the screen the bg of it was red.. ewy. it does not do this for the block, but for the module.. its hell-a ugly if you notice below, every thing is bgcolor1,2,3 and so on. what can i change in the index that will change this color. can i change it to transparent?
Only registered users can see links on this board! Get registered or login!


function WarsIndex($orderby) {
global $prefix, $db, $sitename, $bgcolor1, $bgcolor2, $bgcolor4;
include("header.php");
OpenTable();
//calculate wins, loses, draws...
$result = $db->sql_query("SELECT wid FROM " . $prefix . "_wars ");
$nrwars = $db->sql_numrows($result);

$result_win = $db->sql_query("SELECT wid FROM " . $prefix . "_wars WHERE our_score > opp_score");
$win = $db->sql_numrows($result_win);

$result_lose = $db->sql_query("SELECT wid FROM " . $prefix . "_wars WHERE opp_score > our_score");
$lose = $db->sql_numrows($result_lose);

$draw = $nrwars - ($win + $lose);


echo "<br><center><font class=\"option\"><b>Wars</b></font><br><br></center>";
echo "<div align=\"center\">Order by : <a href=\"modules.php?name=Wars\">Date</a> | <a href=\"modules.php?name=Wars&amp;orderby=game,\">Game</a> | <a href=\"modules.php?name=Wars&amp;orderby=opp_name, opp_tag,\">Opponent</a> | <a href=\"modules.php?name=Wars&amp;orderby=style,\">Style</a> | <a href=\"modules.php?name=Wars&amp;orderby=gametype,\">Gametype</a></div><br>";
echo"<center><table width=100% border=0 cellpadding=3 bgcolor=$bgcolor4 cellspacing=1><tr>"
."<td bgcolor=\"$bgcolor4\" align=\"center\" nowrap=\"nowrap\"></td>"
."<td bgcolor=\"$bgcolor4\" align=\"center\" nowrap=\"nowrap\"><b>Date</b></td>"
."<td bgcolor=\"$bgcolor4\" align=\"center\" nowrap=\"nowrap\"><b>Opponent</b></td>"
."<td bgcolor=\"$bgcolor4\" align=\"center\" nowrap=\"nowrap\"><b>Style</b></td>"
."<td bgcolor=\"$bgcolor4\" align=\"center\" nowrap=\"nowrap\"><b>Gametype</b></td>"
."<td bgcolor=\"$bgcolor4\" align=\"center\" nowrap=\"nowrap\"><b>Results</b></td>"
."<td bgcolor=\"$bgcolor4\" align=\"center\" nowrap=\"nowrap\"><b>Report</b></td><tr>";
$result = $db->sql_query("SELECT wid, status, game, day, month, year, opp_tag, opp_name, opp_url, opp_country, style, gametype, our_score, opp_score from " . $prefix . "_wars order by $orderby year DESC, month DESC, day DESC");
while ($row = $db->sql_fetchrow($result)) {
 
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 17077

PostPosted: Sun Feb 24, 2008 4:22 pm Reply with quote

Just for clarification, do you mean vWars? If so, please correct your subject.
 
View user's profile Send private message
oneunit
PostPosted: Sun Feb 24, 2008 4:29 pm Reply with quote

Match Wars Record Module And Block

Description: This is a module for keeping track of your games/matches that your have played or are about to play a must for any clan/guild


i dont think thats vwars.. but i may be wrong
 
oneunit
PostPosted: Sun Feb 24, 2008 7:10 pm Reply with quote

problem fixed, thanks
 
Raven
PostPosted: Sun Feb 24, 2008 8:08 pm Reply with quote

Thanks for letting us know :clap:
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Modules

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©