Example #1
0
// Security check
unset($checkNetHack);
unset($_GET['checkNetHack']);
$checkNetHack = 0;
require "conf/packages.php";
require "conf/functions.php";
// Set environment
$docRoot = $_SERVER['DOCUMENT_ROOT'] . dirname($_SERVER['SCRIPT_NAME']);
// Get the page using GET value
$id = trim(strip_tags(htmlentities($_GET['id'], ENT_QUOTES)));
if (strpos($id, "..") === TRUE) {
    header("Location: .");
}
// Set browser lang
$lang = setlang();
require "conf/config.php";
// Search activated
search();
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
	"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="content-type" content="text/html; charset=utf-8" />
	<meta http-equiv="cache-control" content="no-cache" />
	<meta name="robots" content="index,follow" />
	<meta name="copyright" content="etherea` ./LSD @ virg0.org | CreativeCode | KVIrc.net" />
	<meta name="copyright" content="HelLViS69 hellvis69 @ gmail.com | GPL | KVIrc.net" />
	<meta name="author" content="etherea` - graphics - ./LSD @ virg0.org" />
	<meta name="author" content="HelLViS69 - code - hellvis69 @ gmail.com" />
Example #2
0
				FROM `' . DB_PREFIX . 'config`
				', 'fetch_one');
        if ($_SESSION['user_id'] != $pool_admin_user_id) {
            $tpl_name = 'updating_blockchain';
        }
    } else {
        $tpl_name = 'updating_blockchain';
    }
}
if (@$_REQUEST['parameters']['lang'] == '42') {
    $lang = 42;
    setlang($lang);
} else {
    if (@$_REQUEST['parameters']['lang'] == '1') {
        $lang = 1;
        setlang($lang);
    }
}
$lang = get_lang();
$tpl['lang'] = $lang;
require_once ABSPATH . 'lang/' . $lang . '.php';
$tpl['periods'] = array(86400 => '1 ' . $lng['day'], 604800 => '1 ' . $lng['week'], 31536000 => '1 ' . $lng['year'], 2592000 => '1 ' . $lng['month'], 1209600 => '2 ' . $lng['weeks']);
$count_sign = 0;
if (!empty($_SESSION['user_id']) && $_SESSION['user_id'] != 'wait' && isset($db) && $install_progress == 'complete') {
    $user_id = $_SESSION['user_id'];
    //$user_id =  get_my_user_id($db);
    $my_user_id = $user_id;
    $count_sign = 1;
    $pk = $db->query(__FILE__, __LINE__, __FUNCTION__, __CLASS__, __METHOD__, "\n\t\t\tSELECT `public_key_1`, `public_key_2`\n\t\t\tFROM `" . DB_PREFIX . "users`\n\t\t\tWHERE `user_id` = {$user_id}\n\t\t\t", 'fetch_array');
    if ($pk['public_key_1']) {
        $count_sign = 2;