1 |
<?php |
1 |
<?php |
2 |
if($sg->isImagePage()) { |
2 |
if($sg->isImagePage()) { |
3 |
include $sg->config->base_path.$sg->config->pathto_admin_template."viewimage.tpl.php"; |
3 |
include $sg->config->base_path.$sg->config->pathto_admin_template."viewimage.tpl.php"; |
4 |
} elseif($sg->isAlbumPage()) { |
4 |
} elseif($sg->isAlbumPage()) { |
5 |
include $sg->config->base_path.$sg->config->pathto_admin_template."viewalbum.tpl.php"; |
5 |
include $sg->config->base_path.$sg->config->pathto_admin_template."viewalbum.tpl.php"; |
6 |
} else { |
6 |
} else { |
7 |
include $sg->config->base_path.$sg->config->pathto_admin_template."viewgallery.tpl.php"; |
7 |
include $sg->config->base_path.$sg->config->pathto_admin_template."viewgallery.tpl.php"; |
8 |
} |
8 |
} |
9 |
?> |
9 |
?> |