//$out = $yaping->doping($gr); header('Location: ' . getFriendlyURL('blog_group', $id_gr) . "?t={$t}{$ord_get_part}&tr=-last" . ($PDA ? "#th_{$th_id}" : '')); //header("Location: /blogs/viewgroup.php?gr=$gr&t=$t{$ord_get_part}&tr=-last".($PDA ? "#th_{$th_id}" : ''));exit; exit; } break; case 'restore': $id = intval(trim($_GET['id'])); $uid = get_uid(); if (!$uid || !hasPermissions('blogs')) { header('Location: /fbd.php'); die; } $o_gr = $gr; if ($id && $uid) { $error = $blog_obj->RestoreMsg($uid, $id, $gr, $base, $null, $page, $from, $mod); } if (!($page = __paramInit('int', 'page'))) { $page = 1; } if ($page < 0) { $page = 1; } if ($base) { $t = 'prof'; } if ($site == 'journal' || $_GET['site'] == 'journal') { header('Location: /users/' . $_SESSION['login'] . (is_emp() ? '/setup' : '') . "/journal/?page={$page}"); exit; } if ($_GET['site'] == 'siteadmin' && hasPermissions('blogs')) {