What People Are Saying
include("../mf_appglobals.php");
$fp = fopen ("$datadir/$pressClippingsFile", "r");
$tCounts = 0;
$ids = array();
$publications = array();
$dates = array();
$headlines = array();
$bylines = array();
$citations = array();
$descriptions = array();
$ontops = array();
$urls = array();
while ($data = fgetcsv ($fp, 2400, ",")) {
$did = $data[0];
$ids[$did] = $did;
$publications[$did] = $data[1];
$dates[$did] = $data[2];
$headlines[$did] = $data[3];
$bylines[$did] = $data[4];
$citations[$did] = $data[5];
$descriptions[$did] = $data[6];
$ontops[$did] = $data[7];
if ($data[7]==1) $tCounts++;
$urls[$did] = $data[8];
}
fclose ($fp);
array_multisort($dates,SORT_DESC,$publications,$headlines,$bylines,$citations,$descriptions,$ontops,$urls,$ids);
$bgColor = "C1B7E6";
$tbgColor = "FFE16C";
if ((count($publications)-$tCounts) % 2) $bgColor = "FFE16C";
if (count($publications)==1) $bgColor = "FFE16C";
while (list($key, $value) = each ($publications)) {
$tmpDate = getDate($dates[$key]);
$tDate = $tmpDate[MONTH]." ".sprintf("%02d", $tmpDate[MDAY]).", ".$tmpDate[YEAR];
if ($ontops[$key]==1) {
if ($tbgColor == "FFE16C") {
$tbgColor = "C1B7E6";
} else {
$tbgColor = "FFE16C";
}
$topContent .= "
";
if ($headlines[$key]) $topContent .= "".$headlines[$key]." ";
if (substr($urls[$key],0,7)!="http://") $urls[$key]="http://".$urls[$key];
if ($urls[$key]) $topContent .= "";
$topContent .= "".$publications[$key]."";
if ($urls[$key]) $topContent .= "";
if ($bylines[$key]) $topContent .= " ".$bylines[$key];
$topContent .= " ".$tDate;
$topContent .= " "".$citations[$key]."" ";
if ($descriptions[$key]) $topContent .= "".$descriptions[$key]." | \n";
} else {
if ($bgColor == "FFE16C") {
$bgColor = "C1B7E6";
} else {
$bgColor = "FFE16C";
}
$Content .= "
";
if ($headlines[$key]) $Content .= "".$headlines[$key]." ";
if ($urls[$key]) $Content .= "";
$Content .= "".$publications[$key]."";
if ($urls[$key]) $Content .= "";
if ($bylines[$key]) $Content .= " ".$bylines[$key];
$Content .= " ".$tDate;
$Content .= " "".$citations[$key]."" ";
if ($descriptions[$key]) $Content .= "".$descriptions[$key]." | \n";
}
}
print $topContent;
print $Content;
?>
Margaret's
Huevos Rancheros
were featured in the April 2005 issue of Cuisine at Home. |
|
Margaret's pancakes brightened the cover of the January 2005 edition
of Sunset Magazine.
The blissfully indulgent
Blueberry-Cream Cheese Coffee Cake reprinted in the article is courtesy
of renowned baker Elaine Wing Hillesland, who, with husband Eric,
owns Alegria
Oceanfront Inn in Mendocino. |
|
Margaret Fox was featured in the Spring 2004 issue of Savor Magazine. |
|
|
© 2004 - 2009 Margaret Fox All Rights Reserved
• Site design by Elyseum
Portrait of Margaret Fox © jperlmanphotography.com
|
|
|