Example #1
0
define('VERSION', "RL-CPanel " . $ver_um . " by Idoenk :: nohuhu<br />[ TuxiNuX::<a href='javascript:;' title='Kaskus.co.id #14'>CCPB</a> ]");
define('ACCVER', "Rapidshare-ACC Checker [by: reiluke]<br /><small>Thanks to limpy&amp;Viant77</small>");
define('ACC_EMBED', "<span class='g'>account embeded</span>");
define('KEY_EMBED', "<span class='g'>key embeded</span>");
define('CK_EMBED', "<span class='g'>cookie embeded</span>");
define('FILECONFIG', CONFIG_DIR . 'config.php');
define('FILEACCOUNT', CONFIG_DIR . 'accounts.php');
$settingfile = array(FILECONFIG, FILEACCOUNT);
//needed in tpl, check if it false,. ajax will not load.
$ajax_serverfiles = !$options['disable_ajax'];
$showcpanel2 = $options['allowcpanel'];
$arlang = $L->get_languages();
$arTPL = getArrayfromfile('tpl/', '', '', 'dir');
$arCSS = array();
foreach ($arTPL as $k => $v) {
    $arCSS[$v] = getArrayfromfile('tpl/' . $v . '/skin/', '', '', 'dir');
}
$mip_list = @file_exists(LOG_DIR . "mip_iplist.txt") ? file_get_contents(LOG_DIR . "mip_iplist.txt") : "";
$cp_login = array();
$defaultcp = false;
if (!isset($options['loginCp'])) {
    $options['loginCp'] = array('admin' => 'admin');
    //admin=>admin
    $defaultcp = true;
} else {
    foreach ($options['loginCp'] as $u => $p) {
        if ($u . $p === 'admin' . 'admin') {
            $defaultcp = true;
        }
        $cp_login[0] = $u;
        $cp_login[1] = $p;
Example #2
0
define('CONFIG_FILE', 'config.php');
// define your config file name here
define('ACC_EMBED', "<span class='g'>account embeded</span>");
define('CK_EMBED', "<span class='g'>cookie embeded</span>");
$fileconfig = CONFIG_DIR . CONFIG_FILE;
$nn = "\r\n";
require_once $fileconfig;
require_once CLASS_DIR . "other.php";
//needed in tpl, check if it false,. ajax will not load.
$ajax_serverfiles = @file_exists("rsajax.js") && !$disable_ajax;
$PHP_SELF = !isset($PHP_SELF) ? $_SERVER["PHP_SELF"] : $PHP_SELF;
$showcpanel2 = $allowcpanel;
define('TPL_PATH', 'tpl' . '/' . $csstype . '/');
define('IMAGE_DIR', MISC_DIR . TPL_PATH);
$arlang = getArrayfromfile(LANG_DIR, 'language.', '.inc.php', 'file');
$arCSS = getArrayfromfile(MISC_DIR . 'tpl' . '/', '', '', 'dir');
$mip_list = @file_exists(LOG_DIR . "mip_iplist.txt") ? file_get_contents(LOG_DIR . "mip_iplist.txt") : "";
$cp_login = array();
$defaultcp = false;
if (!isset($loginCp)) {
    $loginCp = array('admin' => 'admin');
    //admin=>admin
    $defaultcp = true;
} else {
    foreach ($loginCp as $u => $p) {
        if ($u . $p === 'admin' . 'admin') {
            $defaultcp = true;
        }
        $cp_login[0] = $u;
        $cp_login[1] = $p;
    }