www.gusucode.com > Destoon B2B仿淘宝电子商务网站 UTF8 v6.0源码程序 > destoon/module/member/admin/template/honor.tpl.php
<?php defined('DT_ADMIN') or exit('Access Denied'); include tpl('header'); show_menu($menus); ?> <form action="?"> <div class="tt">证书搜索</div> <input type="hidden" name="moduleid" value="<?php echo $moduleid;?>"/> <input type="hidden" name="file" value="<?php echo $file;?>"/> <input type="hidden" name="action" value="<?php echo $action;?>"/> <table cellpadding="2" cellspacing="1" class="tb"> <tr> <td> <?php echo $fields_select;?> <input type="text" size="50" name="kw" value="<?php echo $kw;?>" title="关键词"/> <?php echo $order_select;?> <input type="text" name="psize" value="<?php echo $pagesize;?>" size="2" class="t_c" title="条/页"/> <input type="submit" value="搜 索" class="btn"/> <input type="button" value="重 置" class="btn" onclick="Go('?moduleid=<?php echo $moduleid;?>&file=<?php echo $file;?>&action=<?php echo $action;?>');"/> </td> </tr> </table> </form> <form method="post"> <div class="tt"><?php echo $menus[$menuid][0];?></div> <table cellpadding="2" cellspacing="1" class="tb"> <tr> <th width="25"><input type="checkbox" onclick="checkall(this.form);"/></th> <th>证书</th> <th>证书名称</th> <th>发证机构</th> <th>发证日期</th> <th>到期日期</th> <th>会员</th> <th width="130">添加时间</th> <th width="50">操作</th> </tr> <?php foreach($lists as $k=>$v) {?> <tr onmouseover="this.className='on';" onmouseout="this.className='';" align="center"> <td><input type="checkbox" name="itemid[]" value="<?php echo $v['itemid'];?>"/></td> <td><a href="<?php echo $v['image'];?>" target="_blank"><img src="<?php echo $v['thumb'];?>" width="50" style="padding:5px;"/></a></td> <td><a href="<?php echo userurl($v['username'], 'file=honor&itemid='.$v['itemid']);?>" target="_blank"><?php echo $v['title'];?></a></td> <td><?php echo $v['authority'];?></td> <td><?php echo $v['fromdate'];?></td> <td><?php echo $v['todate'];?></td> <td><a href="javascript:_user('<?php echo $v['username'];?>');"><?php echo $v['username'];?></a></td> <td class="px11" title="更新时间 <?php echo $v['editdate'];?>"><?php echo $v['adddate'];?></td> <td> <a href="?moduleid=<?php echo $moduleid;?>&file=<?php echo $file;?>&action=edit&itemid=<?php echo $v['itemid'];?>"><img src="admin/image/edit.png" width="16" height="16" title="修改" alt=""/></a> <a href="?moduleid=<?php echo $moduleid;?>&file=<?php echo $file;?>&action=delete&itemid=<?php echo $v['itemid'];?>" onclick="return _delete();"><img src="admin/image/delete.png" width="16" height="16" title="删除" alt=""/></a> </td> </tr> <?php }?> </table> <?php include tpl('notice_chip');?> <div class="btns"> <?php if($action == 'recycle') { ?> <input type="submit" value=" 彻底删除 " class="btn" onclick="if(confirm('确定要删除选中证书吗?此操作将不可撤销')){this.form.action='?moduleid=<?php echo $moduleid;?>&file=<?php echo $file;?>&action=delete'}else{return false;}"/> <input type="submit" value=" 还 原 " class="btn" onclick="if(confirm('确定要还原选中证书吗?状态将被设置为已通过')){this.form.action='?moduleid=<?php echo $moduleid;?>&file=<?php echo $file;?>&action=restore'}else{return false;}"/> <input type="submit" value=" 清 空 " class="btn" onclick="if(confirm('确定要清空回收站吗?此操作将不可撤销')){this.form.action='?moduleid=<?php echo $moduleid;?>&file=<?php echo $file;?>&action=clear';}else{return false;}"/> <?php } else if($action == 'reject') { ?> <input type="submit" value=" 回收站 " class="btn" onclick="this.form.action='?moduleid=<?php echo $moduleid;?>&file=<?php echo $file;?>&action=delete&recycle=1';"/> <input type="submit" value=" 彻底删除 " class="btn" onclick="if(confirm('确定要删除选中证书吗?此操作将不可撤销')){this.form.action='?moduleid=<?php echo $moduleid;?>&file=<?php echo $file;?>&action=delete'}else{return false;}"/> <?php } else if($action == 'exprie') { ?> <span class="f_red f_r">批量删除过期 <input type="text" size="3" name="days" id="days" value="60"/> 天的信息 <input type="submit" value="删 除" class="btn" onclick="if(Dd('days').value==''){alert('请填写天数');return false;}if(confirm('确定要删除过期'+Dd('days').value+'天的证书信息吗?此操作将不可撤销')){this.form.action='?moduleid=<?php echo $moduleid;?>&file=<?php echo $file;?>&action=expire&refresh=1&delete=1'}else{return false;}"/></span> <input type="submit" value="刷新过期" class="btn" onclick="this.form.action='?moduleid=<?php echo $moduleid;?>&file=<?php echo $file;?>&action=expire&refresh=1';" name="submit"/> <input type="submit" value=" 回收站 " class="btn" onclick="this.form.action='?moduleid=<?php echo $moduleid;?>&file=<?php echo $file;?>&action=delete&recycle=1';"/> <input type="submit" value=" 彻底删除 " class="btn" onclick="if(confirm('确定要删除选中证书吗?此操作将不可撤销')){this.form.action='?moduleid=<?php echo $moduleid;?>&file=<?php echo $file;?>&action=delete'}else{return false;}"/> <?php } else if($action == 'check') { ?> <input type="submit" value=" 通过审核 " class="btn" onclick="this.form.action='?moduleid=<?php echo $moduleid;?>&file=<?php echo $file;?>&action=check';"/> <input type="submit" value=" 拒 绝 " class="btn" onclick="this.form.action='?moduleid=<?php echo $moduleid;?>&file=<?php echo $file;?>&action=reject';"/> <input type="submit" value=" 回收站 " class="btn" onclick="this.form.action='?moduleid=<?php echo $moduleid;?>&file=<?php echo $file;?>&action=delete&recycle=1';"/> <input type="submit" value=" 彻底删除 " class="btn" onclick="if(confirm('确定要删除选中证书吗?此操作将不可撤销')){this.form.action='?moduleid=<?php echo $moduleid;?>&file=<?php echo $file;?>&action=delete'}else{return false;}"/> <?php } else { ?> <input type="submit" value=" 回收站 " class="btn" onclick="this.form.action='?moduleid=<?php echo $moduleid;?>&file=<?php echo $file;?>&action=delete&recycle=1';"/> <input type="submit" value=" 彻底删除 " class="btn" onclick="if(confirm('确定要删除选中证书吗?此操作将不可撤销')){this.form.action='?moduleid=<?php echo $moduleid;?>&file=<?php echo $file;?>&action=delete'}else{return false;}"/> <input type="submit" value="刷新过期" class="btn" onclick="this.form.action='?moduleid=<?php echo $moduleid;?>&file=<?php echo $file;?>&action=expire&refresh=1';"/> <?php } ?> </div> </form> <div class="pages"><?php echo $pages;?></div> <br/> <script type="text/javascript">Menuon(<?php echo $menuid;?>);</script> <?php include tpl('footer');?>