CMS  Version 3.9
images.inc File Reference

Go to the source code of this file.

Variables

 $gallery_id = checkNumeric($_GET["gallery_id"])
 
 $gallery = new ImageGallery($gallery_id)
 
 $images = $gallery->Images("ORDER BY title")
 
 $tabs = imageGalleryTabs($gallery_id)
 
 $menu_item = "Images"
 
 $count = 0
 
 $title = "Images in {$gallery->gallery_name}"
 
 $grid = new ImageListView($images, "image_form?gallery_id={gallery_id}&image_id={image_id}")
 
 $script = ImageListView::writeResizeScript()
 
if(count($images) > 0) else
 
return false
 
Rescan</a > & nbsp
 

Variable Documentation

◆ $count

$count = 0

Definition at line 52 of file images.inc.

◆ $gallery

$gallery = new ImageGallery($gallery_id)

Definition at line 45 of file images.inc.

◆ $gallery_id

$gallery_id = checkNumeric($_GET["gallery_id"])

Definition at line 41 of file images.inc.

◆ $grid

$grid = new ImageListView($images, "image_form?gallery_id={gallery_id}&image_id={image_id}")

Definition at line 56 of file images.inc.

◆ $images

$images = $gallery->Images("ORDER BY title")

Definition at line 46 of file images.inc.

◆ $menu_item

$menu_item = "Images"

Definition at line 50 of file images.inc.

◆ $script

Definition at line 59 of file images.inc.

◆ $tabs

Definition at line 48 of file images.inc.

◆ $title

$title = "Images in {$gallery->gallery_name}"

Definition at line 54 of file images.inc.

◆ else

if (count( $images) > 0) else
Initial value:
{
echo "<p style=\"margin: 8px\"><br/><i>No images have been added to this gallery</i></p>\n"

Definition at line 67 of file images.inc.

◆ false

return false

Definition at line 77 of file images.inc.

◆ nbsp

& nbsp

Definition at line 78 of file images.inc.