$total = get_data_row($query);\r
$num_albums = $total->total;\r
\r
- echo $num_images . " Photos in " . $num_albums . " Albums";\r
-?>
\ No newline at end of file
+ $num_comments_photos = count_annotations(0, 'object', 'image', 'generic_comment');\r
+ $num_comments_albums = count_annotations(0, 'object', 'album', 'generic_comment');\r
+ \r
+ $num_views = count_annotations(0, 'object', 'image', 'tp_view');\r
+ \r
+ if (get_plugin_setting('tagging', 'tidypics') != "disabled")\r
+ $num_tags = count_annotations(0, 'object', 'image', 'phototag');\r
+?>\r
+<p>\r
+<br />\r
+Photos: <?php echo $num_images; ?><br />\r
+Albums: <?php echo $num_albums; ?><br />\r
+Comments on photos: <?php echo $num_comments_photos; ?><br />\r
+Comments on albums: <?php echo $num_comments_albums; ?><br />\r
+Total views: <?php echo $num_views; ?><br />\r
+<?php \r
+ if ($num_tags) {\r
+?>\r
+Photo tags: <?php echo $num_tags; ?><br />\r
+<?php\r
+ }\r
+?>\r
+</p>
\ No newline at end of file