WebsiteBaker 2.13.9 is now available!
R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WBhttps://forum.websitebaker.org/index.php/topic,32355.0.html
2018-01-10T15:37:16+00:00 [E_NOTICE] /modules/droplets/droplets.php(37) : eval()'d code:[19] from /modules/droplets/droplets.php:[86] do_eval "Undefined variable: section_id"2018-01-10T15:37:16+00:00 [E_NOTICE] /modules/droplets/droplets.php(37) : eval()'d code:[19] from /modules/droplets/droplets.php:[86] do_eval "Undefined variable: section_id"2018-01-10T15:37:16+00:00 [E_NOTICE] /modules/droplets/droplets.php(37) : eval()'d code:[19] from /modules/droplets/droplets.php:[86] do_eval "Undefined variable: section_id"2018-01-10T15:37:16+00:00 [E_NOTICE] /modules/droplets/droplets.php(37) : eval()'d code:[19] from /modules/droplets/droplets.php:[86] do_eval "Undefined variable: section_id"2018-01-10T15:37:16+00:00 [E_NOTICE] /modules/droplets/droplets.php(37) : eval()'d code:[19] from /modules/droplets/droplets.php:[86] do_eval "Undefined variable: section_id"2018-01-10T15:37:16+00:00 [E_NOTICE] /modules/droplets/droplets.php(37) : eval()'d code:[19] from /modules/droplets/droplets.php:[86] do_eval "Undefined variable: section_id"2018-01-10T15:37:16+00:00 [E_NOTICE] /modules/droplets/droplets.php(37) : eval()'d code:[19] from /modules/droplets/droplets.php:[86] do_eval "Undefined variable: section_id"
global $database, $wb, $TEXT, $DGTEXT;$content = '';$sid = isset($sid) ? intval($sid) : 0;if( $sid ) { $sql = 'SELECT `module` FROM `'.TABLE_PREFIX.'sections` '; $sql .= 'WHERE `section_id`='.$sid; if (($module = $database->get_one($sql))) { if (is_readable(WB_PATH.'/modules/'.$module.'/view.php')) { $_sFrontendCss = '/modules/'.$module.'/frontend.css'; if(is_readable(WB_PATH.$_sFrontendCss)) { $_sSearch = preg_quote(WB_URL.'/modules/'.$module.'/frontend.css', '/'); if(preg_match('/<link[^>]*?href\s*=\s*\"'.$_sSearch.'\".*?\/>/si', $wb_page_data)) { $_sFrontendCss = ''; }else { $_sFrontendCss = '<link href="'.WB_URL.$_sFrontendCss.'" rel="stylesheet" type="text/css" media="screen" />'; } } else { $_sFrontendCss = ''; } ob_start(); [b]$oldSid = $section_id; // save old sectionID[/b] $section_id = $sid; require(WB_PATH.'/modules/'.$module.'/view.php'); $content = $_sFrontendCss.ob_get_clean(); $section_id = $oldSid; // restore old sectionID } }}return $content;
global $database, $wb, $TEXT, $DGTEXT,$section_id,$page_id;