if ($picture['data_description'] != '') : ?>
endif; ?>
if (count($fields) > 1) : ?>
view::load('system/elements/field/grid', array('fields' => $fields, 'data' => $picture, 'skip' => array('description'))); ?>
endif; ?>
if (config::item('share_active', 'system') && config::item('share_code_html', 'system') && config::item('pictures_share_active', 'pictures')) : ?>
view::load('system/elements/share'); ?>
endif; ?>
-
18 Feb, 2023
-
aron
if ($resourceRate && config::item('picture_rating', 'pictures') == 'stars') : ?>
-
view::load('comments/vote', array('resource' => $resourcePrefix . 'picture', 'parentID' => $picture['album_id'], 'itemID' => $picture['picture_id'], 'votes' => $picture['total_votes'], 'score' => $picture['total_score'], 'rating' => $picture['total_rating'], 'voted' => $picture['rating']['score'], 'date' => $picture['rating']['post_date'])); ?>
endif; ?>
if ($resourceRate && config::item('picture_rating', 'pictures') == 'likes') : ?>
-
view::load('comments/like', array('resource' => $resourcePrefix . 'picture', 'parentID' => $picture['album_id'], 'itemID' => $picture['picture_id'], 'likes' => $picture['total_likes'], 'liked' => $picture['rating']['post_date'], 'date' => $picture['rating']['post_date'])); ?>
endif; ?>
if (config::item('picture_views', 'pictures')) : ?>
-
if ($picture['total_views'] > 0) : ?>
620 views else : ?>
No views endif; ?>
endif; ?>
if (users_helper::isLoggedin()) : ?>
if ($user['user_id'] == session::item('user_id')) : ?>
if (config::item('adult_active', 'system') && $picture['adult']) : ?>
-
Adult content
endif; ?>
if (!$resourceAlbums && $picture['password']) : ?>
-
Unlisted item
endif; ?>
if (session::item('template') !== 'dreamy') : ?>
-
if ($resourceAlbumsCovers && $picture['file_id'] != $album['picture_id']) : ?>
Set as cover picture endif; ?>
Edit picture Edit thumbnail Delete picture
else : ?>
-
endif; ?>
elseif (session::permission('reports_post', 'security')) : ?>
-
Report
endif; ?>
endif; ?>
if ($resourceComments && session::permission('comments_view', 'comments') && config::item('picture_comments', 'pictures') && ($resourceAlbums && $album['comments'] || !$resourceAlbums && $picture['comments'])) : ?>
loader::helper('comments/comments'); ?>
comments_helper::getComments($resourcePrefix . 'picture', $picture['user_id'], $picture['album_id'], $picture['picture_id'], $picture['total_comments'], $resourceAlbums ? $album['comments'] : $picture['comments']); ?>
endif; ?>
view::load('footer');