include ("includes/sys_config.php")?> include ("classes/DB.php")?> include ("classes/RecordSet.php")?> include ("classes/ShopCart.php")?> include ("classes/ImageGen.php")?> include ("includes/functions.php")?> include ('init.php');?> include ('control/BookControl.php');?> include ('cartoptions.php');?> include ('docheader.php');?> include ('ui.php');?> $oBookControl = new BookControl(); ?>
include ('bookcats.php')?>
|
$sSQL="SELECT * FROM mod_book WHERE book_id=".$_GET['bookID']." ORDER BY booktitle DESC limit 0,10";
$bookRS=DB::query($sSQL);
?>
while($book=$bookRS->fetch_assoc()){
$aReviews = $oBookControl->getReviewsByBookId($_GET['bookID']);
?>
=$book['booktitle']?>
=$book['booksubtitle']?>
?>
if(file_exists($book['bookimg']))
{
$sUrl = $book['externalsalesurl'] != '' ? $book['externalsalesurl'] : false;
if($sUrl)
{
?>
Meer informatie:
auteur: =$book['bookauthor'];?> isbn: =$book['isbn'];?> aantal pagina's: =$book['numpages']?> =$book['bookillustrator']!='' ? 'Illustraties: '.$book['bookillustrator'].' ' : '';?> if($book['publishdate'] € =priceDisplay($book['bookprice'])?> if(count($aReviews)>0) { ?> Recensies bij dit boek
foreach($aReviews as $aReview)
{
?>
=$aReview['bookreviewtitle']?>
}
?>
|
Meer uit dezelfde categorie
$sSQL="SELECT book_id,bookcatID,booktitle,booksubtitle,bookimg,publishdate,bookdescrshort FROM mod_book WHERE bookcatID =".$_GET['catID']." AND book_id <> ".$_GET['bookID'];
$bookRS=DB::query($sSQL);
while($book=$bookRS->fetch_assoc()){
?>
=$book['booktitle'];?>
|