vishwamano

source of vishwamano.com
git clone git://git.ricketyspace.net/vishwamano.git
Log | Files | Refs

commit 021f7301b8c9c2857c5c814d458a5327f032b53b
parent 1d16e6f13df3bc2360496dace14cc3700af18a31
Author: rsiddharth <rsiddharth@ninthfloor.org>
Date:   Sun, 27 Mar 2016 04:14:17 +0000

Add /gallery/wildlife/

 - Wild = Whatever was in /gallery/animals and /gallery/birds.
 - /gallery/animals will be redirected to /gallery/wildlife.
 - /gallery/birds will be redirected to /gallery/wildlife.

Diffstat:
.htaccess | 2++
gallery/wildlife/index.php | 45+++++++++++++++++++++++++++++++++++++++++++++
images/gallery/wildlife/01_bird_photography.jpg | 0
images/gallery/wildlife/01_wildlife_animals.jpg | 0
images/gallery/wildlife/02_bird_photography.jpg | 0
images/gallery/wildlife/02_wildlife_animals.jpg | 0
images/gallery/wildlife/03_bird_photography.jpg | 0
images/gallery/wildlife/03_wildlife_animals.jpg | 0
images/gallery/wildlife/04_bird_photography.jpg | 0
images/gallery/wildlife/04_wildlife_animals.jpg | 0
images/gallery/wildlife/05_bird_photography.jpg | 0
images/gallery/wildlife/05_wildlife_animals.jpg | 0
images/gallery/wildlife/06_bird_photography.jpg | 0
images/gallery/wildlife/06_wildlife_animals.jpg | 0
images/gallery/wildlife/07_bird_photography.jpg | 0
images/gallery/wildlife/07_wildlife_animals.jpg | 0
images/gallery/wildlife/08_bird_photography.jpg | 0
images/gallery/wildlife/08_wildlife_animals.jpg | 0
images/gallery/wildlife/09_bird_photography.jpg | 0
images/gallery/wildlife/09_wildlife_animals.jpg | 0
images/gallery/wildlife/10_bird_photography.jpg | 0
images/gallery/wildlife/10_wildlife_animals.jpg | 0
images/gallery/wildlife/11_bird_photography.jpg | 0
images/gallery/wildlife/11_wildlife_animals.jpg | 0
images/gallery/wildlife/12_bird_photography.jpg | 0
images/gallery/wildlife/12_wildlife_animals.jpg | 0
26 files changed, 47 insertions(+), 0 deletions(-)

diff --git a/.htaccess b/.htaccess @@ -11,6 +11,8 @@ Redirect permanent /wild /gallery/wild Redirect permanent /gallery/land /gallery/landscapes Redirect permanent /gallery/wp /gallery/birds Redirect permanent /gallery/wild /gallery/animals +Redirect permanent /gallery/animals /gallery/wildlife +Redirect permanent /gallery/birds /gallery/wildlife Redirect permanent /as/photography-classes /workshops Redirect permanent /as/photography-services /workshops Redirect permanent /workshops /as diff --git a/gallery/wildlife/index.php b/gallery/wildlife/index.php @@ -0,0 +1,45 @@ +<?php + +/* Vishwamano.com PHP snafu. + + Copyright (C) 2016 rsiddharth <rsiddharth@ninthfloor.org> + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + COPYING contains the full text of the GNU Affero General Public + License. If you have not recieved a copy of the file along with + this program, see <http://www.gnu.org/licenses/>. + +*/ + + +require_once('../../templating.php'); +require_once($abs_path . '/utils.php'); + +$title = 'Wildlife &middot; Gallery &middot; Vishwa Mano Photography'; +$meta_keywords = 'Vishwa, Mano, Manoharan, Photography, Chennai, Gallery, Landscapes, Animals, Birds, Insects, Flowers, Macro, Wildlife, Nature, Reptiles'; +$meta_desc = 'A collection of Vishwa\'s best pictures, from his travels across India in pursuit of Nature and Wildlife Photography.'; + +$gallery_info = array('name' => 'wildlife', + 'imgs_path' => $abs_path . '/images/gallery/wildlife/', + 'imgs_root' => '/images/gallery/wildlife', + 'parent' => '/gallery/'); + +$images = get_images($gallery_info['imgs_path']); + +$smarty->assign('no_of_images', count($images)); +$smarty->assign('gallery_info', $gallery_info); +$smarty->assign('images', $images); +$smarty->assign('title', $title); +$smarty->assign('meta_keywords', $meta_keywords); +$smarty->assign('meta_description', $meta_desc); +$smarty->display('gallery-genre.tpl'); + diff --git a/images/gallery/wildlife/01_bird_photography.jpg b/images/gallery/wildlife/01_bird_photography.jpg Binary files differ. diff --git a/images/gallery/wildlife/01_wildlife_animals.jpg b/images/gallery/wildlife/01_wildlife_animals.jpg Binary files differ. diff --git a/images/gallery/wildlife/02_bird_photography.jpg b/images/gallery/wildlife/02_bird_photography.jpg Binary files differ. diff --git a/images/gallery/wildlife/02_wildlife_animals.jpg b/images/gallery/wildlife/02_wildlife_animals.jpg Binary files differ. diff --git a/images/gallery/wildlife/03_bird_photography.jpg b/images/gallery/wildlife/03_bird_photography.jpg Binary files differ. diff --git a/images/gallery/wildlife/03_wildlife_animals.jpg b/images/gallery/wildlife/03_wildlife_animals.jpg Binary files differ. diff --git a/images/gallery/wildlife/04_bird_photography.jpg b/images/gallery/wildlife/04_bird_photography.jpg Binary files differ. diff --git a/images/gallery/wildlife/04_wildlife_animals.jpg b/images/gallery/wildlife/04_wildlife_animals.jpg Binary files differ. diff --git a/images/gallery/wildlife/05_bird_photography.jpg b/images/gallery/wildlife/05_bird_photography.jpg Binary files differ. diff --git a/images/gallery/wildlife/05_wildlife_animals.jpg b/images/gallery/wildlife/05_wildlife_animals.jpg Binary files differ. diff --git a/images/gallery/wildlife/06_bird_photography.jpg b/images/gallery/wildlife/06_bird_photography.jpg Binary files differ. diff --git a/images/gallery/wildlife/06_wildlife_animals.jpg b/images/gallery/wildlife/06_wildlife_animals.jpg Binary files differ. diff --git a/images/gallery/wildlife/07_bird_photography.jpg b/images/gallery/wildlife/07_bird_photography.jpg Binary files differ. diff --git a/images/gallery/wildlife/07_wildlife_animals.jpg b/images/gallery/wildlife/07_wildlife_animals.jpg Binary files differ. diff --git a/images/gallery/wildlife/08_bird_photography.jpg b/images/gallery/wildlife/08_bird_photography.jpg Binary files differ. diff --git a/images/gallery/wildlife/08_wildlife_animals.jpg b/images/gallery/wildlife/08_wildlife_animals.jpg Binary files differ. diff --git a/images/gallery/wildlife/09_bird_photography.jpg b/images/gallery/wildlife/09_bird_photography.jpg Binary files differ. diff --git a/images/gallery/wildlife/09_wildlife_animals.jpg b/images/gallery/wildlife/09_wildlife_animals.jpg Binary files differ. diff --git a/images/gallery/wildlife/10_bird_photography.jpg b/images/gallery/wildlife/10_bird_photography.jpg Binary files differ. diff --git a/images/gallery/wildlife/10_wildlife_animals.jpg b/images/gallery/wildlife/10_wildlife_animals.jpg Binary files differ. diff --git a/images/gallery/wildlife/11_bird_photography.jpg b/images/gallery/wildlife/11_bird_photography.jpg Binary files differ. diff --git a/images/gallery/wildlife/11_wildlife_animals.jpg b/images/gallery/wildlife/11_wildlife_animals.jpg Binary files differ. diff --git a/images/gallery/wildlife/12_bird_photography.jpg b/images/gallery/wildlife/12_bird_photography.jpg Binary files differ. diff --git a/images/gallery/wildlife/12_wildlife_animals.jpg b/images/gallery/wildlife/12_wildlife_animals.jpg Binary files differ.