示例#1
0
 public function __construct(&$base, &$car_conf, &$lang_car, $member, $other_fields_array, $checkboxes_array)
 {
     parent::__construct($base, $car_conf, $lang_car, $other_fields_array, $checkboxes_array);
     $this->member['id'] = $member['user_id'];
     $this->member['name'] = $member['name'];
     $this->member['group'] = $member['user_group'];
     $this->member['ip'] = $this->base->EscapeString($_SERVER['REMOTE_ADDR']);
     if (!$this->member['id']) {
         $this->guest_session = $this->GetGuestSession();
     }
     if ($this->config['general_main_page']) {
         $this->config['general_name_module'] = '';
     } else {
         if ($this->config['general_mod_rewrite']) {
             $this->module_name_url = $this->config['general_name_module'];
         } else {
             $this->module_name_url = "do=" . $this->config['general_name_module'];
         }
     }
 }
示例#2
0
 public function GetSearchJS()
 {
     return parent::_getSearchJS();
 }