當前位置: 首頁>>代碼示例>>PHP>>正文


PHP admincp::head方法代碼示例

本文整理匯總了PHP中admincp::head方法的典型用法代碼示例。如果您正苦於以下問題:PHP admincp::head方法的具體用法?PHP admincp::head怎麽用?PHP admincp::head使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在admincp的用法示例。


在下文中一共展示了admincp::head方法的3個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: dofpower

 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();
 }
開發者ID:idreamsoft,項目名稱:iCMS5.1,代碼行數:8,代碼來源:groups.mo.php

示例2: exit

<?php

/**
 * @package iCMS
 * @copyright 2007-2010, iDreamSoft
 * @license http://www.idreamsoft.com iDreamSoft
 * @author coolmoo <idreamsoft@qq.com>
 */
!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 
開發者ID:idreamsoft,項目名稱:iCMS5.1,代碼行數:31,代碼來源:account.fpower.php

示例3: exit

<?php

/**
 * @package iCMS
 * @copyright 2007-2010, iDreamSoft
 * @license http://www.idreamsoft.com iDreamSoft
 * @author coolmoo <idreamsoft@qq.com>
 */
!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; }
開發者ID:idreamsoft,項目名稱:iCMS5.1,代碼行數:31,代碼來源:files.manage.file.php


注:本文中的admincp::head方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。