You can subscribe to this list here.
2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(361) |
Oct
(65) |
Nov
|
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2003 |
Jan
(798) |
Feb
(694) |
Mar
(586) |
Apr
(145) |
May
(24) |
Jun
(24) |
Jul
(56) |
Aug
(11) |
Sep
(138) |
Oct
(107) |
Nov
(58) |
Dec
(39) |
2004 |
Jan
(157) |
Feb
(24) |
Mar
(13) |
Apr
(14) |
May
(73) |
Jun
(106) |
Jul
(217) |
Aug
(91) |
Sep
(116) |
Oct
(357) |
Nov
(27) |
Dec
(272) |
2005 |
Jan
(97) |
Feb
(40) |
Mar
(167) |
Apr
(365) |
May
(344) |
Jun
(357) |
Jul
(407) |
Aug
(529) |
Sep
(204) |
Oct
(52) |
Nov
(80) |
Dec
(1) |
2006 |
Jan
(2) |
Feb
(1) |
Mar
(11) |
Apr
(112) |
May
(121) |
Jun
(86) |
Jul
(51) |
Aug
(48) |
Sep
(107) |
Oct
(20) |
Nov
(50) |
Dec
(11) |
2007 |
Jan
(7) |
Feb
(11) |
Mar
(8) |
Apr
(11) |
May
(2) |
Jun
(25) |
Jul
(67) |
Aug
(134) |
Sep
(54) |
Oct
(69) |
Nov
(10) |
Dec
(74) |
2008 |
Jan
(73) |
Feb
(81) |
Mar
(64) |
Apr
(98) |
May
(157) |
Jun
(68) |
Jul
(80) |
Aug
(108) |
Sep
(176) |
Oct
(107) |
Nov
(265) |
Dec
(60) |
2009 |
Jan
(149) |
Feb
(140) |
Mar
(195) |
Apr
(141) |
May
(53) |
Jun
(45) |
Jul
(98) |
Aug
(153) |
Sep
(160) |
Oct
(138) |
Nov
(139) |
Dec
(104) |
2010 |
Jan
(188) |
Feb
(259) |
Mar
(133) |
Apr
(104) |
May
(42) |
Jun
(121) |
Jul
(38) |
Aug
(223) |
Sep
(259) |
Oct
(255) |
Nov
(106) |
Dec
(157) |
2011 |
Jan
(202) |
Feb
(110) |
Mar
(261) |
Apr
(272) |
May
(218) |
Jun
(108) |
Jul
(141) |
Aug
(205) |
Sep
(326) |
Oct
(279) |
Nov
(368) |
Dec
(238) |
2012 |
Jan
(239) |
Feb
(3) |
Mar
|
Apr
(1) |
May
(2) |
Jun
|
Jul
(3) |
Aug
(6) |
Sep
(5) |
Oct
|
Nov
|
Dec
|
2013 |
Jan
(1) |
Feb
(3) |
Mar
(9) |
Apr
(10) |
May
|
Jun
(1) |
Jul
(3) |
Aug
(1) |
Sep
(2) |
Oct
(1) |
Nov
|
Dec
|
2014 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
2015 |
Jan
(1) |
Feb
|
Mar
|
Apr
(2) |
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
(1) |
Oct
(1) |
Nov
(1) |
Dec
(1) |
2016 |
Jan
|
Feb
(1) |
Mar
|
Apr
(2) |
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
|
2017 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: <vo...@us...> - 2012-01-05 10:40:09
|
Revision: 8641 http://xoops.svn.sourceforge.net/xoops/?rev=8641&view=rev Author: voltan1 Date: 2012-01-05 09:06:31 +0000 (Thu, 05 Jan 2012) Log Message: ----------- Add News_SpotlightId function for get spotlight id Modified Paths: -------------- XoopsModules/fmcontent/branches/news/blocks/list.php XoopsModules/fmcontent/branches/news/class/story.php XoopsModules/fmcontent/branches/news/templates/blocks/news_list.html Modified: XoopsModules/fmcontent/branches/news/blocks/list.php =================================================================== --- XoopsModules/fmcontent/branches/news/blocks/list.php 2012-01-05 07:58:55 UTC (rev 8640) +++ XoopsModules/fmcontent/branches/news/blocks/list.php 2012-01-05 09:06:31 UTC (rev 8641) @@ -66,8 +66,13 @@ $options0 = $options[0]; $story_infos ['topics'] = $topic_handler->getall (); - $contents = $story_handler->News_GetContentBlockList($NewsModule, $story_infos ,$options); - + $contents = $story_handler->News_GetContentBlockList($NewsModule, $story_infos ,$options); + + if($show == 'spotlight') { + $spotlightid = $story_handler->News_SpotlightId($contents); + $block['spotlightid'] = $spotlightid; + } + // Add block data $block['show'] = $show; $block['img'] = $showimg; Modified: XoopsModules/fmcontent/branches/news/class/story.php =================================================================== --- XoopsModules/fmcontent/branches/news/class/story.php 2012-01-05 07:58:55 UTC (rev 8640) +++ XoopsModules/fmcontent/branches/news/class/story.php 2012-01-05 09:06:31 UTC (rev 8641) @@ -988,6 +988,29 @@ } return $ret; } + + /** + * Get Spotlight Id + */ + function News_SpotlightId($list) { + $defaultid = array(); + $storyid = array(); + + foreach ( $list as $item ) { + $storyid [] = $item['story_id']; + if($item['story_default'] === '1') { + $defaultid [] = $item['story_id']; + } + } + + if($defaultid) { + $spotlightid = max($defaultid); + } else { + $spotlightid = max($storyid); + } + + return $spotlightid; + } } ?> \ No newline at end of file Modified: XoopsModules/fmcontent/branches/news/templates/blocks/news_list.html =================================================================== --- XoopsModules/fmcontent/branches/news/templates/blocks/news_list.html 2012-01-05 07:58:55 UTC (rev 8640) +++ XoopsModules/fmcontent/branches/news/templates/blocks/news_list.html 2012-01-05 09:06:31 UTC (rev 8641) @@ -70,7 +70,7 @@ <{elseif $block.show == 'spotlight'}> <div class="itemBlock"> <{foreach item=content from=$block.contents}> - <{if $content.story_default == 1}> + <{if $content.story_id == $block.spotlightid}> <div class="itemBlockLeft"> <div class="item"> <div class="itemHead"> @@ -102,7 +102,7 @@ <{/if}> <{/foreach}> <{foreach item=content from=$block.contents}> - <{if $content.story_default == 0}> + <{if $content.story_id != $block.spotlightid}> <div class="itemBlockRight"> <h3><{if $content.story_important}><span class="red bold"><{$smarty.const._NEWS_MB_IMPORTANT}></span><{/if}><a href="<{$content.url}>" title="<{$content.story_title}>"><{$content.story_title|truncate:80}></a></h3> </div> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <vo...@us...> - 2012-01-05 07:59:02
|
Revision: 8640 http://xoops.svn.sourceforge.net/xoops/?rev=8640&view=rev Author: voltan1 Date: 2012-01-05 07:58:55 +0000 (Thu, 05 Jan 2012) Log Message: ----------- Change image size Modified Paths: -------------- XoopsModules/fmcontent/branches/news/xoops_version.php Modified: XoopsModules/fmcontent/branches/news/xoops_version.php =================================================================== --- XoopsModules/fmcontent/branches/news/xoops_version.php 2012-01-04 14:45:11 UTC (rev 8639) +++ XoopsModules/fmcontent/branches/news/xoops_version.php 2012-01-05 07:58:55 UTC (rev 8640) @@ -550,7 +550,7 @@ 'description' => '_NEWS_MI_IMAGE_MAXWIDTH_DESC', 'formtype' => 'textbox', 'valuetype' => 'text', - 'default' => '800'); + 'default' => '1600'); $modversion['config'][] = array( 'name' => 'img_maxheight', @@ -558,14 +558,14 @@ 'description' => '_NEWS_MI_IMAGE_MAXHEIGHT_DESC', 'formtype' => 'textbox', 'valuetype' => 'text', - 'default' => '800'); + 'default' => '1600'); $modversion['config'][] = array( 'name' => 'img_mediumwidth', 'title' => '_NEWS_MI_IMAGE_MEDIUMWIDTH', 'description' => '_NEWS_MI_IMAGE_MEDIUMWIDTH_DESC', 'formtype' => 'textbox', 'valuetype' => 'text', - 'default' => '400'); + 'default' => '600'); $modversion['config'][] = array( 'name' => 'img_mediumheight', @@ -573,7 +573,7 @@ 'description' => '_NEWS_MI_IMAGE_MEDIUMHEIGHT_DESC', 'formtype' => 'textbox', 'valuetype' => 'text', - 'default' => '400'); + 'default' => '600'); $modversion['config'][] = array( 'name' => 'img_thumbwidth', @@ -581,7 +581,7 @@ 'description' => '_NEWS_MI_IMAGE_THUMBWIDTH_DESC', 'formtype' => 'textbox', 'valuetype' => 'text', - 'default' => '100'); + 'default' => '200'); $modversion['config'][] = array( 'name' => 'img_thumbheight', @@ -589,7 +589,7 @@ 'description' => '_NEWS_MI_IMAGE_THUMBHEIGHT_DESC', 'formtype' => 'textbox', 'valuetype' => 'text', - 'default' => '100'); + 'default' => '200'); $modversion['config'][] = array( 'name' => 'img_mime', 'title' => '_NEWS_MI_IMAGE_MIME', This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <for...@us...> - 2012-01-04 14:45:21
|
Revision: 8639 http://xoops.svn.sourceforge.net/xoops/?rev=8639&view=rev Author: forxoops Date: 2012-01-04 14:45:11 +0000 (Wed, 04 Jan 2012) Log Message: ----------- Update xoops_version for manage plugin side Modified Paths: -------------- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/protector/xoops_version.php Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/protector/xoops_version.php =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/protector/xoops_version.php 2012-01-04 14:38:30 UTC (rev 8638) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/protector/xoops_version.php 2012-01-04 14:45:11 UTC (rev 8639) @@ -22,52 +22,71 @@ defined('XOOPS_ROOT_PATH') or die('Restricted access'); $xoops = Xoops::getInstance(); - -$modversion['name'] = _MI_PROTECTOR_NAME; +/* + General settings + */ +$modversion['name'] = _MI_PROTECTOR_NAME; $modversion['description'] = constant('_MI_PROTECTOR_DESC'); -$modversion['version'] = file_get_contents(dirname(__FILE__) . '/include/version.txt'); -$modversion['credits'] = "PEAK Corp."; -$modversion['author'] = "GIJ=CHECKMATE<br />PEAK Corp.(http://www.peak.ne.jp/)"; -$modversion['help'] = 'page=help'; -$modversion['license'] = 'GNU GPL 2.0'; +$modversion['version'] = file_get_contents(dirname(__FILE__) . '/include/version.txt'); +$modversion['credits'] = "PEAK Corp."; +$modversion['author'] = "GIJ=CHECKMATE<br />PEAK Corp.(http://www.peak.ne.jp/)"; +$modversion['help'] = 'page=help'; +$modversion['license'] = 'GNU GPL 2.0'; $modversion['license_url'] = "www.gnu.org/licenses/gpl-2.0.html/"; -$modversion['official'] = 1; -$modversion['image'] = 'images/module_icon.png'; -$modversion['dirname'] = 'protector'; +$modversion['official'] = 1; +$modversion['image'] = 'images/logo.png'; +$modversion['dirname'] = 'protector'; -//about -$modversion['release_date'] = '2011/10/08'; -$modversion["module_website_url"] = "http://www.xoops.org/"; +/* + Settings for configs +*/ +$modversion['release_date'] = '2011/10/08'; +$modversion["module_website_url"] = "http://www.xoops.org/"; $modversion["module_website_name"] = "XOOPS"; -$modversion["module_status"] = "RC"; -$modversion['min_php'] = '5.2'; -$modversion['min_xoops'] = "2.6.0"; -$modversion['min_db'] = array('mysql'=>'5.0.7', 'mysqli'=>'5.0.7'); -// start hack by Mage -// Admin menu -// Set to 1 if you want to display menu generated by system module +$modversion["module_status"] = "RC"; +$modversion['min_php'] = '5.2'; +$modversion['min_xoops'] = "2.6.0"; +$modversion['min_db'] = array('mysql'=>'5.0.7', 'mysqli'=>'5.0.7'); + +/* + Admin menu + Set to 1 if you want to display menu generated by system module +*/ $modversion['system_menu'] = 1; -// end hack by Mage -// Mysql file +/* + Manage plugin + */ +$modversion['plugin'] = 1; +$modversion['plugin_module'][] = 'system'; + +/* + Mysql and tables + */ $modversion['sqlfile']['mysql'] = "sql/mysql.sql"; - -// Table $modversion['tables'][0] = "protector_log"; $modversion['tables'][1] = "protector_access"; -// Admin things +/* + Admin things +*/ $modversion['hasAdmin'] = 1; $modversion['adminindex'] = "admin/index.php"; $modversion['adminmenu'] = "admin/menu.php"; -// Blocks +/* + Blocks +*/ $modversion['blocks'] = array(); -// Menu +/* + Menu +*/ $modversion['hasMain'] = 0; -// Config +/* + Preferences +*/ $modversion['config'][1] = array( 'name' => 'global_disabled', 'title' => '_MI_PROTECTOR_GLOBAL_DISBL', @@ -404,11 +423,17 @@ ) ); -// Search +/* + Search +*/ $modversion['hasSearch'] = 0; -// Comments +/* + Comments +*/ $modversion['hasComments'] = 0; -// Notification +/* + Notification +*/ $modversion['hasNotification'] = 0; \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <for...@us...> - 2012-01-04 14:38:36
|
Revision: 8638 http://xoops.svn.sourceforge.net/xoops/?rev=8638&view=rev Author: forxoops Date: 2012-01-04 14:38:30 +0000 (Wed, 04 Jan 2012) Log Message: ----------- Change module logo and add module icons Added Paths: ----------- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/protector/icons/ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/protector/icons/index.html XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/protector/icons/logo_large.png XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/protector/icons/logo_small.png XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/protector/images/logo.png Removed Paths: ------------- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/protector/images/module_icon.png Property changes on: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/protector/icons ___________________________________________________________________ Added: tsvn:autoprops + *.php = svn:executable=*;svn:keywords=Author Date Id Rev URL; Added: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/protector/icons/index.html =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/protector/icons/index.html (rev 0) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/protector/icons/index.html 2012-01-04 14:38:30 UTC (rev 8638) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/protector/icons/logo_large.png =================================================================== (Binary files differ) Property changes on: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/protector/icons/logo_large.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/protector/icons/logo_small.png =================================================================== (Binary files differ) Property changes on: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/protector/icons/logo_small.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Copied: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/protector/images/logo.png (from rev 8527, XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/protector/images/module_icon.png) =================================================================== (Binary files differ) Deleted: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/protector/images/module_icon.png =================================================================== (Binary files differ) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <for...@us...> - 2012-01-04 14:37:08
|
Revision: 8637 http://xoops.svn.sourceforge.net/xoops/?rev=8637&view=rev Author: forxoops Date: 2012-01-04 14:37:02 +0000 (Wed, 04 Jan 2012) Log Message: ----------- Add module icons Added Paths: ----------- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/banners/icons/ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/banners/icons/index.html XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/banners/icons/logo_large.png XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/banners/icons/logo_small.png Property changes on: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/banners/icons ___________________________________________________________________ Added: tsvn:autoprops + *.php = svn:executable=*;svn:keywords=Author Date Id Rev URL; Added: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/banners/icons/index.html =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/banners/icons/index.html (rev 0) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/banners/icons/index.html 2012-01-04 14:37:02 UTC (rev 8637) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/banners/icons/logo_large.png =================================================================== (Binary files differ) Property changes on: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/banners/icons/logo_large.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/banners/icons/logo_small.png =================================================================== (Binary files differ) Property changes on: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/banners/icons/logo_small.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <for...@us...> - 2012-01-04 14:33:27
|
Revision: 8636 http://xoops.svn.sourceforge.net/xoops/?rev=8636&view=rev Author: forxoops Date: 2012-01-04 14:33:18 +0000 (Wed, 04 Jan 2012) Log Message: ----------- Change module logo and add module icons Modified Paths: -------------- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/pm/images/logo.png Added Paths: ----------- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/pm/icons/ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/pm/icons/index.html XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/pm/icons/logo_large.png XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/pm/icons/logo_small.png Property changes on: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/pm/icons ___________________________________________________________________ Added: tsvn:autoprops + *.php = svn:executable=*;svn:keywords=Author Date Id Rev URL; Added: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/pm/icons/index.html =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/pm/icons/index.html (rev 0) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/pm/icons/index.html 2012-01-04 14:33:18 UTC (rev 8636) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/pm/icons/logo_large.png =================================================================== (Binary files differ) Property changes on: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/pm/icons/logo_large.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/pm/icons/logo_small.png =================================================================== (Binary files differ) Property changes on: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/pm/icons/logo_small.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/pm/images/logo.png =================================================================== (Binary files differ) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <wis...@us...> - 2012-01-04 12:55:21
|
Revision: 8635 http://xoops.svn.sourceforge.net/xoops/?rev=8635&view=rev Author: wishcraft Date: 2012-01-04 12:55:10 +0000 (Wed, 04 Jan 2012) Log Message: ----------- X-REST 1.50 - Rest API for XOOPS 2.x - JSON, Serialisation, XML output, with reserved words ?restplugin= & &outputmode= - use http://yoursite.com/module/xrest/plugin/?var1=example&var2=example2 to access API Modified Paths: -------------- XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/admin/admin_header.php XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/admin/index.php XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/admin/permissions.php XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/include/common.php XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/include/functions.php XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/include/server.php XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/xoops_version.php Modified: XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/admin/admin_header.php =================================================================== --- XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/admin/admin_header.php 2012-01-04 12:46:39 UTC (rev 8634) +++ XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/admin/admin_header.php 2012-01-04 12:55:10 UTC (rev 8635) @@ -17,7 +17,7 @@ include_once XOOPS_ROOT_PATH . '/class/xoopsformloader.php'; if (is_object($xoopsUser)) { - $xoopsModule = XoopsModule::getByDirname("xjson"); + $xoopsModule = XoopsModule::getByDirname("xrest"); if (!$xoopsUser->isAdmin($xoopsModule->mid())) { redirect_header(XOOPS_URL . "/", 3, _NOPERM); exit(); Modified: XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/admin/index.php =================================================================== --- XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/admin/index.php 2012-01-04 12:46:39 UTC (rev 8634) +++ XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/admin/index.php 2012-01-04 12:55:10 UTC (rev 8635) @@ -26,7 +26,7 @@ if (!$tbl_id) $tbl_id=1; - $sql = "SELECT * FROM ".$xoopsDB->prefix('json_tables')." where view = '0'"; + $sql = "SELECT * FROM ".$xoopsDB->prefix('rest_tables')." where view = '0'"; $ret = $xoopsDB->queryF($sql); $form_sel = new XoopsThemeForm(_XC_SELECTTABLE, "seltable", $_SERVER['PHP_SELF'] .""); @@ -194,11 +194,11 @@ $tt++; switch ($f){ case "new": - $sql = "INSERT INTO ".$xoopsDB->prefix('json_fields')." (tbl_id, fieldname, allowpost, allowretrieve, allowupdate, visible, `key`, `string`, `int`, `float`, `text`, `other`, `crc`) VALUES ('$tbl_id','".addslashes($fieldname[$tt])."','".intval($post[$tt])."','".intval($retrieve[$tt])."','".intval($update[$tt])."','".intval($visible[$tt])."','".intval($key[$tt])."','".intval($string[$tt])."','".intval($int[$tt])."','".intval($float[$tt])."','".intval($text[$tt])."','".intval($other[$tt])."','".intval($crc[$tt])."')"; + $sql = "INSERT INTO ".$xoopsDB->prefix('rest_fields')." (tbl_id, fieldname, allowpost, allowretrieve, allowupdate, visible, `key`, `string`, `int`, `float`, `text`, `other`, `crc`) VALUES ('$tbl_id','".addslashes($fieldname[$tt])."','".intval($post[$tt])."','".intval($retrieve[$tt])."','".intval($update[$tt])."','".intval($visible[$tt])."','".intval($key[$tt])."','".intval($string[$tt])."','".intval($int[$tt])."','".intval($float[$tt])."','".intval($text[$tt])."','".intval($other[$tt])."','".intval($crc[$tt])."')"; $ty=$xoopsDB->queryF($sql); break; default: - $sql = "UPDATE ".$xoopsDB->prefix('json_fields')." SET allowpost ='".intval($post[$tt])."', allowupdate ='".intval($update[$tt])."',allowretrieve = '".intval($retrieve[$tt])."', visible='".intval($visible[$tt])."',`key` ='".intval($key[$tt])."', `string` = '".intval($string[$tt])."', `int`='".intval($int[$tt])."',`float` ='".intval($float[$tt])."', `text` = '".intval($text[$tt])."', `other`='".intval($other[$tt])."', crc = '".intval($crc[$tt])."' WHERE fld_id = ".$id[$tt]. " and tbl_id = ".$tbl_id; + $sql = "UPDATE ".$xoopsDB->prefix('rest_fields')." SET allowpost ='".intval($post[$tt])."', allowupdate ='".intval($update[$tt])."',allowretrieve = '".intval($retrieve[$tt])."', visible='".intval($visible[$tt])."',`key` ='".intval($key[$tt])."', `string` = '".intval($string[$tt])."', `int`='".intval($int[$tt])."',`float` ='".intval($float[$tt])."', `text` = '".intval($text[$tt])."', `other`='".intval($other[$tt])."', crc = '".intval($crc[$tt])."' WHERE fld_id = ".$id[$tt]. " and tbl_id = ".$tbl_id; $ty=$xoopsDB->queryF($sql); } @@ -213,11 +213,11 @@ $tt++; switch ($f){ case "new": - $sql = "INSERT INTO ".$xoopsDB->prefix('json_tables')." (tablename, allowpost, allowretrieve, allowupdate, visible, view) VALUES ('".addslashes($tablename[$tt])."','".intval($post[$tt])."','".intval($retrieve[$tt])."','".intval($update[$tt])."','".intval($visible[$tt])."','0')"; + $sql = "INSERT INTO ".$xoopsDB->prefix('rest_tables')." (tablename, allowpost, allowretrieve, allowupdate, visible, view) VALUES ('".addslashes($tablename[$tt])."','".intval($post[$tt])."','".intval($retrieve[$tt])."','".intval($update[$tt])."','".intval($visible[$tt])."','0')"; $ty=$xoopsDB->queryF($sql); break; default: - $sql = "UPDATE ".$xoopsDB->prefix('json_tables')." SET allowpost ='".intval($post[$tt])."', allowretrieve = '".intval($retrieve[$tt])."', allowupdate = '".intval($update[$tt])."', visible='".intval($visible[$tt])."' WHERE tbl_id = ".$id[$tt]; + $sql = "UPDATE ".$xoopsDB->prefix('rest_tables')." SET allowpost ='".intval($post[$tt])."', allowretrieve = '".intval($retrieve[$tt])."', allowupdate = '".intval($update[$tt])."', visible='".intval($visible[$tt])."' WHERE tbl_id = ".$id[$tt]; $ty=$xoopsDB->queryF($sql); } @@ -231,11 +231,11 @@ $tt++; switch ($f){ case "new": - $sql = "INSERT INTO ".$xoopsDB->prefix('json_tables')." (tablename, allowpost, allowretrieve, allowupdate, visible, view) VALUES ('".addslashes($tablename[$tt])."','".intval($post[$tt])."','".intval($retrieve[$tt])."','".intval($update[$tt])."','".intval($visible[$tt])."','1')"; + $sql = "INSERT INTO ".$xoopsDB->prefix('rest_tables')." (tablename, allowpost, allowretrieve, allowupdate, visible, view) VALUES ('".addslashes($tablename[$tt])."','".intval($post[$tt])."','".intval($retrieve[$tt])."','".intval($update[$tt])."','".intval($visible[$tt])."','1')"; $ty=$xoopsDB->queryF($sql); break; default: - $sql = "UPDATE ".$xoopsDB->prefix('json_tables')." SET allowpost ='".intval($post[$tt])."', allowretrieve = '".intval($retrieve[$tt])."', allowupdate = '".intval($update[$tt])."', visible='".intval($visible[$tt])."' WHERE tbl_id = ".$id[$tt]; + $sql = "UPDATE ".$xoopsDB->prefix('rest_tables')." SET allowpost ='".intval($post[$tt])."', allowretrieve = '".intval($retrieve[$tt])."', allowupdate = '".intval($update[$tt])."', visible='".intval($visible[$tt])."' WHERE tbl_id = ".$id[$tt]; $ty=$xoopsDB->queryF($sql); } @@ -312,11 +312,11 @@ $tt++; switch ($f){ case "new": - $sql = "INSERT INTO ".$xoopsDB->prefix('json_plugins')." (plugin_name, plugin_file, active) VALUES ('".addslashes($functionname[$tt])."','".addslashes($filename[$tt])."','".intval($active[$tt])."')"; + $sql = "INSERT INTO ".$xoopsDB->prefix('rest_plugins')." (plugin_name, plugin_file, active) VALUES ('".addslashes($functionname[$tt])."','".addslashes($filename[$tt])."','".intval($active[$tt])."')"; $ty=$xoopsDB->queryF($sql); break; default: - $sql = "UPDATE ".$xoopsDB->prefix('json_plugins')." SET active ='".intval($active[$tt])."' WHERE plugin_id = ".$id[$tt]; + $sql = "UPDATE ".$xoopsDB->prefix('rest_plugins')." SET active ='".intval($active[$tt])."' WHERE plugin_id = ".$id[$tt]; $ty=$xoopsDB->queryF($sql); } @@ -332,7 +332,7 @@ $FunctionDefine = array(); foreach($funct->GetServerExtensions() as $extension){ - $phpcode= file_get_contents(XOOPS_ROOT_PATH.'/modules/xjson/plugins/'.$extension); + $phpcode= file_get_contents(XOOPS_ROOT_PATH.'/modules/xrest/plugins/'.$extension); ob_start(); $r=eval("?>".$phpcode."<?php "); @@ -476,7 +476,7 @@ function get_tableconfig($raw_tablename){ global $xoopsDB; - $sql = "SELECT * FROM ".$xoopsDB->prefix('json_tables')." WHERE tablename = '".strip_prefix($raw_tablename)."'"; + $sql = "SELECT * FROM ".$xoopsDB->prefix('rest_tables')." WHERE tablename = '".strip_prefix($raw_tablename)."'"; $ret = $xoopsDB->query($sql); if ($xoopsDB->getRowsNum($ret)){ return $xoopsDB->fetchArray($ret); @@ -486,7 +486,7 @@ } function get_functionconfig($plugin_filename){ global $xoopsDB; - $sql = "SELECT * FROM ".$xoopsDB->prefix('json_plugins')." WHERE plugin_file = '".addslashes($plugin_filename)."'"; + $sql = "SELECT * FROM ".$xoopsDB->prefix('rest_plugins')." WHERE plugin_file = '".addslashes($plugin_filename)."'"; $ret = $xoopsDB->query($sql); if ($xoopsDB->getRowsNum($ret)){ return $xoopsDB->fetchArray($ret); @@ -497,7 +497,7 @@ function get_fieldconfig($raw_fieldname, $tbl_id){ global $xoopsDB; - $sql = "SELECT * FROM ".$xoopsDB->prefix('json_fields')." WHERE fieldname = '$raw_fieldname' and tbl_id = $tbl_id"; + $sql = "SELECT * FROM ".$xoopsDB->prefix('rest_fields')." WHERE fieldname = '$raw_fieldname' and tbl_id = $tbl_id"; $ret = $xoopsDB->query($sql); if ($xoopsDB->getRowsNum($ret)){ return $xoopsDB->fetchArray($ret); @@ -507,7 +507,7 @@ } function get_tableid($tablename){ global $xoopsDB; - $sql = "SELECT * FROM ".$xoopsDB->prefix('json_tables')." WHERE tablename = '$tablename'"; + $sql = "SELECT * FROM ".$xoopsDB->prefix('rest_tables')." WHERE tablename = '$tablename'"; $ret = $xoopsDB->query($sql); $row = $xoopsDB->fetchArray($ret); return $row['tbl_id']; @@ -515,7 +515,7 @@ function get_tablename($tableid){ global $xoopsDB; - $sql = "SELECT * FROM ".$xoopsDB->prefix('json_tables')." WHERE tbl_id = '$tableid'"; + $sql = "SELECT * FROM ".$xoopsDB->prefix('rest_tables')." WHERE tbl_id = '$tableid'"; $ret = $xoopsDB->query($sql); $row = $xoopsDB->fetchArray($ret); return $row['tablename']; Modified: XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/admin/permissions.php =================================================================== --- XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/admin/permissions.php 2012-01-04 12:46:39 UTC (rev 8634) +++ XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/admin/permissions.php 2012-01-04 12:55:10 UTC (rev 8635) @@ -19,7 +19,7 @@ global $xoopsDB, $xoopsModule; $module_handler = xoops_gethandler('module'); - $xoModule = $module_handler->getByDirname('xjson'); + $xoModule = $module_handler->getByDirname('xrest'); xoops_cp_header(); adminmenu(5); @@ -27,7 +27,7 @@ $item_list_view = array(); $block_view = array(); - $result_view = $xoopsDB->query("SELECT plugin_id, plugin_name FROM " . $xoopsDB->prefix("json_plugins") . " "); + $result_view = $xoopsDB->query("SELECT plugin_id, plugin_name FROM " . $xoopsDB->prefix("rest_plugins") . " "); if ($xoopsDB->getRowsNum($result_view)) { while ($myrow_view = $xoopsDB->fetcharray($result_view)) { $item_list_view['cid'] = $myrow_view['plugin_id']; Modified: XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/include/common.php =================================================================== --- XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/include/common.php 2012-01-04 12:46:39 UTC (rev 8634) +++ XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/include/common.php 2012-01-04 12:55:10 UTC (rev 8635) @@ -24,14 +24,14 @@ function validate($tbl_id, $data, $function){ global $xoopsDB; - $sql = "select * from ".$xoopsDB->prefix('json_tables'). " WHERE tablename = '".get_tablename($tbl_id)."' and $function = 1"; + $sql = "select * from ".$xoopsDB->prefix('rest_tables'). " WHERE tablename = '".get_tablename($tbl_id)."' and $function = 1"; $ret = $xoopsDB->query($sql); $pass=true; if (!$xoopsDB->getRowsNum($ret)) { $pass=false; } else { foreach($data as $row){ - $sql = "select * from ".$xoopsDB->prefix('json_fields'). " WHERE tbl_id = '$tbl_id' and $function = 1 and fieldname = '".$row['field']."'"; + $sql = "select * from ".$xoopsDB->prefix('rest_fields'). " WHERE tbl_id = '$tbl_id' and $function = 1 and fieldname = '".$row['field']."'"; $ret = $xoopsDB->query($sql); if (!$xoopsDB->getRowsNum($ret)&&!is_fieldkey($row['field'],$tbl_id)) { $pass=false; @@ -45,13 +45,13 @@ function checkright($function_file, $username, $password){ $uid = user_uid($username,$password); $module_handler = xoops_gethandler('module'); - $xoModule = $module_handler->getByDirname('xjson'); + $xoModule = $module_handler->getByDirname('xrest'); if ($uid <> 0){ global $xoopsDB, $xoopsModule; $rUser = new XoopsUser($uid); $gperm_handler =& xoops_gethandler('groupperm'); $groups = is_object($rUser) ? $rUser->getGroups() : array(XOOPS_GROUP_ANONYMOUS); - $sql = "select plugin_id from ".$xoopsDB->prefix('json_plugins')." where plugin_file = '".addslashes($function_file)."'"; + $sql = "select plugin_id from ".$xoopsDB->prefix('rest_plugins')." where plugin_file = '".addslashes($function_file)."'"; $ret = $xoopsDB->queryF($sql); $row = $xoopsDB->fetchArray($ret); $item_id = $row['plugin_id']; @@ -71,7 +71,7 @@ global $xoopsDB, $xoopsModule; $gperm_handler =& xoops_gethandler('groupperm'); $groups = array(XOOPS_GROUP_ANONYMOUS); - $sql = "select plugin_id from ".$xoopsDB->prefix('json_plugins')." where plugin_file = '".addslashes($function_file)."'"; + $sql = "select plugin_id from ".$xoopsDB->prefix('rest_plugins')." where plugin_file = '".addslashes($function_file)."'"; $ret = $xoopsDB->queryF($sql); $row = $xoopsDB->fetchArray($ret); $item_id = $row['plugin_id']; @@ -82,7 +82,7 @@ function get_tableid($tablename){ global $xoopsDB; - $sql = "SELECT * FROM ".$xoopsDB->prefix('json_tables')." WHERE tablename = '$tablename'"; + $sql = "SELECT * FROM ".$xoopsDB->prefix('rest_tables')." WHERE tablename = '$tablename'"; $ret = $xoopsDB->query($sql); $row = $xoopsDB->fetchArray($ret); return $row['tbl_id']; @@ -90,7 +90,7 @@ function get_tablename($tableid){ global $xoopsDB; - $sql = "SELECT * FROM ".$xoopsDB->prefix('json_tables')." WHERE tbl_id = '$tableid'"; + $sql = "SELECT * FROM ".$xoopsDB->prefix('rest_tables')." WHERE tbl_id = '$tableid'"; $ret = $xoopsDB->query($sql); $row = $xoopsDB->fetchArray($ret); return $row['tablename']; @@ -98,7 +98,7 @@ function get_fieldname($fld_id, $tbl_id){ global $xoopsDB; - $sql = "SELECT * FROM ".$xoopsDB->prefix('json_fields')." WHERE tbl_id = '$tbl_id' and fld_id = '$fld_id'"; + $sql = "SELECT * FROM ".$xoopsDB->prefix('rest_fields')." WHERE tbl_id = '$tbl_id' and fld_id = '$fld_id'"; $ret = $xoopsDB->query($sql); $row = $xoopsDB->fetchArray($ret); return $row['fieldname']; @@ -107,7 +107,7 @@ function is_fieldkey($fieldname, $tbl_id){ global $xoopsDB; - $sql = "SELECT * FROM ".$xoopsDB->prefix('json_fields')." WHERE tbl_id = '$tbl_id' and fieldname = '$fieldname' and `key` = 1"; + $sql = "SELECT * FROM ".$xoopsDB->prefix('rest_fields')." WHERE tbl_id = '$tbl_id' and fieldname = '$fieldname' and `key` = 1"; //echo $sql."\n"; $ret = $xoopsDB->query($sql); if (!$xoopsDB->getRowsNum($ret)){ Modified: XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/include/functions.php =================================================================== --- XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/include/functions.php 2012-01-04 12:46:39 UTC (rev 8634) +++ XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/include/functions.php 2012-01-04 12:55:10 UTC (rev 8635) @@ -73,7 +73,7 @@ /* Nice buttons styles */ global $xoopsConfig,$xoopsModule; $module_handler =& xoops_gethandler('module'); - $xoModule = $module_handler->getByDirname('xjson'); + $xoModule = $module_handler->getByDirname('xrest'); $dirname=$xoModule->getVar('dirname'); echo " <style type='text/css'> Modified: XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/include/server.php =================================================================== --- XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/include/server.php 2012-01-04 12:46:39 UTC (rev 8634) +++ XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/include/server.php 2012-01-04 12:55:10 UTC (rev 8635) @@ -134,11 +134,16 @@ } } } -$mode = (isset($_REQUEST['mode'])?(string)$_REQUEST['mode']:'json'); +$mode = (isset($_REQUEST['outputmode'])?(string)$_REQUEST['outputmode']:'json'); switch ($mode) { default: case 'json': echo json_encode($ttlresult); + case 'serial': + echo serialize($ttlresult); + case 'xml': + echo xrest_toXml($ttlresult, strtolower($_REQUEST['xrestplugin'])); + } exit(0); ?> \ No newline at end of file Modified: XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/xoops_version.php =================================================================== --- XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/xoops_version.php 2012-01-04 12:46:39 UTC (rev 8634) +++ XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/xoops_version.php 2012-01-04 12:55:10 UTC (rev 8635) @@ -27,12 +27,12 @@ $modversion['name'] = 'X-REST API Server'; $modversion['version'] = 1.50; -$modversion['releasedate'] = "Wednesday: 4 January 2012"; +$modversion['releasedate'] = "Friday: 18 Feburary 2011"; $modversion['status'] = "Mature"; $modversion['author'] = "Chronolabs Australia"; $modversion['credits'] = "Simon Roberts"; $modversion['teammembers'] = "Wishcraft"; -$modversion['license'] = "GPL2.0"; +$modversion['license'] = "GPL"; $modversion['official'] = 1; $modversion['description'] = 'REST API Service to exchange JSON, Serialised or XML Packages with external server.'; $modversion['help'] = ""; @@ -43,15 +43,15 @@ $modversion['sqlfile']['mysql'] = "sql/mysql.sql"; $modversion['author_realname'] = "Simon Roberts"; -$modversion['author_website_url'] = "http://www.chronolabs.org.au"; +$modversion['author_website_url'] = "http://www.chronolabs.coop"; $modversion['author_website_name'] = "Chronolabs International"; -$modversion['author_email'] = "si...@ch..."; +$modversion['author_email'] = "si...@ch..."; $modversion['demo_site_url'] = ""; $modversion['demo_site_name'] = ""; -$modversion['support_site_url'] = "http://www.chronolabs.org.au/forums/x-rest/0,10,0,0,100,0,DESC,0"; +$modversion['support_site_url'] = "http://www.chronolabs.coop/forums/x-rest/0,10,0,0,100,0,DESC,0"; $modversion['support_site_name'] = "x-rest"; -$modversion['submit_bug'] = "http://www.chronolabs.org.au/forums/x-rest/0,10,0,0,100,0,DESC,0"; -$modversion['submit_feature'] = "http://www.chronolabs.org.au/forums/x-rest/0,10,0,0,100,0,DESC,0"; +$modversion['submit_bug'] = "http://www.chronolabs.coop/forums/x-rest/0,10,0,0,100,0,DESC,0"; +$modversion['submit_feature'] = "http://www.chronolabs.coop/forums/x-rest/0,10,0,0,100,0,DESC,0"; $modversion['usenet_group'] = "sci.chronolabs"; $modversion['maillist_announcements'] = ""; $modversion['maillist_bugs'] = ""; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <wis...@us...> - 2012-01-04 12:46:51
|
Revision: 8634 http://xoops.svn.sourceforge.net/xoops/?rev=8634&view=rev Author: wishcraft Date: 2012-01-04 12:46:39 +0000 (Wed, 04 Jan 2012) Log Message: ----------- X-REST 1.50 - Rest API for XOOPS 2.x - JSON, Serialisation, XML output, with reserved words ?restplugin= & &outputmode= - use http://yoursite.com/module/xrest/plugin/?var1=example&var2=example2 to access API Added Paths: ----------- XoopsModules/xrest/ XoopsModules/xrest/releases/ XoopsModules/xrest/releases/1.50/ XoopsModules/xrest/releases/1.50/docs/ XoopsModules/xrest/releases/1.50/docs/licence.txt XoopsModules/xrest/releases/1.50/htdocs/ XoopsModules/xrest/releases/1.50/htdocs/modules/ XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/ XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/.htaccess XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/admin/ XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/admin/admin_header.php XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/admin/index.php XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/admin/menu.php XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/admin/permissions.php XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/class/ XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/class/class.functions.php XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/class/index.html XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/images/ XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/images/close12.gif XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/images/dbfields.png XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/images/dbtables.png XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/images/dbviews.png XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/images/index.html XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/images/left_both.gif XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/images/open12.gif XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/images/permissions.png XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/images/plugins.png XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/images/right_both.gif XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/images/xrest_slogo.png XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/include/ XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/include/JSON.php XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/include/common.php XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/include/functions.php XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/include/index.html XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/include/server.php XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/index.php XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/language/ XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/language/english/ XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/language/english/admin.php XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/language/english/index.html XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/language/english/main.php XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/language/english/modinfo.php XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/language/index.html XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/plugins/ XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/plugins/inc/ XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/plugins/inc/authcheck.php XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/plugins/inc/index.html XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/plugins/inc/siteinfocheck.php XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/plugins/inc/usercheck.php XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/plugins/index.html XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/plugins/post.php XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/plugins/retrieve.php XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/plugins/retrievecrc.php XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/plugins/retrievekeys.php XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/plugins/tableschemer.php XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/plugins/tablesforpost.php XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/plugins/tablesforretrieve.php XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/plugins/tablesforupdate.php XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/plugins/update.php XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/plugins/viewretrieve.php XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/plugins/viewsforretrieve.php XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/plugins/xoops_authentication.php XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/plugins/xoops_check_activation.php XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/plugins/xoops_create_user.php XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/plugins/xoops_network_disclaimer.php XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/plugins/xoops_user_validate.php XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/sql/ XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/sql/index.html XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/sql/mysql.sql XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/templates/ XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/templates/index.html XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/xoops_version.php Added: XoopsModules/xrest/releases/1.50/docs/licence.txt =================================================================== --- XoopsModules/xrest/releases/1.50/docs/licence.txt (rev 0) +++ XoopsModules/xrest/releases/1.50/docs/licence.txt 2012-01-04 12:46:39 UTC (rev 8634) @@ -0,0 +1,339 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + <signature of Ty Coon>, 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. Added: XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/.htaccess =================================================================== --- XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/.htaccess (rev 0) +++ XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/.htaccess 2012-01-04 12:46:39 UTC (rev 8634) @@ -0,0 +1,8 @@ +RewriteEngine On +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d + +RewriteRule ^images/(.*?)$ images/$1 +RewriteRule ^admin/(.*?)$ admin/$1 +RewriteRule ^(.*?)/?(.*?)$ index.php?xrestplugin=$1&$2 +RewriteRule ^(.*?)/$ index.php?xrestplugin=$1& Added: XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/admin/admin_header.php =================================================================== --- XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/admin/admin_header.php (rev 0) +++ XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/admin/admin_header.php 2012-01-04 12:46:39 UTC (rev 8634) @@ -0,0 +1,31 @@ +<?php +/** + * $Id: admin_header.php v 1.13 06 july 2004 Catwolf Exp $ + * Module: WF-Downloads + * Version: v2.0.5a + * Release Date: 26 july 2004 + * Author: WF-Sections + * Licence: GNU + */ + error_reporting(E_ALL); +include '../../../mainfile.php'; +include '../../../include/cp_header.php'; +include '../include/functions.php'; + +include_once XOOPS_ROOT_PATH . '/class/xoopstree.php'; +include_once XOOPS_ROOT_PATH . '/class/xoopslists.php'; +include_once XOOPS_ROOT_PATH . '/class/xoopsformloader.php'; + +if (is_object($xoopsUser)) { + $xoopsModule = XoopsModule::getByDirname("xjson"); + if (!$xoopsUser->isAdmin($xoopsModule->mid())) { + redirect_header(XOOPS_URL . "/", 3, _NOPERM); + exit(); + } +} else { + redirect_header(XOOPS_URL . "/", 1, _NOPERM); + exit(); +} +$myts = &MyTextSanitizer::getInstance(); +error_reporting(E_ALL); +?> \ No newline at end of file Added: XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/admin/index.php =================================================================== --- XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/admin/index.php (rev 0) +++ XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/admin/index.php 2012-01-04 12:46:39 UTC (rev 8634) @@ -0,0 +1,529 @@ +<?php + +include 'admin_header.php'; +include_once XOOPS_ROOT_PATH . '/class/xoopsformloader.php'; +include_once '../include/functions.php'; + +error_reporting(E_ALL); +global $xoopsDB; + + if (isset($_GET)) { + foreach ($_GET as $k => $v) { + ${$k} = $v; + } + } + + if (isset($_POST)) { + foreach ($_POST as $k => $v) { + ${$k} = $v; + } + } + +switch ($op){ + +case "fields": + + if (!$tbl_id) + $tbl_id=1; + + $sql = "SELECT * FROM ".$xoopsDB->prefix('json_tables')." where view = '0'"; + $ret = $xoopsDB->queryF($sql); + + $form_sel = new XoopsThemeForm(_XC_SELECTTABLE, "seltable", $_SERVER['PHP_SELF'] .""); + $form_sel->setExtra( "enctype='multipart/form-data'" ) ; + + $table_sel = new XoopsFormSelect(_XC_SELECTTABLE.':', 'select'); + $table_sel->setExtra('onchange="window.location=\'\'+this.options[this.selectedIndex].value"'); + + while($row = $xoopsDB->fetchArray($ret)) { + $table_sel->addOption("index.php?op=fields&tbl_id=".$row['tbl_id'], $row['tablename']); + if ($tbl_id == $row['tbl_id']) + $table_sel->setValue("index.php?op=fields&tbl_id=".$row['tbl_id']); + } + $form_sel->addElement($table_sel); + + $sql = "SHOW FIELDS FROM ".$xoopsDB->prefix(get_tablename($tbl_id)); + $ret = $xoopsDB->queryF($sql); + + $form_fld = new XoopsThemeForm(_XC_FIELDOPTIONSFOR.' '.get_tablename($tbl_id), "fields", $_SERVER['PHP_SELF'] .""); + $form_fld->setExtra( "enctype='multipart/form-data'" ) ; + + $field=0; + $tbldat = get_tableconfig(get_tablename($tbl_id)); + + $ele_tray = array(); + + while(list($fieldname, $type, $null, $keytype, $tmp, $tmp) = $xoopsDB->fetchRow($ret)){ + $field++; + + $int = 0; + $string = 0; + $float = 0; + $text = 0; + $other = 0; + $key = 0; + if (strpos(' '.$type,'int')>0){ + $int = 1; + } elseif (strpos(' '.$type,'char')>0){ + $string = 1; + } elseif (strpos(' '.$type,'float')>0){ + $float = 1; + } elseif (strpos(' '.$type,'text')>0){ + $text = 1; + } else { + $other = 1; + } + + if ($keytype == "PRI"){ + $key = 1; + } + $tbldat = get_fieldconfig($fieldname, $tbl_id); + + if (!isset($tbldat)){ + $new++; + $ele_tray[$field] = new XoopsFormElementTray($fieldname.' (new)',' ',$fieldname); + $ele_tray[$field]->addElement(new XoopsFormHidden("id[$field]", "new")); + $ele_tray[$field]->addElement(new XoopsFormHidden("key[$field]", $key)); + $ele_tray[$field]->addElement(new XoopsFormHidden("string[$field]", $string)); + $ele_tray[$field]->addElement(new XoopsFormHidden("int[$field]", $int)); + $ele_tray[$field]->addElement(new XoopsFormHidden("float[$field]", $float)); + $ele_tray[$field]->addElement(new XoopsFormHidden("text[$field]", $text)); + $ele_tray[$field]->addElement(new XoopsFormHidden("other[$field]", $other)); + $ele_tray[$field]->addElement(new XoopsFormHidden("fieldname[$field]", $fieldname)); + + $post[$field] = new XoopsFormCheckBox("Post", "post[$field]"); + $retrieve[$field] = new XoopsFormCheckBox("Retrieve", "retrieve[$field]"); + $update[$field] = new XoopsFormCheckBox("Update", "update[$field]"); + $visible[$field] = new XoopsFormCheckBox("Visible", "visible[$field]"); + $crc[$field] = new XoopsFormCheckBox("CRC", "crc[$field]"); + + $post[$field]->addOption(1, ' '); + $retrieve[$field]->addOption(1, ' '); + $update[$field]->addOption(1, ' '); + $visible[$field]->addOption(1, ' '); + $crc[$field]->addOption(1, ' '); + + if ($key==1) + $post[$field]->setExtra('disabled="disabled"'); + elseif ($tbldat['allowpost']==1) + $post[$field]->setValue(1); + $ele_tray[$field]->addElement($post[$field]); + + if ($tbldat['allowretrieve']==1) + $retrieve[$field]->setValue(1); + $ele_tray[$field]->addElement($retrieve[$field]); + + if ($key==1) + $update[$field]->setExtra('disabled="disabled"'); + elseif ($tbldat['allowupdate']==1) + $update[$field]->setValue(1); + $ele_tray[$field]->addElement($update[$field]); + + if ($tbldat['visible']==1) + $visible[$field]->setValue(1); + $ele_tray[$field]->addElement($visible[$field]); + + if ($key==1) + $crc[$field]->setExtra('disabled="disabled"'); + elseif ($tbldat['crc']==1) + $crc[$field]->setValue(1); + $ele_tray[$field]->addElement($crc[$field]); + + } else { + + $ele_tray[$field] = new XoopsFormElementTray($fieldname.'',' ',$fieldname); + $ele_tray[$field]->addElement(new XoopsFormHidden("id[$field]", $tbldat['fld_id'])); + $ele_tray[$field]->addElement(new XoopsFormHidden("key[$field]", $key)); + $ele_tray[$field]->addElement(new XoopsFormHidden("string[$field]", $string)); + $ele_tray[$field]->addElement(new XoopsFormHidden("int[$field]", $int)); + $ele_tray[$field]->addElement(new XoopsFormHidden("float[$field]", $float)); + $ele_tray[$field]->addElement(new XoopsFormHidden("text[$field]", $text)); + $ele_tray[$field]->addElement(new XoopsFormHidden("other[$field]", $other)); + $ele_tray[$field]->addElement(new XoopsFormHidden("fieldname[$field]", $fieldname)); + + $post[$field] = new XoopsFormCheckBox("Post", "post[$field]", $tbldat['allowpost']); + $retrieve[$field] = new XoopsFormCheckBox("Retrieve", "retrieve[$field]", $tbldat['allowretrieve']); + $update[$field] = new XoopsFormCheckBox("Update", "update[$field]", $tbldat['allowupdate']); + $visible[$field] = new XoopsFormCheckBox("Visible", "visible[$field]", $tbldat['visible']); + $crc[$field] = new XoopsFormCheckBox("CRC", "crc[$field]", $tbldat['crc']); + + $post[$field]->addOption(1, ' '); + $retrieve[$field]->addOption(1, ' '); + $update[$field]->addOption(1, ' '); + $visible[$field]->addOption(1, ' '); + $crc[$field]->addOption(1, ' '); + + if ($key==1) + $post[$field]->setExtra('disabled="disabled"'); + $ele_tray[$field]->addElement($post[$field]); + + $ele_tray[$field]->addElement($retrieve[$field]); + + if ($key==1) + $update[$field]->setExtra('disabled="disabled"'); + $ele_tray[$field]->addElement($update[$field]); + + $ele_tray[$field]->addElement($visible[$field]); + + if ($key==1) + $crc[$field]->setExtra('disabled="disabled"'); + + $ele_tray[$field]->addElement($crc[$field]); + + } + + $form_fld->addElement( $ele_tray[$field] ); + } + + $form_fld->addElement(new XoopsFormHidden("tbl_id", $tbl_id)); + $form_fld->addElement(new XoopsFormHidden("op", "savefields")); + $form_fld->addElement(new XoopsFormHidden("new", $new)); + $form_fld->addElement(new XoopsFormButton('', 'send', _SEND, 'submit')); + xoops_cp_header(); + adminMenu(2); + $form_sel->display(); + echo "<div style='clear:both;'></div>"; + $form_fld->display(); + footer_adminMenu(); + xoops_cp_footer(); + break; + +case "savefields": + + foreach ($id as $f){ + $tt++; + switch ($f){ + case "new": + $sql = "INSERT INTO ".$xoopsDB->prefix('json_fields')." (tbl_id, fieldname, allowpost, allowretrieve, allowupdate, visible, `key`, `string`, `int`, `float`, `text`, `other`, `crc`) VALUES ('$tbl_id','".addslashes($fieldname[$tt])."','".intval($post[$tt])."','".intval($retrieve[$tt])."','".intval($update[$tt])."','".intval($visible[$tt])."','".intval($key[$tt])."','".intval($string[$tt])."','".intval($int[$tt])."','".intval($float[$tt])."','".intval($text[$tt])."','".intval($other[$tt])."','".intval($crc[$tt])."')"; + $ty=$xoopsDB->queryF($sql); + break; + default: + $sql = "UPDATE ".$xoopsDB->prefix('json_fields')." SET allowpost ='".intval($post[$tt])."', allowupdate ='".intval($update[$tt])."',allowretrieve = '".intval($retrieve[$tt])."', visible='".intval($visible[$tt])."',`key` ='".intval($key[$tt])."', `string` = '".intval($string[$tt])."', `int`='".intval($int[$tt])."',`float` ='".intval($float[$tt])."', `text` = '".intval($text[$tt])."', `other`='".intval($other[$tt])."', crc = '".intval($crc[$tt])."' WHERE fld_id = ".$id[$tt]. " and tbl_id = ".$tbl_id; + $ty=$xoopsDB->queryF($sql); + } + + } + redirect_header("index.php?op=fields&tbl_id=".$tbl_id,2,_XC_DATABASEUPDATED); + break; + +case "savetables": + + + foreach ($id as $f){ + $tt++; + switch ($f){ + case "new": + $sql = "INSERT INTO ".$xoopsDB->prefix('json_tables')." (tablename, allowpost, allowretrieve, allowupdate, visible, view) VALUES ('".addslashes($tablename[$tt])."','".intval($post[$tt])."','".intval($retrieve[$tt])."','".intval($update[$tt])."','".intval($visible[$tt])."','0')"; + $ty=$xoopsDB->queryF($sql); + break; + default: + $sql = "UPDATE ".$xoopsDB->prefix('json_tables')." SET allowpost ='".intval($post[$tt])."', allowretrieve = '".intval($retrieve[$tt])."', allowupdate = '".intval($update[$tt])."', visible='".intval($visible[$tt])."' WHERE tbl_id = ".$id[$tt]; + $ty=$xoopsDB->queryF($sql); + } + + } + redirect_header("index.php?op=tables",2,_XC_DATABASEUPDATED); + break; + +case "saveviews": + + foreach ($id as $f){ + $tt++; + switch ($f){ + case "new": + $sql = "INSERT INTO ".$xoopsDB->prefix('json_tables')." (tablename, allowpost, allowretrieve, allowupdate, visible, view) VALUES ('".addslashes($tablename[$tt])."','".intval($post[$tt])."','".intval($retrieve[$tt])."','".intval($update[$tt])."','".intval($visible[$tt])."','1')"; + $ty=$xoopsDB->queryF($sql); + break; + default: + $sql = "UPDATE ".$xoopsDB->prefix('json_tables')." SET allowpost ='".intval($post[$tt])."', allowretrieve = '".intval($retrieve[$tt])."', allowupdate = '".intval($update[$tt])."', visible='".intval($visible[$tt])."' WHERE tbl_id = ".$id[$tt]; + $ty=$xoopsDB->queryF($sql); + } + + } + redirect_header("index.php?op=views",2,_XC_DATABASEUPDATED); + break; + +case "views": + + $sql = "SHOW VIEWS FROM ".XOOPS_DB_NAME.""; + $ret = $xoopsDB->queryF($sql); + + $ele_tray = array(); + $form_view = new XoopsThemeForm(_XC_VIEWSFOR.' '.XOOPS_DB_NAME, "views", $_SERVER['PHP_SELF'] .""); + $form_view->setExtra( "enctype='multipart/form-data'" ) ; + + $field=0; + while(list($table) = $xoopsDB->fetchRow($ret)){ + $field++; + $tbldat = get_tableconfig($table); + if (!isset($tbldat)){ + + $new++; + $ele_tray[$field] = new XoopsFormElementTray($table.' (new)',' ',$table); + $ele_tray[$field]->addElement(new XoopsFormHidden("id[$field]", "new")); + $ele_tray[$field]->addElement(new XoopsFormHidden("viewname[$field]", $table)); + + $retrieve[$field] = new XoopsFormCheckBox("Retrieve", "retrieve[$field]"); + $visible[$field] = new XoopsFormCheckBox("Visible", "post[$field]"); + + $retrieve[$field]->addOption(1, ' '); + $visible[$field]->addOption(1, ' '); + + } else { + + $ele_tray[$field] = new XoopsFormElementTray(strip_prefix($table).'',' ',strip_prefix($table)); + $ele_tray[$field]->addElement(new XoopsFormHidden("id[$field]", $tbldat['tbl_id'])); + $ele_tray[$field]->addElement(new XoopsFormHidden("viewname[$field]", strip_prefix($table))); + + $retrieve[$field] = new XoopsFormCheckBox("Retrieve", "retrieve[$field]"); + $visible[$field] = new XoopsFormCheckBox("Visible", "post[$field]"); + + $retrieve[$field]->addOption(1, ' '); + $visible[$field]->addOption(1, ' '); + + if ($tbldat['visible']==1) + $visible[$field]->setValue(1); + $ele_tray[$field]->addElement($visible[$field]); + + if ($tbldat['allowretrieve']==1) + $retrieve[$field]->setValue(1); + $ele_tray[$field]->addElement($retrieve[$field]); + + } + + $form_view->addElement( $ele_tray[$field] ); + } + + $form_view->addElement(new XoopsFormHidden("op", "saveviews")); + $form_view->addElement(new XoopsFormHidden("new", $new)); + $form_view->addElement(new XoopsFormButton('', 'send', _SEND, 'submit')); + + xoops_cp_header(); + adminMenu(3); + $form_view->display(); + footer_adminMenu(); + xoops_cp_footer(); + break; + +case "saveplugins": + + + foreach ($id as $f){ + $tt++; + switch ($f){ + case "new": + $sql = "INSERT INTO ".$xoopsDB->prefix('json_plugins')." (plugin_name, plugin_file, active) VALUES ('".addslashes($functionname[$tt])."','".addslashes($filename[$tt])."','".intval($active[$tt])."')"; + $ty=$xoopsDB->queryF($sql); + break; + default: + $sql = "UPDATE ".$xoopsDB->prefix('json_plugins')." SET active ='".intval($active[$tt])."' WHERE plugin_id = ".$id[$tt]; + $ty=$xoopsDB->queryF($sql); + } + + } + redirect_header("index.php?op=plugins",2, _XC_SAVEDSUCCESSFUL); + break; + +case "plugins": + error_reporting(E_ALL); + global $xoopsModuleConfig; + require_once('../class/class.functions.php'); + $funct = new FunctionsHandler($xoopsModuleConfig['wsdl']); + + $FunctionDefine = array(); + foreach($funct->GetServerExtensions() as $extension){ + $phpcode= file_get_contents(XOOPS_ROOT_PATH.'/modules/xjson/plugins/'.$extension); + ob_start(); + $r=eval("?>".$phpcode."<?php +"); + $result = ob_get_contents(); + ob_end_clean(); + if (strpos(' '.$result,"Parse")==0){ + $FunctionDefine[] = $extension; + } + + } + + $ele_tray = array(); + $form_plugin = new XoopsThemeForm(_XC_PLUGINAVAILABLE, "plugins", $_SERVER['PHP_SELF'] .""); + $form_plugin->setExtra( "enctype='multipart/form-data'" ) ; + + $field=0; + foreach($FunctionDefine as $func) { + + $field++; + + $functdata = get_functionconfig($func); + if (!isset($functdata)){ + $new++; + + $ele_tray[$field] = new XoopsFormElementTray($func.' (new)',' ',$func); + $ele_tray[$field]->addElement(new XoopsFormHidden("id[$field]", "new")); + $ele_tray[$field]->addElement(new XoopsFormHidden("functionname[$field]", str_replace('.php','',$func))); + $ele_tray[$field]->addElement(new XoopsFormHidden("filename[$field]", $func)); + + $active[$field] = new XoopsFormCheckBox("Active", "active[$field]"); + $active[$field]->addOption(1, ' '); + $ele_tray[$field]->addElement($active[$field]); + + } else { + + $ele_tray[$field] = new XoopsFormElementTray($func.'',' ',$func); + $ele_tray[$field]->addElement(new XoopsFormHidden("id[$field]", $functdata['plugin_id'])); + $ele_tray[$field]->addElement(new XoopsFormHidden("functionname[$field]", str_replace('.php','',$func))); + $ele_tray[$field]->addElement(new XoopsFormHidden("filename[$field]", $func)); + + $active[$field] = new XoopsFormCheckBox("Active", "active[$field]"); + + $active[$field]->addOption(1, ' '); + + if ($functdata['active']==1) + $active[$field]->setValue(1); + $ele_tray[$field]->addElement($active[$field]); + + } + $form_plugin->addElement( $ele_tray[$field] ); + } + + $form_plugin->addElement(new XoopsFormHidden("op", "saveplugins")); + $form_plugin->addElement(new XoopsFormHidden("new", $new)); + $form_plugin->addElement(new XoopsFormButton('', 'send', _SEND, 'submit')); + + xoops_cp_header(); + adminMenu(4); + $form_plugin->display(); + footer_adminMenu(); + xoops_cp_footer(); + break; + +default: + + $sql = "SHOW TABLES FROM ".XOOPS_DB_NAME." LIKE '".XOOPS_DB_PREFIX."\_%'"; + $ret = $xoopsDB->queryF($sql); + + $ele_tray = array(); + $form_tables = new XoopsThemeForm(_XC_TABLESAVAILABLE.' '.XOOPS_DB_NAME, "tables", $_SERVER['PHP_SELF'] .""); + $form_tables->setExtra( "enctype='multipart/form-data'" ) ; + + $field=0; + while(list($table) = $xoopsDB->fetchRow($ret)){ + $field++; + $tbldat = get_tableconfig($table); + + if (!isset($tbldat)){ + $new++; + + $ele_tray[$field] = new XoopsFormElementTray(strip_prefix($table).' (new)',' ',strip_prefix($table)); + $ele_tray[$field]->addElement(new XoopsFormHidden("id[$field]", 'new')); + $ele_tray[$field]->addElement(new XoopsFormHidden("tablename[$field]", strip_prefix($table))); + + $post[$field] = new XoopsFormCheckBox("Post", "post[$field]", 0); + $retrieve[$field] = new XoopsFormCheckBox("Retrieve", "retrieve[$field]", 0); + $update[$field] = new XoopsFormCheckBox("Update", "update[$field]", 0); + $visible[$field] = new XoopsFormCheckBox("Visible", "visible[$field]", 0); + + $post[$field]->addOption(1, ' '); + $retrieve[$field]->addOption(1, ' '); + $update[$field]->addOption(1, ' '); + $visible[$field]->addOption(1, ' '); + + $ele_tray[$field]->addElement($post[$field]); + $ele_tray[$field]->addElement($retrieve[$field]); + $ele_tray[$field]->addElement($update[$field]); + $ele_tray[$field]->addElement($visible[$field]); + + } else { + + $ele_tray[$field] = new XoopsFormElementTray(strip_prefix($table).'',' ',strip_prefix($table)); + $ele_tray[$field]->addElement(new XoopsFormHidden("id[$field]", $tbldat['tbl_id'])); + $ele_tray[$field]->addElement(new XoopsFormHidden("tablename[$field]", strip_prefix($table))); + + $post[$field] = new XoopsFormCheckBox("Post", "post[$field]", $tbldat['allowpost']); + $retrieve[$field] = new XoopsFormCheckBox("Retrieve", "retrieve[$field]", $tbldat['allowretrieve']); + $update[$field] = new XoopsFormCheckBox("Update", "update[$field]", $tbldat['allowupdate']); + $visible[$field] = new XoopsFormCheckBox("Visible", "visible[$field]", $tbldat['visible']); + + $post[$field]->addOption(1, ' '); + $retrieve[$field]->addOption(1, ' '); + $update[$field]->addOption(1, ' '); + $visible[$field]->addOption(1, ' '); + + $ele_tray[$field]->addElement($post[$field]); + $ele_tray[$field]->addElement($retrieve[$field]); + $ele_tray[$field]->addElement($update[$field]); + $ele_tray[$field]->addElement($visible[$field]); + + } + $form_tables->addElement( $ele_tray[$field] ); + } + + $form_tables->addElement(new XoopsFormHidden("op", "savetables")); + $form_tables->addElement(new XoopsFormHidden("new", $new)); + $form_tables->addElement(new XoopsFormButton('', 'send', _SEND, 'submit')); + + xoops_cp_header(); + adminMenu(1); + $form_tables->display(); + footer_adminMenu(); + xoops_cp_footer(); + break; + +} + +function strip_prefix($raw_tablename){ + return str_replace(XOOPS_DB_PREFIX."_",'',$raw_tablename); +} + +function get_tableconfig($raw_tablename){ + global $xoopsDB; + $sql = "SELECT * FROM ".$xoopsDB->prefix('json_tables')." WHERE tablename = '".strip_prefix($raw_tablename)."'"; + $ret = $xoopsDB->query($sql); + if ($xoopsDB->getRowsNum($ret)){ + return $xoopsDB->fetchArray($ret); + } else { + + } +} +function get_functionconfig($plugin_filename){ + global $xoopsDB; + $sql = "SELECT * FROM ".$xoopsDB->prefix('json_plugins')." WHERE plugin_file = '".addslashes($plugin_filename)."'"; + $ret = $xoopsDB->query($sql); + if ($xoopsDB->getRowsNum($ret)){ + return $xoopsDB->fetchArray($ret); + } else { + + } +} + +function get_fieldconfig($raw_fieldname, $tbl_id){ + global $xoopsDB; + $sql = "SELECT * FROM ".$xoopsDB->prefix('json_fields')." WHERE fieldname = '$raw_fieldname' and tbl_id = $tbl_id"; + $ret = $xoopsDB->query($sql); + if ($xoopsDB->getRowsNum($ret)){ + return $xoopsDB->fetchArray($ret); + } else { + + } +} +function get_tableid($tablename){ + global $xoopsDB; + $sql = "SELECT * FROM ".$xoopsDB->prefix('json_tables')." WHERE tablename = '$tablename'"; + $ret = $xoopsDB->query($sql); + $row = $xoopsDB->fetchArray($ret); + return $row['tbl_id']; +} + +function get_tablename($tableid){ + global $xoopsDB; + $sql = "SELECT * FROM ".$xoopsDB->prefix('json_tables')." WHERE tbl_id = '$tableid'"; + $ret = $xoopsDB->query($sql); + $row = $xoopsDB->fetchArray($ret); + return $row['tablename']; +} + +function compile_wsdl(){ + return true; +} + + +?> \ No newline at end of file Added: XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/admin/menu.php =================================================================== --- XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/admin/menu.php (rev 0) +++ XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/admin/menu.php 2012-01-04 12:46:39 UTC (rev 8634) @@ -0,0 +1,18 @@ +<?php + +$adminmenu[1]['title'] = _XC_ADMINMENU_1; +$adminmenu[1]['link'] = "admin/index.php?op=tables"; +$adminmenu[1]['icon'] = "images/dbtables.png"; +$adminmenu[2]['title'] = _XC_ADMINMENU_2; +$adminmenu[2]['link'] = "admin/index.php?op=fields"; +$adminmenu[2]['icon'] = "images/dbfields.png"; +$adminmenu[3]['title'] = _XC_ADMINMENU_3; +$adminmenu[3]['link'] = "admin/index.php?op=views"; +$adminmenu[3]['icon'] = "images/dbviews.png"; +$adminmenu[4]['title'] = _XC_ADMINMENU_4; +$adminmenu[4]['link'] = "admin/index.php?op=plugins"; +$adminmenu[4]['icon'] = "images/plugins.png"; +$adminmenu[5]['title'] = _XC_ADMINMENU_5; +$adminmenu[5]['link'] = "admin/permissions.php"; +$adminmenu[5]['icon'] = "images/permissions.png"; +?> \ No newline at end of file Added: XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/admin/permissions.php =================================================================== --- XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/admin/permissions.php (rev 0) +++ XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/admin/permissions.php 2012-01-04 12:46:39 UTC (rev 8634) @@ -0,0 +1,53 @@ +<?php + +include_once("admin_header.php"); +include_once XOOPS_ROOT_PATH . '/class/xoopsform/grouppermform.php'; + +$op = ''; + +foreach ($_POST as $k => $v) { + ${$k} = $v; +} + +foreach ($_GET as $k => $v) { + ${$k} = $v; +} + +switch ($op) { + case "default": + default: + global $xoopsDB, $xoopsModule; + + $module_handler = xoops_gethandler('module'); + $xoModule = $module_handler->getByDirname('xjson'); + + xoops_cp_header(); + adminmenu(5); + // View Categories permissions + $item_list_view = array(); + $block_view = array(); + + $result_view = $xoopsDB->query("SELECT plugin_id, plugin_name FROM " . $xoopsDB->prefix("json_plugins") . " "); + if ($xoopsDB->getRowsNum($result_view)) { + while ($myrow_view = $xoopsDB->fetcharray($result_view)) { + $item_list_view['cid'] = $myrow_view['plugin_id']; + $item_list_view['title'] = $myrow_view['plugin_name']; + $form_view = new XoopsGroupPermForm("", $xoModule->getVar('mid'), "plugin_call", "<img id='toptableicon' src=" . XOOPS_URL . "/modules/" . $xoopsModule->dirname() . "/images/close12.gif alt='' /></a>" . _XC_PERMISSIONSVIEWMAN . "</h3><div id='toptable'><span style=\"color: #567; margin: 3px 0 0 0; font-size: small; display: block; \">" . _XC_VIEW_FUNCTION . "</span>"); + $block_view[] = $item_list_view; + foreach ($block_view as $itemlists) { + $form_view->addItem($itemlists['cid'], $itemlists['title']); + } + } + echo $form_view->render(); + } else { + echo "<img id='toptableicon' src=" . XOOPS_URL . "/modules/" . $xoModule->dirname() . "/images/close12.gif alt='' /></a> " . _XCOAP_PERMISSIONSVIEWMAN . "</h3><div id='toptable'><span style=\"color: #567; margin: 3px 0 0 0; font-size: small; display: block; \">" . _XC_NOPERMSSET . "</span>"; + + } + echo "</div>"; + + echo "<br />\n"; +} +footer_adminMenu(); +xoops_cp_footer(); + +?> \ No newline at end of file Added: XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/class/class.functions.php =================================================================== --- XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/class/class.functions.php (rev 0) +++ XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/class/class.functions.php 2012-01-04 12:46:39 UTC (rev 8634) @@ -0,0 +1,81 @@ +<?php +class FunctionsHandler { + + var $functions=array(); + + function __construct($wsdl){ + + } + + function GetServerExtensions (){ + $files = array(); + $f = array(); + $files = $this->getFileListAsArray(XOOPS_ROOT_PATH.'/modules/xjson/plugins/'); + static $f_count; + static $f_buffer; + + if ($f_count != count($files)){ + $f_count = count($files); + foreach($files as $k => $l){ + if (strpos($k,".php",1)== (strlen($k)-4)){ + $f[] = $k; + } + } + $f_buffer = $f; + } + + return $f_buffer; + + } + + function getDirListAsArray( $dirname ) { + $ignored = array(); + $list = array(); + if ( substr( $dirname, -1 ) != '/' ) { + $dirname .= '/'; + } + if ( $handle = opendir( $dirname ) ) { + while ( $file = readdir( $handle ) ) { + if ( substr( $file, 0, 1 ) == '.' || in_array( strtolower( $file ), $ignored ) ) continue; + if ( is_dir( $dirname . $file ) ) { + $list[$file] = $file; + } + } + closedir( $handle ); + asort( $list ); + reset( $list ); + } + //print_r($list); + return $list; + } + + /* + * gets list of all files in a directory + */ + function getFileListAsArray($dirname, $prefix="") + { + $filelist = array(); + if (substr($dirname, -1) == '/') { + $dirname = substr($dirname, 0, -1); + } + if (is_dir($dirname) && $handle = opendir($dirname)) { + while (false !== ($file = readdir($handle))) { + if (!preg_match("/^[\.]{1,2}$/",$file) && is_file($dirname.'/'.$file)) { + $file = $prefix.$file; + $filelist[$file] = $file; + } + } + closedir($handle); + asort($filelist); + reset($filelist); + } + return $filelist; + } + + function __destruct(){ + + } + +} + +?> \ No newline at end of file Added: XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/class/index.html =================================================================== --- XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/class/index.html (rev 0) +++ XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/class/index.html 2012-01-04 12:46:39 UTC (rev 8634) @@ -0,0 +1,10 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> +<title>Untitled Document</title> +</head> + +<body> +</body> +</html> Added: XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/images/close12.gif =================================================================== (Binary files differ) Property changes on: XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/images/close12.gif ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/images/dbfields.png =================================================================== (Binary files differ) Property changes on: XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/images/dbfields.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/images/dbtables.png =================================================================== (Binary files differ) Property changes on: XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/images/dbtables.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/images/dbviews.png =================================================================== (Binary files differ) Property changes on: XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/images/dbviews.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/images/index.html =================================================================== --- XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/images/index.html (rev 0) +++ XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/images/index.html 2012-01-04 12:46:39 UTC (rev 8634) @@ -0,0 +1,10 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> +<title>Untitled Document</title> +</head> + +<body> +</body> +</html> Added: XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/images/left_both.gif =================================================================== (Binary files differ) Property changes on: XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/images/left_both.gif ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/images/open12.gif =================================================================== (Binary files differ) Property changes on: XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/images/open12.gif ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/images/permissions.png =================================================================== (Binary files differ) Property changes on: XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/images/permissions.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/images/plugins.png =================================================================== (Binary files differ) Property changes on: XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/images/plugins.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/images/right_both.gif =================================================================== (Binary files differ) Property changes on: XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/images/right_both.gif ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/images/xrest_slogo.png =================================================================== (Binary files differ) Property changes on: XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/images/xrest_slogo.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/include/JSON.php =================================================================== --- XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/include/JSON.php (rev 0) +++ XoopsModules/xrest/releases/1.50/htdocs/modules/xrest/include/JSON.php 2012-01-04 12:46:39 UTC (rev 8634) @@ -0,0 +1,806 @@ +<?php +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ + +/** + * Converts to and from JSON format. + * + * JSON (JavaScript Object Notation) is a lightweight data-interchange + * format. It is easy for humans to read and write. It is easy for machines + * to parse and generate. It is based on a subset of the JavaScript + * Programming Language, Standard ECMA-262 3rd Edition - December 1999. + * This feature can also be found in Python. JSON is a text format that is + * completely language independent but uses conventions that are familiar + * to programmers of the C-family of languages, including C, C++, C#, Java, + * JavaScript, Perl, TCL, and many others. These properties make JSON an + * ideal data-interchange language. + * + * This package provides a simple encoder and decoder for JSON notation. It + * is intended for use with client-side Javascript applications that make + * use of HTTPRequest to perform server communication functions - data can + * be encoded into JSON notation for use in a client-side javascript, or + * decoded from incoming Javascript requests. JSON format is native to + * Javascript, and can be directly eval()'ed with no further parsing + * overhead + * + * All strings should be in ASCII or UTF-8 format! + * + * LICENSE: Redistribution and use in source and binary forms, with or + * without modification, are permitted provided that the following + * conditions are met: Redistributions of source code must retain the + * above copyright notice, this list of conditions and the following + * disclaimer. Redistributions in binary form must reproduce the above + * copyright notice, this list of conditions and the following disclaimer + * in the documentation and/or other materials provided with the + * distribution. + * + * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED + * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN + * NO EVENT SHALL CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, + * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, + * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS + * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND + * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR + * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE + * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH + * DAMAGE. + * + * @category + * @package Services_JSON + * @author Michal Migurski <mik...@te...> + * @author Matt Knapp <mdknapp[at]gmail[dot]com> + * @author Brett Stimmerman <brettstimmerman[at]gmail[dot]com> + * @copyright 2005 Michal Migurski + * @version CVS: $Id: JSON.php,v 1.31 2006/06/28 05:54:17 migurski Exp $ + * @license http://www.opensource.org/licenses/bsd-lice... [truncated message content] |
From: <be...@us...> - 2012-01-03 22:59:07
|
Revision: 8633 http://xoops.svn.sourceforge.net/xoops/?rev=8633&view=rev Author: beckmi Date: 2012-01-03 22:59:00 +0000 (Tue, 03 Jan 2012) Log Message: ----------- Adding email icons to /media folder Added Paths: ----------- XoopsCore/branches/2.6.x/2.6.0/htdocs/media/xoops/images/icons/16/mail_notread.png XoopsCore/branches/2.6.x/2.6.0/htdocs/media/xoops/images/icons/16/mail_read.png Added: XoopsCore/branches/2.6.x/2.6.0/htdocs/media/xoops/images/icons/16/mail_notread.png =================================================================== (Binary files differ) Property changes on: XoopsCore/branches/2.6.x/2.6.0/htdocs/media/xoops/images/icons/16/mail_notread.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsCore/branches/2.6.x/2.6.0/htdocs/media/xoops/images/icons/16/mail_read.png =================================================================== (Binary files differ) Property changes on: XoopsCore/branches/2.6.x/2.6.0/htdocs/media/xoops/images/icons/16/mail_read.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <be...@us...> - 2012-01-03 22:56:41
|
Revision: 8632 http://xoops.svn.sourceforge.net/xoops/?rev=8632&view=rev Author: beckmi Date: 2012-01-03 22:56:35 +0000 (Tue, 03 Jan 2012) Log Message: ----------- removing unneeded email icons (they are now in /media Removed Paths: ------------- XoopsCore/branches/2.6.x/2.6.0/htdocs/images/email_notread.png XoopsCore/branches/2.6.x/2.6.0/htdocs/images/email_read.png Deleted: XoopsCore/branches/2.6.x/2.6.0/htdocs/images/email_notread.png =================================================================== (Binary files differ) Deleted: XoopsCore/branches/2.6.x/2.6.0/htdocs/images/email_read.png =================================================================== (Binary files differ) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <be...@us...> - 2012-01-03 22:48:50
|
Revision: 8631 http://xoops.svn.sourceforge.net/xoops/?rev=8631&view=rev Author: beckmi Date: 2012-01-03 22:48:44 +0000 (Tue, 03 Jan 2012) Log Message: ----------- - adding missing translation (it was in XOOPS 2.5.4) Modified Paths: -------------- XoopsCore/branches/2.5.x/2.5.5/htdocs/language/english/pmsg.php Modified: XoopsCore/branches/2.5.x/2.5.5/htdocs/language/english/pmsg.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.5/htdocs/language/english/pmsg.php 2012-01-03 22:47:14 UTC (rev 8630) +++ XoopsCore/branches/2.5.x/2.5.5/htdocs/language/english/pmsg.php 2012-01-03 22:48:44 UTC (rev 8631) @@ -42,5 +42,5 @@ define('_PM_ONLINE', 'Online'); //XOOPS 2.5.2 define('_PM_SURE_TO_DELETE',"Are you sure you want to delete these message(s)?"); - -?> \ No newline at end of file +//XOOPS 2.5.5 +define('_PM_READ', 'Already Read'); \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <be...@us...> - 2012-01-03 22:47:21
|
Revision: 8630 http://xoops.svn.sourceforge.net/xoops/?rev=8630&view=rev Author: beckmi Date: 2012-01-03 22:47:14 +0000 (Tue, 03 Jan 2012) Log Message: ----------- - adjusting message icons links - fixing Smarty Plugins with links to Icon folders Modified Paths: -------------- XoopsCore/branches/2.6.x/2.6.0/htdocs/language/english/pmsg.php XoopsCore/branches/2.6.x/2.6.0/htdocs/viewpmsg.php XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/smarty/xoops_plugins/compiler.xoModuleIcons16.php XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/smarty/xoops_plugins/compiler.xoModuleIcons32.php XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/smarty/xoops_plugins/compiler.xoModuleIconsBookmarks.php Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/language/english/pmsg.php =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/language/english/pmsg.php 2012-01-02 23:04:32 UTC (rev 8629) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/language/english/pmsg.php 2012-01-03 22:47:14 UTC (rev 8630) @@ -42,5 +42,5 @@ define('_PM_ONLINE', 'Online'); //XOOPS 2.5.2 define('_PM_SURE_TO_DELETE',"Are you sure you want to delete these message(s)?"); - -?> \ No newline at end of file +//XOOPS 2.5.5 +define('_PM_READ', 'Already Read'); \ No newline at end of file Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/viewpmsg.php =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/viewpmsg.php 2012-01-02 23:04:32 UTC (rev 8629) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/viewpmsg.php 2012-01-03 22:47:14 UTC (rev 8630) @@ -71,13 +71,14 @@ } else { $display = 1; } + for ($i = 0; $i < $total_messages; $i++) { $class = ($i % 2 == 0) ? 'even' : 'odd'; echo "<tr class='$class txtleft'><td class='aligntop width2 txtcenter'><input type='checkbox' id='msg_id[]' name='msg_id[]' value='" . $pm_arr[$i]->getVar("msg_id") . "' /></td>\n"; if ($pm_arr[$i]->getVar('read_msg') == 1) { - echo "<td class='aligntop width5 txtcenter'><img src='images/email_read.png' alt='" . _PM_READ . "' title='" . _PM_READ . "' /></td>\n"; + echo "<td class='aligntop width5 txtcenter'><img src= media/xoops/images/icons/16/mail_read.png alt='" . _PM_READ . "' title='" . _PM_READ . "' /></td>\n"; } else { - echo "<td class='aligntop width5 txtcenter'><img src='images/email_notread.png' alt='" . _PM_NOTREAD . "' title='" . _PM_NOTREAD . "' /></td>\n"; + echo "<td class='aligntop width5 txtcenter'><img src= media/xoops/images/icons/16/mail_notread.png alt='" . _PM_NOTREAD . "' title='" . _PM_NOTREAD . "' /></td>\n"; } $iconName = $pm_arr[$i]->getVar("msg_image", "E"); if ($iconName != '') { Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/smarty/xoops_plugins/compiler.xoModuleIcons16.php =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/smarty/xoops_plugins/compiler.xoModuleIcons16.php 2012-01-02 23:04:32 UTC (rev 8629) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/smarty/xoops_plugins/compiler.xoModuleIcons16.php 2012-01-03 22:47:14 UTC (rev 8630) @@ -23,13 +23,13 @@ $xoops = Xoops::getInstance(); - if (file_exists($xoops->path('Frameworks/moduleclasses/icons/16/index.html'))) { - $url = $xoops->url('Frameworks/moduleclasses/icons/16/' . $argStr); + if (file_exists($xoops->path('media/xoops/images/icons/16/index.html'))) { + $url = $xoops->url('media/xoops/images/icons/16/' . $argStr); } else { if (file_exists($xoops->path('modules/system/images/icons/default/' . $argStr))) { $url = $xoops->url('modules/system/images/icons/default/' . $argStr); } else { - $url = $xoops->url('modules/system/images/icons/default/xoops/xoops.png'); + $url = $xoops->url('modules/system/images/icons/default/xoops/xoops2.png'); } } return "\necho '" . addslashes($url) . "';"; Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/smarty/xoops_plugins/compiler.xoModuleIcons32.php =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/smarty/xoops_plugins/compiler.xoModuleIcons32.php 2012-01-02 23:04:32 UTC (rev 8629) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/smarty/xoops_plugins/compiler.xoModuleIcons32.php 2012-01-03 22:47:14 UTC (rev 8630) @@ -24,8 +24,8 @@ $icons = $xoops->getModuleConfig('typeicons', 'system'); if ( $icons == '' ) $icons = 'default'; - if ( file_exists( $xoops->path('Frameworks/moduleclasses/icons/32/' . $icons . '/index.html'))) { - $url = $xoops->url( 'Frameworks/moduleclasses/icons/32/' . $icons . '/' . $argStr ); + if ( file_exists( $xoops->path('media/xoops/images/icons/32/' . $icons . '/index.html'))) { + $url = $xoops->url( 'media/xoops/images/icons/32/' . $icons . '/' . $argStr ); } else { if ( file_exists( $xoops->path('modules/system/images/icons/default/' . $argStr ))) { $url = $xoops->url( 'modules/system/images/icons/default/' . $argStr ); Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/smarty/xoops_plugins/compiler.xoModuleIconsBookmarks.php =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/smarty/xoops_plugins/compiler.xoModuleIconsBookmarks.php 2012-01-02 23:04:32 UTC (rev 8629) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/smarty/xoops_plugins/compiler.xoModuleIconsBookmarks.php 2012-01-03 22:47:14 UTC (rev 8630) @@ -22,8 +22,8 @@ { $xoops = Xoops::getInstance(); - if (file_exists($xoops->path('Frameworks/moduleclasses/icons/bookmarks/index.html'))) { - $url = $xoops->url('Frameworks/moduleclasses/icons/bookmarks/' . $argStr); + if (file_exists($xoops->path('media/xoops/images/icons/bookmarks/index.html'))) { + $url = $xoops->url('media/xoops/images/icons/bookmarks/' . $argStr); } else { if (file_exists($xoops->path('modules/system/images/icons/default/' . $argStr))) { $url = $xoops->url('modules/system/images/icons/default/' . $argStr); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ma...@us...> - 2012-01-02 23:04:40
|
Revision: 8629 http://xoops.svn.sourceforge.net/xoops/?rev=8629&view=rev Author: mageg Date: 2012-01-02 23:04:32 +0000 (Mon, 02 Jan 2012) Log Message: ----------- Changes for the new banners module Modified Paths: -------------- XoopsCore/branches/2.6.x/2.6.0/htdocs/class/theme.php XoopsCore/branches/2.6.x/2.6.0/htdocs/class/xoops.php XoopsCore/branches/2.6.x/2.6.0/htdocs/install/include/makedata.php XoopsCore/branches/2.6.x/2.6.0/htdocs/install/sql/mysql.data.sql XoopsCore/branches/2.6.x/2.6.0/htdocs/install/sql/mysql.structure.sql XoopsCore/branches/2.6.x/2.6.0/htdocs/kernel/banner.php XoopsCore/branches/2.6.x/2.6.0/htdocs/kernel/bannerclient.php XoopsCore/branches/2.6.x/2.6.0/htdocs/uploads/banners/blank.gif Removed Paths: ------------- XoopsCore/branches/2.6.x/2.6.0/htdocs/banners.php XoopsCore/branches/2.6.x/2.6.0/htdocs/kernel/bannerfinish.php XoopsCore/branches/2.6.x/2.6.0/htdocs/language/english/banners.php Deleted: XoopsCore/branches/2.6.x/2.6.0/htdocs/banners.php =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/banners.php 2012-01-02 23:01:51 UTC (rev 8628) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/banners.php 2012-01-02 23:04:32 UTC (rev 8629) @@ -1,404 +0,0 @@ -<?php -/* - You may not change or alter any portion of this comment or credits - of supporting developers from this source code or any supporting source code - which is considered copyrighted (c) material of the original comment or credit authors. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -*/ - -/** - * XOOPS banner management - * - * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/ - * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html) - * @package core - * @since 2.0.0 - * @author Kazumi Ono <web...@my...> - * @author Taiwen Jiang <ph...@us...> - * @author DuGris aka L. Jen <http://www.dugris.info> - * @author Kris <kr...@fr...> - * @version $Id$ - */ - -include dirname(__FILE__) . DIRECTORY_SEPARATOR . 'mainfile.php'; - -$xoops = Xoops::getInstance(); -$xoops->loadLanguage('banners'); - -/** - * Function to let your client login to see the stats - * - * @return void - */ -function clientlogin() -{ - $xoops = Xoops::getInstance(); - $xoops->header(); - $xoops->theme->addStylesheet(null, null, ' - #login_window { - max-width: 480px; - margin: 1em auto; - background-color: #f8f8f8; - color: inherit; - border: 1px solid #000; - } - - #login_window h2 { - margin: .5em; - padding: 130px 0 0; - background: url(images/password.png) no-repeat center top; - text-align: center; - } - .login_form.credentials { - margin: .5em 1em; - padding: 1em; - background-color: #ccc; - color: inherit; - } - .login_form.credentials label { - display: inline-block; - width: 33 %; - margin: 1px; - } - .login_form . credentials input { - width:50%; - margin: 1px; - padding: 1px; - border: 1px solid #000; - } - .login_form.credentials input:focus { - border: 1px solid #2266cc; - } - .login_form.actions { - padding: 1.5em .5em .5em; - text-align: center; - } - .login_info { - margin: .5em 1em; - text-align: center; - } - .content_title { - font-size: 1.2em; - } - '); - echo "<div id='login_window'> - <h2 class='content_title'>" . _BANNERS_LOGIN_TITLE . "</h2> - <form method='post' action='banners.php' class='login_form'> - <div class='credentials'> - <label for='login_form-login'>" . _BANNERS_LOGIN_LOGIN . "</label> - <input type='text' name='login' id='login_form-login' value='' /><br /> - <label for='login_form-password'>" . _BANNERS_LOGIN_PASS . "</label> - <input type='password' name='pass' id='login_form-password' value='' /><br /> - </div> - <div class='actions'><input type='hidden' name='op' value='Ok' /><button type='submit'>" . _BANNERS_LOGIN_OK . "</button></div> - <div class='login_info'>" . _BANNERS_LOGIN_INFO . "</div>" . $xoops->security->getTokenHTML("BANNER_LOGIN") . " - </form></div>"; - $xoops->footer(); -} - -/** - * Function to display the banners stats for each client - * - * @return void - */ -function bannerstats() -{ - $xoops = Xoops::getInstance(); - if ($_SESSION['banner_login'] == "" || $_SESSION['banner_pass'] == "") { - $xoops->redirect("banners.php", 2, _BANNERS_NO_LOGIN_DATA); - exit(); - } - $client = $xoops->getHandlerBannerclient()->getClient($_SESSION['banner_login'], $_SESSION['banner_pass']); - if ($client) { - $xoops->header(); - $xoops->theme->addStylesheet(null, null, ' - #bannerstats {} - #bannerstats td {text-align: center;} - '); - - echo "<div id='bannerstats'> - <h4 class='content_title'>" . sprintf(_BANNERS_TITLE, $client->getVar('name')) . "</h4><hr /> - <table summary=''> - <caption>" . sprintf(_BANNERS_TITLE, $client->getVar('name')) . "</caption> - <thead><tr> - <td>ID</td> - <td>" . _BANNERS_IMP_MADE . "</td> - <td>" . _BANNERS_IMP_TOTAL . "</td> - <td>" . _BANNERS_IMP_LEFT . "</td> - <td>" . _BANNERS_CLICKS . "</td> - <td>" . _BANNERS_PER_CLICKS . "</td> - <td>" . _BANNERS_FUNCTIONS . "</td></tr></thead> - <tfoot><tr><td colspan='7'></td></tr></tfoot>"; - - $criteria = new Criteria('cid', $client->getVar('cid')); - $banners = $xoops->getHandlerBanner()->getObjects($criteria); - $i = 0; - /* @var $banner XoopsBanner */ - foreach ($banners as $banner) { - if ($banner->getvar('impmade') == 0) { - $percent = 0; - } else { - $percent = substr(100 * $banner->getvar('clicks') / $banner->getvar('impmade'), 0, 5); - } - if ($banner->getvar('imptotal') == 0) { - $left = _BANNERS_UNLIMITED; - } else { - $left = $banner->getvar('imptotal') - $banner->getvar('impmade'); - } - $class = ($i % 2 == 0) ? 'even' : 'odd'; - echo "<tbody><tr class='{$class}'> - <td>" . $banner->getvar('bid') . "</td> - <td>" . $banner->getvar('impmade') . "</td> - <td>" . $banner->getvar('imptotal') . "</td> - <td>{$left}</td> - <td>" . $banner->getvar('clicks') . "</td> - <td>{$percent}%</td> - <td><a href='banners.php?op=EmailStats&cid=" . $banner->getvar('cid') . "&bid=" . $banner->getvar('bid') . "' title='" . _BANNERS_STATS . "'>" . _BANNERS_STATS . "</a></td></tr></tbody>"; - $i++; - } - echo "</table> - <br /><br /> - <h4 class='content_title'>" . _BANNERS_FOW_IN . htmlspecialchars($xoops->getConfig('sitename')) . "</h4><hr />"; - - /* @var $banner XoopsBanner */ - $numrows = count($banners); - foreach ($banners as $banner) { - if ($numrows > 1) { - echo "<br />"; - } - if ($banner->getVar('htmlbanner') && $banner->getVar('htmlcode')) { - $myts = MyTextSanitizer::getInstance(); - echo $myts->displayTarea($banner->getVar('htmlcode')); - } else { - if (strtolower(substr($banner->getVar('imageurl'), strrpos($banner->getVar('imageurl'), "."))) == ".swf") { - echo "<object type='application / x - shockwave - flash' width='468' height='60' data='" . $banner->getVar('imageurl') . "'>"; - echo "<param name='movie' value='" . $banner->getVar('imageurl') . "' />"; - echo "<param name='quality' value='high' />"; - echo "</object>"; - } else { - echo "<img src='" . $banner->getVar('imageurl') . "' alt='' />"; - } - } - echo "<br /><strong>" . _BANNERS_ID . $banner->getVar('bid') . "</strong><br />" . sprintf(_BANNERS_SEND_STATS, 'banners.php?op=EmailStats&cid = ' . $banner->getVar('cid') . '&bid=' . $banner->getVar('bid')) . "<br />"; - if (!$banner->getVar('htmlbanner')) { - echo sprintf(_BANNERS_POINTS, $banner->getVar('clickurl', 'e')) . "<br /> - <form action='banners.php' method='post'>" . _BANNERS_URL . " - <input type='text' name='url' size='50' maxlength='200' value='" . $banner->getVar('clickurl', 'e') . "' /> - <input type='hidden' name='bid' value='" . $banner->getVar('bid') . "' /> - <input type='hidden' name='cid' value='" . $banner->getVar('cid') . "' /> - <input type='submit' name='op' value='" . _BANNERS_CHANGE . "' />" . $xoops->security->getTokenHTML("BANNER_EDIT") . "</form>"; - } - } - - /* Finnished Banners */ - echo "<br />"; - $criteria = new Criteria('cid', $client->getVar('cid')); - $banners = $xoops->getHandlerBannerfinish()->getObjects($criteria); - - if (count($banners) > 0) { - echo "<h4 class='content_title'>" . sprintf(_BANNERS_FINISHED, $client->getvar('name')) . "</h4><hr /> - <table summary=''> - <caption>" . sprintf(_BANNERS_FINISHED, $client->getvar('name')) . "</caption> - <thead><tr> - <td>ID</td> - <td>" . _BANNERS_IMP_MADE . "</td> - <td>" . _BANNERS_CLICKS . "</td> - <td>" . _BANNERS_PER_CLICKS . "</td> - <td>" . _BANNERS_STARTED . "</td> - <td>" . _BANNERS_ENDED . "</td></tr></thead> - <tfoot><tr><td colspan='6'></td></tr></tfoot>"; - - $i = 0; - /* @var $banner XoopsBanner */ - foreach ($banners as $banner) { - if ($banner->getvar('impressions') == 0) { - $percent = 0; - } else { - $percent = substr(100 * $banner->getvar('clicks') / $banner->getvar('impressions'), 0, 5); - } - $class = ($i % 2 == 0) ? 'even' : 'odd'; - echo "<tbody><tr class='{$class}'> - <td>" . $banner->getvar('bid') . "</td> - <td>" . $banner->getvar('impressions') . "</td> - <td>" . $banner->getvar('clicks') . "</td> - <td>{$percent}%</td> - <td>" . XoopsLocal::formatTimestamp($banner->getvar('datestart')) . "</td> - <td>" . XoopsLocal::formatTimestamp($banner->getvar('dateend')) . "</td></tr></tbody>"; - } - echo "</table></div>"; - } - $xoops->footer(); - } else { - $xoops->redirect("banners.php", 2, _BANNERS_INVALID_LOGIN_DATA); - } -} - -/** - * Function to let the client E-mail his banner Stats - * - * @param int $cid - * @param int $bid - * @return void - */ -function EmailStats($cid, $bid) -{ - $xoops = Xoops::getInstance(); - $client = $xoops->getHandlerBannerclient()->getClient($_SESSION['banner_login'], $_SESSION['banner_pass']); - if ($client) { - $cid = intval($cid); - $bid = intval($bid); - if ($client->getVar('email', 'n') == "") { - $xoops->redirect("banners.php", 3, sprintf(_BANNERS_MAIL_ERROR, $client->getVar('name'))); - } else { - $banner = $xoops->getHandlerBanner()->get($bid); - //make sure that the client is the banner owner - if ($banner && $banner->getVar('cid') == $cid) { - if ($banner->getVar('impmade') == 0) { - $percent = 0; - } else { - $percent = substr(100 * $banner->getVar('clicks') / $banner->getVar('impmade'), 0, 5); - } - if ($banner->getVar('imptotal') == 0) { - $left = _BANNERS_UNLIMITED; - $banner->setVar('imptotal', _BANNERS_UNLIMITED); - } else { - $left = $banner->getVar('imptotal') - $banner->getVar('impmade'); - } - $date = date("F jS Y, h:iA."); - $subject = sprintf(_BANNERS_MAIL_SUBJECT, $xoops->getConfig('sitename')); - $message = sprintf(_BANNERS_MAIL_MESSAGE, $xoops->getConfig('sitename'), $client->getVar('name'), $bid, $banner->getVar('imageurl'), $banner->getVar('clickurl'), $banner->getVar('imptotal'), $banner->getVar('impmade'), $left, $banner->getVar('clicks'), $percent, $date); - $xoopsMailer = $xoops->getMailer(); - $xoopsMailer->useMail(); - $xoopsMailer->setToEmails($client->getVar('email', 'n')); - $xoopsMailer->setFromEmail($xoops->getConfig('adminmail')); - $xoopsMailer->setFromName($xoops->getConfig('sitename')); - $xoopsMailer->setSubject($subject); - $xoopsMailer->setBody($message); - - if (!$xoopsMailer->send()) { - $xoops->redirect("banners.php?op=Ok", 3, sprintf(_MAIL_SENDMAILNG, $client->getVar('email', 'n'))); - } - $xoops->redirect("banners.php?op=Ok", 3, _BANNERS_MAIL_OK); - } - } - } - $xoops->redirect("banners.php", 2); -} - -/** - * Function to let the client to change the url for his banner - * - * @param int $cid - * @param int $bid - * @param string $url - * @return void - */ -function change_banner_url_by_client($cid, $bid, $url) -{ - $xoops = Xoops::getInstance(); - $client = $xoops->getHandlerBannerclient()->getClient($_SESSION['banner_login'], $_SESSION['banner_pass']); - if ($client && $client->getVar('cid') == $cid && $url != "") { - $cid = intval($cid); - $bid = intval($bid); - $banner = $xoops->getHandlerBanner()->get($bid); - //make sure that the client is the banner owner - if ($banner->getVar('cid') == $cid) { - $banner->setVar('clickurl', $url); - if ($xoops->getHandlerBanner()->insert($banner)) { - $xoops->redirect("banners.php?op=Ok", 3, _BANNERS_DBUPDATED); - } - } - } - $xoops->redirect("banners.php", 2); -} - -/** - * @param int $bid - * @return void - */ -function clickbanner($bid) -{ - $xoops = Xoops::getInstance(); - $bid = intval($bid); - if ($bid > 0) { - $banner = $xoops->getHandlerBanner()->get($bid); - if ($banner) { - if ($xoops->security->checkReferer()) { - $banner->setVar('clicks', $banner->getVar('clicks') + 1); - $xoops->getHandlerBanner()->insert($banner); - header('Location: ' . $banner->getVar('clickurl')); - exit(); - } else { - //No valid referer found so some javascript error or direct access found - echo _BANNERS_NO_REFERER; - } - } - } - $xoops->redirect(XOOPS_URL, 3, _BANNERS_NO_ID); -} - -$op = ''; -if (!empty($_POST['op'])) { - $op = $_POST['op']; -} else { - if (!empty($_GET['op'])) { - $op = $_GET['op']; - } -} - -$myts = MyTextSanitizer::getInstance(); -switch ($op) { - case "click": - $bid = 0; - if (!empty($_GET['bid'])) { - $bid = intval($_GET['bid']); - } - clickbanner($bid); - break; - case "Ok": - if ($_SERVER['REQUEST_METHOD'] == 'POST') { - if (!$xoops->security->check(true, false, "BANNER_LOGIN")) { - $xoops->redirect("banners.php", 3, implode('<br />', $xoops->security->getErrors())); - exit(); - } - - $_SESSION['banner_login'] = $myts->stripslashesGPC(trim($_POST['login'])); - $_SESSION['banner_pass'] = $myts->stripslashesGPC(trim($_POST['pass'])); - } - bannerstats(); - break; - case _BANNERS_CHANGE: - if (!$xoops->security->check(true, false, "BANNER_EDIT")) { - $xoops->redirect("banners.php", 3, implode('<br />', $xoops->security->getErrors())); - exit(); - } - $bid = $cid = 0; - if (!empty($_POST['url'])) { - $url = $myts->stripslashesGPC(trim($_POST['url'])); - } - if (!empty($_POST['bid'])) { - $bid = intval($_POST['bid']); - } - if (!empty($_POST['cid'])) { - $cid = intval($_POST['cid']); - } - change_banner_url_by_client($cid, $bid, $url); - break; - case "EmailStats": - $bid = $cid = 0; - if (!empty($_GET['bid'])) { - $bid = intval($_GET['bid']); - } - if (!empty($_GET['cid'])) { - $cid = intval($_GET['cid']); - } - EmailStats($cid, $bid); - break; - case "login": - default: - clientlogin(); - break; -} \ No newline at end of file Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/class/theme.php =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/class/theme.php 2012-01-02 23:01:51 UTC (rev 8628) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/class/theme.php 2012-01-02 23:04:32 UTC (rev 8629) @@ -307,7 +307,7 @@ 'xoops_sitename' => htmlspecialchars($xoops->getConfig('sitename'), ENT_QUOTES), 'xoops_slogan' => htmlspecialchars($xoops->getConfig('slogan'), ENT_QUOTES), 'xoops_dirname' => $xoops->moduleDirname, - 'xoops_banner' => ($xoops->getConfig('banners') && $this->renderBanner) ? $xoops->getBanner() : ' ', + 'xoops_banner' => $this->renderBanner ? $xoops->getBanner() : ' ', 'xoops_pagetitle' => $xoops->isModule() ? $xoops->module->getVar('name') : htmlspecialchars($xoops->getConfig('slogan'), ENT_QUOTES) )); Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/class/xoops.php =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/class/xoops.php 2012-01-02 23:01:51 UTC (rev 8628) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/class/xoops.php 2012-01-02 23:04:32 UTC (rev 8629) @@ -599,16 +599,6 @@ /** * @param mixed $optional * - * @return XoopsBannerfinishHandler - */ - public function getHandlerBannerfinish($optional = false) - { - return $this->getHandler('bannerfinish', $optional); - } - - /** - * @param mixed $optional - * * @return XoopsBlockHandler */ public function getHandlerBlock($optional = false) @@ -1310,48 +1300,56 @@ */ public function getBanner() { - $bresult = $this->db->query('SELECT COUNT(*) FROM ' . $this->db->prefix('banner')); - list ($numrows) = $this->db->fetchRow($bresult); - if ($numrows > 1) { - $numrows = $numrows - 1; - $bannum = mt_rand(0, $numrows); - } else { - $bannum = 0; - } - if ($numrows > 0) { - $bresult = $this->db->query('SELECT * FROM ' . $this->db->prefix('banner'), 1, $bannum); - list ($bid, $cid, $imptotal, $impmade, $clicks, $imageurl, $clickurl, $date, $htmlbanner, $htmlcode) = $this->db->fetchRow($bresult); - if ($this->getConfig('my_ip') == $this->getEnv('REMOTE_ADDR')) { - // EMPTY - } else { - $impmade = $impmade + 1; - $this->db->queryF(sprintf('UPDATE %s SET impmade = %u WHERE bid = %u', $this->db->prefix('banner'), $impmade, $bid)); - /** - * Check if this impression is the last one - */ - if ($imptotal > 0 && $impmade >= $imptotal) { - $newid = $this->db->genId($this->db->prefix('bannerfinish') . '_bid_seq'); - $sql = sprintf('INSERT INTO %s (bid, cid, impressions, clicks, datestart, dateend) VALUES (%u, %u, %u, %u, %u, %u)', $this->db->prefix('bannerfinish'), $newid, $cid, $impmade, $clicks, $date, time()); - $this->db->queryF($sql); - $this->db->queryF(sprintf('DELETE FROM %s WHERE bid = %u', $this->db->prefix('banner'), $bid)); + if ($this->getConfig('banners')) { + // Get banners handler + $banner_Handler = $this->getHandlerBanner(); + // Display banner + $criteria = new CriteriaCompo(); + $criteria->add(new Criteria('status', 0, '!=')); + $criteria->setSort('RAND()'); + $criteria->setStart(0); + $criteria->setLimit(1); + $banner_arr = $banner_Handler->getall($criteria); + $numrows = count($banner_arr); + if ($numrows > 0) { + foreach (array_keys($banner_arr) as $i) { + $imptotal = $banner_arr[$i]->getVar("imptotal"); + $impmade = $banner_arr[$i]->getVar("impmade"); + $htmlbanner = $banner_arr[$i]->getVar("htmlbanner"); + $htmlcode = $banner_arr[$i]->getVar("htmlcode"); + $imageurl = $banner_arr[$i]->getVar("imageurl"); + $bid = $banner_arr[$i]->getVar("bid"); + $clickurl = $banner_arr[$i]->getVar("clickurl"); } - } - /** - * Print the banner - */ - if ($htmlbanner) { - $bannerobject = $htmlcode; - } else { - $bannerobject = '<div id="xo-bannerfix">'; - if (stristr($imageurl, '.swf')) { - $bannerobject = $bannerobject . '<div id ="xo-fixbanner">' . '<a href="' . XOOPS_URL . '/banners.php?op=click&bid=' . $bid . '" rel="external" title="' . $clickurl . '"></a></div>' . '<object type="application/x-shockwave-flash" width="468" height="60" data="' . $imageurl . '" style="z-index:100;">' . '<param name="movie" value="' . $imageurl . '" />' . '<param name="wmode" value="opaque" />' . '</object>'; + if ($this->getConfig('my_ip') == $this->getEnv('REMOTE_ADDR')) { + // EMPTY } else { - $bannerobject = $bannerobject . '<a href="' . XOOPS_URL . '/banners.php?op=click&bid=' . $bid . '" rel="external" title="' . $clickurl . '"><img src="' . $imageurl . '" alt="' . $clickurl . '" /></a>'; + /** + * Check if this impression is the last one + */ + $impmade = $impmade + 1; + if ($imptotal > 0 && $impmade >= $imptotal) { + $this->db->queryF(sprintf('UPDATE %s SET status = %u, dateend = %u WHERE bid = %u', $this->db->prefix('banner'), 0, time(), $bid)); + }else{ + $this->db->queryF(sprintf('UPDATE %s SET impmade = %u WHERE bid = %u', $this->db->prefix('banner'), $impmade, $bid)); + } } - - $bannerobject = $bannerobject . '</div>'; + /** + * Print the banner + */ + if ($htmlbanner) { + $bannerobject = $htmlcode; + } else { + $bannerobject = '<div id="xo-bannerfix">'; + if (stristr($imageurl, '.swf')) { + $bannerobject .= '<div id ="xo-fixbanner">' . '<a href="' . XOOPS_URL . '/modules/banners/index.php?op=click&bid=' . $bid . '" rel="external" title="' . $clickurl . '"></a></div>' . '<object type="application/x-shockwave-flash" width="468" height="60" data="' . $imageurl . '" style="z-index:100;">' . '<param name="movie" value="' . $imageurl . '" />' . '<param name="wmode" value="opaque" />' . '</object>'; + } else { + $bannerobject .= '<a href="' . XOOPS_URL . '/modules/banners/index.php?op=click&bid=' . $bid . '" rel="external" title="' . $clickurl . '"><img src="' . $imageurl . '" alt="' . $clickurl . '" /></a>'; + } + $bannerobject .= '</div>'; + } + return $bannerobject; } - return $bannerobject; } return ''; } Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/install/include/makedata.php =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/install/include/makedata.php 2012-01-02 23:01:51 UTC (rev 8628) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/install/include/makedata.php 2012-01-02 23:04:32 UTC (rev 8629) @@ -73,9 +73,9 @@ $dbm->insert("group_permission", " VALUES(0," . $gruops['XOOPS_GROUP_ADMIN'] . ",16,1,'system_admin')"); $dbm->insert("group_permission", " VALUES(0," . $gruops['XOOPS_GROUP_ADMIN'] . ",17,1,'system_admin')"); // data for table 'banner' - $dbm->insert("banner", " (bid, cid, imptotal, impmade, clicks, imageurl, clickurl, date, htmlcode) VALUES (1, 1, 0, 1, 0, '" . XOOPS_URL . "/uploads/banners/xoops_flashbanner2.swf', 'http://www.xoops.org/', 1008813250, '')"); - $dbm->insert("banner", " (bid, cid, imptotal, impmade, clicks, imageurl, clickurl, date, htmlcode) VALUES (2, 1, 0, 1, 0, '" . XOOPS_URL . "/uploads/banners/xoops_banner_2.gif', 'http://www.xoops.org/', 1008813250, '')"); - $dbm->insert("banner", " (bid, cid, imptotal, impmade, clicks, imageurl, clickurl, date, htmlcode) VALUES (3, 1, 0, 1, 0, '" . XOOPS_URL . "/uploads/banners/banner.swf', 'http://www.xoops.org/', 1008813250, '')"); + $dbm->insert("banner", " (bid, cid, imptotal, impmade, clicks, imageurl, clickurl, datestart, dateend, htmlbanner, htmlcode, status) VALUES (1, 1, 0, 1, 0, '" . XOOPS_URL . "/uploads/banners/xoops_flashbanner2.swf', 'http://www.xoops.org/', " . time() . ", 0, 0, '', 1)"); + $dbm->insert("banner", " (bid, cid, imptotal, impmade, clicks, imageurl, clickurl, datestart, dateend, htmlbanner, htmlcode, status) VALUES (2, 1, 0, 1, 0, '" . XOOPS_URL . "/uploads/banners/xoops_banner_2.gif', 'http://www.xoops.org/', " . time() . ", 0, 0, '', 1)"); + $dbm->insert("banner", " (bid, cid, imptotal, impmade, clicks, imageurl, clickurl, datestart, dateend, htmlbanner, htmlcode, status) VALUES (3, 1, 0, 1, 0, '" . XOOPS_URL . "/uploads/banners/banner.swf', 'http://www.xoops.org/', " . time() . ", 0, 0, '', 1)"); // default theme $time = time(); $dbm->insert('tplset', " VALUES (1, 'default', 'XOOPS Default Template Set', '', " . $time . ")"); Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/install/sql/mysql.data.sql =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/install/sql/mysql.data.sql 2012-01-02 23:01:51 UTC (rev 8628) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/install/sql/mysql.data.sql 2012-01-02 23:04:32 UTC (rev 8629) @@ -13,14 +13,9 @@ # Dumping data for table `bannerclient` # -INSERT INTO bannerclient VALUES (0, 'XOOPS', 'XOOPS Dev Team', 'web...@xo...', '', '', ''); +INSERT INTO bannerclient VALUES (1,0, 'XOOPS', 'XOOPS Dev Team'); # -# Dumping data for table `bannerfinish` -# - - -# # Dumping data for table `comments` # Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/install/sql/mysql.structure.sql =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/install/sql/mysql.structure.sql 2012-01-02 23:01:51 UTC (rev 8628) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/install/sql/mysql.structure.sql 2012-01-02 23:04:32 UTC (rev 8629) @@ -1,579 +1,562 @@ -# -# Table structure for table `avatar` -# - -CREATE TABLE avatar ( - avatar_id mediumint(8) unsigned NOT NULL auto_increment, - avatar_file varchar(30) NOT NULL default '', - avatar_name varchar(100) NOT NULL default '', - avatar_mimetype varchar(30) NOT NULL default '', - avatar_created int(10) NOT NULL default '0', - avatar_display tinyint(1) unsigned NOT NULL default '0', - avatar_weight smallint(5) unsigned NOT NULL default '0', - avatar_type char(1) NOT NULL default '', - PRIMARY KEY (avatar_id), - KEY avatar_type (avatar_type, avatar_display) -) ENGINE=MyISAM; -# -------------------------------------------------------- - -# -# Table structure for table `avatar_user_link` -# - -CREATE TABLE avatar_user_link ( - avatar_id mediumint(8) unsigned NOT NULL default '0', - user_id mediumint(8) unsigned NOT NULL default '0', - KEY avatar_user_id (avatar_id,user_id) -) ENGINE=MyISAM; -# -------------------------------------------------------- - -# -# Table structure for table `banner` -# - -CREATE TABLE banner ( - bid smallint(5) unsigned NOT NULL auto_increment, - cid tinyint(3) unsigned NOT NULL default '0', - imptotal mediumint(8) unsigned NOT NULL default '0', - impmade mediumint(8) unsigned NOT NULL default '0', - clicks mediumint(8) unsigned NOT NULL default '0', - imageurl varchar(255) NOT NULL default '', - clickurl varchar(255) NOT NULL default '', - date int(10) NOT NULL default '0', - htmlbanner tinyint(1) NOT NULL default '0', - htmlcode text, - PRIMARY KEY (bid), - KEY idxbannercid (cid), - KEY idxbannerbidcid (bid,cid) -) ENGINE=MyISAM; -# -------------------------------------------------------- - -# -# Table structure for table `bannerclient` -# - -CREATE TABLE bannerclient ( - cid smallint(5) unsigned NOT NULL auto_increment, - name varchar(60) NOT NULL default '', - contact varchar(60) NOT NULL default '', - email varchar(60) NOT NULL default '', - login varchar(10) NOT NULL default '', - passwd varchar(10) NOT NULL default '', - extrainfo text, - PRIMARY KEY (cid), - KEY login (login) -) ENGINE=MyISAM; -# -------------------------------------------------------- - -# -# Table structure for table `bannerfinish` -# - -CREATE TABLE bannerfinish ( - bid smallint(5) unsigned NOT NULL auto_increment, - cid smallint(5) unsigned NOT NULL default '0', - impressions mediumint(8) unsigned NOT NULL default '0', - clicks mediumint(8) unsigned NOT NULL default '0', - datestart int(10) unsigned NOT NULL default '0', - dateend int(10) unsigned NOT NULL default '0', - PRIMARY KEY (bid), - KEY cid (cid) -) ENGINE=MyISAM; -# -------------------------------------------------------- - -# -# Table structure for table `block_module_link` -# - -CREATE TABLE block_module_link ( - block_id mediumint(8) unsigned NOT NULL default '0', - module_id smallint(5) NOT NULL default '0', - PRIMARY KEY (`module_id`, `block_id`) -) ENGINE=MyISAM; -# -------------------------------------------------------- - -# -# Table structure for table `comments` -# - -CREATE TABLE xoopscomments ( - com_id mediumint(8) unsigned NOT NULL auto_increment, - com_pid mediumint(8) unsigned NOT NULL default '0', - com_rootid mediumint(8) unsigned NOT NULL default '0', - com_modid smallint(5) unsigned NOT NULL default '0', - com_itemid mediumint(8) unsigned NOT NULL default '0', - com_icon varchar(25) NOT NULL default '', - com_created int(10) unsigned NOT NULL default '0', - com_modified int(10) unsigned NOT NULL default '0', - com_uid mediumint(8) unsigned NOT NULL default '0', - com_ip varchar(15) NOT NULL default '', - com_title varchar(255) NOT NULL default '', - com_text text, - com_sig tinyint(1) unsigned NOT NULL default '0', - com_status tinyint(1) unsigned NOT NULL default '0', - com_exparams varchar(255) NOT NULL default '', - dohtml tinyint(1) unsigned NOT NULL default '0', - dosmiley tinyint(1) unsigned NOT NULL default '0', - doxcode tinyint(1) unsigned NOT NULL default '0', - doimage tinyint(1) unsigned NOT NULL default '0', - dobr tinyint(1) unsigned NOT NULL default '0', - PRIMARY KEY (com_id), - KEY com_pid (com_pid), - KEY com_itemid (com_itemid), - KEY com_uid (com_uid), - KEY com_title (com_title(40)), - KEY com_status (com_status) -) ENGINE=MyISAM; -# -------------------------------------------------------- - -# RMV-NOTIFY -# Table structure for table `notifications` -# - -CREATE TABLE xoopsnotifications ( - not_id mediumint(8) unsigned NOT NULL auto_increment, - not_modid smallint(5) unsigned NOT NULL default '0', - not_itemid mediumint(8) unsigned NOT NULL default '0', - not_category varchar(30) NOT NULL default '', - not_event varchar(30) NOT NULL default '', - not_uid mediumint(8) unsigned NOT NULL default '0', - not_mode tinyint(1) NOT NULL default 0, - PRIMARY KEY (not_id), - KEY not_modid (not_modid), - KEY not_itemid (not_itemid), - KEY not_class (not_category), - KEY not_uid (not_uid), - KEY not_event (not_event) -) ENGINE=MyISAM; -# -------------------------------------------------------- - -# -# Table structure for table `config` -# - -CREATE TABLE config ( - conf_id smallint(5) unsigned NOT NULL auto_increment, - conf_modid smallint(5) unsigned NOT NULL default '0', - conf_catid smallint(5) unsigned NOT NULL default '0', - conf_name varchar(25) NOT NULL default '', - conf_title varchar(255) NOT NULL default '', - conf_value text, - conf_desc varchar(255) NOT NULL default '', - conf_formtype varchar(15) NOT NULL default '', - conf_valuetype varchar(10) NOT NULL default '', - conf_order smallint(5) unsigned NOT NULL default '0', - PRIMARY KEY (conf_id), - KEY conf_mod_cat_id (conf_modid, conf_catid), - KEY conf_order (conf_order) -) ENGINE=MyISAM; -# -------------------------------------------------------- - -# -# Table structure for table `configcategory` -# - -CREATE TABLE configcategory ( - confcat_id smallint(5) unsigned NOT NULL auto_increment, - confcat_name varchar(255) NOT NULL default '', - confcat_order smallint(5) unsigned NOT NULL default '0', - PRIMARY KEY (confcat_id) -) ENGINE=MyISAM; -# -------------------------------------------------------- - -# -# Table structure for table `configoption` -# - -CREATE TABLE configoption ( - confop_id mediumint(8) unsigned NOT NULL auto_increment, - confop_name varchar(255) NOT NULL default '', - confop_value varchar(255) NOT NULL default '', - conf_id smallint(5) unsigned NOT NULL default '0', - PRIMARY KEY (confop_id), - KEY conf_id (conf_id) -) ENGINE=MyISAM; -# -------------------------------------------------------- - -# -# Table structure for table `groups` -# - -CREATE TABLE groups ( - groupid smallint(5) unsigned NOT NULL auto_increment, - name varchar(50) NOT NULL default '', - description text, - group_type varchar(10) NOT NULL default '', - - PRIMARY KEY (groupid), - KEY group_type (group_type) -) ENGINE=MyISAM; -# -------------------------------------------------------- - -# -# Table structure for table `group_permission` -# - -CREATE TABLE group_permission ( - gperm_id int(10) unsigned NOT NULL auto_increment, - gperm_groupid smallint(5) unsigned NOT NULL default '0', - gperm_itemid mediumint(8) unsigned NOT NULL default '0', - gperm_modid mediumint(5) unsigned NOT NULL default '0', - gperm_name varchar(50) NOT NULL default '', - PRIMARY KEY (gperm_id), - KEY groupid (gperm_groupid), - KEY itemid (gperm_itemid), - KEY gperm_modid (gperm_modid,gperm_name(10)) -) ENGINE=MyISAM; -# -------------------------------------------------------- - - -# -# Table structure for table `groups_users_link` -# - -CREATE TABLE groups_users_link ( - linkid mediumint(8) unsigned NOT NULL auto_increment, - groupid smallint(5) unsigned NOT NULL default '0', - uid mediumint(8) unsigned NOT NULL default '0', - PRIMARY KEY (linkid), - KEY groupid_uid (groupid,uid) -) ENGINE=MyISAM; -# -------------------------------------------------------- - -# -# Table structure for table `image` -# - -CREATE TABLE image ( - image_id mediumint(8) unsigned NOT NULL auto_increment, - image_name varchar(30) NOT NULL default '', - image_nicename varchar(255) NOT NULL default '', - image_mimetype varchar(30) NOT NULL default '', - image_created int(10) unsigned NOT NULL default '0', - image_display tinyint(1) unsigned NOT NULL default '0', - image_weight smallint(5) unsigned NOT NULL default '0', - imgcat_id smallint(5) unsigned NOT NULL default '0', - PRIMARY KEY (image_id), - KEY imgcat_id (imgcat_id), - KEY image_display (image_display) -) ENGINE=MyISAM; -# -------------------------------------------------------- - -# -# Table structure for table `imagebody` -# - -CREATE TABLE imagebody ( - image_id mediumint(8) unsigned NOT NULL default '0', - image_body mediumblob, - KEY image_id (image_id) -) ENGINE=MyISAM; -# -------------------------------------------------------- - -# -# Table structure for table `imagecategory` -# - -CREATE TABLE imagecategory ( - imgcat_id smallint(5) unsigned NOT NULL auto_increment, - imgcat_name varchar(100) NOT NULL default '', - imgcat_maxsize int(8) unsigned NOT NULL default '0', - imgcat_maxwidth smallint(3) unsigned NOT NULL default '0', - imgcat_maxheight smallint(3) unsigned NOT NULL default '0', - imgcat_display tinyint(1) unsigned NOT NULL default '0', - imgcat_weight smallint(3) unsigned NOT NULL default '0', - imgcat_type char(1) NOT NULL default '', - imgcat_storetype varchar(5) NOT NULL default '', - PRIMARY KEY (imgcat_id), - KEY imgcat_display (imgcat_display) -) ENGINE=MyISAM; -# -------------------------------------------------------- - - -# -# Table structure for table `imgset` -# - -CREATE TABLE imgset ( - imgset_id smallint(5) unsigned NOT NULL auto_increment, - imgset_name varchar(50) NOT NULL default '', - imgset_refid mediumint(8) unsigned NOT NULL default '0', - PRIMARY KEY (imgset_id), - KEY imgset_refid (imgset_refid) -) ENGINE=MyISAM; -# -------------------------------------------------------- - -# -# Table structure for table `imgset_tplset_link` -# - -CREATE TABLE imgset_tplset_link ( - imgset_id smallint(5) unsigned NOT NULL default '0', - tplset_name varchar(50) NOT NULL default '', - KEY tplset_name (tplset_name(10)) -) ENGINE=MyISAM; -# -------------------------------------------------------- - -# -# Table structure for table `imgsetimg` -# - -CREATE TABLE imgsetimg ( - imgsetimg_id mediumint(8) unsigned NOT NULL auto_increment, - imgsetimg_file varchar(50) NOT NULL default '', - imgsetimg_body blob, - imgsetimg_imgset smallint(5) unsigned NOT NULL default '0', - PRIMARY KEY (imgsetimg_id), - KEY imgsetimg_imgset (imgsetimg_imgset) -) ENGINE=MyISAM; -# -------------------------------------------------------- - -# -# Table structure for table `modules` -# - -CREATE TABLE modules ( - mid smallint(5) unsigned NOT NULL auto_increment, - name varchar(150) NOT NULL default '', - version smallint(5) unsigned NOT NULL default '100', - last_update int(10) unsigned NOT NULL default '0', - weight smallint(3) unsigned NOT NULL default '0', - isactive tinyint(1) unsigned NOT NULL default '0', - dirname varchar(25) NOT NULL default '', - hasmain tinyint(1) unsigned NOT NULL default '0', - hasadmin tinyint(1) unsigned NOT NULL default '0', - hassearch tinyint(1) unsigned NOT NULL default '0', - hasconfig tinyint(1) unsigned NOT NULL default '0', - hascomments tinyint(1) unsigned NOT NULL default '0', - hasnotification tinyint(1) unsigned NOT NULL default '0', - PRIMARY KEY (mid), - KEY hasmain (hasmain), - KEY hasadmin (hasadmin), - KEY hassearch (hassearch), - KEY hasnotification (hasnotification), - KEY dirname (dirname), - KEY name (name(15)), - KEY isactive (isactive), - KEY weight (weight), - KEY hascomments (hascomments) -) ENGINE=MyISAM; -# -------------------------------------------------------- - -# -# Table structure for table `newblocks` -# - -CREATE TABLE newblocks ( - bid mediumint(8) unsigned NOT NULL auto_increment, - mid smallint(5) unsigned NOT NULL default '0', - func_num tinyint(3) unsigned NOT NULL default '0', - options varchar(255) NOT NULL default '', - name varchar(150) NOT NULL default '', - title varchar(255) NOT NULL default '', - content text, - side tinyint(1) unsigned NOT NULL default '0', - weight smallint(5) unsigned NOT NULL default '0', - visible tinyint(1) unsigned NOT NULL default '0', - block_type char(1) NOT NULL default '', - c_type char(1) NOT NULL default '', - isactive tinyint(1) unsigned NOT NULL default '0', - dirname varchar(50) NOT NULL default '', - func_file varchar(50) NOT NULL default '', - show_func varchar(50) NOT NULL default '', - edit_func varchar(50) NOT NULL default '', - template varchar(50) NOT NULL default '', - bcachetime int(10) unsigned NOT NULL default '0', - last_modified int(10) unsigned NOT NULL default '0', - PRIMARY KEY (bid), - KEY mid (mid), - KEY visible (visible), - KEY isactive_visible_mid (isactive,visible,mid), - KEY mid_funcnum (mid,func_num) -) ENGINE=MyISAM; -# -------------------------------------------------------- - -# -# Table structure for table `online` -# - -CREATE TABLE online ( - online_uid mediumint(8) unsigned NOT NULL default '0', - online_uname varchar(25) NOT NULL default '', - online_updated int(10) unsigned NOT NULL default '0', - online_module smallint(5) unsigned NOT NULL default '0', - online_ip varchar(15) NOT NULL default '', - KEY online_module (online_module), - KEY online_updated (online_updated), - KEY online_uid (online_uid) -) ENGINE=MyISAM; -# -------------------------------------------------------- - -# -# Table structure for table `priv_msgs` -# - -CREATE TABLE priv_msgs ( - msg_id mediumint(8) unsigned NOT NULL auto_increment, - msg_image varchar(100) default NULL, - subject varchar(255) NOT NULL default '', - from_userid mediumint(8) unsigned NOT NULL default '0', - to_userid mediumint(8) unsigned NOT NULL default '0', - msg_time int(10) unsigned NOT NULL default '0', - msg_text text, - read_msg tinyint(1) unsigned NOT NULL default '0', - PRIMARY KEY (msg_id), - KEY to_userid (to_userid), - KEY touseridreadmsg (to_userid,read_msg), - KEY msgidfromuserid (from_userid, msg_id) -) ENGINE=MyISAM; -# -------------------------------------------------------- - -# -# Table structure for table `ranks` -# - -CREATE TABLE ranks ( - rank_id smallint(5) unsigned NOT NULL auto_increment, - rank_title varchar(50) NOT NULL default '', - rank_min mediumint(8) unsigned NOT NULL default '0', - rank_max mediumint(8) unsigned NOT NULL default '0', - rank_special tinyint(1) unsigned NOT NULL default '0', - rank_image varchar(255) default NULL, - PRIMARY KEY (rank_id), - KEY rank_min (rank_min), - KEY rank_max (rank_max), - KEY rankminrankmaxranspecial (rank_min,rank_max,rank_special), - KEY rankspecial (rank_special) -) ENGINE=MyISAM; -# -------------------------------------------------------- - -# -# Table structure for table `session` -# - -CREATE TABLE session ( - sess_id varchar(32) NOT NULL default '', - sess_updated int(10) unsigned NOT NULL default '0', - sess_ip varchar(15) NOT NULL default '', - sess_data text, - PRIMARY KEY (sess_id), - KEY updated (sess_updated) -) ENGINE=MyISAM; -# -------------------------------------------------------- - -# -# Table structure for table `smiles` -# - -CREATE TABLE smiles ( - id smallint(5) unsigned NOT NULL auto_increment, - code varchar(50) NOT NULL default '', - smile_url varchar(100) NOT NULL default '', - emotion varchar(75) NOT NULL default '', - display tinyint(1) NOT NULL default '0', - PRIMARY KEY (id) -) ENGINE=MyISAM; -# -------------------------------------------------------- - -# -# Table structure for table `tplset` -# - -CREATE TABLE tplset ( - tplset_id int(7) unsigned NOT NULL auto_increment, - tplset_name varchar(50) NOT NULL default '', - tplset_desc varchar(255) NOT NULL default '', - tplset_credits text, - tplset_created int(10) unsigned NOT NULL default '0', - PRIMARY KEY (tplset_id) -) ENGINE=MyISAM; -# -------------------------------------------------------- - -# -# Table structure for table `tplfile` -# - -CREATE TABLE tplfile ( - tpl_id mediumint(7) unsigned NOT NULL auto_increment, - tpl_refid smallint(5) unsigned NOT NULL default '0', - tpl_module varchar(25) NOT NULL default '', - tpl_tplset varchar(50) NOT NULL default '', - tpl_file varchar(50) NOT NULL default '', - tpl_desc varchar(255) NOT NULL default '', - tpl_lastmodified int(10) unsigned NOT NULL default '0', - tpl_lastimported int(10) unsigned NOT NULL default '0', - tpl_type varchar(20) NOT NULL default '', - PRIMARY KEY (tpl_id), - KEY tpl_refid (tpl_refid,tpl_type), - KEY tpl_tplset (tpl_tplset,tpl_file(10)) -) ENGINE=MyISAM; -# -------------------------------------------------------- - -# -# Table structure for table `tplsource` -# - -CREATE TABLE tplsource ( - tpl_id mediumint(7) unsigned NOT NULL default '0', - tpl_source mediumtext, - KEY tpl_id (tpl_id) -) ENGINE=MyISAM; -# -------------------------------------------------------- - -# Table structure for table `users` -# - -CREATE TABLE users ( - uid mediumint(8) unsigned NOT NULL auto_increment, - name varchar(60) NOT NULL default '', - uname varchar(25) NOT NULL default '', - email varchar(60) NOT NULL default '', - url varchar(100) NOT NULL default '', - user_avatar varchar(30) NOT NULL default 'blank.gif', - user_regdate int(10) unsigned NOT NULL default '0', - user_icq varchar(15) NOT NULL default '', - user_from varchar(100) NOT NULL default '', - user_sig tinytext, - user_viewemail tinyint(1) unsigned NOT NULL default '0', - actkey varchar(8) NOT NULL default '', - user_aim varchar(18) NOT NULL default '', - user_yim varchar(25) NOT NULL default '', - user_msnm varchar(100) NOT NULL default '', - pass varchar(32) NOT NULL default '', - posts mediumint(8) unsigned NOT NULL default '0', - attachsig tinyint(1) unsigned NOT NULL default '0', - rank smallint(5) unsigned NOT NULL default '0', - level tinyint(3) unsigned NOT NULL default '1', - theme varchar(100) NOT NULL default '', - timezone_offset float(3,1) NOT NULL default '0.0', - last_login int(10) unsigned NOT NULL default '0', - umode varchar(10) NOT NULL default '', - uorder tinyint(1) unsigned NOT NULL default '0', - notify_method tinyint(1) NOT NULL default '1', - notify_mode tinyint(1) NOT NULL default '0', - user_occ varchar(100) NOT NULL default '', - bio tinytext, - user_intrest varchar(150) NOT NULL default '', - user_mailok tinyint(1) unsigned NOT NULL default '1', - PRIMARY KEY (uid), - KEY uname (uname), - KEY email (email), - KEY uiduname (uid,uname), - KEY unamepass (uname,pass), - KEY level (level) -) ENGINE=MyISAM; -# -------------------------------------------------------- - -# -# Table structure for table `cache_model` -# - -CREATE TABLE cache_model ( - `cache_key` varchar(64) NOT NULL default '', - `cache_expires` int(10) unsigned NOT NULL default '0', - `cache_data` text, - - PRIMARY KEY (`cache_key`), - KEY `cache_expires` (`cache_expires`) -) ENGINE=MyISAM; -# -------------------------------------------------------- +# +# Table structure for table `avatar` +# + +CREATE TABLE avatar ( + avatar_id mediumint(8) unsigned NOT NULL auto_increment, + avatar_file varchar(30) NOT NULL default '', + avatar_name varchar(100) NOT NULL default '', + avatar_mimetype varchar(30) NOT NULL default '', + avatar_created int(10) NOT NULL default '0', + avatar_display tinyint(1) unsigned NOT NULL default '0', + avatar_weight smallint(5) unsigned NOT NULL default '0', + avatar_type char(1) NOT NULL default '', + PRIMARY KEY (avatar_id), + KEY avatar_type (avatar_type, avatar_display) +) ENGINE=MyISAM; +# -------------------------------------------------------- + +# +# Table structure for table `avatar_user_link` +# + +CREATE TABLE avatar_user_link ( + avatar_id mediumint(8) unsigned NOT NULL default '0', + user_id mediumint(8) unsigned NOT NULL default '0', + KEY avatar_user_id (avatar_id,user_id) +) ENGINE=MyISAM; +# -------------------------------------------------------- + +# +# Table structure for table `banner` +# + +CREATE TABLE banner ( + bid smallint(5) unsigned NOT NULL auto_increment, + cid tinyint(3) unsigned NOT NULL default '0', + imptotal mediumint(8) unsigned NOT NULL default '0', + impmade mediumint(8) unsigned NOT NULL default '0', + clicks mediumint(8) unsigned NOT NULL default '0', + imageurl varchar(255) NOT NULL default '', + clickurl varchar(255) NOT NULL default '', + datestart int(10) NOT NULL default '0', + dateend int(10) NOT NULL default '0', + htmlbanner tinyint(1) NOT NULL default '0', + htmlcode text, + status tinyint(1) NOT NULL default '0', + PRIMARY KEY (bid), + KEY idxbannercid (cid), + KEY idxbannerbidcid (bid,cid) +) ENGINE=MyISAM; +# -------------------------------------------------------- + +# +# Table structure for table `bannerclient` +# + +CREATE TABLE bannerclient ( + cid smallint(5) unsigned NOT NULL auto_increment, + uid mediumint(8) unsigned NOT NULL default '0', + name varchar(60) NOT NULL default '', + extrainfo text, + PRIMARY KEY (cid), + KEY name (name) +) ENGINE=MyISAM; +# -------------------------------------------------------- + +# +# Table structure for table `block_module_link` +# + +CREATE TABLE block_module_link ( + block_id mediumint(8) unsigned NOT NULL default '0', + module_id smallint(5) NOT NULL default '0', + PRIMARY KEY (`module_id`, `block_id`) +) ENGINE=MyISAM; +# -------------------------------------------------------- + +# +# Table structure for table `comments` +# + +CREATE TABLE xoopscomments ( + com_id mediumint(8) unsigned NOT NULL auto_increment, + com_pid mediumint(8) unsigned NOT NULL default '0', + com_rootid mediumint(8) unsigned NOT NULL default '0', + com_modid smallint(5) unsigned NOT NULL default '0', + com_itemid mediumint(8) unsigned NOT NULL default '0', + com_icon varchar(25) NOT NULL default '', + com_created int(10) unsigned NOT NULL default '0', + com_modified int(10) unsigned NOT NULL default '0', + com_uid mediumint(8) unsigned NOT NULL default '0', + com_ip varchar(15) NOT NULL default '', + com_title varchar(255) NOT NULL default '', + com_text text, + com_sig tinyint(1) unsigned NOT NULL default '0', + com_status tinyint(1) unsigned NOT NULL default '0', + com_exparams varchar(255) NOT NULL default '', + dohtml tinyint(1) unsigned NOT NULL default '0', + dosmiley tinyint(1) unsigned NOT NULL default '0', + doxcode tinyint(1) unsigned NOT NULL default '0', + doimage tinyint(1) unsigned NOT NULL default '0', + dobr tinyint(1) unsigned NOT NULL default '0', + PRIMARY KEY (com_id), + KEY com_pid (com_pid), + KEY com_itemid (com_itemid), + KEY com_uid (com_uid), + KEY com_title (com_title(40)), + KEY com_status (com_status) +) ENGINE=MyISAM; +# -------------------------------------------------------- + +# RMV-NOTIFY +# Table structure for table `notifications` +# + +CREATE TABLE xoopsnotifications ( + not_id mediumint(8) unsigned NOT NULL auto_increment, + not_modid smallint(5) unsigned NOT NULL default '0', + not_itemid mediumint(8) unsigned NOT NULL default '0', + not_category varchar(30) NOT NULL default '', + not_event varchar(30) NOT NULL default '', + not_uid mediumint(8) unsigned NOT NULL default '0', + not_mode tinyint(1) NOT NULL default 0, + PRIMARY KEY (not_id), + KEY not_modid (not_modid), + KEY not_itemid (not_itemid), + KEY not_class (not_category), + KEY not_uid (not_uid), + KEY not_event (not_event) +) ENGINE=MyISAM; +# -------------------------------------------------------- + +# +# Table structure for table `config` +# + +CREATE TABLE config ( + conf_id smallint(5) unsigned NOT NULL auto_increment, + conf_modid smallint(5) unsigned NOT NULL default '0', + conf_catid smallint(5) unsigned NOT NULL default '0', + conf_name varchar(25) NOT NULL default '', + conf_title varchar(255) NOT NULL default '', + conf_value text, + conf_desc varchar(255) NOT NULL default '', + conf_formtype varchar(15) NOT NULL default '', + conf_valuetype varchar(10) NOT NULL default '', + conf_order smallint(5) unsigned NOT NULL default '0', + PRIMARY KEY (conf_id), + KEY conf_mod_cat_id (conf_modid, conf_catid), + KEY conf_order (conf_order) +) ENGINE=MyISAM; +# -------------------------------------------------------- + +# +# Table structure for table `configcategory` +# + +CREATE TABLE configcategory ( + confcat_id smallint(5) unsigned NOT NULL auto_increment, + confcat_name varchar(255) NOT NULL default '', + confcat_order smallint(5) unsigned NOT NULL default '0', + PRIMARY KEY (confcat_id) +) ENGINE=MyISAM; +# -------------------------------------------------------- + +# +# Table structure for table `configoption` +# + +CREATE TABLE configoption ( + confop_id mediumint(8) unsigned NOT NULL auto_increment, + confop_name varchar(255) NOT NULL default '', + confop_value varchar(255) NOT NULL default '', + conf_id smallint(5) unsigned NOT NULL default '0', + PRIMARY KEY (confop_id), + KEY conf_id (conf_id) +) ENGINE=MyISAM; +# -------------------------------------------------------- + +# +# Table structure for table `groups` +# + +CREATE TABLE groups ( + groupid smallint(5) unsigned NOT NULL auto_increment, + name varchar(50) NOT NULL default '', + description text, + group_type varchar(10) NOT NULL default '', + + PRIMARY KEY (groupid), + KEY group_type (group_type) +) ENGINE=MyISAM; +# -------------------------------------------------------- + +# +# Table structure for table `group_permission` +# + +CREATE TABLE group_permission ( + gperm_id int(10) unsigned NOT NULL auto_increment, + gperm_groupid smallint(5) unsigned NOT NULL default '0', + gperm_itemid mediumint(8) unsigned NOT NULL default '0', + gperm_modid mediumint(5) unsigned NOT NULL default '0', + gperm_name varchar(50) NOT NULL default '', + PRIMARY KEY (gperm_id), + KEY groupid (gperm_groupid), + KEY itemid (gperm_itemid), + KEY gperm_modid (gperm_modid,gperm_name(10)) +) ENGINE=MyISAM; +# -------------------------------------------------------- + + +# +# Table structure for table `groups_users_link` +# + +CREATE TABLE groups_users_link ( + linkid mediumint(8) unsigned NOT NULL auto_increment, + groupid smallint(5) unsigned NOT NULL default '0', + uid mediumint(8) unsigned NOT NULL default '0', + PRIMARY KEY (linkid), + KEY groupid_uid (groupid,uid) +) ENGINE=MyISAM; +# -------------------------------------------------------- + +# +# Table structure for table `image` +# + +CREATE TABLE image ( + image_id mediumint(8) unsigned NOT NULL auto_increment, + image_name varchar(30) NOT NULL default '', + image_nicename varchar(255) NOT NULL default '', + image_mimetype varchar(30) NOT NULL default '', + image_created int(10) unsigned NOT NULL default '0', + image_display tinyint(1) unsigned NOT NULL default '0', + image_weight smallint(5) unsigned NOT NULL default '0', + imgcat_id smallint(5) unsigned NOT NULL default '0', + PRIMARY KEY (image_id), + KEY imgcat_id (imgcat_id), + KEY image_display (image_display) +) ENGINE=MyISAM; +# -------------------------------------------------------- + +# +# Table structure for table `imagebody` +# + +CREATE TABLE imagebody ( + image_id mediumint(8) unsigned NOT NULL default '0', + image_body mediumblob, + KEY image_id (image_id) +) ENGINE=MyISAM; +# -------------------------------------------------------- + +# +# Table structure for table `imagecategory` +# + +CREATE TABLE imagecategory ( + imgcat_id smallint(5) unsigned NOT NULL auto_increment, + imgcat_name varchar(100) NOT NULL default '', + imgcat_maxsize int(8) unsigned NOT NULL default '0', + imgcat_maxwidth smallint(3) unsigned NOT NULL default '0', + imgcat_maxheight smallint(3) unsigned NOT NULL default '0', + imgcat_display tinyint(1) unsigned NOT NULL default '0', + imgcat_weight smallint(3) unsigned NOT NULL default '0', + imgcat_type char(1) NOT NULL default '', + imgcat_storetype varchar(5) NOT NULL default '', + PRIMARY KEY (imgcat_id), + KEY imgcat_display (imgcat_display) +) ENGINE=MyISAM; +# -------------------------------------------------------- + + +# +# Table structure for table `imgset` +# + +CREATE TABLE imgset ( + imgset_id smallint(5) unsigned NOT NULL auto_increment, + imgset_name varchar(50) NOT NULL default '', + imgset_refid mediumint(8) unsigned NOT NULL default '0', + PRIMARY KEY (imgset_id), + KEY imgset_refid (imgset_refid) +) ENGINE=MyISAM; +# -------------------------------------------------------- + +# +# Table structure for table `imgset_tplset_link` +# + +CREATE TABLE imgset_tplset_link ( + imgset_id smallint(5) unsigned NOT NULL default '0', + tplset_name varchar(50) NOT NULL default '', + KEY tplset_name (tplset_name(10)) +) ENGINE=MyISAM; +# -------------------------------------------------------- + +# +# Table structure for table `imgsetimg` +# + +CREATE TABLE imgsetimg ( + imgsetimg_id mediumint(8) unsigned NOT NULL auto_increment, + imgsetimg_file varchar(50) NOT NULL default '', + imgsetimg_body blob, + imgsetimg_imgset smallint(5) unsigned NOT NULL default '0', + PRIMARY KEY (imgsetimg_id), + KEY imgsetimg_imgset (imgsetimg_imgset) +) ENGINE=MyISAM; +# -------------------------------------------------------- + +# +# Table structure for table `modules` +# + +CREATE TABLE modules ( + mid smallint(5) unsigned NOT NULL auto_increment, + name varchar(150) NOT NULL default '', + version smallint(5) unsigned NOT NULL default '100', + last_update int(10) unsigned NOT NULL default '0', + weight smallint(3) unsigned NOT NULL default '0', + isactive tinyint(1) unsigned NOT NULL default '0', + dirname varchar(25) NOT NULL default '', + hasmain tinyint(1) unsigned NOT NULL default '0', + hasadmin tinyint(1) unsigned NOT NULL default '0', + hassearch tinyint(1) unsigned NOT NULL default '0', + hasconfig tinyint(1) unsigned NOT NULL default '0', + hascomments tinyint(1) unsigned NOT NULL default '0', + hasnotification tinyint(1) unsigned NOT NULL default '0', + PRIMARY KEY (mid), + KEY hasmain (hasmain), + KEY hasadmin (hasadmin), + KEY hassearch (hassearch), + KEY hasnotification (hasnotification), + KEY dirname (dirname), + KEY name (name(15)), + KEY isactive (isactive), + KEY weight (weight), + KEY hascomments (hascomments) +) ENGINE=MyISAM; +# -------------------------------------------------------- + +# +# Table structure for table `newblocks` +# + +CREATE TABLE newblocks ( + bid mediumint(8) unsigned NOT NULL auto_increment, + mid smallint(5) unsigned NOT NULL default '0', + func_num tinyint(3) unsigned NOT NULL default '0', + options varchar(255) NOT NULL default '', + name varchar(150) NOT NULL default '', + title varchar(255) NOT NULL default '', + content text, + side tinyint(1) unsigned NOT NULL default '0', + weight smallint(5) unsigned NOT NULL default '0', + visible tinyint(1) unsigned NOT NULL default '0', + block_type char(1) NOT NULL default '', + c_type char(1) NOT NULL default '', + isactive tinyint(1) unsigned NOT NULL default '0', + dirname varchar(50) NOT NULL default '', + func_file varchar(50) NOT NULL default '', + show_func varchar(50) NOT NULL default '', + edit_func varchar(50) NOT NULL default '', + template varchar(50) NOT NULL default '', + bcachetime int(10) unsigned NOT NULL default '0', + last_modified int(10) unsigned NOT NULL default '0', + PRIMARY KEY (bid), + KEY mid (mid), + KEY visible (visible), + KEY isactive_visible_mid (isactive,visible,mid), + KEY mid_funcnum (mid,func_num) +) ENGINE=MyISAM; +# -------------------------------------------------------- + +# +# Table structure for table `online` +# + +CREATE TABLE online ( + online_uid mediumint(8) unsigned NOT NULL default '0', + online_uname varchar(25) NOT NULL default '', + online_updated int(10) unsigned NOT NULL default '0', + online_module smallint(5) unsigned NOT NULL default '0', + online_ip varchar(15) NOT NULL default '', + KEY online_module (online_module), + KEY online_updated (online_updated), + ... [truncated message content] |
From: <ma...@us...> - 2012-01-02 23:02:00
|
Revision: 8628 http://xoops.svn.sourceforge.net/xoops/?rev=8628&view=rev Author: mageg Date: 2012-01-02 23:01:51 +0000 (Mon, 02 Jan 2012) Log Message: ----------- New banners module (system update sql tables from 2.5.4 integrated) Modified Paths: -------------- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/banners/admin/about.php XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/banners/admin/banners.php XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/banners/admin/header.php XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/banners/admin/index.php XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/banners/admin/menu.php XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/banners/class/form/banner.php XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/banners/class/form/bannerclient.php XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/banners/include/install.php XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/banners/index.php XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/banners/language/english/admin.php XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/banners/language/english/help/help.html XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/banners/language/english/modinfo.php XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/banners/templates/banners_client.html XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/banners/xoops_version.php Added Paths: ----------- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/banners/admin/clients.php XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/banners/include/functions.php XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/banners/language/english/main.php XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/banners/templates/admin/banners_admin_banners.html XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/banners/templates/admin/banners_admin_clients.html Removed Paths: ------------- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/banners/class/client.php XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/banners/css/ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/banners/images/banners/ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/banners/images/logo_small.png XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/banners/images/password.gif XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/banners/images/password.png XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/banners/templates/admin/banners_banners.html XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/banners/templates/banners_login.html Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/banners/admin/about.php =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/banners/admin/about.php 2012-01-02 08:54:32 UTC (rev 8627) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/banners/admin/about.php 2012-01-02 23:01:51 UTC (rev 8628) @@ -16,7 +16,7 @@ * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html) * @package banners * @since 2.6.0 - * @author + * @author Mage Gr\xE9gory (AKA Mage) * @version $Id$ */ include dirname(__FILE__) . '/header.php'; @@ -24,5 +24,4 @@ $aboutAdmin = new XoopsModuleAdmin(); $aboutAdmin->renderNavigation('about.php'); $aboutAdmin->renderAbout('6KJ7RW5DR3VTJ', true); -$xoops->footer(); - +$xoops->footer(); \ No newline at end of file Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/banners/admin/banners.php =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/banners/admin/banners.php 2012-01-02 08:54:32 UTC (rev 8627) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/banners/admin/banners.php 2012-01-02 23:01:51 UTC (rev 8628) @@ -16,363 +16,322 @@ * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html) * @package banners * @since 2.6.0 - * @author + * @author Mage Gr\xE9gory (AKA Mage) * @version $Id$ */ include dirname(__FILE__) . '/header.php'; - -// Get main instance +// Get main instance $system = System::getInstance(); -// Get Action type +// Check users rights +if (!$xoops->isUser() || !$xoops->isModule() || !$xoops->user->isAdmin($xoops->module->mid())) { + exit(_NOPERM); +} +// Check is active +if (!$xoops->getModuleConfig('active_banners', 'system')) { + $xoops->redirect('admin.php', 2, _AM_SYSTEM_NOTACTIVE); +} +// Parameters +$nb_banners = $xoops->getModuleConfig('banners_pager'); +$mimetypes = array('image/gif', 'image/jpeg', 'image/pjpeg', 'image/x-png', 'image/png', 'application/x-shockwave-flash'); +$upload_size = 500000; +// Get Action type $op = $system->cleanVars($_REQUEST, 'op', 'default', 'string'); -// Get banners handler -$banner_Handler = $xoops->getHandlerBanner(); -$banner_finish_Handler = $xoops->getHandlerBannerfinish(); -$banner_client_Handler = $xoops->getHandlerBannerclient(); +// Get banners handler +$banner_Handler = $xoops->getHandlerBanner(); +$client_Handler = $xoops->getHandlerBannerclient(); // Call header -$xoops->header('banners_banners.html'); +$xoops->header('banners_admin_banners.html'); +// Get Action type +$op = $system->cleanVars($_REQUEST, 'op', 'list', 'string'); +// Get start pager +$start = $system->cleanVars($_REQUEST, 'start', 0, 'int'); +$startF = $system->cleanVars($_REQUEST, 'startF', 0, 'int'); + $admin_page = new XoopsModuleAdmin(); $admin_page->renderNavigation('banners.php'); -// Parameters -$nb_aff = $xoops->getModuleConfig('banners_pager'); -// Define Stylesheet -$xoops->theme->addStylesheet('modules/system/css/admin.css'); -$xoops->theme->addStylesheet('media/jquery/ui/' . $xoops->getModuleConfig('jquery_theme', 'system') . '/ui.all.css'); -// Define scripts -$xoops->theme->addScript($xoops->url('/media/jquery/plugins/jquery.ui.js')); -$xoops->theme->addScript($xoops->url('/media/jquery/plugins/jquery.tablesorter.js')); -$xoops->theme->addScript('modules/system/js/admin.js'); -switch ($op) { - - case 'list': +switch ($op) { + + case 'list': default: - $admin_page->addTips(_BANNERS_AM_TIPS); - $admin_page->addItemButton(_BANNERS_AM_NAV_ADDBNR, 'banners.php?op=banner_new', 'add'); - $admin_page->addItemButton(_BANNERS_AM_ADDCLI, 'banners.php?op=client_new', 'add'); + // Define Stylesheet + $xoops->theme->addStylesheet('media/jquery/ui/' . $xoops->getModuleConfig('jquery_theme', 'system') . '/ui.all.css'); + // Define scripts + $xoops->theme->addScript($xoops->url('/media/jquery/plugins/jquery.ui.js')); + $xoops->theme->addScript('modules/system/js/admin.js'); + + $admin_page->addTips(_AM_BANNERS_TIPS_BANNERS); + $admin_page->addItemButton(_AM_BANNERS_BANNERS_ADD, 'banners.php?op=new', 'add'); $admin_page->renderTips(); - $admin_page->renderButton(); - // Get start pager - $start = $system->cleanVars($_REQUEST, 'start', 0, 'int'); - $startF = $system->cleanVars($_REQUEST, 'startF', 0, 'int'); - $startC = $system->cleanVars($_REQUEST, 'startC', 0, 'int'); - // Display Banners - // Criteria - $criteria = new CriteriaCompo(); - $criteria->setSort("date"); - $criteria->setOrder("DESC"); - $criteria->setStart($start); - $criteria->setLimit($nb_aff); - - $banner_count = $banner_Handler->getCount($criteria); - $banner_arr = $banner_Handler->getAll($criteria); - - $xoops->tpl->assign('banner_count', $banner_count); - - if ($banner_count > 0) { - foreach (array_keys($banner_arr) as $i) { - $bid = $banner_arr[$i]->getVar("bid"); - $imptotal = $banner_arr[$i]->getVar("imptotal"); - $impmade = $banner_arr[$i]->getVar("impmade"); - $imageurl = $banner_arr[$i]->getVar("imageurl"); - $clicks = $banner_arr[$i]->getVar("clicks"); - $htmlbanner = $banner_arr[$i]->getVar("htmlbanner"); - $htmlcode = $banner_arr[$i]->getVar("htmlcode"); - $name_client = $banner_client_Handler->get($banner_arr[$i]->getVar("cid")); - $name = ''; - if (is_object($name_client)) { - $name = $name_client->getVar("name"); - } - - if ($impmade == 0) { - $percent = 0; - } else { - $percent = substr(100 * $clicks / $impmade, 0, 5); - } - if ($imptotal == 0) { - $left = "" . _BANNERS_AM_UNLIMIT . ""; - } else { - $left = $imptotal - $impmade; - } - - //Img - $img = ''; - if ($htmlbanner) { - $img .= html_entity_decode($htmlcode); - } else { - - if (strtolower(substr($imageurl, strrpos($imageurl, "."))) == ".swf") { - $img .= "<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/ swflash.cab#version=6,0,40,0\" width=\"468\" height=\"60\">"; - $img .= "<param name=movie value=\"$imageurl\">"; - //$img .= "<param name=quality value=high>"; - $img .= "<embed src=\"$imageurl\" pluginspage=\"http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash\" type=\"application/x-shockwave-flash\" width=\"468\" height=\"60\">"; - $img .= "</embed>"; - $img .= "</object>"; - } else { - $img .= "<img src='" . $imageurl . "' alt='' />"; - } - } - - $banner['bid'] = $bid; - $banner['impmade'] = $impmade; - $banner['clicks'] = $clicks; - $banner['left'] = $left; - $banner['percent'] = $percent; - $banner['imageurl'] = $img; - $banner['name'] = $name; - $banner['edit_delete'] = '<img class="cursorpointer" onclick="display_dialog(' . $bid . ', true, false, \'slide\', \'slide\', 200, 520);" src="images/icons/view.png" alt="' . _BANNERS_AM_VIEW . '" title="' . _BANNERS_AM_VIEW . '" /><a href="banners.php&op=banner_edit&bid=' . $bid . '"><img src="./images/icons/edit.png" border="0" alt="' . _BANNERS_AM_EDIT . '" title="' . _BANNERS_AM_EDIT . '"></a><a href="banners.php&op=banner_delete&bid=' . $bid . '"><img src="./images/icons/delete.png" border="0" alt="' . _BANNERS_AM_DELETE . '" title="' . _BANNERS_AM_DELETE . '"></a>'; - - $xoops->tpl->append_by_ref('banner', $banner); - $xoops->tpl->append_by_ref('popup_banner', $banner); - unset($banner); - } - } - // Display Page Navigation - if ($banner_count > $nb_aff) { - $nav = new XoopsPageNav($banner_count, $nb_aff, $start, 'start', 'startF=' . $startF . '&startC=' . $startC); - $xoops->tpl->assign('nav_menu_banner', $nav->renderNav(4)); - } - // Display Finished Banners - // Criteria - $criteria = new CriteriaCompo(); - $criteria->setSort("bid"); - $criteria->setOrder("DESC"); - $criteria->setStart($startF); - $criteria->setLimit($nb_aff); - - $banner_finish_count = $banner_finish_Handler->getCount($criteria); - $banner_finish_arr = $banner_finish_Handler->getall($criteria); - - $xoops->tpl->assign('banner_finish_count', $banner_finish_count); - - if ($banner_finish_count > 0) { - foreach (array_keys($banner_finish_arr) as $i) { - $bid = $banner_finish_arr[$i]->getVar("bid"); - //$imageurl = $banner_arr[$i]->getVar("imageurl"); - $impressions = $banner_finish_arr[$i]->getVar("impressions"); - $clicks = $banner_finish_arr[$i]->getVar("clicks"); - if ($impressions != 0) { - $percent = substr(100 * $clicks / $impressions, 0, 5); - } else { - $percent = 0; - } - - $banner_finish['bid'] = $bid; - $banner_finish['impressions'] = $impressions; - $banner_finish['clicks'] = $clicks; - $banner_finish['percent'] = $percent; - $banner_finish['datestart'] = XoopsLocal::formatTimestamp($banner_finish_arr[$i]->getVar("datestart"), "m"); - $banner_finish['dateend'] = XoopsLocal::formatTimestamp($banner_finish_arr[$i]->getVar("dateend"), "m"); - $name_client = $banner_client_Handler->get($banner_finish_arr[$i]->getVar("cid")); - $banner_finish['name'] = $name_client->getVar("name"); - $banner_finish['edit_delete'] = '<img class="cursorpointer" onclick="display_dialog(' . $bid . '000, true, true, \'slide\', \'slide\', 200, 520);" src="images/icons/view.png" alt="' . _BANNERS_AM_VIEW . '" title="' . _BANNERS_AM_VIEW . '" /><a href="banners.php&op=banner_finish_delete&bid=' . $bid . '"><img src="./images/icons/delete.png" border="0" alt="' . _BANNERS_AM_DELETE . '" title="' . _BANNERS_AM_DELETE . '"></a>'; - - $xoops->tpl->append_by_ref('banner_finish', $banner_finish); - unset($banner_finish); - } - } - // Display Page Navigation - if ($banner_finish_count > $nb_aff) { - $nav = new XoopsPageNav($banner_count, $nb_aff, $startF, 'startF', 'start=' . $start . '&startC=' . $startC); - $xoops->tpl->assign('nav_menu_bannerF', $nav->renderNav(4)); - } - // Display client - $criteria = new CriteriaCompo(); - $criteria->setSort("cid"); - $criteria->setOrder("DESC"); - $criteria->setStart($startC); - $criteria->setLimit($nb_aff); - - $banner_client_count = $banner_client_Handler->getCount($criteria); - $banner_client_arr = $banner_client_Handler->getall($criteria); - - $xoops->tpl->assign('banner_client_count', $banner_client_count); - - if ($banner_client_count > 0) { - foreach (array_keys($banner_client_arr) as $i) { - $cid = $banner_client_arr[$i]->getVar("cid"); - - $criteria = new CriteriaCompo(); - $criteria->add(new Criteria('cid', $cid, '=')); - $banner_active = $banner_Handler->getCount($criteria); - $banner_client['cid'] = $cid; - $banner_client['banner_active'] = $banner_active; - $banner_client['name'] = $banner_client_arr[$i]->getVar("name"); - $banner_client['contact'] = $banner_client_arr[$i]->getVar("contact"); - $banner_client['email'] = $banner_client_arr[$i]->getVar("email"); - $banner_client['edit_delete'] = '<a href="banners.php&op=banner_client_edit&cid=' . $cid . '"><img src="./images/icons/edit.png" border="0" alt="' . _BANNERS_AM_EDIT . '" title="' . _BANNERS_AM_EDIT . '"></a><a href="banners.php&op=banner_client_delete&cid=' . $cid . '"><img src="./images/icons/delete.png" border="0" alt="' . _BANNERS_AM_DELETE . '" title="' . _BANNERS_AM_DELETE . '"></a>'; - - $xoops->tpl->append_by_ref('banner_client', $banner_client); - unset($banner_client); - } - } - // Display Page Navigation - if ($banner_client_count > $nb_aff) { - $nav = new XoopsPageNav($banner_count, $nb_aff, $startC, 'startC', 'start=' . $start . '&startF=' . $startF); - $xoops->tpl->assign('nav_menu_client', $nav->renderNav(4)); - } - break; - - case 'banner_new': // Form: New Banner - $admin_page->addItemButton(_BANNERS_AM_NAV_ADDBNR, 'banners.php?op=banner_new', 'add'); - $admin_page->addItemButton(_BANNERS_AM_ADDCLI, 'banners.php?op=client_new', 'add'); - $admin_page->renderButton(); - $obj = $banner_Handler->create(); - $form = $xoops->getModuleForm($obj, 'banner'); - $xoops->tpl->assign('form', $form->render()); - break; - - case 'banner_edit': // Edit banner - - $bid = $system->cleanVars($_REQUEST, 'bid', 0, 'int'); - if ($bid > 0) { - $obj = $banner_Handler->get($bid); - $form = $xoops->getModuleForm($obj, 'banner'); - $form = $xoops->getModuleForm($obj, 'banner'); - $form->display(); - } else { - $xoops->redirect('banners.php', 1, _AM_SYSTEM_DBERROR); - } - break; - - // Banners - case 'banner_save': // Save banner - if (!$xoops->security->check()) { - $xoops->redirect("banners.php", 3, implode(",", $xoops->security->getErrors())); - } - $bid = $system->cleanVars($_POST, 'bid', 0, 'int'); - if ($bid > 0) { - $obj = $banner_Handler->get($bid); - } else { - $obj = $banner_Handler->create(); - $obj->setVar("date", time()); - } - $obj->setVars($_POST); - $html_banner = $system->cleanVars($_POST, 'htmlbanner', 0, 'int'); - $obj->setVar("htmlbanner", $html_banner); - - if ($banner_Handler->insert($obj)) { - $xoops->redirect("banners.php", 2, _BANNERS_AM_DBUPDATED); - } - $xoops->error($obj->getHtmlErrors()); - $form = $xoops->getModuleForm($obj, 'banner'); - $form->display(); - break; - - case 'banner_delete': // Delete banner - - $bid = $system->cleanVars($_REQUEST, 'bid', 0, 'int'); - if ($bid > 0) { - $obj = $banner_Handler->get($bid); - if (isset($_POST["ok"]) && $_POST["ok"] == 1) { - if (!$xoops->security->check()) { - $xoops->redirect("banners.php", 3, implode(",", $xoops->security->getErrors())); - } - if ($banner_Handler->delete($obj)) { - $xoops->redirect("banners.php", 3, _BANNERS_AM_DELEBNR); - } else { - $xoops->error($obj->getHtmlErrors()); - } - } else { - $xoops->confirm(array( - "ok" => 1, "bid" => $bid, "op" => "banner_delete" - ), 'banners.php', sprintf(_BANNERS_AM_SUREDELE)); - } - } else { - $xoops->redirect('banners.php', 1, _AM_SYSTEM_DBERROR); - } - break; - - case 'banner_finish_delete': // Delete finish banner - - $bid = $system->cleanVars($_REQUEST, 'bid', 0, 'int'); - if ($bid > 0) { - $obj = $banner_finish_Handler->get($bid); - if (isset($_POST["ok"]) && $_POST["ok"] == 1) { - if (!$xoops->security->check()) { - $xoops->redirect("banners.php", 3, implode(",", $xoops->security->getErrors())); - } - if ($banner_finish_Handler->delete($obj)) { - $xoops->redirect("banners.php", 3, _BANNERS_AM_DBUPDATED); - } else { - $xoops->error($obj->getHtmlErrors()); - } - } else { - $xoops->confirm(array( - "ok" => 1, "bid" => $bid, "op" => "banner_finish_delete" - ), 'banners.php', sprintf(_BANNERS_AM_SUREDELE)); - } - } else { - $xoops->redirect('banners.php', 1, _AM_SYSTEM_DBERROR); - } - break; - - // Clients - case 'client_new': // Form: New Client - $obj = $banner_client_Handler->create(); - $form = $xoops->getModuleForm($obj, 'bannerclient'); - $xoops->tpl->assign('form', $form->render()); - break; - - case 'banner_client_save': // Save client - if (!$xoops->security->check()) { - $xoops->redirect("banners.php", 3, implode(",", $xoops->security->getErrors())); - } - $cid = $system->cleanVars($_REQUEST, 'cid', 0, 'int'); - if ($cid > 0) { - $obj = $banner_client_Handler->get($cid); - } else { - $obj = $banner_client_Handler->create(); - } - $obj->setVars($_POST); - - if ($banner_client_Handler->insert($obj)) { - $xoops->redirect("banners.php", 2, _BANNERS_AM_DBUPDATED); - } - - $xoops->error($obj->getHtmlErrors()); - $form = $xoops->getModuleForm($obj, 'bannerclient'); - $form->display(); - break; - - case 'banner_client_edit': // Edit client - - $cid = $system->cleanVars($_REQUEST, 'cid', 0, 'int'); - if ($cid > 0) { - $obj = $banner_client_Handler->get($cid); - $form = $xoops->getModuleForm($obj, 'bannerclient'); - $xoops->tpl->assign('form', $form->render()); - } else { - $xoops->redirect('banners.php', 1, _AM_SYSTEM_DBERROR); - } - break; - - case 'banner_client_delete': // Delete Client - - $cid = $system->cleanVars($_REQUEST, 'cid', 0, 'int'); - if ($cid > 0) { - $obj = $banner_client_Handler->get($cid); - if (isset($_POST["ok"]) && $_POST["ok"] == 1) { - if (!$xoops->security->check()) { - $xoops->redirect("banners.php", 3, implode(",", $xoops->security->getErrors())); - } - if ($banner_client_Handler->delete($obj)) { - // Delete client banners - $banner_Handler->deleteAll(new Criteria('cid', $cid)); - - $xoops->redirect("banners.php", 3, _BANNERS_AM_DBUPDATED); - } else { - $xoops->error($obj->getHtmlErrors()); - } - } else { - $xoops->confirm(array( - "ok" => 1, "cid" => $cid, "op" => "banner_client_delete" - ), 'banners.php', _BANNERS_AM_SUREDELBNR); - } - } else { - $xoops->redirect('banners.php', 1, _AM_SYSTEM_DBERROR); - } - break; + if ($client_Handler->getCount() == 0){ + $xoops->error(_AM_BANNERS_BANNERS_ERROR_NOCLIENT); + } else { + $admin_page->renderButton(); + } + // Display banner + $criteria = new CriteriaCompo(); + $criteria->add(new Criteria('status', 0, '!=')); + $criteria->setSort("datestart"); + $criteria->setOrder("DESC"); + $criteria->setStart($start); + $criteria->setLimit($nb_banners); + + $banner_count = $banner_Handler->getCount($criteria); + $banner_arr = $banner_Handler->getall($criteria); + + $xoops->tpl->assign('banner_count', $banner_count); + + if ($banner_count > 0) { + foreach (array_keys($banner_arr) as $i) { + $imptotal = $banner_arr[$i]->getVar("imptotal"); + $impmade = $banner_arr[$i]->getVar("impmade"); + $imageurl = $banner_arr[$i]->getVar("imageurl"); + $clicks = $banner_arr[$i]->getVar("clicks"); + $htmlbanner = $banner_arr[$i]->getVar("htmlbanner"); + $htmlcode = $banner_arr[$i]->getVar("htmlcode"); + $name_client = $client_Handler->get($banner_arr[$i]->getVar("cid")); + $name = ''; + if (is_object($name_client)) { + $name = $name_client->getVar("name"); + } + + if ($impmade == 0) { + $percent = 0; + } else { + $percent = substr(100 * $clicks / $impmade, 0, 5); + } + if ($imptotal == 0) { + $left = "" . _AM_BANNERS_BANNERS_UNLIMIT . ""; + } else { + $left = $imptotal - $impmade; + } + $img = ''; + if ($htmlbanner) { + $img .= html_entity_decode($htmlcode); + } else { + $img = '<div id="xo-bannerfix">'; + if (stristr($imageurl, '.swf')) { + $img .= '<object type="application/x-shockwave-flash" width="468" height="60" data="' . $imageurl . '" style="z-index:100;">' . '<param name="movie" value="' . $imageurl . '" />' . '<param name="wmode" value="opaque" />' . '</object>'; + } else { + $img .= '<img src="' . $imageurl . '" alt="" />'; + } + $img .= '</div>'; + } + + $banner['bid'] = $banner_arr[$i]->getVar("bid"); + $banner['impmade'] = $impmade; + $banner['clicks'] = $clicks; + $banner['left'] = $left; + $banner['percent'] = $percent; + $banner['imageurl'] = $img; + $banner['name'] = $name; + $xoops->tpl->append_by_ref('banner', $banner); + $xoops->tpl->append_by_ref('popup_banner', $banner); + unset($banner); + } + } + // Display Page Navigation + if ($banner_count > $nb_banners) { + $nav = new XoopsPageNav($banner_count, $nb_banners, $start, 'start', 'startF=' . $startF); + $xoops->tpl->assign('nav_menu_banner', $nav->renderNav(4)); + } + // Display Finished Banners + // Criteria + $criteria = new CriteriaCompo(); + $criteria->add(new Criteria('status', 0)); + $criteria->setSort("datestart"); + $criteria->setOrder("DESC"); + $criteria->setStart($startF); + $criteria->setLimit($nb_banners); + + $banner_finish_count = $banner_Handler->getCount($criteria); + $banner_finish_arr = $banner_Handler->getall($criteria); + + $xoops->tpl->assign('banner_finish_count', $banner_finish_count); + + if ($banner_finish_count > 0) { + foreach (array_keys($banner_finish_arr) as $i) { + $bid = $banner_finish_arr[$i]->getVar("bid"); + $imageurl = $banner_finish_arr[$i]->getVar("imageurl"); + $htmlbanner = $banner_finish_arr[$i]->getVar("htmlbanner"); + $htmlcode = $banner_finish_arr[$i]->getVar("htmlcode"); + $impressions = $banner_finish_arr[$i]->getVar("impmade"); + $clicks = $banner_finish_arr[$i]->getVar("clicks"); + if ($impressions != 0) { + $percent = substr(100 * $clicks / $impressions, 0, 5); + } else { + $percent = 0; + } + $img = ''; + if ($htmlbanner) { + $img .= html_entity_decode($htmlcode); + } else { + $img = '<div id="xo-bannerfix">'; + if (stristr($imageurl, '.swf')) { + $img .= '<object type="application/x-shockwave-flash" width="468" height="60" data="' . $imageurl . '" style="z-index:100;">' . '<param name="movie" value="' . $imageurl . '" />' . '<param name="wmode" value="opaque" />' . '</object>'; + } else { + $img .= '<img src="' . $imageurl . '" alt="" />'; + } + + $img .= '</div>'; + } + $banner_finish['bid'] = $bid; + $banner_finish['impressions'] = $impressions; + $banner_finish['clicks'] = $clicks; + $banner_finish['percent'] = $percent; + $banner_finish['imageurl'] = $img; + $banner_finish['datestart'] = XoopsLocal::formatTimestamp($banner_finish_arr[$i]->getVar("datestart"), "m"); + $banner_finish['dateend'] = XoopsLocal::formatTimestamp($banner_finish_arr[$i]->getVar("dateend"), "m"); + $name_client = $client_Handler->get($banner_finish_arr[$i]->getVar("cid")); + $name = ''; + if (is_object($name_client)) { + $name = $name_client->getVar("name"); + } + $banner_finish['name'] = $name; + $xoops->tpl->append_by_ref('banner_finish', $banner_finish); + $xoops->tpl->append_by_ref('popup_banner_finish', $banner_finish); + unset($banner_finish); + } + } + // Display Page Navigation + if ($banner_finish_count > $nb_banners) { + $nav = new XoopsPageNav($banner_finish_count, $nb_banners, $startF, 'startF', 'start=' . $start); + $xoops->tpl->assign('nav_menu_bannerF', $nav->renderNav(4)); + } + break; + + case 'new': + $admin_page->addTips(sprintf(_AM_BANNERS_TIPS_BANNERS_FORM1, implode(', ', $mimetypes)) . sprintf(_AM_BANNERS_TIPS_BANNERS_FORM2, $upload_size / 1000)); + $admin_page->addItemButton(_AM_BANNERS_BANNERS_LIST, 'banners.php', 'list'); + $admin_page->renderTips(); + $admin_page->renderButton(); + $obj = $banner_Handler->create(); + $form = $xoops->getModuleForm($obj, 'banner'); + $xoops->tpl->assign('form', $form->render()); + break; + + case 'edit': + $admin_page->addTips(sprintf(_AM_BANNERS_TIPS_BANNERS_FORM1, implode(', ', $mimetypes)) . sprintf(_AM_BANNERS_TIPS_BANNERS_FORM2, $upload_size / 1000)); + $admin_page->addItemButton(_AM_BANNERS_BANNERS_LIST, 'banners.php', 'list'); + $admin_page->renderTips(); + $admin_page->renderButton(); + $bid = $system->cleanVars($_REQUEST, 'bid', 0, 'int'); + if ($bid > 0) { + $obj = $banner_Handler->get($bid); + $form = $xoops->getModuleForm($obj, 'banner'); + $xoops->tpl->assign('form', $form->render()); + } else { + $xoops->redirect('banners.php', 1, _AM_SYSTEM_DBERROR); + } + break; + + case 'save': + if (!$xoops->security->check()) { + $xoops->redirect("banners.php", 3, implode(",", $xoops->security->getErrors())); + } + $bid = $system->cleanVars($_REQUEST, 'bid', 0, 'int'); + if ($bid > 0) { + $obj = $banner_Handler->get($bid); + } else { + $obj = $banner_Handler->create(); + $obj->setVar("datestart", time()); + $obj->setVar("dateend", 0); + $obj->setVar("status", 1); + } + + $obj->setVar("cid", $_POST["cid"]); + $obj->setVar("imptotal", $_POST["imptotal"]); + $obj->setVar("clickurl", $_POST["clickurl"]); + $obj->setVar("htmlbanner", $system->cleanVars($_POST, 'htmlbanner', 0, 'int')); + $obj->setVar("htmlcode", $_POST["htmlcode"]); + + $uploader_banners_img = new XoopsMediaUploader(XOOPS_UPLOAD_PATH . '/banners', $mimetypes, $upload_size, null, null); + + if ($uploader_banners_img->fetchMedia("banners_imageurl")) { + $uploader_banners_img->setPrefix("banner"); + $uploader_banners_img->fetchMedia("banners_imageurl"); + if (!$uploader_banners_img->upload()) { + $errors = $uploader_banners_img->getErrors(); + $xoops->redirect("javascript:history.go(-1)", 3, $errors); + } else { + $obj->setVar("imageurl", XOOPS_UPLOAD_URL . '/banners/' . $uploader_banners_img->getSavedFileName()); + } + } else { + if ($_POST["banners_imageurl"] == 'blank.gif') { + $obj->setVar("imageurl", $_POST["imageurl"]); + } else { + $obj->setVar("imageurl", XOOPS_UPLOAD_URL . '/banners/' . $_POST["banners_imageurl"]); + } + } + + if ($banner_Handler->insert($obj)) { + $xoops->redirect("banners.php", 2, _AM_BANNERS_DBUPDATED); + } + $xoops->error($obj->getHtmlErrors()); + $form = $xoops->getModuleForm($obj, 'banner'); + $xoops->tpl->assign('form', $form->render()); + break; + + case 'delete': + $admin_page->addItemButton(_AM_BANNERS_BANNERS_ADD, 'banners.php?op=new', 'add'); + $admin_page->addItemButton(_AM_BANNERS_BANNERS_LIST, 'banners.php', 'list'); + $admin_page->renderButton(); + $bid = $system->cleanVars($_REQUEST, 'bid', 0, 'int'); + if ($bid > 0) { + $obj = $banner_Handler->get($bid); + if (isset($_POST["ok"]) && $_POST["ok"] == 1) { + if (!$xoops->security->check()) { + $xoops->redirect("banners.php", 3, implode(",", $xoops->security->getErrors())); + } + $namefile = substr_replace($obj->getVar('imageurl'),'',0,strlen(XOOPS_URL . '/uploads/banners/')); + $urlfile = XOOPS_ROOT_PATH . '/uploads/banners/' . $namefile; + if ($banner_Handler->delete($obj)) { + // delete banner + if (is_file($urlfile)){ + chmod($urlfile, 0777); + unlink($urlfile); + } + $xoops->redirect("banners.php", 2, _AM_BANNERS_DBUPDATED); + } else { + $xoops->error($obj->getHtmlErrors()); + } + } else { + $img = ''; + $imageurl = $obj->getVar("imageurl"); + if ($obj->getVar("htmlbanner")) { + $img .= html_entity_decode($obj->getVar("htmlcode")); + } else { + if (strtolower(substr($imageurl, strrpos($imageurl, "."))) == ".swf") { + $img .= "<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/ swflash.cab#version=6,0,40,0\" width=\"468\" height=\"60\">"; + $img .= "<param name=movie value=\"$imageurl\">"; + $img .= "<embed src=\"$imageurl\" pluginspage=\"http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash\" type=\"application/x-shockwave-flash\" width=\"468\" height=\"60\">"; + $img .= "</embed>"; + $img .= "</object>"; + } else { + $img .= "<img src='" . $imageurl . "' alt='' />"; + } + } + $xoops->confirm(array("ok" => 1, "bid" => $bid, "op" => "delete"), 'banners.php', sprintf(_AM_BANNERS_BANNERS_SUREDEL). '<br \>' . $img . '<br \>'); + } + } else { + $xoops->redirect('banners.php', 1, _AM_SYSTEM_DBERROR); + } + break; + + case 'reload': + $bid = $system->cleanVars($_REQUEST, 'bid', 0, 'int'); + $obj = $banner_Handler->get($bid); + $obj->setVar("datestart", time()); + $obj->setVar("dateend", 0); + $obj->setVar("imptotal", 0); + $obj->setVar("impmade", 0); + $obj->setVar("clicks", 0); + $obj->setVar("status", 1); + if ($banner_Handler->insert($obj)) { + $xoops->redirect("banners.php", 2, _AM_BANNERS_DBUPDATED); + } + $xoops->error($obj->getHtmlErrors()); + break; } $xoops->footer(); \ No newline at end of file Added: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/banners/admin/clients.php =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/banners/admin/clients.php (rev 0) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/banners/admin/clients.php 2012-01-02 23:01:51 UTC (rev 8628) @@ -0,0 +1,204 @@ +<?php +/* + You may not change or alter any portion of this comment or credits + of supporting developers from this source code or any supporting source code + which is considered copyrighted (c) material of the original comment or credit authors. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +*/ + +/** + * banners module + * + * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/ + * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html) + * @package banners + * @since 2.6.0 + * @author Mage Gr\xE9gory (AKA Mage) + * @version $Id$ + */ +include dirname(__FILE__) . '/header.php'; + +// Get main instance +$system = System::getInstance(); +// Check users rights +if (!$xoops->isUser() || !$xoops->isModule() || !$xoops->user->isAdmin($xoops->module->mid())) { + exit(_NOPERM); +} +// Check is active +if (!$xoops->getModuleConfig('active_banners', 'system')) { + $xoops->redirect('admin.php', 2, _AM_SYSTEM_NOTACTIVE); +} +// Parameters +$nb_clients = $xoops->getModuleConfig('banners_clientspager'); +// Get Action type +$op = $system->cleanVars($_REQUEST, 'op', 'default', 'string'); +// Get banners handler +$banner_Handler = $xoops->getHandlerBanner(); +$client_Handler = $xoops->getHandlerBannerclient(); +// Get member handler +$member_handler = $xoops->getHandlerMember(); +// Call header +$xoops->header('banners_admin_clients.html'); +// Get Action type +$op = $system->cleanVars($_REQUEST, 'op', 'list', 'string'); +// Get start pager +$start = $system->cleanVars($_REQUEST, 'start', 0, 'int'); + +$admin_page = new XoopsModuleAdmin(); +$admin_page->renderNavigation('clients.php'); + +switch ($op) { + + case 'list': + default: + // Define Stylesheet + $xoops->theme->addStylesheet('media/jquery/ui/' . $xoops->getModuleConfig('jquery_theme', 'system') . '/ui.all.css'); + // Define scripts + $xoops->theme->addScript($xoops->url('/media/jquery/plugins/jquery.ui.js')); + $xoops->theme->addScript('modules/system/js/admin.js'); + + $admin_page->addTips(_AM_BANNERS_TIPS_CLIENTS); + $admin_page->addItemButton(_AM_BANNERS_CLIENTS_ADD, 'clients.php?op=new', 'add'); + $admin_page->renderTips(); + $admin_page->renderButton(); + + // Display client + $criteria = new CriteriaCompo(); + $criteria->setSort("name"); + $criteria->setOrder("ASC"); + $criteria->setStart($start); + $criteria->setLimit($nb_clients); + + $client_count = $client_Handler->getCount($criteria); + $client_arr = $client_Handler->getall($criteria); + + $xoops->tpl->assign('client_count', $client_count); + + if ($client_count > 0) { + foreach (array_keys($client_arr) as $i) { + $criteria = new CriteriaCompo(); + $criteria->add(new Criteria('cid', $client_arr[$i]->getVar("cid"), '=')); + $banner_active = $banner_Handler->getCount($criteria); + $client['cid'] = $client_arr[$i]->getVar("cid"); + $client['uid'] = $client_arr[$i]->getVar("uid"); + $client['banner_active'] = $banner_active; + if ( $client_arr[$i]->getVar("uid") == 0) { + $client['uname'] = '/'; + $client['email'] = '/'; + }else{ + $user = $member_handler->getUser($client_arr[$i]->getVar("uid")); + $client['uname'] = $user->getVar("uname"); + $client['email'] = $user->getVar("email"); + $client['avatar'] = ($user->getVar("user_avatar") == 'blank.gif') + ? XOOPS_URL . 'modules/system/images/icons/default/anonymous.png' + : XOOPS_URL . '/uploads/' . $user->getVar("user_avatar"); + $client['url'] = $user->getVar("url"); + } + $client['name'] = $client_arr[$i]->getVar("name"); + $client['extrainfo'] = $client_arr[$i]->getVar("extrainfo"); + $xoops->tpl->append_by_ref('client', $client); + $xoops->tpl->append_by_ref('client_banner', $client); + unset($client); + } + } + // Display Page Navigation + if ($client_count > $nb_clients) { + $nav = new XoopsPageNav($client_count, $nb_clients, $start, 'start'); + $xoops->tpl->assign('nav_menu', $nav->renderNav(4)); + } + break; + + case 'new': + $admin_page->addTips(_AM_BANNERS_TIPS_CLIENTS_ADDEDIT); + $admin_page->addItemButton(_AM_BANNERS_CLIENTS_LIST, 'clients.php', 'list'); + $admin_page->renderTips(); + $admin_page->renderButton(); + $obj = $client_Handler->create(); + $form = $xoops->getModuleForm($obj, 'bannerclient'); + $xoops->tpl->assign('form', $form->render()); + break; + + case 'edit': + $admin_page->addTips(_AM_BANNERS_TIPS_CLIENTS_ADDEDIT); + $admin_page->addItemButton(_AM_BANNERS_CLIENTS_LIST, 'clients.php', 'list'); + $admin_page->renderTips(); + $admin_page->renderButton(); + $cid = $system->cleanVars($_REQUEST, 'cid', 0, 'int'); + if ($cid > 0) { + $obj = $client_Handler->get($cid); + $form = $xoops->getModuleForm($obj, 'bannerclient'); + $xoops->tpl->assign('form', $form->render()); + } else { + $xoops->redirect('clients.php', 1, _AM_SYSTEM_DBERROR); + } + break; + + case 'save': + if (!$xoops->security->check()) { + $xoops->redirect("clients.php", 3, implode(",", $xoops->security->getErrors())); + } + $cid = $system->cleanVars($_REQUEST, 'cid', 0, 'int'); + if ($cid > 0) { + $obj = $client_Handler->get($cid); + } else { + $obj = $client_Handler->create(); + } + $obj->setVar("name", $_POST["name"]); + if ($_POST["user"] == 'Y'){ + $obj->setVar("uid", $_POST["uid"]); + } else { + $obj->setVar("uid", 0); + } + $obj->setVar("extrainfo", $_POST["extrainfo"]); + if ($client_Handler->insert($obj)) { + $xoops->redirect("clients.php", 2, _AM_BANNERS_DBUPDATED); + } + $xoops->error($obj->getHtmlErrors()); + $form = $xoops->getModuleForm($obj, 'bannerclient'); + $xoops->tpl->assign('form', $form->render()); + break; + + case 'delete': + $admin_page->addItemButton(_AM_BANNERS_CLIENTS_ADD, 'clients.php?op=new', 'add'); + $admin_page->addItemButton(_AM_BANNERS_CLIENTS_LIST, 'clients.php', 'list'); + $admin_page->renderButton(); + $cid = $system->cleanVars($_REQUEST, 'cid', 0, 'int'); + if ($cid > 0) { + $obj = $client_Handler->get($cid); + if (isset($_POST["ok"]) && $_POST["ok"] == 1) { + if (!$xoops->security->check()) { + $xoops->redirect("clients.php", 3, implode(",", $xoops->security->getErrors())); + } + if ($client_Handler->delete($obj)) { + // Delete client banners + $banner_arr = $banner_Handler->getall(new Criteria('cid', $cid)); + foreach (array_keys($banner_arr) as $i) { + $obj = $banner_Handler->get($banner_arr[$i]->getVar('bid')); + $namefile = substr_replace($banner_arr[$i]->getVar('imageurl'),'',0,strlen(XOOPS_URL . '/uploads/banners/')); + $urlfile = XOOPS_ROOT_PATH . '/uploads/banners/' . $namefile; + if ($banner_Handler->delete($obj)) { + // delete banner + if (is_file($urlfile)){ + chmod($urlfile, 0777); + unlink($urlfile); + } + } else { + $xoops->error($obj->getHtmlErrors()); + } + } + $xoops->redirect("clients.php", 2, _AM_BANNERS_DBUPDATED); + } else { + $xoops->error($obj->getHtmlErrors()); + } + } else { + $xoops->confirm(array("ok" => 1, "cid" => $cid, "op" => "delete"), 'clients.php', sprintf(_AM_BANNERS_CLIENTS_SUREDEL, $obj->getVar("name"))); + } + } else { + $xoops->redirect('clients.php', 1, _AM_SYSTEM_DBERROR); + } + break; +} +$xoops->footer(); \ No newline at end of file Property changes on: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/banners/admin/clients.php ___________________________________________________________________ Added: svn:executable + * Added: svn:keywords + Author Date Id Rev URL Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/banners/admin/header.php =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/banners/admin/header.php 2012-01-02 08:54:32 UTC (rev 8627) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/banners/admin/header.php 2012-01-02 23:01:51 UTC (rev 8628) @@ -16,11 +16,10 @@ * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html) * @package banners * @since 2.6.0 - * @author + * @author Mage Gr\xE9gory (AKA Mage) * @version $Id$ */ require_once dirname(dirname(dirname(dirname(__FILE__)))) . '/include/cp_header.php'; $xoops = Xoops::getInstance(); -XoopsLoad::load('system', 'system'); - +XoopsLoad::load('system', 'system'); \ No newline at end of file Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/banners/admin/index.php =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/banners/admin/index.php 2012-01-02 08:54:32 UTC (rev 8627) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/banners/admin/index.php 2012-01-02 23:01:51 UTC (rev 8628) @@ -16,37 +16,36 @@ * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html) * @package banners * @since 2.6.0 - * @author + * @author Mage Gr\xE9gory (AKA Mage) * @version $Id$ */ include dirname(__FILE__) . '/header.php'; -// Get smilies handler +// Get banners handler $banners_Handler = $xoops->getHandlerBanner(); -$banners_finish_Handler = $xoops->getHandlerBannerfinish(); $banners_client_Handler = $xoops->getHandlerBannerclient(); // heaser $xoops->header(); // banners $criteria = new CriteriaCompo(); +$criteria->add(new Criteria('status', 0, '!=')); $banners_banner = $banners_Handler->getCount($criteria); // banner clients $criteria = new CriteriaCompo(); $banners_client = $banners_client_Handler->getCount($criteria); // banner finish $criteria = new CriteriaCompo(); -$banners_finish = $banners_finish_Handler->getCount($criteria); +$criteria->add(new Criteria('status', 0)); +$banners_finish = $banners_Handler->getCount($criteria); // folder path $folder_path = XOOPS_ROOT_PATH . '/uploads/banners'; $admin_page = new XoopsModuleAdmin(); -$admin_page->addInfoBox(_BANNERS_MI_BANNERS); -$admin_page->addInfoBoxLine(sprintf(_BANNERS_AM_NBTOTAL, $banners_banner)); -$admin_page->addInfoBoxLine(sprintf(_BANNERS_AM_NBCLIENT, '<span class="green">' . $banners_client . '</span>')); -$admin_page->addInfoBoxLine(sprintf(_BANNERS_AM_NBFINISH, '<span class="red">' . $banners_finish . '</span>')); +$admin_page->addInfoBox(_MI_BANNERS_BANNERS); +$admin_page->addInfoBoxLine(sprintf(_AM_BANNERS_INDEX_NBTOTAL, $banners_banner)); +$admin_page->addInfoBoxLine(sprintf(_AM_BANNERS_INDEX_NBCLIENT, '<span class="green">' . $banners_client . '</span>')); +$admin_page->addInfoBoxLine(sprintf(_AM_BANNERS_INDEX_NBFINISH, '<span class="red">' . $banners_finish . '</span>')); $admin_page->addConfigBoxLine($folder_path, 'folder'); $admin_page->addConfigBoxLine(array($folder_path, '777'), 'chmod'); $admin_page->renderNavigation('index.php'); $admin_page->renderIndex(); -$xoops->footer(); -?> - +$xoops->footer(); \ No newline at end of file Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/banners/admin/menu.php =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/banners/admin/menu.php 2012-01-02 08:54:32 UTC (rev 8627) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/banners/admin/menu.php 2012-01-02 23:01:51 UTC (rev 8628) @@ -16,22 +16,25 @@ * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html) * @package banners * @since 2.6.0 - * @author + * @author Mage Gr\xE9gory (AKA Mage) * @version $Id$ */ $pathIcon32 = '../../media/xoops/images/icons/32/'; $adminmenu = array(); $i = 1; -$adminmenu[$i]['title'] = _BANNERS_MI_INDEX; +$adminmenu[$i]['title'] = _MI_BANNERS_INDEX; $adminmenu[$i]['link'] = "admin/index.php"; $adminmenu[$i]['icon'] = $pathIcon32 . 'home.png'; $i++; -$adminmenu[$i]['title'] = _BANNERS_MI_BANNERS; +$adminmenu[$i]['title'] = _MI_BANNERS_CLIENTS; +$adminmenu[$i]['link'] = "admin/clients.php"; +$adminmenu[$i]['icon'] = $pathIcon32 . 'index.png'; +$i++; +$adminmenu[$i]['title'] = _MI_BANNERS_BANNERS; $adminmenu[$i]['link'] = "admin/banners.php"; $adminmenu[$i]['icon'] = $pathIcon32 . 'banners.png'; $i++; -$adminmenu[$i]['title'] = _BANNERS_MI_ABOUT; +$adminmenu[$i]['title'] = _MI_BANNERS_ABOUT; $adminmenu[$i]['link'] = 'admin/about.php'; -$adminmenu[$i]['icon'] = $pathIcon32 . 'about.png'; - +$adminmenu[$i]['icon'] = $pathIcon32 . 'about.png'; \ No newline at end of file Deleted: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/banners/class/client.php =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/banners/class/client.php 2012-01-02 08:54:32 UTC (rev 8627) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/banners/class/client.php 2012-01-02 23:01:51 UTC (rev 8628) @@ -1,259 +0,0 @@ -<?php -/* - You may not change or alter any portion of this comment or credits - of supporting developers from this source code or any supporting source code - which is considered copyrighted (c) material of the original comment or credit authors. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -*/ - -/** - * banners module - * - * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/ - * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html) - * @package banners - * @since 2.6.0 - * @author - * @version $Id$ - */ - -class client { - - /** - * Function to let your client login to see the stats - * - * @return void - */ - public function clientlogin() - { - $xoops = Xoops::getInstance(); - $xoops->header('banners_login.html'); - $xoops->theme->addStylesheet('modules/banners/css/login.css'); - $xoops->tpl->assign('banner_login', $xoops->security->getTokenHTML("BANNER_LOGIN")); - $xoops->footer(); - } - - /** - * @param int $bid - * @return void - */ - public function clickbanner($bid) - { - $xoops = Xoops::getInstance(); - $bid = intval($bid); - if ($bid > 0) { - $banner = $xoops->getHandlerBanner()->get($bid); - if ($banner) { - if ($xoops->security->checkReferer()) { - $banner->setVar('clicks', $banner->getVar('clicks') + 1); - $xoops->getHandlerBanner()->insert($banner); - header('Location: ' . $banner->getVar('clickurl')); - exit(); - } else { - //No valid referer found so some javascript error or direct access found - echo _BANNERS_NO_REFERER; - } - } - } - $xoops->redirect(XOOPS_URL, 3, _BANNERS_NO_ID); - } - - /** - * Function to let the client to change the url for his banner - * - * @param int $cid - * @param int $bid - * @param string $url - * @return void - */ - public function change_banner_url_by_client($cid, $bid, $url) - { - $xoops = Xoops::getInstance(); - $client = $xoops->getHandlerBannerclient()->getClient($_SESSION['banner_login'], $_SESSION['banner_pass']); - if ($client && $client->getVar('cid') == $cid && $url != "") { - $cid = intval($cid); - $bid = intval($bid); - $banner = $xoops->getHandlerBanner()->get($bid); - //make sure that the client is the banner owner - if ($banner->getVar('cid') == $cid) { - $banner->setVar('clickurl', $url); - if ($xoops->getHandlerBanner()->insert($banner)) { - $xoops->redirect("index.php?op=Ok", 3, _BANNERS_DBUPDATED); - } - } - } - $xoops->redirect("index.php", 2); - } - - /** - * Function to let the client E-mail his banner Stats - * - * @param int $cid - * @param int $bid - * @return void - */ - public function EmailStats($cid, $bid) - { - $xoops = Xoops::getInstance(); - $client = $xoops->getHandlerBannerclient()->getClient($_SESSION['banner_login'], $_SESSION['banner_pass']); - if ($client) { - $cid = intval($cid); - $bid = intval($bid); - if ($client->getVar('email', 'n') == "") { - $xoops->redirect("index.php", 3, sprintf(_BANNERS_MAIL_ERROR, $client->getVar('name'))); - } else { - $banner = $xoops->getHandlerBanner()->get($bid); - //make sure that the client is the banner owner - if ($banner && $banner->getVar('cid') == $cid) { - if ($banner->getVar('impmade') == 0) { - $percent = 0; - } else { - $percent = substr(100 * $banner->getVar('clicks') / $banner->getVar('impmade'), 0, 5); - } - if ($banner->getVar('imptotal') == 0) { - $left = _BANNERS_UNLIMITED; - $banner->setVar('imptotal', _BANNERS_UNLIMITED); - } else { - $left = $banner->getVar('imptotal') - $banner->getVar('impmade'); - } - $date = date("F jS Y, h:iA."); - $subject = sprintf(_BANNERS_MAIL_SUBJECT, $xoops->getConfig('sitename')); - $message = sprintf(_BANNERS_MAIL_MESSAGE, $xoops->getConfig('sitename'), $client->getVar('name'), $bid, $banner->getVar('imageurl'), $banner->getVar('clickurl'), $banner->getVar('imptotal'), $banner->getVar('impmade'), $left, $banner->getVar('clicks'), $percent, $date); - $xoopsMailer = $xoops->getMailer(); - $xoopsMailer->useMail(); - $xoopsMailer->setToEmails($client->getVar('email', 'n')); - $xoopsMailer->setFromEmail($xoops->getConfig('adminmail')); - $xoopsMailer->setFromName($xoops->getConfig('sitename')); - $xoopsMailer->setSubject($subject); - $xoopsMailer->setBody($message); - - if (!$xoopsMailer->send()) { - $xoops->redirect("index.php?op=Ok", 3, sprintf(_MAIL_SENDMAILNG, $client->getVar('email', 'n'))); - } - $xoops->redirect("index.php?op=Ok", 3, _BANNERS_MAIL_OK); - } - } - } - $xoops->redirect("index.php", 2); - } - - /** - * Function to display the banners stats for each client - * - * @return void - */ - function bannerstats() - { - $xoops = Xoops::getInstance(); - if ($_SESSION['banner_login'] == "" || $_SESSION['banner_pass'] == "") { - $xoops->redirect("index.php", 2, _BANNERS_NO_LOGIN_DATA); - exit(); - } - $client = $xoops->getHandlerBannerclient()->getClient($_SESSION['banner_login'], $_SESSION['banner_pass']); - if ($client) { - $xoops->header('banners_client.html'); - $xoops->theme->addStylesheet('modules/banners/css/client.css'); - - $xoops->tpl->assign('client_name', sprintf(_BANNERS_TITLE, $client->getVar('name'))); - - $criteria = new Criteria('cid', $client->getVar('cid')); - $banners = $xoops->getHandlerBanner()->getObjects($criteria); - - /* @var $banner XoopsBanner */ - $banner_array = array(); - foreach ($banners as $banner) { - if ($banner->getvar('impmade') == 0) { - $percent = 0; - } else { - $percent = substr(100 * $banner->getvar('clicks') / $banner->getvar('impmade'), 0, 5); - } - if ($banner->getvar('imptotal') == 0) { - $left = _BANNERS_UNLIMITED; - } else { - $left = $banner->getvar('imptotal') - $banner->getvar('impmade'); - } - $tab = array(); - $tab['bid'] = $banner->getvar('bid'); - $tab['cid'] = $banner->getvar('cid'); - $tab['impmade'] = $banner->getvar('impmade'); - $tab['imptotal'] = $banner->getvar('imptotal'); - $tab['clicks'] = $banner->getvar('clicks'); - $tab['left'] = $left; - $tab['percent'] = $percent; - $banner_array[] = $tab; - } - $xoops->tpl->assign('banner_array', $banner_array); - - - /* @var $banner XoopsBanner */ - $numrows = count($banners); - $banner_show_array = array(); - foreach ($banners as $banner) { - $tab = array(); - if ($banner->getVar('htmlbanner') && $banner->getVar('htmlcode')) { - $myts = MyTextSanitizer::getInstance(); - $tab['htmlcode'] = $myts->displayTarea($banner->getVar('htmlcode')); - $tab['display'] = 'htmlcode'; - } else { - $tab['display'] = 'normal'; - $tab['imageurl'] = $banner->getVar('imageurl'); - if (strtolower(substr($banner->getVar('imageurl'), strrpos($banner->getVar('imageurl'), "."))) == ".swf") { - $tab['type'] = 'swf'; - } else { - $tab['type'] = 'img'; - } - } - - $tab['bid'] = $banner->getVar('bid'); - $tab['cid'] = $banner->getVar('cid'); - $tab['emailstats'] = sprintf(_BANNERS_SEND_STATS, 'index.php?op=EmailStats&cid=' . $banner->getVar('cid') . '&bid=' . $banner->getVar('bid')); - $tab['htmlbanner'] = $banner->getVar('htmlbanner'); - - if (!$banner->getVar('htmlbanner')) { - $tab['url'] = $banner->getVar('clickurl', 'e'); - $tab['clickurl'] = sprintf(_BANNERS_POINTS, $banner->getVar('clickurl', 'e')); - $tab['banner_edit'] = $xoops->security->getTokenHTML("BANNER_EDIT"); - } - - $banner_show_array[] = $tab; - } - $xoops->tpl->assign('banner_show_array', $banner_show_array); - - /* Finnished Banners */ - $criteria = new Criteria('cid', $client->getVar('cid')); - $banners = $xoops->getHandlerBannerfinish()->getObjects($criteria); - - if (count($banners) > 0) { - $xoops->tpl->assign('count_banners', count($banners)); - $xoops->tpl->assign('client_finish_name', sprintf(_BANNERS_FINISHED, $client->getvar('name'))); - - /* @var $banner XoopsBanner */ - $banner_finish_array = array(); - foreach ($banners as $banner) { - if ($banner->getvar('impressions') == 0) { - $percent = 0; - } else { - $percent = substr(100 * $banner->getvar('clicks') / $banner->getvar('impressions'), 0,... [truncated message content] |
From: <wis...@us...> - 2012-01-02 08:54:42
|
Revision: 8627 http://xoops.svn.sourceforge.net/xoops/?rev=8627&view=rev Author: wishcraft Date: 2012-01-02 08:54:32 +0000 (Mon, 02 Jan 2012) Log Message: ----------- UITabs 1.04 - Complete Tabs & Item Solution with Smarty Template Customisable - XOOPS 2.5 Only Added Paths: ----------- XoopsModules/uitabs/releases/1.04/ XoopsModules/uitabs/releases/1.04/docs/ XoopsModules/uitabs/releases/1.04/docs/.htaccess XoopsModules/uitabs/releases/1.04/docs/licence.txt XoopsModules/uitabs/releases/1.04/htdocs/ XoopsModules/uitabs/releases/1.04/htdocs/Frameworks/ XoopsModules/uitabs/releases/1.04/htdocs/Frameworks/moduleclasses/ XoopsModules/uitabs/releases/1.04/htdocs/Frameworks/moduleclasses/icons/ XoopsModules/uitabs/releases/1.04/htdocs/Frameworks/moduleclasses/icons/16/ XoopsModules/uitabs/releases/1.04/htdocs/Frameworks/moduleclasses/icons/16/uitabs.items.list.png XoopsModules/uitabs/releases/1.04/htdocs/Frameworks/moduleclasses/icons/16/uitabs.items.new.png XoopsModules/uitabs/releases/1.04/htdocs/Frameworks/moduleclasses/icons/16/uitabs.tabs.list.png XoopsModules/uitabs/releases/1.04/htdocs/Frameworks/moduleclasses/icons/16/uitabs.tabs.new.png XoopsModules/uitabs/releases/1.04/htdocs/Frameworks/moduleclasses/icons/32/ XoopsModules/uitabs/releases/1.04/htdocs/Frameworks/moduleclasses/icons/32/uitabs.items.list.png XoopsModules/uitabs/releases/1.04/htdocs/Frameworks/moduleclasses/icons/32/uitabs.items.new.png XoopsModules/uitabs/releases/1.04/htdocs/Frameworks/moduleclasses/icons/32/uitabs.tabs.list.png XoopsModules/uitabs/releases/1.04/htdocs/Frameworks/moduleclasses/icons/32/uitabs.tabs.new.png XoopsModules/uitabs/releases/1.04/htdocs/Frameworks/wideimage/ XoopsModules/uitabs/releases/1.04/htdocs/Frameworks/wideimage/Canvas.php XoopsModules/uitabs/releases/1.04/htdocs/Frameworks/wideimage/Coordinate.php XoopsModules/uitabs/releases/1.04/htdocs/Frameworks/wideimage/Exception.php XoopsModules/uitabs/releases/1.04/htdocs/Frameworks/wideimage/Font/ XoopsModules/uitabs/releases/1.04/htdocs/Frameworks/wideimage/Font/GDF.php XoopsModules/uitabs/releases/1.04/htdocs/Frameworks/wideimage/Font/PS.php XoopsModules/uitabs/releases/1.04/htdocs/Frameworks/wideimage/Font/TTF.php XoopsModules/uitabs/releases/1.04/htdocs/Frameworks/wideimage/Image.php XoopsModules/uitabs/releases/1.04/htdocs/Frameworks/wideimage/Mapper/ XoopsModules/uitabs/releases/1.04/htdocs/Frameworks/wideimage/Mapper/BMP.php XoopsModules/uitabs/releases/1.04/htdocs/Frameworks/wideimage/Mapper/GD.php XoopsModules/uitabs/releases/1.04/htdocs/Frameworks/wideimage/Mapper/GD2.php XoopsModules/uitabs/releases/1.04/htdocs/Frameworks/wideimage/Mapper/GIF.php XoopsModules/uitabs/releases/1.04/htdocs/Frameworks/wideimage/Mapper/JPEG.php XoopsModules/uitabs/releases/1.04/htdocs/Frameworks/wideimage/Mapper/PNG.php XoopsModules/uitabs/releases/1.04/htdocs/Frameworks/wideimage/Mapper/TGA.php XoopsModules/uitabs/releases/1.04/htdocs/Frameworks/wideimage/MapperFactory.php XoopsModules/uitabs/releases/1.04/htdocs/Frameworks/wideimage/Operation/ XoopsModules/uitabs/releases/1.04/htdocs/Frameworks/wideimage/Operation/AddNoise.php XoopsModules/uitabs/releases/1.04/htdocs/Frameworks/wideimage/Operation/ApplyConvolution.php XoopsModules/uitabs/releases/1.04/htdocs/Frameworks/wideimage/Operation/ApplyFilter.php XoopsModules/uitabs/releases/1.04/htdocs/Frameworks/wideimage/Operation/ApplyMask.php XoopsModules/uitabs/releases/1.04/htdocs/Frameworks/wideimage/Operation/AsGrayscale.php XoopsModules/uitabs/releases/1.04/htdocs/Frameworks/wideimage/Operation/AsNegative.php XoopsModules/uitabs/releases/1.04/htdocs/Frameworks/wideimage/Operation/AutoCrop.php XoopsModules/uitabs/releases/1.04/htdocs/Frameworks/wideimage/Operation/CopyChannelsPalette.php XoopsModules/uitabs/releases/1.04/htdocs/Frameworks/wideimage/Operation/CopyChannelsTrueColor.php XoopsModules/uitabs/releases/1.04/htdocs/Frameworks/wideimage/Operation/CorrectGamma.php XoopsModules/uitabs/releases/1.04/htdocs/Frameworks/wideimage/Operation/Crop.php XoopsModules/uitabs/releases/1.04/htdocs/Frameworks/wideimage/Operation/Flip.php XoopsModules/uitabs/releases/1.04/htdocs/Frameworks/wideimage/Operation/GetMask.php XoopsModules/uitabs/releases/1.04/htdocs/Frameworks/wideimage/Operation/Merge.php XoopsModules/uitabs/releases/1.04/htdocs/Frameworks/wideimage/Operation/Mirror.php XoopsModules/uitabs/releases/1.04/htdocs/Frameworks/wideimage/Operation/Resize.php XoopsModules/uitabs/releases/1.04/htdocs/Frameworks/wideimage/Operation/ResizeCanvas.php XoopsModules/uitabs/releases/1.04/htdocs/Frameworks/wideimage/Operation/Rotate.php XoopsModules/uitabs/releases/1.04/htdocs/Frameworks/wideimage/Operation/RoundCorners.php XoopsModules/uitabs/releases/1.04/htdocs/Frameworks/wideimage/Operation/Unsharp.php XoopsModules/uitabs/releases/1.04/htdocs/Frameworks/wideimage/OperationFactory.php XoopsModules/uitabs/releases/1.04/htdocs/Frameworks/wideimage/PaletteImage.php XoopsModules/uitabs/releases/1.04/htdocs/Frameworks/wideimage/TrueColorImage.php XoopsModules/uitabs/releases/1.04/htdocs/Frameworks/wideimage/WideImage.php XoopsModules/uitabs/releases/1.04/htdocs/Frameworks/wideimage/index.html XoopsModules/uitabs/releases/1.04/htdocs/Frameworks/wideimage/vendor/ XoopsModules/uitabs/releases/1.04/htdocs/Frameworks/wideimage/vendor/de77/ XoopsModules/uitabs/releases/1.04/htdocs/Frameworks/wideimage/vendor/de77/BMP.php XoopsModules/uitabs/releases/1.04/htdocs/Frameworks/wideimage/vendor/de77/TGA.php XoopsModules/uitabs/releases/1.04/htdocs/modules/ XoopsModules/uitabs/releases/1.04/htdocs/modules/uitabs/ XoopsModules/uitabs/releases/1.04/htdocs/modules/uitabs/admin/ XoopsModules/uitabs/releases/1.04/htdocs/modules/uitabs/admin/header.php XoopsModules/uitabs/releases/1.04/htdocs/modules/uitabs/admin/index.html XoopsModules/uitabs/releases/1.04/htdocs/modules/uitabs/admin/index.php XoopsModules/uitabs/releases/1.04/htdocs/modules/uitabs/admin/menu.php XoopsModules/uitabs/releases/1.04/htdocs/modules/uitabs/blocks/ XoopsModules/uitabs/releases/1.04/htdocs/modules/uitabs/blocks/index.html XoopsModules/uitabs/releases/1.04/htdocs/modules/uitabs/blocks/uitabs_block_tabs.php XoopsModules/uitabs/releases/1.04/htdocs/modules/uitabs/blocks/uitabs_tags.php XoopsModules/uitabs/releases/1.04/htdocs/modules/uitabs/class/ XoopsModules/uitabs/releases/1.04/htdocs/modules/uitabs/class/index.html XoopsModules/uitabs/releases/1.04/htdocs/modules/uitabs/class/items.php XoopsModules/uitabs/releases/1.04/htdocs/modules/uitabs/class/tabs.php XoopsModules/uitabs/releases/1.04/htdocs/modules/uitabs/class/votes.php XoopsModules/uitabs/releases/1.04/htdocs/modules/uitabs/docs/ XoopsModules/uitabs/releases/1.04/htdocs/modules/uitabs/docs/changelog.txt XoopsModules/uitabs/releases/1.04/htdocs/modules/uitabs/docs/credits.txt XoopsModules/uitabs/releases/1.04/htdocs/modules/uitabs/docs/index.html XoopsModules/uitabs/releases/1.04/htdocs/modules/uitabs/docs/install.txt XoopsModules/uitabs/releases/1.04/htdocs/modules/uitabs/docs/lang_diff.txt XoopsModules/uitabs/releases/1.04/htdocs/modules/uitabs/docs/licence.txt XoopsModules/uitabs/releases/1.04/htdocs/modules/uitabs/docs/readme.txt XoopsModules/uitabs/releases/1.04/htdocs/modules/uitabs/header.php XoopsModules/uitabs/releases/1.04/htdocs/modules/uitabs/image.php XoopsModules/uitabs/releases/1.04/htdocs/modules/uitabs/images/ XoopsModules/uitabs/releases/1.04/htdocs/modules/uitabs/images/icons/ XoopsModules/uitabs/releases/1.04/htdocs/modules/uitabs/images/icons/index.html XoopsModules/uitabs/releases/1.04/htdocs/modules/uitabs/images/icons/items.list.png XoopsModules/uitabs/releases/1.04/htdocs/modules/uitabs/images/icons/items.new.png XoopsModules/uitabs/releases/1.04/htdocs/modules/uitabs/images/icons/tabs.list.png XoopsModules/uitabs/releases/1.04/htdocs/modules/uitabs/images/icons/tabs.new.png XoopsModules/uitabs/releases/1.04/htdocs/modules/uitabs/images/index.html XoopsModules/uitabs/releases/1.04/htdocs/modules/uitabs/images/uitabs_slogo.png XoopsModules/uitabs/releases/1.04/htdocs/modules/uitabs/include/ XoopsModules/uitabs/releases/1.04/htdocs/modules/uitabs/include/formobjects.uitabs.php XoopsModules/uitabs/releases/1.04/htdocs/modules/uitabs/include/forms.uitabs.php XoopsModules/uitabs/releases/1.04/htdocs/modules/uitabs/include/formselectpackageid.php XoopsModules/uitabs/releases/1.04/htdocs/modules/uitabs/include/formselectplayer.php XoopsModules/uitabs/releases/1.04/htdocs/modules/uitabs/include/formselecttab.php XoopsModules/uitabs/releases/1.04/htdocs/modules/uitabs/include/functions.php XoopsModules/uitabs/releases/1.04/htdocs/modules/uitabs/include/index.html XoopsModules/uitabs/releases/1.04/htdocs/modules/uitabs/include/uploader.php XoopsModules/uitabs/releases/1.04/htdocs/modules/uitabs/index.php XoopsModules/uitabs/releases/1.04/htdocs/modules/uitabs/js/ XoopsModules/uitabs/releases/1.04/htdocs/modules/uitabs/js/blue.png XoopsModules/uitabs/releases/1.04/htdocs/modules/uitabs/js/blue_panes.jpg XoopsModules/uitabs/releases/1.04/htdocs/modules/uitabs/js/green.png XoopsModules/uitabs/releases/1.04/htdocs/modules/uitabs/js/index.html XoopsModules/uitabs/releases/1.04/htdocs/modules/uitabs/js/jquery.tools.min.js XoopsModules/uitabs/releases/1.04/htdocs/modules/uitabs/language/ XoopsModules/uitabs/releases/1.04/htdocs/modules/uitabs/language/english/ XoopsModules/uitabs/releases/1.04/htdocs/modules/uitabs/language/english/admin.php XoopsModules/uitabs/releases/1.04/htdocs/modules/uitabs/language/english/blocks.php XoopsModules/uitabs/releases/1.04/htdocs/modules/uitabs/language/english/forms.php XoopsModules/uitabs/releases/1.04/htdocs/modules/uitabs/language/english/help/ XoopsModules/uitabs/releases/1.04/htdocs/modules/uitabs/language/english/help/help.html XoopsModules/uitabs/releases/1.04/htdocs/modules/uitabs/language/english/help/index.html XoopsModules/uitabs/releases/1.04/htdocs/modules/uitabs/language/english/index.html XoopsModules/uitabs/releases/1.04/htdocs/modules/uitabs/language/english/main.php XoopsModules/uitabs/releases/1.04/htdocs/modules/uitabs/language/english/modinfo.php XoopsModules/uitabs/releases/1.04/htdocs/modules/uitabs/language/english/uitabs.css XoopsModules/uitabs/releases/1.04/htdocs/modules/uitabs/language/index.html XoopsModules/uitabs/releases/1.04/htdocs/modules/uitabs/list.tag.php XoopsModules/uitabs/releases/1.04/htdocs/modules/uitabs/preloads/ XoopsModules/uitabs/releases/1.04/htdocs/modules/uitabs/preloads/index.html XoopsModules/uitabs/releases/1.04/htdocs/modules/uitabs/sql/ XoopsModules/uitabs/releases/1.04/htdocs/modules/uitabs/sql/index.html XoopsModules/uitabs/releases/1.04/htdocs/modules/uitabs/sql/mysql.sql XoopsModules/uitabs/releases/1.04/htdocs/modules/uitabs/templates/ XoopsModules/uitabs/releases/1.04/htdocs/modules/uitabs/templates/blocks/ XoopsModules/uitabs/releases/1.04/htdocs/modules/uitabs/templates/blocks/index.html XoopsModules/uitabs/releases/1.04/htdocs/modules/uitabs/templates/blocks/uitabs_block_tag_cloud.html XoopsModules/uitabs/releases/1.04/htdocs/modules/uitabs/templates/blocks/uitabs_block_tag_top.html XoopsModules/uitabs/releases/1.04/htdocs/modules/uitabs/templates/blocks/uitabs_blocks_tabs.html XoopsModules/uitabs/releases/1.04/htdocs/modules/uitabs/templates/index.html XoopsModules/uitabs/releases/1.04/htdocs/modules/uitabs/templates/uitabs_cpanel_items_edit.html XoopsModules/uitabs/releases/1.04/htdocs/modules/uitabs/templates/uitabs_cpanel_items_list.html XoopsModules/uitabs/releases/1.04/htdocs/modules/uitabs/templates/uitabs_cpanel_tabs_edit.html XoopsModules/uitabs/releases/1.04/htdocs/modules/uitabs/templates/uitabs_cpanel_tabs_list.html XoopsModules/uitabs/releases/1.04/htdocs/modules/uitabs/templates/uitabs_index.html XoopsModules/uitabs/releases/1.04/htdocs/modules/uitabs/templates/uitabs_profile.html XoopsModules/uitabs/releases/1.04/htdocs/modules/uitabs/templates/uitabs_tab.html XoopsModules/uitabs/releases/1.04/htdocs/modules/uitabs/templates/uitabs_tabs.html XoopsModules/uitabs/releases/1.04/htdocs/modules/uitabs/view.tag.php XoopsModules/uitabs/releases/1.04/htdocs/modules/uitabs/xoops_version.php XoopsModules/uitabs/releases/1.04/htdocs/uploads/ XoopsModules/uitabs/releases/1.04/htdocs/uploads/uitabs/ XoopsModules/uitabs/releases/1.04/htdocs/uploads/uitabs/watermark/ XoopsModules/uitabs/releases/1.04/htdocs/uploads/uitabs/watermark/default.png Added: XoopsModules/uitabs/releases/1.04/docs/.htaccess =================================================================== --- XoopsModules/uitabs/releases/1.04/docs/.htaccess (rev 0) +++ XoopsModules/uitabs/releases/1.04/docs/.htaccess 2012-01-02 08:54:32 UTC (rev 8627) @@ -0,0 +1,7 @@ +RewriteEngine On +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d + +RewriteRule ^tabs/(.*?)/(.*?),(.*?).html$ modules/uitabs/index.php?op=$2&id=$3 +RewriteRule ^tabs/(.*?).html$ modules/uitabs/index.php?op=$1 +RewriteRule ^tabs/$ modules/webcams/index.php?op=tabs Added: XoopsModules/uitabs/releases/1.04/docs/licence.txt =================================================================== --- XoopsModules/uitabs/releases/1.04/docs/licence.txt (rev 0) +++ XoopsModules/uitabs/releases/1.04/docs/licence.txt 2012-01-02 08:54:32 UTC (rev 8627) @@ -0,0 +1,339 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + <signature of Ty Coon>, 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. Added: XoopsModules/uitabs/releases/1.04/htdocs/Frameworks/moduleclasses/icons/16/uitabs.items.list.png =================================================================== (Binary files differ) Property changes on: XoopsModules/uitabs/releases/1.04/htdocs/Frameworks/moduleclasses/icons/16/uitabs.items.list.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/uitabs/releases/1.04/htdocs/Frameworks/moduleclasses/icons/16/uitabs.items.new.png =================================================================== (Binary files differ) Property changes on: XoopsModules/uitabs/releases/1.04/htdocs/Frameworks/moduleclasses/icons/16/uitabs.items.new.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/uitabs/releases/1.04/htdocs/Frameworks/moduleclasses/icons/16/uitabs.tabs.list.png =================================================================== (Binary files differ) Property changes on: XoopsModules/uitabs/releases/1.04/htdocs/Frameworks/moduleclasses/icons/16/uitabs.tabs.list.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/uitabs/releases/1.04/htdocs/Frameworks/moduleclasses/icons/16/uitabs.tabs.new.png =================================================================== (Binary files differ) Property changes on: XoopsModules/uitabs/releases/1.04/htdocs/Frameworks/moduleclasses/icons/16/uitabs.tabs.new.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/uitabs/releases/1.04/htdocs/Frameworks/moduleclasses/icons/32/uitabs.items.list.png =================================================================== (Binary files differ) Property changes on: XoopsModules/uitabs/releases/1.04/htdocs/Frameworks/moduleclasses/icons/32/uitabs.items.list.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/uitabs/releases/1.04/htdocs/Frameworks/moduleclasses/icons/32/uitabs.items.new.png =================================================================== (Binary files differ) Property changes on: XoopsModules/uitabs/releases/1.04/htdocs/Frameworks/moduleclasses/icons/32/uitabs.items.new.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/uitabs/releases/1.04/htdocs/Frameworks/moduleclasses/icons/32/uitabs.tabs.list.png =================================================================== (Binary files differ) Property changes on: XoopsModules/uitabs/releases/1.04/htdocs/Frameworks/moduleclasses/icons/32/uitabs.tabs.list.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/uitabs/releases/1.04/htdocs/Frameworks/moduleclasses/icons/32/uitabs.tabs.new.png =================================================================== (Binary files differ) Property changes on: XoopsModules/uitabs/releases/1.04/htdocs/Frameworks/moduleclasses/icons/32/uitabs.tabs.new.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/uitabs/releases/1.04/htdocs/Frameworks/wideimage/Canvas.php =================================================================== --- XoopsModules/uitabs/releases/1.04/htdocs/Frameworks/wideimage/Canvas.php (rev 0) +++ XoopsModules/uitabs/releases/1.04/htdocs/Frameworks/wideimage/Canvas.php 2012-01-02 08:54:32 UTC (rev 8627) @@ -0,0 +1,167 @@ +<?php + /** + * @author Gasper Kozak + * @copyright 2007-2011 + + This file is part of WideImage. + + WideImage is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation; either version 2.1 of the License, or + (at your option) any later version. + + WideImage is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with WideImage; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + + * @package WideImage + **/ + + /** + * @package Exceptions + */ + class WideImage_NoFontException extends WideImage_Exception {} + + /** + * @package Exceptions + */ + class WideImage_InvalidFontFileException extends WideImage_Exception {} + + /** + * @package Exceptions + */ + class WideImage_InvalidCanvasMethodException extends WideImage_Exception {} + + /** + * @package WideImage + */ + class WideImage_Canvas + { + protected $handle = 0; + protected $image = null; + protected $font = null; + + /** + * Creates a canvas object that writes to the image passed as a parameter + * + * Shouldn't be used directly, use WideImage_Image::getCanvas() instead. + * + * @param WideImage_Image $img Image object + */ + function __construct($img) + { + $this->handle = $img->getHandle(); + $this->image = $img; + } + + /** + * Sets the active font. Can be an instance of + * WideImage_Font_TTF, WideImage_Font_PS, or WideImage_Font_GDF. + * + * + * + * + * @param object $font Font object to set for writeText() + */ + function setFont($font) + { + $this->font = $font; + } + + /** + * Creates and sets the current font + * + * The supported font types are: TTF/OTF, PS, and GDF. + * Font type is detected from the extension. If the $file parameter doesn't have an extension, TTF font is presumed. + * + * Note: not all parameters are supported by all fonts. + * + * @param string $file Font file name (string) + * @param int $size Font size (supported for TTF/OTF and PS fonts, ignored for GDF) + * @param int $color Text color + * @param int $bgcolor Background color (supported only for PS font, ignored for TTF and PS) + * @return mixed One of the WideImage_Font_* objects + */ + function useFont($file, $size = 12, $color = 0, $bgcolor = null) + { + $p = strrpos($file, '.'); + if ($p === false || $p < strlen($file) - 4) + $ext = 'ttf'; + else + $ext = strtolower(substr($file, $p + 1)); + + if ($ext == 'ttf' || $ext == 'otf') + $font = new WideImage_Font_TTF($file, $size, $color); + elseif ($ext == 'ps') + $font = new WideImage_Font_PS($file, $size, $color, $bgcolor); + elseif ($ext == 'gdf') + $font = new WideImage_Font_GDF($file, $color); + else + throw new WideImage_InvalidFontFileException("'$file' appears to be an invalid font file."); + + $this->setFont($font); + return $font; + } + + /** + * Write text on the image at specified position + * + * You must set a font with a call to WideImage_Canvas::setFont() prior to writing text to the image. + * + * Smart coordinates are supported for $x and $y arguments, but currently only for TTF/OTF fonts. + * + * Example: + * <code> + * $img = WideImage::load('pic.jpg'); + * $canvas = $img->getCanvas(); + * $canvas->useFont('Verdana.ttf', 16, $img->allocateColor(255, 0, 0)); + * $canvas->writeText('right', 'bottom', 'www.website.com'); + * </code> + * + * @param int $x Left + * @param int $y Top + * @param string $text Text to write + * @param int $angle The angle, defaults to 0 + */ + function writeText($x, $y, $text, $angle = 0) + { + if ($this->font === null) + throw new WideImage_NoFontException("Can't write text without a font."); + + $angle = - floatval($angle); + if ($angle < 0) + $angle = 360 + $angle; + $angle = $angle % 360; + + $this->font->writeText($this->image, $x, $y, $text, $angle); + } + + /** + * A magic method that allows you to call any PHP function that starts with "image". + * + * This is a shortcut to call custom functions on the image handle. + * + * Example: + * <code> + * $img = WideImage::load('pic.jpg'); + * $canvas = $img->getCanvas(); + * $canvas->filledRect(10, 10, 20, 30, $img->allocateColor(0, 0, 0)); + * $canvas->line(60, 80, 30, 100, $img->allocateColor(255, 0, 0)); + * </code> + */ + function __call($method, $params) + { + if (function_exists('image' . $method)) + { + array_unshift($params, $this->handle); + call_user_func_array('image' . $method, $params); + } + else + throw new WideImage_InvalidCanvasMethodException("Function doesn't exist: image{$method}."); + } + } Added: XoopsModules/uitabs/releases/1.04/htdocs/Frameworks/wideimage/Coordinate.php =================================================================== --- XoopsModules/uitabs/releases/1.04/htdocs/Frameworks/wideimage/Coordinate.php (rev 0) +++ XoopsModules/uitabs/releases/1.04/htdocs/Frameworks/wideimage/Coordinate.php 2012-01-02 08:54:32 UTC (rev 8627) @@ -0,0 +1,208 @@ +<?php + /** + * @author Gasper Kozak + * @copyright 2007-2011 + + This file is part of WideImage. + + WideImage is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation; either version 2.1 of the License, or + (at your option) any later version. + + WideImage is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with WideImage; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + + * @package Internals + **/ + + + /** + * @package Exceptions + */ + class WideImage_InvalidCoordinateException extends WideImage_Exception {} + + /** + * A utility class for smart coordinates + * + * @package Internals + **/ + class WideImage_Coordinate + { + static protected $coord_align = array("left", "center", "right", "top", "middle", "bottom"); + static protected $coord_numeric = array("[0-9]+", "[0-9]+\.[0-9]+", "[0-9]+%", "[0-9]+\.[0-9]+%"); + + /** + * Parses a numeric or string representation of a corrdinate into a structure + * + * @param string $coord Smart coordinate + * @return array Parsed smart coordinate + */ + static function parse($c) + { + $tokens = array(); + $operators = array('+', '-'); + + $flush_operand = false; + $flush_operator = false; + $current_operand = ''; + $current_operator = ''; + $coordinate = strval($c); + $expr_len = strlen($coordinate); + + for ($i = 0; $i < $expr_len; $i++) + { + $char = $coordinate[$i]; + + if (in_array($char, $operators)) + { + $flush_operand = true; + $flush_operator = true; + $current_operator = $char; + } + else + { + $current_operand .= $char; + if ($i == $expr_len - 1) + $flush_operand = true; + } + + if ($flush_operand) + { + if (trim($current_operand) != '') + $tokens[] = array('type' => 'operand', 'value' => trim($current_operand)); + + $current_operand = ''; + $flush_operand = false; + } + + if ($flush_operator) + { + $tokens[] = array('type' => 'operator', 'value' => $char); + $flush_operator = false; + } + } + return $tokens; + } + + /** + * Evaluates the $coord relatively to $dim + * + * @param string $coord A numeric value or percent string + * @param int $dim Dimension + * @param int $sec_dim Secondary dimension (for align) + * @return int Calculated value + */ + static function evaluate($coord, $dim, $sec_dim = null) + { + $comp_regex = implode('|', self::$coord_align) . '|' . implode('|', self::$coord_numeric); + if (preg_match("/^([+-])?({$comp_regex})$/", $coord, $matches)) + { + $sign = intval($matches[1] . "1"); + $val = $matches[2]; + if (in_array($val, self::$coord_align)) + { + if ($sec_dim === null) + { + switch ($val) + { + case 'left': + case 'top': + return 0; + break; + case 'center': + case 'middle': + return $sign * intval($dim / 2); + break; + case 'right': + case 'bottom': + return $sign * $dim; + break; + default: + return null; + } + } + else + { + switch ($val) + { + case 'left': + case 'top': + return 0; + break; + case 'center': + case 'middle': + return $sign * intval($dim / 2 - $sec_dim / 2); + break; + case 'right': + case 'bottom': + return $sign * ($dim - $sec_dim); + break; + default: + return null; + } + } + } + elseif (substr($val, -1) === '%') + return intval(round($sign * $dim * floatval(str_replace('%', '', $val)) / 100)); + else + return $sign * intval(round($val)); + } + } + + /** + * Calculates and fixes a smart coordinate into a numeric value + * + * @param mixed $value Smart coordinate, relative to $dim + * @param int $dim Coordinate to which $value is relative + * @param int $sec_dim Secondary dimension (for align) + * @return int Calculated value + */ + static function fix($value, $dim, $sec_dim = null) + { + $coord_tokens = self::parse($value); + + if (count($coord_tokens) == 0 || $coord_tokens[count($coord_tokens) - 1]['type'] != 'operand') + throw new WideImage_InvalidCoordinateException("Couldn't parse coordinate '$value' properly."); + + $value = 0; + $operation = 1; + foreach ($coord_tokens as $token) + { + if ($token['type'] == 'operand') + { + $operand_value = self::evaluate($token['value'], $dim, $sec_dim); + if ($operation == 1) + $value = $value + $operand_value; + elseif ($operation == -1) + $value = $value - $operand_value; + else + throw new WideImage_InvalidCoordinateException("Invalid coordinate syntax."); + + $operation = 0; + } + elseif ($token['type'] == 'operator') + { + if ($token['value'] == '-') + { + if ($operation == 0) + $operation = -1; + else + $operation = $operation * -1; + } + elseif ($token['value'] == '+') + { + if ($operation == 0) + $operation = '1'; + } + } + } + return $value; + } + } Added: XoopsModules/uitabs/releases/1.04/htdocs/Frameworks/wideimage/Exception.php =================================================================== --- XoopsModules/uitabs/releases/1.04/htdocs/Frameworks/wideimage/Exception.php (rev 0) +++ XoopsModules/uitabs/releases/1.04/htdocs/Frameworks/wideimage/Exception.php 2012-01-02 08:54:32 UTC (rev 8627) @@ -0,0 +1,31 @@ +<?php + /** + * @author Gasper Kozak + * @copyright 2007-2011 + + This file is part of WideImage. + + WideImage is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation; either version 2.1 of the License, or + (at your option) any later version. + + WideImage is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with WideImage; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + + * @package WideImage + **/ + + /** + * Base Exception class + * + * @package Exceptions + **/ + class WideImage_Exception extends RuntimeException {} + \ No newline at end of file Added: XoopsModules/uitabs/releases/1.04/htdocs/Frameworks/wideimage/Font/GDF.php =================================================================== --- XoopsModules/uitabs/releases/1.04/htdocs/Frameworks/wideimage/Font/GDF.php (rev 0) +++ XoopsModules/uitabs/releases/1.04/htdocs/Frameworks/wideimage/Font/GDF.php 2012-01-02 08:54:32 UTC (rev 8627) @@ -0,0 +1,48 @@ +<?php + /** + * @author Gasper Kozak + * @copyright 2007-2011 + + This file is part of WideImage. + + WideImage is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation; either version 2.1 of the License, or + (at your option) any later version. + + WideImage is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with WideImage; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + + * @package WideImage + **/ + + /** + * GDF font support class + * + * @package WideImage + */ + class WideImage_Font_GDF + { + protected $font; + protected $color; + + function __construct($face, $color) + { + if (is_int($face) && $face >= 1 && $face <= 5) + $this->font = $face; + else + $this->font = imageloadfont($face); + $this->color = $color; + } + + function writeText($image, $x, $y, $text) + { + imagestring($image->getHandle(), $this->font, $x, $y, $text, $this->color); + } + } Added: XoopsModules/uitabs/releases/1.04/htdocs/Frameworks/wideimage/Font/PS.php =================================================================== --- XoopsModules/uitabs/releases/1.04/htdocs/Frameworks/wideimage/Font/PS.php (rev 0) +++ XoopsModules/uitabs/releases/1.04/htdocs/Frameworks/wideimage/Font/PS.php 2012-01-02 08:54:32 UTC (rev 8627) @@ -0,0 +1,60 @@ +<?php + /** + * @author Gasper Kozak + * @copyright 2007-2011 + + This file is part of WideImage. + + WideImage is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation; either version 2.1 of the License, or + (at your option) any later version. + + WideImage is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with WideImage; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + + * @package WideImage + **/ + + /** + * PS font support class + * + * @package WideImage + */ + class WideImage_Font_PS + { + public $size; + public $color; + public $handle; + + function __construct($file, $size, $color, $bgcolor = null) + { + $this->handle = imagepsloadfont($file); + $this->size = $size; + $this->color = $color; + if ($bgcolor === null) + $this->bgcolor = $color; + else + $this->color = $color; + } + + function writeText($image, $x, $y, $text, $angle = 0) + { + if ($image->isTrueColor()) + $image->alphaBlending(true); + + imagepstext($image->getHandle(), $text, $this->handle, $this->size, $this->color, $this->bgcolor, $x, $y, 0, 0, $angle, 4); + } + + function __destruct() + { + imagepsfreefont($this->handle); + $this->handle = null; + } + } Added: XoopsModules/uitabs/releases/1.04/htdocs/Frameworks/wideimage/Font/TTF.php =================================================================== --- XoopsModules/uitabs/releases/1.04/htdocs/Frameworks/wideimage/Font/TTF.php (rev 0) +++ XoopsModules/uitabs/releases/1.04/htdocs/Frameworks/wideimage/Font/TTF.php 2012-01-02 08:54:32 UTC (rev 8627) @@ -0,0 +1,75 @@ +<?php + /** + * @author Gasper Kozak + * @copyright 2007-2011 + + This file is part of WideImage. + + WideImage is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation; either version 2.1 of the License, or + (at your option) any later version. + + WideImage is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with WideImage; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + + * @package WideImage + **/ + + /** + * TTF font support class + * + * @package WideImage + */ + class WideImage_Font_TTF + { + public $face; + public $size; + public $color; + + function __construct($face, $size, $color) + { + $this->face = $face; + $this->size = $size; + $this->color = $color; + } + + /** + * Writes text onto an image + * + * @param WideImage_Image $image + * @param mixed $x smart coordinate + * @param mixed $y smart coordinate + * @param string $text + * @param int $angle Angle in degrees clockwise + */ + function writeText($image, $x, $y, $text, $angle = 0) + { + if ($image->isTrueColor()) + $image->alphaBlending(true); + + $box = imageftbbox($this->size, $angle, $this->face, $text); + $obox = array( + 'left' => min($box[0], $box[2], $box[4], $box[6]), + 'top' => min($box[1], $box[3], $box[5], $box[7]), + 'right' => max($box[0], $box[2], $box[4], $box[6]) - 1, + 'bottom' => max($box[1], $box[3], $box[5], $box[7]) - 1 + ); + $obox['width'] = abs($obox['left']) + abs($obox['right']); + $obox['height'] = abs($obox['top']) + abs($obox['bottom']); + + $x = WideImage_Coordinate::fix($x, $image->getWidth(), $obox['width']); + $y = WideImage_Coordinate::fix($y, $image->getHeight(), $obox['height']); + + $fixed_x = $x - $obox['left']; + $fixed_y = $y - $obox['top']; + + imagettftext($image->getHandle(), $this->size, $angle, $fixed_x, $fixed_y, $this->color, $this->face, $text); + } + } Added: XoopsModules/uitabs/releases/1.04/htdocs/Frameworks/wideimage/Image.php =================================================================== --- XoopsModules/uitabs/releases/1.04/htdocs/Frameworks/wideimage/Image.php (rev 0) +++ XoopsModules/uitabs/releases/1.04/htdocs/Frameworks/wideimage/Image.php 2012-01-02 08:54:32 UTC (rev 8627) @@ -0,0 +1,964 @@ +<?php + /** + * @author Gasper Kozak + * @copyright 2007-2011 + + This file is part of WideImage. + + WideImage is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation; either version 2.1 of the License, or + (at your option) any later version. + + WideImage is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with WideImage; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + + * @package WideImage + **/ + + /** + * Thrown when an invalid dimension is passed for some operations + * + * @package Exceptions + */ + class WideImage_InvalidImageDimensionException extends WideImage_Exception {} + + /** + * Thrown when an image can't be saved (returns false by the mapper) + * + * @package Exceptions + */ + class WideImage_UnknownErrorWhileMappingException extends WideImage_Exception {} + + /** + * Base class for images + * + * @package WideImage + */ + abstract class WideImage_Image + { + /** + * Holds the image resource + * @var resource + */ + protected $handle = null; + + /** + * Flag that determines if WideImage should call imagedestroy() upon object destruction + * @var bool + */ + protected $handleReleased = false; + + /** + * Canvas object + * @var WideImage_Canvas + */ + protected $canvas = null; + + /** + * @var string + */ + protected $sdata = null; + + /** + * The base class constructor + * + * @param resource $handle Image handle (GD2 resource) + */ + function __construct($handle) + { + WideImage::assertValidImageHandle($handle); + $this->handle = $handle; + } + + /** + * Cleanup + * + * Destroys the handle via WideImage_Image::destroy() when called by the GC. + */ + function __destruct() + { + $this->destroy(); + } + + /** + * This method destroy the image handle, and releases the image resource. + * + * After this is called, the object doesn't hold a valid image any more. + * No operation should be called after that. + */ + function destroy() + { + if ($this->isValid() && !$this->handleReleased) + imagedestroy($this->handle); + + $this->handle = null; + } + + /** + * Returns the GD image resource + * + * @return resource GD image resource + */ + function getHandle() + { + return $this->handle; + } + + /** + * @return bool True, if the image object holds a valid GD image, false otherwise + */ + function isValid() + { + return WideImage::isValidImageHandle($this->handle); + } + + /** + * Releases the handle + */ + function releaseHandle() + { + $this->handleReleased = true; + } + + /** + * Saves an image to a file + * + * The file type is recognized from the $uri. If you save to a GIF8, truecolor images + * are automatically converted to palette. + * + * This method supports additional parameters: quality (for jpeg images) and + * compression quality and filters (for png images). See http://www.php.net/imagejpeg and + * http://www.php.net/imagepng for details. + * + * Examples: + * <code> + * // save to a GIF + * $image->saveToFile('image.gif'); + * + * // save to a PNG with compression=7 and no filters + * $image->saveToFile('image.png', 7, PNG_NO_FILTER); + * + * // save to a JPEG with quality=80 + * $image->saveToFile('image.jpg', 80); + * + * // save to a JPEG with default quality=100 + * $image->saveToFile('image.jpg'); + * </code> + * + * @param string $uri File location + */ + function saveToFile($uri) + { + $mapper = WideImage_MapperFactory::selectMapper($uri, null); + $args = func_get_args(); + array_unshift($args, $this->getHandle()); + $res = call_user_func_array(array($mapper, 'save'), $args); + if (!$res) + throw new WideImage_UnknownErrorWhileMappingException(get_class($mapper) . " returned an invalid result while saving to $uri"); + } + + /** + * Returns binary string with image data in format specified by $format + * + * Additional parameters may be passed to the function. See WideImage_Image::saveToFile() for more details. + * + * @param string $format The format of the image + * @return string The binary image data in specified format + */ + function asString($format) + { + ob_start(); + $args = func_get_args(); + $args[0] = null; + array_unshift($args, $this->getHandle()); + + $mapper = WideImage_MapperFactory::selectMapper(null, $format); + $res = call_user_func_array(array($mapper, 'save'), $args); + if (!$... [truncated message content] |
From: <wis...@us...> - 2012-01-02 05:05:03
|
Revision: 8626 http://xoops.svn.sourceforge.net/xoops/?rev=8626&view=rev Author: wishcraft Date: 2012-01-02 05:04:52 +0000 (Mon, 02 Jan 2012) Log Message: ----------- Xortify 3.00 [STABLE] - For XOOPS 2.5.x - Extras Tested - Defaulted to Xortify.com - Minor fault bans count on dashboard Modified Paths: -------------- XoopsModules/xortify/releases/3.00/htdocs/modules/xortify/admin/index.php Modified: XoopsModules/xortify/releases/3.00/htdocs/modules/xortify/admin/index.php =================================================================== --- XoopsModules/xortify/releases/3.00/htdocs/modules/xortify/admin/index.php 2012-01-02 05:04:49 UTC (rev 8625) +++ XoopsModules/xortify/releases/3.00/htdocs/modules/xortify/admin/index.php 2012-01-02 05:04:52 UTC (rev 8626) @@ -376,7 +376,7 @@ $indexAdmin->addInfoBoxLine(_XOR_ADMIN_COUNTS, "<label>"._XOR_ADMIN_THEREARE_XORTIFY."</label>", $log_handler->getCountByField('provider','xortify'), 'Green'); if ($bans = XoopsCache::read('xortify_bans_cache')) { - $indexAdmin->addInfoBoxLine(_XOR_ADMIN_COUNTS, "<label>"._XOR_ADMIN_THEREARE_CLOUDEDBANS."</label>", count($bans), 'Green'); + $indexAdmin->addInfoBoxLine(_XOR_ADMIN_COUNTS, "<label>"._XOR_ADMIN_THEREARE_CLOUDEDBANS."</label>", count($bans['data']), 'Green'); } echo $indexAdmin->renderIndex(); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <wis...@us...> - 2012-01-02 05:05:00
|
Revision: 8625 http://xoops.svn.sourceforge.net/xoops/?rev=8625&view=rev Author: wishcraft Date: 2012-01-02 05:04:49 +0000 (Mon, 02 Jan 2012) Log Message: ----------- Xortify 3.04 [STABLE] - For XOOPS 2.6.x - Defaulted to Xortify.com - Minor fault bans count on dashboard Modified Paths: -------------- XoopsModules/xortify/branch/2.6/3.04/htdocs/modules/xortify/admin/index.php Modified: XoopsModules/xortify/branch/2.6/3.04/htdocs/modules/xortify/admin/index.php =================================================================== --- XoopsModules/xortify/branch/2.6/3.04/htdocs/modules/xortify/admin/index.php 2011-12-31 13:02:26 UTC (rev 8624) +++ XoopsModules/xortify/branch/2.6/3.04/htdocs/modules/xortify/admin/index.php 2012-01-02 05:04:49 UTC (rev 8625) @@ -400,7 +400,7 @@ } if ($bans = XoopsCache::read('xortify_bans_cache')) { - $indexAdmin->addInfoBoxLine(_XOR_ADMIN_COUNTS, "<label>"._XOR_ADMIN_THEREARE_CLOUDEDBANS."</label>", count($bans), 'Green'); + $indexAdmin->addInfoBoxLine(_XOR_ADMIN_COUNTS, "<label>"._XOR_ADMIN_THEREARE_CLOUDEDBANS."</label>", count($bans['data']), 'Green'); } echo $indexAdmin->renderIndex(); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <vo...@us...> - 2011-12-31 13:02:34
|
Revision: 8624 http://xoops.svn.sourceforge.net/xoops/?rev=8624&view=rev Author: voltan1 Date: 2011-12-31 13:02:26 +0000 (Sat, 31 Dec 2011) Log Message: ----------- Change time Modified Paths: -------------- XoopsModules/fmcontent/branches/news/admin/file.php XoopsModules/fmcontent/branches/news/admin/topic.php XoopsModules/fmcontent/branches/news/article.php XoopsModules/fmcontent/branches/news/blocks/list.php XoopsModules/fmcontent/branches/news/class/story.php XoopsModules/fmcontent/branches/news/index.php XoopsModules/fmcontent/branches/news/language/arabic/blocks.php XoopsModules/fmcontent/branches/news/language/arabic/main.php XoopsModules/fmcontent/branches/news/language/arabic/modinfo.php XoopsModules/fmcontent/branches/news/language/english/blocks.php XoopsModules/fmcontent/branches/news/language/english/main.php XoopsModules/fmcontent/branches/news/language/english/modinfo.php XoopsModules/fmcontent/branches/news/language/persian/blocks.php XoopsModules/fmcontent/branches/news/language/persian/main.php XoopsModules/fmcontent/branches/news/language/persian/modinfo.php XoopsModules/fmcontent/branches/news/templates/blocks/news_list.html XoopsModules/fmcontent/branches/news/templates/news_article.html XoopsModules/fmcontent/branches/news/templates/news_index_default.html XoopsModules/fmcontent/branches/news/templates/news_index_list.html XoopsModules/fmcontent/branches/news/templates/news_index_news.html XoopsModules/fmcontent/branches/news/templates/news_index_photo.html XoopsModules/fmcontent/branches/news/templates/news_index_table.html XoopsModules/fmcontent/branches/news/templates/news_rss.html XoopsModules/fmcontent/branches/news/topic.php XoopsModules/fmcontent/branches/news/xoops_version.php Modified: XoopsModules/fmcontent/branches/news/admin/file.php =================================================================== --- XoopsModules/fmcontent/branches/news/admin/file.php 2011-12-29 17:56:36 UTC (rev 8623) +++ XoopsModules/fmcontent/branches/news/admin/file.php 2011-12-31 13:02:26 UTC (rev 8624) @@ -32,8 +32,8 @@ // Define scripts $xoTheme->addScript('browse.php?Frameworks/jquery/jquery.js'); $xoTheme->addScript('browse.php?Frameworks/jquery/plugins/jquery.ui.js'); -$xoTheme->addScript('browse.php?modules/' . $NewsModule->getVar('dirname') . '/js/order.js'); -$xoTheme->addScript('browse.php?modules/' . $NewsModule->getVar('dirname') . '/js/admin.js'); +$xoTheme->addScript(XOOPS_URL . '/modules/' . $NewsModule->getVar('dirname') . '/js/order.js'); +$xoTheme->addScript(XOOPS_URL . '/modules/' . $NewsModule->getVar('dirname') . '/js/admin.js'); // Add module stylesheet $xoTheme->addStylesheet(XOOPS_URL . '/modules/' . $NewsModule->getVar('dirname') . '/css/admin.css'); $xoTheme->addStylesheet(XOOPS_URL . '/modules/system/css/ui/' . xoops_getModuleOption('jquery_theme', 'system') . '/ui.all.css'); Modified: XoopsModules/fmcontent/branches/news/admin/topic.php =================================================================== --- XoopsModules/fmcontent/branches/news/admin/topic.php 2011-12-29 17:56:36 UTC (rev 8623) +++ XoopsModules/fmcontent/branches/news/admin/topic.php 2011-12-31 13:02:26 UTC (rev 8624) @@ -33,8 +33,8 @@ // Define scripts $xoTheme->addScript('browse.php?Frameworks/jquery/jquery.js'); $xoTheme->addScript('browse.php?Frameworks/jquery/plugins/jquery.ui.js'); -$xoTheme->addScript('browse.php?modules/' . $NewsModule->getVar('dirname') . '/js/order.js'); -$xoTheme->addScript('browse.php?modules/' . $NewsModule->getVar('dirname') . '/js/admin.js'); +$xoTheme->addScript(XOOPS_URL . '/modules/' . $NewsModule->getVar('dirname') . '/js/order.js'); +$xoTheme->addScript(XOOPS_URL . '/modules/' . $NewsModule->getVar('dirname') . '/js/admin.js'); // Add module stylesheet $xoTheme->addStylesheet(XOOPS_URL . '/modules/' . $NewsModule->getVar('dirname') . '/css/admin.css'); $xoTheme->addStylesheet(XOOPS_URL . '/modules/system/css/ui/' . xoops_getModuleOption('jquery_theme', 'system') . '/ui.all.css'); Modified: XoopsModules/fmcontent/branches/news/article.php =================================================================== --- XoopsModules/fmcontent/branches/news/article.php 2011-12-29 17:56:36 UTC (rev 8623) +++ XoopsModules/fmcontent/branches/news/article.php 2011-12-31 13:02:26 UTC (rev 8624) @@ -89,7 +89,7 @@ $content ['topic'] = $view_topic->getVar ( 'topic_title' ); $content ['topic_alias'] = $view_topic->getVar ( 'topic_alias' ); $content ['topic_id'] = $view_topic->getVar ( 'topic_id' ); -$content ['story_create'] = formatTimestamp ( $content ['story_create'], _MEDIUMDATESTRING ); +$content ['story_publish'] = formatTimestamp ( $content ['story_publish'], _MEDIUMDATESTRING ); $content ['story_update'] = formatTimestamp ( $content ['story_update'], _MEDIUMDATESTRING ); $content ['imageurl'] = XOOPS_URL . xoops_getModuleOption ( 'img_dir', $NewsModule->getVar ( 'dirname' ) ) . '/medium/' . $content ['story_img']; $content ['thumburl'] = XOOPS_URL . xoops_getModuleOption ( 'img_dir', $NewsModule->getVar ( 'dirname' ) ) . '/thumb/' . $content ['story_img']; @@ -188,7 +188,7 @@ } } if (xoops_getModuleOption ( 'disp_date', $NewsModule->getVar ( 'dirname' ) )) { - $link ['date'] = XoopsUser::getUnameFromId ( $obj->getVar ( 'story_create' ) ); + $link ['date'] = XoopsUser::getUnameFromId ( $obj->getVar ( 'story_publish' ) ); } if (xoops_getModuleOption ( 'disp_author', $NewsModule->getVar ( 'dirname' ) )) { $content ['author'] = XoopsUser::getUnameFromId ( $obj->getVar ( 'story_uid' ) ); @@ -236,9 +236,9 @@ if (xoops_getModuleOption ( 'editinplace', $NewsModule->getVar ( 'dirname' ) ) && is_object ( $xoopsUser ) && ($xoopsUser->id () == $obj->getVar ( 'story_uid' ) || $xoopsUser->isAdmin ()) && $content ['dohtml']) { // Add scripts $xoTheme->addScript ( 'browse.php?Frameworks/jquery/jquery.js' ); - $xoTheme->addScript ( 'browse.php?modules/' . $NewsModule->getVar ( 'dirname' ) . '/js/jeditable/jquery.wysiwyg.js' ); - $xoTheme->addScript ( 'browse.php?modules/' . $NewsModule->getVar ( 'dirname' ) . '/js/jeditable/jquery.jeditable.mini.js' ); - $xoTheme->addScript ( 'browse.php?modules/' . $NewsModule->getVar ( 'dirname' ) . '/js/jeditable/jquery.jeditable.wysiwyg.js' ); + $xoTheme->addScript ( XOOPS_URL . '/modules/' . $NewsModule->getVar ( 'dirname' ) . '/js/jeditable/jquery.wysiwyg.js' ); + $xoTheme->addScript ( XOOPS_URL . '/modules/' . $NewsModule->getVar ( 'dirname' ) . '/js/jeditable/jquery.jeditable.mini.js' ); + $xoTheme->addScript ( XOOPS_URL . '/modules/' . $NewsModule->getVar ( 'dirname' ) . '/js/jeditable/jquery.jeditable.wysiwyg.js' ); // Add Stylesheet $xoTheme->addStylesheet ( XOOPS_URL . '/modules/' . $NewsModule->getVar ( 'dirname' ) . '/css/jquery.wysiwyg.css' ); $xoopsTpl->assign ( 'editinplace', true ); @@ -249,7 +249,7 @@ $xoTheme->addScript ( 'browse.php?Frameworks/jquery/jquery.js' ); $xoTheme->addScript ( 'browse.php?Frameworks/jquery/plugins/jquery.lightbox.js' ); // Add Stylesheet - $xoTheme->addStylesheet ( 'browse.php?modules/system/css/lightbox.css' ); + $xoTheme->addStylesheet ( XOOPS_URL . '/modules/system/css/lightbox.css' ); $xoopsTpl->assign ( 'img_lightbox', true ); } Modified: XoopsModules/fmcontent/branches/news/blocks/list.php =================================================================== --- XoopsModules/fmcontent/branches/news/blocks/list.php 2011-12-29 17:56:36 UTC (rev 8623) +++ XoopsModules/fmcontent/branches/news/blocks/list.php 2011-12-31 13:02:26 UTC (rev 8624) @@ -145,7 +145,7 @@ $story_sort = new XoopsFormSelect(_NEWS_MI_SHOWSORT, 'options[]', $options[7]); $story_sort->addOption("story_id", _NEWS_MI_SHOWSORT_1); - $story_sort->addOption("story_create", _NEWS_MI_SHOWSORT_2); + $story_sort->addOption("story_publish", _NEWS_MI_SHOWSORT_2); $story_sort->addOption("story_update", _NEWS_MI_SHOWSORT_3); $story_sort->addOption("story_title", _NEWS_MI_SHOWSORT_4); $story_sort->addOption("story_order", _NEWS_MI_SHOWSORT_5); Modified: XoopsModules/fmcontent/branches/news/class/story.php =================================================================== --- XoopsModules/fmcontent/branches/news/class/story.php 2011-12-29 17:56:36 UTC (rev 8623) +++ XoopsModules/fmcontent/branches/news/class/story.php 2011-12-31 13:02:26 UTC (rev 8624) @@ -437,7 +437,7 @@ $default = self::News_GetDefault ( $criteria ); $obj = self::get ( $default ); $contentDefault = $obj->toArray (); - $contentDefault ['story_create'] = formatTimestamp ( $contentDefault ['story_create'], _MEDIUMDATESTRING ); + $contentDefault ['story_publish'] = formatTimestamp ( $contentDefault ['story_publish'], _MEDIUMDATESTRING ); $contentDefault ['imageurl'] = XOOPS_URL . xoops_getModuleOption ( 'img_dir', $NewsModule->getVar ( 'dirname' ) ) . '/medium/' . $contentDefault ['story_img']; $contentDefault ['thumburl'] = XOOPS_URL . xoops_getModuleOption ( 'img_dir', $NewsModule->getVar ( 'dirname' ) ) . '/thumb/' . $contentDefault ['story_img']; $contentDefault ['topic'] = $default_info ['title']; @@ -487,7 +487,7 @@ } $tab ['url'] = NewsUtils::News_Url ( $NewsModule->getVar ( 'dirname' ), $tab ); - $tab ['story_create'] = formatTimestamp ( $root->getVar ( 'story_create' ), _MEDIUMDATESTRING ); + $tab ['story_publish'] = formatTimestamp ( $root->getVar ( 'story_publish' ), _MEDIUMDATESTRING ); $tab ['story_update'] = formatTimestamp ( $root->getVar ( 'story_update' ), _MEDIUMDATESTRING ); $tab ['imageurl'] = XOOPS_URL . xoops_getModuleOption ( 'img_dir', $NewsModule->getVar ( 'dirname' ) ) . '/medium/' . $root->getVar ( 'story_img' ); $tab ['thumburl'] = XOOPS_URL . xoops_getModuleOption ( 'img_dir', $NewsModule->getVar ( 'dirname' ) ) . '/thumb/' . $root->getVar ( 'story_img' ); @@ -547,7 +547,7 @@ } $tab ['url'] = NewsUtils::News_Url ( $NewsModule->getVar ( 'dirname' ), $tab ); - $tab ['story_create'] = formatTimestamp ( $root->getVar ( 'story_create' ), _MEDIUMDATESTRING ); + $tab ['story_publish'] = formatTimestamp ( $root->getVar ( 'story_publish' ), _MEDIUMDATESTRING ); $tab ['story_update'] = formatTimestamp ( $root->getVar ( 'story_update' ), _MEDIUMDATESTRING ); $tab ['imageurl'] = XOOPS_URL . xoops_getModuleOption ( 'img_dir', $NewsModule->getVar ( 'dirname' ) ) . '/medium/' . $root->getVar ( 'story_img' ); $tab ['thumburl'] = XOOPS_URL . xoops_getModuleOption ( 'img_dir', $NewsModule->getVar ( 'dirname' ) ) . '/thumb/' . $root->getVar ( 'story_img' ); @@ -604,7 +604,7 @@ $tab ['url'] = NewsUtils::News_Url ( $NewsModule->getVar ( 'dirname' ), $tab ); $tab ['title'] = mb_strlen ( $root->getVar ( 'story_title' ), 'utf-8' ) > $story_infos ['lenght_title'] ? mb_substr ( $root->getVar ( 'story_title' ), 0, ($story_infos ['lenght_title']), 'utf-8' ) . "..." : $root->getVar ( 'story_title' ); - $tab ['date'] = formatTimestamp ( $root->getVar ( 'story_create' ), _MEDIUMDATESTRING ); + $tab ['date'] = formatTimestamp ( $root->getVar ( 'story_publish' ), _MEDIUMDATESTRING ); $ret [] = $tab; } } @@ -646,7 +646,7 @@ } $tab ['url'] = NewsUtils::News_Url ( $NewsModule->getVar ( 'dirname' ), $tab ); - $tab ['story_create'] = formatTimestamp ( $root->getVar ( 'story_create' ), _MEDIUMDATESTRING ); + $tab ['story_publish'] = formatTimestamp ( $root->getVar ( 'story_publish' ), _MEDIUMDATESTRING ); $tab ['story_update'] = formatTimestamp ( $root->getVar ( 'story_update' ), _MEDIUMDATESTRING ); $tab ['imageurl'] = XOOPS_URL . xoops_getModuleOption ( 'img_dir', $NewsModule->getVar ( 'dirname' ) ) . '/medium/' . $root->getVar ( 'story_img' ); $tab ['thumburl'] = XOOPS_URL . xoops_getModuleOption ( 'img_dir', $NewsModule->getVar ( 'dirname' ) ) . '/thumb/' . $root->getVar ( 'story_img' ); @@ -873,7 +873,7 @@ } $criteria->setStart ( $start ); $criteria->setLimit ( $limit ); - $criteria->setSort ( 'story_create' ); + $criteria->setSort ( 'story_publish' ); $contents = $this->getObjects ( $criteria ); @@ -886,7 +886,7 @@ $data ['topic_alias'] = $data ['topic']; $data ['link'] = NewsUtils::News_Url ( 'news', $data ); $data ['title'] = $content->getVar ( 'story_title' ); - $data ['time'] = $content->getVar ( 'story_create' ); + $data ['time'] = $content->getVar ( 'story_publish' ); $data ['uid'] = $content->getVar ( 'story_uid' ); $ret [] = $data; } Modified: XoopsModules/fmcontent/branches/news/index.php =================================================================== --- XoopsModules/fmcontent/branches/news/index.php 2011-12-29 17:56:36 UTC (rev 8623) +++ XoopsModules/fmcontent/branches/news/index.php 2011-12-31 13:02:26 UTC (rev 8624) @@ -59,17 +59,17 @@ $topics = $topic_handler->getall ( $story_topic ); $view_topic = $topics[$story_topic]; if (! isset ( $view_topic )) { - redirect_header ( 'index.php', 3, _NEWS_MD_TOPIC_ERROR ); + redirect_header ( 'index.php', 3, _NEWS_MD_ERROR_TOPIC ); exit (); } if ($view_topic->getVar ( 'topic_modid' ) != $NewsModule->getVar ( 'mid' )) { - redirect_header ( 'index.php', 3, _NEWS_MD_TOPIC_ERROR ); + redirect_header ( 'index.php', 3, _NEWS_MD_ERROR_TOPIC ); exit (); } if ($view_topic->getVar ( 'topic_online' ) == '0') { - redirect_header ( 'index.php', 3, _NEWS_MD_TOPIC_ERROR ); + redirect_header ( 'index.php', 3, _NEWS_MD_ERROR_TOPIC ); exit (); } @@ -199,7 +199,7 @@ $xoTheme->addScript ( 'browse.php?Frameworks/jquery/jquery.js' ); $xoTheme->addScript ( 'browse.php?Frameworks/jquery/plugins/jquery.lightbox.js' ); // Add Stylesheet - $xoTheme->addStylesheet ( 'browse.php?modules/system/css/lightbox.css' ); + $xoTheme->addStylesheet ( XOOPS_URL . '/modules/system/css/lightbox.css' ); $xoopsTpl->assign ( 'img_lightbox', true ); } Modified: XoopsModules/fmcontent/branches/news/language/arabic/blocks.php =================================================================== --- XoopsModules/fmcontent/branches/news/language/arabic/blocks.php 2011-12-29 17:56:36 UTC (rev 8623) +++ XoopsModules/fmcontent/branches/news/language/arabic/blocks.php 2011-12-31 13:02:26 UTC (rev 8624) @@ -28,5 +28,6 @@ define('_NEWS_MB_MORE', ' اقرأ المزيد '); define('_NEWS_MB_SHOE_MORELINK', 'Show more link'); define('_NEWS_MB_MORELINK', 'More link'); + define("_NEWS_MB_IMPORTANT", "Immediate "); } ?> \ No newline at end of file Modified: XoopsModules/fmcontent/branches/news/language/arabic/main.php =================================================================== --- XoopsModules/fmcontent/branches/news/language/arabic/main.php 2011-12-29 17:56:36 UTC (rev 8623) +++ XoopsModules/fmcontent/branches/news/language/arabic/main.php 2011-12-31 13:02:26 UTC (rev 8624) @@ -32,6 +32,7 @@ define('_NEWS_MD_COM', 'الرأي'); define('_NEWS_MD_RELATED', 'مواضیع ذات صلة'); define("_NEWS_MD_HOME", "Home"); + define("_NEWS_MD_IMPORTANT", "Immediate "); // Link define('_NEWS_MD_NEXT', 'التالیة'); define('_NEWS_MD_PREV', 'السابقة'); Modified: XoopsModules/fmcontent/branches/news/language/arabic/modinfo.php =================================================================== --- XoopsModules/fmcontent/branches/news/language/arabic/modinfo.php 2011-12-29 17:56:36 UTC (rev 8623) +++ XoopsModules/fmcontent/branches/news/language/arabic/modinfo.php 2011-12-31 13:02:26 UTC (rev 8624) @@ -155,7 +155,7 @@ define('_NEWS_MI_SHOWSORT_3', 'content update'); define('_NEWS_MI_SHOWSORT_4', 'content title'); define('_NEWS_MI_SHOWSORT_5', 'content order'); - define('_NEWS_MI_SHOWSORT_6', 'Random content'); + define('_NEWS_MI_SHOWSORT_6', 'Random'); define('_NEWS_MI_SHOWSORT_7', 'content Hits'); // Admin page define('_NEWS_MI_ADMIN_PERPAGE', 'الوثیقة في کل صفحة'); Modified: XoopsModules/fmcontent/branches/news/language/english/blocks.php =================================================================== --- XoopsModules/fmcontent/branches/news/language/english/blocks.php 2011-12-29 17:56:36 UTC (rev 8623) +++ XoopsModules/fmcontent/branches/news/language/english/blocks.php 2011-12-31 13:02:26 UTC (rev 8624) @@ -28,5 +28,6 @@ define('_NEWS_MB_MORE', 'Read more'); define('_NEWS_MB_SHOE_MORELINK', 'Show more link'); define('_NEWS_MB_MORELINK', 'More link'); + define("_NEWS_MB_IMPORTANT", "Immediate "); } ?> \ No newline at end of file Modified: XoopsModules/fmcontent/branches/news/language/english/main.php =================================================================== --- XoopsModules/fmcontent/branches/news/language/english/main.php 2011-12-29 17:56:36 UTC (rev 8623) +++ XoopsModules/fmcontent/branches/news/language/english/main.php 2011-12-31 13:02:26 UTC (rev 8624) @@ -31,7 +31,8 @@ define("_NEWS_MD_AUTHOR_ALL_DESC", "View all contributions by "); define('_NEWS_MD_COM', 'Comment'); define('_NEWS_MD_RELATED', 'Related articles'); - define("_NEWS_MD_HOME", "Home"); + define("_NEWS_MD_HOME", "Home"); + define("_NEWS_MD_IMPORTANT", "Immediate "); // Link define('_NEWS_MD_NEXT', 'Next page'); define('_NEWS_MD_PREV', 'Previous page'); Modified: XoopsModules/fmcontent/branches/news/language/english/modinfo.php =================================================================== --- XoopsModules/fmcontent/branches/news/language/english/modinfo.php 2011-12-29 17:56:36 UTC (rev 8623) +++ XoopsModules/fmcontent/branches/news/language/english/modinfo.php 2011-12-31 13:02:26 UTC (rev 8624) @@ -154,8 +154,8 @@ define('_NEWS_MI_SHOWSORT_2', 'article create'); define('_NEWS_MI_SHOWSORT_3', 'article update'); define('_NEWS_MI_SHOWSORT_4', 'article title'); - define('_NEWS_MI_SHOWSORT_5', 'Admin article page order'); - define('_NEWS_MI_SHOWSORT_6', 'Random order'); + define('_NEWS_MI_SHOWSORT_5', 'article order'); + define('_NEWS_MI_SHOWSORT_6', 'Random'); define('_NEWS_MI_SHOWSORT_7', 'article Hits'); // Admin page define('_NEWS_MI_ADMIN_PERPAGE', 'Admin article page items number'); Modified: XoopsModules/fmcontent/branches/news/language/persian/blocks.php =================================================================== --- XoopsModules/fmcontent/branches/news/language/persian/blocks.php 2011-12-29 17:56:36 UTC (rev 8623) +++ XoopsModules/fmcontent/branches/news/language/persian/blocks.php 2011-12-31 13:02:26 UTC (rev 8624) @@ -28,5 +28,6 @@ define('_NEWS_MB_MORE', 'ادامه مطلب'); define('_NEWS_MB_SHOE_MORELINK', 'Show more link'); define('_NEWS_MB_MORELINK', 'More link'); + define("_NEWS_MB_IMPORTANT", "Immediate "); } ?> \ No newline at end of file Modified: XoopsModules/fmcontent/branches/news/language/persian/main.php =================================================================== --- XoopsModules/fmcontent/branches/news/language/persian/main.php 2011-12-29 17:56:36 UTC (rev 8623) +++ XoopsModules/fmcontent/branches/news/language/persian/main.php 2011-12-31 13:02:26 UTC (rev 8624) @@ -31,7 +31,8 @@ define("_NEWS_MD_AUTHOR_ALL_DESC", "مشاهده تمام مطالب ارسال شده توسط "); define('_NEWS_MD_COM', 'نظر'); define('_NEWS_MD_RELATED', 'مطالب مرتبط'); - define("_NEWS_MD_HOME", "Home"); + define("_NEWS_MD_HOME", "Home"); + define("_NEWS_MD_IMPORTANT", "Immediate "); // Link define('_NEWS_MD_NEXT', 'صفحه بعدی'); define('_NEWS_MD_PREV', 'صفحه قبلی'); Modified: XoopsModules/fmcontent/branches/news/language/persian/modinfo.php =================================================================== --- XoopsModules/fmcontent/branches/news/language/persian/modinfo.php 2011-12-29 17:56:36 UTC (rev 8623) +++ XoopsModules/fmcontent/branches/news/language/persian/modinfo.php 2011-12-31 13:02:26 UTC (rev 8624) @@ -155,7 +155,7 @@ define('_NEWS_MI_SHOWSORT_3', 'content update'); define('_NEWS_MI_SHOWSORT_4', 'content title'); define('_NEWS_MI_SHOWSORT_5', 'content order'); - define('_NEWS_MI_SHOWSORT_6', 'Random content'); + define('_NEWS_MI_SHOWSORT_6', 'Random'); define('_NEWS_MI_SHOWSORT_7', 'content Hits'); // Admin page define('_NEWS_MI_ADMIN_PERPAGE', 'سند در هر صفحه'); Modified: XoopsModules/fmcontent/branches/news/templates/blocks/news_list.html =================================================================== --- XoopsModules/fmcontent/branches/news/templates/blocks/news_list.html 2011-12-29 17:56:36 UTC (rev 8623) +++ XoopsModules/fmcontent/branches/news/templates/blocks/news_list.html 2011-12-31 13:02:26 UTC (rev 8624) @@ -3,7 +3,7 @@ <{foreach item=content from=$block.contents}> <div class="item"> <div class="itemHead"> - <div class="itemTitle"><h3><a title="<{$content.title}>" href="<{$content.url}>"><{$content.title}></a></h3></div> + <div class="itemTitle"><h3><{if $content.story_important}><span class="red bold"><{$smarty.const._NEWS_MB_IMPORTANT}></span><{/if}><a title="<{$content.title}>" href="<{$content.url}>"><{$content.title}></a></h3></div> </div> <{if $block.date}> <div class="itemInfo"><{$smarty.const._NEWS_MB_DATE}> :<{$content.date}></div> @@ -39,7 +39,7 @@ </div> <{/if}> <li> - <h3><a href="<{$content.url}>" title="<{$content.story_title}>"><{$content.story_title}></a></h3> + <h3><{if $content.story_important}><span class="red bold"><{$smarty.const._NEWS_MB_IMPORTANT}></span><{/if}><a href="<{$content.url}>" title="<{$content.story_title}>"><{$content.story_title}></a></h3> <{if $block.date}> <div class="itemPostDate"><{$content.date}></div> <{/if}> @@ -47,7 +47,7 @@ <{if $content.story_short}> <div class="itemText"><{$content.story_short}></div> <{else}> - <div class="itemText"><{$content.story_text|truncate:130:""}></div> + <div class="itemText"><{$content.story_text|truncate:130}></div> <{/if}> <{/if}> <div class="clear"></div> @@ -58,7 +58,7 @@ <ul> <{foreach item=content from=$block.contents}> <li> - <h3><a href="<{$content.url}>" title="<{$content.story_title}>"><{$content.story_title}></a></h3> + <h3><{if $content.story_important}><span class="red bold"><{$smarty.const._NEWS_MB_IMPORTANT}></span><{/if}><a href="<{$content.url}>" title="<{$content.story_title}>"><{$content.story_title}></a></h3> <{if $block.date}> <div class="itemPostDate"><{$content.date}></div> <{/if}> @@ -74,7 +74,7 @@ <div class="itemBlockLeft"> <div class="item"> <div class="itemHead"> - <div class="itemTitle"><h2><a title="<{$content.title}>" href="<{$content.url}>"><{$content.title}></a></h2></div> + <div class="itemTitle"><h2><{if $content.story_important}><span class="red bold"><{$smarty.const._NEWS_MB_IMPORTANT}></span><{/if}><a title="<{$content.title}>" href="<{$content.url}>"><{$content.title}></a></h2></div> </div> <{if $block.date}> <div class="itemInfo"><{$smarty.const._NEWS_MB_DATE}> :<{$content.date}></div> @@ -104,7 +104,7 @@ <{foreach item=content from=$block.contents}> <{if $content.story_default == 0}> <div class="itemBlockRight"> - <h3><a href="<{$content.url}>" title="<{$content.story_title}>"><{$content.story_title|truncate:80}></a></h3> + <h3><{if $content.story_important}><span class="red bold"><{$smarty.const._NEWS_MB_IMPORTANT}></span><{/if}><a href="<{$content.url}>" title="<{$content.story_title}>"><{$content.story_title|truncate:80}></a></h3> </div> <{/if}> <{/foreach}> Modified: XoopsModules/fmcontent/branches/news/templates/news_article.html =================================================================== --- XoopsModules/fmcontent/branches/news/templates/news_article.html 2011-12-29 17:56:36 UTC (rev 8623) +++ XoopsModules/fmcontent/branches/news/templates/news_article.html 2011-12-31 13:02:26 UTC (rev 8624) @@ -11,7 +11,7 @@ <!-- Display content header --> <div class="itemHead"> <div class="itemTitle"> - <h2><{$content.story_title}></h2> + <h2><{if $content.story_important}><span class="red bold"><{$smarty.const._NEWS_MD_IMPORTANT}></span><{/if}><{$content.story_title}></h2> </div> </div> <{/if}> @@ -21,7 +21,7 @@ <{if $link.date || $link.hits || $content.story_comments || $link.topicshow}> •<{/if}> <{/if}> <{if $link.date}> - <span class="itemPostDate"><{$smarty.const._NEWS_MD_DATE}>: <{$content.story_create}></span> + <span class="itemPostDate"><{$smarty.const._NEWS_MD_DATE}>: <{$content.story_publish}></span> <{if $link.hits || $content.story_comments || $link.topicshow}> •<{/if}> <{/if}> <{if $link.hits}> @@ -64,7 +64,7 @@ </div> <{/if}> <{if $link.date}> - <{if $content.story_update != $content.story_create}> + <{if $content.story_update != $content.story_publish}> <div class="itemPostDate"><{$smarty.const._NEWS_MD_UPDATE}>: <{$content.story_update}></div> <{/if}> <{/if}> Modified: XoopsModules/fmcontent/branches/news/templates/news_index_default.html =================================================================== --- XoopsModules/fmcontent/branches/news/templates/news_index_default.html 2011-12-29 17:56:36 UTC (rev 8623) +++ XoopsModules/fmcontent/branches/news/templates/news_index_default.html 2011-12-31 13:02:26 UTC (rev 8624) @@ -1,5 +1,5 @@ <div id="default" class="item"> - <div class="itemTitle "><h2><{$default.story_title}></h2></div> + <div class="itemTitle "><h2><{if $content.story_important}><span class="red bold"><{$smarty.const._NEWS_MD_IMPORTANT}></span><{/if}><{$default.story_title}></h2></div> <{if $default.story_short}> <div class="itemShort"> <{if $default.story_img}> @@ -34,7 +34,7 @@ <div class="clear"></div> </div> <{/if}> - <div class="itemPostDate"><{$smarty.const._NEWS_MD_DATE}>: <{$default.story_create}> + <div class="itemPostDate"><{$smarty.const._NEWS_MD_DATE}>: <{$default.story_publish}> <{if $xoops_isadmin}> <span class="itemAdminLink"> <a href="<{$xoops_url}>/modules/<{$xoops_dirname}>/admin/article.php?op=edit_content&story_id=<{$default.story_id}>" title="<{$smarty.const._NEWS_MD_EDIT}>"><img src="<{$xoops_url}>/modules/<{$xoops_dirname}>/images/icons/edit.png" alt="<{$smarty.const._story_EDIT}>"/></a> Modified: XoopsModules/fmcontent/branches/news/templates/news_index_list.html =================================================================== --- XoopsModules/fmcontent/branches/news/templates/news_index_list.html 2011-12-29 17:56:36 UTC (rev 8623) +++ XoopsModules/fmcontent/branches/news/templates/news_index_list.html 2011-12-31 13:02:26 UTC (rev 8624) @@ -2,7 +2,7 @@ <ul> <{foreach item=content from=$contents}> <li> - <h3><a href="<{$content.url}>" title="<{$content.story_title}>"><{$content.story_title}></a></h3> + <h3><{if $content.story_important}><span class="red bold"><{$smarty.const._NEWS_MD_IMPORTANT}></span><{/if}><a href="<{$content.url}>" title="<{$content.story_title}>"><{$content.story_title}></a></h3> <{if $info.author || $info.date || $info.hits}> <div class="pad2"> <{if $info.author}> @@ -12,7 +12,7 @@ <{if $info.date || $info.hits}> •<{/if}> <{/if}> <{if $info.date}> - <span class="itemPostDate"><{$content.story_create}></span> + <span class="itemPostDate"><{$content.story_publish}></span> <{if $info.hits}> •<{/if}> <{/if}> <{if $info.hits}> Modified: XoopsModules/fmcontent/branches/news/templates/news_index_news.html =================================================================== --- XoopsModules/fmcontent/branches/news/templates/news_index_news.html 2011-12-29 17:56:36 UTC (rev 8623) +++ XoopsModules/fmcontent/branches/news/templates/news_index_news.html 2011-12-31 13:02:26 UTC (rev 8624) @@ -3,6 +3,7 @@ <div class="itemHead"> <div class="itemTitle"> <h2> + <{if $content.story_important}><span class="red bold"><{$smarty.const._NEWS_MD_IMPORTANT}></span><{/if}> <a href="<{$content.url}>" title="<{$content.story_title}>"><{$content.story_title}></a> </h2> </div> @@ -16,7 +17,7 @@ <{/if}> <{if $info.date}> <span class="itemPostDate"> - <{$smarty.const._NEWS_MD_DATE}>: <{$content.story_create}><{if $content.story_update != $content.story_create}> • <{$smarty.const._NEWS_MD_UPDATE}>: <{$content.story_update}><{/if}> + <{$smarty.const._NEWS_MD_DATE}>: <{$content.story_publish}><{if $content.story_update != $content.story_publish}> • <{$smarty.const._NEWS_MD_UPDATE}>: <{$content.story_update}><{/if}> </span> <{if $info.hits}> •<{/if}> <{/if}> Modified: XoopsModules/fmcontent/branches/news/templates/news_index_photo.html =================================================================== --- XoopsModules/fmcontent/branches/news/templates/news_index_photo.html 2011-12-29 17:56:36 UTC (rev 8623) +++ XoopsModules/fmcontent/branches/news/templates/news_index_photo.html 2011-12-31 13:02:26 UTC (rev 8624) @@ -19,6 +19,7 @@ <div class="itemHead"> <div class="itemTitle"> <h2> + <{if $content.story_important}><span class="red bold"><{$smarty.const._NEWS_MD_IMPORTANT}></span><{/if}> <a href="<{$content.url}>" title="<{$content.story_title}>"><{$content.story_title}></a> </h2> </div> @@ -32,7 +33,7 @@ <{/if}> <{if $info.date}> <span class="itemPostDate"> - <{$smarty.const._NEWS_MD_DATE}>: <{$content.story_create}><{if $content.story_update != $content.story_create}> • <{$smarty.const._NEWS_MD_UPDATE}>: <{$content.story_update}><{/if}> + <{$smarty.const._NEWS_MD_DATE}>: <{$content.story_publish}><{if $content.story_update != $content.story_publish}> • <{$smarty.const._NEWS_MD_UPDATE}>: <{$content.story_update}><{/if}> </span> <{if $info.hits}> •<{/if}> <{/if}> Modified: XoopsModules/fmcontent/branches/news/templates/news_index_table.html =================================================================== --- XoopsModules/fmcontent/branches/news/templates/news_index_table.html 2011-12-29 17:56:36 UTC (rev 8623) +++ XoopsModules/fmcontent/branches/news/templates/news_index_table.html 2011-12-31 13:02:26 UTC (rev 8624) @@ -12,10 +12,10 @@ <tbody> <{foreach item=content from=$contents}> <tr class="<{cycle values="even,odd"}>"> - <td><a href="<{$content.url}>" title="<{$content.story_title}>"><{$content.story_title}></a></td> + <td><{if $content.story_important}><span class="red bold"><{$smarty.const._NEWS_MD_IMPORTANT}></span><{/if}><a href="<{$content.url}>" title="<{$content.story_title}>"><{$content.story_title}></a></td> <{if !$story_topic}><td><a href="<{$content.topicurl}>" title="<{$content.topic}>"><{$content.topic}></a></td><{/if}> <{if $info.author}><td><a title="<{$content.owner}>" href="<{$xoops_url}>/user.php?id=<{$content.story_uid}>"><{$content.owner}></a></td><{/if}> - <{if $info.date}><td><{$content.story_create}></td><{/if}> + <{if $info.date}><td><{$content.story_publish}></td><{/if}> <{if $info.hits}><td><{$content.story_hits}></td><{/if}> <{if $info.coms}><td><{$content.story_comments}></td><{/if}> </tr> Modified: XoopsModules/fmcontent/branches/news/templates/news_rss.html =================================================================== --- XoopsModules/fmcontent/branches/news/templates/news_rss.html 2011-12-29 17:56:36 UTC (rev 8623) +++ XoopsModules/fmcontent/branches/news/templates/news_rss.html 2011-12-31 13:02:26 UTC (rev 8624) @@ -25,7 +25,7 @@ <title><{$content.story_title}></title> <link><{$content.url}></link> <description><{if $content.story_short}><{$content.story_short}><{else}><{$content.story_text|strip_tags|truncate:300}><{/if}></description> - <pubDate><{$content.story_create}></pubDate> + <pubDate><{$content.story_publish}></pubDate> <guid><{$content.url}></guid> </item> <{/foreach}> Modified: XoopsModules/fmcontent/branches/news/topic.php =================================================================== --- XoopsModules/fmcontent/branches/news/topic.php 2011-12-29 17:56:36 UTC (rev 8623) +++ XoopsModules/fmcontent/branches/news/topic.php 2011-12-31 13:02:26 UTC (rev 8624) @@ -69,7 +69,7 @@ $xoTheme->addScript ( 'browse.php?Frameworks/jquery/jquery.js' ); $xoTheme->addScript ( 'browse.php?Frameworks/jquery/plugins/jquery.lightbox.js' ); // Add Stylesheet - $xoTheme->addStylesheet ( 'browse.php?modules/system/css/lightbox.css' ); + $xoTheme->addStylesheet ( XOOPS_URL . '/modules/system/css/lightbox.css' ); $xoopsTpl->assign ( 'img_lightbox', true ); } Modified: XoopsModules/fmcontent/branches/news/xoops_version.php =================================================================== --- XoopsModules/fmcontent/branches/news/xoops_version.php 2011-12-29 17:56:36 UTC (rev 8623) +++ XoopsModules/fmcontent/branches/news/xoops_version.php 2011-12-31 13:02:26 UTC (rev 8624) @@ -119,7 +119,7 @@ 'description' => '', 'show_func' => 'news_list_show', 'edit_func' => 'news_list_edit', - 'options' => $modversion['dirname'] . '|news|10|100|1|1|1|story_create|180|left|DESC|0|'. XOOPS_URL.'|0', + 'options' => $modversion['dirname'] . '|news|10|100|1|1|1|story_publish|180|left|DESC|0|'. XOOPS_URL.'|0', 'template' => 'news_list.html'); // Settings @@ -394,7 +394,7 @@ 'description' => '_NEWS_MI_SHOWSORT_DESC', 'formtype' => 'select', 'valuetype' => 'text', - 'options' => array(_NEWS_MI_SHOWSORT_1 => 'story_id', _NEWS_MI_SHOWSORT_2 => 'story_create', _NEWS_MI_SHOWSORT_3 => 'story_update', _NEWS_MI_SHOWSORT_4 => 'story_title', _NEWS_MI_SHOWSORT_5 => 'story_order', _NEWS_MI_SHOWSORT_6 => 'RAND()' , _NEWS_MI_SHOWSORT_7 => 'story_hits'), + 'options' => array(_NEWS_MI_SHOWSORT_1 => 'story_id', _NEWS_MI_SHOWSORT_2 => 'story_publish', _NEWS_MI_SHOWSORT_3 => 'story_update', _NEWS_MI_SHOWSORT_4 => 'story_title', _NEWS_MI_SHOWSORT_5 => 'story_order', _NEWS_MI_SHOWSORT_6 => 'RAND()' , _NEWS_MI_SHOWSORT_7 => 'story_hits'), 'default' => 'story_id'); $modversion['config'][] = array( @@ -792,7 +792,7 @@ 'description' => '_NEWS_MI_ADMIN_SHOWSORT_DESC', 'formtype' => 'select', 'valuetype' => 'text', - 'options' => array(_NEWS_MI_SHOWSORT_1 => 'story_id', _NEWS_MI_SHOWSORT_2 => 'story_create', _NEWS_MI_SHOWSORT_3 => 'story_update', _NEWS_MI_SHOWSORT_4 => 'story_title', _NEWS_MI_SHOWSORT_5 => 'story_order', _NEWS_MI_SHOWSORT_6 => 'RAND()'), + 'options' => array(_NEWS_MI_SHOWSORT_1 => 'story_id', _NEWS_MI_SHOWSORT_2 => 'story_publish', _NEWS_MI_SHOWSORT_3 => 'story_update', _NEWS_MI_SHOWSORT_4 => 'story_title', _NEWS_MI_SHOWSORT_5 => 'story_order', _NEWS_MI_SHOWSORT_6 => 'RAND()'), 'default' => 1); $modversion['config'][] = array( This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ma...@us...> - 2011-12-29 17:56:42
|
Revision: 8623 http://xoops.svn.sourceforge.net/xoops/?rev=8623&view=rev Author: mageg Date: 2011-12-29 17:56:36 +0000 (Thu, 29 Dec 2011) Log Message: ----------- change 13 => 'swc' to 13 => 'swf' in $imageExtensions Modified Paths: -------------- XoopsCore/branches/2.6.x/2.6.0/htdocs/class/uploader.php Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/class/uploader.php =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/class/uploader.php 2011-12-29 17:55:17 UTC (rev 8622) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/class/uploader.php 2011-12-29 17:56:36 UTC (rev 8623) @@ -191,7 +191,7 @@ */ public $imageExtensions = array( 1 => 'gif', 2 => 'jpg', 3 => 'png', 4 => 'swf', 5 => 'psd', 6 => 'bmp', 7 => 'tif', 8 => 'tif', 9 => 'jpc', - 10 => 'jp2', 11 => 'jpx', 12 => 'jb2', 13 => 'swc', 14 => 'iff', 15 => 'wbmp', 16 => 'xbm' + 10 => 'jp2', 11 => 'jpx', 12 => 'jb2', 13 => 'swf', 14 => 'iff', 15 => 'wbmp', 16 => 'xbm' ); /** This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ma...@us...> - 2011-12-29 17:55:23
|
Revision: 8622 http://xoops.svn.sourceforge.net/xoops/?rev=8622&view=rev Author: mageg Date: 2011-12-29 17:55:17 +0000 (Thu, 29 Dec 2011) Log Message: ----------- add .swf in getImgListAsArray Modified Paths: -------------- XoopsCore/branches/2.6.x/2.6.0/htdocs/class/xoopslists.php Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/class/xoopslists.php =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/class/xoopslists.php 2011-12-29 17:52:42 UTC (rev 8621) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/class/xoopslists.php 2011-12-29 17:55:17 UTC (rev 8622) @@ -159,7 +159,7 @@ $filelist = array(); if ($handle = opendir($dirname)) { while (false !== ($file = readdir($handle))) { - if (preg_match('/(\.gif|\.jpg|\.png)$/i', $file)) { + if (preg_match('/(\.gif|\.jpg|\.png|\.swf)$/i', $file)) { $file = $prefix . $file; $filelist[$file] = $file; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ma...@us...> - 2011-12-29 17:52:48
|
Revision: 8621 http://xoops.svn.sourceforge.net/xoops/?rev=8621&view=rev Author: mageg Date: 2011-12-29 17:52:42 +0000 (Thu, 29 Dec 2011) Log Message: ----------- small corrections in the smilies module Modified Paths: -------------- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/smilies/admin/smilies.php XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/smilies/language/english/modinfo.php Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/smilies/admin/smilies.php =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/smilies/admin/smilies.php 2011-12-29 07:49:46 UTC (rev 8620) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/smilies/admin/smilies.php 2011-12-29 17:52:42 UTC (rev 8621) @@ -84,7 +84,7 @@ } // Display Page Navigation if ($smilies_count > $nb_smilies) { - $nav = new XoopsPageNav($smilies_count, $nb_smilies, $start, 'start', 'fct=smilies&op=list'); + $nav = new XoopsPageNav($smilies_count, $nb_smilies, $start, 'start', 'op=list'); $xoops->tpl->assign('nav_menu', $nav->renderNav(4)); } break; @@ -148,9 +148,11 @@ $obj->setVar("smile_url", 'smilies/' . $_POST["smile_url"]); } if ($smilies_Handler->insert($obj)) { - $xoops->redirect("smilies.php?fct=smilies", 2, _AM_SMILIES_SAVE); + $xoops->redirect("smilies.php", 2, _AM_SMILIES_SAVE); } $xoops->error($obj->getHtmlErrors()); + $form = $xoops->getModuleForm($obj, 'smilies'); + $xoops->tpl->assign('form', $form->render()); break; //Del a smilie Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/smilies/language/english/modinfo.php =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/smilies/language/english/modinfo.php 2011-12-29 07:49:46 UTC (rev 8620) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/smilies/language/english/modinfo.php 2011-12-29 17:52:42 UTC (rev 8621) @@ -27,5 +27,4 @@ define("_MI_SMILIES_SMILIES", "Smilies manager"); define("_MI_SMILIES_ABOUT", "About"); // Preferences -define("_MI_SMILIES_PREFERENCE_PAGER", "Number of smilies to display per page"); - +define("_MI_SMILIES_PREFERENCE_PAGER", "Number of smilies to display per page"); \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <wis...@us...> - 2011-12-29 07:49:56
|
Revision: 8620 http://xoops.svn.sourceforge.net/xoops/?rev=8620&view=rev Author: wishcraft Date: 2011-12-29 07:49:46 +0000 (Thu, 29 Dec 2011) Log Message: ----------- Profile 1.75 - Speedtest Registration - Limit Users with Low Bandwidth from Registering - XOOPS 2.5 (Only) Added Paths: ----------- XoopsModules/profile/branches/wishcraft/1.75/ XoopsModules/profile/branches/wishcraft/1.75/docs/ XoopsModules/profile/branches/wishcraft/1.75/docs/.htaccess XoopsModules/profile/branches/wishcraft/1.75/docs/licence.txt XoopsModules/profile/branches/wishcraft/1.75/htdocs/ XoopsModules/profile/branches/wishcraft/1.75/htdocs/Frameworks/ XoopsModules/profile/branches/wishcraft/1.75/htdocs/Frameworks/moduleclasses/ XoopsModules/profile/branches/wishcraft/1.75/htdocs/Frameworks/moduleclasses/icons/ XoopsModules/profile/branches/wishcraft/1.75/htdocs/Frameworks/moduleclasses/icons/16/ XoopsModules/profile/branches/wishcraft/1.75/htdocs/Frameworks/moduleclasses/icons/16/profile.categories.png XoopsModules/profile/branches/wishcraft/1.75/htdocs/Frameworks/moduleclasses/icons/16/profile.directory.png XoopsModules/profile/branches/wishcraft/1.75/htdocs/Frameworks/moduleclasses/icons/16/profile.fields.png XoopsModules/profile/branches/wishcraft/1.75/htdocs/Frameworks/moduleclasses/icons/16/profile.permissions.png XoopsModules/profile/branches/wishcraft/1.75/htdocs/Frameworks/moduleclasses/icons/16/profile.step.png XoopsModules/profile/branches/wishcraft/1.75/htdocs/Frameworks/moduleclasses/icons/16/profile.user.png XoopsModules/profile/branches/wishcraft/1.75/htdocs/Frameworks/moduleclasses/icons/16/profile.validation.png XoopsModules/profile/branches/wishcraft/1.75/htdocs/Frameworks/moduleclasses/icons/32/ XoopsModules/profile/branches/wishcraft/1.75/htdocs/Frameworks/moduleclasses/icons/32/profile.categories.png XoopsModules/profile/branches/wishcraft/1.75/htdocs/Frameworks/moduleclasses/icons/32/profile.directory.png XoopsModules/profile/branches/wishcraft/1.75/htdocs/Frameworks/moduleclasses/icons/32/profile.fields.png XoopsModules/profile/branches/wishcraft/1.75/htdocs/Frameworks/moduleclasses/icons/32/profile.permissions.png XoopsModules/profile/branches/wishcraft/1.75/htdocs/Frameworks/moduleclasses/icons/32/profile.step.png XoopsModules/profile/branches/wishcraft/1.75/htdocs/Frameworks/moduleclasses/icons/32/profile.user.png XoopsModules/profile/branches/wishcraft/1.75/htdocs/Frameworks/moduleclasses/icons/32/profile.validation.png XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/ XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/ XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/activate.php XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/admin/ XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/admin/about.php XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/admin/admin_footer.php XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/admin/admin_header.php XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/admin/category.php XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/admin/dashboard.php XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/admin/deactivate.php XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/admin/directory.php XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/admin/field.php XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/admin/header.php XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/admin/index.html XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/admin/index.php XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/admin/menu.php XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/admin/permissions.php XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/admin/step.php XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/admin/user.php XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/admin/validation.php XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/admin/visibility.php XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/changemail.php XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/changepass.php XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/class/ XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/class/category.php XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/class/field.php XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/class/index.html XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/class/profile.php XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/class/regstep.php XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/class/validation.php XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/class/visibility.php XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/comment_delete.php XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/comment_edit.php XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/comment_new.php XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/comment_post.php XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/comment_reply.php XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/deactivate.php XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/directory.php XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/docs/ XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/docs/changelog.txt XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/docs/credits.txt XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/docs/index.html XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/docs/install.txt XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/docs/lang_diff.txt XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/docs/licence.txt XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/docs/readme.txt XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/dojsonvalidate.php XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/edituser.php XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/footer.php XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/header.php XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/images/ XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/images/index.html XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/images/left_both.gif XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/images/logo.png XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/images/modadminbg.gif XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/images/no.png XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/images/right_both.gif XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/images/yes.png XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/include/ XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/include/JSON.php XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/include/formrecaptcha.php XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/include/forms.php XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/include/functions.php XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/include/index.html XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/include/install.php XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/include/ip2locationlite.class.php XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/include/recaptchalib.php XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/include/update.php XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/index.php XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/js/ XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/js/index.html XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/js/jquery.json.validation.js XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/language/ XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/language/english/ XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/language/english/admin.php XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/language/english/help/ XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/language/english/help/help.html XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/language/english/help/index.html XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/language/english/index.html XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/language/english/mail_template/ XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/language/english/mail_template/emailchanged.tpl XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/language/english/mail_template/index.html XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/language/english/main.php XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/language/english/modinfo.php XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/language/english/style.css XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/language/index.html XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/lostpass.php XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/preloads/ XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/preloads/core.php XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/preloads/index.html XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/register.php XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/search.php XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/sql/ XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/sql/index.html XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/sql/mysql.sql XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/templates/ XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/templates/index.html XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/templates/profile_admin_categorylist.html XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/templates/profile_admin_fieldlist.html XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/templates/profile_admin_steplist.html XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/templates/profile_admin_visibility.html XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/templates/profile_avatar.html XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/templates/profile_breadcrumbs.html XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/templates/profile_changepass.html XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/templates/profile_directory_catlist.html XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/templates/profile_directory_index.html XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/templates/profile_directory_search.html XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/templates/profile_editprofile.html XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/templates/profile_email.html XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/templates/profile_form.html XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/templates/profile_not_local.html XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/templates/profile_not_passed_speedtest.html XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/templates/profile_register.html XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/templates/profile_results.html XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/templates/profile_search.html XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/templates/profile_userform.html XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/templates/profile_userinfo.html XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/user.php XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/userinfo.php XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/xoops_version.php Added: XoopsModules/profile/branches/wishcraft/1.75/docs/.htaccess =================================================================== --- XoopsModules/profile/branches/wishcraft/1.75/docs/.htaccess (rev 0) +++ XoopsModules/profile/branches/wishcraft/1.75/docs/.htaccess 2011-12-29 07:49:46 UTC (rev 8620) @@ -0,0 +1,21 @@ + +RewriteEngine On +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d + +RewriteRule ^user/changemail.html$ modules/profile/changemail.html +RewriteRule ^user/changepassword.html$ modules/profile/changepass.html +RewriteRule ^user/directory,(.*?),(.*?),([0-9]+).html$ modules/profile/directory.php?op=$1&fct=$2&groupid=$3 +RewriteRule ^user/edit,(.*?).html$ modules/profile/edituser.php?op=$1 +RewriteRule ^user/lostpassword,(.*?),(.*?).html$ modules/profile/lostpass.php?email=$1&code=$2 +RewriteRule ^user/register,(.*?),(.*?),(.*?).html$ modules/profile/register.php?op=$1&uid=$2&step=$3 +RewriteRule ^user/search,(.*?).html$ modules/profile/search.php?op=$1 +RewriteRule ^user/control.html$ modules/profile/user.php?op=main +RewriteRule ^user/(.*?)/(.*?)/([0-9]+).html$ modules/profile/userinfo.php?uid=$3 +RewriteRule ^user/(.*?)/(.*?)/comment_(.*?).php$ modules/profile/comment_$3.php + + + + + + Added: XoopsModules/profile/branches/wishcraft/1.75/docs/licence.txt =================================================================== --- XoopsModules/profile/branches/wishcraft/1.75/docs/licence.txt (rev 0) +++ XoopsModules/profile/branches/wishcraft/1.75/docs/licence.txt 2011-12-29 07:49:46 UTC (rev 8620) @@ -0,0 +1,339 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + <signature of Ty Coon>, 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. Added: XoopsModules/profile/branches/wishcraft/1.75/htdocs/Frameworks/moduleclasses/icons/16/profile.categories.png =================================================================== (Binary files differ) Property changes on: XoopsModules/profile/branches/wishcraft/1.75/htdocs/Frameworks/moduleclasses/icons/16/profile.categories.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/profile/branches/wishcraft/1.75/htdocs/Frameworks/moduleclasses/icons/16/profile.directory.png =================================================================== (Binary files differ) Property changes on: XoopsModules/profile/branches/wishcraft/1.75/htdocs/Frameworks/moduleclasses/icons/16/profile.directory.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/profile/branches/wishcraft/1.75/htdocs/Frameworks/moduleclasses/icons/16/profile.fields.png =================================================================== (Binary files differ) Property changes on: XoopsModules/profile/branches/wishcraft/1.75/htdocs/Frameworks/moduleclasses/icons/16/profile.fields.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/profile/branches/wishcraft/1.75/htdocs/Frameworks/moduleclasses/icons/16/profile.permissions.png =================================================================== (Binary files differ) Property changes on: XoopsModules/profile/branches/wishcraft/1.75/htdocs/Frameworks/moduleclasses/icons/16/profile.permissions.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/profile/branches/wishcraft/1.75/htdocs/Frameworks/moduleclasses/icons/16/profile.step.png =================================================================== (Binary files differ) Property changes on: XoopsModules/profile/branches/wishcraft/1.75/htdocs/Frameworks/moduleclasses/icons/16/profile.step.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/profile/branches/wishcraft/1.75/htdocs/Frameworks/moduleclasses/icons/16/profile.user.png =================================================================== (Binary files differ) Property changes on: XoopsModules/profile/branches/wishcraft/1.75/htdocs/Frameworks/moduleclasses/icons/16/profile.user.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/profile/branches/wishcraft/1.75/htdocs/Frameworks/moduleclasses/icons/16/profile.validation.png =================================================================== (Binary files differ) Property changes on: XoopsModules/profile/branches/wishcraft/1.75/htdocs/Frameworks/moduleclasses/icons/16/profile.validation.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/profile/branches/wishcraft/1.75/htdocs/Frameworks/moduleclasses/icons/32/profile.categories.png =================================================================== (Binary files differ) Property changes on: XoopsModules/profile/branches/wishcraft/1.75/htdocs/Frameworks/moduleclasses/icons/32/profile.categories.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/profile/branches/wishcraft/1.75/htdocs/Frameworks/moduleclasses/icons/32/profile.directory.png =================================================================== (Binary files differ) Property changes on: XoopsModules/profile/branches/wishcraft/1.75/htdocs/Frameworks/moduleclasses/icons/32/profile.directory.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/profile/branches/wishcraft/1.75/htdocs/Frameworks/moduleclasses/icons/32/profile.fields.png =================================================================== (Binary files differ) Property changes on: XoopsModules/profile/branches/wishcraft/1.75/htdocs/Frameworks/moduleclasses/icons/32/profile.fields.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/profile/branches/wishcraft/1.75/htdocs/Frameworks/moduleclasses/icons/32/profile.permissions.png =================================================================== (Binary files differ) Property changes on: XoopsModules/profile/branches/wishcraft/1.75/htdocs/Frameworks/moduleclasses/icons/32/profile.permissions.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/profile/branches/wishcraft/1.75/htdocs/Frameworks/moduleclasses/icons/32/profile.step.png =================================================================== (Binary files differ) Property changes on: XoopsModules/profile/branches/wishcraft/1.75/htdocs/Frameworks/moduleclasses/icons/32/profile.step.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/profile/branches/wishcraft/1.75/htdocs/Frameworks/moduleclasses/icons/32/profile.user.png =================================================================== (Binary files differ) Property changes on: XoopsModules/profile/branches/wishcraft/1.75/htdocs/Frameworks/moduleclasses/icons/32/profile.user.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/profile/branches/wishcraft/1.75/htdocs/Frameworks/moduleclasses/icons/32/profile.validation.png =================================================================== (Binary files differ) Property changes on: XoopsModules/profile/branches/wishcraft/1.75/htdocs/Frameworks/moduleclasses/icons/32/profile.validation.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/activate.php =================================================================== --- XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/activate.php (rev 0) +++ XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/activate.php 2011-12-29 07:49:46 UTC (rev 8620) @@ -0,0 +1,116 @@ +<?php +/** + * Extended User Profile + * + * You may not change or alter any portion of this comment or credits + * of supporting developers from this source code or any supporting source code + * which is considered copyrighted (c) material of the original comment or credit authors. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/ + * @license http://www.fsf.org/copyleft/gpl.html GNU public license + * @package profile + * @since 2.3.0 + * @author Jan Pedersen + * @author Taiwen Jiang <ph...@us...> + * @version $Id: activate.php 3834 2009-11-01 21:06:41Z trabis $ + */ + +$xoopsOption['pagetype'] = "user"; +include dirname(__FILE__) . DIRECTORY_SEPARATOR . 'header.php'; + +include $GLOBALS['xoops']->path('header.php'); +if (file_exists($GLOBALS['xoops']->path('modules/' . $GLOBALS['profileModule']->getVar('dirname', 'n') . '/language/' . $GLOBALS['xoopsConfig']['language'] . '/style.css'))) { + $GLOBALS['xoTheme']->addStylesheet(XOOPS_URL . '/modules/' . $GLOBALS['profileModule']->getVar('dirname', 'n') . '/language/' . $GLOBALS['xoopsConfig']['language'] . '/style.css', array('type'=>'text/css')); +} else { + $GLOBALS['xoTheme']->addStylesheet(XOOPS_URL . '/modules/' . $GLOBALS['profileModule']->getVar('dirname', 'n') . '/language/english/style.css', array('type'=>'text/css')); +} + +if (!empty($_GET['id']) && !empty($_GET['actkey'])) { + $id = intval($_GET['id']); + $actkey = trim($_GET['actkey']); + if (empty($id)) { + redirect_header(XOOPS_URL, 1, ''); + exit(); + } + $member_handler =& xoops_gethandler('member'); + $thisuser =& $member_handler->getUser($id); + if (!is_object($thisuser)) { + redirect_header(XOOPS_URL, 1, ''); + exit(); + } + if ($thisuser->getVar('actkey') != $actkey) { + redirect_header(XOOPS_URL . '/', 5, _US_ACTKEYNOT); + } else { + if ($thisuser->getVar('level') > 0) { + redirect_header(XOOPS_URL . '/modules/' . $GLOBALS['profileModule']->getVar('dirname', 'n'). '/index.php', 5, _US_ACONTACT, false); + } else { + if (false != $member_handler->activateUser($thisuser)) { + $config_handler =& xoops_gethandler('config'); + $GLOBALS['xoopsConfigUser'] = $config_handler->getConfigsByCat(XOOPS_CONF_USER); + if ($GLOBALS['xoopsConfigUser']['activation_type'] == 2) { + $myts =& MyTextSanitizer::getInstance(); + $xoopsMailer = xoops_getMailer(); + $xoopsMailer->useMail(); + $xoopsMailer->setTemplate('activated.tpl'); + $xoopsMailer->assign('SITENAME', $GLOBALS['xoopsConfig']['sitename']); + $xoopsMailer->assign('ADMINMAIL', $GLOBALS['xoopsConfig']['adminmail']); + $xoopsMailer->assign('SITEURL', XOOPS_URL . "/"); + $xoopsMailer->setToUsers($thisuser); + $xoopsMailer->setFromEmail($GLOBALS['xoopsConfig']['adminmail']); + $xoopsMailer->setFromName($GLOBALS['xoopsConfig']['sitename']); + $xoopsMailer->setSubject(sprintf(_US_YOURACCOUNT, $GLOBALS['xoopsConfig']['sitename']) ); + include $GLOBALS['xoops']->path('header.php'); + if (!$xoopsMailer->send()) { + printf(_US_ACTVMAILNG, $thisuser->getVar('uname') ); + } else { + printf(_US_ACTVMAILOK, $thisuser->getVar('uname') ); + } + include dirname(__FILE__) . DIRECTORY_SEPARATOR . 'footer.php'; + } else { + redirect_header(XOOPS_URL . '/user.php', 5, _US_ACTLOGIN, false); + } + } else { + redirect_header(XOOPS_URL . '/index.php', 5, 'Activation failed!'); + } + } + } +// Not implemented yet: re-send activiation code +} else if (!empty($_REQUEST['email']) && $xoopsConfigUser['activation_type'] != 0) { + $myts =& MyTextSanitizer::getInstance(); + $member_handler =& xoops_gethandler('member'); + $getuser =& $member_handler->getUsers(new Criteria('email', $myts->addSlashes(trim($_REQUEST['email'])))); + if (count($getuser) == 0) { + redirect_header(XOOPS_URL, 2, _US_SORRYNOTFOUND); + } + if ($getuser[0]->isActive()) { + redirect_header(XOOPS_URL, 2, sprintf(_US_USERALREADYACTIVE, $getuser[0]->getVar('email'))); + } + $xoopsMailer =& xoops_getMailer(); + $xoopsMailer->useMail(); + $xoopsMailer->setTemplate('register.tpl'); + $xoopsMailer->assign('SITENAME', $GLOBALS['xoopsConfig']['sitename']); + $xoopsMailer->assign('ADMINMAIL', $GLOBALS['xoopsConfig']['adminmail']); + $xoopsMailer->assign('SITEURL', XOOPS_URL . "/"); + $xoopsMailer->setToUsers($getuser[0]); + $xoopsMailer->setFromEmail($GLOBALS['xoopsConfig']['adminmail']); + $xoopsMailer->setFromName($GLOBALS['xoopsConfig']['sitename']); + $xoopsMailer->setSubject(sprintf(_US_USERKEYFOR, $getuser[0]->getVar('uname') )); + if (!$xoopsMailer->send()) { + echo _US_YOURREGMAILNG; + } else { + echo _US_YOURREGISTERED; + } +} else { + include_once $GLOBALS['xoops']->path('class/xoopsformloader.php'); + $form = new XoopsThemeForm('', 'form', 'activate.php'); + $form->addElement(new XoopsFormText(_US_EMAIL, 'email', 25, 255) ); + $form->addElement(new XoopsFormButton('', 'submit', _SUBMIT, 'submit') ); + $form->display(); +} + +$xoBreadcrumbs[] = array('title' => _PROFILE_MA_REGISTER); +include dirname(__FILE__) . DIRECTORY_SEPARATOR . 'footer.php'; +?> \ No newline at end of file Added: XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/admin/about.php =================================================================== --- XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/admin/about.php (rev 0) +++ XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/admin/about.php 2011-12-29 07:49:46 UTC (rev 8620) @@ -0,0 +1,76 @@ +<?php +// $Id: about.php 5204 2010-09-06 20:10:52Z mageg $ +// ------------------------------------------------------------------------ // +// XOOPS - PHP Content Management System // +// Copyright (c) 2000 XOOPS.org // +// <http://www.xoops.org/> // +// ------------------------------------------------------------------------ // +// This program is free software; you can redistribute it and/or modify // +// it under the terms of the GNU General Public License as published by // +// the Free Software Foundation; either version 2 of the License, or // +// (at your option) any later version. // +// // +// You may not change or alter any portion of this comment or credits // +// of supporting developers from this source code or any supporting // +// source code which is considered copyrighted (c) material of the // +// original comment or credit authors. // +// // +// This program is distributed in the hope that it will be useful, // +// but WITHOUT ANY WARRANTY; without even the implied warranty of // +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // +// GNU General Public License for more details. // +// // +// You should have received a copy of the GNU General Public License // +// along with this program; if not, write to the Free Software // +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA // +// ------------------------------------------------------------------------ // +// Author: XOOPS Foundation // +// URL: http://www.xoops.org/ // +// Project: The XOOPS Project // +// ------------------------------------------------------------------------- // + + include ('header.php'); + xoops_loadLanguage('admin', 'profile'); + + xoops_cp_header(); + profile_adminMenu(basename(__FILE__), 8); + $aboutAdmin = new ModuleAdmin(); + $paypalitemno='PROFILE175'; + $aboutAdmin = new ModuleAdmin(); + $about = $aboutAdmin->renderabout($paypalitemno, false); + $donationform = array( 0 => '<form name="donation" id="donation" action="http://www.chronolabs.coop/modules/xpayment/" method="post" onsubmit="return xoopsFormValidate_donation();">', + 1 => '<table class="outer" cellspacing="1" width="100%"><tbody><tr><th colspan="2">'.constant('_PROFILE_AM_ABOUT_MAKEDONATE').'</th></tr><tr align="left" valign="top"><td class="head"><div class="xoops-form-element-caption-required"><span class="caption-text">Donation Amount</span><span class="caption-marker">*</span></div></td><td class="even"><select size="1" name="item[A][amount]" id="item[A][amount]" title="Donation Amount"><option value="5">5.00 AUD</option><option value="10">10.00 AUD</option><option value="20">20.00 AUD</option><option value="40">40.00 AUD</option><option value="60">60.00 AUD</option><option value="80">80.00 AUD</option><option value="90">90.00 AUD</option><option value="100">100.00 AUD</option><option value="200">200.00 AUD</option></select></td></tr><tr align="left" valign="top"><td class="head"></td><td class="even"><input class="formButton" name="submit" id="submit" value="'._SUBMIT.'" title="'._SUBMIT.'" type="submit"></td></tr></tbody></table>', + 2 => '<input name="op" id="op" value="createinvoice" type="hidden"><input name="plugin" id="plugin" value="donations" type="hidden"><input name="donation" id="donation" value="1" type="hidden"><input name="drawfor" id="drawfor" value="Chronolabs Co-Operative" type="hidden"><input name="drawto" id="drawto" value="%s" type="hidden"><input name="drawto_email" id="drawto_email" value="%s" type="hidden"><input name="key" id="key" value="%s" type="hidden"><input name="currency" id="currency" value="AUD" type="hidden"><input name="weight_unit" id="weight_unit" value="kgs" type="hidden"><input name="item[A][cat]" id="item[A][cat]" value="XDN%s" type="hidden"><input name="item[A][name]" id="item[A][name]" value="Donation for %s" type="hidden"><input name="item[A][quantity]" id="item[A][quantity]" value="1" type="hidden"><input name="item[A][shipping]" id="item[A][shipping]" value="0" type="hidden"><input name="item[A][handling]" id="item[A][handling]" value="0" type="hidden"><input name="item[A][weight]" id="item[A][weight]" value="0" type="hidden"><input name="item[A][tax]" id="item[A][tax]" value="0" type="hidden"><input name="return" id="return" value="http://www.chronolabs.coop/modules/donations/success.php" type="hidden"><input name="cancel" id="cancel" value="http://www.chronolabs.coop/modules/donations/success.php" type="hidden"></form>', 'D'=>'', + 3 => '', + 4 => '<!-- Start Form Validation JavaScript //--> +<script type="text/javascript"> +<!--// +function xoopsFormValidate_donation() { var myform = window.document.donation; +var hasSelected = false; var selectBox = myform.item[A][amount];for (i = 0; i < selectBox.options.length; i++ ) { if (selectBox.options[i].selected == true && selectBox.options[i].value != \'\') { hasSelected = true; break; } }if (!hasSelected) { window.alert("Please enter Donation Amount"); selectBox.focus(); return false; }return true; +} +//--></script> +<!-- End Form Validation JavaScript //-->'); + $paypalform = array( 0 => '<form action="https://www.paypal.com/cgi-bin/webscr" method="post">', + 1 => '<input name="cmd" value="_s-xclick" type="hidden">', + 2 => '<input name="hosted_button_id" value="%s" type="hidden">', + 3 => '<img alt="" src="https://www.paypal.com/fr_FR/i/scr/pixel.gif" height="1" border="0" width="1">', + 4 => '<input src="https://www.paypal.com/en_US/i/btn/btn_donate_LG.gif" name="submit" alt="PayPal - The safer, easier way to pay online!" border="0" type="image">', + 5 => '</form>'); + for($key=0;$key<=4;$key++) { + switch ($key) { + case 2: + $donationform[$key] = sprintf($donationform[$key], $GLOBALS['xoopsConfig']['sitename'] . ' - ' . (strlen($GLOBALS['xoopsUser']->getVar('name'))>0?$GLOBALS['xoopsUser']->getVar('name'). ' ['.$GLOBALS['xoopsUser']->getVar('uname').']':$GLOBALS['xoopsUser']->getVar('uname')), $GLOBALS['xoopsUser']->getVar('email'), XOOPS_LICENSE_KEY, strtoupper($GLOBALS['spidersModule']->getVar('dirname')), strtoupper($GLOBALS['spidersModule']->getVar('dirname')). ' '.$GLOBALS['spidersModule']->getVar('name')); + break; + } + } + + $istart = strpos($about, ($paypalform[0]), 1); + $iend = strpos($about, ($paypalform[5]), $istart+1)+strlen($paypalform[5])-1; + echo (substr($about, 0, $istart-1)); + echo implode("\n", $donationform); + echo (substr($about, $iend+1, strlen($about)-$iend-1)); + + profile_footer_adminMenu(); + xoops_cp_footer(); + +?> \ No newline at end of file Added: XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/admin/admin_footer.php =================================================================== --- XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/admin/admin_footer.php (rev 0) +++ XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/admin/admin_footer.php 2011-12-29 07:49:46 UTC (rev 8620) @@ -0,0 +1,22 @@ +<?php +/** + * xSitemMap module + * + * You may not change or alter any portion of this comment or credits + * of supporting developers from this source code or any supporting source code + * which is considered copyrighted (c) material of the original comment or credit authors. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/ + * @license http://www.fsf.org/copyleft/gpl.html GNU public license + * @package xSitemMap + * @since 2.5.0 + * @author XOOPS Module Team + * @version $Id $ +**/ +echo "<div align=\"center\"><a href=\"http://www.xoops.org\" target=\"_blank\"><img src=" . XOOPS_URL ."/". $moduleInfo->getInfo("icons32")."/xoopsmicrobutton.gif"." alt=\"XOOPS\" title=\"XOOPS\"></a></div>"; +echo "<div class='center smallsmall italic pad5'><strong>" . $xoopsModule->getVar("name") . "</strong> is maintained by the <a class='tooltip' rel='external' href='http://www.xoops.org/' title='Visit XOOPS Community'>XOOPS Community</a></div>"; + +xoops_cp_footer(); \ No newline at end of file Added: XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/admin/admin_header.php =================================================================== --- XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/admin/admin_header.php (rev 0) +++ XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/admin/admin_header.php 2011-12-29 07:49:46 UTC (rev 8620) @@ -0,0 +1,80 @@ +<?php +/** + * Extended User Profile + * + * You may not change or alter any portion of this comment or credits + * of supporting developers from this source code or any supporting source code + * which is considered copyrighted (c) material of the original comment or credit authors. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/ + * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html) + * @package profile + * @since 2.3.0 + * @author Taiwen Jiang <ph...@us...> + * @version $Id: admin_header.php 8066 2011-11-06 05:09:33Z beckmi $ + */ + +require_once dirname(dirname(dirname(dirname(__FILE__)))) . '/mainfile.php'; +require_once XOOPS_ROOT_PATH . '/include/cp_functions.php'; +require '../../../include/cp_header.php'; + +if ( file_exists($GLOBALS['xoops']->path('/Frameworks/moduleclasses/moduleadmin/moduleadmin.php'))){ + include_once $GLOBALS['xoops']->path('/Frameworks/moduleclasses/moduleadmin/moduleadmin.php'); + //return true; + }else{ + echo xoops_error("Error: You don't use the Frameworks \"admin module\". Please install this Frameworks"); + //return false; + } + +$moduleInfo =& $module_handler->get($xoopsModule->getVar('mid')); +$pathIcon16 = XOOPS_URL .'/'. $moduleInfo->getInfo('icons16'); +$pathIcon32 = XOOPS_URL .'/'. $moduleInfo->getInfo('icons32'); + +$myts =& MyTextSanitizer::getInstance(); + +if (!isset($xoopsTpl) || !is_object($xoopsTpl)) { + include_once XOOPS_ROOT_PATH . "/class/template.php"; + $xoopsTpl = new XoopsTpl(); +} + +//xoops_cp_header(); + +//Load languages +if (file_exists( + XOOPS_ROOT_PATH . "/modules/" . $xoopsModule->getVar('dirname') . "/language/{$xoopsConfig['language']}/admin.php" +) +) { + include_once XOOPS_ROOT_PATH . "/modules/" . $xoopsModule->getVar('dirname') + . "/language/{$xoopsConfig['language']}/admin.php"; +} else { + include_once XOOPS_ROOT_PATH . "/modules/" . $xoopsModule->getVar('dirname') . "/language/english/admin.php"; +} +if (file_exists( + XOOPS_ROOT_PATH . "/modules/" . $xoopsModule->getVar('dirname') . "/language/{$xoopsConfig['language']}/modinfo.php" +) +) { + include_once XOOPS_ROOT_PATH . "/modules/" . $xoopsModule->getVar('dirname') + . "/language/{$xoopsConfig['language']}/modinfo.php"; +} else { + include_once XOOPS_ROOT_PATH . "/modules/" . $xoopsModule->getVar('dirname') . "/language/english/modinfo.php"; +} +if (file_exists( + XOOPS_ROOT_PATH . "/modules/" . $xoopsModule->getVar('dirname') . "/language/{$xoopsConfig['language']}/main.php" +) +) { + include_once XOOPS_ROOT_PATH . "/modules/" . $xoopsModule->getVar('dirname') + . "/language/{$xoopsConfig['language']}/main.php"; +} else { + include_once XOOPS_ROOT_PATH . "/modules/" . $xoopsModule->getVar('dirname') . "/language/english/main.php"; +} + + +xoops_loadLanguage('user'); +if ( !isset($GLOBALS['xoopsTpl']) || !is_object($GLOBALS['xoopsTpl']) ) { + include_once $GLOBALS['xoops']->path( "/class/template.php" ); + $GLOBALS['xoopsTpl'] = new XoopsTpl(); +} +?> \ No newline at end of file Added: XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/admin/category.php =================================================================== --- XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/admin/category.php (rev 0) +++ XoopsModules/profile/branches/wishcraft/1.75/htdocs/modules/profile/admin/category.php 2011-12-29 07:49:46 UTC (rev 8620) @@ -0,0 +1,104 @@ +<?php +// $Id: category.php 5204 2010-09-06 20:10:52Z mageg $ +// ------------------------------------------------------------------------ // +// XOOPS - PHP Content Management System // +// Copyright (c) 2000 XOOPS.org // +// <http://www.xoops.org/> // +// ------------------------------------------------------------------------ // +// This program is free software; you can... [truncated message content] |
From: <wis...@us...> - 2011-12-29 07:49:21
|
Revision: 8619 http://xoops.svn.sourceforge.net/xoops/?rev=8619&view=rev Author: wishcraft Date: 2011-12-29 07:49:10 +0000 (Thu, 29 Dec 2011) Log Message: ----------- Speedtest 1.03 - Fixed Form submission not using array by instead object name - XOOPS 2.5 (Only) Added Paths: ----------- XoopsModules/speedtest/releases/1.03/ XoopsModules/speedtest/releases/1.03/docs/ XoopsModules/speedtest/releases/1.03/docs/licence.txt XoopsModules/speedtest/releases/1.03/htdocs/ XoopsModules/speedtest/releases/1.03/htdocs/Frameworks/ XoopsModules/speedtest/releases/1.03/htdocs/Frameworks/moduleclasses/ XoopsModules/speedtest/releases/1.03/htdocs/Frameworks/moduleclasses/icons/ XoopsModules/speedtest/releases/1.03/htdocs/Frameworks/moduleclasses/icons/16/ XoopsModules/speedtest/releases/1.03/htdocs/Frameworks/moduleclasses/icons/16/speedtest.results.png XoopsModules/speedtest/releases/1.03/htdocs/Frameworks/moduleclasses/icons/32/ XoopsModules/speedtest/releases/1.03/htdocs/Frameworks/moduleclasses/icons/32/speedtest.results.png XoopsModules/speedtest/releases/1.03/htdocs/modules/ XoopsModules/speedtest/releases/1.03/htdocs/modules/speedtest/ XoopsModules/speedtest/releases/1.03/htdocs/modules/speedtest/.htaccess XoopsModules/speedtest/releases/1.03/htdocs/modules/speedtest/admin/ XoopsModules/speedtest/releases/1.03/htdocs/modules/speedtest/admin/about.php XoopsModules/speedtest/releases/1.03/htdocs/modules/speedtest/admin/dashboard.php XoopsModules/speedtest/releases/1.03/htdocs/modules/speedtest/admin/header.php XoopsModules/speedtest/releases/1.03/htdocs/modules/speedtest/admin/index.html XoopsModules/speedtest/releases/1.03/htdocs/modules/speedtest/admin/index.php XoopsModules/speedtest/releases/1.03/htdocs/modules/speedtest/admin/menu.php XoopsModules/speedtest/releases/1.03/htdocs/modules/speedtest/class/ XoopsModules/speedtest/releases/1.03/htdocs/modules/speedtest/class/index.html XoopsModules/speedtest/releases/1.03/htdocs/modules/speedtest/class/speedtest.php XoopsModules/speedtest/releases/1.03/htdocs/modules/speedtest/docs/ XoopsModules/speedtest/releases/1.03/htdocs/modules/speedtest/docs/changelog.txt XoopsModules/speedtest/releases/1.03/htdocs/modules/speedtest/docs/credits.txt XoopsModules/speedtest/releases/1.03/htdocs/modules/speedtest/docs/index.html XoopsModules/speedtest/releases/1.03/htdocs/modules/speedtest/docs/install.txt XoopsModules/speedtest/releases/1.03/htdocs/modules/speedtest/docs/lang_diff.txt XoopsModules/speedtest/releases/1.03/htdocs/modules/speedtest/docs/licence.txt XoopsModules/speedtest/releases/1.03/htdocs/modules/speedtest/docs/readme.txt XoopsModules/speedtest/releases/1.03/htdocs/modules/speedtest/download.php XoopsModules/speedtest/releases/1.03/htdocs/modules/speedtest/images/ XoopsModules/speedtest/releases/1.03/htdocs/modules/speedtest/images/bar.gif XoopsModules/speedtest/releases/1.03/htdocs/modules/speedtest/images/index.html XoopsModules/speedtest/releases/1.03/htdocs/modules/speedtest/images/speedtest_slogo.png XoopsModules/speedtest/releases/1.03/htdocs/modules/speedtest/include/ XoopsModules/speedtest/releases/1.03/htdocs/modules/speedtest/include/common.php XoopsModules/speedtest/releases/1.03/htdocs/modules/speedtest/include/formobjects.speedtest.php XoopsModules/speedtest/releases/1.03/htdocs/modules/speedtest/include/index.html XoopsModules/speedtest/releases/1.03/htdocs/modules/speedtest/include/onuninstall.php XoopsModules/speedtest/releases/1.03/htdocs/modules/speedtest/include/onupdate.php XoopsModules/speedtest/releases/1.03/htdocs/modules/speedtest/index.php XoopsModules/speedtest/releases/1.03/htdocs/modules/speedtest/js/ XoopsModules/speedtest/releases/1.03/htdocs/modules/speedtest/js/index.html XoopsModules/speedtest/releases/1.03/htdocs/modules/speedtest/js/payload.js XoopsModules/speedtest/releases/1.03/htdocs/modules/speedtest/language/ XoopsModules/speedtest/releases/1.03/htdocs/modules/speedtest/language/english/ XoopsModules/speedtest/releases/1.03/htdocs/modules/speedtest/language/english/admin.php XoopsModules/speedtest/releases/1.03/htdocs/modules/speedtest/language/english/help/ XoopsModules/speedtest/releases/1.03/htdocs/modules/speedtest/language/english/help/help.html XoopsModules/speedtest/releases/1.03/htdocs/modules/speedtest/language/english/help/index.html XoopsModules/speedtest/releases/1.03/htdocs/modules/speedtest/language/english/index.html XoopsModules/speedtest/releases/1.03/htdocs/modules/speedtest/language/english/main.php XoopsModules/speedtest/releases/1.03/htdocs/modules/speedtest/language/english/modinfo.php XoopsModules/speedtest/releases/1.03/htdocs/modules/speedtest/language/english/style.css XoopsModules/speedtest/releases/1.03/htdocs/modules/speedtest/language/index.html XoopsModules/speedtest/releases/1.03/htdocs/modules/speedtest/results.php XoopsModules/speedtest/releases/1.03/htdocs/modules/speedtest/speedtest.cfg XoopsModules/speedtest/releases/1.03/htdocs/modules/speedtest/speedtest.template.cfg XoopsModules/speedtest/releases/1.03/htdocs/modules/speedtest/sql/ XoopsModules/speedtest/releases/1.03/htdocs/modules/speedtest/sql/index.html XoopsModules/speedtest/releases/1.03/htdocs/modules/speedtest/sql/mysql.sql XoopsModules/speedtest/releases/1.03/htdocs/modules/speedtest/templates/ XoopsModules/speedtest/releases/1.03/htdocs/modules/speedtest/templates/index.html XoopsModules/speedtest/releases/1.03/htdocs/modules/speedtest/templates/speedtest_auto_size.html XoopsModules/speedtest/releases/1.03/htdocs/modules/speedtest/templates/speedtest_cpanel_results.html XoopsModules/speedtest/releases/1.03/htdocs/modules/speedtest/templates/speedtest_download.html XoopsModules/speedtest/releases/1.03/htdocs/modules/speedtest/templates/speedtest_footer.html XoopsModules/speedtest/releases/1.03/htdocs/modules/speedtest/templates/speedtest_header.html XoopsModules/speedtest/releases/1.03/htdocs/modules/speedtest/templates/speedtest_index.html XoopsModules/speedtest/releases/1.03/htdocs/modules/speedtest/templates/speedtest_result.html XoopsModules/speedtest/releases/1.03/htdocs/modules/speedtest/templates/speedtest_unallowed.html XoopsModules/speedtest/releases/1.03/htdocs/modules/speedtest/templates/speedtest_welcome.html XoopsModules/speedtest/releases/1.03/htdocs/modules/speedtest/upload.php XoopsModules/speedtest/releases/1.03/htdocs/modules/speedtest/xoops_version.php Added: XoopsModules/speedtest/releases/1.03/docs/licence.txt =================================================================== --- XoopsModules/speedtest/releases/1.03/docs/licence.txt (rev 0) +++ XoopsModules/speedtest/releases/1.03/docs/licence.txt 2011-12-29 07:49:10 UTC (rev 8619) @@ -0,0 +1,339 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + <signature of Ty Coon>, 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. Added: XoopsModules/speedtest/releases/1.03/htdocs/Frameworks/moduleclasses/icons/16/speedtest.results.png =================================================================== (Binary files differ) Property changes on: XoopsModules/speedtest/releases/1.03/htdocs/Frameworks/moduleclasses/icons/16/speedtest.results.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/speedtest/releases/1.03/htdocs/Frameworks/moduleclasses/icons/32/speedtest.results.png =================================================================== (Binary files differ) Property changes on: XoopsModules/speedtest/releases/1.03/htdocs/Frameworks/moduleclasses/icons/32/speedtest.results.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/speedtest/releases/1.03/htdocs/modules/speedtest/.htaccess =================================================================== --- XoopsModules/speedtest/releases/1.03/htdocs/modules/speedtest/.htaccess (rev 0) +++ XoopsModules/speedtest/releases/1.03/htdocs/modules/speedtest/.htaccess 2011-12-29 07:49:10 UTC (rev 8619) @@ -0,0 +1,5 @@ +<Files *.cfg> + Deny From All +</files> + + Added: XoopsModules/speedtest/releases/1.03/htdocs/modules/speedtest/admin/about.php =================================================================== --- XoopsModules/speedtest/releases/1.03/htdocs/modules/speedtest/admin/about.php (rev 0) +++ XoopsModules/speedtest/releases/1.03/htdocs/modules/speedtest/admin/about.php 2011-12-29 07:49:10 UTC (rev 8619) @@ -0,0 +1,81 @@ +<?php +// $Id: about.php 5204 2010-09-06 20:10:52Z mageg $ +// ------------------------------------------------------------------------ // +// XOOPS - PHP Content Management System // +// Copyright (c) 2000 XOOPS.org // +// <http://www.xoops.org/> // +// ------------------------------------------------------------------------ // +// This program is free software; you can redistribute it and/or modify // +// it under the terms of the GNU General Public License as published by // +// the Free Software Foundation; either version 2 of the License, or // +// (at your option) any later version. // +// // +// You may not change or alter any portion of this comment or credits // +// of supporting developers from this source code or any supporting // +// source code which is considered copyrighted (c) material of the // +// original comment or credit authors. // +// // +// This program is distributed in the hope that it will be useful, // +// but WITHOUT ANY WARRANTY; without even the implied warranty of // +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // +// GNU General Public License for more details. // +// // +// You should have received a copy of the GNU General Public License // +// along with this program; if not, write to the Free Software // +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA // +// ------------------------------------------------------------------------ // +// Author: XOOPS Foundation // +// URL: http://www.xoops.org/ // +// Project: The XOOPS Project // +// ------------------------------------------------------------------------- // + + include ('header.php'); + xoops_loadLanguage('admin', 'speedtest'); + + xoops_cp_header(); + speedtest_adminMenu(basename(__FILE__), 3); + + $paypalitemno='SPEEDTEST175'; + + $aboutAdmin = new ModuleAdmin(); + + $about = $aboutAdmin->renderabout($paypalitemno, false); + + $donationform = array( 0 => '<form name="donation" id="donation" action="http://www.chronolabs.coop/modules/xpayment/" method="post" onsubmit="return xoopsFormValidate_donation();">', + 1 => '<table class="outer" cellspacing="1" width="100%"><tbody><tr><th colspan="2">'.constant('_AM_SPEEDTEST_ABOUT_MAKEDONATE').'</th></tr><tr align="left" valign="top"><td class="head"><div class="xoops-form-element-caption-required"><span class="caption-text">Donation Amount</span><span class="caption-marker">*</span></div></td><td class="even"><select size="1" name="item[A][amount]" id="item[A][amount]" title="Donation Amount"><option value="5">5.00 AUD</option><option value="10">10.00 AUD</option><option value="20">20.00 AUD</option><option value="40">40.00 AUD</option><option value="60">60.00 AUD</option><option value="80">80.00 AUD</option><option value="90">90.00 AUD</option><option value="100">100.00 AUD</option><option value="200">200.00 AUD</option></select></td></tr><tr align="left" valign="top"><td class="head"></td><td class="even"><input class="formButton" name="submit" id="submit" value="'._SUBMIT.'" title="'._SUBMIT.'" type="submit"></td></tr></tbody></table>', + 2 => '<input name="op" id="op" value="createinvoice" type="hidden"><input name="plugin" id="plugin" value="donations" type="hidden"><input name="donation" id="donation" value="1" type="hidden"><input name="drawfor" id="drawfor" value="Chronolabs Co-Operative" type="hidden"><input name="drawto" id="drawto" value="%s" type="hidden"><input name="drawto_email" id="drawto_email" value="%s" type="hidden"><input name="key" id="key" value="%s" type="hidden"><input name="currency" id="currency" value="AUD" type="hidden"><input name="weight_unit" id="weight_unit" value="kgs" type="hidden"><input name="item[A][cat]" id="item[A][cat]" value="XDN%s" type="hidden"><input name="item[A][name]" id="item[A][name]" value="Donation for %s" type="hidden"><input name="item[A][quantity]" id="item[A][quantity]" value="1" type="hidden"><input name="item[A][shipping]" id="item[A][shipping]" value="0" type="hidden"><input name="item[A][handling]" id="item[A][handling]" value="0" type="hidden"><input name="item[A][weight]" id="item[A][weight]" value="0" type="hidden"><input name="item[A][tax]" id="item[A][tax]" value="0" type="hidden"><input name="return" id="return" value="http://www.chronolabs.coop/modules/donations/success.php" type="hidden"><input name="cancel" id="cancel" value="http://www.chronolabs.coop/modules/donations/success.php" type="hidden"></form>', 'D'=>'', + 3 => '', + 4 => '<!-- Start Form Validation JavaScript //--> +<script type="text/javascript"> +<!--// +function xoopsFormValidate_donation() { var myform = window.document.donation; +var hasSelected = false; var selectBox = myform.item[A][amount];for (i = 0; i < selectBox.options.length; i++ ) { if (selectBox.options[i].selected == true && selectBox.options[i].value != \'\') { hasSelected = true; break; } }if (!hasSelected) { window.alert("Please enter Donation Amount"); selectBox.focus(); return false; }return true; +} +//--></script> +<!-- End Form Validation JavaScript //-->'); + + $paypalform = array( 0 => '<form action="https://www.paypal.com/cgi-bin/webscr" method="post">', + 1 => '<input name="cmd" value="_s-xclick" type="hidden">', + 2 => '<input name="hosted_button_id" value="%s" type="hidden">', + 3 => '<img alt="" src="https://www.paypal.com/fr_FR/i/scr/pixel.gif" height="1" border="0" width="1">', + 4 => '<input src="https://www.paypal.com/en_US/i/btn/btn_donate_LG.gif" name="submit" alt="PayPal - The safer, easier way to pay online!" border="0" type="image">', + 5 => '</form>'); + + for($key=0;$key<=4;$key++) { + switch ($key) { + case 2: + $donationform[$key] = sprintf($donationform[$key], $GLOBALS['xoopsConfig']['sitename'] . ' - ' . (strlen($GLOBALS['xoopsUser']->getVar('name'))>0?$GLOBALS['xoopsUser']->getVar('name'). ' ['.$GLOBALS['xoopsUser']->getVar('uname').']':$GLOBALS['xoopsUser']->getVar('uname')), $GLOBALS['xoopsUser']->getVar('email'), XOOPS_LICENSE_KEY, strtoupper($GLOBALS['speedtestModule']->getVar('dirname')), strtoupper($GLOBALS['speedtestModule']->getVar('dirname')). ' '.$GLOBALS['speedtestModule']->getVar('name')); + break; + } + } + + $istart = strpos($about, ($paypalform[0]), 1); + $iend = strpos($about, ($paypalform[5]), $istart+1)+strlen($paypalform[5])-1; + echo (substr($about, 0, $istart-1)); + echo implode("\n", $donationform); + echo (substr($about, $iend+1, strlen($about)-$iend-1)); + + speedtest_footer_adminMenu(); + xoops_cp_footer(); + +?> \ No newline at end of file Added: XoopsModules/speedtest/releases/1.03/htdocs/modules/speedtest/admin/dashboard.php =================================================================== --- XoopsModules/speedtest/releases/1.03/htdocs/modules/speedtest/admin/dashboard.php (rev 0) +++ XoopsModules/speedtest/releases/1.03/htdocs/modules/speedtest/admin/dashboard.php 2011-12-29 07:49:10 UTC (rev 8619) @@ -0,0 +1,26 @@ +<?php + + include ('header.php'); + xoops_loadLanguage('admin', 'speedtest'); + + xoops_cp_header(); + speedtest_adminMenu(basename(__FILE__), 1); + $indexAdmin = new ModuleAdmin(); + + $speed_handler = xoops_getmodulehandler('speedtest', 'speedtest'); + + $indexAdmin = new ModuleAdmin(); + $indexAdmin->addInfoBox(_AM_SPEEDTEST_ADMIN_COUNTS); + $indexAdmin->addInfoBoxLine(_AM_SPEEDTEST_ADMIN_COUNTS, "<label>"._AM_SPEEDTEST_ADMIN_THEREARE_TESTS."</label>", $speed_handler->getCount(), 'Green'); + $indexAdmin->addInfoBoxLine(_AM_SPEEDTEST_ADMIN_COUNTS, "<label>"._AM_SPEEDTEST_ADMIN_MAXIMUM_DOWNSPEED."</label>", $speed_handler->getMaximum('downspeed'), 'Blue'); + $indexAdmin->addInfoBoxLine(_AM_SPEEDTEST_ADMIN_COUNTS, "<label>"._AM_SPEEDTEST_ADMIN_MINIMUM_DOWNSPEED."</label>", $speed_handler->getMinimum('downspeed'), 'Red'); + $indexAdmin->addInfoBoxLine(_AM_SPEEDTEST_ADMIN_COUNTS, "<label>"._AM_SPEEDTEST_ADMIN_AVERAGE_DOWNSPEED."</label>", $speed_handler->getAverage('downspeed'), 'Orange'); + $indexAdmin->addInfoBoxLine(_AM_SPEEDTEST_ADMIN_COUNTS, "<label>"._AM_SPEEDTEST_ADMIN_MAXIMUM_UPSPEED."</label>", $speed_handler->getMaximum('upspeed'), 'Blue'); + $indexAdmin->addInfoBoxLine(_AM_SPEEDTEST_ADMIN_COUNTS, "<label>"._AM_SPEEDTEST_ADMIN_MINIMUM_UPSPEED."</label>", $speed_handler->getMinimum('upspeed'), 'Red'); + $indexAdmin->addInfoBoxLine(_AM_SPEEDTEST_ADMIN_COUNTS, "<label>"._AM_SPEEDTEST_ADMIN_AVERAGE_UPSPEED."</label>", $speed_handler->getAverage('upspeed'), 'Orange'); + + echo $indexAdmin->renderIndex(); + speedtest_footer_adminMenu(); + xoops_cp_footer(); + +?> \ No newline at end of file Added: XoopsModules/speedtest/releases/1.03/htdocs/modules/speedtest/admin/header.php =================================================================== --- XoopsModules/speedtest/releases/1.03/htdocs/modules/speedtest/admin/header.php (rev 0) +++ XoopsModules/speedtest/releases/1.03/htdocs/modules/speedtest/admin/header.php 2011-12-29 07:49:10 UTC (rev 8619) @@ -0,0 +1,56 @@ +<?php + + + if (!defined('_CHARSET')) + define ("_CHARSET","UTF-8"); + if (!defined('_CHARSET_ISO')) + define ("_CHARSET_ISO","ISO-8859-1"); + + include('../../../include/cp_header.php'); + + $config_handler = xoops_gethandler('config'); + $module_handler = xoops_gethandler('module'); + $GLOBALS['speedtestModule'] = $module_handler->getByDirname('speedtest'); + $GLOBALS['speedtestModuleConfig'] = $config_handler->getConfigList($GLOBALS['speedtestModule']->getVar('mid')); + + xoops_load('pagenav'); + xoops_load('xoopslists'); + xoops_load('xoopsformloader'); + + include_once $GLOBALS['xoops']->path('class'.DS.'xoopsmailer.php'); + include_once $GLOBALS['xoops']->path('class'.DS.'xoopstree.php'); + + if ( file_exists($GLOBALS['xoops']->path('/Frameworks/moduleclasses/moduleadmin/moduleadmin.php'))){ + include_once $GLOBALS['xoops']->path('/Frameworks/moduleclasses/moduleadmin/moduleadmin.php'); + }else{ + echo xoops_error("Error: You don't use the Frameworks \"admin module\". Please install this Frameworks"); + } + + $GLOBALS['speedtestImageIcon'] = XOOPS_URL .'/'. $GLOBALS['speedtestModule']->getInfo('icons16'); + $GLOBALS['speedtestImageAdmin'] = XOOPS_URL .'/'. $GLOBALS['speedtestModule']->getInfo('icons32'); + + if ($GLOBALS['xoopsUser']) { + $moduleperm_handler =& xoops_gethandler('groupperm'); + if (!$moduleperm_handler->checkRight('module_admin', $GLOBALS['speedtestModule']->getVar( 'mid' ), $GLOBALS['xoopsUser']->getGroups())) { + redirect_header(XOOPS_URL, 1, _NOPERM); + exit(); + } + } else { + redirect_header(XOOPS_URL . "/user.php", 1, _NOPERM); + exit(); + } + + require_once('../include/common.php'); + require_once('../include/formobjects.speedtest.php'); + + xoops_loadLanguage('user'); + + if (!isset($GLOBALS['xoopsTpl']) || !is_object($GLOBALS['xoopsTpl'])) { + include_once(XOOPS_ROOT_PATH."/class/template.php"); + $GLOBALS['xoopsTpl'] = new XoopsTpl(); + } + + $GLOBALS['xoopsTpl']->assign('pathImageIcon', $GLOBALS['speedtestImageIcon']); + $GLOBALS['xoopsTpl']->assign('pathImageAdmin', $GLOBALS['speedtestImageAdmin']); + +?> \ No newline at end of file Added: XoopsModules/speedtest/releases/1.03/htdocs/modules/speedtest/admin/index.html =================================================================== --- XoopsModules/speedtest/releases/1.03/htdocs/modules/speedtest/admin/index.html (rev 0) +++ XoopsModules/speedtest/releases/1.03/htdocs/modules/speedtest/admin/index.html 2011-12-29 07:49:10 UTC (rev 8619) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsModules/speedtest/releases/1.03/htdocs/modules/speedtest/admin/index.php =================================================================== --- XoopsModules/speedtest/releases/1.03/htdocs/modules/speedtest/admin/index.php (rev 0) +++ XoopsModules/speedtest/releases/1.03/htdocs/modules/speedtest/admin/index.php 2011-12-29 07:49:10 UTC (rev 8619) @@ -0,0 +1,67 @@ +<?php + + include('header.php'); + + xoops_loadLanguage('admin', 'speedtest'); + + xoops_cp_header(); + + $op = isset($_REQUEST['op'])?$_REQUEST['op']:"results"; + $fct = isset($_REQUEST['fct'])?$_REQUEST['fct']:"results"; + $limit = !empty($_REQUEST['limit'])?intval($_REQUEST['limit']):30; + $start = !empty($_REQUEST['start'])?intval($_REQUEST['start']):0; + $order = !empty($_REQUEST['order'])?$_REQUEST['order']:'DESC'; + $sort = !empty($_REQUEST['sort'])?''.$_REQUEST['sort'].'':'timestamp'; + $filter = !empty($_REQUEST['filter'])?''.$_REQUEST['filter'].'':'1,1'; + + switch($op) { + default: + case "results": + switch ($fct) + { + default: + case "results": + speedtest_adminMenu(basename(__FILE__), 2); + + include_once $GLOBALS['xoops']->path( "/class/pagenav.php" ); + + $speedtest_handler =& xoops_getmodulehandler('speedtest', 'speedtest'); + + $criteria = $speedtest_handler->getFilterCriteria($filter); + $ttl = $speedtest_handler->getCount($criteria); + $sort = !empty($_REQUEST['sort'])?''.$_REQUEST['sort'].'':'timestamp'; + + $pagenav = new XoopsPageNav($ttl, $limit, $start, 'start', 'limit='.$limit.'&sort='.$sort.'&order='.$order.'&op='.$op.'&fct='.$fct.'&filter='.$filter.'&fct='.$fct.'&filter='.$filter); + $GLOBALS['xoopsTpl']->assign('pagenav', $pagenav->renderNav()); + + foreach (array('timestamp','ip','ip_string','id','uid','downspeed','upspeed') as $id => $key) { + $GLOBALS['xoopsTpl']->assign(strtolower(str_replace('-','_',$key).'_th'), '<a href="'.$_SERVER['PHP_SELF'].'?start='.$start.'&limit='.$limit.'&sort='.str_replace('_','-',$key).'&order='.((str_replace('_','-',$key)==$sort)?($order=='DESC'?'ASC':'DESC'):$order).'&op='.$op.'&filter='.$filter.'">'.(defined('_AM_SPEEDTEST_TH_'.strtoupper(str_replace('-','_',$key)))?constant('_AM_SPEEDTEST_TH_'.strtoupper(str_replace('-','_',$key))):'_AM_SPEEDTEST_TH_'.strtoupper(str_replace('-','_',$key))).'</a>'); + $GLOBALS['xoopsTpl']->assign('filter_'.strtolower(str_replace('-','_',$key)).'_th', $speedtest_handler->getFilterForm($filter, $key, $sort, $op, $fct)); + } + + $GLOBALS['xoopsTpl']->assign('limit', $limit); + $GLOBALS['xoopsTpl']->assign('start', $start); + $GLOBALS['xoopsTpl']->assign('order', $order); + $GLOBALS['xoopsTpl']->assign('sort', $sort); + $GLOBALS['xoopsTpl']->assign('filter', $filter); + $GLOBALS['xoopsTpl']->assign('xoConfig', $GLOBALS['speedtestModuleConfig']); + + $criteria->setStart($start); + $criteria->setLimit($limit); + $criteria->setSort('`'.$sort.'`'); + $criteria->setOrder($order); + + $speedtests = $speedtest_handler->getAll($criteria, true); + foreach($speedtests as $cid => $speedtest) { + $GLOBALS['xoopsTpl']->append('speedtests', $speedtest->toArray()); + } + $GLOBALS['xoopsTpl']->assign('php_self', $_SERVER['PHP_SELF']); + $GLOBALS['xoopsTpl']->display('db:speedtest_cpanel_results.html'); + break; + + } + } + + speedtest_footer_adminMenu(); + xoops_cp_footer(); +?> \ No newline at end of file Added: XoopsModules/speedtest/releases/1.03/htdocs/modules/speedtest/admin/menu.php =================================================================== --- XoopsModules/speedtest/releases/1.03/htdocs/modules/speedtest/admin/menu.php (rev 0) +++ XoopsModules/speedtest/releases/1.03/htdocs/modules/speedtest/admin/menu.php 2011-12-29 07:49:10 UTC (rev 8619) @@ -0,0 +1,27 @@ +<?php +/** + * @package xortify + * @subpackage module + * @description Sector Network Security Drone + * @author Simon Roberts WISHCRAFT <si...@ch...> + * @copyright copyright (c) 2010-2013 XOOPS.org + * @licence GPL 2.0 - see docs/LICENCE.txt + */ + + +global $adminmenu; +$adminmenu=array(); +$adminmenu[1]['title'] = _MI_SPEEDTEST_TITLE_ADMENU1; +$adminmenu[1]['icon'] = _MI_SPEEDTEST_ICON_ADMENU1; +$adminmenu[1]['image'] = _MI_SPEEDTEST_ICON_ADMENU1; +$adminmenu[1]['link'] = _MI_SPEEDTEST_LINK_ADMENU1; +$adminmenu[2]['title'] = _MI_SPEEDTEST_TITLE_ADMENU2; +$adminmenu[2]['icon'] = _MI_SPEEDTEST_ICON_ADMENU2; +$adminmenu[2]['image'] = _MI_SPEEDTEST_ICON_ADMENU2; +$adminmenu[2]['link'] = _MI_SPEEDTEST_LINK_ADMENU2; +$adminmenu[3]['title'] = _MI_SPEEDTEST_TITLE_ADMENU3; +$adminmenu[3]['icon'] = _MI_SPEEDTEST_ICON_ADMENU3; +$adminmenu[3]['image'] = _MI_SPEEDTEST_ICON_ADMENU3; +$adminmenu[3]['link'] = _MI_SPEEDTEST_LINK_ADMENU3; + +?> \ No newline at end of file Added: XoopsModules/speedtest/releases/1.03/htdocs/modules/speedtest/class/index.html =================================================================== --- XoopsModules/speedtest/releases/1.03/htdocs/modules/speedtest/class/index.html (rev 0) +++ XoopsModules/speedtest/releases/1.03/htdocs/modules/speedtest/class/index.html 2011-12-29 07:49:10 UTC (rev 8619) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsModules/speedtest/releases/1.03/htdocs/modules/speedtest/class/speedtest.php =================================================================== --- XoopsModules/speedtest/releases/1.03/htdocs/modules/speedtest/class/speedtest.php (rev 0) +++ XoopsModules/speedtest/releases/1.03/htdocs/modules/speedtest/class/speedtest.php 2011-12-29 07:49:10 UTC (rev 8619) @@ -0,0 +1,145 @@ +<?php + +if (!defined('XOOPS_ROOT_PATH')) { + exit(); +} +/** + * Class for Blue Room Xcenter + * @author Simon Roberts <si...@xo...> + * @copyright copyright (c) 2009-2003 XOOPS.org + * @package kernel + */ +class SpeedtestSpeedtest extends XoopsObject +{ + + var $_ModConfig = NULL; + var $_Mod = NULL; + + function SpeedtestSpeedtest($id = null) + { + $config_handler = xoops_gethandler('config'); + $module_handler = xoops_gethandler('module'); + $this->_Mod = $module_handler->getByDirname('speedtest'); + $this->_ModConfig = $config_handler->getConfigList($this->_Mod->getVar('mid')); + + $this->initVar('id', XOBJ_DTYPE_INT, null, false); + $this->initVar('uid', XOBJ_DTYPE_INT, null, false); + $this->initVar('ip', XOBJ_DTYPE_TXTBOX, null, false, 11); + $this->initVar('ip_string', XOBJ_DTYPE_TXTBOX, null, false, 64); + $this->initVar('timestamp', XOBJ_DTYPE_TXTBOX, null, false, 19); + $this->initVar('downspeed', XOBJ_DTYPE_TXTBOX, null, false, 15); + $this->initVar('upspeed', XOBJ_DTYPE_TXTBOX, null, false, 15); + } + + function toArray() { + $ret = parent::toArray(); + $user_handler = xoops_gethandler('user'); + if ($this->getVar('uid')>0) { + $user = $user_handler->get($this->getVar('uid')); + if (is_object($user)) + $ret['user']['uid'] = '<a href="'.XOOPS_URL.'/userinfo.php?uid='.$user->getVar('uid').'">'.$user->getVar('uname').'</a>'; + else + $ret['user']['uid'] = _MI_USER_GUEST; + } else { + $ret['user']['uid'] = _MI_USER_GUEST; + } + return $ret; + } +} + + +/** +* XOOPS policies handler class. +* This class is responsible for providing data access mechanisms to the data source +* of XOOPS user class objects. +* +* @author Simon Roberts <si...@ch...> +* @package kernel +*/ +class SpeedtestSpeedtestHandler extends XoopsPersistableObjectHandler +{ + + var $_ModConfig = NULL; + var $_Mod = NULL; + + function __construct(&$db) + { + $config_handler = xoops_gethandler('config'); + $module_handler = xoops_gethandler('module'); + $this->_Mod = $module_handler->getByDirname('speedtest'); + $this->_ModConfig = $config_handler->getConfigList($this->_Mod->getVar('mid')); + + $this->db = $db; + parent::__construct($db, 'speedtest', 'SpeedtestSpeedtest', "id", "ip"); + } + + function insert($object, $force = true) { + if (is_object($GLOBALS['xoopsUser'])) + $object->setVar('uid', $GLOBALS['xoopsUser']->getVar('uid')); + return parent::insert($object, $force); + } + + function getFilterCriteria($filter) { + $parts = explode('|', $filter); + $criteria = new CriteriaCompo(); + foreach($parts as $part) { + $var = explode(',', $part); + if (!empty($var[1])&&!is_numeric($var[0])) { + $object = $this->create(); + if ( $object->vars[$var[0]]['data_type']==XOBJ_DTYPE_TXTBOX || + $object->vars[$var[0]]['data_type']==XOBJ_DTYPE_TXTAREA) { + $criteria->add(new Criteria('`'.$var[0].'`', '%'.$var[1].'%', (isset($var[2])?$var[2]:'LIKE'))); + } elseif ( $object->vars[$var[0]]['data_type']==XOBJ_DTYPE_INT || + $object->vars[$var[0]]['data_type']==XOBJ_DTYPE_DECIMAL || + $object->vars[$var[0]]['data_type']==XOBJ_DTYPE_FLOAT ) { + $criteria->add(new Criteria('`'.$var[0].'`', $var[1], (isset($var[2])?$var[2]:'='))); + } elseif ( $object->vars[$var[0]]['data_type']==XOBJ_DTYPE_ENUM ) { + $criteria->add(new Criteria('`'.$var[0].'`', $var[1], (isset($var[2])?$var[2]:'='))); + } elseif ( $object->vars[$var[0]]['data_type']==XOBJ_DTYPE_ARRAY ) { + $criteria->add(new Criteria('`'.$var[0].'`', '%"'.$var[1].'";%', (isset($var[2])?$var[2]:'LIKE'))); + } + } elseif (!empty($var[1])&&is_numeric($var[0])) { + $criteria->add(new Criteria("'".$var[0]."'", $var[1])); + } + } + return $criteria; + } + + function getFilterForm($filter, $field, $sort='created', $op = '', $fct = '') { + $ele = speedtest_getFilterElement($filter, $field, $sort, $op, $fct); + if (is_object($ele)) + return $ele->render(); + else + return ' '; + } + + function getMaximum($field) { + if (empty($field)) + return false; + $sql = "SELECT MAX(`".$field."`) as `result` FROM " . $GLOBALS['xoopsDB']->prefix('speedtest') . " WHERE `".$field."` > 0"; + $result = $GLOBALS['xoopsDB']->queryF($sql); + list($ret) = $GLOBALS['xoopsDB']->fetchRow($result); + return number_format($ret, 2); + } + + function getMinimum($field) { + if (empty($field)) + return false; + $sql = "SELECT MIN(`".$field."`) as `result` FROM " . $GLOBALS['xoopsDB']->prefix('speedtest') . " WHERE `".$field."` > 0"; + $result = $GLOBALS['xoopsDB']->queryF($sql); + list($ret) = $GLOBALS['xoopsDB']->fetchRow($result); + return number_format($ret, 2); + } + + function getAverage($field) { + if (empty($field)) + return false; + $sql = "SELECT AVG(`".$field."`) as `result` FROM " . $GLOBALS['xoopsDB']->prefix('speedtest') . " WHERE `".$field."` > 0"; + $result = $GLOBALS['xoopsDB']->queryF($sql); + list($ret) = $GLOBALS['xoopsDB']->fetchRow($result); + return number_format($ret, 2); + } + +} + +?> \ No newline at end of file Added: XoopsModules/speedtest/releases/1.03/htdocs/modules/speedtest/docs/changelog.txt =================================================================== --- XoopsModules/speedtest/releases/1.03/htdocs/modules/speedtest/docs/changelog.txt (rev 0) +++ XoopsModules/speedtest/releases/1.03/htdocs/modules/speedtest/docs/changelog.txt 2011-12-29 07:49:10 UTC (rev 8619) @@ -0,0 +1,20 @@ +======================================== + 2011/11/29 17:57:00 Version 1.03 STABLE +======================================== + - Added speedtest_getIP() to /include/common.php for retrieving true IP Address (Wishcraft) + - Changed /results.php - IP Addy retrieved with speedtest_getIP() (Wishcraft) + +======================================== + 2011/11/07 21:22:00 Version 1.02 STABLE +======================================== + - Added XOOPS 2.5.x Admin GUI (Wishcraft) + - Added XOOPS 2.5.x Admin GUI Language Constants for Statistics language/english/admin.php (Wishcraft) + - Added upload.php - Replacement for CGI Perl Script. (mdagn) + - Added function getMaximum() to class/speedtest.php (Wishcraft) + - Added function getMinimum() to class/speedtest.php (Wishcraft) + - Added function getAverage() to class/speedtest.php (Wishcraft) + - Changed speedtest_adminMenu() - Changed to include addNavigation from XOOPS 2.5 Admin GUI (Wishcraft) + - Changed speedtest_footer_adminMenu() - Changed to include addNavigation from XOOPS 2.5 Admin GUI (Wishcraft) + - Moved images/icons/admin to Frameworks/moduleclasses/icons/ (GUI) (Support for Right to left Languages) (Wishcraft) + - Removed Removed Legacy CGI Script and Folders cgi-bin/upload.cgi (Wishcraft) + - Rename templates/speedtest_results.html to templates/speedtest_result.html (Wishcraft) \ No newline at end of file Added: XoopsModules/speedtest/releases/1.03/htdocs/modules/speedtest/docs/credits.txt =================================================================== --- XoopsModules/speedtest/releases/1.03/htdocs/modules/speedtest/docs/credits.txt (rev 0) +++ XoopsModules/speedtest/releases/1.03/htdocs/modules/speedtest/docs/credits.txt 2011-12-29 07:49:10 UTC (rev 8619) @@ -0,0 +1,4 @@ +Read Me First +============= + +Please make sure that you download the XOOPS Icon Set, and upload it to uploads/images directory \ No newline at end of file Added: XoopsModules/speedtest/releases/1.03/htdocs/modules/speedtest/docs/index.html =================================================================== --- XoopsModules/speedtest/releases/1.03/htdocs/modules/speedtest/docs/index.html (rev 0) +++ XoopsModules/speedtest/releases/1.03/htdocs/modules/speedtest/docs/index.html 2011-12-29 07:49:10 UTC (rev 8619) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsModules/speedtest/releases/1.03/htdocs/modules/speedtest/docs/install.txt =================================================================== --- XoopsModules/speedtest/releases/1.03/htdocs/modules/speedtest/docs/install.txt (rev 0) +++ XoopsModules/speedtest/releases/1.03/htdocs/modules/speedtest/docs/install.txt 2011-12-29 07:49:10 UTC (rev 8619) @@ -0,0 +1,8 @@ +Read Me First +============= + +Please make sure that you download the module from chronolabs to get the latest version, and upload it to your XOOPS Root +directory from all the content inside the zips htdocs folder. + +Intall the module as per the system module and then adjust preferences to suit, remember to set your Invoice Broker, Collection +Officer and other groups accordiantly in the groups, this will be created as per your installation. \ No newline at end of file Added: XoopsModules/speedtest/releases/1.03/htdocs/modules/speedtest/docs/lang_diff.txt =================================================================== --- XoopsModules/speedtest/releases/1.03/htdocs/modules/speedtest/docs/lang_diff.txt (rev 0) +++ XoopsModules/speedtest/releases/1.03/htdocs/modules/speedtest/docs/lang_diff.txt 2011-12-29 07:49:10 UTC (rev 8619) @@ -0,0 +1,4 @@ +Read Me First +============= + +Please make sure that you download the XOOPS Icon Set, and upload it to uploads/images directory \ No newline at end of file Added: XoopsModules/speedtest/releases/1.03/htdocs/modules/speedtest/docs/licence.txt =================================================================== --- XoopsModules/speedtest/releases/1.03/htdocs/modules/speedtest/docs/licence.txt (rev 0) +++ XoopsModules/speedtest/releases/1.03/htdocs/modules/speedtest/docs/licence.txt 2011-12-29 07:49:10 UTC (rev 8619) @@ -0,0 +1,339 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads comman... [truncated message content] |
From: <wis...@us...> - 2011-12-29 02:48:31
|
Revision: 8618 http://xoops.svn.sourceforge.net/xoops/?rev=8618&view=rev Author: wishcraft Date: 2011-12-29 02:48:17 +0000 (Thu, 29 Dec 2011) Log Message: ----------- XForum 5.81 - Admin Fixed, Path information on DIR Create, Fixed - XOOPS 2.5 (Only) Added Paths: ----------- XoopsModules/xforum/releases/5.81/ XoopsModules/xforum/releases/5.81/docs/ XoopsModules/xforum/releases/5.81/docs/.htaccess XoopsModules/xforum/releases/5.81/docs/gpl.txt XoopsModules/xforum/releases/5.81/docs/licence.txt XoopsModules/xforum/releases/5.81/extra/ XoopsModules/xforum/releases/5.81/extra/D3forum/ XoopsModules/xforum/releases/5.81/extra/D3forum/htdocs/ XoopsModules/xforum/releases/5.81/extra/D3forum/htdocs/migratetoxforum.php XoopsModules/xforum/releases/5.81/extra/Newbb/ XoopsModules/xforum/releases/5.81/extra/Newbb/htdocs/ XoopsModules/xforum/releases/5.81/extra/Newbb/htdocs/migratetoxforum.php XoopsModules/xforum/releases/5.81/htdocs/ XoopsModules/xforum/releases/5.81/htdocs/Frameworks/ XoopsModules/xforum/releases/5.81/htdocs/Frameworks/moduleclasses/ XoopsModules/xforum/releases/5.81/htdocs/Frameworks/moduleclasses/icons/ XoopsModules/xforum/releases/5.81/htdocs/Frameworks/moduleclasses/icons/16/ XoopsModules/xforum/releases/5.81/htdocs/Frameworks/moduleclasses/icons/16/xforum.block.png XoopsModules/xforum/releases/5.81/htdocs/Frameworks/moduleclasses/icons/16/xforum.category.png XoopsModules/xforum/releases/5.81/htdocs/Frameworks/moduleclasses/icons/16/xforum.digest.png XoopsModules/xforum/releases/5.81/htdocs/Frameworks/moduleclasses/icons/16/xforum.field.permissions.png XoopsModules/xforum/releases/5.81/htdocs/Frameworks/moduleclasses/icons/16/xforum.fields.png XoopsModules/xforum/releases/5.81/htdocs/Frameworks/moduleclasses/icons/16/xforum.forum.png XoopsModules/xforum/releases/5.81/htdocs/Frameworks/moduleclasses/icons/16/xforum.permissions.png XoopsModules/xforum/releases/5.81/htdocs/Frameworks/moduleclasses/icons/16/xforum.prune.png XoopsModules/xforum/releases/5.81/htdocs/Frameworks/moduleclasses/icons/16/xforum.reorder.png XoopsModules/xforum/releases/5.81/htdocs/Frameworks/moduleclasses/icons/16/xforum.report.png XoopsModules/xforum/releases/5.81/htdocs/Frameworks/moduleclasses/icons/16/xforum.sync.png XoopsModules/xforum/releases/5.81/htdocs/Frameworks/moduleclasses/icons/16/xforum.vote.png XoopsModules/xforum/releases/5.81/htdocs/Frameworks/moduleclasses/icons/32/ XoopsModules/xforum/releases/5.81/htdocs/Frameworks/moduleclasses/icons/32/xforum.block.png XoopsModules/xforum/releases/5.81/htdocs/Frameworks/moduleclasses/icons/32/xforum.category.png XoopsModules/xforum/releases/5.81/htdocs/Frameworks/moduleclasses/icons/32/xforum.digest.png XoopsModules/xforum/releases/5.81/htdocs/Frameworks/moduleclasses/icons/32/xforum.field.permissions.png XoopsModules/xforum/releases/5.81/htdocs/Frameworks/moduleclasses/icons/32/xforum.fields.png XoopsModules/xforum/releases/5.81/htdocs/Frameworks/moduleclasses/icons/32/xforum.forum.png XoopsModules/xforum/releases/5.81/htdocs/Frameworks/moduleclasses/icons/32/xforum.permissions.png XoopsModules/xforum/releases/5.81/htdocs/Frameworks/moduleclasses/icons/32/xforum.prune.png XoopsModules/xforum/releases/5.81/htdocs/Frameworks/moduleclasses/icons/32/xforum.reorder.png XoopsModules/xforum/releases/5.81/htdocs/Frameworks/moduleclasses/icons/32/xforum.report.png XoopsModules/xforum/releases/5.81/htdocs/Frameworks/moduleclasses/icons/32/xforum.sync.png XoopsModules/xforum/releases/5.81/htdocs/Frameworks/moduleclasses/icons/32/xforum.vote.png XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/ XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/2dbarcodes.php XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/CHANGELOG.TXT XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/LICENSE.TXT XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/README.TXT XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/barcodes.php XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/cache/ XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/cache/chapter_demo_1.txt XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/cache/chapter_demo_2.txt XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/cache/table_data_demo.txt XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/cache/utf8test.txt XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/config/ XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/config/lang/ XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/config/lang/cn.php XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/config/lang/en.php XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/config/lang/eng.php XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/config/lang/ge.php XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/config/lang/ger.php XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/config/lang/it.php XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/config/lang/ita.php XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/config/tcpdf_config.php XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/config/tcpdf_config_alt.php XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/doc/ XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/doc/classtrees_com-tecnick-tcpdf.html XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/doc/com-tecnick-tcpdf/ XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/doc/com-tecnick-tcpdf/TCPDF.html XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/doc/com-tecnick-tcpdf/TCPDFBarcode.html XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/doc/com-tecnick-tcpdf/_barcodes.php.html XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/doc/com-tecnick-tcpdf/_config---tcpdf_config.php.html XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/doc/com-tecnick-tcpdf/_htmlcolors.php.html XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/doc/com-tecnick-tcpdf/_tcpdf.php.html XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/doc/com-tecnick-tcpdf/_unicode_data.php.html XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/doc/elementindex.html XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/doc/elementindex_com-tecnick-tcpdf.html XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/doc/errors.html XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/doc/index.html XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/doc/li_com-tecnick-tcpdf.html XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/doc/media/ XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/doc/media/background.png XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/doc/media/empty.png XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/doc/media/style.css XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/examples/ XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/examples/example_001.php XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/examples/example_002.php XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/examples/example_003.php XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/examples/example_004.php XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/examples/example_005.php XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/examples/example_006.php XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/examples/example_007.php XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/examples/example_008.php XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/examples/example_009.php XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/examples/example_010.php XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/examples/example_011.php XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/examples/example_012.php XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/examples/example_013.php XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/examples/example_014.php XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/examples/example_015.php XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/examples/example_016.php XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/examples/example_017.php XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/examples/example_018.php XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/examples/example_019.php XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/examples/example_020.php XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/examples/example_021.php XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/examples/example_022.php XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/examples/example_023.php XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/examples/example_024.php XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/examples/example_025.php XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/examples/example_026.php XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/examples/example_027.php XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/examples/example_028.php XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/examples/example_029.php XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/examples/example_030.php XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/examples/example_031.php XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/examples/example_032.php XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/examples/example_033.php XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/examples/example_034.php XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/examples/example_035.php XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/examples/example_036.php XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/examples/example_037.php XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/examples/example_038.php XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/examples/example_039.php XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/examples/example_040.php XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/examples/example_041.php XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/examples/example_042.php XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/examples/example_043.php XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/examples/example_044.php XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/examples/example_045.php XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/examples/example_046.php XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/examples/example_047.php XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/examples/example_048.php XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/examples/example_049.php XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/examples/example_050.php XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/examples/example_051.php XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/examples/example_052.php XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/examples/example_053.php XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/examples/example_054.php XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/examples/example_055.php XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/examples/index.php XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/fonts/ XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/fonts/README.TXT XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/fonts/almohanad.ctg.z XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/fonts/almohanad.php XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/fonts/almohanad.z XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/fonts/arialunicid0.php XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/fonts/courier.php XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/fonts/dejavu-fonts-ttf-2.30/ XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/fonts/dejavu-fonts-ttf-2.30/AUTHORS XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/fonts/dejavu-fonts-ttf-2.30/BUGS XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/fonts/dejavu-fonts-ttf-2.30/LICENSE XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/fonts/dejavu-fonts-ttf-2.30/NEWS XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/fonts/dejavu-fonts-ttf-2.30/README XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/fonts/dejavu-fonts-ttf-2.30/langcover.txt XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/fonts/dejavu-fonts-ttf-2.30/status.txt XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/fonts/dejavu-fonts-ttf-2.30/unicover.txt XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/fonts/freefont-20090104/ XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/fonts/freefont-20090104/AUTHORS XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/fonts/freefont-20090104/COPYING XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/fonts/freefont-20090104/CREDITS XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/fonts/freefont-20090104/ChangeLog XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/fonts/freefont-20090104/INSTALL XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/fonts/freefont-20090104/README XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/fonts/freemono.ctg.z XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/fonts/freemono.php XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/fonts/freemono.z XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/fonts/freemonob.ctg.z XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/fonts/freemonob.php XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/fonts/freemonob.z XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/fonts/freemonobi.ctg.z XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/fonts/freemonobi.php XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/fonts/freemonobi.z XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/fonts/freemonoi.ctg.z XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/fonts/freemonoi.php XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/fonts/freemonoi.z XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/fonts/freesans.ctg.z XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/fonts/freesans.php XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/fonts/freesans.z XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/fonts/freesansb.ctg.z XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/fonts/freesansb.php XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/fonts/freesansb.z XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/fonts/freesansbi.ctg.z XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/fonts/freesansbi.php XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/fonts/freesansbi.z XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/fonts/freesansi.ctg.z XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/fonts/freesansi.php XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/fonts/freesansi.z XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/fonts/freeserif.ctg.z XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/fonts/freeserif.php XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/fonts/freeserif.z XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/fonts/freeserifb.ctg.z XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/fonts/freeserifb.php XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/fonts/freeserifb.z XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/fonts/freeserifbi.ctg.z XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/fonts/freeserifbi.php XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/fonts/freeserifbi.z XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/fonts/freeserifi.ctg.z XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/fonts/freeserifi.php XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/fonts/freeserifi.z XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/fonts/helvetica.php XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/fonts/helveticab.php XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/fonts/helveticabi.php XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/fonts/helveticai.php XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/fonts/hysmyeongjostdmedium.php XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/fonts/kozgopromedium.php XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/fonts/kozminproregular.php XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/fonts/msungstdlight.php XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/fonts/stsongstdlight.php XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/fonts/symbol.php XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/fonts/times.php XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/fonts/timesb.php XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/fonts/timesbi.php XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/fonts/timesi.php XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/fonts/uni2cid_ac15.php XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/fonts/uni2cid_ag15.php XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/fonts/uni2cid_aj16.php XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/fonts/uni2cid_ak12.php XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/fonts/utils/ XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/fonts/utils/README.TXT XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/fonts/utils/enc/ XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/fonts/utils/enc/cp1250.map XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/fonts/utils/enc/cp1251.map XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/fonts/utils/enc/cp1252.map XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/fonts/utils/enc/cp1253.map XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/fonts/utils/enc/cp1254.map XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/fonts/utils/enc/cp1255.map XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/fonts/utils/enc/cp1257.map XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/fonts/utils/enc/cp1258.map XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/fonts/utils/enc/cp874.map XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/fonts/utils/enc/iso-8859-1.map XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/fonts/utils/enc/iso-8859-11.map XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/fonts/utils/enc/iso-8859-15.map XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/fonts/utils/enc/iso-8859-16.map XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/fonts/utils/enc/iso-8859-2.map XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/fonts/utils/enc/iso-8859-4.map XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/fonts/utils/enc/iso-8859-5.map XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/fonts/utils/enc/iso-8859-7.map XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/fonts/utils/enc/iso-8859-9.map XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/fonts/utils/enc/koi8-r.map XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/fonts/utils/enc/koi8-u.map XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/fonts/utils/freetype6.dll XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/fonts/utils/makeallttffonts.php XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/fonts/utils/makefont.php XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/fonts/utils/pfm2afm XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/fonts/utils/pfm2afm.exe XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/fonts/utils/src/ XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/fonts/utils/src/pfm2afm-src.tar.gz XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/fonts/utils/src/readme.txt XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/fonts/utils/src/ttf2ufm-src.tar.gz XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/fonts/utils/ttf2ufm XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/fonts/utils/ttf2ufm.exe XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/fonts/utils/zlib1.dll XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/fonts/zapfdingbats.php XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/htmlcolors.php XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/images/ XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/images/_blank.png XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/images/alpha.png XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/images/bug.eps XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/images/image_demo.jpg XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/images/image_with_alpha.png XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/images/img.png XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/images/logo_example.gif XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/images/logo_example.jpg XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/images/logo_example.png XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/images/pelican.ai XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/images/tcpdf_logo.jpg XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/images/tiger.ai XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/tcpdf.crt XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/tcpdf.fdf XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/tcpdf.php XoopsModules/xforum/releases/5.81/htdocs/Frameworks/tcpdf/unicode_data.php XoopsModules/xforum/releases/5.81/htdocs/modules/ XoopsModules/xforum/releases/5.81/htdocs/modules/tag/ XoopsModules/xforum/releases/5.81/htdocs/modules/tag/plugin/ XoopsModules/xforum/releases/5.81/htdocs/modules/tag/plugin/xforum.php XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/ XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/action.post.php XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/action.topic.php XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/action.transfer.php XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/admin/ XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/admin/admin_about.php XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/admin/admin_blocks.php XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/admin/admin_cat_manager.php XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/admin/admin_dashboard.php XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/admin/admin_digest.php XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/admin/admin_field.php XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/admin/admin_field_permissions.php XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/admin/admin_field_visibility.php XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/admin/admin_forum_manager.php XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/admin/admin_forum_prune.php XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/admin/admin_forum_reorder.php XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/admin/admin_header.php XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/admin/admin_permissions.php XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/admin/admin_post.php XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/admin/admin_report.php XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/admin/admin_votedata.php XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/admin/index.html XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/admin/menu.php XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/archive.php XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/blocks/ XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/blocks/forum_block.php XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/blocks/index.html XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/class/ XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/class/category.php XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/class/digest.php XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/class/extras.php XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/class/field.php XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/class/forum.php XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/class/index.html XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/class/karma.php XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/class/moderate.php XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/class/online.php XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/class/permission.php XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/class/post.php XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/class/posts.php XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/class/rate.php XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/class/read.php XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/class/readforum.php XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/class/readtopic.php XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/class/report.php XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/class/text.php XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/class/topic.php XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/class/transfer/ XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/class/transfer/blog/ XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/class/transfer/blog/config.php XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/class/transfer/blog/index.php XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/class/transfer/blog/language/ XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/class/transfer/blog/language/english.php XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/class/transfer/blog/language/schinese.php XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/class/transfer/bookmark/ XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/class/transfer/bookmark/config.php XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/class/transfer/bookmark/index.php XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/class/transfer/bookmark/language/ XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/class/transfer/bookmark/language/english.php XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/class/transfer/bookmark/language/schinese.php XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/class/transfer/dokuwiki/ XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/class/transfer/dokuwiki/config.php XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/class/transfer/dokuwiki/index.php XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/class/transfer/dokuwiki/language/ XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/class/transfer/dokuwiki/language/english.php XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/class/transfer/dokuwiki/language/schinese.php XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/class/transfer/email/ XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/class/transfer/email/action.email.php XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/class/transfer/email/config.php XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/class/transfer/email/index.php XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/class/transfer/email/language/ XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/class/transfer/email/language/english.php XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/class/transfer/email/language/schinese.php XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/class/transfer/index.html XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/class/transfer/pdf/ XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/class/transfer/pdf/config.php XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/class/transfer/pdf/index.php XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/class/transfer/pdf/language/ XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/class/transfer/pdf/language/english.php XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/class/transfer/pdf/language/schinese.php XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/class/transfer/pm/ XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/class/transfer/pm/config.php XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/class/transfer/pm/index.php XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/class/transfer/pm/language/ XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/class/transfer/pm/language/english.php XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/class/transfer/pm/language/schinese.php XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/class/transfer/print/ XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/class/transfer/print/config.php XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/class/transfer/print/index.php XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/class/transfer/print/language/ XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/class/transfer/print/language/english.php XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/class/transfer/print/language/schinese.php XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/class/transfer/wordpress/ XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/class/transfer/wordpress/config.php XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/class/transfer/wordpress/index.php XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/class/transfer/wordpress/language/ XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/class/transfer/wordpress/language/english.php XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/class/transfer/wordpress/language/schinese.php XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/class/transfer.php XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/class/uploader.php XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/class/user.php XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/class/visibility.php XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/class/xforumtree.php XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/class/xlanguage_ext.php XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/class/xmlrss.php XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/class/xoopsformloader.php XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/delete.php XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/digest.php XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/dl_attachment.php XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/docs/ XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/docs/changelog.txt XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/docs/credits.txt XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/docs/index.html XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/docs/install.txt XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/docs/lang_diff.txt XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/docs/licence.txt XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/docs/readme.txt XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/edit.php XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/graphs/ XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/header.php XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/ XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/Thumbs.db XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/add-a.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/aim-a.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/aim-a.png XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/approve-a.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/approve-a.png XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/arrow-a.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/arrow-a.png XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/bg.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/bg.png XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/blank.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/brdr-blc.png XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/brdr-bottom.png XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/brdr-brc.png XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/brdr-left.png XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/brdr-right.png XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/brdr-tlc.png XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/brdr-top.png XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/brdr-trc.png XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/category/ XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/category/Thumbs.db XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/category/blank.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/category/topxoops.png XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/category/xforum.png XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/category/xoops-au.png XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/del_topic-a.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/del_topic-a.png XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/delete-a.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/delete-a.png XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/delete.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/delete.png XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/digest-a.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/digest-a.png XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/disable.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/document-a.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/document-a.png XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/edit-a.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/edit-a.png XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/edit.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/edit.png XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/email-a.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/email-a.png XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/enable.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/external.png XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/filetypes/ XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/filetypes/Thumbs.db XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/filetypes/ace.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/filetypes/avi.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/filetypes/bmp.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/filetypes/doc.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/filetypes/exe.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/filetypes/flash.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/filetypes/gif.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/filetypes/html.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/filetypes/jpeg.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/filetypes/jpg.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/filetypes/mid.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/filetypes/mov.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/filetypes/mp3.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/filetypes/mpg.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/filetypes/netscape.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/filetypes/pdf.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/filetypes/png.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/filetypes/ppt.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/filetypes/rar.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/filetypes/txt.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/filetypes/unknown.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/filetypes/wav.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/filetypes/xls.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/filetypes/zip.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/home-a.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/home-a.png XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/icons/ XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/icons/accept.png XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/icons/cancel.png XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/icq-a.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/icq-a.png XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/ XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/ XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/Thumbs.db XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/attachment-a.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/attachment-a.png XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/clip-a.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/clip-a.png XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/doubledown-a.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/doubledown-a.png XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/down-a.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/down-a.png XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/english/ XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/english/Thumbs.db XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/english/new_forum-a.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/english/new_forum-a.png XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/english/new_subforum-a.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/english/new_subforum-a.png XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/english/offline-a.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/english/offline-a.png XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/english/online-a.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/english/online-a.png XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/english/p_delete-a.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/english/p_delete-a.png XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/english/p_edit-a.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/english/p_edit-a.png XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/english/p_quote-a.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/english/p_quote-a.png XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/english/p_reply-a.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/english/p_reply-a.png XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/english/p_report-a.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/english/p_report-a.png XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/english/p_up-a.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/english/p_up-a.png XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/english/t_new-a.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/english/t_new-a.png XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/english/t_poll-a.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/english/t_poll-a.png XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/english/t_qr-a.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/english/t_qr-a.png XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/english/t_reply-a.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/english/t_reply-a.png XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/flat-a.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/flat-a.png XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/folder-a.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/folder-a.png XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/folder_big-a.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/folder_big-a.png XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/folder_digest-a.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/folder_digest-a.png XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/folder_locked_big-a.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/folder_locked_big-a.png XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/folder_locked_big_newposts-a.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/folder_locked_big_newposts-a.png XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/folder_new_big-a.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/folder_new_big-a.png XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/folder_sticky-a.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/folder_sticky-a.png XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/folder_user-a.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/folder_user-a.png XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/forum_moderators-a.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/forum_moderators-a.png XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/german/ XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/german/Thumbs.db XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/german/new_forum-a.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/german/new_forum-a.png XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/german/new_subforum-a.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/german/new_subforum-a.png XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/german/offline-a.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/german/offline-a.png XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/german/online-a.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/german/online-a.png XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/german/p_delete-a.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/german/p_delete-a.png XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/german/p_edit-a.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/german/p_edit-a.png XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/german/p_quote-a.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/german/p_quote-a.png XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/german/p_reply-a.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/german/p_reply-a.png XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/german/p_report-a.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/german/p_report-a.png XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/german/p_up-a.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/german/p_up-a.png XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/german/t_new-a.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/german/t_new-a.png XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/german/t_poll-a.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/german/t_poll-a.png XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/german/t_qr-a.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/german/t_qr-a.png XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/german/t_reply-a.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/german/t_reply-a.png XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/hot_folder-a.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/hot_folder-a.png XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/hot_folder_user-a.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/hot_folder_user-a.png XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/hot_red_folder-a.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/hot_red_folder-a.png XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/index.html XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/left-a.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/left-a.png XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/lock-a.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/lock-a.png XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/pixel-a.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/poll-a.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/poll-a.png XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/post_content-a.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/post_content-a.png XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/printer-a.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/printer-a.png XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/rate1-a.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/rate1-a.png XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/rate2-a.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/rate2-a.png XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/rate3-a.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/rate3-a.png XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/rate4-a.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/rate4-a.png XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/rate5-a.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/rate5-a.png XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/red_folder-a.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/red_folder-a.png XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/red_folder_user-a.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/red_folder_user-a.png XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/right-a.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/right-a.png XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/rpg/ XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/rpg/Thumbs.db XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/rpg/blue.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/rpg/green.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/rpg/img_backing.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/rpg/img_left.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/rpg/img_right.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/rpg/orange.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/threaded-a.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/threaded-a.png XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/up-a.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/up-a.png XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/whosonline-a.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/imagesets/default/whosonline-a.png XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/index.html XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/left_both.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/left_both.png XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/lock_topic-a.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/lock_topic-a.png XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/minus-a.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/minus-a.png XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/minus.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/minus.png XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/move_topic-a.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/move_topic-a.png XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/msnm-a.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/msnm-a.png XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/news-a.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/news-a.png XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/pdf-a.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/pdf-a.png XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/personal-a.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/personal-a.png XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/plus-a.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/plus-a.png XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/plus.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/plus.png XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/pm-a.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/pm-a.png XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/right_both.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/right_both.png XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/rss-a.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/rss-a.png XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/rss-small.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/spacer-a.png XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/sticky-a.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/sticky-a.png XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/undigest-a.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/undigest-a.png XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/unlock_topic-a.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/unlock_topic-a.png XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/unsticky-a.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/unsticky-a.png XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/xforum.png XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/xoopsxf_slogo.png XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/yahoo-a.gif XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/images/yahoo-xforum.png XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/include/ XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/include/admin.functions.php XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/include/formselectforum.php XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/include/forumform.inc.php XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/include/functions.image.php XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/include/functions.ini.php XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/include/functions.php XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/include/functions.welcome.php XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/include/index.html XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/include/js/ XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/include/js/xforum_browserdetect.js XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/include/js/xforum_dynMenu.js XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/include/js/xforum_menu_click.js XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/include/js/xforum_tip.js XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/include/js/xforum_tipstyle.js XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/include/js/xforum_toggle.js XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/include/module.php XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/include/notification.inc.php XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/include/plugin.dist.php XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/include/plugin.php XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/include/pngbehavior.htc XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/include/search.inc.php XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/include/vars.php XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/include/xforum.htc XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/index.php XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/language/ XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/language/english/ XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/language/english/admin.php XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/language/english/blocks.php XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/language/english/index.html XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/language/english/mail_template/ XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/language/english/mail_template/forum_newpost_notify.tpl XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/language/english/mail_template/forum_newthread_notify.tpl XoopsModules/xforum/releases/5.81/htdocs/modules/xforum/langu... [truncated message content] |
From: <wis...@us...> - 2011-12-29 02:34:30
|
Revision: 8617 http://xoops.svn.sourceforge.net/xoops/?rev=8617&view=rev Author: wishcraft Date: 2011-12-29 02:34:20 +0000 (Thu, 29 Dec 2011) Log Message: ----------- WURFL 2.01 - For XOOPS 2.5 (Only) - Theme Shifter, with Apple and Android Oversight - Heaps of new Features Added Paths: ----------- XoopsModules/wurfl/releases/2.01/ XoopsModules/wurfl/releases/2.01/htdocs/ XoopsModules/wurfl/releases/2.01/htdocs/Frameworks/ XoopsModules/wurfl/releases/2.01/htdocs/Frameworks/moduleclasses/ XoopsModules/wurfl/releases/2.01/htdocs/Frameworks/moduleclasses/icons/ XoopsModules/wurfl/releases/2.01/htdocs/Frameworks/moduleclasses/icons/16/ XoopsModules/wurfl/releases/2.01/htdocs/Frameworks/moduleclasses/icons/16/wurfl.devices.png XoopsModules/wurfl/releases/2.01/htdocs/Frameworks/moduleclasses/icons/16/wurfl.import.png XoopsModules/wurfl/releases/2.01/htdocs/Frameworks/moduleclasses/icons/32/ XoopsModules/wurfl/releases/2.01/htdocs/Frameworks/moduleclasses/icons/32/wurfl.devices.png XoopsModules/wurfl/releases/2.01/htdocs/Frameworks/moduleclasses/icons/32/wurfl.import.png XoopsModules/wurfl/releases/2.01/htdocs/modules/ XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/ XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/ XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/about.php XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/ajax.php XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/bearer.php XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/bugs.php XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/cache.php XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/chtml_ui.php XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/css.php XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/dashboard.php XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/devices.php XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/display.php XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/drm.php XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/flash_lite.php XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/header.php XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/image_format.php XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/import.php XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/index.html XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/j2me.php XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/markup.php XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/menu.php XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/mms.php XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/object_download.php XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/pdf.php XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/playback.php XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/processes.php XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/product_info.php XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/rss.php XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/security.php XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/sms.php XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/sound_format.php XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/storage.php XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/streaming.php XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/transcoding.php XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/wap_push.php XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/wml_ui.php XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/wta.php XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/xhtml_ui.php XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/class/ XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/class/ajax.php XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/class/bearer.php XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/class/bugs.php XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/class/cache.php XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/class/chtml_ui.php XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/class/css.php XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/class/devices.php XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/class/display.php XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/class/drm.php XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/class/flash_lite.php XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/class/image_format.php XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/class/j2me.php XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/class/markup.php XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/class/mms.php XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/class/object_download.php XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/class/pdf.php XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/class/playback.php XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/class/product_info.php XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/class/rss.php XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/class/security.php XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/class/sms.php XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/class/sound_format.php XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/class/storage.php XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/class/streaming.php XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/class/transcoding.php XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/class/wap_push.php XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/class/wml_ui.php XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/class/wta.php XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/class/xhtml_ui.php XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/docs/ XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/docs/changelog.txt XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/docs/credits.txt XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/docs/index.html XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/docs/install.txt XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/docs/lang_diff.txt XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/docs/licence.txt XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/docs/readme.txt XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/images/ XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/images/Thumbs.db XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/images/import.png XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/images/index.html XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/images/wurfl_slogo.png XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/include/ XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/include/form.objects.php XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/include/form.wurfl.php XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/include/formselectdevice.php XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/include/functions.php XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/include/index.html XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/include/update.php XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/index.html XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/language/ XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/language/english/ XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/language/english/admin.php XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/language/english/forms.php XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/language/english/help/ XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/language/english/help/help.html XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/language/english/help/index.html XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/language/english/main.php XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/language/english/modinfo.php XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/preloads/ XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/preloads/core.php XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/preloads/index.html XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/resource/ XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/resource/index.html XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/resource/wurfl.xml XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/sql/ XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/sql/index.html XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/sql/mysql.sql XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/templates/ XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/templates/wurfl_cpanel_create_ajax.html XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/templates/wurfl_cpanel_create_bearer.html XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/templates/wurfl_cpanel_create_bugs.html XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/templates/wurfl_cpanel_create_cache.html XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/templates/wurfl_cpanel_create_chtml_ui.html XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/templates/wurfl_cpanel_create_css.html XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/templates/wurfl_cpanel_create_display.html XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/templates/wurfl_cpanel_create_drm.html XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/templates/wurfl_cpanel_create_flash_lite.html XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/templates/wurfl_cpanel_create_image_format.html XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/templates/wurfl_cpanel_create_j2me.html XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/templates/wurfl_cpanel_create_markup.html XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/templates/wurfl_cpanel_create_mms.html XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/templates/wurfl_cpanel_create_object_download.html XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/templates/wurfl_cpanel_create_pdf.html XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/templates/wurfl_cpanel_create_playback.html XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/templates/wurfl_cpanel_create_product_info.html XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/templates/wurfl_cpanel_create_rss.html XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/templates/wurfl_cpanel_create_security.html XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/templates/wurfl_cpanel_create_sms.html XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/templates/wurfl_cpanel_create_sound_format.html XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/templates/wurfl_cpanel_create_storage.html XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/templates/wurfl_cpanel_create_streaming.html XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/templates/wurfl_cpanel_create_transcoding.html XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/templates/wurfl_cpanel_create_wap_push.html XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/templates/wurfl_cpanel_create_wml_ui.html XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/templates/wurfl_cpanel_create_wta.html XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/templates/wurfl_cpanel_create_xhtml_ui.html XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/templates/wurfl_cpanel_devices_edit.html XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/templates/wurfl_cpanel_devices_list.html XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/templates/wurfl_cpanel_import.html XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/templates/wurfl_cpanel_import_errors.html XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/templates/wurfl_cpanel_import_finished.html XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/templates/wurfl_cpanel_import_redirect.html XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/templates/wurfl_cpanel_list_ajax.html XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/templates/wurfl_cpanel_list_bearer.html XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/templates/wurfl_cpanel_list_bugs.html XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/templates/wurfl_cpanel_list_cache.html XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/templates/wurfl_cpanel_list_chtml_ui.html XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/templates/wurfl_cpanel_list_css.html XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/templates/wurfl_cpanel_list_display.html XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/templates/wurfl_cpanel_list_drm.html XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/templates/wurfl_cpanel_list_flash_lite.html XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/templates/wurfl_cpanel_list_image_format.html XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/templates/wurfl_cpanel_list_j2me.html XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/templates/wurfl_cpanel_list_markup.html XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/templates/wurfl_cpanel_list_mms.html XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/templates/wurfl_cpanel_list_object_download.html XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/templates/wurfl_cpanel_list_pdf.html XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/templates/wurfl_cpanel_list_playback.html XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/templates/wurfl_cpanel_list_product_info.html XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/templates/wurfl_cpanel_list_rss.html XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/templates/wurfl_cpanel_list_security.html XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/templates/wurfl_cpanel_list_sms.html XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/templates/wurfl_cpanel_list_sound_format.html XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/templates/wurfl_cpanel_list_storage.html XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/templates/wurfl_cpanel_list_streaming.html XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/templates/wurfl_cpanel_list_transcoding.html XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/templates/wurfl_cpanel_list_wap_push.html XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/templates/wurfl_cpanel_list_wml_ui.html XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/templates/wurfl_cpanel_list_wta.html XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/templates/wurfl_cpanel_list_xhtml_ui.html XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/xoops_version.php Added: XoopsModules/wurfl/releases/2.01/htdocs/Frameworks/moduleclasses/icons/16/wurfl.devices.png =================================================================== (Binary files differ) Property changes on: XoopsModules/wurfl/releases/2.01/htdocs/Frameworks/moduleclasses/icons/16/wurfl.devices.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/wurfl/releases/2.01/htdocs/Frameworks/moduleclasses/icons/16/wurfl.import.png =================================================================== (Binary files differ) Property changes on: XoopsModules/wurfl/releases/2.01/htdocs/Frameworks/moduleclasses/icons/16/wurfl.import.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/wurfl/releases/2.01/htdocs/Frameworks/moduleclasses/icons/32/wurfl.devices.png =================================================================== (Binary files differ) Property changes on: XoopsModules/wurfl/releases/2.01/htdocs/Frameworks/moduleclasses/icons/32/wurfl.devices.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/wurfl/releases/2.01/htdocs/Frameworks/moduleclasses/icons/32/wurfl.import.png =================================================================== (Binary files differ) Property changes on: XoopsModules/wurfl/releases/2.01/htdocs/Frameworks/moduleclasses/icons/32/wurfl.import.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/about.php =================================================================== --- XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/about.php (rev 0) +++ XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/about.php 2011-12-29 02:34:20 UTC (rev 8617) @@ -0,0 +1,73 @@ +<?php +// $Id: about.php 5204 2010-09-06 20:10:52Z mageg $ +// ------------------------------------------------------------------------ // +// XOOPS - PHP Content Management System // +// Copyright (c) 2000 XOOPS.org // +// <http://www.xoops.org/> // +// ------------------------------------------------------------------------ // +// This program is free software; you can redistribute it and/or modify // +// it under the terms of the GNU General Public License as published by // +// the Free Software Foundation; either version 2 of the License, or // +// (at your option) any later version. // +// // +// You may not change or alter any portion of this comment or credits // +// of supporting developers from this source code or any supporting // +// source code which is considered copyrighted (c) material of the // +// original comment or credit authors. // +// // +// This program is distributed in the hope that it will be useful, // +// but WITHOUT ANY WARRANTY; without even the implied warranty of // +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // +// GNU General Public License for more details. // +// // +// You should have received a copy of the GNU General Public License // +// along with this program; if not, write to the Free Software // +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA // +// ------------------------------------------------------------------------ // +// Author: XOOPS Foundation // +// URL: http://www.xoops.org/ // +// Project: The XOOPS Project // +// ------------------------------------------------------------------------- // + + include ('header.php'); + + xoops_cp_header(); + wurfl_adminMenu(4, 'about.php'); + $paypalitemno='WURFL20'; + $aboutAdmin = new ModuleAdmin(); + $about = $aboutAdmin->renderabout($paypalitemno, false); + $donationform = array( 0 => '<form name="donation" id="donation" action="http://www.chronolabs.coop/modules/xpayment/" method="post" onsubmit="return xoopsFormValidate_donation();">', + 1 => '<table class="outer" cellspacing="1" width="100%"><tbody><tr><th colspan="2">'.constant('_WURFL_AM_ABOUT_MAKEDONATE').'</th></tr><tr align="left" valign="top"><td class="head"><div class="xoops-form-element-caption-required"><span class="caption-text">Donation Amount</span><span class="caption-marker">*</span></div></td><td class="even"><select size="1" name="item[A][amount]" id="item[A][amount]" title="Donation Amount"><option value="5">5.00 AUD</option><option value="10">10.00 AUD</option><option value="20">20.00 AUD</option><option value="40">40.00 AUD</option><option value="60">60.00 AUD</option><option value="80">80.00 AUD</option><option value="90">90.00 AUD</option><option value="100">100.00 AUD</option><option value="200">200.00 AUD</option></select></td></tr><tr align="left" valign="top"><td class="head"></td><td class="even"><input class="formButton" name="submit" id="submit" value="'._SUBMIT.'" title="'._SUBMIT.'" type="submit"></td></tr></tbody></table>', + 2 => '<input name="op" id="op" value="createinvoice" type="hidden"><input name="plugin" id="plugin" value="donations" type="hidden"><input name="donation" id="donation" value="1" type="hidden"><input name="drawfor" id="drawfor" value="Chronolabs Co-Operative" type="hidden"><input name="drawto" id="drawto" value="%s" type="hidden"><input name="drawto_email" id="drawto_email" value="%s" type="hidden"><input name="key" id="key" value="%s" type="hidden"><input name="currency" id="currency" value="AUD" type="hidden"><input name="weight_unit" id="weight_unit" value="kgs" type="hidden"><input name="item[A][cat]" id="item[A][cat]" value="XDN%s" type="hidden"><input name="item[A][name]" id="item[A][name]" value="Donation for %s" type="hidden"><input name="item[A][quantity]" id="item[A][quantity]" value="1" type="hidden"><input name="item[A][shipping]" id="item[A][shipping]" value="0" type="hidden"><input name="item[A][handling]" id="item[A][handling]" value="0" type="hidden"><input name="item[A][weight]" id="item[A][weight]" value="0" type="hidden"><input name="item[A][tax]" id="item[A][tax]" value="0" type="hidden"><input name="return" id="return" value="http://www.chronolabs.coop/modules/donations/success.php" type="hidden"><input name="cancel" id="cancel" value="http://www.chronolabs.coop/modules/donations/success.php" type="hidden"></form>', 'D'=>'', + 3 => '', + 4 => '<!-- Start Form Validation JavaScript //--> +<script type="text/javascript"> +<!--// +function xoopsFormValidate_donation() { var myform = window.document.donation; +var hasSelected = false; var selectBox = myform.item[A][amount];for (i = 0; i < selectBox.options.length; i++ ) { if (selectBox.options[i].selected == true && selectBox.options[i].value != \'\') { hasSelected = true; break; } }if (!hasSelected) { window.alert("Please enter Donation Amount"); selectBox.focus(); return false; }return true; +} +//--></script> +<!-- End Form Validation JavaScript //-->'); + $paypalform = array( 0 => '<form action="https://www.paypal.com/cgi-bin/webscr" method="post">', + 1 => '<input name="cmd" value="_s-xclick" type="hidden">', + 2 => '<input name="hosted_button_id" value="%s" type="hidden">', + 3 => '<img alt="" src="https://www.paypal.com/fr_FR/i/scr/pixel.gif" height="1" border="0" width="1">', + 4 => '<input src="https://www.paypal.com/en_US/i/btn/btn_donate_LG.gif" name="submit" alt="PayPal - The safer, easier way to pay online!" border="0" type="image">', + 5 => '</form>'); + for($key=0;$key<=4;$key++) { + switch ($key) { + case 2: + $donationform[$key] = sprintf($donationform[$key], $GLOBALS['xoopsConfig']['sitename'] . ' - ' . (strlen($GLOBALS['xoopsUser']->getVar('name'))>0?$GLOBALS['xoopsUser']->getVar('name'). ' ['.$GLOBALS['xoopsUser']->getVar('uname').']':$GLOBALS['xoopsUser']->getVar('uname')), $GLOBALS['xoopsUser']->getVar('email'), XOOPS_LICENSE_KEY, strtoupper($GLOBALS['wurflModule']->getVar('dirname')), strtoupper($GLOBALS['wurflModule']->getVar('dirname')). ' '.$GLOBALS['wurflModule']->getVar('name')); + break; + } + } + + $istart = strpos($about, ($paypalform[0]), 1); + $iend = strpos($about, ($paypalform[5]), $istart+1)+strlen($paypalform[5])-1; + echo (substr($about, 0, $istart-1)); + echo implode("\n", $donationform); + echo (substr($about, $iend+1, strlen($about)-$iend-1)); + echo wurfl_footer_adminMenu(false); + xoops_cp_footer(); + +?> \ No newline at end of file Added: XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/ajax.php =================================================================== --- XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/ajax.php (rev 0) +++ XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/ajax.php 2011-12-29 02:34:20 UTC (rev 8617) @@ -0,0 +1,6 @@ +<?php + + include dirname(__FILE__).'/header.php'; + include dirname(__FILE__).'/processes.php'; + +?> \ No newline at end of file Added: XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/bearer.php =================================================================== --- XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/bearer.php (rev 0) +++ XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/bearer.php 2011-12-29 02:34:20 UTC (rev 8617) @@ -0,0 +1,6 @@ +<?php + + include dirname(__FILE__).'/header.php'; + include dirname(__FILE__).'/processes.php'; + +?> \ No newline at end of file Added: XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/bugs.php =================================================================== --- XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/bugs.php (rev 0) +++ XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/bugs.php 2011-12-29 02:34:20 UTC (rev 8617) @@ -0,0 +1,6 @@ +<?php + + include dirname(__FILE__).'/header.php'; + include dirname(__FILE__).'/processes.php'; + +?> \ No newline at end of file Added: XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/cache.php =================================================================== --- XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/cache.php (rev 0) +++ XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/cache.php 2011-12-29 02:34:20 UTC (rev 8617) @@ -0,0 +1,6 @@ +<?php + + include dirname(__FILE__).'/header.php'; + include dirname(__FILE__).'/processes.php'; + +?> \ No newline at end of file Added: XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/chtml_ui.php =================================================================== --- XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/chtml_ui.php (rev 0) +++ XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/chtml_ui.php 2011-12-29 02:34:20 UTC (rev 8617) @@ -0,0 +1,6 @@ +<?php + + include dirname(__FILE__).'/header.php'; + include dirname(__FILE__).'/processes.php'; + +?> \ No newline at end of file Added: XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/css.php =================================================================== --- XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/css.php (rev 0) +++ XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/css.php 2011-12-29 02:34:20 UTC (rev 8617) @@ -0,0 +1,6 @@ +<?php + + include dirname(__FILE__).'/header.php'; + include dirname(__FILE__).'/processes.php'; + +?> \ No newline at end of file Added: XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/dashboard.php =================================================================== --- XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/dashboard.php (rev 0) +++ XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/dashboard.php 2011-12-29 02:34:20 UTC (rev 8617) @@ -0,0 +1,25 @@ +<?php + include ('header.php'); + + xoops_loadLanguage('forms', 'wurfl'); + $op = (isset($_REQUEST['op']))? $_REQUEST['op'] : "default"; + switch ($op) { + case "default": + default: + xoops_cp_header(); + wurfl_adminMenu(1, 'dashboard.php'); + $indexAdmin = new ModuleAdmin(); + $indexAdmin->addInfoBox(_WURFL_FRM_RECORDS); + foreach(array( 'devices', 'ajax', 'bearer', 'bugs', 'cache', 'chtml_ui', 'css', 'display', 'drm', 'flash_lite', 'image_format', + 'j2me', 'markup', 'mms', 'object_download', 'pdf', 'playback', 'product_info', 'rss', 'security', + 'sms', 'sound_format', 'storage', 'streaming', 'transcoding', 'wap_push', 'wml_ui', 'wta', 'xhtml_ui' ) as $class) { + $class_handler = xoops_getmodulehandler($class, 'wurfl'); + $indexAdmin->addInfoBoxLine(_WURFL_FRM_RECORDS, "<label>".defined('_WURFL_FRM_RECORDS_COUNT_'.strtoupper($class))?constant('_WURFL_FRM_RECORDS_COUNT_'.strtoupper($class)):'_WURFL_FRM_RECORDS_COUNT_'.strtoupper($class)."</label>", $class_handler->getCount(), ($class_handler->getCount()>0)?'Green':'Red'); + } + echo $indexAdmin->renderIndex(); + echo wurfl_footer_adminMenu(false); + xoops_cp_footer(); + break; + } + +?> \ No newline at end of file Added: XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/devices.php =================================================================== --- XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/devices.php (rev 0) +++ XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/devices.php 2011-12-29 02:34:20 UTC (rev 8617) @@ -0,0 +1,133 @@ +<?php + + require('header.php'); + + xoops_cp_header(); + + $op = isset($_REQUEST['op'])?$_REQUEST['op']:"devices"; + $fct = isset($_REQUEST['fct'])?$_REQUEST['fct']:"list"; + $limit = !empty($_REQUEST['limit'])?intval($_REQUEST['limit']):30; + $start = !empty($_REQUEST['start'])?intval($_REQUEST['start']):0; + $order = !empty($_REQUEST['order'])?$_REQUEST['order']:'ASC'; + $sort = !empty($_REQUEST['sort'])?''.$_REQUEST['sort'].'':'did'; + $filter = !empty($_REQUEST['filter'])?''.$_REQUEST['filter'].'':'1,1'; + + switch ($op) { + case "devices": + $op = 'devices'; + switch ($fct) + { + default: + case "list": + wurfl_adminMenu(2, 'devices.php'); + + include_once $GLOBALS['xoops']->path( "/class/pagenav.php" ); + + $devices_handler =& xoops_getmodulehandler('devices', 'wurfl'); + + $criteria = $devices_handler->getFilterCriteria($filter); + $ttl = $devices_handler->getCount($criteria); + $sort = !empty($_REQUEST['sort'])?''.$_REQUEST['sort'].'':'did'; + + $pagenav = new XoopsPageNav($ttl, $limit, $start, 'start', 'limit='.$limit.'&sort='.$sort.'&order='.$order.'&op='.$op.'&fct='.$fct.'&filter='.$filter.'&fct='.$fct.'&filter='.$filter); + $GLOBALS['xoopsTpl']->assign('pagenav', $pagenav->renderNav()); + + foreach (array( 'did','id','user_agent','fallback','manufacture','model','series') as $id => $key) { + $GLOBALS['xoopsTpl']->assign(strtolower(str_replace('-','_',$key).'_th'), '<a href="'.$_SERVER['PHP_SELF'].'?start='.$start.'&limit='.$limit.'&sort='.str_replace('_','-',$key).'&order='.((str_replace('_','-',$key)==$sort)?($order=='DESC'?'ASC':'DESC'):$order).'&op='.$op.'&filter='.$filter.'">'.(defined('_WURLF_AM_TH_'.strtoupper(str_replace('-','_',$key)))?constant('_WURLF_AM_TH_'.strtoupper(str_replace('-','_',$key))):'_WURLF_AM_TH_'.strtoupper(str_replace('-','_',$key))).'</a>'); + $GLOBALS['xoopsTpl']->assign('filter_'.strtolower(str_replace('-','_',$key)).'_th', $devices_handler->getFilterForm($filter, $key, $sort, $op, $fct)); + } + + $GLOBALS['xoopsTpl']->assign('limit', $limit); + $GLOBALS['xoopsTpl']->assign('start', $start); + $GLOBALS['xoopsTpl']->assign('order', $order); + $GLOBALS['xoopsTpl']->assign('sort', $sort); + $GLOBALS['xoopsTpl']->assign('filter', $filter); + $GLOBALS['xoopsTpl']->assign('xoConfig', $GLOBALS['wurflModuleConfig']); + + $criteria->setStart($start); + $criteria->setLimit($limit); + $criteria->setSort('`'.$sort.'`'); + $criteria->setOrder($order); + + $devicess = $devices_handler->getObjects($criteria, true); + foreach($devicess as $did => $devices) { + $GLOBALS['xoopsTpl']->append('devices', $devices->toArray()); + } + $GLOBALS['xoopsTpl']->assign('form', wurfl_devices_form(false)); + $GLOBALS['xoopsTpl']->assign('php_self', $_SERVER['PHP_SELF']); + $GLOBALS['xoopsTpl']->display('db:wurfl_cpanel_devices_list.html'); + break; + + case "new": + case "edit": + + wurfl_adminMenu(2, 'devices.php'); + + $devices_handler =& xoops_getmodulehandler('devices', 'wurfl'); + if (isset($_REQUEST['did'])) { + $devices = $devices_handler->get(intval($_REQUEST['did'])); + } else { + $devices = $devices_handler->create(); + } + + $GLOBALS['xoopsTpl']->assign('form', $devices->getForm()); + $GLOBALS['xoopsTpl']->assign('php_self', $_SERVER['PHP_SELF']); + $GLOBALS['xoopsTpl']->display('db:wurfl_cpanel_devices_edit.html'); + break; + case "save": + + $devices_handler =& xoops_getmodulehandler('devices', 'wurfl'); + $id=0; + if ($id=intval($_REQUEST['did'])) { + $devices = $devices_handler->get($id); + } else { + $devices = $devices_handler->create(); + } + $devices->setVars($_POST[$id]); + + if (!$id=$devices_handler->insert($devices)) { + redirect_header('devices.php?op='.$op.'&fct=list&limit='.$limit.'&start='.$start.'&order='.$order.'&sort='.$sort.'&filter='.$filter, 10, _WURFL_AM_MSG_DEVICES_FAILEDTOSAVE); + exit(0); + } else { + redirect_header('devices.php?op='.$op.'&fct=edit&did='.$id.'&limit='.$limit.'&start='.$start.'&order='.$order.'&sort='.$sort.'&filter='.$filter, 10, _WURFL_AM_MSG_DEVICES_SAVEDOKEY); + exit(0); + } + break; + case "savelist": + + $devices_handler =& xoops_getmodulehandler('devices', 'wurfl'); + foreach($_REQUEST['did'] as $id) { + $devices = $devices_handler->get($id); + $devices->setVars($_POST[$id]); + if (!$devices_handler->insert($devices)) { + redirect_header('devices.php?op='.$op.'&fct=list&limit='.$limit.'&start='.$start.'&order='.$order.'&sort='.$sort.'&filter='.$filter, 10, _WURFL_AM_MSG_DEVICES_FAILEDTOSAVE); + exit(0); + } + } + redirect_header('devices.php?op='.$op.'&fct=list&limit='.$limit.'&start='.$start.'&order='.$order.'&sort='.$sort.'&filter='.$filter, 10, _WURFL_AM_MSG_DEVICES_SAVEDOKEY); + exit(0); + break; + case "delete": + + $devices_handler =& xoops_getmodulehandler('devices', 'wurfl'); + $id=0; + if (isset($_POST['did'])&&$id=intval($_POST['did'])) { + $devices = $devices_handler->get($id); + if (!$devices_handler->delete($devices)) { + redirect_header('devices.php?op='.$op.'&fct=list&limit='.$limit.'&start='.$start.'&order='.$order.'&sort='.$sort.'&filter='.$filter, 10, _WURFL_AM_MSG_DEVICES_FAILEDTODELETE); + exit(0); + } else { + redirect_header('devices.php?op='.$op.'&fct=list&limit='.$limit.'&start='.$start.'&order='.$order.'&sort='.$sort.'&filter='.$filter, 10, _WURFL_AM_MSG_DEVICES_DELETED); + exit(0); + } + } else { + $devices = $devices_handler->get(intval($_REQUEST['did'])); + xoops_confirm(array('did'=>$_REQUEST['did'], 'op'=>$_REQUEST['op'], 'fct'=>$_REQUEST['fct'], 'limit'=>$_REQUEST['limit'], 'start'=>$_REQUEST['start'], 'order'=>$_REQUEST['order'], 'sort'=>$_REQUEST['sort'], 'filter'=>$_REQUEST['filter']), 'devices.php', sprintf(_WURFL_AM_MSG_DEVICES_DELETE, $devices->getTitle())); + } + break; + } + break; + } + + xoops_cp_footer(); +?> \ No newline at end of file Added: XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/display.php =================================================================== --- XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/display.php (rev 0) +++ XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/display.php 2011-12-29 02:34:20 UTC (rev 8617) @@ -0,0 +1,6 @@ +<?php + + include dirname(__FILE__).'/header.php'; + include dirname(__FILE__).'/processes.php'; + +?> \ No newline at end of file Added: XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/drm.php =================================================================== --- XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/drm.php (rev 0) +++ XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/drm.php 2011-12-29 02:34:20 UTC (rev 8617) @@ -0,0 +1,6 @@ +<?php + + include dirname(__FILE__).'/header.php'; + include dirname(__FILE__).'/processes.php'; + +?> \ No newline at end of file Added: XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/flash_lite.php =================================================================== --- XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/flash_lite.php (rev 0) +++ XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/flash_lite.php 2011-12-29 02:34:20 UTC (rev 8617) @@ -0,0 +1,6 @@ +<?php + + include dirname(__FILE__).'/header.php'; + include dirname(__FILE__).'/processes.php'; + +?> \ No newline at end of file Added: XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/header.php =================================================================== --- XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/header.php (rev 0) +++ XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/header.php 2011-12-29 02:34:20 UTC (rev 8617) @@ -0,0 +1,72 @@ +<?php + + require_once (dirname(dirname(dirname(dirname(__FILE__)))).'/include/cp_header.php'); + + if (!defined('_CHARSET')) + define ("_CHARSET","UTF-8"); + if (!defined('_CHARSET_ISO')) + define ("_CHARSET_ISO","ISO-8859-1"); + + $GLOBALS['myts'] = MyTextSanitizer::getInstance(); + + $module_handler = xoops_gethandler('module'); + $config_handler = xoops_gethandler('config'); + $GLOBALS['wurflModule'] = $module_handler->getByDirname('wurfl'); + $GLOBALS['wurflModuleConfig'] = $config_handler->getConfigList($GLOBALS['wurflModule']->getVar('mid')); + + xoops_load('pagenav'); + xoops_load('xoopslists'); + xoops_load('xoopsformloader'); + + include_once $GLOBALS['xoops']->path('class'.DS.'xoopsmailer.php'); + include_once $GLOBALS['xoops']->path('class'.DS.'xoopstree.php'); + + if ( file_exists($GLOBALS['xoops']->path('/Frameworks/moduleclasses/moduleadmin/moduleadmin.php'))){ + include_once $GLOBALS['xoops']->path('/Frameworks/moduleclasses/moduleadmin/moduleadmin.php'); + }else{ + echo xoops_error("Error: You don't use the Frameworks \"admin module\". Please install this Frameworks"); + } + + $GLOBALS['wurflImageIcon'] = XOOPS_URL .'/'. $GLOBALS['wurflModule']->getInfo('icons16'); + $GLOBALS['wurflImageAdmin'] = XOOPS_URL .'/'. $GLOBALS['wurflModule']->getInfo('icons32'); + + if ($GLOBALS['xoopsUser']) { + $moduleperm_handler =& xoops_gethandler('groupperm'); + if (!$moduleperm_handler->checkRight('module_admin', $GLOBALS['wurflModule']->getVar( 'mid' ), $GLOBALS['xoopsUser']->getGroups())) { + redirect_header(XOOPS_URL, 1, _NOPERM); + exit(); + } + } else { + redirect_header(XOOPS_URL . "/user.php", 1, _NOPERM); + exit(); + } + + if (!isset($GLOBALS['xoopsTpl']) || !is_object($GLOBALS['xoopsTpl'])) { + include_once(XOOPS_ROOT_PATH."/class/template.php"); + $GLOBALS['xoopsTpl'] = new XoopsTpl(); + } + + $GLOBALS['xoopsTpl']->assign('pathImageIcon', $GLOBALS['wurflImageIcon']); + $GLOBALS['xoopsTpl']->assign('pathImageAdmin', $GLOBALS['wurflImageAdmin']); + + include(dirname(dirname(__FILE__)).'/include/functions.php'); + + include(dirname(dirname(__FILE__)).'/include/form.objects.php'); + + include(dirname(dirname(__FILE__)).'/include/form.wurfl.php'); + + xoops_loadLanguage('admin', 'wurfl'); + xoops_loadLanguage('forms', 'wurfl'); + + $parts = explode('.', strtolower(basename($_SERVER['PHP_SELF']))); + unset($parts[sizeof($parts)-1]); + $GLOBALS['op'] = isset($_REQUEST['op'])?$_REQUEST['op']:implode('.', $parts); + $GLOBALS['fct'] = isset($_REQUEST['fct'])?$_REQUEST['fct']:"list"; + $GLOBALS['limit'] = !empty($_REQUEST['limit'])?intval($_REQUEST['limit']):30; + $GLOBALS['start'] = !empty($_REQUEST['start'])?intval($_REQUEST['start']):0; + $GLOBALS['order'] = !empty($_REQUEST['order'])?$_REQUEST['order']:'DESC'; + $GLOBALS['sort'] = !empty($_REQUEST['sort'])?''.$_REQUEST['sort'].'':'created'; + $GLOBALS['filter'] = !empty($_REQUEST['filter'])?''.$_REQUEST['filter'].'':'1,1'; + + +?> \ No newline at end of file Added: XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/image_format.php =================================================================== --- XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/image_format.php (rev 0) +++ XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/image_format.php 2011-12-29 02:34:20 UTC (rev 8617) @@ -0,0 +1,6 @@ +<?php + + include dirname(__FILE__).'/header.php'; + include dirname(__FILE__).'/processes.php'; + +?> \ No newline at end of file Added: XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/import.php =================================================================== --- XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/import.php (rev 0) +++ XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/import.php 2011-12-29 02:34:20 UTC (rev 8617) @@ -0,0 +1,188 @@ +<?php + ini_set('memory_limit', '256M'); + + require dirname(__FILE__).'/header.php'; + + xoops_cp_header(); + + $GLOBALS['op'] = isset($_REQUEST['op'])?(string)($_REQUEST['op']):'import'; + $GLOBALS['fct'] = isset($_REQUEST['fct'])?(string)($_REQUEST['fct']):'form'; + $linenum = isset($_REQUEST['linenum'])?intval($_REQUEST['linenum']):0; + $bytes = isset($_REQUEST['bytes'])?intval($_REQUEST['bytes']):0; + $xmlfile = isset($_REQUEST['xmlfile'])?(string)($_REQUEST['xmlfile']):''; + $rnum = isset($_REQUEST['rnum'])?(string)($_REQUEST['rnum']):0; + + switch ($GLOBALS['op']) { + default: + case 'import': + switch ($GLOBALS['fct']) { + case "go": + if ($linenum==0&&$rnum==0) { + + $tbl[1] = "wurfl_devices_xhtml_ui"; + $tbl[2] = "wurfl_devices_wta"; + $tbl[3] = "wurfl_devices_wml_ui"; + $tbl[4] = "wurfl_devices_wap_push"; + $tbl[5] = "wurfl_devices_transcoding"; + $tbl[6] = "wurfl_devices_streaming"; + $tbl[7] = "wurfl_devices_storage"; + $tbl[8] = "wurfl_devices_sound_format"; + $tbl[9] = "wurfl_devices_sms"; + $tbl[10] = "wurfl_devices_security"; + $tbl[11] = "wurfl_devices_rss"; + $tbl[12] = "wurfl_devices_product_info"; + $tbl[13] = "wurfl_devices_playback"; + $tbl[14] = "wurfl_devices_pdf"; + $tbl[15] = "wurfl_devices_rss"; + $tbl[16] = "wurfl_devices_object_download"; + $tbl[17] = "wurfl_devices_mms"; + $tbl[18] = "wurfl_devices_markup"; + $tbl[19] = "wurfl_devices_j2me"; + $tbl[20] = "wurfl_devices_image_format"; + $tbl[21] = "wurfl_devices_flash_lite"; + $tbl[22] = "wurfl_devices_drm"; + $tbl[23] = "wurfl_devices_display"; + $tbl[24] = "wurfl_devices_css"; + $tbl[25] = "wurfl_devices_chtml_ui"; + $tbl[26] = "wurfl_devices_cache"; + $tbl[27] = "wurfl_devices_bugs"; + $tbl[26] = "wurfl_devices_bearer"; + $tbl[27] = "wurfl_devices_ajax"; + $tbl[28] = "wurfl_devices"; + + foreach($tbl as $id => $table) + @$GLOBALS['xoopsDB']->queryF("TRUNCATE TABLES ".$GLOBALS['xoopsDB']->prefix($table)); + + } else { + + wurfl_adminMenu(3, 'import.php'); + $GLOBALS['xoopsTpl']->assign('line', $linenum); + $GLOBALS['xoopsTpl']->assign('redirect', $rnum); + $GLOBALS['xoopsTpl']->assign('file', $xmlfile); + $GLOBALS['xoopsTpl']->display('db:wurfl_cpanel_import_redirect.html'); + echo wurfl_footer_adminMenu(false); + xoops_cp_footer(); + + } + + set_time_limit(3600); + $timer['start'] = time(); + if (file_exists($xmlfile)) { + $handle = @fopen($xmlfile, "r"); + if ($handle) { + if ($linenum>0) { + for($ii=0;$i<$linenum;$ii++) { + if (!feof($handle)) { + $skip = fgets($handle, 4096); + } + } + } + while (!feof($handle)) { + if (time()-$timer['start']>2400) { + $rnum++; + redirect_header("import.php?op=$op&fct=go&xmlfile=".urlencode($xmlfile)."&bytes=$bytes&linenum=$linenum&rnum=$rnum", 3, sprintf(_WURFL_AM_TIMEREDIRECT, $linenum, $rnum)); + exit(0); + } + + $buffer = fgets($handle, 4096); + $linenum++; + if (strpos(' '.$buffer, '<device ')>0) + $device = array(0=>'<?xml version="1.0" encoding="UTF-8"?>', + 1=>'<wurlf>'); + $device[] = $buffer; + if (strpos(' '.$buffer, '</device>')>0) + { + $device[] = '</wurlf>'; + $bytes += strlen(implode("\n",$device)); + $xml = wurfl_xml2array(implode("\n",$device), 1, 'tag'); + foreach($xml as $key => $ele) { + switch($ele['tag']) { + case "device": + if ($ele['type']=='open'){ + $deviceHandler =& xoops_getmodulehandler('devices', 'wurfl'); + $wdevice = $deviceHandler->create(); + foreach($ele['attributes'] as $field => $value) + $wdevice->setVar($field, $value); + $did = $deviceHandler->insert($wdevice); + } + break; + case "group": + if ($ele['type']=='open'){ + if (file_exists(XOOPS_ROOT_PATH."/modules/wurfl/class/".$ele['attributes']['id'].".php")) { + $skip_group = false; + $groupHandler =& xoops_getmodulehandler($ele['attributes']['id'], 'wurfl'); + $group = $groupHandler->create(); + $group->setVar('did', $did); + } else { + $skip_group = true; + } + } else { + if ($skip_group==false) { + $groupHandler->insert($group); + unset($group); + unset($groupHandler); + } + } + break; + case "capability": + if ($ele['type']=='complete'&&$skip_group==false){ + if (is_numeric($ele['attributes']['value'])) + $value = intval($ele['attributes']['value']); + elseif ($ele['attributes']['value']=='true') + $value = true; + elseif ($ele['attributes']['value']=='false') + $value = false; + else + $value = $ele['attributes']['value']; + + $group->setVar($ele['attributes']['name'], $value); + } + break; + } + } + } + } + fclose($handle); + } + redirect_header("import.php?op=$op&fct=finished&xmlfile=".urlencode($xmlfile)."&linenum=$linenum&rnum=$rnum&bytes=$bytes", 3, sprintf(_WURFL_AM_TIMEREDIRECT, $linenum, $rnum)); + } else + redirect_header("import.php?op=$op&fct=error&xmlfile=".urlencode($xmlfile), 10, _WURFL_AM_FILENOTFOUND); + break; + case 'finished': + wurfl_adminMenu(3, 'import.php'); + $GLOBALS['xoopsTpl']->assign('lines', number_format($linenum,0)); + $GLOBALS['xoopsTpl']->assign('bytes', number_format($bytes,0)); + $GLOBALS['xoopsTpl']->assign('redirects', $rnum); + $GLOBALS['xoopsTpl']->assign('file', $xmlfile); + $devices_handler = xoops_getmodulehandler('devices', 'wurfl'); + $GLOBALS['xoopsTpl']->assign('devices', $devices_handler->getCount(NULL)); + $GLOBALS['xoopsTpl']->display('db:wurfl_cpanel_import_finished.html'); + break; + + case 'error': + wurfl_adminMenu(3, 'import.php'); + $GLOBALS['xoopsTpl']->assign('file', $xmlfile); + $GLOBALS['xoopsTpl']->assign('file_exist', file_exists($xmlfile)); + $GLOBALS['xoopsTpl']->assign('xml_parser', function_exists('xml_parser_create')); + $GLOBALS['xoopsTpl']->display('db:wurfl_cpanel_import_errors.html'); + break; + + case 'list': + default: + if (!function_exists('xml_parser_create')) { + redirect_header("import.php?op=$op&fct=error", 10, _WURFL_AM_XMLPARSER_NOTFOUND); + exit; + } + wurfl_adminMenu(3, 'import.php'); + $GLOBALS['xoopsTpl']->assign('form', wurfl_form_import_xml()); + $GLOBALS['xoopsTpl']->display('db:wurfl_cpanel_import.html'); + break; + + } + + break; + } + echo wurfl_footer_adminMenu(false); + xoops_cp_footer(); +?> + Added: XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/index.html =================================================================== --- XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/index.html (rev 0) +++ XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/index.html 2011-12-29 02:34:20 UTC (rev 8617) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/j2me.php =================================================================== --- XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/j2me.php (rev 0) +++ XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/j2me.php 2011-12-29 02:34:20 UTC (rev 8617) @@ -0,0 +1,6 @@ +<?php + + include dirname(__FILE__).'/header.php'; + include dirname(__FILE__).'/processes.php'; + +?> \ No newline at end of file Added: XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/markup.php =================================================================== --- XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/markup.php (rev 0) +++ XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/markup.php 2011-12-29 02:34:20 UTC (rev 8617) @@ -0,0 +1,6 @@ +<?php + + include dirname(__FILE__).'/header.php'; + include dirname(__FILE__).'/processes.php'; + +?> \ No newline at end of file Added: XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/menu.php =================================================================== --- XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/menu.php (rev 0) +++ XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/menu.php 2011-12-29 02:34:20 UTC (rev 8617) @@ -0,0 +1,28 @@ +<?php +if (!defined('XOOPS_ROOT_PATH')) { exit(); } + +$module_handler = xoops_gethandler('module'); +$GLOBALS['wurflModule'] = $module_handler->getByDirname('wurfl'); +global $adminmenu; +$adminmenu = array(); +$adminmenu[1]= array("link" => "admin/dashboard.php", + "title" => _WURFL_MI_DASHBOARD, + "icon" => "../../".$GLOBALS['wurflModule']->getInfo('icons32')."/home.png", + "image" => "../../".$GLOBALS['wurflModule']->getInfo('icons32')."/home.png"); + +$adminmenu[2]= array("link" => "admin/devices.php", + "title" => _WURFL_MI_DEVICES, + "icon" => "../../".$GLOBALS['wurflModule']->getInfo('icons32')."/wurfl.devices.png", + "image" => "../../".$GLOBALS['wurflModule']->getInfo('icons32')."/wurfl.devices.png"); + +$adminmenu[3]= array("link" => "admin/import.php", + "title" => _WURFL_MI_IMPORTXML, + "icon" => "../../".$GLOBALS['wurflModule']->getInfo('icons32')."/wurfl.import.png", + "image" => "../../".$GLOBALS['wurflModule']->getInfo('icons32')."/wurfl.import.png"); + +$adminmenu[4]= array("link" => "admin/about.php", + "title" => _WURFL_MI_ABOUT, + "icon" => "../../".$GLOBALS['wurflModule']->getInfo('icons32')."/about.png", + "image" => "../../".$GLOBALS['wurflModule']->getInfo('icons32')."/about.png"); + +?> \ No newline at end of file Added: XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/mms.php =================================================================== --- XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/mms.php (rev 0) +++ XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/mms.php 2011-12-29 02:34:20 UTC (rev 8617) @@ -0,0 +1,6 @@ +<?php + + include dirname(__FILE__).'/header.php'; + include dirname(__FILE__).'/processes.php'; + +?> \ No newline at end of file Added: XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/object_download.php =================================================================== --- XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/object_download.php (rev 0) +++ XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/object_download.php 2011-12-29 02:34:20 UTC (rev 8617) @@ -0,0 +1,6 @@ +<?php + + include dirname(__FILE__).'/header.php'; + include dirname(__FILE__).'/processes.php'; + +?> \ No newline at end of file Added: XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/pdf.php =================================================================== --- XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/pdf.php (rev 0) +++ XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/pdf.php 2011-12-29 02:34:20 UTC (rev 8617) @@ -0,0 +1,6 @@ +<?php + + include dirname(__FILE__).'/header.php'; + include dirname(__FILE__).'/processes.php'; + +?> \ No newline at end of file Added: XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/playback.php =================================================================== --- XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/playback.php (rev 0) +++ XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/playback.php 2011-12-29 02:34:20 UTC (rev 8617) @@ -0,0 +1,6 @@ +<?php + + include dirname(__FILE__).'/header.php'; + include dirname(__FILE__).'/processes.php'; + +?> \ No newline at end of file Added: XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/processes.php =================================================================== --- XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/processes.php (rev 0) +++ XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/processes.php 2011-12-29 02:34:20 UTC (rev 8617) @@ -0,0 +1,54 @@ +<?php + + if (!defined('XOOPS_ROOT_PATH')) die(_NOPERM); + + if (!in_array($GLOBALS['op'], array( 'ajax', 'bearer', 'bugs', 'cache', 'chtml_ui', 'css', 'display', 'drm', 'flash_lite', 'image_format', + 'j2me', 'markup', 'mms', 'object_download', 'pdf', 'playback', 'product_info', 'rss', 'security', + 'sms', 'sound_format', 'storage', 'streaming', 'transcoding', 'wap_push', 'wml_ui', 'wta', 'xhtml_ui' ))) { + redirect_header('dashboard.php', 10, _NOPERM); + exit; + } + + $handler = xoops_getmodulehandler($GLOBALS['op'], 'wurfl'); + switch($GLOBALS['fct']) { + case 'list': + $object = $handler->get($_REQUEST['did']); + xoops_cp_header(); + wurfl_adminMenu(3, 'devices.php'); + $GLOBALS['xoopsTpl']->assign('form', wurfl_form_general($object, $GLOBALS['op'], false)); + $GLOBALS['xoopsTpl']->display('db:wurfl_cpanel_list_'.$GLOBALS['op'].'.html'); + echo wurfl_footer_adminMenu(false); + xoops_cp_footer(); + exit; + break; + case 'create': + $object = $handler->create(); + xoops_cp_header(); + wurfl_adminMenu(3, 'devices.php'); + $GLOBALS['xoopsTpl']->assign('form', wurfl_form_general($object, $GLOBALS['op'], true)); + $GLOBALS['xoopsTpl']->display('db:wurfl_cpanel_create_'.$GLOBALS['op'].'.html'); + echo wurfl_footer_adminMenu(false); + xoops_cp_footer(); + exit; + break; + case 'new': + $object = $handler->create(); + $object->setVars($_POST); + if ($handler->insert($object)) { + redirect_header('devices.php?limit='.$_REQUEST['limit']."&start=".$_REQUEST['start']."&sort=".$_REQUEST['sort']."&order=".$_REQUEST['order']."&filter=".$_REQUEST['filter'], 10, _WURFL_AM_MSG_CREATEWENTOK); + } else { + redirect_header('devices.php?limit='.$_REQUEST['limit']."&start=".$_REQUEST['start']."&sort=".$_REQUEST['sort']."&order=".$_REQUEST['order']."&filter=".$_REQUEST['filter'], 10, _WURFL_AM_MSG_CREATEFAILED); + } + exit; + case 'save': + $object = $handler->get($_REQUEST['did']); + $object->setVars($_POST); + if ($handler->insert($object)) { + redirect_header('devices.php?limit='.$_REQUEST['limit']."&start=".$_REQUEST['start']."&sort=".$_REQUEST['sort']."&order=".$_REQUEST['order']."&filter=".$_REQUEST['filter'], 10, _WURFL_AM_MSG_SAVEWENTOK); + } else { + redirect_header('devices.php?limit='.$_REQUEST['limit']."&start=".$_REQUEST['start']."&sort=".$_REQUEST['sort']."&order=".$_REQUEST['order']."&filter=".$_REQUEST['filter'], 10, _WURFL_AM_MSG_SAVEFAILED); + } + exit; + } + +?> \ No newline at end of file Added: XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/product_info.php =================================================================== --- XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/product_info.php (rev 0) +++ XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/product_info.php 2011-12-29 02:34:20 UTC (rev 8617) @@ -0,0 +1,6 @@ +<?php + + include dirname(__FILE__).'/header.php'; + include dirname(__FILE__).'/processes.php'; + +?> \ No newline at end of file Added: XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/rss.php =================================================================== --- XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/rss.php (rev 0) +++ XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/rss.php 2011-12-29 02:34:20 UTC (rev 8617) @@ -0,0 +1,6 @@ +<?php + + include dirname(__FILE__).'/header.php'; + include dirname(__FILE__).'/processes.php'; + +?> \ No newline at end of file Added: XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/security.php =================================================================== --- XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/security.php (rev 0) +++ XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/security.php 2011-12-29 02:34:20 UTC (rev 8617) @@ -0,0 +1,6 @@ +<?php + + include dirname(__FILE__).'/header.php'; + include dirname(__FILE__).'/processes.php'; + +?> \ No newline at end of file Added: XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/sms.php =================================================================== --- XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/sms.php (rev 0) +++ XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/sms.php 2011-12-29 02:34:20 UTC (rev 8617) @@ -0,0 +1,6 @@ +<?php + + include dirname(__FILE__).'/header.php'; + include dirname(__FILE__).'/processes.php'; + +?> \ No newline at end of file Added: XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/sound_format.php =================================================================== --- XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/sound_format.php (rev 0) +++ XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/sound_format.php 2011-12-29 02:34:20 UTC (rev 8617) @@ -0,0 +1,6 @@ +<?php + + include dirname(__FILE__).'/header.php'; + include dirname(__FILE__).'/processes.php'; + +?> \ No newline at end of file Added: XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/storage.php =================================================================== --- XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/storage.php (rev 0) +++ XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/storage.php 2011-12-29 02:34:20 UTC (rev 8617) @@ -0,0 +1,6 @@ +<?php + + include dirname(__FILE__).'/header.php'; + include dirname(__FILE__).'/processes.php'; + +?> \ No newline at end of file Added: XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/streaming.php =================================================================== --- XoopsModules/wurfl/releases/2.01/htdocs/modules/wurfl/admin/streaming.php (rev 0) +++ XoopsModules/wurfl/releases/2.01/htdocs/modules/... [truncated message content] |