views/arbo.php
author viric@mandarina
Thu, 25 Dec 2008 11:25:58 +0000
changeset 0 3773f4677c40
child 1 f08a11b5d207
permissions -rw-r--r--
Opiniarbo - versikontrolita.

<html>
<head>
<title>Opiniarbo</title>
<meta content='text/html; charset=UTF-8' http-equiv='Content-Type'/>

<style type="text/css">

body {
 background-color: #fff;
 margin: 40px;
 font-family: Lucida Grande, Verdana, Sans-serif;
 font-size: 14px;
 color: #4F5155;
}

a {
 color: #003399;
 background-color: transparent;
 font-weight: normal;
}

h1 {
 color: #444;
 background-color: transparent;
 border-bottom: 1px solid #D0D0D0;
 font-size: 16px;
 font-weight: bold;
 margin: 24px 0 2px 0;
 padding: 5px 0 6px 0;
}

code {
 font-family: Monaco, Verdana, Sans-serif;
 font-size: 12px;
 background-color: #f9f9f9;
 border: 1px solid #D0D0D0;
 color: #002166;
 display: block;
 margin: 14px 0 14px 0;
 padding: 12px 10px 12px 10px;
}

</style>
</head>
<body>

<h1>Opiniarbo</h1>

<h2>Uzantoj</h2>

{logindata}

<h2>Antaŭasertoj</h2>

<table border=1>
<tr>
<th>Valoro
<th>Influo
<th>Kalkulita
<th>Teksto
{preasserts}
<tr>
<td>{value}
<td>{influence}
<td>{calculation}
<td>{text}
{/preasserts}
</table>

<h2>Ĉefaserto</h2>

<table border=1>
<tr>
<th>Valoro
<th>Influo
<th>Kalkulita
<th>Aserto
{preasserts}
<tr>
<td>{value}
<td>{influence}
<td>{calculation}
<td>{assert}
{/preasserts}
</table>

<h3>Kunteksto</h3>
<p>{context}</p>

<h2>Subasertoj</h2>

<table border=1>
<tr>
<th>Valoro
<th>Influo
<th>Kalkulita
<th>Aserto
<th>Ŝanĝi
{subasserts}
<?php form_open('opiniarbo/index'); ?>
<input type="hidden" name="mainassert" id="mainassert" value="{parent}">
<input type="hidden" name="id" id="id" value="{id}">
<tr>
<td><input type="text" name="value" id="value" value="{value}" maxlength="5" size="3" />
<td><input type="text" name="influence" id="influence" value="{influence}" maxlength="5" size="3" />
<td>{calculation}
<td>{assert}
<td><input type="submit" name="modify" value="Ŝanĝi"/>
</form>
{/subasserts}
</table>

<h2>Nova subaserto</h2>

<?php form_open('opiniarbo/index'); ?>
<input type="hidden" name="mainassert" id="mainassert" value="{parent}">
<ul>
<li>Aserto: <input type="text" name="text" id="text" maxlength="500" size="100" />
<li>Valoro de aserto: <input type="text" name="value" id="value" maxlength="5" size="3" />
<li>Influo al la ĉefaserto: <input type="text" name="influence" id="influence" maxlength="5" size="3" />
</ul>

<h3>Kunteksto</h3>
<p><textarea rows="10" cols="50" name="context" id="context"></textarea></p>

<p><input type="submit" name="modify" value="Ŝanĝi"/></p>
</form>

<p><br />Page rendered in {elapsed_time} seconds</p>

</body>
</html>