<% include("../cmsbk/dk_config.php"); if ($left) $left = (int)$left; else $left = 0; $q = "SELECT count(*) FROM kunst WHERE destination = 1"; $res = mysql_query($q); $row = mysql_fetch_row($res); $max=$row[0]; $q = "SELECT * FROM kunst WHERE destination = 1 ORDER BY display_order"; $res = mysql_query($q); $row = mysql_fetch_row($res); for ($x = 0; $x < $left; $x++) $row = mysql_fetch_row($res); if ($max - $left < 5) $right = $max - $left; else $right = 5; %> SBK Virtuele Kunstuitleen \n"); } else { $back = $left - 5; printf("
\"\"\n",$back); } printf("\n"); } else { $left += 5; printf("
>', LEFT);\" onmouseout=\"nd();\">
\n",$left); } %>
<% if (($left == 0) || (($left - 5) < 0)) { printf("
\"\"
\n"); printf("$row[2]\n"); printf("\n"); printf("\n"); printf("\n"); for ($x = 0; $x < $right; $x++) { $titel = addslashes($row[3]); if($row[1]) $art_res = "Kunstwerk is gereserveerd"; printf("\n"); $art_res = ""; $row = mysql_fetch_row($res); } for ($x = $right; $x < 5; $x++) { printf(""); } printf("\n"); printf("
\n"); printf("$row[2]
$titel
\[$row[7]\] $art_res', CENTER, OFFSETY, 30, WRAP);window.status='\[%s\] %s';return true\"",$row[7],$row[0]); $img = gfn("k$row[0]"); printf(" onmouseout=\"nd();window.status=''\">\"\"
"); if($row[1]) { printf(""); } printf("
 
\n\n"); %>
<% if ($max - $left <= 5) { $left += 5; printf("
>', LEFT);\" onmouseout=\"nd();\">
<% $prev = $left -10; echo "
 Home 

 "; if ($left > 5) { echo "\" "; } else { echo " "; } echo " Expositiezalen  "; for ($x = 0; $x < ($max / 5); $x++) { $xl = $x * 5; $xz = $x + 1; if ($left == ($xl + 5)){ echo "$xz"; } else { echo "$xz"; } if ($x < ($max/5 -1)) echo " "; } if ($left < ($max -1)) { echo " "; } else { echo " "; } echo "  

"; %>