// $oFixture->gameweek = $data['gameweek']; // $oFixture->filterFixtureList(); // } // else { if (isset($_GET['leagueid']) != "") { $oFixture->leagueid = $_GET['leagueid']; // To display list of gameweek of this week of certain league // To get this week date range // $sunday = strtotime("last sunday"); // $sunday = date('w', $sunday)==date('w') ? $sunday+7*86400 : $sunday; // $saturday = strtotime(date("Y-m-d",$sunday)." +6 days"); // $this_week_sd = date("Y-m-d",$sunday); // $this_week_ed = date("Y-m-d",$saturday); // $oFixture->week_sd = $this_week_sd; // $oFixture->week_ed = $this_week_ed; $oFixture->fixtureList(); } // } ?> </div><!-- end col-xs-12 col-sm-6 col-md-8 --> <div class="col-md-2"> <div class="team-standing"> <!-- For team standing --> <div class="small-page-title">Team Standing</div> <?php include "classes/team.class.php"; $oTeam = new team(); $oTeam->leagueid = $_GET['leagueid']; $oTeam->season = date("Y"); $oTeam->teamStanding(); ?>