BookieModParse error: parse error, unexpected T_DOUBLE_ARROW

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   BookieModParse error: parse error, unexpected T_DOUBLE_ARROW
pride
CZ Super Newbie
pride has been a member for over 20 year's 20 Year Member
Website:
Status: Offline
Joined: Oct 21, 2003
0.01 posts per day
Posts: 45
Points: 2,998
AIM Address   
Parse error: parse error, unexpected T_DOUBLE_ARROW in /home/pride/public_html/modules/Forums/index.php on line 104

Code from around line 104 of index.html

//
// End session management
//

// Bookie Mod
$time_now = time();
$total_bets = 0;
$count_assigned = 0;
$sql = "SELECT * FROM " . BOOKIE_BETS_TABLE . " WHERE time<'$time_now' AND checked=0 ";

if ( !($result = $db->sql_query($sql)) )
{
   message_die(GENERAL_ERROR, 'Error getting total for Bookie Mod', '', __LINE__, __FILE__, $sql);
}
while ( $row = $db->sql_fetchrow($result) )
   {
   $total_bets = $total_bets +1;
   }
   
$sql = "SELECT * FROM " . BOOKIE_BETS_TABLE . " WHERE checked=0 ";

if ( !($result = $db->sql_query($sql)) )
{
   message_die(GENERAL_ERROR, 'Error getting total for Bookie Mod', '', __LINE__, __FILE__, $sql);
}
while ( $row = $db->sql_fetchrow($result) )
   {
   $odds_1 = $row['odds_1'];
   $odds_2 = $row['odds_2'];
   if ( $odds_1 == 0 || $odds_2 == 0 )
   {
   $count_assigned = $count_assigned + 1;
   }
   }
   if ( $total_bets > 0 )
   {
   $bookie_image = "<img src=\"templates/subSilver/images/folder_new_hot.gif\" alt=\"New\" hspace=\"3\" border=\"0\"/>";
   }
   else
   {
   $bookie_image = "<img src=\"templates/subSilver/images/folder.gif\" alt=\"None\" hspace=\"3\" border=\"0\"/>";
   }
   
   if ( $count_assigned > 0 )
   {
   $assign_image = "<img src=\"templates/subSilver/images/folder_new_hot.gif\" alt=\"New\" hspace=\"3\" border=\"0\"/>";
   }
   else
   {
   $assign_image = "<img src=\"templates/subSilver/images/folder.gif\" alt=\"None\" hspace=\"3\" border=\"0\"/>";
   }
   

// End Bookie Mod

#
#-----[ FIND ]------------------------------------------
#

'L_ONLINE_EXPLAIN' => $lang['Online_explain'],

#
#-----[ AFTER, ADD ]------------------------------------------
#

      // Bookie Mod
      'BOOKIE_START' => $lang['bookie_start'],
      'BOOKIE_COUNT' => $total_bets,
      'BOOKIE_END' => $lang['bookie_finish'],
      'ASSIGN_START' => $lang['bookie_assign_start'],
      'ASSIGN_COUNT' => $count_assigned,
      'ASSIGN_END' => $lang['bookie_assign_finish'],
      'BOOKIE_HEADER' => $lang['bookie_header'],
      'BOOKIE_IMAGE' => $bookie_image,
      'ASSIGN_IMAGE' => $assign_image,
      
      // End Bookie Mod


Line 104 is:
'L_ONLINE_EXPLAIN' => $lang['Online_explain'],


Can anyone help?


Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
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 cannot attach files in this forum
You cannot download files in this forum