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:
Sarjuuk
2014-07-24 20:37:30 +02:00
parent 6acee41e3d
commit 48527b0b68
15 changed files with 172 additions and 53 deletions

View File

@@ -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']));