diff options
Diffstat (limited to 'views/users/Photos/index.html.php')
-rw-r--r-- | views/users/Photos/index.html.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/views/users/Photos/index.html.php b/views/users/Photos/index.html.php new file mode 100644 index 0000000..ba0fd60 --- /dev/null +++ b/views/users/Photos/index.html.php @@ -0,0 +1,7 @@ +<?php if (count($photo) == 0): ?> +<?= $this->html->link("photo::add", "Add a photo"); ?> +<?php else: ?> +<?php foreach($photo as $photos): ?> +<img src="$photo" ?> +<?php endforeach; ?> +<?php endif; ?>
\ No newline at end of file |