About Blog Books Classes Donate Kids Parasha

Welcome to the Messianic Education Trust website!

Each week we publish a commentary on the Torah portion, which you can read here or by clicking the link above 'Parasha'. All the texts used in the commentaries are fully indexed in the Scripture Index. This week's parasha is Tzav, and you can read its commentary here, which is based on the text: "Everything that touches them will become holy.." We tweet a commentary from our library every day on our Twitter feed @MessianicTrust.

Please follow us on Twitter (below) or engage with the conversation on our blog so that we can get to know you.

name = $aname; $f = file($bdir . "/" . $yno . "/" . $aname); $this->cc = 0; $in_comment = false; $in_content = false; foreach ($f as $l) { $line = trim($l); if (count($line) == 0 || $line[0] == "#") continue; if (strpos($line, "==") === false) { if ($in_content) $this->content = $this->content . " " . $line; continue; } $in_comment = false; $in_content = false; $lc = explode("==", $line); switch (trim($lc[0])) { case "author": $this->author = trim($lc[1]); $this->author[0] = strtoupper($this->author[0]); break; case "comment": $this->cc++; $in_comment = true; break; case "content": $this->content = trim($lc[1]); $in_content = true; break; case "series": break; case "tags": break; case "time": $this->time = trim($lc[1]); break; case "title": $this->title = trim($lc[1]); break; } } } } class year { var $name; var $article; function year($yno, $bdir) { // Constructor - find all the months in the directory $this->name = $yno; // Open the year directory and pick up all the articles $dh = opendir($bdir . "/" . $yno); $ac = 0; while (($a = readdir($dh))) { if ($a[0] >= "0" && $a[0] <= "9") { $na = new article($yno, $bdir, $a); $this->article[$ac++] = $na; } } if ($ac > 0) rsort($this->article); } } function FindLatest($bdir) { // Scan a given directory to pick up years $dh = opendir($bdir); $yc = 0; while (($f = readdir($dh))) { if ($f[0] >= "0" && $f[0] <= "9") $year[$yc++] = new year($f, $bdir); } closedir($dh); // Sort the years into reverse order - highest first rsort($year); // Return the latest year return $year[0]; } $y = FindLatest("frothing"); $art = $y->article[0]; $pac = array_slice(explode("-", $art->name), 0, 3); $pad = implode("-", $pac); $dp = strtotime($pad . " " . $art->time); // printf("latest year: %s
\n", $y->name); // printf("latest article: %s
\n", $art->name); // printf("dp: %s
\n", $dp); // printf("latest article content: %s
\n", $art->content); ?> >
> From our blog --
> title ?>
content; ?>
> Posted By > author ?>, name; ?> target=_blank>Comment > Comments: > cc ?>