Skip to content

Instantly share code, notes, and snippets.

Created January 2, 2012 05:44
Show Gist options
  • Save anonymous/1549501 to your computer and use it in GitHub Desktop.
Save anonymous/1549501 to your computer and use it in GitHub Desktop.
<?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