$picture['id'], 'image_file' => $picture['file'] ), array('start') ); return htmlspecialchars(''.$name.''); } elseif ($name_link == 'high' and $picture['has_high'] and $user['enabled_high']=='true') { include_once(PHPWG_ROOT_PATH . 'include/functions_picture.inc.php'); return htmlspecialchars(''.$name.''); } return $name; } // Return extra picture for multipage category function get_lightbox_extra_pictures($selection, $rank_of, $name_link) { global $conf; $query = 'SELECT * FROM '.IMAGES_TABLE.' WHERE id IN ('.implode(',', $selection).');'; $result = pwg_query($query); $pictures = array(); while ($row = mysql_fetch_assoc($result)) { $row['rank'] = $rank_of[ $row['id'] ]; array_push($pictures, $row); } usort($pictures, 'rank_compare'); $content = '
'."\n"; return $content; } ?>