Moderator: Mathos
// Check if we already assigned something to $content, if not, Declare it
if (!isset($content))
{
$content = '';
}
// ----[ Check log-in ]-------------------------------------
require_once(ROSTER_LIB.'login.php');
$roster_login = new RosterLogin($script_filename);
if( !$roster_login->getAuthorized() )
{
print
'<span class="title_text">Categorized GuildBank</span><br />'.
$roster_login->getMessage().
$roster_login->getLoginForm();
return;
}
else
{
print
'<span class="title_text">Categorized GuildBank</span><br />'.
$roster_login->getMessage();
}
// ----[ End Check log-in ]---------------------------------
if ( !defined('ROSTER_INSTALLED') )
{
exit('Detected invalid access to this file!');
}
/**
* Guildbank password
*/
$gbankpass = "SomePassword";
// DO NOT CHANGE THIS ONE
$gbankpass = md5($gbankpass);
class RosterLogin
class GbankLogin
function RosterLogin($script_filename)
function GbankLogin($script_filename)
global $roster_conf;
global $gbankpass;
roster_pass
gbank_pass
$roster_conf['roster_upd_pw']
$gbankpass
// Check if we already assigned something to $content, if not, Declare it
if (!isset($content))
{
$content = '';
}
// ----[ Check log-in ]-------------------------------------
require_once($addonDir.'login.php');
$gbank_login = new GbankLogin($script_filename);
if( !$gbank_login->getAuthorized() )
{
print
'<span class="title_text">Categorized GuildBank</span><br />'.
$gbank_login->getMessage().
$gbank_login->getLoginForm();
return;
}
else
{
print
'<span class="title_text">Categorized GuildBank</span><br />'.
$gbank_login->getMessage();
}
// ----[ End Check log-in ]---------------------------------
Return to Categorized Guild Bank
Users browsing this forum: No registered users and 1 guest