<?php
/***************************************************************************
*...........................................................................
*.....:::....:::.:.::::::.:::::..:::::.:::::...::::..:::::.::::::.:::::.....
*.....*#W...*@##@W.#W..W#.@W##W:+W@##W.#W####.:#W##.:W###W.*W###W.#W##@*....
*......W+W..#*..:W..W.W:..*#..:..W:..:..W...W...W....:..##..W...:..W..*#....
*.....:W:W..##::....W:W...*@.....W......W...W...W......+W...W......W..*#....
*.....#*.#*..##W#...WW*...*W#W...W@@#...W####...W......W....W#W*...W##@*....
*.....#WWW*....::W..W:W...*#.:...W:.:...W:W+....W.....W:....W.:....W:W:.....
*....:W...W.##...W..W..W:.*#..:..W:..:..W..W:...W....@*..:..W...:..W..W:....
*....@W+.*W#.@####.#W#.:W+@W##W:+W@##W.#W#..W*:#W##.:W###W.*W###W.#W*.*W:...
*...........................................................................
*.......................Turns photos into ASCII art!........................
*...........................................................................
*....Author: William Chen ................................................
*....Version: 2.0 Final ...................................................
*....Language: PHP/CSS/HTML ................................................
*....Contact: v8superfan@epcgaming.com .....................................
*....Link: http://askee.rtxhosting.com......................................
*...........................................................................
\***************************************************************************
/***************************************************************************
*
* Copyright (c) 2005, William Chen <v8superfan@epcgaming.com>
* All rights reserved.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
* GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
/**
* This is the home page, it does not actually do any processing
*/
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>ASKEERIZER </title>
<link href="style.css" rel="stylesheet" type="text/css">
<!--Because IE renders CSS style sheets differently than other browsers,
a new stylesheet with adjustments had to be created, this line of code will force IE to use the new Style Sheet-->
<!--[if IE]><link href="ie_style.css" rel="stylesheet" type="text/css" /><![endif]-->
</head>
<body>
<!--Container table for the interface-->
<table align="center" width="974" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
<!--Begin header-->
<div align="center" class="header" id="header"></div>
<!--End header-->
<!--Begin body--->
<div class="main" id="main">
<!--Preview image container-->
<div class="previewimage" id="previewimage">
<h2><strong>Welcome!</strong></h2>
<p>Welcome to the ASKEERIZER! Turn any photograph into ASCII Art with just a few clicks! Just follow these simple instructions:</p>
<h3>Step 1</h3>
<p>Choose to either <strong>'Link'</strong> the image, or <strong>'Upload"</strong> it using our built in uploader. </p>
<h3>Step 2</h3>
<p>Tweak and play around with the various settings, or use one of several presets.</p>
<h3>Step 3 </h3>
<p>Click ASKEERIZE!</p>
</div>
<!--End Preview image container-->
<!--Start Navigation menu-->
<div class="buttonscontainer">
<div class="buttons">
<a href="about:blank">HOME</a>
<a href="about:blank">HELP</a>
<a href="about:blank">ABOUT</a>
<a href="about:blank">SCREENS</a>
<a href="about:blank">DOC</a>
<a href="about:blank">SOURCE</a>
</div>
</div>
<!--Settings box container-->
<div class="settingsbox" id="settingsbox">
<form action="askeerising.php" method="GET" target="_blank">
<table width="100%">
<tr valign="top">
<td align="center">
<table width="380" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="380">
<table width="52%" border="0" cellpadding="4" cellspacing="0">
<tr bgcolor="#0060D5">
<td>Presets</td>
<td>
<select class="select" name="resolution">
<option value="1">High Quality
<option value="2">Medium Quality
<option value="3">Low Quality
</select>
</td>
</tr>
<tr bgcolor="#0072FE">
<td width="74">Resolution</td>
<td width="112">
<select name="resolution">
<option value="1">1
<option value="2">2
<option value="3" selected>3
<option value="4">4
<option value="5">5
</select> (?)
</td>
</tr>
<tr bgcolor="#0072FE">
<td>Mode</td>
<td>
<select name="mode">
<option value="1">Black/White
<option value="3">Colour
</select> (?)
</td>
</tr>
<tr bgcolor="#0072FE">
<td>Font Color</td>
<td>
<input type="text" name="color" value="#000000" size="8" maxlength="7"> (?)
</td>
</tr>
<tr bgcolor="#0072FE">
<td>Font Size</td>
<td>
<input type="text" name="font-size" value="11" size="3" maxlength="3"> px
</td>
</tr>
<tr bgcolor="#0072FE">
<td>Line-Height</td>
<td>
<input type="text" name="line-height" value="9" size="3" maxlength="3"> px
</td>
</tr>
<tr bgcolor="#0072FE">
<td>Letter Spacing</td>
<td>
<input type="text" name="letter-spacing" value="0" size="3" maxlength="3"> px
</td>
</tr>
<tr bgcolor="#005CCD">
<td align="right">
<input name="flip_h" type="checkbox">
</td>
<td>Flip horizontally</td>
</tr>
<tr bgcolor="#005CCD">
<td align="right"><input name="flip_v" type="checkbox"></td>
<td>Flip vertically </td>
</tr>
<tr bgcolor="#005CCD">
<td align="right"><input name="save" type="checkbox">
</td>
<td>Save as HTML</td>
</tr>
<!--This text box here will contain the URL of the Image, it will be automaitcally entered after an upload, or direct link-->
<tr bgcolor="#0072FE">
<td align="right" colspan="2">
<input type="text" name="image" value="<? echo $image ?>" size="25" maxlength="150">
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</div>
<!--End settings box container-->
</div>
<!--End main body-->
<!--Footer container-->
<div class="footer" id="footer">
<!--Upload buttons-->
<div id="upload">
<a href="uploader.php"><img src="link.png" width="111" height="40" border="0"><img src="upload.png" width="131" height="40" border="0"></a>
</div>
<!--Askeerize button-->
<div id="askeerize">
<input type="image" src="askee.png" value="submit"></form>
</div>
</div>
</td>
</tr>
</table>
</div>
</body>
</html>