| ";
$image_table .= $this->display_image_tag($db, $value);
$image_table .= " | ";
if ((($this->ad_configuration_data->PHOTO_COLUMNS > 1) && ($use_count == 0)) || (($use_count == 1) && ($this->count_images > 1)))
{
$value = next($this->images_to_display);
if ($value)
{
$image_table .= "";
$image_table .= $this->display_image_tag($db, $value);
$image_table .= " | ";
if ((($this->ad_configuration_data->PHOTO_COLUMNS > 2) && ($use_count == 0)) || (($use_count == 1) && ($this->count_images > 2)))
{
$value = next($this->images_to_display);
if ($value)
{
$image_table .= "";
$image_table .= $this->display_image_tag($db, $value);
$image_table .= " | ";
if ((($this->ad_configuration_data->PHOTO_COLUMNS > 3) && ($use_count == 0)) || (($use_count == 1) && ($this->count_images > 3)))
{
$value = next($this->images_to_display);
if ($value)
{
$image_table .= "";
$image_table .= $this->display_image_tag($db, $value);
$image_table .= " | ";
if ((($this->ad_configuration_data->PHOTO_COLUMNS > 4) && ($use_count == 0)) || (($use_count == 1) && ($this->count_images > 4)))
{
$value = next($this->images_to_display);
if ($value)
{
$image_table .= "";
$image_table .= $this->display_image_tag($db, $value);
$image_table .= " | ";
if ((($this->ad_configuration_data->PHOTO_COLUMNS > 5) && ($use_count == 0)) || (($use_count == 1) && ($this->count_images > 5)))
{
$value = next($this->images_to_display);
if ($value)
{
$image_table .= "";
$image_table .= $this->display_image_tag($db, $value);
$image_table .= " | ";
if ((($this->ad_configuration_data->PHOTO_COLUMNS > 6) && ($use_count == 0)) || (($use_count == 1) && ($this->count_images > 6)))
{
$value = next($this->images_to_display);
if ($value)
{
$image_table .= "";
$image_table .= $this->display_image_tag($db, $value);
$image_table .= " | ";
if ((($this->ad_configuration_data->PHOTO_COLUMNS > 7) && ($use_count == 0)) || (($use_count == 1) && ($this->count_images > 7)))
{
$value = next($this->images_to_display);
if ($value)
{
$image_table .= "";
$image_table .= $this->display_image_tag($db, $value);
$image_table .= " | ";
}
}
}
}
}
}
}
}
}
}
}
}
}
}
$image_table .= "
";
} while ($value = next($this->images_to_display));
$image_table .= "