Mister Spy Say ="Hello Kids ... :D"
___ ____ _ _____
| \/ (_) | | / ___|
| . . |_ ___| |_ ___ _ __ \ `--. _ __ _ _
| |\/| | / __| __/ _ \ '__| `--. \ '_ \| | | |
| | | | \__ \ || __/ | /\__/ / |_) | |_| |
\_| |_/_|___/\__\___|_| \____/| .__/ \__, |
| | __/ |
|_| |___/
Bot Mister Spy V3
Mister Spy
Mister Spy
<?php
/**
* CommonPlugin for phplist
*
* This file is a part of CommonPlugin.
*
* @category phplist
* @package CommonPlugin
* @author Duncan Cameron
* @copyright 2011-2012 Duncan Cameron
* @license http://www.gnu.org/licenses/gpl.html GNU General Public License, Version 3
*/
abstract class CommonPlugin_Controller
extends CommonPlugin_BaseController
{
/*
* Public attributes
*/
public $i18n;
public $logger;
/*
* Private methods
*/
private function stripSlashes(&$val)
{
$val = stripslashes($val);
}
/*
* Protected methods
*/
protected function actionHelp()
{
if (isset($_GET['topic'])) {
$help = new CommonPlugin_HelpManager($this);
$help->display($_GET['topic']);
}
exit;
}
protected function actionChart()
{
if (isset($_GET['chartID'])) {
$chart = new CommonPlugin_GoogleChart();
$chart->sendChart($_GET['chartID']);
}
exit;
}
protected function actionExportCSV()
{
$exporter = new CommonPlugin_ExportCSV();
$exporter->export($this);
exit;
}
protected function normalise(&$post)
{
array_walk_recursive($post, array($this, 'stripSlashes'));
}
protected function logEvent($message)
{
global $page;
$currentPage = $page;
$page = $_GET['pi'];
logEvent($message);
$page = $currentPage;
}
/*
* Public methods
*/
public function __construct()
{
parent::__construct();
$this->i18n = CommonPlugin_I18N::instance();
$this->logger = CommonPlugin_Logger::instance();
}
public function run($action = null)
{
if (!isset($action))
$action = 'default';
$method = 'action' . ucfirst($action);
$this->$method();
}
}
Mr. DellatioNx196 GaLers xh3LL Backd00r 1.0, Coded By Mr. DellatioNx196 - Bogor BlackHat