function show_page() { global $__status, $__config; get_post_list(); http_doc_type(); ?> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <link rel="alternate" type="application/rss+xml" href="<?php echo "{$__config['blog_url']}"; ?> /feed.php" title="<?php echo "{$__config['blog_name']}"; ?> feed" /> <link rel="StyleSheet" href="<?php echo "{$__config['theme_dir']}"; ?> /<?php echo "{$__config['css_file']}"; ?> " type="text/css" title="Serene Design Style"> <script type="text/javascript" language="javascript" src="Library.js" /> <script type="text/javascript"> //<![CDATA[ //]]> </script> <script type="text/javascript"> var disqus_developer = 1; </script> <title><?php echo "{$__status['page_title']}"; ?> </title> </head> <body> <div id='shrink_wrapper_shell'> <div id='shrink_wrapper'> <?php page_header(); show_post_list(); page_footer(); ?> </div> <!-- shrink_wrapper --> <?php if (isset($__config['intensedebate_blog_acct'])) { echo intense_debate_cmt_cnt_stub(""); } if (isset($__config['disqus_blog_acct'])) { echo disqus_cmt_cnt_stub("{$__config['blog_url']}?post={$data_item['data_file']}"); } ?> </div> <!-- shrink_wrapper_shell --> </body> </html> <?php }
// Include library of functions // include 'classes.php'; include 'config.inc'; $__status['raw_queue_text'] = ''; $__queue = new queue($__config, $__status); // // Functions // function http_doc_type() { echo '<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">'; } http_doc_type(); ?> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <link rel="StyleSheet" href="style.css" type="text/css" title="Design Style"> <title><?php echo "{$__config['page_title']}"; ?> </title> </head> <body> <div id='shrink_wrapper_shell'> <div id='shrink_wrapper'>