@@ -2,9 +2,9 @@ |
||
2 | 2 | |
3 | 3 | require_once dirname(__DIR__).DIRECTORY_SEPARATOR.'smarty.php'; |
4 | 4 | |
5 | -use nntmux\db\DB; |
|
6 | -use nntmux\Sharing; |
|
7 | 5 | use App\Models\ReleaseComment; |
6 | +use nntmux\Sharing; |
|
7 | +use nntmux\db\DB; |
|
8 | 8 | |
9 | 9 | // Login check. |
10 | 10 | $admin = new AdminPage; |
@@ -2,8 +2,8 @@ |
||
2 | 2 | |
3 | 3 | require_once dirname(__DIR__).DIRECTORY_SEPARATOR.'smarty.php'; |
4 | 4 | |
5 | -use nntmux\Regexes; |
|
6 | 5 | use App\Models\Category; |
6 | +use nntmux\Regexes; |
|
7 | 7 | |
8 | 8 | $page = new AdminPage(); |
9 | 9 | $regexes = new Regexes(['Settings' => $page->pdo, 'Table_Name' => 'category_regexes']); |
@@ -2,12 +2,11 @@ |
||
2 | 2 | |
3 | 3 | require_once dirname(__DIR__).DIRECTORY_SEPARATOR.'smarty.php'; |
4 | 4 | |
5 | -use nntmux\Sites; |
|
6 | -use nntmux\SABnzbd; |
|
7 | -use App\Models\Category; |
|
5 | +use App\Models\Category as CategoryModel; |
|
8 | 6 | use App\Models\Settings; |
7 | +use nntmux\SABnzbd; |
|
8 | +use nntmux\Sites; |
|
9 | 9 | use nntmux\utility\Utility; |
10 | -use App\Models\Category as CategoryModel; |
|
11 | 10 | |
12 | 11 | $page = new AdminPage(); |
13 | 12 | $sites = new Sites(); |
@@ -1,9 +1,9 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -use nntmux\AniDB; |
|
3 | +use App\Models\Category; |
|
4 | 4 | use App\Models\User; |
5 | +use nntmux\AniDB; |
|
5 | 6 | use nntmux\Releases; |
6 | -use App\Models\Category; |
|
7 | 7 | |
8 | 8 | if (! User::isLoggedIn()) { |
9 | 9 | $page->show403(); |
@@ -1,9 +1,9 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -use nntmux\Genres; |
|
4 | -use nntmux\Console; |
|
5 | -use App\Models\User; |
|
6 | 3 | use App\Models\Category; |
4 | +use App\Models\User; |
|
5 | +use nntmux\Console; |
|
6 | +use nntmux\Genres; |
|
7 | 7 | |
8 | 8 | if (! User::isLoggedIn()) { |
9 | 9 | $page->show403(); |
@@ -1,24 +1,24 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -use nntmux\XXX; |
|
3 | +use App\Models\DnzbFailure; |
|
4 | +use App\Models\Predb; |
|
5 | +use App\Models\Release; |
|
6 | +use App\Models\ReleaseComment; |
|
7 | +use App\Models\ReleaseFile; |
|
8 | +use App\Models\ReleaseNfo; |
|
9 | +use App\Models\ReleaseRegex; |
|
10 | +use App\Models\Settings; |
|
11 | +use App\Models\User; |
|
12 | +use App\Models\Video; |
|
4 | 13 | use nntmux\AniDB; |
5 | 14 | use nntmux\Books; |
15 | +use nntmux\Console; |
|
6 | 16 | use nntmux\Games; |
7 | 17 | use nntmux\Movie; |
8 | 18 | use nntmux\Music; |
9 | -use nntmux\Console; |
|
10 | -use App\Models\User; |
|
11 | -use nntmux\Releases; |
|
12 | -use App\Models\Predb; |
|
13 | -use App\Models\Video; |
|
14 | -use App\Models\Release; |
|
15 | -use App\Models\Settings; |
|
16 | 19 | use nntmux\ReleaseExtra; |
17 | -use App\Models\ReleaseNfo; |
|
18 | -use App\Models\DnzbFailure; |
|
19 | -use App\Models\ReleaseFile; |
|
20 | -use App\Models\ReleaseRegex; |
|
21 | -use App\Models\ReleaseComment; |
|
20 | +use nntmux\Releases; |
|
21 | +use nntmux\XXX; |
|
22 | 22 | |
23 | 23 | if (! User::isLoggedIn()) { |
24 | 24 | $page->show403(); |
@@ -1,9 +1,9 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | +use App\Models\Release; |
|
4 | +use App\Models\User; |
|
3 | 5 | use nntmux\NZB; |
4 | 6 | use nntmux\db\DB; |
5 | -use App\Models\User; |
|
6 | -use App\Models\Release; |
|
7 | 7 | |
8 | 8 | $pdo = new DB(); |
9 | 9 | $nzb = new NZB(); |
@@ -1,9 +1,9 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | +use App\Models\Category; |
|
4 | +use App\Models\User; |
|
3 | 5 | use nntmux\Games; |
4 | 6 | use nntmux\Genres; |
5 | -use App\Models\User; |
|
6 | -use App\Models\Category; |
|
7 | 7 | |
8 | 8 | if (! User::isLoggedIn()) { |
9 | 9 | $page->show403(); |
@@ -1,8 +1,8 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -use nntmux\Movie; |
|
4 | -use App\Models\User; |
|
5 | 3 | use App\Models\Category; |
4 | +use App\Models\User; |
|
5 | +use nntmux\Movie; |
|
6 | 6 | |
7 | 7 | $movie = new Movie(['Settings' => $page->settings]); |
8 | 8 |