<?php
/**
 * This file implements the class AdminAbout.
 * 
 * PHP versions 4 and 5
 *
 * LICENSE:
 * 
 * This file is part of PhotoShow.
 *
 * PhotoShow is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * PhotoShow 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 General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with PhotoShow.  If not, see <http://www.gnu.org/licenses/>.
 *
 * @category  Website
 * @package   Photoshow
 * @author    Thibaud Rohmer <thibaud.rohmer@gmail.com>
 * @copyright 2011 Thibaud Rohmer
 * @license   http://www.gnu.org/licenses/
 * @link      http://github.com/thibaud-rohmer/PhotoShow
 */

/**
 * AdminAbout
 *
 * About page
 *
 * @category  Website
 * @package   Photoshow
 * @author    Thibaud Rohmer <thibaud.rohmer@gmail.com>
 * @copyright Thibaud Rohmer
 * @license   http://www.gnu.org/licenses/
 * @link      http://github.com/thibaud-rohmer/PhotoShow
 */
 class AdminAbout
 {

 	/**
 	 * Create about page
 	 * 
 	 * @author Thibaud Rohmer
 	 */
 	public function __construct(){

 	}

 	/**
 	 * Display upload page on website
 	 * 
 	 * @author Thibaud Rohmer
 	 */
 	public function toHTML(){
 		echo "<h1>About</h1>";
 		echo "<h2>PhotoShow</h2>";
 		echo "<ul style='text-align:center;'>";
 		echo "<li><a href='http://www.photoshow-gallery.com'>PhotoShow-Gallery.com</a></li>\n";
 		echo "<li><a href='https://github.com/thibaud-rohmer/PhotoShow'>PhotoShow on GitHub</a></li>\n";
 		echo "<li><a href='https://github.com/thibaud-rohmer/PhotoShow/wiki/Tips'>Tips !</a></li>\n";
 		echo "</ul>\n";

 		echo "<h2>Me</h2>";
 		echo "<div id='me' style='margin:auto; text-align:center;'><img src='inc/me.jpg' width='150px' style='border-radius:5px; -moz-border-radius:5px;'></div>";
 		
 		echo "<ul style='text-align:center;'>";
 		echo "<li><a href='mailto:thibaud.rohmer@gmail.com'>email</a></li>\n";
 		echo "<li><a href='http://twitter.com/#osi_iien'>Twitter</a></li>\n";
 		echo "<li><a href='https://github.com/thibaud-rohmer/'>GitHub</a></li>\n";
 		echo "<li><a href='https://plus.google.com/114933352963292387937/about'>Google Profile</a></li>\n";
 		echo "</ul>\n";

 		echo "<h2>If you like PhotoShow ... </h2>";

 		echo "<ul style='text-align:center;'>";
 		echo "<li>Spread the word ! Tell it to your friends :)</li>\n";
 		echo "<li>Tweet/Post/Blog/Whatever about it (#photoshow)</li>\n";
 		echo "<li></li>";
 		echo '	<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
		<input type="hidden" name="cmd" value="_s-xclick">
		<input type="hidden" name="hosted_button_id" value="EJCH63L4226YN">
		<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
		<img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">
	</form>';
	 		echo "</ul>\n";

 	}

 }
 ?>