You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 228 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - Scoreboard Block [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
Beretta
Sergeant
Sergeant


Joined: Sep 30, 2005
Posts: 88

Location: Indiana USA

PostPosted: Fri May 12, 2006 10:08 pm Reply with quoteBack to top

Can anyone make this block for me? heres the php code:
Code:

  <?
require('connect.php');
require('setting.php');

$query_scoreb = "SELECT * FROM boxscore WHERE date>='$date' AND date<='$date1' ORDER BY id ASC";
$scoreb = mysql_query($query_scoreb, $db) or die(mysql_error());
$row_scoreb = mysql_fetch_assoc($scoreb);
$totalRows_scoreb = mysql_num_rows($scoreb);
                    ?>
  <p>Week <a href="<?PHP echo "scoreboard.php?date=2004-2-23&date1=2004-3-05"; ?>">1</a>, Week <a href="<?PHP echo "scoreboard.php?date=2004-3-06&date1=2004-3-12"; ?>">2, </a>Week <a href="<?PHP echo "scoreboard.php?date=2004-3-13&date1=2004-3-19"; ?>">3</a>, Week <a href="<?PHP echo "scoreboard.php?date=2004-3-20&date1=2004-3-26"; ?>">4</a>, Week <a href="<?PHP echo "scoreboard.php?date=2004-3-27&date1=2004-4-02"; ?>">5</a>, Week <a href="<?PHP echo "scoreboard.php?date=2004-4-03&date1=2004-4-09"; ?>">6</a>, Week <a href="<?PHP echo "scoreboard.php?date=2004-4-10&date1=2004-4-16"; ?>">7</a>, Week <a href="<?PHP echo "scoreboard.php?date=2004-4-17&date1=2004-4-23"; ?>">8</a>, Week <a href="<?PHP echo "scoreboard.php?date=2004-4-26&date1=2004-4-30"; ?>">9</a>, Week <a href="<?PHP echo "scoreboard.php?date=2004-5-1&date1=2004-5-6"; ?>">10</a>,</p>
  <table border="1" cellpadding="4" cellspacing="0" bordercolor="#006699">
    <tr bgcolor="#FFFFFF">
      <td colspan="5"><div align="center"><span class="style9">Total Week games played: <?php echo $row_gp['COUNT(id)']; ?></span></div></td>
    </tr>
    <tr bgcolor="#FFFFFF">
      <td><div align="center" class="style9">Game ID </div></td>
      <td><div align="center" class="style9">Away</div></td>
      <td><div align="center" class="style9">Score</div></td>
      <td><div align="center" class="style9">Home</div></td>
      <td><div align="center" class="style9">Score</div></td>
    </tr>
    <?php do { ?>
    <tr bgcolor="#FFFFFF">
      <td><a href="<?PHP echo "../boxscores.php?id=" . $row_scoreb['id'] ."&home=" . $row_scoreb['opponent'] ."&away=" . $row_scoreb['team'] .""; ?>" class="style9"><?php echo $row_scoreb['id']; ?></a></td>
      <td><a href="<?PHP echo "../boxscores.php?id=" . $row_scoreb['id'] ."&home=" . $row_scoreb['opponent'] ."&away=" . $row_scoreb['team'] .""; ?>" class="style9 style9"><?php echo $row_scoreb['team']; ?></a></td>
      <td><a href="<?PHP echo "../boxscores.php?id=" . $row_scoreb['id'] ."&home=" . $row_scoreb['opponent'] ."&away=" . $row_scoreb['team'] .""; ?>" class="style9"><?php echo $row_scoreb['score']; ?></a></td>
      <td><a href="<?PHP echo "../boxscores.php?id=" . $row_scoreb['id'] ."&home=" . $row_scoreb['opponent'] ."&away=" . $row_scoreb['team'] .""; ?>" class="style9"><?php echo $row_scoreb['opponent']; ?></a></td>
      <td><a href="<?PHP echo "../boxscores.php?id=" . $row_scoreb['id'] ."&home=" . $row_scoreb['opponent'] ."&away=" . $row_scoreb['team'] .""; ?>"><?php echo $row_scoreb['score1']; ?></a></td>
    </tr>
    <?php } while ($row_scoreb = mysql_fetch_assoc($scoreb)); ?>
 
Find all posts by BerettaView user's profileSend private messageSend e-mailVisit poster's websiteAIM AddressYahoo MessengerMSN MessengerICQ Number
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next 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



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by TOGETHER TEAM srl ITALY http://www.togetherteam.it - DONDELEO E-COMMERCE http://www.DonDeLeo.com - TUTTISU E-COMMERCE http://www.tuttisu.it
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.284 Seconds - 175 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::