rendered paste bodyinclude('components/core/config/core.config.php');$max_list_rows = $core_config['display']['max_list_rows'];function plugin_event ($attributes=null) { global $db, $ws, $output_webspace, $body, $max_list_rows; echo $max_list_rows; // PREPARE BLOCKS -------------------------------------------------------- if (!isset($attributes['block'])) { $attributes['block'] = "events"; } if ($attributes['block'] == "events") { // select multiple events // paging... $query = " SELECT COUNT(*) AS total FROM " . $db->prefix . "_plugin_event e, " . $db->prefix . "_webpage wp WHERE e.webspace_id=" . $output_webspace['webspace_id'] . " AND e.event_archived IS NULL " ;