How to get the View Header and Footer in Custom Module?
Step1 - You will create two files header.php and footer.php.
Step2 - Create a folder "include" in your theme directory.
Step3 - Suppose that your theme directory is "abc" sites/all/themes/abc. Put header.php and footer.php file in "sites/all/themes/abc/include" theme folder.
Step3 - By using html and php you can write code in header.php and footer.php.
Step4 - Now you can include both files in page.tpl.php in header area and footer area like PHP.

  include_once($theme_path.'/include/header.php');  
  include_once($theme_path.'/include/footer.php');  


hope this will help