mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
Localization: remove search-group and move strings to main
Profiler: implemented frontpage (?profiler) Announcements: parse for STATIC_URL and HOST_URL
This commit is contained in:
@@ -37,8 +37,9 @@ class ProfilePage extends GenericPage
|
||||
|
||||
if (count($_) == 1 && intVal($_[0]))
|
||||
{
|
||||
if ($_ = DB::Aowow()->selectCell('SELECT 2161862')) // some query to validate existence of char
|
||||
$this->profileId = $_;
|
||||
// todo: some query to validate existence of char
|
||||
if ($foo = DB::Aowow()->selectCell('SELECT 2161862'))
|
||||
$this->profileId = $foo;
|
||||
else
|
||||
$this->notFound(Util::ucFirst(Lang::$game['profile']));
|
||||
|
||||
@@ -47,7 +48,8 @@ class ProfilePage extends GenericPage
|
||||
}
|
||||
else if (count($_) == 3)
|
||||
{
|
||||
if ($foo = DB::Aowow()->selectCell('SELECT 2161862')) // some query to validate existence of char
|
||||
// todo: some query to validate existence of char
|
||||
if ($foo = DB::Aowow()->selectCell('SELECT 2161862'))
|
||||
$this->profileId = $foo;
|
||||
else
|
||||
$this->notFound(Util::ucFirst(Lang::$game['profile']));
|
||||
|
||||
Reference in New Issue
Block a user