function __construct()
 {
     global $USER;
     parent::__construct();
     $this->hasAlliance = $USER['ally_id'] != 0;
     $this->hasApply = $this->isApply();
     if ($this->hasAlliance && !$this->hasApply) {
         $this->setAllianceData($USER['ally_id']);
     }
 }
 function __construct()
 {
     parent::__construct();
 }
 function __construct()
 {
     parent::__construct();
     $this->setWindow('ajax');
 }
 function __construct()
 {
     parent::__construct();
     $this->setWindow('popup');
 }
 function __construct()
 {
     parent::__construct();
     $this->initTemplate();
 }
 function __construct()
 {
     parent::__construct();
     require 'includes/classes/class.SupportTickets.php';
     $this->ticketObj = new SupportTickets();
 }