"Title", "author" => "Author", "genre" => "Genre" ); $doc = domxml_open_file("$libBase/Library Media Data.xml"); $books = $doc->get_elements_by_tagname("book"); $xpath = $doc->xpath_new_context(); $xnode = $xpath->xpath_eval("//items/book"); $books = $xnode->nodeset; ?> Dan and Jen's Library xpath_eval("//book[@uuid='".$book."']"); $thebooks=$xnode->nodeset; $thebook = $thebooks[0]; $bookid = $thebook->get_attribute('uuid'); $file = $libBase."/Images/Large Covers/".$bookid; if(file_exists($file)) echo ""; else { $file = $libBase."/Images/Medium Covers/".$bookid; if(file_exists($file)) echo ""; else { $file = $libBase."/Images/Small Covers/".$bookid; if(file_exists($file)) echo "";}} ?> attributes(); foreach($atts as $i) if($i->name()!='title' && $i->name()!='author') echo ""; $subbooks = $thebook->get_elements_by_tagname("book"); if(count($subbooks)>0) { for($i=0;$ixpath_eval("//items/book[@title='".$booki->get_attribute('title')."']"); $xlinks = $xnode -> nodeset; echo ""; if($i==0) echo ""; $img = "$libBase/Images/Small Covers/".$booki->get_attribute('uuid'); echo ""; echo ""; } } ?>
Titleget_attribute('title')?>
Authorget_attribute('author')?>
".$i->name()."".$i->value()."
Amazon Recommendations"; if(file_exists($img)) echo ""; echo ""; if(count($xlinks)>0) echo "get_attribute("uuid")."\">"; echo "".$booki->get_attribute('title')."
by ".$booki->get_attribute('author').""; if(count($xlinks)>0) echo "
"; echo "

Library Index $colval) { ?> get_attribute($index); $bookarr[$bookind] = $book; } ksort($bookarr); $evenrow=0; foreach($bookarr as $book) { $img = "$libBase/Images/Small Covers/".$book->get_attribute('uuid'); $imgattrs=""; $evenrow = !$evenrow; if(!file_exists($img)) { $img = "delish_noimage.jpg"; #$imgattrs=" width=60 height=80"; $showimage=true; } ?> "> $colval) { ?>
> get_attribute($colkey);?> get_attribute($colkey);?>