public function get_image_img()
 {
     $img = new HTMLTags_IMG();
     $url = new HTMLTags_URL();
     $url->set_file($this->image_url);
     $img->set_src($url);
     $img->set_attribute_str('alt', $this->get_name());
     $img->set_attribute_str('title', $this->get_description());
     return $img;
 }
 public static function get_thumbnail_img($url)
 {
     $img = new HTMLTags_IMG();
     $img->set_attribute_str('class', 'thumbnail');
     if ($url == NULL) {
         $src = VideoLibrary_URLHelper::get_default_thumbnail_url();
     } else {
         $src = new HTMLTags_URL();
         $src->set_file($url);
     }
     $img->set_src($src);
     return $img;
 }
$main_page_header_h->set_attribute_str('id', $main_page_header_id);
$main_page_header_h->append_str_to_content($main_page_header_title);
$content_div->append_tag_to_content($main_page_header_h);
// IF LOGGED IN MESSAGE
if ($logged_in) {
    $content_div->append_str_to_content($page_manager->get_inc_file_as_string('body.p.logged-in-salutation'));
}
// WELCOME MESSAGE
$content_div->append_str_to_content($page_manager->get_inc_file_as_string('body.p.welcome-message'));
// CONNECTED FILMS SHOP IMAGE
//
$home_img = new HTMLTags_IMG();
$home_img_location = new HTMLTags_URL();
$home_img_location->set_file('/images/clapperboard.png');
$home_img->set_src($home_img_location);
$home_img->set_attribute_str('class', 'home-page-img');
$content_div->append_tag_to_content($home_img);
// CUSTOMER REGION NOTIFICATION
//
$customer_regions_table = $database->get_table('hpi_shop_customer_regions');
$customer_region = $customer_regions_table->get_row_by_id($_SESSION['customer_region_id']);
$customer_region_blurb_p = new HTMLTags_P();
if (isset($_GET['customer_region_session'])) {
    $customer_region_blurb_p->append_str_to_content('You have set your region to ');
} else {
    $customer_region_blurb_p->append_str_to_content('Your region is set to ');
}
$customer_region_blurb_p->append_str_to_content($customer_region->get_name_with_the());
$customer_region_blurb_p->append_str_to_content('.');
$content_div->append_tag_to_content($customer_region_blurb_p);
// LIST OF PRODUCT CATEGORIES