Posted By

j_junyent on 01/13/08


Tagged

year copyright


Versions (?)

Who likes this?

33 people have marked this snippet as a favorite

jonhenshaw
kdaviesnz
adix
helloyj
Morgano
pixelhandler
traktorist
irishsk
nb109
Hollow
catrinho
loric
sultano
kaartz
colingardom
lolindirfaelivrin
melihbuyuk
mecha
userpiv
pablo808
mfigge
Kurt
SevenLayersDesign
voove
deiby
liamchapman
svemoguci
unibox
clac
ringo380
clacwebstudio
dennywalker
cthorpe


Copyright Year


 / Published in: PHP
 

URL: http://refactormycode.com/codes/68-copyright-year

Display correctly the Copyright advice

  1. Copyright &copy; 2007<?php echo ( ($Y = intval(date('Y'))) > 2007 ) ? " - $Y" : ''; ?> - All Rights Reserved - Design by ...

Report this snippet  

Comments

RSS Icon Subscribe to comments
Posted By: SevenLayersDesign on March 4, 2011

Convenient. Thanks.

Posted By: evinweissenberg on August 22, 2012

Check this one out http://snipplr.com/view/66840/copyright-display/

You need to login to post a comment.