function page() { $tabs = page_tabs(); $apply = applysettings_postfix(); $html = "\n\t<script type=\"text/javascript\" language=\"javascript\" src=\"js/postfix-classes.js\"></script>\n\t<input type='hidden' id='give_class_name' value='{give_class_name}'>\n\t{$tabs}\n\t<table style='width:100%'>\n\t<tr>\n\t<td>\n\t\t<p class='caption'>{postfix_restrictions_classes_text}</p>\n\t\t\n\t</td>\n\t<td width=1% valign='top'>" . RoundedLightGrey($apply) . "</td>\n\t<table width=100%>\n\t<tr>\n\t\t<td>\n\t\t\t<input type='button' value='« {security_rules}' OnClick=\"javascript:MyHref('postfix.security.rules.php');\">\n\t\t\t <input type='button' value='{add_new_class} »' OnClick=\"javascript:PostFixClassAddNew();\">\n\t\t\t <input type='button' value='{see_conf} »' OnClick=\"javascript:PostFixClassRestrictionGenerateConfig();\">\n\t\t\t\n\t\t\n\t\t</td>\n\t\t\n\t\n\t</tr>\n\t<tr>\n\t<td><div id='class_list'>" . LoadTable() . "</td>\n\t</tr>\t\n\t</table>\n\t\n\t"; $tpl = new template_users('{postfix_restrictions_classes}', $html); echo $tpl->web_page; }
<h1>WP SEO LOG </h1> <?php require 'wpseolog-analytics.class.php'; require 'utils/listtable.class.php'; require 'utils/wpseolog-listable.class.php'; require 'utils/tabs.php'; $analytics = new wpseologanalytics(10); // Tabs $tab = !empty($_GET['tab']) ? esc_attr($_GET['tab']) : 'Crawllog'; page_tabs($tab); if ($tab == 'crawllog') { require 'analytics-tabs/crawls.php'; } else { require 'analytics-tabs/kpi.php'; }