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: 4 years ago
Size: 2,078 bytes


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>
        email : <input name="email"/>
        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>
       country : <select name="country">
            <option value="Germany">Germany</option>
            <option value="England">England</option>
            <option value="IRAN">IRAN</option>
            <option value="USA">USA</option>
    <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><legend>fill this form automatic after postback and retrive data to controls!</legend>
    <form method="post">
                <td>username :</td>
                <td><input name="username" type="text"/></td>
                <td>password :</td>
                <td><input name="password" type="password"/></td>
                <td>login time :</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>
                <td><input value="send post data" type="submit"/></td>