Esempio n. 1
0
        </div>
        <div class="row col-lg-12">
          <div class="col-lg-5 col-md-5"> &nbsp; </div>
          <div class="col-lg-7 col-md-7">
            <div class="col-lg-7 col-md-7 captcha thumbnail noselect">
              <?php 
$xHash = generateRandomString();
$temp = $xHash;
$xHash = hashString($xHash);
?>
              <input type="hidden" name="Sec" value="<?php 
echo $xHash;
?>
"/>
              <?php 
echo setFont($temp);
?>
              <input type="text" name="captcha" class="form-control"/>
            </div>
          </div>
        </div>
        <?php 
if (isset($msg1) and isset($_GET['error'])) {
    ?>
        <div class="alert alert-danger" role="alert"><strong>Error! &nbsp; </strong><?php 
    echo $msg1;
    ?>
</div>
        <?php 
}
?>
Esempio n. 2
0
if ($getUser['c'] != 1 || preg_match('/[^\\w-]+/i', $_GET['wow'])) {
    drawText("a", 16, "User not found :(", NULL, true);
    drawText("a", 36, "Register to wowmeter.net to", NULL, true);
    drawText("a", 56, "get your own WOWMeter!", NULL, true);
    drawText(106, 36, "wowmeter.net", alloColor(66, 66, 202, 20), false);
    doImage();
}
# Check if user is banned, if it is, display a message
if ($getUser['r']['isbanned'] == 1) {
    drawText("a", 16, $getUser['r']['username'], NULL, true);
    drawText("a", 36, "is banned from", NULL, true);
    drawText("a", 56, "WOWMeter.net", NULL, true);
    doImage();
}
# Change the font into the user's preference
setFont($getUser['r']['sig_font']);
# Chance the background into the user's preference
$im = setBackground($getUser['r']['sig_bg'], $getUser['r']['bg_color']);
# Draw the text
if ($_GET['mask'] != 1) {
    # Only draw the username when the mask isn't applied
    drawText("a", 16, $getUser['r']['username'], alloColor($getUser['r']['usrname_color'], true));
}
# %Username%
drawText("a", 36, getTrans("hasCollected"), NULL, true);
# has collected %c% wows.
drawText("a", 56, getTrans("clickHere"), NULL, true);
# Click here to give a wow!
if ($_GET['mask'] == 1) {
    # Apply a mask if it's set
    # Create the mask