Exemple #1
0
 function dofpower()
 {
     $rs = iCMS_DB::getRow("SELECT * FROM `#iCMS@__group` WHERE `gid`='" . intval($_GET['groupid']) . "'");
     admincp::head();
     $forum = new forum();
     $forum->allArray();
     include admincp::tpl();
 }
<?php

/**
 * @package iCMS
 * @copyright 2007-2010, iDreamSoft
 * @license http://www.idreamsoft.com iDreamSoft
 * @author coolmoo <*****@*****.**>
 */
!defined('iPATH') && exit('What are you doing?');
admincp::head();
?>
<div class="position">当前位置:管理中心&nbsp;&raquo;&nbsp;管理员管理&nbsp;&raquo;&nbsp;设置[<?php 
echo $rs->username;
?>
]栏目管理权限</div>
  <form action="<?php 
echo __ADMINCP__;
?>
=account" method="post" target="iCMS_FRAME">
    <input type="hidden" name="do" value="setfpower" />
    <input type="hidden" name="uid" value="<?php 
echo $rs->uid;
?>
" />
    <table class="adminlist"><thead>
      <tr>
        <th>设置栏目管理权限</th>
      </tr></thead>
      <tr>
        <td class="rowform" style="width:auto;"><dl>
    		<?php 
<?php

/**
 * @package iCMS
 * @copyright 2007-2010, iDreamSoft
 * @license http://www.idreamsoft.com iDreamSoft
 * @author coolmoo <*****@*****.**>
 */
!defined('iPATH') && exit('What are you doing?');
admincp::head($this->module != 'dialog');
?>
<style type="text/css">
#explorer {width:<?php 
echo $this->module == 'dialog' ? '740px' : '100%';
?>
; border-collapse:collapse; word-break:break-all; border:solid 1px #ECE9D8; border-bottom:solid 1px #959385; background-color:#ECE9D8; font:12px Verdana, Arial, Helvetica, sans-serif; color: #333;}
#explorer #m { background-color:#ECE9D8; width:5px; }
#explorer #tddir { background-color: #FFF; width:220px !important; height:350px; border-right:solid 1px #7F9DB9; border-top:solid 1px #ACA899; }
#explorer #tdfile { background-color: #FFF; width:<?php 
echo $this->module == 'dialog' ? '600px' : 'auto';
?>
; border-left:solid 1px #7F9DB9; border-top:solid 1px #7F9DB9; }
.dirlist { width:220px; height:350px; overflow-x:auto; overflow-y:scroll; clear: both; list-style:none; margin: 0px; display: block; padding: 0px 0px 0px 4px; }
.dirlist li { clear: both; height: 16px; margin-top: 1px; text-align: left; }
.dirlist li span { margin-left:36px; display: block; cursor:pointer;}
.dirlist ul { clear: both; list-style:none; margin: 0px; display: block; padding: 0px 0px 0px 16px; }
/*缩略图*/
#filelist { width:100%; height:375px; overflow-y:scroll; clear: both; list-style:none; margin: 0px 0px; padding: 0px; display: block; margin-top: 4px; }
#filelist li { float:left; width:96px; height:96px; border:solid 1px #ECE9D8; margin-left:8px; }
/*缩略图 end*/
#fList {clear:both;width:100%;margin: 0px; padding: 0px;height:350px;overflow-y: scroll; overflow-x: visible; }