include getenv("DOCUMENT_ROOT")."/omdb/omdb.php"; ?>
$PROTECT=new protect(0);
$USER=$PROTECT->USER;
$navPath=array("sitins","people");
$SEO["title"]="people hot buttered rum has played with";
$ppl=new people(0);
$ppl->sitinGet();
$ppl->extraDefs();
$as=new artists(1);
$instrs=new instruments(1);
$sortCol=empty($sortCol)?"lnames":$sortCol;
$sortDir=empty($sortDir)?"a":$sortDir;
foreach($ppl->items as $k=>$item) {
$keys["k".$k]=$k;
$fnames["k".$k]=$item->name;
$lnames["k".$k]=$item->lastnamefirst;
$artists["k".$k]=$as->items[$item->artist]->name;
$instruments["k".$k]=$instrs->items[$item->primaryinst]->name;
$times["k".$k]=$item->numShows;
$item->getSitins();
list($firstKeys["k".$k],$firstDates["k".$k])=$item->sitins->colMin("showdate");
list($lastKeys["k".$k],$lastDates["k".$k])=$item->sitins->colMax("showdate");
}
if(!empty($sortCol)) {
$fn="a".($sortDir=="r"?"r":"")."sort";
$fn($$sortCol);
}
?>
include getenv("DOCUMENT_ROOT")."/inc/header.php"; ?>
include getenv("DOCUMENT_ROOT")."/inc/footer.php"; ?>