punbb/footer.php
changeset 9 a932ce8c4827
parent 7 98bbc533541c
equal deleted inserted replaced
8:8baccbad4a55 9:a932ce8c4827
   213 
   213 
   214 // Close the db connection (and free up any result data)
   214 // Close the db connection (and free up any result data)
   215 $pun_db->close();
   215 $pun_db->close();
   216 
   216 
   217 // Spit out the page
   217 // Spit out the page
   218 global $template;
   218 global $template, $db;
   219 $template->header();
   219 $template->header();
   220 echo($tpl_main);
   220 echo($tpl_main);
   221 $template->footer();
   221 $template->footer();
       
   222 
       
   223 $db->close();
       
   224 exit();
       
   225