Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- *
- *
- * _____ _____ _ _____ _____ _____ _____ _____ _____
- * ___| | __ |_| _ |_ _|___ ___|_ _| __| _ | |
- * |_ -| --| -| | __| | | |- _|___| | | | __| | | | |
- * |___|_____|__|__|_|__| |_| |___| |_| |_____|__|__|_|_|_|
- * |s C R i P T z - T E A M . i N F O|
- *
- * This file was created by sCRiPTz-TEAM.iNFO [DEiONCUBE TEAM]
- * @ IonCube & Zend & NuSphere DeCoder
- *
- * @ Version : 1.0.0.3
- * @ Author : sCRiPTz-TEAM.iNFO
- * @ Released : 26-December-2011
- * @ Official site : http://sCRiPTz-TEAM.iNFO
- *
- */
- class help
- {
- public $config = array( );
- public $skin = NULL;
- public $words = array( );
- public $html = null;
- public $page_title = "";
- public $privacyPolicyUrl = "http://firewallscript.com/privacy.txt";
- public $tosUrl = "http://firewallscript.com/tos.txt";
- public function __construct( &$config, &$output )
- {
- $this->config =& $config;
- $this->output =& $output;
- $this->words = stringClass::loadwords( "help" );
- $this->words = array_merge( $this->words, $output->words );
- $this->skin = $output->loadTemplate( "help", $this->words );
- $this->page_title = $this->words['help_page_title'];
- }
- public function takeOff( )
- {
- $this->html = $this->skin->helpHome( );
- $req = isset( $_REQUEST['req'] ) && $_REQUEST['req'] ? $_REQUEST['req'] : "overview";
- switch ( $req )
- {
- case "privacy" :
- $this->privacyPolicy( );
- break;
- case "tos" :
- $this->termsOfService( );
- }
- return true;
- }
- public function privacyPolicy( )
- {
- $contents = fileManagement::fetchurl( $this->privacyPolicyUrl );
- $lang = sprintf( $this->words['privacy_link'], $this->privacyPolicyUrl );
- $this->html .= $this->skin->ppAndTos( $this->words['goto_privacy'], $lang, nl2br( $contents ) );
- return true;
- }
- public function termsOfService( )
- {
- $contents = fileManagement::fetchurl( $this->tosUrl );
- $lang = sprintf( $this->words['tos_link'], $this->tosUrl );
- $this->html .= $this->skin->ppAndTos( $this->words['goto_tos'], $lang, nl2br( $contents ) );
- return true;
- }
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment