Example #1
0
 function PS_soldat(&$db)
 {
     parent::PS($db);
     $this->CLAN_MAP_MODTYPES = $this->CLAN_MODTYPES;
     //	$this->soldat_remove_columns = array('headshotkills','headshotkillspct','accuracy','shotsperkill','damage');
     $this->soldat_remove_columns = array();
 }
Example #2
0
 /**
  * @return PS
  */
 static function getInstance()
 {
     if (empty(self::$ps)) {
         if (!($paysystem = Cfg::get('PAYSYSTEM'))) {
             $paysystem = 'robokassa';
         }
         $rs = DB::select("SELECT * FROM sc_pay_system WHERE name='{$paysystem}'");
         if ($rs->next()) {
             $class_name = "PS" . ucfirst($paysystem);
             include_once "ps/{$class_name}.class.php";
             self::$ps = new $class_name($rs->get('config'));
         }
     }
     return self::$ps;
 }
Example #3
0
 function PS_halflife(&$db)
 {
     parent::PS($db);
 }
Example #4
0
 function PS_cod(&$db)
 {
     parent::PS($db);
     $this->CLAN_MAP_MODTYPES = $this->CLAN_MODTYPES;
     $this->cod_remove_columns = array('headshotkills', 'headshotkillspct', 'accuracy');
 }
Example #5
0
 function __construct()
 {
     $this->_ps = PS::get_pspell();
 }