<?php include_once tpl('header');?>
<card title="<?php echo $name;?> - <?php echo setting('webname');?>">
<p align="left">
<anchor>返回上级<prev/></anchor>/<a href="<?php echo url('system',array('s'=>'props'));?>">道具中心</a>/<?php echo memberLink('书房');?><br/>

<?php if (!empty($medals)):?>
    <?php foreach ($medals as $medal):?>
        <img src="<?php echo iMedals::getImage($medal['image']);?>" alt="<?php echo $medal['name'];?>" /><br/>
        <?php echo $medal['name'];?>/<?php echo ilink('购买', url('system',array('s'=>'props','c'=>'medal1','a'=>'buy','id'=>$medal['medalid'])));?>.<?php echo ilink('赠送', url('system',array('s'=>'props','c'=>'medal1','a'=>'handsel','id'=>$medal['medalid'])));?>
        <br/>
        --------------
        <br/>
    <?php endforeach;?>
    共<?php echo $pagination->getTotalRecord();?>枚勋章[<?php echo $pagination->getCurrentPage();?>/<?php echo $pagination->getTotalPage();?>页]
    <br/>
    <?php echo $pagination->show();?><br/>
<?php else:?>
    暂无此系列勋章<br/>
<?php endif;?>
---------------
<br/>
<a href="<?php echo url('system',array('s'=>'props'));?>">进入查看更多道具&gt;&gt;</a>
<br/>
<?php include_once tpl('footer');?>