KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
Server : Apache/2.4.62
System : FreeBSD fbsdweb2.web.rcn.net 14.1-RELEASE FreeBSD 14.1-RELEASE releng/14.1-n267679-10e31f0946d8 GENERIC amd64
User : www ( 80)
PHP Version : 8.3.8
Disable Function : NONE
Directory :  /domains/yaleb/examples/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /domains/yaleb/examples/conds.txt
<html>
<head>
<base href="<output name="http_referer">">
<title>Conditional Results</title>
<link rel="stylesheet" type="text/css" href="examples.css">
</head>

<body>
<h1>Conditional Results</h1>

<!-- I could have used a normal output element here -->
<only if="!number"><p>No number given!</p></only>

<!-- is number too small, or not a number? -->
<only if="number && number < 1">
<!-- if the data's wrong, we have to catch it here -->
<output name="number" data="isnotnumber" post=" is not a number">
<output name="number" data="isnumber" post=" is too small">
</only>

<!-- is number too large? -->
<only if='number >10'>
<output name="number"> is too large
</only>

<only if="number <= 10 && number >= 1">
<output name="number"> is in range
</only>


<p>Return <a href="index.htm">to the examples page</a>.</p>

<hr>
<p>The Soupermail configuration file that made this page looks like this:</p>
<table width="90%" border="1">
<tr>
<td class="egcon">
<pre class="egcon">
<!--#include virtual="conds.con"-->
</pre>
</td>
</tr>
</table>

<p>The template that made this page is <a href="conds.txt">conds.txt</a>.</p>
</body>
</html>

Anon7 - 2021