View Single Post
  #5  
Old 16th July 2017, 23:38
order order is offline
Banned
 
Join Date: May 2017
Posts: 40
Default
Quote:
Originally Posted by thartley55 View Post
So, curious...will you be posting a version up in here when done?

Would like to have that, if so.
Yes i will
There is only 3 files to be done all decoder its the Url that needs alot of work to be done to lock xam out from hes site ive done the remote file to lock him out of the site to drop site
Here is a snip of one of the files done
Code:
 <?php
/*
/ Decoder by XGODY
/ No Ioncube loader fuck you xam pay back time
/ I will Decoder every corebase you sell next is your v7.2
*/
    if (!defined( 'IN_CRON' )) {
        exit(  );
    }

    $FPQUERY = mysql_query( 'SELECT * FROM ts_promotions' );
    ++$CQueryCount;

    if (0 < mysql_num_rows( $FPQUERY )) {
        require_once( INC_PATH . '/functions_pm.php' );

        while ($P = mysql_fetch_assoc( $FPQUERY )) {
            if (( strtolower( $P['type'] )  = 'promote' && 0 < intval( $P['include_usergroup'] ) )) {
                $Queries = array(  );
                $Queries[] = 'usergroup = ' . intval( $P['include_usergroup'] );
                $Queries[] = 'enabled = \'yes\'';

                if (0 < $P['upload_limit']) {
                    $Queries[] = 'uploaded >= ' . $P['upload_limit'] + 1024 + 1024 + 1024;
                }


                if (0 < $P['ratio_limit']) {
                    $Queries[] = 'uploaded / downloaded >= ' . $P['ratio_limit'];
                }


                if (0 < intval( $P['min_reg_days'] )) {
                    $Queries[] = 'UNIX_TIMESTAMP(added) <= ' . ( TIMENOW - 86400 + intval( $P['min_reg_days'] ) );
                }


                if (0 < $P['posts']) {
                    $Queries[] = 'totalposts >= ' . $P['posts'];
                }


                if (2 < count( $Queries )) {
                    $query = mysql_query( 'SELECT id, username FROM users WHERE ' . implode( ' AND ', $Queries ) );
                    ++$CQueryCount;

                    if (0 < mysql_num_rows( $query )) {
                        $UserNames = array(  );

                        while ($arr = mysql_fetch_assoc( $query )) {
                            mysql_query( 'UPDATE users SET usergroup = \'' . $P['promote_to'] . '\', modcomment = CONCAT(\'' . gmdate( 'Y-m-d' ) . ' - Promoted to Usergroup ' . $P['promote_to'] . ' by -AutoSystem. \', modcomment) WHERE id = \'' . $arr['id'] . '\'' );
                            ++$CQueryCount;
                            send_pm( $arr['id'], $lang->cronjobs['promote_message'], $lang->cronjobs['promote_subject'] );
                            ++$CQueryCount;
                            $UserNames[] = $arr['username'];
                        }


                        if ($UserNames['0'] != '') {
                            SaveLog( 'Following User(s) has been Promoted to Usergroup (' . $P['promote_to'] . '): ' . implode( ', ', $UserNames ) . '.' );
                            ++$CQueryCount;
                            continue;
                        }

                        continue;
                    }

                    continue;
                }

                continue;
            }


            if (0 < intval( $P['include_usergroup'] )) {
                $Queries = array(  );
                $Queries[] = 'usergroup = ' . intval( $P['include_usergroup'] );
                $Queries[] = 'enabled = \'yes\'';

                if (0 < $P['ratio_limit']) {
                    $Queries[] = 'uploaded / downloaded <= ' . $P['ratio_limit'];
                }


                if (0 < $P['times_warned']) {
                    $Queries[] = 'timeswarned >= ' . $P['times_warned'];
                }


                if (2 < count( $Queries )) {
                    $query = mysql_query( 'SELECT id, username FROM users WHERE ' . implode( ' AND ', $Queries ) );

                    if (0 < mysql_num_rows( $query )) {
                        $UserNames = array(  );

                        while ($arr = mysql_fetch_assoc( $query )) {
                            mysql_query( 'UPDATE users SET usergroup = \'' . $P['demote_to'] . '\', modcomment = CONCAT(\'' . gmdate( 'Y-m-d' ) . ' - Demoted to Usergroup ' . $P['demote_to'] . ' by -AutoSystem. \', modcomment) WHERE id = \'' . $arr['id'] . '\'' );
                            ++$CQueryCount;
                            send_pm( $arr['id'], sprintf( $lang->cronjobs['demote_message'], $P['ratio_limit'] ), $lang->cronjobs['demote_subject'] );
                            ++$CQueryCount;
                            $UserNames[] = $arr['username'];
                        }


                        if ($UserNames['0'] != '') {
                            SaveLog( 'Following User(s) has been Demoted to Usergroup (' . $P['demote_to'] . '): ' . implode( ', ', $UserNames ) . '.' );
                            ++$CQueryCount;
                            continue;
                        }

                        continue;
                    }

                    continue;
                }

                continue;
            }
        }
    }

?>

Last edited by order; 17th July 2017 at 22:12.
Reply With Quote