orsino Posted March 4, 2013 Share Posted March 4, 2013 hi i have tryed to make a contribution to the nw-engine comunity . its not mutch as i am still learning php 1 : open up content.php from the logout module 2 : find header("Location: index.php"); 3: replace with ; $Day = array( 'Mon' => 'Monday', 'Tue' => 'Tuesday', 'Wed' => 'Wednesday', 'Thu' => 'Thursday', 'Fri' => 'Friday', 'Sat' => 'Saturday', 'Sun' => 'Sunday' ); $Day = $Day[date('D')]; echo ' <center><p><font color="#ffffff"> Thank you for playing we wish you A Nice '.$Day.' </center></font></p> <meta http-equiv="refresh" content="4; url=index.php"> ';; 4 : change the font color in whatever color you need Quote Link to comment Share on other sites More sharing options...
a_bertrand Posted March 4, 2013 Share Posted March 4, 2013 I thought the meta refresh needs to be in the header, but maybe I'm wrong here. Anyhow, you should also use the Translate function to let you edit the text without editing the code. Quote Link to comment Share on other sites More sharing options...
orsino Posted March 4, 2013 Author Share Posted March 4, 2013 i just wanted to try somthing out like i posted before i am still learning php Quote Link to comment Share on other sites More sharing options...
a_bertrand Posted March 4, 2013 Share Posted March 4, 2013 For a first trial or nearly it's a good start. Keep this mood and continue ;) Quote Link to comment Share on other sites More sharing options...
KyleMassacre Posted May 8, 2013 Share Posted May 8, 2013 i know its old but i stumbled across this: http://makewebgames.io/showthread.php/32670-Nice-Day-Logout. it looks pretty similar ;) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.