2015 | 01
2013 | 01 | 02 | 03 | 04 | 05 | 06 | 07
2012 | 01 | 02 | 03 | 04 | 06 | 07 | 08 | 09 | 10 | 11 | 12
2011 | 01 | 02 | 03 | 04 | 05 | 06 | 07 | 08 | 09 | 10 | 11 | 12
2010 | 01 | 02 | 03 | 04 | 05 | 06 | 07 | 08 | 09 | 10 | 11 | 12
2009 | 01 | 02 | 03 | 04 | 05 | 06 | 07 | 08 | 09 | 10 | 11 | 12
2008 | 04 | 05 | 06 | 07 | 08 | 09 | 10 | 11 | 12
カンリニンのメモメモ  

title

 
 このブログはTPFのカンリニンのメモ帳的ブログです。
 道南とはナニも関連性の無いことも書き込みますので、予めご容赦を!
 内容も極めてテキトーだったりしますので「話し半分」で見て下さい。
2008年4月27日(日曜日)
イメージマネジャー 複数統合 00:11   comfield 
xoops HD1.0.1b で動作確認済

ネタ元はCamera ISLANDさんの所。

引用:

/**
*
* @package Legacy
* @version $Id: imagemanager.php,v 1.2 2007/06/24 07:26:21 nobunobu Exp $
* @copyright Copyright 2005-2007 XOOPS Cube Project
* @license http://www.gnu.org/licenses/gpl.txt GNU GENERAL PUBLIC LICENSE Version 2
*
*/
/*------------------------------------------------------------------------*
| This file was entirely rewritten by the XOOPS Cube Legacy project for |
| keeping compatibility with XOOPS 2.0.x |
*------------------------------------------------------------------------*/
require_once "mainfile.php";

global $xoopsUser;

if (is_object($xoopsUser)) {
$imagegid = $xoopsUser->getGroups();
} else {
$imagegid = array(3);
}

if (in_array(1,$imagegid)) {
$mymanager = 1;
} elseif (in_array(2,$imagegid)) {
$mymanager = 2;
} elseif (in_array(3,$imagegid)) {
$mymanager = 3;
}

if ($mymanager == 1) {
include 'modules/myalbum0/imagemanager.php';// 管理者はmyalbum0に切り替え
} elseif ($mymanager == 2) {
include 'modules/myalbum1/imagemanager.php';// 登録ユーザーはmyalbum1に切り替え
} elseif ($mymanager == 3) {
include 'modules/myalbum2/imagemanager.php';// ゲストはmyalbum2に切り替え
}

require_once XOOPS_ROOT_PATH . "/header.php";

XCube_DelegateUtils::call('Legacypage.Imagemanager.Access');

?>
この記事は役に立ちましたか?: はい いいえ


リンク元  (563)
(1) 2 3 4 5 6 7 8 9 10 » 
PopnupBlog V3 Denali created by Bluemoon inc.  
Weather
函館の天気
7/31 11:00 AM発表 

31日(金)
曇時々晴
曇時々晴
最高気温
(高)
最低気温
(低)
27℃ ---

01日(土)
曇時々晴
曇時々晴
最高気温
(高)
最低気温
(低)
26℃ 19℃

xml date by
FreeDownload
Firefox ブラウザ無料ダウンロード
 Use OpenOffice.org

 
Go Page Top
Notice [PHP]: Undefined property: MagpieRSS::$etag in file modules/livedoor_weather/magpierss/rss_fetch.inc line 151