Are you sure you want to do this?

'); } $g_aths_success = ''; $g_aths_success_msg = FALSE; // First check if ID exist with requested ID $sSql = $wpdb->prepare( "SELECT COUNT(*) AS `count` FROM ".WP_g_aths_TABLE." WHERE `g_aths_id` = %d", array($did) ); $result = '0'; $result = $wpdb->get_var($sSql); if ($result != '1') { ?>

prepare("DELETE FROM `".WP_g_aths_TABLE."` WHERE `g_aths_id` = %d LIMIT 1", $did); $wpdb->query($sSql); // Set success message $g_aths_success_msg = TRUE; $g_aths_success = __('Selected record was successfully deleted.', 'announcement-ticker-highlighter-scroller'); } } if ($g_aths_success_msg == TRUE) { ?>

get_var($sSql); $total = ceil( $total / $limit ); $sSql = "SELECT * FROM `".WP_g_aths_TABLE."` order by g_aths_id desc LIMIT $offset, $limit"; $myData = array(); $myData = $wpdb->get_results($sSql, ARRAY_A); ?>
0 ) { foreach ($myData as $data) { ?>
|
add_query_arg( 'pagenum', '%#%' ), 'format' => '', 'prev_text' => __( ' << ' ), 'next_text' => __( ' >> ' ), 'total' => $total, 'show_all' => False, 'current' => $pagenum ) ); ?>