Login   Register  
PHP Classes
elePHPant
Icontem

File: class_iniparser_sample.dat

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Mark Quah  >  INIParser  >  class_iniparser_sample.dat  >  Download  
File: class_iniparser_sample.dat
Role: Auxiliary data
Content type: text/plain
Description: Sample data file
Class: INIParser
use ini format to generate HTML image
Author: By
Last change: more complex example
Date: 12 years ago
Size: 1,251 bytes
 

Contents

Class file image Download
[GLOBAL]
READONLY=

[FIELD]
#### USE GLOBAL TO UPDATE READONLY STATUS
TDH=<TD COLSPAN=3 BGCOLOR=GREY ALIGN=CENTER STYLE="{FONT:BOLD;}">
TDB=<TD BGCOLOR=BLUE>
TDG=<TD BGCOLOR=GREEN>
TDB2=<TD BGCOLOR=BLUE COLSPAN=2>
TDG2=<TD BGCOLOR=GREEN COLSPAN=2>

DATE={DATE}

ENTRY1=<INPUT {READONLY} TYPE=TEXT NAME=ENTRY1 VALUE="ENTRY1">
ENTRY2=<INPUT {READONLY} TYPE=TEXT NAME=ENTRY2 VALUE="ENTRY2">
SUBMIT=<INPUT {READONLY} TYPE=SUBMIT NAME=SUBMIT VALUE="SUBMIT">
RESET=<INPUT {READONLY} TYPE=RESET NAME=RESET VALUE="RESET">

[TABLE1, FREE]
#### UPDATE FROM FIELD
<FORM>
<TABLE WIDTH=100%>
<TR>{TDH}THIS IS FIRST TABLE
<TR>{TDB}ENTRY1{TDB}{ENTRY1}
<TR>{TDB}ENTRY1{TDB2}{ENTRY2}
<TR>{TDH}[ {SUBMIT} ] [ {RESET} ]
</TABLE>
</FORM>


[TABLE2, FREE]
#### UPDATE FROM FIELD
<FORM>
<TABLE WIDTH=100%>
<TR>{TDH}THIS IS SECOND TABLE
<TR>{TDG}ENTRY1{TDG2}{ENTRY1}
<TR>{TDG}ENTRY1{TDG2}{ENTRY2}
<TR>{TDH}[ {SUBMIT} ] [ {RESET} ]
</TABLE>
</FORM>

[FINAL]
#### READ FIELD FROM TABLE1 AND TABLE2 BY PROGRAM
TABLE1=
TABLE2=
DATE=

[HTML, FREE]
### READ FIELD FROM CAT: FINAL BY PROGRAM
<H1> THIS IS A TEST PAGE Generate on {DATE}</H1>
This display table 1.
<BR>
{TABLE1}
<BR>
<BR>
This display table 2.
{TABLE2}