0) { $tmp = Database::fetch_assoc($result); $info = $tmp['api']; } else { $info = ''; } $templateName = $plugin->get_lang('Setting'); $interbreadcrumb[] = array("url" => "/plugin/sepe/src/sepe-administration-menu.php", "name" => $plugin->get_lang('MenuSepe')); $tpl = new Template($templateName); $tpl->assign('info', $info); $listing_tpl = 'sepe/view/configuration.tpl'; $content = $tpl->fetch($listing_tpl); $tpl->assign('content', $content); $tpl->display_one_col_template(); } else { header('Location:'.api_get_path(WEB_PATH)); }