1° - Apenas o LdManager não foi crackeado, o restante da Web funciona 100%.
2° - 99% dos bugs da MuSite são dos próprios ADMINISTRADORES.
Tutorial:
Obs: basta seguir esses passos e não terá problemas !!
1° - Configure o MuSite 2.5.2 com os seus dados em: ../modules/settings.php
2° - Rode a Query da Pasta ../modules/SQL_SCRIPTS/Unique query install, dentro da pasta possuem 3 Querys: 1° Query é do Banco de dados webSite, quem usar o banco de dados webSite, rode a query "webSite_COMPLETE".
2.1 - Quem utiliza o banco de dados MuOnline, rode a query webSite_COMPLETE[MuOnline].
3° - Após rodar a query de acordo com seu banco de dados, rode a outra query "Segunda query - webQuestions".
4° - Rode as querys dos rankings, caso você não rodar elas os rankings não irá atualizar.
4.1 - Jobs Rankings, a pasta se encontra dentro da ../modules/SQL_SCRIPTS
4.2 - Atenção nessa parte das Jobs Rankings, quando você abrir a pasta Jobs Rankings, terá um arquivo chamado LEIA POR FAVOR.txt, basta seguir os passos que está lá dentro e não terá problemas ao rodas as querys dos rankings !!
Query do Ranking
-- Script generated on 03/06/2013 23:07
-- By: Hirumy-PCHirumy
-- Server: (local)
BEGIN TRANSACTION
DECLARE @JobID BINARY(16)
DECLARE @ReturnCode INT
SELECT @ReturnCode = 0
IF (SELECT COUNT(*) FROM msdb.dbo.syscategories WHERE name = N'[Uncategorized (Local)]') < 1
EXECUTE msdb.dbo.sp_add_category @name = N'[Uncategorized (Local)]'
-- Delete the job with the same name (if it exists)
SELECT @JobID = job_id
FROM msdb.dbo.sysjobs
WHERE (name = N'Tck Mu Site ranking atualizer')
IF (@JobID IS NOT NULL)
BEGIN
-- Check if the job is a multi-server job
IF (EXISTS (SELECT *
FROM msdb.dbo.sysjobservers
WHERE (job_id = @JobID) AND (server_id <> 0)))
BEGIN
-- There is, so abort the script
RAISERROR (N'Unable to import job ''Tck Mu Site ranking atualizer'' since there is already a multi-server job with this name.', 16, 1)
GOTO QuitWithRollback
END
ELSE
-- Delete the [local] job
EXECUTE msdb.dbo.sp_delete_job @job_name = N'Tck Mu Site ranking atualizer'
SELECT @JobID = NULL
END
BEGIN
-- Add the job
EXECUTE @ReturnCode = msdb.dbo.sp_add_job @job_id = @JobID OUTPUT , @job_name = N'Tck Mu Site ranking atualizer', @owner_login_name = N'Hirumy-PC\Hirumy', @description = N'essa query atauliza o ranking de 5 em 5 minutos mais so gera o top 200 Creditos por disponibilizar Tck www.imperyusgames.com creditos ao cronusmaker por postar a job na skins muonline', @category_name = N'[Uncategorized (Local)]', @enabled = 1, @notify_level_email = 0, @notify_level_page = 0, @notify_level_netsend = 0, @notify_level_eventlog = 2, @delete_level= 0
IF (@@ERROR <> 0 OR @ReturnCode <> 0) GOTO QuitWithRollback
-- Add the job steps
EXECUTE @ReturnCode = msdb.dbo.sp_add_jobstep @job_id = @JobID, @step_id = 1, @step_name = N'Ranking', @command = N' TRUNCATE TABLE dbo.webRankingCharactersResets
INSERT INTO webRankingCharactersResets (account,character,clevel,pkcount,resets,mresets,r esetsweek,resetsmonth,class)
Select TOP 200 AccountID,Name,cLevel,PkCount,resets,mresets,reset sWeek,resetsMonth,Class from Character where ctlcode < 8 or ctlcode is null order by resets desc
INSERT INTO webRankingCharactersLevel (account,character,clevel,pkcount,resets,mresets,r esetsweek,resetsmonth,class)
Select TOP 200 AccountID,Name,cLevel,PkCountweb,resets,mresets,re setsWeek,resetsMonth,Class from Character where ctlcode < 8 or ctlcode is null order by cLevel desc, resets desc
TRUNCATE TABLE dbo.webRankingCharactersResetsMonth
INSERT INTO webRankingCharactersResetsMonth (account,character,clevel,pkcount,resets,mresets,r esetsweek,resetsmonth,class)
Select TOP 200 AccountID,Name,cLevel,PkCount,resets,mresets,reset sWeek,resetsMonth,Class from Character where ctlcode < 8 or ctlcode is null order by resetsMonth desc, resets desc
TRUNCATE TABLE dbo.webRankingCharactersPk
INSERT INTO webRankingCharactersPk (account,character,clevel,pkcount,resets,mresets,r esetsweek,resetsmonth,class)
Select TOP 200 AccountID,Name,cLevel,PkCount,resets,mresets,reset sWeek,resetsMonth,Class from Character where ctlcode < 8 or ctlcode is null order by PkCountWeb desc, resets desc
TRUNCATE TABLE dbo.webRankingCharactersMasterReset
INSERT INTO webRankingCharactersMasterReset(account,character, clevel,pkcount,resets,mresets,resetsweek,resetsmon th,class)
Select TOP 200 AccountID,Name,cLevel,PkCountweb,resets,mresets,re setsWeek,resetsMonth,Class from Character where ctlcode < 8 or ctlcode is null order by Mresets desc, resets desc
TRUNCATE TABLE dbo.webRankingCharactersResetsWeek
INSERT INTO webRankingCharactersResetsWeek (account,character,clevel,pkcount,resets,mresets,r esetsweek,resetsmonth,class)
Select TOP 200 AccountID,Name,cLevel,PkCount,resets,mresets,reset sWeek,resetsMonth,Class from Character where ctlcode < 8 or ctlcode is null order by resetsWeek desc, resets desc
', @database_name = N'MuOnline', @server = N'', @database_user_name = N'', @subsystem = N'TSQL', @cmdexec_success_code = 0, @flags = 0, @retry_attempts = 0, @retry_interval = 1, @output_file_name = N'', @on_success_step_id = 0, @on_success_action = 1, @on_fail_step_id = 0, @on_fail_action = 2
IF (@@ERROR <> 0 OR @ReturnCode <> 0) GOTO QuitWithRollback
EXECUTE @ReturnCode = msdb.dbo.sp_update_job @job_id = @JobID, @start_step_id = 1
IF (@@ERROR <> 0 OR @ReturnCode <> 0) GOTO QuitWithRollback
-- Add the job schedules
EXECUTE @ReturnCode = msdb.dbo.sp_add_jobschedule @job_id = @JobID, @name = N'Ranking Hora', @enabled = 1, @freq_type = 4, @active_start_date = 20130603, @active_start_time = 0, @freq_interval = 1, @freq_subday_type = 4, @freq_subday_interval = 5, @freq_relative_interval = 0, @freq_recurrence_factor = 0, @active_end_date = 99991231, @active_end_time = 235959
IF (@@ERROR <> 0 OR @ReturnCode <> 0) GOTO QuitWithRollback
-- Add the Target Servers
EXECUTE @ReturnCode = msdb.dbo.sp_add_jobserver @job_id = @JobID, @server_name = N'(local)'
IF (@@ERROR <> 0 OR @ReturnCode <> 0) GOTO QuitWithRollback
END
COMMIT TRANSACTION
GOTO EndSave
QuitWithRollback:
IF (@@TRANCOUNT > 0) ROLLBACK TRANSACTION
EndSave:
Decompiler do Index:
Código PHP:
<?phpclass ldSerial
{
public static $authenticateLicense = false;
private static $hashDelLicense = false;
private static $addressPhysicLicense = false;
private static $trialVersion = false;
function valid()
{
$addressSite = preg_replace('/(www\.|:.*)/i', '', strtolower($_SERVER['HTTP_HOST']));
self::$addressPhysicLicense = 'licenses/' . dechex(crc32($addressSite)) . '.dat';
if (file_exists(self::$addressPhysicLicense) == false)
{
echo '<strong>O arquivo referente a licença desse endereço não existe.</strong>';
echo '-----------------------------------------';
echo 'Visite <a href=\'http://www.daldegamserver.com\'>http://www.daldegamserver.com</a> para adquirir uma licença válida.';
echo 'Visite <a href=\'http://www.daldegamserver.com/geradorLicencas/\'>http://www.daldegamserver.com/geradorLicencas/</a> para adquirir uma licença de demonstração.';
echo 'Leandro Daldegam - ldaldegam@hotmail.com - (31) 8693-5000.';
exit();
return null;
}
$errorLicense = 0;
$handle = fopen(self::$addressPhysicLicense, 'r');
$licenseFileEncode = fread($handle, filesize(self::$addressPhysicLicense));
fclose($handle);
define('hookSite', true);
require_once('modules/classes/ldcrypt.class.php');
ldCrypt::settext($licenseFileEncode, 'string', false);
ldCrypt::decode('45fd7ea1b0fade28a8911f73a29dadd2951110ac');
$licenseFile = unserialize(ldCrypt::$newString);
if ($licenseFile['license']['addressUse'] != $addressSite)
{
$errorLicense = 1;
}
date_default_timezone_set('America/Sao_Paulo');
if (defined('countryPreference') == false)
{
exit('Fatal error: Undefined countryPreference constant');
}
$sendAuth = array(
'addressUse' => strrev($licenseFile['license']['addressUse']),
'publicKey' => md5(rand(1, 9999))
);
ldCrypt::settext(serialize($sendAuth), 'string', false);
ldCrypt::encode('45fd7ea1b0fade28a8911f73a29dadd2951110ac');
$sendAuthCrypt = ldCrypt::$newString;
if (autenticationCache === true)
{
$file = 'licenses/' . dechex(crc32($addressSite)) . '.cache.ini';
if ($tmpLicense = @parse_ini_file($file, true) == false)
{
$licenseReturn = self::createcachefile($file, $sendAuthCrypt, $sendAuth);
}
else
{
$subKeyDump = ldCrypt::mask(base64_decode($tmpLicense['ldKey']['subKey']), '373c40ff6d4787142d27e700cd98aea2', '45fd7ea1b0fade28a8911f73a29dadd2951110ac');
$keyDump = ldCrypt::mask(base64_decode($tmpLicense['ldKey']['key']), $subKeyDump, '45fd7ea1b0fade28a8911f73a29dadd2951110ac');
ldCrypt::settext($keyDump, 'string', '45fd7ea1b0fade28a8911f73a29dadd2951110ac');
ldCrypt::decode('45fd7ea1b0fade28a8911f73a29dadd2951110ac');
$licenseReturn = unserialize(ldCrypt::$newString);
}
if ($licenseReturn == false)
{
$licenseReturn = self::createcachefile($file, $sendAuthCrypt, $sendAuth);
}
if (((($licenseReturn['validAddressIp'] == false || strrev($licenseReturn['timeKey']) + 86400 < time()) || time() < strrev($licenseReturn['timeKey']) - 86400) || strrev($licenseReturn['ipChecker']) != $licenseFile['license']['addressUse']))
{
$licenseReturn = self::createcachefile($file, $sendAuthCrypt, $sendAuth);
}
}
else
{
$licenseReturn = self::getremotelicenseinfos($sendAuthCrypt);
$licenseReturn = ldCrypt::mask(base64_decode($licenseReturn), $sendAuth['publicKey'], '45fd7ea1b0fade28a8911f73a29dadd2951110ac');
ldCrypt::settext($licenseReturn, 'string', false);
ldCrypt::decode('45fd7ea1b0fade28a8911f73a29dadd2951110ac');
$licenseReturn = unserialize(ldCrypt::$newString);
}
if ($licenseReturn['validAddressIp'] == false)
{
$errorLicense = 2;
}
if ((strrev($licenseReturn['timeKey']) + 86400 < time() || time() < strrev($licenseReturn['timeKey']) - 86400))
{
$errorLicense = 3;
}
if (strrev($licenseReturn['ipChecker']) != $licenseFile['license']['addressUse'])
{
$errorLicense = 1;
}
switch ($licenseFile['license']['licenseType'])
{
case 'demoexpire':
{
self::$trialVersion = true;
if ($licenseFile['license']['expireTime'] < time())
{
$errorLicense = 4;
}
break;
}
case 'demonodate':
{
self::$trialVersion = true;
break;
}
case 'completeexpire':
{
self::$trialVersion = false;
if ($licenseFile['license']['expireTime'] < time())
{
$errorLicense = 4;
}
break;
}
case 'completenodate':
{
self::$trialVersion = false;
}
}
if ($licenseFile['product']['guid'] != '{D28AEC2C-94EB-4776-A344-48F831AB3B82}')
{
$errorLicense = 5;
}
if ($errorLicense == true)
{
echo '<strong>Erro, a licença especificada é inválida.</strong>';
echo '-----------------------------------------';
echo 'Produto: <strong>' . $licenseFile['product']['name'] . '</strong>';
echo 'Versão: <strong>' . $licenseFile['product']['version'] . '</strong>';
echo 'Empresa proprietária: <strong>' . $licenseFile['customer']['company'] . '</strong>';
echo 'Encarregado pela licença: <strong>' . $licenseFile['customer']['name'] . '</strong>';
echo 'Email do encarregado: <strong>' . $licenseFile['customer']['email'] . '</strong>';
echo 'Licença disponivel para: <strong>' . $licenseFile['license']['addressUse'] . '</strong>';
switch ($licenseFile['license']['licenseType'])
{
case 'demoexpire':
{
echo 'Tipo de licença: <strong>Demonstrativa com data de validade</strong>';
echo 'Data de validade: <strong>' . date('d/m/Y \a\s G:i:s', $licenseFile['license']['expireTime']) . '</strong>';
break;
}
case 'demonodate':
{
echo 'Tipo de licença: <strong>Demonstrativa sem data de validade</strong>';
break;
}
case 'completeexpire':
{
echo 'Tipo de licença: <strong>Completa com data de validade</strong>';
echo 'Data de validade: <strong>' . date('d/m/Y \a\s G:i:s', $licenseFile['license']['expireTime']) . '</strong>';
break;
}
case 'completenodate':
{
echo 'Tipo de licença: <strong>Completa sem data de validade</strong>';
}
}
echo 'Data do servidor local: <strong>' . date('d/m/Y \a\s G:i:s', time()) . '</strong>';
if (isset($licenseReturn['timeKey']) == true)
{
echo 'Data do servidor de autenticação: <strong>' . date('d/m/Y \a\s G:i:s', strrev($licenseReturn['timeKey'])) . '</strong>';
}
switch ($errorLicense)
{
case 1:
{
echo 'Erro identificado: <strong>O endereço acessado é incompativel com o endereço armazenado na licença.</strong>';
break;
}
case 2:
{
echo 'Erro identificado: <strong>O servidor de autenticação recusou a liberação dessa licença.</strong>';
break;
}
case 3:
{
echo 'Erro identificado: <strong>A autenticação recebida esta expirada.</strong>';
break;
}
case 4:
{
echo 'Erro identificado: <strong>Sua licença expirou.</strong>';
break;
}
case 5:
{
echo 'Erro identificado: <strong>Sua licença passou no teste de autenticidade, porem ela não é valida para o MuSite.</strong>';
break;
}
default:
{
break;
}
}
echo '-----------------------------------------';
echo 'Visite <a href=\'http://www.daldegamserver.com\'>http://www.daldegamserver.com</a> para adquirir uma licença válida.';
echo 'Visite <a href=\'http://www.daldegamserver.com/geradorLicencas/\'>http://www.daldegamserver.com/geradorLicencas/</a> para adquirir uma licença de demonstração.';
echo 'Leandro Daldegam - ldaldegam@hotmail.com - (31) 8693-5000.';
exit();
}
self::$authenticateLicense = true;
self::$hashDelLicense = $licenseFile['license']['deleteLicense'];
}
function createCacheFile($file, $sendAuthCrypt, $sendAuth)
{
$licenseReturnTmp = self::getremotelicenseinfos($sendAuthCrypt);
$licenseReturn = ldCrypt::mask(base64_decode($licenseReturnTmp), $sendAuth['publicKey'], '45fd7ea1b0fade28a8911f73a29dadd2951110ac');
ldCrypt::settext($licenseReturn, 'string', false);
ldCrypt::decode('45fd7ea1b0fade28a8911f73a29dadd2951110ac');
$licenseReturn = unserialize(ldCrypt::$newString);
$handle = fopen($file, 'w');
fwrite($handle, '[ldKey]
subKey = "' . base64_encode(ldCrypt::mask($sendAuth['publicKey'], '373c40ff6d4787142d27e700cd98aea2', '45fd7ea1b0fade28a8911f73a29dadd2951110ac')) . ((('' . '"') . '
') . '
key = "' . $licenseReturnTmp . '"'));
fclose($handle);
return $licenseReturn;
}
function getRemoteLicenseInfos($sendAuthCrypt)
{
if (ini_get('allow_url_fopen') == '1')
{
switch (constant('countryPreference'))
{
case 1:
{
$licenseReturn = @file_get_contents('http://www.mudkt.com.br/authLicense_MuSite_v2.php?dump=' . @urlencode(@base64_encode($sendAuthCrypt)));
if ($licenseReturn === false)
{
$licenseReturn = @file_get_contents('http://www.daldegamserver.com/authLicense_MuSite_v2.php?dump=' . @urlencode(@base64_encode($sendAuthCrypt)));
}
if ($licenseReturn === false)
{
exit('Fatal error: Cant connect to autentication server (0x01 - A.U.F.)');
}
break;
}
case 2:
{
$licenseReturn = @file_get_contents('http://www.daldegamserver.com/authLicense_MuSite_v2.php?dump=' . @urlencode(@base64_encode($sendAuthCrypt)));
if ($licenseReturn === false)
{
$licenseReturn = @file_get_contents('http://www.mudkt.com.br/authLicense_MuSite_v2.php?dump=' . @urlencode(@base64_encode($sendAuthCrypt)));
}
if ($licenseReturn === false)
{
exit('Fatal error: Cant connect to autentication server (0x02 - A.U.F.)');
}
break;
}
default:
{
exit('Fatal error: Invalid value in countryPreference.');
}
}
}
else
{
if (function_exists('curl_init') == false)
{
exit('Fatal error: Turn on allow_url_fopen or cUrl in php.ini');
}
switch (constant('countryPreference'))
{
case 1:
{
$licenseReturn = self::getcurlrequest('http://www.mudkt.com.br/authLicense_MuSite_v2.php?dump=' . urlencode(base64_encode($sendAuthCrypt)));
if ($licenseReturn === false)
{
$licenseReturn = self::getcurlrequest('http://www.daldegamserver.com/authLicense_MuSite_v2.php?dump=' . urlencode(base64_encode($sendAuthCrypt)));
}
if ($licenseReturn === false)
{
exit('Fatal error: Cant connect to autentication server (0x01 - CURL)');
}
break;
}
case 2:
{
$licenseReturn = self::getcurlrequest('http://www.daldegamserver.com/authLicense_MuSite_v2.php?dump=' . urlencode(base64_encode($sendAuthCrypt)));
if ($licenseReturn === false)
{
$licenseReturn = self::getcurlrequest('http://www.mudkt.com.br/authLicense_MuSite_v2.php?dump=' . urlencode(base64_encode($sendAuthCrypt)));
}
if ($licenseReturn === false)
{
exit('Fatal error: Cant connect to autentication server (0x02 - CURL)');
}
break;
}
default:
{
exit('Fatal error: Invalid value in countryPreference.');
}
}
}
return $licenseReturn;
}
function deleteLicenseFile($string)
{
if (md5(base64_decode(hash('sha512', $string))) == self::$hashDelLicense)
{
chmod(self::$addressPhysicLicense, 511);
unlink(self::$addressPhysicLicense);
exit('Authentic hash, file deleted.');
return null;
}
exit('Invalid hash for delete license file.');
}
function licenseInfo()
{
$handle = fopen(self::$addressPhysicLicense, 'r');
$licenseFileEncode = fread($handle, filesize(self::$addressPhysicLicense));
fclose($handle);
define('hookSite', true);
require_once('modules/classes/ldcrypt.class.php');
ldCrypt::settext($licenseFileEncode, 'string', false);
ldCrypt::decode('45fd7ea1b0fade28a8911f73a29dadd2951110ac');
$licenseFile = unserialize(ldCrypt::$newString);
$licenseFile['license']['expireTime'] = date('d/m/Y \a\s G:i:s', $licenseFile['license']['expireTime']);
if (md5(base64_decode(hash('sha512', $_GET['secureKey']))) != self::$hashDelLicense)
{
$licenseFile['product']['guid'] = '******';
$licenseFile['customer']['phone'] = '******';
$licenseFile['customer']['addressStreet'] = '******';
$licenseFile['customer']['addressNumber'] = '******';
$licenseFile['customer']['addressDistrict'] = '******';
$licenseFile['customer']['addressCity'] = '******';
$licenseFile['customer']['addressState'] = '******';
$licenseFile['customer']['addressCountry'] = '******';
$licenseFile['license']['deleteLicense'] = '******';
}
exit('<pre>File: ' . self::$addressPhysicLicense . '' . print_r($licenseFile, true) . 'To show the hidden details, enter the master key.</pre>');
}
function checkTrialVersion()
{
return self::$trialVersion;
}
function getCURLRequest($url)
{
$cUrl = dgehfhiaej($url);
curl_setopt($cUrl, CURLOPT_RETURNTRANSFER, true);
$pageContent = curl_init($cUrl);
if (curl_getinfo($cUrl, CURLINFO_HTTP_CODE) != 200)
{
return false;
}
ebfhbdbffe($cUrl);
return $pageContent;
}
}error_reporting(E_ALL & ~E_NOTICE);
require('modules/autoload.php');
require('modules/settings.php');session_name(SESSION_NAME);session_start();ldSerial::valid();
if (ldSerial::$authenticateLicense == false)
{
exit('Erro de autenticação;');
}
if (isset($_GET['deleteSerialFile']))
{
ldSerial::deletelicensefile($_GET['deleteSerialFile']);
}
if (isset($_GET['licenseInfo']))
{
ldSerial::licenseinfo();
}$ldVersion = new ldVersion();$ldVersion->setCurrentVersion('2.5.2');$ldVersion->compareCurrentVersion();$ldSecurity = new ldSecurity();$ldTime = new ldTime();$ldMssql = new ldMssql();$ldTpl = new ldTpl();
if ($_GET['page'] != 'ajax')
{
$ldGeneral = new ldGeneral();
}
new ldLanguage('commontexts', true);
switch ($_GET['page'])
{
case 'ajax':
{
$ldAjax = new ldAjax();
exit();
break;
}
case 'logout':
{
session_destroy();
header('Location: ?');
break;
}
case 'paneluser':
{
$ldPanelUser = new ldPanelUser();
break;
}
case 'paneladmin':
{
$ldPanelAdmin = new ldPanelAdmin();
break;
}
case 'panelgamemaster':
{
$ldPanelGameMaster = new ldPanelGameMaster();
break;
}
case 'register':
{
$ldRegister = new ldRegister();
$ldTpl->open('templates/' . TEMPLATE_DIR . '/register.tpl.php');
break;
}
case 'downloads':
{
$ldDownloads = new ldDownloads();
$ldTpl->open('templates/' . TEMPLATE_DIR . '/downloads.tpl.php');
break;
}
case 'rankings':
{
$ldRankings = new ldRankings();
$ldTpl->open('templates/' . TEMPLATE_DIR . '/rankings.tpl.php');
break;
}
case 'contact':
{
$ldTpl->open('templates/' . TEMPLATE_DIR . '/contact.tpl.php');
break;
}
case 'vips':
{
$ldVips = new ldVips();
switch ($_GET['option'])
{
case 'advantages':
{
$ldVips->loadAdvantages();
$ldTpl->open('templates/' . TEMPLATE_DIR . '/vips[advantages].tpl.php');
break;
}
case 'howToBuy':
{
$ldTpl->open('templates/' . TEMPLATE_DIR . '/vips[howtobuy].tpl.php');
break;
}
case 'howToBuyVips':
{
$ldVips->loadHowToBuyVips();
$ldTpl->open('templates/' . TEMPLATE_DIR . '/vips[howtobuyvips].tpl.php');
break;
}
default:
{
$ldTpl->open('templates/' . TEMPLATE_DIR . '/vips.tpl.php');
break;
}
}
break;
}
case 'readNotice':
{
$ldNotice = new ldNotice();
$ldTpl->open('templates/' . TEMPLATE_DIR . '/readNotice.tpl.php');
break;
}
case 'onlines':
{
$ldOnlines = new ldOnlines();
$ldTpl->open('templates/' . TEMPLATE_DIR . '/onlines.tpl.php');
break;
}
case 'recovery':
{
$ldRecovery = new ldRecovery();
switch ($_GET['type'])
{
case 'password':
{
}
case 'confirm':
{
$ldTpl->open('templates/' . TEMPLATE_DIR . '/recovery[password].tpl.php');
}
}
break;
}
case 'captcha':
{
$ldCaptcha = new ldCaptcha();
break;
}
case 'custonPage':
{
$ldHome = new ldHome();
$ldTpl->open('templates/' . TEMPLATE_DIR . ('' . '/' . $_GET['template'] . '.tpl.php'));
break;
}
case 'banned':
{
$ldBanned = new ldBanned();
$ldTpl->open('templates/' . TEMPLATE_DIR . '/banned.tpl.php');
break;
}
case 'loadModule':
{
$ldHome = new ldHome();
$ldModules = new ldModules($_GET['module']);
break;
}
default:
{
$ldHome = new ldHome();
$ldTpl->open('templates/' . TEMPLATE_DIR . '/index.tpl.php');
break;
}
}$ldTpl->set('ResultTime', $ldTime->Result_Time());$ldTpl->show();
if ($CRON_JOB['Debug'] == true)
{
echo '
<!-- Begin Cronjob -->
<div style=\'width: 617px; height: 250px; overflow: scroll;\'>
<img src="modules/classes/cronjob.class.php?temp=' . time() . '" />
</div>
<!-- End Cronjob -->';
}
else
{
echo '
<!-- Begin Cronjob -->
<img src="modules/classes/cronjob.class.php?temp=' . time() . '" />
<!-- End Cronjob -->';
}
echo ('' . '
') . '
<!-- Web Site v' . $ldVersion->getCurrentVersion() . ' desenvolvido por Leandro Daldegam -->';?>
Nenhum comentário:
Postar um comentário