[insert_php]
$x = get_page_by_title( ‘pemline-data’ )->post_content;
$x = str_replace(“
“, “\n”, $x);
$x = str_replace(“
“, “\n”, $x);
$x = explode(“\n”, $x);
$bgcolors = array(‘lightblue’, ‘pink’, ‘beige’, ‘lightgray’);
$bgi = 0;
$bgyr = array();
for ($y = 2000; $y < 2020; $y++) {
$bgyr[$y] = $bgcolors[$bgi];
$bgi++;
if ($bgi > 3) $bgi = 0;
}
print “
$t |
function cleanupline($line) {
$line = trim($line);
$line = trim($line);
$line = trim($line);
$line = trim($line);
$line = str_replace(“
“, “”, $line);
$line = str_replace(“‘”, “”, $line);
return $line;
}
//$x = get_page_by_title( ‘pemline-data’ );
//print “
" . print_r($x, true) . "
“;
//$x = file_get_contents(“https://stage.pemnet.com/pemline-data/”);
//print “
“;
[/insert_php]