Advertisement
Guest User

Untitled

a guest
Nov 27th, 2012
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.84 KB | None | 0 0
  1. <?php
  2. require_once 'dev/dev.class.php';
  3. require_once 'dev/templatelibrary.php';
  4. $dev = new dev('netnoobz-billing');
  5. $dev->loadLib('JS', 'js', 'jquery');
  6.  
  7. // template library and required files
  8. $template = new TemplateLibrary('index');
  9. require_once 'dev/replacements.php';
  10.  
  11.  
  12. echo $template->output();
  13. ?>
  14. <?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');
  15. $template->replace('{page_style}', $configStyleSheet);
  16. $template->replace('{page_title}', 'NetBilling');
  17. $template->replace('{page_header}', $pageHeader);
  18. $template->replace('{page_footer}', $pageFooter);
  19. $template->replace('{page_body}', $pageBody);
  20. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement