Login   Register  
PHP Classes
elePHPant
Icontem

File: index.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Mark Berube  >  Overlay Text  >  index.php  >  Download  
File: index.php
Role: Example script
Content type: text/plain
Description: Example Web Form
Class: Overlay Text
Render an image with a text over a background
Author: By
Last change:
Date: 2009-07-22 20:33
Size: 2,220 bytes
 

Contents

Class file image Download
<!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">
    <meta name="author" content="Del Ameko">

    <title>Untitled 2</title>
    <link rel="stylesheet" href="js_color_picker_v2.css" media="screen">

    <script src="color_functions.js"></script>
<style type="text/css">
table#align {border:1px solid black; text-align:center;}
table#align td{margin: 10px;}    
</style>
</head>

<body>
<form action="example.php" method="post" enctype="multipart/form-data" name="text_options">


<table border="1">
<tr>
    <td>
<!-- Begin Text Options Table -->    
<table border="1">
<tr>
    <td>Text:</td>
    <td><input type="text" name="txt_string"></td>
</tr>
<tr>
    <td>Font Size:</td>
    <td>
<select size="1" name="int_font_size">
    <option value="10">10</option>
    <option value="12">12</option>
    <option value="14">14</option>
    <option value="16">16</option>
    <option value="18">18</option>
    <option value="20">20</option>
    <option value="22">22</option>
    <option value="24">24</option>
    <option value="26">26</option>
    <option value="28">28</option>
</select> Pt.
</td>
</tr>
<tr>
    <td>Font Color:</td>
    <td><input type=text name=hex_font_color size=8 maxlength=7 value="#000000"></td>
</tr>
</table>
<!-- End Text Options Table -->
</td>
</tr>
<tr>

    <td colspan=2 align="=center">
<!-- Begin Alignment Options Table -->    
<table id="align">
<tr>
    <th colspan="3">Text Alignment Options</th>

</tr>
<tr>
    <td><input type="radio" value="top_l" name="align"><br>Top L.</td>
    <td>&nbsp;</td>
    <td><input type="radio" value="top_r" name="align"><br>Top R.</td>
</tr>
<tr>
    <td>&nbsp;</td>
    <td><input type="radio" value="center" name="align"><br>Center</td>
    <td>&nbsp;</td>
</tr>
<tr>
    <td><input type="radio" value="bottom_l" name="align"><br>Bottom L.</td>
    <td>&nbsp;</td>
    <td><input type="radio" value="bottom_r" name="align"><br>Bottom R.</td>
</tr>
</table>

<!-- End Alignment Options Table -->

    </td>

</tr>
<tr><td><input type="submit" value="Submit" name="submit"></td></tr>
</table>

</form>

</body>
</html>