OSDN Git Service

Initial commit at SoulDrops 2nd season analyzer module.
[mulab/sd2nd.git] / trust_path / modules / sd2nd / templates / sd2nd_ability_list.html
1 <h3><{$smarty.const._MD_SD2ND_LANG_ABILITY_LIST}></h3>
2 <p><{$smarty.const._MD_SD2ND_MES_ABILITY_LIST}></p>
3
4 <form action="./index.php" method="get">
5   <fieldset>
6     <input type="hidden" name="action" value="AbilityList" />
7     <label for="ability_register_date">Date</label> : 
8     <select name="regist_time" id="ability_register_date">
9       <option value=""<{if $pageNavi->mExtra.regist_time == null}> selected="selected"<{/if}>>--</option>
10       <{foreach from=$updateHandler->getUpdateTimeList() item=t}>
11         <option value="<{$t->getShow('update_time')}>"<{if $pageNavi->mExtra.regist_time == $t->get('update_time')}> selected="selected"<{/if}>><{$t->getFormatDate()}></option>
12       <{/foreach}>
13     </select>
14     <label for="ability_cost">AC</label> : 
15     <select name="ability_cost" id="ability_cost">
16       <option value=""<{if $pageNavi->mExtra.ability_cost === null}> selected="selected"<{/if}>>--</option>
17       <{foreach from=0|range:8 item=ac}>
18         <option value="<{$ac|xoops_escape}>"<{if strval($ac) === $pageNavi->mExtra.ability_cost}> selected="selected"<{/if}>><{$ac|xoops_escape}></option>
19       <{/foreach}>
20     </select>
21     <input type="submit" />
22   </fieldset>
23 </form>
24
25 <{if count($objects) > 0}>
26   <div class="pagenavi"><{xoops_pagenavi pagenavi=$pageNavi}></div>
27   <table>
28     <thead>
29       <tr>
30         <th>ID</th>
31         <th>Name</th>
32         <th>Description</th>
33         <th>Cost</th>
34       </tr>
35     </thead>
36     <tbody>
37       <{foreach from=$objects item=obj}>
38         <tr class="<{cycle values='odd,even'}>">
39           <td><{$obj->getShow('ability_id')}></td>
40           <td><a href="./index.php?action=LearnedAbilityList&amp;ability_name=<{$obj->get('ability_name')|urlencode}>"><{$obj->getShow('ability_name')}></a></td>
41           <td><{$obj->getShow('description')}></td>
42           <td><{$obj->getShow('ability_cost')}></td>
43         </tr>
44       <{/foreach}>
45     </tbody>
46   </table>
47   <div class="pagenavi"><{xoops_pagenavi pagenavi=$pageNavi}></div>
48 <{/if}>