Football

Rewa ready for AS Pirae

May 23, 2024 12:46 pm

[Source: Rewa FC]

Rewa FC will spare no effort in their pursuit of its first OFC Men’s Champions League title win in Tahiti.

Head coach Rodeck Singh says they’ve been preparing well and will make a few adjustments to their starting lineup today against AS Pirae in the semifinal.

“A bit of reshuffle here and there but not too much, maybe only one, but again not a big reshuffle from what we have been doing.”

Article continues after advertisement

AS Pirae will be playing their own kind of football against Rewa.

The Tahitian team will only focus on their game plan.

Head coach Vatea Tarai says they’ve achieved their first goal, which is making the last four, and are now onto their next goal, to bag the title.

The two sides will clash at 4 pm today.

The first semifinal between defending champions Auckland City and AS Magenta is underway.

\
\

" + obj["headline"] + "

\

" + obj["paragraph"] + " " + obj["cta"] + "

\

By " + obj["advertiser"] + "

\
\
\
\ "; //console.log (template); $(sl_wrapper).append(template); } function get_webads(){ // get the feed as an object // OLD URL is https://services.fbcnews.com.fj/ads/static/webads.php var fbc_webads = $.getJSON( "https://services.fbcnews.com.fj/ads/webads/", function() { //console.log( "success" ); }) .done(function() { // console.log( "second success" ); objAds = JSON.parse(fbc_webads.responseText); process_sl(); process_banners(); }) .fail(function() { console.log( "error loading webads" ); // @TODO try getting cached value }) .always(function() { //console.log( "complete" ); }); } function process_sl(){ // check if sponsored links container exists objSL = objAds["sponsored-links"]; sl_wrapper = $("#fbc-sl-entries"); if (sl_wrapper.length){ // loop through objSL // clear the SL dive $(sl_wrapper).empty(); for (i = 0; i < objSL.length; i++) { insert_sl(objSL[i]); } } } function process_banners(){ //console.log ("processing banners"); objBanners = objAds["web-banners"]; // process news rectangle 1 for (i = 0; i < objBanners.length; i++) { pl = (objBanners[i].placement); if (pl == "News Rectangle 1"){ objBanners[i].image = objBanners[i].rectangle; NR1.push(objBanners[i]); } } generate_rectangle("#news-rectangle-1", NR1); // process news rectangle 2 for (i = 0; i < objBanners.length; i++) { pl = (objBanners[i].placement); if (pl == "News Rectangle 2"){ objBanners[i].image = objBanners[i].rectangle; NR2.push(objBanners[i]); } } generate_rectangle("#news-rectangle-2", NR2); // process homepage leaderboard for (i = 0; i < objBanners.length; i++) { pl = (objBanners[i].placement); if (pl == lb_type){ objBanners[i].image = objBanners[i].leaderboard; HL.push(objBanners[i]); } } generate_leaderboard(HL); // process homepage rectangle 1 for (i = 0; i < objBanners.length; i++) { pl = (objBanners[i].placement); if (pl == "Homepage Rectangle 1"){ objBanners[i].image = objBanners[i].rectangle; HR1.push(objBanners[i]); } } generate_rectangle("#home-rectangle-1", HR1); // process homepage rectangle 2 for (i = 0; i < objBanners.length; i++) { pl = (objBanners[i].placement); if (pl == "Homepage Rectangle 2"){ objBanners[i].image = objBanners[i].rectangle; HR2.push(objBanners[i]); } } generate_rectangle("#home-rectangle-2", HR2); // process homepage rectangle 3 for (i = 0; i < objBanners.length; i++) { pl = (objBanners[i].placement); if (pl == "Homepage Rectangle 3"){ objBanners[i].image = objBanners[i].rectangle; HR3.push(objBanners[i]); } } generate_rectangle("#home-rectangle-3", HR3); // process homepage rectangle 4 for (i = 0; i < objBanners.length; i++) { pl = (objBanners[i].placement); if (pl == "Homepage Rectangle 4"){ objBanners[i].image = objBanners[i].rectangle; HR4.push(objBanners[i]); } } generate_rectangle("#home-rectangle-4", HR4); // process homepage rectangle 5 for (i = 0; i < objBanners.length; i++) { pl = (objBanners[i].placement); if (pl == "Homepage Rectangle 5"){ objBanners[i].image = objBanners[i].rectangle; HR5.push(objBanners[i]); } } generate_rectangle("#home-rectangle-5", HR5); // process homepage rectangle 6 for (i = 0; i < objBanners.length; i++) { pl = (objBanners[i].placement); if (pl == "Homepage Rectangle 6"){ objBanners[i].image = objBanners[i].rectangle; HR6.push(objBanners[i]); } } generate_rectangle("#home-rectangle-6", HR6); } function generate_rectangle(el, obj){ if (obj.length == 0){ // setup default rectangle return false; } num = obj.length; num = (Math.floor(Math.random() * num)); //console.log (el); //console.log (obj.length); var style = "body.rectangle-ad {\ margin: 0;\ width: 300px;\ height: 170px;\ overflow: hidden;\ }"; var template = ""; el2 = $(el); el2.removeAttr("src"); el2.attr("srcdoc", template); } function generate_leaderboard(obj){ if (obj.length == 0){ // setup default leaderboard return false; } num = obj.length; //num = (Math.floor(Math.random() * num)); num = get_next_leaderboard(num); // num = get_next_leaderboard(obj); var style = "body.leaderboard-ad {\ margin: 0;\ width: 728px;\ height: 90px;\ overflow: hidden;\ }"; var style2 = "@keyframes lb-slide {\ 0%, 100% {\ margin-left: 0px;\ }\ 50% {\ margin-left: -408px;\ }\ }\ @media (max-width: 700px) { \ .lb {\ animation: lb-slide 10s infinite ;\ } \ .lb {\ width: 320px;\ margin: auto;\ height: 90px;\ overflow: hidden;\ }}"; var template = ""; el = "#homepage-leaderboard"; el2 = $(el); el2.removeAttr("src"); el2.attr("srcdoc", template); el = "#homepage-leaderboard-mobile"; el2 = $(el); el2.removeAttr("src"); el2.attr("srcdoc", template); } //assumes JQUERY is already loaded - DO A CHECK get_webads(); /*new in 07/05/2023*/ function get_next_leaderboard(num) { //console.log ("get_next_leaderboard(num) "); //console.log (num); // Check local storage for variable leaderboard_shown, defaulting to 0 let leaderboard_shown = parseInt(localStorage.getItem('leaderboard_shown')) || 0; // Add +1 to leaderboard_shown and make sure it's not more than num leaderboard_shown = (leaderboard_shown + 1) % (num); // Save leaderboard_shown to local storage localStorage.setItem('leaderboard_shown', leaderboard_shown.toString()); //console.log (leaderboard_shown); // Return leaderboard_shown return leaderboard_shown; }