<?php /** * @Author Jonathon byrd * @link http://www.5twentystudios.com * @Package Five Twenty CMS * @SubPackage PublicMarketSpace * @Since 1.0.0 * @copyright Copyright (C) 2011 5Twenty Studios * */ defined('ABSPATH') or die("Cannot access pages directly."); show_view('header-w-wrap'); show_view('sidebar-profile-left'); global $cl, $page; require_once ABSPATH . 'inc' . DS . 'func_business.php'; // declaring globals $page = 'profile'; $cl = new contentLogic(); $main = new main($page); $content = $main->get_output(); require $view; show_view('footer-w-wrap');
/** * @Author Jonathon byrd * @link http://www.5twentystudios.com * @Package Five Twenty CMS * @SubPackage PublicMarketSpace * @Since 1.0.0 * @copyright Copyright (C) 2011 5Twenty Studios * */ defined('ABSPATH') or die("Cannot access pages directly."); global $cl; require_once ABSPATH . 'inc' . DS . 'func_product_root.php'; // START META AND TITLE INFO FOR PAGE $meta_desc = '<meta name="description" content="' . SITE_DESC . ' - '; $meta_keywords = '<meta name="keywords" content="' . SITE_KEYWORDS . ' - '; $title = '<title>'; $cl = new contentLogic(); $main = new main(); // SETUP TEMPLATE $template = ABSPATH . 'inc/tpl/shell.inc'; $output = new main_output($template); // CONTINUE META \\ $title .= ' - ' . SITE_TITLE . '</title>'; $meta_keywords .= '" />' . "\n"; $meta_desc .= '" />' . "\n"; $meta = $meta_desc . $meta_keywords . $title; // STRIP THE TAGS $output->replace_tags(array('header' => get_show_view('header'), 'footer' => get_show_view('footer'), 'shell_content' => $main->get_output())); // OUTPUT TO SCREEN $output->output_values();
<?php show_view('header-w-wrap'); show_view('sidebar-profile-left'); ?> <div class="profile-content"> <h1>service information</h1> <?php global $cl, $page; require_once ABSPATH . 'inc' . DS . 'func_service.php'; // declaring globals $page = 'service'; $cl = new contentLogic(); $main = new main($page); echo $main->get_output(); ?> </div> <?php show_view('footer-w-wrap');