PHP Classes

File: index.tpl

Recommend this page to a friend!
  Classes of mohamad Reza kavoosi   HTML preRender   index.tpl   Download  
File: index.tpl
Role: Auxiliary data
Content type: text/plain
Description: template file
Class: HTML preRender
Preprocess templates and assign form input values
Author: By
Last change:
Date: 12 years ago
Size: 2,078 bytes
 

Contents

Class file image Download
<h1> index template</h1> <fieldset><legend>fill form before render</legend> <span id="myname">username :</span> <div class="myclass"></div><div class="myclass"></div> <div> email : <input name="email"/> </div> <div> sex : <input type="radio" name="sex" value="male" id="male"/><label for="male">male</label> <input type="radio" name="sex" value="woman" id="woman"/><label for="woman">woman</label> </div> <div> country : <select name="country"> <option value="Germany">Germany</option> <option value="England">England</option> <option value="IRAN">IRAN</option> <option value="USA">USA</option> </select> </div> <div><input name="accept" type="checkbox" id="accept"/><label for="accept">accept this class!</label></div> <div>address:<textarea name="address"></textarea></div> <input type="hidden" name="hidden1"/> <div id="loginpanel">login panel must remove!</div> </fieldset> <fieldset><legend>fill this form automatic after postback and retrive data to controls!</legend> <form method="post"> <table> <tr> <td>username :</td> <td><input name="username" type="text"/></td> </tr> <tr> <td>password :</td> <td><input name="password" type="password"/></td> </tr> <tr> <td>login time :</td> <td> <select name="timelog"> <option value="360">1 year</option> <option value="130">6 month</option> <option value="1">1 day</option> <option value="0">never</option> </select> </td> </tr> <tr> <td></td> <td><input value="send post data" type="submit"/></td> </tr> </table> </form> </fieldset>