Exemple #1
0
}
if ($user_rank > 5) {
    if ($hkzone !== true) {
        header("Location: index.php?throwBack=true");
        exit;
    }
    if (!mobbo::session_is_registered(acp)) {
        header("Location: index.php?p=login");
        exit;
    }
    $pagename = "Notcias";
    $pageid = "news";
    $key = htmlentities($_GET['key']);
    $do = htmlentities($_GET['do']);
    $page = Security::textFilter($_GET['page']);
    $posts = Transaction::evaluate("SELECT COUNT(*) FROM mobbo_news");
    $pages = ceil(($posts + 0) / 50);
    if ($page > $pages || $page < 1) {
        $page = 1;
    }
    if ($_POST['site']) {
        header("location: " . $adminpath . "/p/news&page=" . $_POST['page'] . "");
    }
    if ($_POST['site2']) {
        header("location: " . $adminpath . "/p/news&page=" . $_POST['page2'] . "");
    }
    if ($do == "delete" && is_numeric($key)) {
        $check = Transaction::query("SELECT id FROM mobbo_news WHERE id = '" . $key . "' LIMIT 1");
        if (Transaction::num_rows($check) > 0) {
            Transaction::query("DELETE FROM mobbo_news WHERE id = '" . $key . "' LIMIT 1");
            $msg = "<div class='rounded rounded-green'><center>A notcia foi removida com xito!. <img src=\"./w/images/check.gif\"></center></div>";
Exemple #2
0
                                                                            <td class='tablerow1'><?php 
echo Transaction::evaluate("SELECT * FROM rooms");
?>
</td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td class='tablerow2'>Salas oficiais</td>
                                                                            <td class='tablerow2'><?php 
echo Transaction::evaluate("SELECT * FROM rooms WHERE owner =''");
?>
</td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td class='tablerow2'>Tags</td>
                                                                            <td class='tablerow2'><?php 
echo Transaction::evaluate("SELECT * FROM user_tags");
?>
</td>
                                                                        </tr>



                                                                    </table>


                                                                    <td width='42%' valign='top'  class='panel callout' >

                                                                        <img  align="right" src="w/images/quiz_question.png">
                                                                        <p><span style="font-size: 4 small;">Olá <?php 
echo $admin_username;
?>
Exemple #3
0
if (!in_array($_SERVER['DOCUMENT_ROOT'] . '\\CORE.php', $included_files)) {
    die;
}
if ($user_rank > 5) {
    if ($hkzone !== true) {
        header("Location: index.php?throwBack=true");
        exit;
    }
    if (!mobbo::session_is_registered(acp)) {
        header("Location: index.php?p=login");
        exit;
    }
    $pagename = "Bots";
    $pageid = "bots";
    $page = Security::textFilter($_GET['page']);
    $posts = Transaction::evaluate("SELECT COUNT(*) FROM bots");
    $pages = ceil(($posts + 0) / 50);
    if ($page > $pages || $page < 1) {
        $page = 1;
    }
    if ($_POST['site']) {
        header("location: " . $adminpath . "/p/bots&page=" . $_POST['page'] . "");
    }
    if ($_POST['site2']) {
        header("location: " . $adminpath . "/p/bots&page=" . $_POST['page2'] . "");
    }
    if ($do == "delete" && is_numeric($key)) {
        $check = Transaction::query("SELECT id FROM bots WHERE id = '" . $key . "' LIMIT 1");
        if (Transaction::num_rows($check) > 0) {
            Transaction::query("DELETE FROM bots WHERE id = '" . $key . "' LIMIT 1");
            Transaction::query("INSERT INTO stafflogs (action,message,note,userid,targetid,timestamp) VALUES ('Housekeeping','Eliminar Bot','bots.php','" . $my_id . "','0','" . $date_full . "')");
Exemple #4
0
                    </form>
                </table>
            </div>

            <td width='10%' valign='top' id='rightblock'>

            <center><img src="<?php 
        echo $avatar;
        echo $userdata['look'];
        ?>
&size=b&direction=2&action=wlk,wav,&head_direction=3&gesture=sml"></center>

            <div class='tableborder'>
                <div class='tableheaderalt'><center>Emblemas (<?php 
        echo Transaction::evaluate("SELECT COUNT(*) FROM user_badges WHERE user_id = '" . $key . "'");
        ?>
) </div>

                <table width='100%' cellspacing='0' cellpadding='5' align='center' border='0'>

                    <tr>
                        <td class='tablesubheader' width='1%' align='center'>Cdigo</td>
                        <td class='tablesubheader' width='14%' align='center'>Emblema</td>
                    </tr>

                    <?php 
        $sql = Transaction::query("SELECT * FROM user_badges WHERE user_id = '" . $key . "' ORDER BY badge_id");
        while ($row = Transaction::fetch($sql)) {
            ?>
Exemple #5
0
    $posts = Transaction::evaluate("SELECT COUNT(*) FROM bans");
    $pages = ceil(($posts + 0) / 50);
    if ($page > $pages || $page < 1) {
        $page = 1;
    }
    @(include 'subheader.php');
    ?>
    <div class='tableborder'>
        <div class='tableheaderalt'><center>Nmero de pessoas banidas:  <?php 
    echo Transaction::evaluate("SELECT COUNT(*) FROM bans");
    ?>
 | <?php 
    echo Transaction::evaluate("SELECT COUNT(*) FROM bans WHERE bantype = 'user'");
    ?>
 Usurios banidos por ID | <?php 
    echo Transaction::evaluate("SELECT COUNT(*) FROM bans WHERE bantype = 'ip'");
    ?>
 Usurios banidos por IP<br><br> Pgina:
                <?php 
    for ($i = 1; $i <= $pages; $i++) {
        if ($page == $i) {
            echo "<blink><b><font color=\"#000000\">" . $i . "</font></b></blink>\n";
        } else {
            echo "<a href=\"./index.php?p=banlogs&page=" . $i . "\"><font color=\"#FFFFFF\">" . $i . "</a></font>\n ";
        }
    }
    ?>
</div>
                <table cellpadding='4' cellspacing='0' width='100%'>

                    <tr>
Exemple #6
0
if (!in_array($_SERVER['DOCUMENT_ROOT'] . '\\CORE.php', $included_files)) {
    die;
}
if ($user_rank > 6) {
    if ($hkzone !== true) {
        header("Location: index.php?throwBack=true");
        exit;
    }
    if (!mobbo::session_is_registered(acp)) {
        header("Location: index.php?p=login");
        exit;
    }
    $pagename = "Da gerncia";
    $pageid = "recommended";
    $page = Security::textFilter($_GET['page']);
    $posts = Transaction::evaluate("SELECT COUNT(*) FROM mobbo_recommended");
    $pages = ceil(($posts + 0) / 50);
    if ($page > $pages || $page < 1) {
        $page = 1;
    }
    if ($_POST['site']) {
        header("location: " . $adminpath . "/p/recommended&page=" . $_POST['page'] . "");
    }
    if ($_POST['site2']) {
        header("location: " . $adminpath . "/p/recommended&page=" . $_POST['page2'] . "");
    }
    if ($do == "delete" && is_numeric($key)) {
        $check = Transaction::query("SELECT id FROM mobbo_recommended WHERE id = '" . $key . "' LIMIT 1");
        if (Transaction::num_rows($check) > 0) {
            Transaction::query("DELETE FROM mobbo_recommended WHERE id = '" . $key . "' LIMIT 1");
            $msg = "<div class='rounded rounded-green'><center>Removido com sucesso <img src=\"./w/images/check.gif\"></center></div>";
Exemple #7
0
    if ($users_today < $users_yesterday) {
        $rounded = 100 - $zwischenround;
    } else {
        $rounded = $zwischenround - 100;
    }
    if ($users_today < $users_yesterday) {
        $icon = "-";
        $color = "red";
    } elseif ($users_today == $users_yesterday) {
        $icon = "+-";
        $color = "gray";
    } else {
        $icon = "+";
        $color = "green";
    }
    $header = "" . Transaction::evaluate("SELECT * FROM users") . " Usuarios registrados</div><center>Registrados - (Hoje): " . $users_today . " | (Ontem): " . $users_yesterday . " = <font color=\"" . $color . "\">" . $icon . "" . $rounded . "%</font>";
    @(include 'subheader.php');
    ?>

    <form action='<?php 
    echo $adminpath;
    ?>
/p/users&do=save' method='post' name='theAdminForm' id='theAdminForm'>
        <div class='tableborder'>
            <div class='tableheaderalt'><div style="float: left"><?php 
    echo $header;
    ?>

                    <select name="page">
                        <?php 
    for ($i = 1; $i <= $pages; $i++) {
Exemple #8
0
if (!in_array($_SERVER['DOCUMENT_ROOT'] . '\\CORE.php', $included_files)) {
    die;
}
if ($user_rank > 6) {
    if ($hkzone !== true) {
        header("Location: index.php?throwBack=true");
        exit;
    }
    if (!mobbo::session_is_registered(acp)) {
        header("Location: index.php?p=login");
        exit;
    }
    $pagename = "Novidades do Hotel";
    $pageid = "campaigns";
    $page = Security::textFilter($_GET['page']);
    $posts = Transaction::evaluate("SELECT COUNT(*) FROM mobbo_hotcampaigns");
    $pages = ceil(($posts + 0) / 50);
    if ($page > $pages || $page < 1) {
        $page = 1;
    }
    if ($_POST['site']) {
        header("location: " . $adminpath . "/p/campaigns&page=" . $_POST['page'] . "");
    }
    if ($_POST['site2']) {
        header("location: " . $adminpath . "/p/campaigns&page=" . $_POST['page2'] . "");
    }
    if ($do == "delete" && is_numeric($key)) {
        $check = Transaction::query("SELECT id FROM mobbo_hotcampaigns WHERE id = '" . $key . "' LIMIT 1");
        if (Transaction::num_rows($check) > 0) {
            Transaction::query("DELETE FROM mobbo_hotcampaigns WHERE id = '" . $key . "' LIMIT 1");
            $msg = "<div class='rounded rounded-green'><center>Notcia eliminada corretamente<img src=\"./w/images/check.gif\"></center></div>";
Exemple #9
0
        echo Transaction::evaluate("SELECT COUNT(*) FROM moderation_tickets WHERE moderator_id = '" . $row['moderator_id'] . "'");
        ?>
</td>
                            </tr>

                        <?php 
    }
    ?>
                    </table>

                    <div class='tableborder'>
                        <div class='tableheaderalt'><center><?php 
    echo Transaction::evaluate("SELECT COUNT(*) FROM moderation_tickets");
    ?>
 Chamados de ajuda | <?php 
    echo Transaction::evaluate("SELECT COUNT(*) FROM moderation_tickets WHERE moderator_id = '0'");
    ?>
 sem ver | Hoje: <?php 
    echo $today;
    ?>

                                <select name="page2">
                                    <?php 
    for ($i = 1; $i <= $pages; $i++) {
        ?>
                                        <option value="<?php 
        echo $i;
        ?>
"<?php 
        if ($i == $page) {
            echo ' selected="selected"';