Following are the pages that have notes pending approval:

\n EOT; $count = 0; while ( $row = db_fetch_array( $result ) ) { $color = util_alternate_colors( $count++ ); extract( $row, EXTR_PREFIX_ALL, 'v' ); echo "\n"; } $t_now = date( config_get( 'date_format' ) ); echo <<

There are $count page(s) to be moderated.

\n

Following are all the pages that use phpWebNotes:

Time now is $t_now

PageURLPending Notes
$v_page$v_url$v_notes_count
\n EOT; $count = 0; $t_total_visits = 0; $t_total_notes = 0; $pages = page_get_array ( page_where_url_exists(), 'last_updated DESC' ); foreach( $pages as $page ) { extract( $page, EXTR_PREFIX_ALL, 'v' ); $t_number = page_notes_count( $v_id ); $t_total_notes += $t_number; $t_visits = page_visits_count( $v_id ); $t_total_visits += $t_visits; $t_last_updated = date( config_get( 'date_format' ), $v_last_updated ); $color = util_alternate_colors( $count++ ); echo "\n"; } echo <<

There are $count page(s) that are indexed, with $t_total_notes note(s) and $t_total_visits visit(s).

\n EOT; print_footer( __FILE__ ); print_bottom_page( $g_bottom_page_inc ); print_body_bottom(); print_html_bottom(); ?>
Page# of Notes# of hitsLast UpdatedURL
$v_page$t_number$t_visits$t_last_updated$v_url