Пример #1
0
$sitelink = 'http://cardguys.com/Archive/';
$db_host = 'localhost';
$db_username = '******';
$db_password = '******';
$db_name = 'oscar497_cguys_main';
define(SONVT, '');
// connect database
include_once 'includes/class_database.php';
$db = new database();
$db->connect($db_host, $db_username, $db_password, $db_name);
//////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////
include_once 'includes/functions.php';
include_once 'includes/class_security.php';
$security = new security();
$security->logout();
include_once 'class/class_config.php';
$config = new config();
include_once 'class/class_cards_bank.php';
$cards_bank = new cards_bank();
////////////////////////////////////////////////////////
$view = 'list';
include_once 'seosearch.php';
if ($_GET['module']) {
    $module = clear($_GET['module']);
}
$oldmod = $module;
$id = 0;
$type = "";
$modul = seourl_loopup($module);
$module = isset($module) ? $module : "";
Пример #2
0
<?php

include './security.php';
include './sqli.php';
if (isset($_GET['username']) and isset($_GET['token'])) {
    $s = new security($db, $_GET['username']);
    $s->logout($_GET['token']);
}