PHP Classes

File: login.htmlt

Recommend this page to a friend!
  Classes of Kaloyan Kirilov   Mrasnika's template system   login.htmlt   Download  
File: login.htmlt
Role: Auxiliary data
Content type: text/plain
Description: Example main template
Class: Mrasnika's template system
Multi-level object oriented template system
Author: By
Last change:
Date: 20 years ago
Size: 1,172 bytes


Class file image Download
<form> <TEMPLATE error> <div style="color:maroon;font: bold 23pt Arial, Tahoma, Verdana;" align=center>Error: #%ERROR%# <hr color=brown width=640></div> </TEMPLATE> <div align=center> <table cellpadding=5 style="background:#dedede"> <tr> <td>Username<br><input name=usrnm value="%%USERNAME%%"></td> <!--# This will be parsed with HTML special chars conversion - in this case to prevent from "parsing" HTML code entered into the imput field. You can try it on yourself, typing some string containing quotes. #--> <td>Password<br><input type=password name=psswrd></td> </tr> <tr> <td colspan=2 align=center><input type=submit name=login value=Login></td> </tr> </table> </div> </form> <MESSAGES> html_title : Login Panel </MESSAGE> <!--# You can specific data in each tempalte, which will be inserted in the other parts of the builded page. This is such an example, with storing the page title in each template to be parsed into the header template. #--> <message> error_authorization_required: Your Authorization is required error_access_denied: Access Denied </message>