PHP functions for including

Functions to include in your own website

To include MyBlitzortung into your own PHP driven Homepage, the following functions are provided. Before calling one of those functions, the file “blitzortung.php” has to be included.

  • bo_show_map() :
    The Google Map
  • bo_show_archive() :
    Archive
  • bo_show_statistics() :
    Statistics
  • bo_show_info() :
    General Information
  • bo_show_login() :
    Login screen and user area.

It's even easier, if you use the following functions.

  • bo_show_all():
    Shows one of the pages above, depending on the value of the GET variable "bo_page".. The variable bo_page can be: : map, archive, statistics, info, login
  • bo_show_menu():
    Displays a menu, which sets the bo_page variable.

These two functions are sufficient, to cover the complete functionality of MyBlitzortung. The order does not matter. Of course, the menu may be replaced by a own one.