<?php session_start(); require_once('Connections/rs.php');

if (!function_exists("GetSQLV
lueString")) {
function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
{
//  $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;

  $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);

  switch ($theType) {
    case "text":
      $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
      break;
    case "long":
    case "int":
      $theValue = ($theValue != "") ? intval($theValue) : "NULL";
      break;
    case "double":
      $theValue = ($theValue != "") ? "'" . doubleval($theValue) . "'" : "NULL";
      break;
    case "date":
      $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
      break;
    case "defined":
      $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
      break;
  }
  return $theValue;
}
}
error_reporting(E_ALL);
ini_set("display_errors", 1);
error_reporting(0);
// Include visitor log script
include_once 'user_activity_log.php';

$page = basename($_SERVER['SCRIPT_FILENAME']);
$page = str_replace('_',' ',$page);
$page = str_replace('.php','',$page);
$page = ucfirst($page);

//mysql_select_db($database_rs, $rs);
//$query_rs_titletext = "SELECT * FROM site_text WHERE `where` = 'page_titles'";
//$rs_titletext = mysql_query($query_rs_titletext, $rs) or die(mysql_error());
//$row_rs_titletext = mysql_fetch_assoc($rs_titletext);
//$totalRows_rs_titletext = mysql_num_rows($rs_titletext);

$colname_rs_available_coupons = time();

$colname2_rs_available_coupons = time();

mysql_select_db($database_rs, $rs);
$query_rs_selectweek = sprintf("SELECT 	DISTINCT 	`week`.iddateweek, 	`week`.weekno, 	`week`.yearno
FROM coupon
    INNER JOIN `week` ON coupon.weekid = `week`.iddateweek
WHERE start_date_linux < %s AND end_date_linux > %s
ORDER BY weekid, ruleid limit 1",  GetSQLValueString($colname_rs_available_coupons, "int"),GetSQLValueString($colname2_rs_available_coupons, "int"));
$rs_selectweek = mysql_query($query_rs_selectweek, $rs) or die(mysql_error());
$row_rs_selectweek = mysql_fetch_assoc($rs_selectweek);
$totalRows_rs_selectweek = mysql_num_rows($rs_selectweek);

mysql_select_db($database_rs, $rs);
$query_rs_available_coupons = sprintf("SELECT * FROM coupon WHERE reveal_result = 'n' and start_date_linux < %s AND end_date_linux > %s AND can_read='y' ORDER BY weekid, ruleid", GetSQLValueString($colname_rs_available_coupons, "int"),GetSQLValueString($colname2_rs_available_coupons, "int"));
$rs_available_coupons = mysql_query($query_rs_available_coupons, $rs) or die(mysql_error());
$row_rs_available_coupons = mysql_fetch_assoc($rs_available_coupons);
$totalRows_rs_available_coupons = mysql_num_rows($rs_available_coupons);

$colname_rs_userinfo = "-1";
if (isset($_SESSION['uid'])) {
  $colname_rs_userinfo = (get_magic_quotes_gpc()) ? $_SESSION['uid'] : addslashes($_SESSION['uid']);

mysql_select_db($database_rs, $rs);
$query_rs_userinfo = sprintf("SELECT * FROM users WHERE userid = %s limit 1", GetSQLValueString($colname_rs_userinfo, "int"));
$rs_userinfo = mysql_query($query_rs_userinfo, $rs) or die(mysql_error());
$row_rs_userinfo = mysql_fetch_assoc($rs_userinfo);
$totalRows_rs_userinfo = mysql_num_rows($rs_userinfo);
}

// To make compatible to any submit method
$clickthroughreference = '';
if ( isset($_POST['promo']) ) {
  $clickthroughreference = (get_magic_quotes_gpc()) ? $_POST['promo'] : addslashes($_POST['promo']);
}elseif (isset($_GET['promo'])) {
  $clickthroughreference = (get_magic_quotes_gpc()) ? $_GET['promo'] : addslashes($_GET['promo']);
}elseif (isset($_REQUEST['promo'])) {
    $clickthroughreference = (get_magic_quotes_gpc()) ? $_REQUEST['promo'] : addslashes($_REQUEST['promo']);
}

// For access with affiliate reference
//if( $clickthroughreference=='completesports'){

if( $clickthroughreference!=''){
    include('Logs.functions.php');
    $time=gmdate("Y-m-d H:i:s");
    $ip= $_SERVER['REMOTE_ADDR'];
    $localTime    = getRequestVar('h',date("H"),'numeric').':'.
                    getRequestVar('m',date("i"),'numeric').':'.getRequestVar('s',date("s"),'numeric');

    include("browser.php");
    $yourbrowser = new Browser();
    $insertPromo = sprintf("INSERT INTO promotion_redirect (loginTime,promo_refferal, ip,local_time,browser)
                         values ('$time','$clickthroughreference (game)','$ip','$localTime','$yourbrowser')");
  			mysql_select_db($database_rs, $rs);
  			$Result11 = mysql_query($insertPromo, $rs) or die(mysql_error());
}
//$seoFriendlyUrl ='Week-'.$row_rs_weeks['weekno'].'-'.$row_rs_weeks['yearno'].'-pool-result-history';
$seoFriendlyUrl ='Football-Pools-Coupons';
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="pragma" content="no-cache">
<!--
<title>Nigerian Website - Play Football Games | Football Pools Betting | Football Forecast<?php //echo $row_rs_titletext['text'].', '. $page; ?></title>
<meta name="Keywords" content="Nigerian Website, Play Football Games, Football Pools Betting, Betting Online, General Draw, Score Draw, Away and Home Coupon, football result, football betting website, Football fixed odds coupon, Treble Chance Coupon, stake, online stake, stake by SMS, Home Draw, Home Draws, Away draw, General Draw, score Draw, Betting Mobile Application, Pools Mobile Application." />

<meta name="description" content="In Mars online you can stake pools in an easier way than ever before, through GSM phone or from SMS or our website www.marsonline.net.  Mars is not a forcasting group We dont sell draws WE ARE AFRICA'S FOREMOST & NIGERIA'S LEADING POOLS PROMOTERS. We give stakers the Best Opportunity To make GOOD MONEY in POOLS Thru every possible option:
Unlimited Coupon Types; Realistically High Dividends; Prompt Payment of Winnings; Round the clock Service From any part of the world; Solid Ability to accept Heaviest Stakes." />
-->
<title><?php echo 'Week '.$row_rs_selectweek['weekno'].' Pool Fixture '.$row_rs_selectweek['yearno'].' | Football Fixed Odds Coupon | General Draws';?></title>
<meta name="description" content="Stake football pools easily on Mars Online, Nigeria's foremost football pools promoters.  Get the best football pools coupons: fixed odds, General Draws, Treble Chance, Away and Home Coupon, and many others, every blessed week." />
<meta name="Keywords" content="Betting Online, pools online,General Draws,Full Payment Coupon,Treble Chance Coupon,Away and Home Coupon,fixed odds coupon,score draw coupon,Football fixed odds coupon"/>
<meta name="robots" content="index, follow">
<link rel="canonical" href="https://www.marsonline.net/Football-Pools-Coupons" />
<script src="https://analytics.ahrefs.com/analytics.js" data-key="xEfujDSzSBTPhL597gFvRA" async></script>
<style type="text/css">
<!--
body {
    margin-left: 0px;
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
    background-image: url(img/back_bg_down.jpg);
}
.style5 {
    color: #0033FF;
    font-weight: bold;
}
#container_img {
    position:relative;
}
#img2_twitter {
    position: absolute;
    left: 11px;
    top: 5px;
}
#img2_facebook {
    position: absolute;
    left: 48px;
    top: 5px;
}
-->
</style>

<script type="text/JavaScript">
<!--
document.addEventListener('DOMContentLoaded', function() {
    var seoFriendlyUrl = "<?php echo $seoFriendlyUrl; ?>";
    // Check if the browser supports history API
    if (history.pushState) {
        // Update the URL in the address bar without reloading the page
        history.pushState(null, null, '/' + seoFriendlyUrl);
    }
});
        -->

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

//-->
//alert('IT IS NOT LATE TO JOIN THE PROMOTION !!!\r\n\r\n'+'Stake every week from NOW until WK 06 and GET 15% BONUS on your total stakes for the period.');

</script>
<link href="css/css.css" rel="stylesheet" type="text/css" />
<?php include("gtag.js"); ?>
</head>
<?php include("functions.php"); ?>
<body onload="MM_preloadImages('img/btns/01-home_over.gif','img/btns/02-game_over.gif','img/btns/03-result_over.gif','img/btns/04-contact_over.gif')">
<table width="100%" border="0" cellpadding="0" cellspacing="0" background="img/back_bg_down.jpg">

  <tr>
    <td height="" background="img/back_bg.jpg" style="background-repeat:repeat-x"><table width="770" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
      <tr>
      	<td height="4" bgcolor="#F5F5F5"><img src="img/spacer.jpg" width="1" height="4" /></td>
      </tr>
      <tr>
        <td height="116" valign="bottom" background="img/header.jpg"><table width="770" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="48">&nbsp;</td>
            <td width="48">&nbsp;</td>
            <td width="286" align="left">&nbsp;</td>
            <td width="95" align="left"><a href="aboutus.php"><img src="img/btns/01-home.gif" alt="Home" width="94" height="33" border="0" id="Image1" onmouseover="MM_swapImage('Image1','','img/btns/01-home_over.gif',1)" onmouseout="MM_swapImgRestore()" /></a></td>
            <td width="94" align="left"><a href="game.php"><img src="img/btns/02-game_over.gif" alt="Game" name="Image2" width="94" height="33" border="0" id="Image2" onmouseover="MM_swapImage('Image2','','img/btns/02-game_over.gif',1)" onmouseout="MM_swapImgRestore()" /></a></td>
            <td width="95" align="left"><a href="result.php"><img src="img/btns/03-result.gif" alt="Result" width="95" height="33" border="0" id="Image3" onmouseover="MM_swapImage('Image3','','img/btns/03-result_over.gif',1)" onmouseout="MM_swapImgRestore()" /></a></td>
            <td width="95" align="left"><a href="contact.php"><img src="img/btns/04-contact.gif" alt="Contact" width="95" height="33" border="0" id="Image4" onmouseover="MM_swapImage('Image4','','img/btns/04-contact_over.gif',1)" onmouseout="MM_swapImgRestore()" /></a></td>
            <td width="10" align="left"><img src="img/btns/spacer_right.gif" width="10" height="11" /></td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td bgcolor="#FFFFFF"><img src="img/spacer.jpg" width="770" height="1" /></td>
      </tr>
      <tr>
        <td height="210" align="center" valign="bottom" background="img/mars_banner.jpeg" alt="marsonline banner" style="background-position:center; background-repeat:no-repeat">
<!--            <td height="210" align="center" valign="bottom" background="img/bonus-banner.jpg" alt="marsleisure banner" style="background-position:center; background-repeat:no-repeat">  -->
             <?php include("submenu.php"); ?>
             </td>
        </tr>
      <tr>
        <td height="5"><img src="img/spacer.jpg" width="5" height="5" /></td>
      </tr>
      <tr>
        <td><table width="751" border="0" align="center" cellpadding="0" cellspacing="0" background="img/page_bg_fill.jpg" style="background-repeat:repeat-x">
          <tr>
            <td height="54" colspan="5" valign="bottom" background="img/page_header.jpg"><table width="97%" border="0" align="center" cellpadding="0" cellspacing="0">
              <tr>
                <td valign="bottom"><table width="100%" height="54" border="0" cellpadding="0" cellspacing="0">
                    <tr>
                      <td valign="bottom"><table width="100%" height="45" border="0" cellpadding="0" cellspacing="0" class="white_normaltext">
                        <tr>
                          <td width="255" rowspan="3" valign="bottom"><img src="img/titles/02-game.gif" width="198" height="37" /></td>
                          <td>&nbsp;</td>
                        </tr>
                        <tr>
                          <td><span class="gray_vsmall">Available Coupons</span>&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;<a href="advance-fixtures.php" class="whitesmall">Advance Fixtures</a>&nbsp;&nbsp;&nbsp;</td>
                        </tr>
                        <tr>
                          <td>&nbsp;</td>
                        </tr>
                      </table></td>
                      <td align="right" valign="middle"><img src="img/arrow.gif" width="19" height="12" /></td>
                    </tr>
                </table></td>
              </tr>
            </table></td>
          </tr>
          <tr>
            <td width="10">&nbsp;</td>
            <td width="9" valign="top" bgcolor="#B0AFAD"><img src="img/page_border_start.jpg" width="9" height="83" /></td>
            <td width="709" bgcolor="#FFFFFF"><table width="709" border="0" cellpadding="0" cellspacing="10" class="black_normaltext">
              <tr>
                <td><br /></td>
                <td><div align="left"><strong><br />
                  </strong></div>

              <?php if(isset($_SESSION['loggedin']) && $_SESSION['loggedin']=='yes') { ?>
                    <table width="100%" border="0" cellspacing="0" cellpadding="0">
                      <tr>
                        <th scope="row"><div align="left"><strong>Welcome <strong><?php echo ucwords($row_rs_userinfo['title']); ?> <?php echo ucwords($row_rs_userinfo['firstname']); ?></strong>.</strong></div></th>

                        <td><div align="center"><strong>Your Account Balance <strong>
                          <?php if($row_rs_userinfo['curr']=='E') { echo number_format($row_rs_userinfo['amount_euro'], 2, '.', ','); echo " &#1028;"; }else { echo number_format($row_rs_userinfo['amount_naira'], 2, '.', ','); echo " <s>N</s>"; } ?>
                        .</strong></strong></div></td>
                        <td><div align="right"><strong> Last Login:
                          <?php if($row_rs_userinfo['lastloginb4']!='' && $row_rs_userinfo['lastloginb4']!='0' && $row_rs_userinfo['lastloginb4']!=NULL){ echo date("d-m-Y", $row_rs_userinfo['lastloginb4']); }else{ echo "NEVER"; } ?>
                        </strong></div></td>
                      </tr>
                    </table>
    	                       <BR />

                     <?php } else {?>

                                         <?php } ?>

                                                         <table border="1" cellpadding="2" cellspacing="8" bordercolor="#000000" class="black_normaltext" style="border: 1px outset; border-collapse: collapse;">
<tr><td width="790" align="center">


<!--
THE WORLD's FIRST EVER <span class="red_normaltext">POOLS BETTING SEMINAR </span> WILL COME UP IN NIGERIAN MAJOR CITIES, STARTING WITH LAGOS.
<br/>
<br/>
IF YOU ARE <span class="red_normaltext">A SERIOUS STAKER OR AN AGENT WITH AMBITION</span>, YOU MUST ATTEND THIS SEMINAR. IT IS GOING TO BE FIRST-COME-FIRST-SERVED
BOOK A SPACE NOW BY SENDING TEXT: SEMINAR, your full name and CITY of residence to us.
<br/><br/>___________________
<br/><br/>
---------------------------------------------------------------------------
                                 The Mars online Handbook of Pools Betting is OUT NOW. IT IS A COMPEDIUM ON POOLS BETTING THAT TELLS U SO MUCH ABOUT POOLS AND ALSO AVAILS YOU  <span class="red_normaltext">10 UNIQUE POOLS SEQUENCES. </span> <BR /> <BR />
                                 FOR A <span class="red_normaltext">FREE COPY </span> OF THE MARS online HANDBOOK OF POOLS , text<span class="red_normaltext"> HANDBOOK, </span> followed by ur full name, State & MAILING address through which we can get a copy to u, TO <span class="red_normaltext">+44 7624 877 778</span> OR <span class="red_normaltext">+44 778620 8442 </span>.</strong>                     <BR />
 -->

 <!--
  <span class="red_normaltext">Mars is not a forcasting group. We dont sell draws. WE ARE AFRICA'S FOREMOST & NIGERIA'S LEADING POOLS PROMOTERS.
<br/><br/>

We give stakers the Best Opportunity To </span>

<span class="style5"> make GOOD MONEY in POOLS </span> Thru every possible option:<BR /> <BR />

Unlimited Coupon Types; <BR />
Realistically High Dividends;<BR />
Prompt Payment of Winnings;<BR />
 Round the clock Service From any part of the world; <BR />
Solid Ability to accept Heaviest Stakes. <BR /><BR />

<span class="red_normaltext">WHAT ARE YOU WAITING FOR?</span>
<br/>
-->
<br>
<span class="red_normaltext">Mars online Ltd is licensed by the FCT, Abuja, Nigeria to operate as a pools promoter. It is the responsibility of individual account holders to ensure that they comply with their national, local or state laws with regards to pools staking and betting. Stakes must not be placed where this would contravene a customer's national, local or state laws.</span>
<br/><br/>


                </td></tr>
</table>

<!--
 <span class="red_normaltext">MARS YEAR END BONAZA for every STAKER.</span>
<br/><br/>


<span class="style5"> DEPOSIT from 10TH December to 21ST December 2012, and GET </span>
<span class="red_normaltext" > 10% </span> <span class="style5"> BONUS. </span><BR /> <BR />

START STAKING NOW , Don't Let This Big Opportunity Pass You By<BR />
<BR />


<span class="red_normaltext">THE MORE YOU DEPOSIT and STAKE, THE MORE BONUS</span>
<br/>
                </td>
</table>
-->

  <!--
      <br>
                     <div><a href="https://www.derayoptions.com/?pk_campaign=fromMars&pk_kwd=MARS_results">
               <img src="img/derayoptions_banner.jpg" alt="www.derayoptions.com" width="676" height="84" border="1" longdesc="https://www.derayoptions.com" /></a>
               </div>

    <br>
                     <div><a href="http://bit.ly/1o13sul">
               <img src="img/MyFixtures_banner.jpg" alt="www.myfixtures.net" width="676"  border="1" longdesc="http://www.myfixtures.net" /></a>
               </div>


    <br>
                     <div><a href="http://www.marsonline.net/super7-pools-coupons.php">
               <img src="img/Super7-Raffle.jpg" alt="Super7-Raffle_pools-coupons" width="676"  border="1" longdesc="http://www.marsonline.net/super7-pools-coupons.php" /></a>
               </div>

                <br />

                <br />

                <div><a href="http://www.marsonline.net/super7-pools-coupons.php">

               <img src="img/super7_TPM_ads_wk08_2021.jpg" alt="Super7-TPM-pools-coupons-Week-07-2021" width="676" border="1" longdesc="http://www.marsonline.net/super7-pools-coupons.php" /></a>
               </div>

                <br />
                    <strong>                  Congratulations. Now You can STAKE POOLS in an EASIER way than ever before,  <span class="red_normaltext">through our Platform. </span> </strong>

<BR /><BR />
<strong>
<span class="red_normaltext">Our Super7 coupon will be temporarily unavailable. Bear with us, as a regular staker of the coupon. Thanks for your understanding.. </span> </strong>

                     <a href="stakeSMS.php">Click here to read the Guideline.</a> -->
    <br>
                     <div>
<!--               <img src="img/mars_after_16_anniversary_sept_2023.jpg" alt="The 7% SPECIAL BONUS on stake at 07 September 2023." width="676"  border="1" longdesc="http://www.marsonline.net/game.php" /> -->
               <img src="img/mars_banner_2024.png" alt="Terms and Conditions." width="678" border="1" longdesc="https://www.marsonline.net/game.php" />
               </div>

                    <BR />
<!--
                    <BR />

<iframe src="http://www.facebook.com/widgets/like.php?href=http://www.marsonline.co.uk/game.php"
        scrolling="no" frameborder="0" style="border:none; width:600px; height:60px"></iframe>
        -->
                     <div>
                    <h2>                  Available Football Pools Coupons Are :</h2>
                  <?php if(isset($_GET['played']) && $_GET['played']=='yes'){ ?>
                </div>
                  <div align="center" class="red_normaltext"><strong>Your coupon have been successfully submitted<br />
                  </strong></div>
                  <?php }  ?>
<table width="100%" border="0"><tr>

  <td align="center">
      <table width="100%" border="0" cellspacing="0" cellpadding="2">
        <tr><?php $i=0; do { $rarr=getruledetails($row_rs_available_coupons['ruleid']);
        if(isset($_SESSION['acctype']) && $_SESSION['acctype']=='agent'){ $fff='for_agents'; }else{ $fff='for_users'; }
        if($rarr[$fff]=='y' and $rarr['for_web']=='y'){

         ?>
          <td align="center"><br />
            <table border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td><table width="200" border="1" cellpadding="2" cellspacing="0" bordercolor="#000000" style="border-collapse:collapse; cursor:pointer" onclick="window.location='<?php if ($row_rs_available_coupons['ruleid'] >= 18){ echo "game_r.php"; }else{
                          echo "super7-pools-coupons.php" ; }?>?cid=<?php echo md5($row_rs_available_coupons['idcoupon']); ?>'; 	">
                  <tr>
                    <td><table width="200" border="0" cellspacing="0" cellpadding="2">
                        <tr>
                          <td align="left" border="0"><a href="<?php
                          if ($row_rs_available_coupons['ruleid'] >= 18){
                          echo 'game_r.php?r='.$row_rs_available_coupons['ruleid'].'&w='.$row_rs_available_coupons['weekid'].'&cid='.md5($row_rs_available_coupons['idcoupon']);
                          }else{
                          echo 'super7-pools-coupons.php?cid='.md5($row_rs_available_coupons['idcoupon']).'&r='.$row_rs_available_coupons['ruleid'].'&w='.$row_rs_available_coupons['weekid'];
                          }
                          ?>"><img src="rules/<?php echo $row_rs_available_coupons['ruleid']; ?>.jpg" border="0" align="top" /></a></td>
                          <td align="left" class="gray_vsmall"><?php echo '<h3>'.$rarr['description'].'</h3>';?>                          </td>
                        </tr>
                        <tr>
                          <td colspan="2" align="center" border="0"><strong>Season:</strong>
                            <?php $arr=getweekinfo($row_rs_available_coupons['weekid']); echo ucwords(idseasontoname($arr['idseason'])); ?>
- <strong>Week Nbr:</strong> <?php echo $arr['weekno']; ?></td>
                        </tr>
                    </table></td>
                  </tr>
              </table></td>
              <td width="15" align="right" valign="top"><strong>
                <?php if($row_rs_available_coupons['can_play']=='n'){ ?>
                <img src="img/read_only.gif" alt="read only" width="12" height="11" align="bottom" />
                <?php } ?>
              </strong></td>
            </tr>
          </table>
            </td>
          <?php $i++; if($i%3=='0'){ echo "</tr><tr>"; }} } while ($row_rs_available_coupons = mysql_fetch_assoc($rs_available_coupons)); ?>
        </tr>
            </table>
      <br />
      <br /></td>

</tr>
</table><?php if($i=='0'){ ?><center>
  <p><strong>No Coupon Available Now.</strong>
      <br />
      <br />
      OUR COUPONS FOR THE WEEK ARE NOW CLOSED.
      <br /> <br />
<!--      We are currently upgrading our system to provide you with  the top quality service you have come to expect.<br />
      <br />
We work hard to make these time periods as short as possible. We regret any  inconvenience this might cause to our valued customers, but hope that you will  be pleased with the improved performance that you will experience as a result  of the upgrade.
-->
COUPONS FOR THE NEW WEEK WILL BE AVAILABLE FROM 1:00AM ON MONDAY.
<br />  <br />
<br />
<strong>Thank you for your patience and continued patronage.</strong> </p>  <p>&nbsp;</p>
</center><?php } ?>
<br />
<br />
<br />
<span class="gray_vsmall">( <img src="img/read_only.gif" alt="read only" width="12" height="11" /> ) for the Read Only Coupons, You can't stake them. </span></td>
              </tr>
            </table></td>
            <td width="9" valign="top" bgcolor="#B0AFAD"><img src="img/page_border_start.jpg" width="9" height="83" /></td>
            <td width="14">&nbsp;</td>
            </tr>
          <tr>
            <td height="9"><img src="img/spacer_transp.gif" width="1" height="9" /></td>
            <td height="9" colspan="3" bgcolor="#B0AFAD"><img src="img/spacer_transp.gif" width="1" height="9" /></td>
            <td height="9"><img src="img/spacer_transp.gif" width="1" height="9" /></td>
            </tr>
        </table></td>
      </tr>
      <tr>
        <td><?php include("footer.php"); ?></td>
      </tr>
      <tr>
        <td>&nbsp;</td>
      </tr>
    </table></td>
  </tr>
</table>
</body>
</html>
<?php
//mysql_free_result($rs_titletext);
//mysql_free_result($rs_available_coupons);
mysqli_close($rs);
?>