mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-11 17:59:02 +00:00
71 lines
2.7 KiB
Smarty
71 lines
2.7 KiB
Smarty
{block name=content}
|
|
|
|
{if isset($smarty.get.plugin_action) and $smarty.get.plugin_action eq 'get_achievements'}
|
|
<div class="row-fluid">
|
|
<div class="box span12">
|
|
<div class="box-header well" data-original-title>
|
|
<h2><i class="icon-user"></i> Achievements</h2>
|
|
<div class="box-icon">
|
|
<a href="#" class="btn btn-setting btn-round"><i class="icon-cog"></i></a>
|
|
<a href="#" class="btn btn-minimize btn-round"><i class="icon-chevron-up"></i></a>
|
|
<a href="#" class="btn btn-close btn-round"><i class="icon-remove"></i></a>
|
|
</div>
|
|
</div>
|
|
<div class="box-content">
|
|
{if isset($hook_info.Achievements.no_char)}<div class="alert alert-error"><p>{$hook_info.Achievements.no_char}</p></div>{/if}
|
|
<div class="row-fluid">
|
|
{$hook_info.Achievements.char_achievements}
|
|
</div>
|
|
</div><!--/span-->
|
|
</div><!--/span-->
|
|
</div><!--/row-->
|
|
{else}
|
|
<div class="row-fluid">
|
|
<div class="box span12">
|
|
<div class="box-header well" data-original-title>
|
|
<h2><i class="icon-user"></i> Achievements</h2>
|
|
<div class="box-icon">
|
|
<a href="#" class="btn btn-setting btn-round"><i class="icon-cog"></i></a>
|
|
<a href="#" class="btn btn-minimize btn-round"><i class="icon-chevron-up"></i></a>
|
|
<a href="#" class="btn btn-close btn-round"><i class="icon-remove"></i></a>
|
|
</div>
|
|
</div>
|
|
<div class="box span4">
|
|
<div class="box-header well" data-original-title="">
|
|
<h2><i class="icon-th"></i> Select your Character</h2>
|
|
<div class="box-icon">
|
|
<a href="#" class="btn btn-minimize btn-round"><i class="icon-chevron-up"></i></a>
|
|
<a href="#" class="btn btn-close btn-round"><i class="icon-remove"></i></a>
|
|
</div>
|
|
</div>
|
|
<div class="box-content">
|
|
<div class="row-fluid">
|
|
<form id="generateKey" class="form-vertical" method="post" action="index.php?page=layout_plugin&&name={$arrkey}&&plugin_action=get_achievements">
|
|
|
|
<div class="control-group">
|
|
<div class="control-group">
|
|
<label class="control-label">Character:</label>
|
|
<div class="controls">
|
|
<select name="Character">
|
|
{foreach from=$hook_info.Achievements.Character item=element}
|
|
<option value="{$element}">{$element}</option>
|
|
{/foreach}
|
|
</select>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="control-group">
|
|
<label class="control-label"></label>
|
|
<div class="controls">
|
|
<button type="submit" name="get_data" value="true" class="btn btn-primary" style="margin-left:5px; margin-top:10px;">Get Achievements</button>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div><!--/span-->
|
|
</div><!--/span-->
|
|
</div><!--/row-->
|
|
|
|
{/if}
|
|
{/block}
|