7.gif

Search (advanced search)
Use this Search form before posting, asking or make a new thread.
Tips: Use Quotation mark to search words (eg. "How To Make Money Online")

07-21-2014, 11:06 PM
Post: #11
RE:
could use help polishing up syntax and renaming vars
07-21-2014, 11:09 PM
Post: #12
RE:
FB Code/Secret is ur normal code secret for an fb app, i assuming its hooking to ur own

Also the purchase code is calculated as above in the file i posted. cant really tell till sommeone cleans it but its roughly hash value of a license key and domain..but long story short nulling will be cake.

above file = base.php
(07-21-2014 06:33 PM)maxiptc Wrote:  here : http://get.fanpagesmarket.com/

what is the purchase code plz ??

// License Settings
define('PURCHASE_CODE', 'PASTE_PURCHASE_CODE_HERE'); // Needed to correct run and update script

= purchase code ?

define('LICENSE_KEY', 'PASTE_LICENSE_KEY_HERE'); // You can get it from http://get.fanpagesmarket.com

// Facebook APP Settings
define('FB_APP_ID', 'APP_ID');
define('FB_APP_SECRET', 'APP_SECRET'); fb APP secret ??
07-22-2014, 12:03 AM (This post was last modified: 07-22-2014 12:04 AM by Loomy.)
Post: #13
RE:
---------------wrong post
07-22-2014, 12:33 AM
Post: #14
RE:
hey thanks bud, there are two files in the base folder that needed to be nulled - base.php and controller.php, which file was the one you posted?
(07-21-2014 11:05 PM)Loomy69za Wrote:  Done...well 1 file -.-
http://www65.zippyshare.com/v/48392379/file.html
07-22-2014, 12:50 AM
Post: #15
RE:
here is the old version of base.php:

Code:
<?php
namespace Base;

abstract class Base
{
    private $sdk;

    protected function sdk()
    {
        if(is_null($this->sdk))
        {
            require_once ROOT_PATH.'/lib/facebook.php';

            $this->sdk = new \Facebook(array(
                'appId'     => FB_APP_ID,
                'secret'    => FB_APP_SECRET,
            ));
        }

        return $this->sdk;
    }

    protected function db()
    {
        global $db;

        return $db;
    }

    protected function isAuth()
    {
        return !empty($_SESSION['user']['id']);
    }

    protected function isAdmin()
    {
        $query = $this->db()->prepare('SELECT user_id FROM admin WHERE user_id = :admin_id');
        $query->execute(array(
            'admin_id' => $_SESSION['user']['id'],
        ));
        $adminDB_ID = $query->fetchColumn();

        if($_SESSION['user']['id'] == $adminDB_ID){
            return TRUE;
        } else {
            return FALSE;
        }
    }
45.gif
07-22-2014, 07:00 AM
Post: #16
RE:
Was someone keen to null this, or should i go for it
07-22-2014, 03:46 PM
Post: #17
RE:
please nulled it..




40.gif