Results 1 to 10 of 16
Hybrid View
-
20th Jun 2010, 12:12 PM #1Member
As someone pointed out it would only show the server time.
I will take vb as an example, say your forum time is set differently you can use the var $vboptions[timeoffset] - which is the forum time offset
(im sure there is one for users which will fix the issue of users with different time zones)
Anyways good code jay, most of these ive seen is in javascript.DeLeTeD Reviewed by DeLeTeD on . [php] Time-Based CSS This small snippet will allow you to use different color schemes (CSS stylesheets) depending on the time of the day! Its not a hugely complicated piece of code, but very creative! Most people have never even thought of the idea! <?php // If the time is past seven O'clock then use the night stylesheet instead! if (date('G') > 19 || date('G') < 7) { echo '<link rel="stylesheet" type="text/css" href="/static/css/default_night.css" />'; } else { echo '<link Rating: 5Please follow signature rules
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Long time lurker, first time poster
By Opie in forum IntroductionsReplies: 1Last Post: 27th Sep 2012, 06:53 PM -
[VPS] Need USA based RDP
By masterlog in forum ArchiveReplies: 2Last Post: 19th Apr 2011, 12:57 AM -
[WTB] Vps UK based
By Godly Chaos in forum Hosting DiscussionReplies: 7Last Post: 4th Nov 2010, 05:23 PM -
[VPS] VPS From $8.95/mo USA Based
By webhead2 in forum ArchiveReplies: 4Last Post: 20th Sep 2009, 12:55 AM -
SQL error i get from time to time
By Raven Faust in forum vBulletinReplies: 11Last Post: 27th Aug 2009, 07:54 PM
themaCreator - create posts from...
Version 3.55 released. Open older version (or...