} $oGraphicsManager->fHTMLFormat = "<img src=\"" . $fusebox['urlGraphics'] . "%s\" alt=\"%s\">"; $oGraphicsManager->fHTMLEditLink = "<a href=\"javascript:void(0);\" onClick=\"popupContentForm('" . $myself . "util.showGraphicsForm', %d, '%s', %d, 1);\">Edit</a><br><img src=\"" . $fusebox['urlGraphics'] . "%s\">"; $ogGraphicsManager->fHTMLFormat = "<img src=\"" . $fusebox['urlGraphics'] . "%s\" alt=\"%s\">"; $ogGraphicsManager->fHTMLEditLink = "<a href=\"javascript:void(0);\" onClick=\"popupContentForm('" . $myself . "util.showGraphicsForm', %d, '%s', %d, 1);\">Edit</a><br><img src=\"" . $fusebox['urlGraphics'] . "%s\">"; $oGraphicsManager->cacheContent(); $ogGraphicsManager->cacheContent(); // seocontent manager initialization $oSEOContentManager = new ContentManager($oDB, $oFuseaction, $oLanguage, $fusebox['tableSEOContentTokens'], $fusebox['tableSEOContent'], $fusebox['tableSEOContentComments'], false); $ogSEOContentManager = new ContentManager($oDB, $ogFuseaction, $oLanguage, $fusebox['tableSEOContentTokens'], $fusebox['tableSEOContent'], $fusebox['tableSEOContentComments'], false); if (!$oSEOContentManager->initialize() || !$ogSEOContentManager->initialize()) { _throw("FNoSEOContentTable", "There is no seocontent table called \"{$fusebox['tableSEOContent']}\" present in DB"); } // caching seocontent for current page $oSEOContentManager->cacheContent(); $ogSEOContentManager->cacheContent(); // mail templates initialization $ogMailTemplatesManager = new ContentManager($oDB, $ogFuseaction, $oLanguage, $fusebox['tableMailTemplatesTokens'], $fusebox['tableMailTemplates'], $fusebox['tableMailTemplatesComments'], false); // checking if all is correct if (!$ogMailTemplatesManager->initialize()) { _throw("FNoMailTemplatesTable", "There is no mail temlates table called \"{$fusebox['tableMailTemplates']}\" present in DB"); } // settings manager initialization $oSettingsManager = new SettingsManager($oDB, $fusebox['tableSettings']); if (!$oSettingsManager->initialize()) { _throw("FNoSettingsTable", "There is no settings table called \"{$fusebox['tableSettings']}\" present in DB"); } // retrieving settings $oSettingsManager->cacheSettings(); // set website timezone date_default_timezone_set($oSettingsManager->getValue("TimeZone", $fusebox['defaultTimeZone'], "STRING", "Default timezone for website"));