wb-archiv283/trunk/wb/modules/droplets/example/SiteModified.php @ 1307
1 |
//:Create information on when your site was last updated.
|
---|---|
2 |
//:Create information on when your site was last updated. Any page update counts.
|
3 |
global $database, $wb; |
4 |
if (PAGE_ID>0) { |
5 |
$query=$database->query("SELECT max(modified_when) FROM ".TABLE_PREFIX."pages"); |
6 |
$mod_details=$query->fetchRow(); |
7 |
return "This site was last modified on ".date("d/m/Y",$mod_details[0]). " at ".date("H:i",$mod_details[0])."."; |
8 |
}
|