Пример #1
0
 function image_zones_mod($zone_id, $heding = true)
 {
     $this->zone_id = $zone_id;
     $cImage = new image_front();
     $this->main_array = $cImage->get_zone_data($zone_id);
     $this->zones_array = $cImage->get_entries($zone_id, true, false);
 }
Пример #2
0
if (!$current_abstract_id) {
    tep_redirect();
}
$cImage = new image_front();
if (!$cImage->is_zone_type($current_abstract_id, 'image_zones')) {
    tep_redirect();
}
$cImage = new image_front();
$abstract_array = $cImage->get_zone_data($current_abstract_id);
$breadcrumb->add($abstract_array['abstract_zone_name'], tep_href_link($g_script, 'abz_id=' . $current_abstract_id));
require 'includes/objects/html_start_sub1.php';
require 'includes/objects/html_start_sub2.php';
$heading_row = true;
require 'includes/objects/html_body_header.php';
$cImage = new image_front();
$abstract_array = $cImage->get_zone_data($current_abstract_id);
?>
            <div><h1><?php 
echo $abstract_array['abstract_zone_name'];
?>
</h1></div>
            <div class="desc"><?php 
echo $abstract_array['abstract_zone_desc'];
?>
</div>
<?php 
$cImage = new image_front();
$cText = new gtext_front();
$listing_sql = $cImage->get_entries($current_abstract_id, true, true, true);
$listing_split = new splitPageResults($listing_sql, IMAGE_PAGE_SPLIT);
if ($listing_split->number_of_rows > 0) {