diff --git a/e107_plugins/siteinfo/compliance_menu.php b/e107_plugins/siteinfo/compliance_menu.php
new file mode 100644
index 000000000..160b4cec1
--- /dev/null
+++ b/e107_plugins/siteinfo/compliance_menu.php
@@ -0,0 +1,11 @@
+
+
+
+ ";
+$caption = (file_exists(THEME."images/compliance_menu.png") ? "
".COMPLIANCE_L1 : COMPLIANCE_L1);
+$ns->tablerender($caption, $text, 'compliance');
+?>
\ No newline at end of file
diff --git a/e107_plugins/siteinfo/counter_menu.php b/e107_plugins/siteinfo/counter_menu.php
new file mode 100644
index 000000000..abe0e2893
--- /dev/null
+++ b/e107_plugins/siteinfo/counter_menu.php
@@ -0,0 +1,83 @@
+ db_Select("logstats", "*", "log_id='statTotal' OR log_id='statUnique' OR log_id='pageTotal'"))
+ {
+ while($row = $sql -> db_Fetch())
+ {
+ if($row['log_id'] == "statTotal")
+ {
+ $siteTotal += $row['log_data'];
+ }
+ else if($row['log_id'] == "statUnique")
+ {
+ $siteUnique += $row['log_data'];
+ }
+ else
+ {
+ $dbPageInfo = unserialize($row['log_data']);
+ $totalPageEver = ($dbPageInfo[$pageName]['ttlv'] ? $dbPageInfo[$pageName]['ttlv'] : 0);
+ $uniquePageEver = ($dbPageInfo[$pageName]['unqv'] ? $dbPageInfo[$pageName]['unqv'] : 0);
+ }
+ }
+ }
+ $total = ($pageInfo[$pageName]['ttl'] ? $pageInfo[$pageName]['ttl'] : 0);
+ $unique = ($pageInfo[$pageName]['unq'] ? $pageInfo[$pageName]['unq'] : 0);
+ $totalever = ($pageInfo[$pageName]['ttlv'] ? $pageInfo[$pageName]['ttlv'] : 0) + $totalPageEver + $total;
+ $uniqueever = ($pageInfo[$pageName]['unqv'] ? $pageInfo[$pageName]['unqv'] : 0) + $uniquePageEver + $unique;
+ }
+ $text .= "".COUNTER_L2."
".COUNTER_L3.": $total
".COUNTER_L5.": $unique
+ ".COUNTER_L4."
".COUNTER_L3.": $totalever
".COUNTER_L5.": $uniqueever
+ ".COUNTER_L6."
".COUNTER_L3.": $siteTotal
".COUNTER_L5.": $siteUnique";
+ $ns->tablerender(COUNTER_L7, $text, 'counter');
+ unset($dbPageInfo);
+}
+else
+{
+ if(ADMIN)
+ {
+ $text .= "".COUNTER_L8."";
+ $ns->tablerender(COUNTER_L7, $text, 'counter');
+ }
+}
+
+?>
\ No newline at end of file
diff --git a/e107_plugins/siteinfo/e_shortcode.php b/e107_plugins/siteinfo/e_shortcode.php
new file mode 100644
index 000000000..51e4e2426
--- /dev/null
+++ b/e107_plugins/siteinfo/e_shortcode.php
@@ -0,0 +1,89 @@
+tp->replaceConstants($_POST['sitebutton']) : (strstr(SITEBUTTON, 'http:') ? SITEBUTTON : e_IMAGE.SITEBUTTON);
+ //TODO use CSS class?
+ return '';
+ }
+
+ function sc_sitedisclaimer()
+ {
+ $e107 = e107::getInstance();
+ return $e107->tp->toHtml(SITEDISCLAIMER, true, 'constants defs');
+ }
+
+ function sc_sitename($parm)
+ {
+ return ($parm == 'link') ? "".SITENAME."" : SITENAME;
+ }
+
+ function sc_sitedescription()
+ {
+ global $pref;
+ return SITEDESCRIPTION.(defined('THEME_DESCRIPTION') && $pref['displaythemeinfo'] ? THEME_DESCRIPTION : '');
+ }
+
+ function sc_sitetag()
+ {
+ return SITETAG;
+ }
+
+ function sc_logo($parm)
+ {
+ parse_str($parm); // Optional {LOGO=file=file_name} or {LOGO=link=url} or {LOGO=file=file_name&link=url}
+ // Paths to image file, link are relative to site base
+
+ if (isset($file) && $file && is_readable($file))
+ {
+ $logo = e_HTTP.$file; // HTML path
+ $path = e_BASE.$file; // PHP path
+ }
+ else if (is_readable(THEME.'images/e_logo.png'))
+ {
+ $logo = THEME_ABS.'images/e_logo.png'; // HTML path
+ $path = THEME.'images/e_logo.png'; // PHP path
+ }
+ else
+ {
+ $logo = e_IMAGE_ABS.'logo.png'; // HTML path
+ $path = e_IMAGE.'logo.png'; // PHP path
+ }
+
+ $dimensions = getimagesize($path);
+
+ $image = "
\n";
+
+ if (isset($link) && $link)
+ {
+ if ($link == 'index')
+ {
+ $image = "".$image."";
+ }
+ else
+ {
+ $image = "".$image."";
+ }
+ }
+
+ return $image;
+ }
+
+ function sc_theme_disclaimer($parm)
+ {
+ global $pref;
+ return (defined('THEME_DISCLAIMER') && $pref['displaythemeinfo'] ? THEME_DISCLAIMER : '');
+ }
+
+}
+?>
\ No newline at end of file
diff --git a/e107_plugins/siteinfo/images/valid-xhtml11.png b/e107_plugins/siteinfo/images/valid-xhtml11.png
new file mode 100644
index 000000000..6d305e7df
Binary files /dev/null and b/e107_plugins/siteinfo/images/valid-xhtml11.png differ
diff --git a/e107_plugins/siteinfo/images/vcss.png b/e107_plugins/siteinfo/images/vcss.png
new file mode 100644
index 000000000..9b2f596e0
Binary files /dev/null and b/e107_plugins/siteinfo/images/vcss.png differ
diff --git a/e107_plugins/siteinfo/languages/English.php b/e107_plugins/siteinfo/languages/English.php
new file mode 100644
index 000000000..d6853194e
--- /dev/null
+++ b/e107_plugins/siteinfo/languages/English.php
@@ -0,0 +1,26 @@
+Stat logging is disabled.
To activate, you need to install the Statistic Logging plugin from your plugin manager, then activate it from the configuration screen.");
+
+?>
\ No newline at end of file
diff --git a/e107_plugins/siteinfo/plugin.xml b/e107_plugins/siteinfo/plugin.xml
new file mode 100644
index 000000000..c6071f3ee
--- /dev/null
+++ b/e107_plugins/siteinfo/plugin.xml
@@ -0,0 +1,6 @@
+
+
+