Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- require_once 'dev/dev.class.php';
- require_once 'dev/templatelibrary.php';
- $dev = new dev('netnoobz-billing');
- $dev->loadLib('JS', 'js', 'jquery');
- // template library and required files
- $template = new TemplateLibrary('index');
- require_once 'dev/replacements.php';
- echo $template->output();
- ?>
- <?php $configStyleSheet = '<style type="text/css">' . file_get_contents('styles/default/main.css') . '</style>'; $pageHeader = file_get_contents('templates/header.tpl'); $pageFooter = file_get_contents('templates/footer.tpl'); $pageBody = file_get_contents('loaders/pageBody.php');
- $template->replace('{page_style}', $configStyleSheet);
- $template->replace('{page_title}', 'NetBilling');
- $template->replace('{page_header}', $pageHeader);
- $template->replace('{page_footer}', $pageFooter);
- $template->replace('{page_body}', $pageBody);
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement