May 28
First, save this file as functions_copyright.php:
<?php
# [FUNCTIONS_COPYRIGHT.PHP]
# © Jan Marques, 2007
#
function copyright($naam, $jaar, $sitelink = NULL)
{
$nu = date(“Y”);
if (empty($sitelink))
echo “© ” . htmlentities($naam) . “, ” . $jaar . “ - ” . $nu;
else
echo “© <a href=\”” . $sitelink . “\” target=\”_blank\”>” . htmlentities($naam) . “</a>, ” . $jaar . “ - ” . $nu;
}
?>
then, on the page where your footer is, put
include(“functions_copyright.php”);
and on the place you’d like to show it
copyright(“Your Name “, “Startyear", “http://www.sitelink.com”);
or
copyright(“Your Name “, “Startyear”);
if you don’t have a site
Recent Comments