Example #1
0
        if (strpos($text, $bannedWord) !== false) {
            return false;
        }
    }
    return true;
}
if (isset($_POST['add'])) {
    $chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";
    $size = strlen($chars);
    $str = "";
    for ($i = 0; $i < 10; $i++) {
        $str .= $chars[rand(0, $size - 1)];
    }
    $verificare1 = mysql_query("SELECT * FROM `jobs` WHERE `keycode`='{$str}'");
    $verificareB = mysql_num_rows($verificare1);
    $replacedText = blockedsites($protectie['url']);
    if ($verificareB > 0) {
        $message = "Error: Please try again!";
        $message2 = 1;
    } else {
        if ($_POST['cpc'] < 250) {
            $message = "CPC Problem!";
            $message2 = 1;
        } else {
            if ($_POST['cpc'] > 5000) {
                $message = "CPC Problem!";
                $message2 = 1;
            } else {
                if ($_POST['cpc'] > 2500 && $data->pr == 0) {
                    $message = "CPC Problem!";
                    $message2 = 1;
Example #2
0
     $bannedWords = array('socialbirth', 'likesguru', 'megatraffic', 'addmefast', 'like-hits', 'like-ex', 'likesfast', 'lajkovibalkan', 'addmefast', 'admf', 'youlikehits', 'shareyt', 'likerr', 'netlikes', 'get2gathers', 'freefblike', 'anhits', 'gimmehits', 'clicksocialexchange', 'growsociallikes', 'socialskive', 'hitger', 'wanafans', 'yaa1', 'likesniper', 'like-ex', 'fbtwister', 'seoclerks', 'fanslave', 'addm', 'googleglassessupplier', 'fan-likes', 'socialworld', 'youlikefan', 'atodoweb', 'todagalicia', 'youlikefans', 'likeyou', 'exchanger', 'fiverr', 'shorthit', 'followerslikehits', 'socialpromo', 'bit.ly', 'ewsaly', 'hitserr', 'advertcash', 'addm.cc', 'any.gs', 'wantmorelikes', 'likescowboy', 'socialtrade', 'goo.gl', 'followerslikehits', 'fanporfan', 'follow', 'want2like', 'exchange', 'addme', 'fiverr', 'tiny', 'fans', 'likestwist', 'bringlikes', 'lajkovi', 'global', 'drlikes', 'hypesplanet');
     foreach ($bannedWords as $bannedWord) {
         if (strpos($text, $bannedWord) !== false) {
             return false;
         }
     }
     return true;
 }
 $chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";
 $size = strlen($chars);
 $str = "";
 for ($i = 0; $i < 10; $i++) {
     $str .= $chars[rand(0, $size - 1)];
 }
 $replacedText = blockedsites($protectie['url']);
 $replacedText2 = blockedsites($protectie['title']);
 $mysql_num_rows = 0;
 $verificare1 = mysql_query("SELECT * FROM `website` WHERE `website`='{$_POST['url']}'");
 $verificare = mysql_num_rows($verificare1);
 $verificare1 = mysql_query("SELECT * FROM `website` WHERE `user`='{$data->id}'");
 $verificareC = mysql_num_rows($verificare1);
 $verificare1 = mysql_query("SELECT * FROM `website` WHERE `id`='{$str}'");
 $verificareB = mysql_num_rows($verificare1);
 if ($verificare > 0) {
     $message = "Error: Page Added by another user!</br>If you are Page Owner, please Contact us to add.";
     $message2 = 1;
 } else {
     if ($verificareC > 200) {
         $message = "Error: You can add 200 Pages only at one time!<br>Please Delete old pages to be able to add more!";
         $message2 = 1;
     } else {
Example #3
0
if (!isset($data->login)) {
    echo "<script>document.location.href='index.php'</script>";
    exit;
}
if (isset($_POST['add'])) {
    function blockedsites($text)
    {
        $bannedWords = array('socialbirth', 'socialexchangelab');
        foreach ($bannedWords as $bannedWord) {
            if (strpos($text, $bannedWord) !== false) {
                return false;
            }
        }
        return true;
    }
    $replacedText = blockedsites($protectie['adr']);
    $cashoutadrs = mysql_query("SELECT * FROM `cashout` WHERE (`adr`='{$protectie['adr']}' AND `id` != '{$data->id}') ");
    $cashoutadrsnum = mysql_num_rows($cashoutadrs);
    $cashoutadrsB = mysql_query("SELECT * FROM `cashout` WHERE (`adr`='{$protectie['adr']}' AND `id` = '{$data->id}') ");
    $cashoutadrsnumB = mysql_num_rows($cashoutadrsB);
    if ($data->bought == "1") {
        $message = "ERROR: you are not allowed to withdraw because you have bought points.";
        $message2 = 1;
    } else {
        if ($cashoutadrsnum > 0 and $cashoutadrsnumB == 0) {
            $message = "ERROR: Sorry, This Payout Address is used by Another user! </br> If you think this is not correct, Feel free to contact us.";
            $message2 = 1;
        } else {
            if ($replacedText === false) {
                $message = 'Sorry, Problem happened in making your request, Please contact us!';
                $message2 = 1;