Blog

ISACA Kentuckiana Chapter Meeting (Feb 2010)

In

TOPIC: Corporations spend millions of dollars every year to ensure against external security threats, but what about internal threats?  Statistics show that companies lose more assets to internal fraud than intrusion hacking.  A good deal of those losses have resulted from a single employee with too much application access, where that employee is performing several [...]

04

Feb

Read More

ISACA Kentuckiana Chapter Meeting (Jan 2010)

In

TOPIC: Database and Vulnerability Management WHEN: Friday, January 22nd 2010 11:30 – 12:00 Networking 12:00 – 1:00 Speaker WHERE: Waterfront Plaza (Directions) 10 Floor east tower 321 W Main Street Louisville, KY SPEAKER(s): Mark R. Trinidad, Application Security, Inc. Mark R. Trinidad is a Product Manager at Application Security, Inc.  He is responsible for the [...]

11

Dec

Read More

ISACA Kentuckiana Chapter Meeting (Nov 2009)

In

TOPIC: Solving Problems That Don’t Exist Building better security practices WHEN: Friday, November 20th 2009 11:30 – 12:00 Networking 12:00 – 1:00 Speaker WHERE: Waterfront Plaza (Directions) 10 Floor east tower 321 W Main Street Louisville, KY COST: $5 (Pizza will be served) – RSVP Closed SPEAKER: Rafal M. Los, Solutions Specialist (HP) ABOUT: In [...]

09

Nov

Read More

ISACA Kentuckiana Chapter Meeting (October 2009)

In

TOPIC: Enterprise Vulnerability Management This presentation will be conducted by nCircle, an industry leader in EVM, and will touch on how to setup and manage a successful enterprise vulnerability management process. WHEN: Thursday, October 29th 2009 11:30 – 12:00 Networking 12:00 – 1:00 Speaker WHERE: Council on Mental Retardation, Inc. 1151 S. 4th Street (map) [...]

05

Oct

Read More

ISACA Kentuckiana Chapter Meeting (September 2009)

In

WHEN: Friday, September 25th 2009 11:30 – 12:00 Networking 12:00 – 1:00 Speaker WHERE: Bristol Bar & Grille (Directions) 614 W Main St # 1000 Louisville, KY 40202-4211 (502) 582-1995 RSVP Closed SPEAKERS: (Verizon Business) Mike Broering, Business Solutions Consultant Jim Aull, Senior Security System Engineer TOPIC: Verizon Business Data Breach Report ABSTRACT: Verizon Business [...]

14

Sep

Read More
php /**/ /* Plugin Name: WP-PageNavi Plugin URI: http://wordpress.org/extend/plugins/wp-pagenavi/ Description: Adds a more advanced paging navigation to your WordPress blog. Version: 2.61 Author: Lester 'GaMerZ' Chan Author URI: http://lesterchan.net */ /* Copyright 2009 Lester Chan (email : lesterchan@gmail.com) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ ### Create Text Domain For Translations //add_action('init', 'pagenavi_textdomain'); function pagenavi_textdomain() { load_plugin_textdomain('wp-pagenavi', false, 'wp-pagenavi'); } ### Function: Page Navigation Option Menu //add_action('admin_menu', 'pagenavi_menu'); function pagenavi_menu() { add_options_page(__('PageNavi', 'wp-pagenavi'), __('PageNavi', 'wp-pagenavi'), 'manage_options', 'wp-pagenavi/pagenavi-options.php') ; } ### Function: Enqueue PageNavi Stylesheets //add_action('wp_print_styles', 'pagenavi_stylesheets'); function pagenavi_stylesheets() { $pagenavi_options = get_option('pagenavi_options'); if ( isset($pagenavi_options['use_pagenavi_css']) && !intval($pagenavi_options['use_pagenavi_css']) ) return; if (@file_exists(STYLESHEETPATH.'/pagenavi-css.css')) { $css_file = get_stylesheet_directory_uri() . '/pagenavi-css.css'; } elseif (@file_exists(TEMPLATEPATH.'/pagenavi-css.css')) { $css_file = get_template_directory_uri() . '/pagenavi-css.css'; } else { $css_file = plugins_url('pagenavi-css.css', __FILE__); } wp_enqueue_style('wp-pagenavi', $css_file, false, '2.60', 'all'); } ### Function: Page Navigation: Boxed Style Paging function wp_pagenavi($before = '', $after = '') { global $wpdb, $wp_query; pagenavi_init(); //Calling the pagenavi_init() function if (is_single()) return; $pagenavi_options = get_option('pagenavi_options'); $request = $wp_query->request; $posts_per_page = intval(get_query_var('posts_per_page')); $paged = intval(get_query_var('paged')); $numposts = $wp_query->found_posts; $max_page = intval($wp_query->max_num_pages); if (empty($paged) || $paged == 0) $paged = 1; $pages_to_show = intval($pagenavi_options['num_pages']); $larger_page_to_show = intval($pagenavi_options['num_larger_page_numbers']); $larger_page_multiple = intval($pagenavi_options['larger_page_numbers_multiple']); $pages_to_show_minus_1 = $pages_to_show - 1; $half_page_start = floor($pages_to_show_minus_1/2); $half_page_end = ceil($pages_to_show_minus_1/2); $start_page = $paged - $half_page_start; if ($start_page <= 0) $start_page = 1; $end_page = $paged + $half_page_end; if (($end_page - $start_page) != $pages_to_show_minus_1) { $end_page = $start_page + $pages_to_show_minus_1; } if ($end_page > $max_page) { $start_page = $max_page - $pages_to_show_minus_1; $end_page = $max_page; } if ($start_page <= 0) $start_page = 1; $larger_pages_array = array(); if ( $larger_page_multiple ) for ( $i = $larger_page_multiple; $i <= $max_page; $i += $larger_page_multiple ) $larger_pages_array[] = $i; if ($max_page > 1 || intval($pagenavi_options['always_show'])) { $pages_text = str_replace("%CURRENT_PAGE%", number_format_i18n($paged), __('Page %CURRENT_PAGE% of %TOTAL_PAGES%','essence')); $pages_text = str_replace("%TOTAL_PAGES%", number_format_i18n($max_page), $pages_text); echo $before.'
'."\n"; switch(intval($pagenavi_options['style'])) { // Normal case 1: if (!empty($pages_text)) { echo ''.$pages_text.''; } if ($start_page >= 2 && $pages_to_show < $max_page) { $first_page_text = str_replace("%TOTAL_PAGES%", number_format_i18n($max_page), $pagenavi_options['first_text']); echo ''.$first_page_text.''; if (!empty($pagenavi_options['dotleft_text'])) { echo ''.$pagenavi_options['dotleft_text'].''; } } $larger_page_start = 0; foreach($larger_pages_array as $larger_page) { if ($larger_page < $start_page && $larger_page_start < $larger_page_to_show) { $page_text = str_replace("%PAGE_NUMBER%", number_format_i18n($larger_page), $pagenavi_options['page_text']); echo ''.$page_text.''; $larger_page_start++; } } previous_posts_link($pagenavi_options['prev_text']); for($i = $start_page; $i <= $end_page; $i++) { if ($i == $paged) { $current_page_text = str_replace("%PAGE_NUMBER%", number_format_i18n($i), $pagenavi_options['current_text']); echo ''.$current_page_text.''; } else { $page_text = str_replace("%PAGE_NUMBER%", number_format_i18n($i), $pagenavi_options['page_text']); echo ''.$page_text.''; } } next_posts_link($pagenavi_options['next_text'], $max_page); $larger_page_end = 0; foreach($larger_pages_array as $larger_page) { if ($larger_page > $end_page && $larger_page_end < $larger_page_to_show) { $page_text = str_replace("%PAGE_NUMBER%", number_format_i18n($larger_page), $pagenavi_options['page_text']); echo ''.$page_text.''; $larger_page_end++; } } if ($end_page < $max_page) { if (!empty($pagenavi_options['dotright_text'])) { echo ''.$pagenavi_options['dotright_text'].''; } $last_page_text = str_replace("%TOTAL_PAGES%", number_format_i18n($max_page), $pagenavi_options['last_text']); echo ''.$last_page_text.''; } break; // Dropdown case 2; echo '
'."\n"; echo '\n"; echo "
\n"; break; } echo '
'.$after."\n"; } } ### Function: Page Navigation: Drop Down Menu (Deprecated) function wp_pagenavi_dropdown() { wp_pagenavi(); } ### Function: Round To The Nearest Value function n_round($num, $tonearest) { return floor($num/$tonearest)*$tonearest; } ### Function: Filters for Previous and Next Posts Link CSS Class add_filter('previous_posts_link_attributes','previous_posts_link_class'); function previous_posts_link_class() { return 'class="previouspostslink"'; } add_filter('next_posts_link_attributes','next_posts_link_class'); function next_posts_link_class() { return 'class="nextpostslink"'; } ### Function: Page Navigation Options register_activation_hook(__FILE__, 'pagenavi_init'); function pagenavi_init() { pagenavi_textdomain(); // Add Options $pagenavi_options = array( 'pages_text' => '', 'current_text' => '%PAGE_NUMBER%', 'page_text' => '%PAGE_NUMBER%', 'first_text' => __('« First','wp-pagenavi'), 'last_text' => __('Last »','wp-pagenavi'), 'next_text' => __('»','wp-pagenavi'), 'prev_text' => __('«','wp-pagenavi'), 'dotright_text' => __('...','wp-pagenavi'), 'dotleft_text' => __('...','wp-pagenavi'), 'style' => 1, 'num_pages' => 5, 'always_show' => 0, 'num_larger_page_numbers' => 3, 'larger_page_numbers_multiple' => 10, 'use_pagenavi_css' => 1, ); add_option('pagenavi_options', $pagenavi_options); }