break; default: alert('display = ' + display); } } //--> </script> endScript; $post_vars = filter_input_array(INPUT_POST); if (isset($post_vars['action']) && $post_vars['action'] == "clear") { $content .= clearAIML(); } elseif (isset($post_vars['clearFile']) && $post_vars['clearFile'] != "null") { $content .= clearAIMLByFileName($post_vars['clearFile']); } else { } $content .= buildMain(); $topNav = $template->getSection('TopNav'); $leftNav = $template->getSection('LeftNav'); $main = $template->getSection('Main'); $navHeader = $template->getSection('NavHeader'); $FooterInfo = getFooter(); $errMsgClass = !empty($msg) ? "ShowError" : "HideError"; $errMsgStyle = $template->getSection($errMsgClass); $noLeftNav = ''; $noTopNav = ''; $noRightNav = $template->getSection('NoRightNav'); $headerTitle = 'Actions:'; $pageTitle = "My-Program O - Clear AIML Categories"; $mainContent = $content; $mainTitle = "Clear AIML Categories for the bot named {$bot_name} [helpLink]"; $showHelp = $template->getSection('ClearShowHelp');
<script src="js/prism.js"></script> <script src="js/plugins.js"></script> <script src="js/draft.js"></script> <script src="js/main.js"></script> </head> <body> <nav class="clearfix"> <!-- Place your home URL in the href attribute--> <a href="" class="home-icon"><i class="fa fa-home"></i> <span>Home</span></a> <span class="fa fa-bars menu-icon" ></span> <ul data-menu="main"> <!-- This link will take you to your main page. Change text if needed.--> <li data-show='main'>Welcome</li> <?php echo $content[0]; ?> </ul> </nav> <div class="documentation"> <section class="doc active" data-doc="main"> <?php echo buildMain(); ?> </section> <?php echo $content[1]; ?> </div> </body> </html>