ALERT!
Click here to register with a few steps and explore all our cool stuff we have to offer!
Home
Upgrade
Credits
Help
Search
Awards
Achievements
 6723

Demon Forums Copyright 2015-2017.

by Jp71490 - 06-16-2018 - 12:30 PM
#1
I am not sure how Demon Forums has copyright set up I use this little piece on my website.
If Demon Forums can use this for the copyright awesome less stress on staff worrying about copyright being updated.

PHP Code:
&copy; <?php $fromYear 2015$thisYear = (int)date('Y'); echo $fromYear . (($fromYear != $thisYear) ? '-' $thisYear '');?>
Demon Home ||| Rules ||| Staff ||| Message ||| Demon Tag's
Reply
#2
<?php echo date("Y"); ?> isnt easier?

2015 - <?php echo date("Y");?> / DEMONFORUMS
Papa A1 Original
Reply
#3
(06-16-2018 - 10:00 PM)Bosix123 Wrote: <?php echo date("Y"); ?> isnt easier?

2015 - <?php echo date("Y");?> / DEMONFORUMS

Short an simple.. I just updated 20% for my pages to this today.

&copy; 2015 - <?php echo date("Y");?> All rights reserved.

Even though the old php worked just fine.

Thanks Bosix123!
Demon Home ||| Rules ||| Staff ||| Message ||| Demon Tag's
Reply
#4
Also u can include common things <?php include'navbar.php'?> makes life even easier
I use it in header footer and navbar . And so there is only main content that i add by myself .
Papa A1 Original
Reply
#5
Ya think it just got fixed!
Demon Home ||| Rules ||| Staff ||| Message ||| Demon Tag's
Reply
#6
Yeah, for sure, really needed this to change =)
Reply
#7
Is Good  Cat-smile
Reply
#8
Yepp shes good.
Demon Home ||| Rules ||| Staff ||| Message ||| Demon Tag's
Reply

Users browsing: 1 Guest(s)