TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,963
  • Latest: BiZaJe
Stats
  • Total Posts: 195,917
  • Total Topics: 21,308
  • Online today: 884
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 435
  • Total: 435

Copyright Notice Block w/auto year

Started by DFDuck, November 19, 2008, 02:38:36 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

blizz-craft

Well, its very simple to add the year started off on the other code to:
echo '<div align="center" class="smalltext">Copyright Ã,© '.date("Y",mktime()).' Acme Midget Works, All Rights Reserved</div>

';

Year Added:
echo '<div align="center" class="smalltext">Copyright Ã,©2008 '.date("Y",mktime()).' Acme Midget Works, All Rights Reserved</div>

';


JPDeni

Absolutely. Although it can be a simpler than what you have. Instead of


date("Y",mktime())


you can use


date("Y")


It has exactly the same result.

This website is proudly hosted on Crocweb Cloud Website Hosting.