コード例 #1
0
    if ($_GET['invincible'] == 'yes') {
        $HTMLOUT .= invincible($id);
    } elseif ($_GET['invincible'] == 'remove_bypass') {
        $HTMLOUT .= invincible($id, true, false);
    } else {
        $HTMLOUT .= invincible($id, false);
    }
}
// End
/** #$^$&%$&@ stealth!..pdq **/
if ((($user['class'] >= UC_STAFF or $user['id'] == $CURUSER['id']) || $user['class'] < UC_STAFF && $CURUSER['class'] >= UC_STAFF) && isset($_GET['stealth'])) {
    require_once INCL_DIR . 'stealth.php';
    if ($_GET['stealth'] == 'yes') {
        $HTMLOUT .= stealth($id);
    } elseif ($_GET['stealth'] == 'no') {
        $HTMLOUT .= stealth($id, false);
    }
}
// End
//==country by pdq
function countries()
{
    global $mc1, $INSTALLER09;
    if (($ret = $mc1->get_value('countries::arr')) === false) {
        $res = sql_query("SELECT id, name, flagpic FROM countries ORDER BY name ASC") or sqlerr(__FILE__, __LINE__);
        while ($row = mysqli_fetch_assoc($res)) {
            $ret[] = $row;
        }
        $mc1->cache_value('countries::arr', $ret, $INSTALLER09['expires']['user_flag']);
    }
    return $ret;
コード例 #2
0
ファイル: userdetails.php プロジェクト: Bigjoos/U-232-V5
    if ($_GET['invincible'] == 'yes') {
        $HTMLOUT .= "<div class='row'><div class'col-md-4'>" . invincible($id) . "</div></div";
    } elseif ($_GET['invincible'] == 'remove_bypass') {
        $HTMLOUT .= "<div class='row'><div class'col-md-4'>" . invincible($id, true, false);
    } else {
        $HTMLOUT .= invincible($id, false);
    }
}
// End
/** #$^$&%$&@ stealth!..pdq **/
if ((($user['class'] >= UC_STAFF or $user['id'] == $CURUSER['id']) || $user['class'] < UC_STAFF && $CURUSER['class'] >= UC_STAFF) && isset($_GET['stealth'])) {
    require_once INCL_DIR . 'stealth.php';
    if ($_GET['stealth'] == 'yes') {
        $HTMLOUT .= "<div class='row'><div class'col-md-4'>" . stealth($id) . "</div></div";
    } elseif ($_GET['stealth'] == 'no') {
        $HTMLOUT .= "<div class='row'><div class'col-md-4'>" . stealth($id, false) . "</div></div";
    }
}
// End
//==country by pdq
function countries()
{
    global $mc1, $INSTALLER09;
    if (($ret = $mc1->get_value('countries::arr')) === false) {
        $res = sql_query("SELECT id, name, flagpic FROM countries ORDER BY name ASC") or sqlerr(__FILE__, __LINE__);
        while ($row = mysqli_fetch_assoc($res)) {
            $ret[] = $row;
        }
        $mc1->cache_value('countries::arr', $ret, $INSTALLER09['expires']['user_flag']);
    }
    return $ret;