0
|
1 |
<html>
|
|
2 |
<head>
|
|
3 |
<title>Opiniarbo</title>
|
|
4 |
<meta content='text/html; charset=UTF-8' http-equiv='Content-Type'/>
|
1
|
5 |
<meta http-equiv="cache-control" content="no-cache">
|
0
|
6 |
|
|
7 |
<style type="text/css">
|
|
8 |
|
|
9 |
body {
|
|
10 |
background-color: #fff;
|
|
11 |
margin: 40px;
|
|
12 |
font-family: Lucida Grande, Verdana, Sans-serif;
|
|
13 |
font-size: 14px;
|
|
14 |
color: #4F5155;
|
|
15 |
}
|
|
16 |
|
|
17 |
a {
|
|
18 |
color: #003399;
|
|
19 |
background-color: transparent;
|
|
20 |
font-weight: normal;
|
|
21 |
}
|
|
22 |
|
|
23 |
h1 {
|
|
24 |
color: #444;
|
|
25 |
background-color: transparent;
|
|
26 |
border-bottom: 1px solid #D0D0D0;
|
|
27 |
font-size: 16px;
|
|
28 |
font-weight: bold;
|
|
29 |
margin: 24px 0 2px 0;
|
|
30 |
padding: 5px 0 6px 0;
|
|
31 |
}
|
|
32 |
|
|
33 |
code {
|
|
34 |
font-family: Monaco, Verdana, Sans-serif;
|
|
35 |
font-size: 12px;
|
|
36 |
background-color: #f9f9f9;
|
|
37 |
border: 1px solid #D0D0D0;
|
|
38 |
color: #002166;
|
|
39 |
display: block;
|
|
40 |
margin: 14px 0 14px 0;
|
|
41 |
padding: 12px 10px 12px 10px;
|
|
42 |
}
|
|
43 |
|
|
44 |
</style>
|
|
45 |
</head>
|
|
46 |
<body>
|
|
47 |
|
|
48 |
<h1>Opiniarbo</h1>
|
|
49 |
|
|
50 |
<h2>Uzantoj</h2>
|
|
51 |
|
|
52 |
{logindata}
|
|
53 |
|
|
54 |
<h2>Antaŭasertoj</h2>
|
|
55 |
|
1
|
56 |
<td><?php echo anchor('opiniarbo/index/', 'Ĉiuj bazaj asertoj'); ?>
|
|
57 |
|
0
|
58 |
<table border=1>
|
|
59 |
<tr>
|
1
|
60 |
<th>Id
|
0
|
61 |
<th>Valoro
|
|
62 |
<th>Influo
|
|
63 |
<th>Kalkulita
|
|
64 |
<th>Teksto
|
|
65 |
{preasserts}
|
|
66 |
<tr>
|
1
|
67 |
<td>{id}
|
0
|
68 |
<td>{value}
|
|
69 |
<td>{influence}
|
1
|
70 |
<td>{calc_value}
|
|
71 |
<td><?php echo anchor('opiniarbo/index/{id}', '{assert}'); ?>
|
0
|
72 |
{/preasserts}
|
|
73 |
</table>
|
|
74 |
|
|
75 |
<h2>Ĉefaserto</h2>
|
|
76 |
|
|
77 |
<table border=1>
|
|
78 |
<tr>
|
1
|
79 |
<th>Id
|
0
|
80 |
<th>Valoro
|
|
81 |
<th>Influo
|
|
82 |
<th>Kalkulita
|
|
83 |
<th>Aserto
|
|
84 |
<tr>
|
1
|
85 |
<td>{mainassert}
|
|
86 |
<td>{mainvalue}
|
|
87 |
<td>{maininfluence}
|
|
88 |
<td>{maincalc_value}
|
|
89 |
<td>{maintext}
|
0
|
90 |
</table>
|
|
91 |
|
|
92 |
<h3>Kunteksto</h3>
|
1
|
93 |
<p>{maincontext}</p>
|
0
|
94 |
|
|
95 |
<h2>Subasertoj</h2>
|
|
96 |
|
|
97 |
<table border=1>
|
|
98 |
<tr>
|
1
|
99 |
<th>Id
|
0
|
100 |
<th>Valoro
|
|
101 |
<th>Influo
|
|
102 |
<th>Kalkulita
|
|
103 |
<th>Aserto
|
|
104 |
<th>Ŝanĝi
|
|
105 |
{subasserts}
|
1
|
106 |
<?php form_open('opiniarbo/index/{mainassert}'); ?>
|
0
|
107 |
<input type="hidden" name="mainassert" id="mainassert" value="{parent}">
|
|
108 |
<input type="hidden" name="id" id="id" value="{id}">
|
|
109 |
<tr>
|
1
|
110 |
<td>{id}
|
0
|
111 |
<td><input type="text" name="value" id="value" value="{value}" maxlength="5" size="3" />
|
|
112 |
<td><input type="text" name="influence" id="influence" value="{influence}" maxlength="5" size="3" />
|
1
|
113 |
<td>{calc_value}
|
|
114 |
<td><?php echo anchor('opiniarbo/index/{id}', '{assert}'); ?>
|
0
|
115 |
<td><input type="submit" name="modify" value="Ŝanĝi"/>
|
|
116 |
</form>
|
|
117 |
{/subasserts}
|
|
118 |
</table>
|
|
119 |
|
|
120 |
<h2>Nova subaserto</h2>
|
|
121 |
|
1
|
122 |
<?php echo validation_errors(); ?>
|
|
123 |
|
|
124 |
<?php echo form_open('opiniarbo/index/{mainassert}'); ?>
|
0
|
125 |
<input type="hidden" name="mainassert" id="mainassert" value="{parent}">
|
|
126 |
<ul>
|
|
127 |
<li>Aserto: <input type="text" name="text" id="text" maxlength="500" size="100" />
|
|
128 |
<li>Valoro de aserto: <input type="text" name="value" id="value" maxlength="5" size="3" />
|
|
129 |
<li>Influo al la ĉefaserto: <input type="text" name="influence" id="influence" maxlength="5" size="3" />
|
|
130 |
</ul>
|
|
131 |
|
|
132 |
<h3>Kunteksto</h3>
|
|
133 |
<p><textarea rows="10" cols="50" name="context" id="context"></textarea></p>
|
|
134 |
|
1
|
135 |
<p><input type="submit" name="modify" value="Aldoni"/></p>
|
0
|
136 |
</form>
|
|
137 |
|
|
138 |
<p><br />Page rendered in {elapsed_time} seconds</p>
|
|
139 |
|
|
140 |
</body>
|
|
141 |
</html>
|