= '$datetoday' LIMIT 1"; $poster_query = mysqli_query($db,$poster_sql) or die(mysqli_error());; $poster_status = mysqli_num_rows($poster_query); if($poster_status > 0){ while($dataPoster = mysqli_fetch_array($poster_query)){ $posTitle = $dataPoster["title"]; $posPoster = $dataPoster["poster"]; } } //$poster_status = 0; // Check Address $address_sql = "SELECT * FROM notification_address WHERE datestart <= '$datetoday' AND dateexpiry >= '$datetoday' LIMIT 1"; $address_query = mysqli_query($db,$address_sql) or die(mysqli_error()); $address_status = mysqli_num_rows($address_query); ?> <? echo $pageTitle; ?>
The International Palm Oil Sustainability Conference 2020 (IPOSC 2020) is MPOC’s biannual conference that highlights the sustainability challenges and opportunities in the Malaysian palm oil industry to all stakeholders. This year, the 6th IPOSC 2020 will be hosted by MPOC on a virtual platform, comprising two modules, in response to the COVID-19 pandemic affecting us globally.
Virtual IPOSC 2020’s Module 2 will feature presentations from experts from the agriculture, research and palm oil sectors who will share their views on the recent developments, challenges and possible solutions on renewable energy, climate change and food security, as well as how the recent COVID-19 has impacted these efforts. The topics include:
  • Land Use Change and Indirect Land Use Change (ILUC) risk across vegetable oil crops
  • Methane Avoidance
  • Renewable Energy Policy
  • Palm Oil and Deforestation
  • Food Security
0){ ?>
<? echo $posTitle;?>
0){ while($dataAddress = mysqli_fetch_array($address_query)){ $addTitle = $dataAddress["title"]; $addName = $dataAddress["name"]; $addDesignation = $dataAddress["designation"]; $addEdition = $dataAddress["edition"]; $addMessage = $dataAddress["message"]; $addMessage_format = nl2br($addMessage); $addSignature = $dataAddress["signature"]; $addPicture = $dataAddress["picture"]; } ?>
:



=$dateminus1week AND dateexpiry >= '$datetoday' ORDER BY datestart DESC LIMIT 1") or die(mysql_error()); //echo "$dateminus1week $datetoday"; $ftrVolQuery = "select * from volume where (datestart >= '$dateminus1week' OR datestart <= '$dateminus1week') AND dateexpiry >= '$datetoday' ORDER BY volumetype ASC"; $ftrVolSQL = mysqli_query($db,$ftrVolQuery) or die(mysqli_error()); $ftrVolSqlCount = mysqli_num_rows($ftrVolSQL); //echo "Volume Count = $ftrVolSqlCount"; if($ftrVolSqlCount < 1 || $ftrVolSqlCount == null){ $ftr_divBgClass = "bgOld"; ?>
Archive Highlights
1){ $sqlIdSpeaker = "WHERE idspeaker IN ($ftr_repSpkId) ORDER BY FIELD(idspeaker, $ftr_repSpkId)"; } else if($ftr_repSpkIdLen == 1){ $sqlIdSpeaker = "WHERE idspeaker = '$ftr_repSpkId'"; } $spkCount = 0; $spkSQL = "SELECT * FROM speaker $sqlIdSpeaker"; ?>
...
1){ $likesWord = "likes"; } if($ftr_repViews < 2){ $viewsWord = "view"; } else if($ftr_repViews > 1){ $viewsWord = "views"; } if($ftr_comCount < 2){ $commentsWord = "comment"; } else if($ftr_comCount > 1){ $commentsWord = "comments"; } $countSeperator = "   |   "; if($ftr_repViews > 0){ ?> 0){ if($ftr_repViews > 0){ echo $countSeperator;} ?> 0){ if(($ftr_repViews > 0) || ($ftr_comCount > 0)){ echo $countSeperator;} ?>
1){ ?>
1){ echo ", "; } echo "
$ftr_spkName
"; if(!empty($ftr_spkCompany)){ echo "
$ftr_spkCompany
"; } } ?>
0){ $ftrVolCounter = 0; while ($ftr_dataVolume = mysqli_fetch_array($ftrVolSQL)){ $ftrVolCounter++; $ftr_volId = $ftr_dataVolume['idvolume']; $ftr_volTitle = $ftr_dataVolume['title']; $ftr_volDateStart = $ftr_dataVolume['datestart']; $ftr_volDateStart_YMD = date("Y-m-d",strtotime($ftr_volDateStart)); $ftr_volDateStart_month = date("M",strtotime($ftr_volDateStart)); $ftr_volDateExpiry = $ftr_dataVolume['dateexpiry']; $ftr_volDateExpiry_month = date("M",strtotime($ftr_volDateExpiry)); $ftr_volType = $ftr_dataVolume['volumetype']; if($ftr_volDateStart_month == $ftr_volDateExpiry_month){ $ftr_volDateStart_format = date("d",strtotime($ftr_volDateStart)); $ftr_volDateExpiry_format = date("d M Y",strtotime($ftr_volDateExpiry)); } else{ $ftr_volDateStart_format = date("d M",strtotime($ftr_volDateStart)); $ftr_volDateExpiry_format = date("d M Y",strtotime($ftr_volDateExpiry)); } // Title Box Switch if($ftrVolCounter == 1 && $ftr_volType==1){ $featureTitleBoxClass = "featureTitleBox"; } else if($ftrVolCounter > 1 && $ftr_volType==1){ $featureTitleBoxClass = "featureTitleBoxRounded"; } else if($ftrVolCounter > 1 && $ftr_volType==2){ $featureTitleBoxClass = "featureSubTitleBox"; } else{ $featureTitleBoxClass = "featureTitleBox"; } // Hyperlink Switch if($ftr_volType==1){ $repLinkSingleClass = "fontXL-Grn-Light"; $repLinkDualClass = "fontM-Grn-Bold"; } else if($ftr_volType==2){ $repLinkSingleClass = "fontXL-Org-Bold"; $repLinkDualClass = "fontM-Org-Bold"; } if($datetoday >= $ftr_volDateStart_YMD){ $tabTitle = "NOW"; $ftr_DateDistance = $ftr_volDateExpiry; $ftr_togoWord = "LEFT"; $ftr_lastWord = "LAST DAY"; } else{ $tabTitle = "NEXT"; $dateminus1day = date('Y-m-d', strtotime('-1 day', strtotime($ftr_volDateStart_YMD))); $ftr_DateDistance = $dateminus1day; $ftr_togoWord = "TO GO"; $ftr_lastWord = "TOMORROW"; } $ftr_dayDiff = daysDifference($ftr_DateDistance,$datetoday); if($ftr_dayDiff > 1){ $ftr_dayDiffWord = "DAYS"; } else if($ftr_dayDiff < 2){ $ftr_dayDiffWord = "DAY"; } if($ftrVolSqlCount < 2){ $ftr_dataRowClass = "divContentCenterOuter1"; } else if($ftrVolSqlCount > 1){ $ftr_dataRowClass = "divContentCenterOuter2"; } if($ftr_volType == 1){ $ftr_divBgClass = "bgMain"; $ftr_divBgTopClass = "bgMainDark"; $ftr_divLinkClass = "btnReportTitleMain"; $ftr_divBorderClass = "borderMain"; } else if($ftr_volType == 2){ $ftr_divBgClass = "bgSub"; $ftr_divBgTopClass = "bgSubDark"; $ftr_divLinkClass = "btnReportTitleSub"; $ftr_divBorderClass = "borderSub"; } ?>
1){ $sqlIdSpeaker = "WHERE idspeaker IN ($ftr_repSpkId) ORDER BY FIELD(idspeaker, $ftr_repSpkId)"; } else if($ftr_repSpkIdLen == 1){ $sqlIdSpeaker = "WHERE idspeaker = '$ftr_repSpkId'"; } $spkCount = 0; $spkSQL = "SELECT * FROM speaker $sqlIdSpeaker"; ?>
...
0) || ($ftr_comCount > 0) || ($ftr_repLikes > 0)){ ?>
1){ $likesWord = "likes"; } if($ftr_repViews < 2){ $viewsWord = "view"; } else if($ftr_repViews > 1){ $viewsWord = "views"; } if($ftr_comCount < 2){ $commentsWord = "comment"; } else if($ftr_comCount > 1){ $commentsWord = "comments"; } $countSeperator = "   |   "; if($ftr_repViews > 0){ //echo " ".$ftr_repViews; //echo strtoupper("$ftr_repViews $viewsWord"); ?> 0){ //echo " ".$ftr_comCount; if($ftr_repViews > 0){ echo $countSeperator;} //echo strtoupper("$ftr_comCount $commentsWord"); ?> 0){ if(($ftr_repViews > 0) || ($ftr_comCount > 0)){ echo $countSeperator;} //echo strtoupper("$ftr_repLikes $likesWord"); ?>
1){ ?>
1) && ($spkCount < $ftr_repSpkIdLen)){ echo ", "; } else if(($spkCount > 1) && ($spkCount == $ftr_repSpkIdLen)){ echo " & "; } //echo "$ftr_spkName"; if($ftr_repSpkIdLen > 1){ echo $ftr_spkName; } else{ echo "
$ftr_spkName
"; if(!empty($ftr_spkCompany)){ echo "
$ftr_spkCompany
"; } } } ?>