| | |
| | | $this->tpl->setVar('theme', $_SESSION['s']['theme']); |
| | | $this->tpl->setVar('phpsessid', session_id()); |
| | | $this->tpl->setVar('html_content_encoding', $this->_conf['html_content_encoding']); |
| | | if($this->_conf['logo'] != '' && @is_file($this->_conf['logo'])){ |
| | | if(isset($this->_conf['logo']) && $this->_conf['logo'] != '' && @is_file($this->_conf['logo'])){ |
| | | $this->tpl->setVar('logo', '<img src="'.$this->_conf['logo'].'" border="0" alt="">'); |
| | | } else { |
| | | $this->tpl->setVar('logo', ' '); |
| | |
| | | if(isset($_SESSION['s']['user']) && $this->auth->has_clients($_SESSION['s']['user']['userid'])) { |
| | | $this->tpl->setVar('is_reseller', 1); |
| | | } |
| | | $this->tpl->setVar('ISPC_APP_VERSION', ISPC_APP_VERSION); |
| | | } |
| | | |
| | | } // end class |