Dynamic Copyright message in Drupal footer

If you want a dynamic footer in Drupal footer you can use thsi script.

The first year the messages sais:
Copyright© 2014PBC-techniek

All following years like:
Copyright© 2014-2015 PBC-techniek

The years are automaticly added

<?php
$FROM
=2014;
$NOW = date('Y');
if ( 
$NOW == $FROM ) {
$DATESTRING = $NOW;
} else {
$DATESTRING = $FROM. "-".date("Y");
}
?>


<div class="copyright center">Copyright <?php print $DATESTRING; ?><sup>&copy;</sup><?php print variable_get('site_name');?><div>

Post new comment
The content of this field is kept private and will not be shown publicly.
CAPTCHA
Deze vraag is om te controleren of u een persoon bent. Di is om spam berichten tegen te gaan.