Debian Codegraph @

test/cmp/subreq.htm

raw
1
2 <html>
3 <head>
4 <title>Embperl Tests - Apache 2 subrequest</title>
5 </head>
6
7 <body>
8
9
10
11 <html>
12 <head>
13 <title>Some Plain tests Embperl</title>
14 </head>
15
16 <body>
17
18 Here it starts with some HTML Text<P>
19
20 All values should be undefined:
21
22 $a = <BR>
23 $b = <BR>
24 $c = <BR>
25 $d = <BR>
26 $e = <BR>
27
28
29 First of all assign a value:
30 <BR>
31
32 Now we have some 'Umlaute':
33
34
35 Now lets look what we are getting from this:<BR>
36 (this is the value in $a) (this is the value in $a) &auml;&ouml;&uuml;<BR>
37
38 And now a and b together: (this is the value in $a)(this is the value in $a) &auml;&ouml;&uuml;<P>
39
40 Here we have some HTML tags within the perl code, Embperl will delete them!<BR>
41
42 57
43 Embperl will also translate HMTL escapes to the right characters i.e. $a &amp;lt; 6 will get the perl expression $a &lt; 6: <BR>
44
45 1
46 Now they should have a value
47
48 $a = (this is the value in $a) <BR>
49 $b = (this is the value in $a) &auml;&ouml;&uuml; <BR>
50 $c = 57 <BR>
51 $d = 1 <BR>
52 $e = 2 <BR>
53
54 a <br>
55 a <br>
56 a <br>
57 b is null <br>
58 a <br>
59 b is null <br>
60 a<br>
61 b is null <br>
62 <table></table>
63
64
65 <p> $tabmode = default <p>
66
67 <hr><p>Display an two dimensional array with one, two and three columns !<BR>
68 Please take a look at the source in your browser to see the difference<BR>
69
70 $a[0][0] = '1/1' ;<BR>
71 $a[1][0] = '2/1' ;<BR>
72 $a[1][1] = '2/2' ;<BR>
73 $a[2][0] = '3/1' ;<BR>
74 $a[2][1] = '3/2' ;<BR>
75 $a[2][2] = '3/3' ;<BR>
76
77 <P>$tabmode = default <P>
78
79 <table border="2" width="100%">
80 <tr>
81 <td>a1/1 </td>
82 </tr>
83
84 <tr>
85 <td>a2/1 </td>
86
87 <td>a2/2 </td>
88 </tr>
89
90 <tr>
91 <td>a3/1 </td>
92
93 <td>a3/2 </td>
94
95 <td>a3/3 </td>
96 </tr>
97 </table>
98
99 <table border="2" width="100%">
100 <tr>
101 <th>1</th>
102 <th>2</th>
103 <th>3</th>
104 </tr>
105 <tr>
106 <td>a1/1 </td>
107 </tr>
108
109 <tr>
110 <th>1</th>
111 <th>2</th>
112 <th>3</th>
113 </tr>
114 <tr>
115 <td>a2/1 </td>
116
117 <td>a2/2 </td>
118 </tr>
119
120 <tr>
121 <th>1</th>
122 <th>2</th>
123 <th>3</th>
124 </tr>
125 <tr>
126 <td>a3/1 </td>
127
128 <td>a3/2 </td>
129
130 <td>a3/3 </td>
131 </tr>
132 </table>
133
134 <table border="2" width="100%">
135 <tr>
136 <th>b3/1</th>
137
138 <th>b3/2</th>
139
140 <th>b3/3</th>
141 </tr>
142 <tr>
143 <td>a1/1 </td>
144 </tr>
145
146 <tr>
147 <th>b3/1</th>
148
149 <th>b3/2</th>
150
151 <th>b3/3</th>
152 </tr>
153 <tr>
154 <td>a2/1 </td>
155
156 <td>a2/2 </td>
157 </tr>
158
159 <tr>
160 <th>b3/1</th>
161
162 <th>b3/2</th>
163
164 <th>b3/3</th>
165 </tr>
166 <tr>
167 <td>a3/1 </td>
168
169 <td>a3/2 </td>
170
171 <td>a3/3 </td>
172 </tr>
173 </table>
174
175 <table>
176 <tr>
177 <td>
178 <table>
179 <tr>
180 <td>b1/1 </td>
181 </tr>
182
183 <tr>
184 <td>b2/1 </td>
185
186 <td>b2/2 </td>
187 </tr>
188
189 <tr>
190 <td>b3/1 </td>
191
192 <td>b3/2 </td>
193
194 <td>b3/3 </td>
195 </tr>
196 </table>
197
198 a1/1 </td>
199 </tr>
200
201 <tr>
202 <td>
203 <table>
204 <tr>
205 <td>b1/1 </td>
206 </tr>
207
208 <tr>
209 <td>b2/1 </td>
210
211 <td>b2/2 </td>
212 </tr>
213
214 <tr>
215 <td>b3/1 </td>
216
217 <td>b3/2 </td>
218
219 <td>b3/3 </td>
220 </tr>
221 </table>
222
223 a2/1 </td>
224
225 <td>
226 <table>
227 <tr>
228 <td>b1/1 </td>
229 </tr>
230
231 <tr>
232 <td>b2/1 </td>
233
234 <td>b2/2 </td>
235 </tr>
236
237 <tr>
238 <td>b3/1 </td>
239
240 <td>b3/2 </td>
241
242 <td>b3/3 </td>
243 </tr>
244 </table>
245
246 a2/2 </td>
247 </tr>
248
249 <tr>
250 <td>
251 <table>
252 <tr>
253 <td>b1/1 </td>
254 </tr>
255
256 <tr>
257 <td>b2/1 </td>
258
259 <td>b2/2 </td>
260 </tr>
261
262 <tr>
263 <td>b3/1 </td>
264
265 <td>b3/2 </td>
266
267 <td>b3/3 </td>
268 </tr>
269 </table>
270
271 a3/1 </td>
272
273 <td>
274 <table>
275 <tr>
276 <td>b1/1 </td>
277 </tr>
278
279 <tr>
280 <td>b2/1 </td>
281
282 <td>b2/2 </td>
283 </tr>
284
285 <tr>
286 <td>b3/1 </td>
287
288 <td>b3/2 </td>
289
290 <td>b3/3 </td>
291 </tr>
292 </table>
293
294 a3/2 </td>
295
296 <td>
297 <table>
298 <tr>
299 <td>b1/1 </td>
300 </tr>
301
302 <tr>
303 <td>b2/1 </td>
304
305 <td>b2/2 </td>
306 </tr>
307
308 <tr>
309 <td>b3/1 </td>
310
311 <td>b3/2 </td>
312
313 <td>b3/3 </td>
314 </tr>
315 </table>
316
317 a3/3 </td>
318 </tr>
319 </table>
320
321 <P><P>
322
323 <P><P>
324 <P>1<P>
325
326 <P>
327
328 <table>
329 <tr>
330 <td>ii[0] = 0 </td>
331 </tr>
332
333 <tr>
334 <td>ii[1] = 1 </td>
335 </tr>
336
337 <tr>
338 <td>ii[2] = 2 </td>
339 </tr>
340
341 <tr>
342 <td>ii[3] = 3 </td>
343 </tr>
344
345 <tr>
346 <td>ii[4] = 4 </td>
347 </tr>
348
349 <tr>
350 <td>ii[5] = 5 </td>
351 </tr>
352
353 <tr>
354 <td>ii[6] = 6 </td>
355 </tr>
356
357 <tr>
358 <td>ii[7] = 7 </td>
359 </tr>
360
361 <tr>
362 <td>ii[8] = 8 </td>
363 </tr>
364
365 <tr>
366 <td>ii[9] = 9 </td>
367 </tr>
368 </table>
369
370 </body>
371 </html>
372 </body>
373 </html>