Jump to content
Sign in to follow this  
orsino

logout message

Recommended Posts

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

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...