Created
January 2, 2012 05:44
-
-
Save anonymous/1549501 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
require_once('/home/superjug/public_html/foro/SSI.php'); | |
global $context, $scripturl, $user_info; | |
?> | |
<?php | |
if ($context['user']['is_guest']) | |
{ | |
ssi_login(); | |
ssi_welcome(); | |
} | |
else | |
{ | |
//You can show other stuff here. Like ssi_welcome(). That will show a welcome message like. | |
//Hey, username, you have 552 messages, 0 are new. | |
ssi_welcome(); | |
echo '<p>'; | |
$_SESSION['logout_url'] = 'http://www.superjugadores.net/minilogin.php'; | |
$_SESSION['login_url'] = 'http://www.superjugadores.net/minilogin.php'; | |
ssi_logout(); | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment