function openWindow(url,hsize,vsize) { window.open(url, "newwindow", "width="+(hsize+15)+",height="+(vsize+15)+",scrollbars=yes"); } function SetWindowStatus(statuslbl) { window.status ="Sterkindrukwerk" + statuslbl; } function ClrWindowStatus() { window.status =""; } function redirect(page_url,timedelay) { timedelay = timedelay * 1000 setTimeout("redirectpage(\'"+page_url+"\')",timedelay) } function redirectpage(pageurl) { parent.location.href = pageurl } function reload() { document.location.reload() } // -->
'; while ($ur_sp = sql_get_row($t_sp)) { // Marges van popup-vensterrand tot plaatje $margin_w = "20"; $margin_h = "20"; $file = getimagesize("images/specialisaties/".$ur_sp["sp_img"]); // Afmetingen van het popup-venster bepalen $width = $file["0"] + 10 + $margin_w; $height = $file["1"] + 50 + $margin_h; echo '
'.$ur_sp["sp_naam"].'
'.stripslashes(nl2br(kap($ur_sp["sp_omschrijving"], '250', '...

Lees verder'))).'
'; $q_imgvb = "SELECT products_id, products_image FROM products_images WHERE products_id = '".$ur_sp["sp_id"]."'"; $t_imgvb = sql_doe_query($q_imgvb); while ($ur_imgvb = sql_get_row($t_imgvb)) { // Afmetingen van het popup-venster bepalen $file_vb = getimagesize("images/specialisaties_vb/".$ur_imgvb["products_image"]); $width_vb = $file_vb["0"] + 10; $height_vb = $file_vb["1"] + 50; echo ''; } echo '
'; } echo '
'; page_footer(); ?>