mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 17:28:55 +00:00
19 lines
408 B
PHP
19 lines
408 B
PHP
<?php
|
|
require_once dirname(__FILE__) . '/../../www/config.php';
|
|
|
|
use newznab\db\DB;
|
|
|
|
$t = new TvRage;
|
|
|
|
$db = new DB();
|
|
|
|
$shows = $db->query("select name from releases where categoryID IN (select ID from category where parentID = 5000) limit 0, 50");
|
|
|
|
foreach ($shows as $show) {
|
|
$res = $t->parseNameEpSeason($show['name']);
|
|
$res['release'] = $show['name'];
|
|
|
|
echo "<pre>";
|
|
print_r($res);
|
|
echo "</pre>";
|
|
} |