Exemplo n.º 1
0
<?php

require_once "config.php";
require_once WWW_DIR . "/lib/adminpage.php";
require_once WWW_DIR . "/lib/releases.php";
$page = new AdminPage();
$releases = new Releases();
$num = 0;
if (isset($_GET["id"])) {
    $num = $releases->removeRageIdFromReleases($_GET["id"]);
}
$page->smarty->assign('numtv', $num);
$page->title = "Remove Rage Id from Releases";
$page->content = $page->smarty->fetch('rage-remove.tpl');
$page->render();