27         $sItem = $sItem ? basename($sItem) : 
false;
 
   29             $sItem = 
"nav_frame.tpl";
 
   31             if (is_array($aFavorites)) {
 
   32                 $myUtilsServer->setOxCookie(
'oxidadminfavorites', implode(
'|', $aFavorites));
 
   38             $this->_aViewData[
"menustructure"] = $oNavTree->getDomXml()->documentElement->childNodes;
 
   41             $sVersion = str_replace(array(
"EE.", 
"PE."), 
"", $this->_sShopVersion);
 
   42             $this->_aViewData[
"sVersion"] = trim($sVersion);
 
   47                 if (
'home.tpl' == $sItem) {
 
   56             $aFavorites = explode(
'|', $myUtilsServer->getOxCookie(
'oxidadminfavorites'));
 
   58             if (is_array($aFavorites) && count($aFavorites)) {
 
   59                 $this->_aViewData[
"menufavorites"] = $oNavTree->getListNodes($aFavorites);
 
   60                 $this->_aViewData[
"aFavorites"] = $aFavorites;
 
   64             $aHistory = explode(
'|', $myUtilsServer->getOxCookie(
'oxidadminhistory'));
 
   65             if (is_array($aHistory) && count($aHistory)) {
 
   66                 $this->_aViewData[
"menuhistory"] = $oNavTree->getListNodes($aHistory);
 
   76         $oShoplist = 
oxNew(
'oxShopList');
 
   77         if (!$blisMallAdmin) {
 
   81             $oShop = 
oxNew(
'oxShop');
 
   82             $oShop->load($iShopId);
 
   83             $oShoplist->add($oShop);
 
   85             $oShoplist->getIdTitleList();
 
   88         $this->_aViewData[
'shoplist'] = $oShoplist;
 
  100         $this->_aViewData[
'loadbasefrm'] = 
true;
 
  106         $this->_aViewData[
'listview'] = $sListView;
 
  107         $this->_aViewData[
'editview'] = $sEditView;
 
  108         $this->_aViewData[
'actedit'] = $iActEdit;
 
  119         $oUser = 
oxNew(
"oxuser");
 
  123         $mySession->destroy();
 
  127         if (
$myConfig->getConfigParam(
'blAdodbSessionHandler')) {
 
  129             $oDb->execute(
"delete from oxsessions where SessionID = " . $oDb->quote($mySession->getId()));
 
  134         if (
$myConfig->getConfigParam(
'blClearCacheOnLogout')) {
 
  151             if (
$myConfig->getConfigParam(
'blLoadDynContents') && strpos($sUrl, $this->_sAllowedHost) === 0) {
 
  153                 $sPath = 
$myConfig->getConfigParam(
'sCompileDir') . 
"/" . md5($sUrl) . 
'.html';
 
  154                 if ($myUtils->getRemoteCachePath($sUrl, $sPath)) {
 
  159                     $sCurYear = date(
"Y");
 
  162                     $sOutput = file_get_contents($sPath);
 
  165                     $sOutput = $oStr->preg_replace(
"/<\/head>/i", 
"<base href=\"" . dirname($sUrl) . 
'/' . 
"\"></head>\n  <!-- OXID eShop {$sEdition}, Version {$sVersion}, Shopping Cart System (c) OXID eSales AG 2003 - {$sCurYear} - http://www.oxid-esales.com -->", $sOutput);
 
  168                     $myUtils->showMessageAndExit($oStr->preg_replace(
"/href=\"#\"/i", 
'href="javascript::void();"', $sOutput));
 
  172                 $myUtils->redirect($sUrl, 
true, 302);
 
  176         $myUtils->showMessageAndExit(
"");
 
  191         if (!$oSysReq->getSysReqStatus()) {
 
  192             $aMessage[
'warning'] = 
oxRegistry::getLang()->translateString(
'NAVIGATION_SYSREQ_MESSAGE');
 
  193             $aMessage[
'warning'] .= 
'<a href="?cl=sysreq&stoken=' . $this->
getSession()->getSessionChallengeToken() . 
'" target="basefrm">';
 
  194             $aMessage[
'warning'] .= 
oxRegistry::getLang()->translateString(
'NAVIGATION_SYSREQ_MESSAGE2') . 
'</a>';
 
  198         if ($this->
getConfig()->getConfigParam(
'blCheckForUpdates')) {
 
  200                 $aMessage[
'message'] .= $sVersionNotice;
 
  206         if (file_exists($this->
getConfig()->getConfigParam(
'sShopDir') . 
'/setup/index.php')) {
 
  207             $aMessage[
'warning'] .= ((!empty($aMessage[
'warning'])) ? 
"<br>" : 
'') . 
oxRegistry::getLang()->translateString(
'SETUP_DIRNOTDELETED_WARNING');
 
  211         $sUpdateDir = $this->
getConfig()->getConfigParam(
'sShopDir') . 
'/updateApp/';
 
  212         if (file_exists($sUpdateDir) && !(count(glob(
"$sUpdateDir/*")) === 0)) {
 
  213             $aMessage[
'warning'] .= ((!empty($aMessage[
'warning'])) ? 
"<br>" : 
'') . 
oxRegistry::getLang()->translateString(
'UPDATEAPP_DIRNOTDELETED_WARNING');
 
  217         $sConfPath = $this->
getConfig()->getConfigParam(
'sShopDir') . 
"/config.inc.php";
 
  218         if (!is_readable($sConfPath) || is_writable($sConfPath)) {
 
  219             $aMessage[
'warning'] .= ((!empty($aMessage[
'warning'])) ? 
"<br>" : 
'') . 
oxRegistry::getLang()->translateString(
'SETUP_CONFIGPERMISSIONS_WARNING');
 
  234         $sQuery = 
'http://admin.oxid-esales.com/' . $sVersion . 
'/onlinecheck.php?getlatestversion';
 
  235         if ($sVersion = 
oxRegistry::get(
"oxUtilsFile")->readRemoteFileAsString($sQuery)) {
 
  237             if (version_compare($this->
getConfig()->getVersion(), $sVersion) == 
'-1') {
 
  238                 return sprintf(
oxRegistry::getLang()->translateString(
'NAVIGATION_NEWVERSIONAVAILABLE'), $sVersion);