diff --git a/checkin_notes b/checkin_notes index 7b41812599..bec05267cc 100755 --- a/checkin_notes +++ b/checkin_notes @@ -1222,3 +1222,13 @@ David 31 Jan 2006 client/ client_types.C,h cs_apps.C + +David 31 Jan 2006 + - add "table stats" web page + (from Carl Christensen) + + html/ + inc/ + util.inc + ops/ + sample_table_stats.php diff --git a/doc/download_network.php b/doc/download_network.php index 84cd173cfe..d618c432f7 100644 --- a/doc/download_network.php +++ b/doc/download_network.php @@ -3,10 +3,11 @@ require_once("docutil.php"); require_once("download_network.inc"); -page_head("Download BOINC add-on software"); +page_head("BOINC add-on software"); echo "

- You can download applications in several categories. + A number of programs that complement or enhance BOINC are available. + Note that:

More info | Web sites + | Add-ons | Message boards

diff --git a/html/inc/util.inc b/html/inc/util.inc index 8ccbf9eeb1..b5209597e0 100644 --- a/html/inc/util.inc +++ b/html/inc/util.inc @@ -238,7 +238,8 @@ function rowify($string) { function row_array($x) { echo ""; foreach ($x as $h) { - echo "$h"; + if (!$h) $h = '
'; + echo "$h"; } echo "\n"; } diff --git a/html/ops/sample_table_stats.php b/html/ops/sample_table_stats.php new file mode 100644 index 0000000000..59aff7c2f5 --- /dev/null +++ b/html/ops/sample_table_stats.php @@ -0,0 +1,48 @@ +
"; +} + +require_once("../inc/db.inc"); +db_init(); +page_head("MySQL Table Stats"); + +// add the databases you want to keep track of here +// +showTableStatus("boinc_alpha"); +showTableStatus("cplan"); +?> +