plugins/daily/weblog-blogid.php 1 location
|
@@ 56-65 (lines=10) @@
|
53 |
|
if (!defined('_WEBLOG_COMMON_FUNCTIONS')) { |
54 |
|
require_once sprintf('%s/modules/%s/config.php', XOOPS_ROOT_PATH, $plugin['dirname']); |
55 |
|
} |
56 |
|
if (function_exists('weblog_create_permissionsql')) { |
57 |
|
// get weblog config values |
58 |
|
$moduleHandler = xoops_getHandler('module'); |
59 |
|
$weblogmodule_configHandler = xoops_getHandler('config'); |
60 |
|
$mod_weblog = $moduleHandler->getByDirname($plugin['dirname']); |
61 |
|
$weblog_config = $weblogmodule_configHandler->getConfigList($mod_weblog->mid()); |
62 |
|
list($bl_contents_field, $add_whr) = weblog_create_permissionsql($weblog_config); |
63 |
|
} else { |
64 |
|
$add_whr = ''; |
65 |
|
} |
66 |
|
|
67 |
|
// query (added 86400 second margin "begin" & "end") |
68 |
|
$weblog_minical_sql = 'SELECT title,blog_id,`created` FROM ' |
plugins/daily/weblog-date.php 1 location
|
@@ 56-64 (lines=9) @@
|
53 |
|
if (!defined('_WEBLOG_COMMON_FUNCTIONS')) { |
54 |
|
require_once sprintf('%s/modules/%s/config.php', XOOPS_ROOT_PATH, $plugin['dirname']); |
55 |
|
} |
56 |
|
if (function_exists('weblog_create_permissionsql')) { |
57 |
|
$moduleHandler = xoops_getHandler('module'); |
58 |
|
$weblogmodule_configHandler = xoops_getHandler('config'); |
59 |
|
$mod_weblog = $moduleHandler->getByDirname($plugin['dirname']); |
60 |
|
$weblog_config = $weblogmodule_configHandler->getConfigList($mod_weblog->mid()); |
61 |
|
list($bl_contents_field, $add_whr) = weblog_create_permissionsql($weblog_config); |
62 |
|
} else { |
63 |
|
$add_whr = ''; |
64 |
|
} |
65 |
|
|
66 |
|
// query (added 86400 second margin "begin" & "end") |
67 |
|
$weblog_minical_sql = 'SELECT title,blog_id,`created`,count(blog_id) FROM ' |
plugins/monthly/weblog-blogid.php 1 location
|
@@ 56-64 (lines=9) @@
|
53 |
|
if (!defined('_WEBLOG_COMMON_FUNCTIONS')) { |
54 |
|
require_once sprintf('%s/modules/%s/config.php', XOOPS_ROOT_PATH, $plugin['dirname']); |
55 |
|
} |
56 |
|
if (function_exists('weblog_create_permissionsql')) { |
57 |
|
$moduleHandler = xoops_getHandler('module'); |
58 |
|
$weblogmodule_configHandler = xoops_getHandler('config'); |
59 |
|
$mod_weblog = $moduleHandler->getByDirname($plugin['dirname']); |
60 |
|
$weblog_config = $weblogmodule_configHandler->getConfigList($mod_weblog->mid()); |
61 |
|
list($bl_contents_field, $add_whr) = weblog_create_permissionsql($weblog_config); |
62 |
|
} else { |
63 |
|
$add_whr = ''; |
64 |
|
} |
65 |
|
|
66 |
|
// query (added 86400 second margin "begin" & "end") |
67 |
|
$weblog_minical_sql = 'SELECT title,blog_id,`created` FROM ' |
plugins/monthly/weblog-date.php 1 location
|
@@ 56-64 (lines=9) @@
|
53 |
|
if (!defined('_WEBLOG_COMMON_FUNCTIONS')) { |
54 |
|
require_once sprintf('%s/modules/%s/config.php', XOOPS_ROOT_PATH, $plugin['dirname']); |
55 |
|
} |
56 |
|
if (function_exists('weblog_create_permissionsql')) { |
57 |
|
$moduleHandler = xoops_getHandler('module'); |
58 |
|
$weblogmodule_configHandler = xoops_getHandler('config'); |
59 |
|
$mod_weblog = $moduleHandler->getByDirname($plugin['dirname']); |
60 |
|
$weblog_config = $weblogmodule_configHandler->getConfigList($mod_weblog->mid()); |
61 |
|
list($bl_contents_field, $add_whr) = weblog_create_permissionsql($weblog_config); |
62 |
|
} else { |
63 |
|
$add_whr = ''; |
64 |
|
} |
65 |
|
|
66 |
|
// query (added 86400 second margin "begin" & "end") |
67 |
|
$weblog_minical_sql = 'SELECT title,blog_id,`created`,count(blog_id) FROM ' |
plugins/weekly/weblog-blogid.php 1 location
|
@@ 56-65 (lines=10) @@
|
53 |
|
if (!defined('_WEBLOG_COMMON_FUNCTIONS')) { |
54 |
|
require_once sprintf('%s/modules/%s/config.php', XOOPS_ROOT_PATH, $plugin['dirname']); |
55 |
|
} |
56 |
|
if (function_exists('weblog_create_permissionsql')) { |
57 |
|
// get weblog config values |
58 |
|
$moduleHandler = xoops_getHandler('module'); |
59 |
|
$weblogmodule_configHandler = xoops_getHandler('config'); |
60 |
|
$mod_weblog = $moduleHandler->getByDirname($plugin['dirname']); |
61 |
|
$weblog_config = $weblogmodule_configHandler->getConfigList($mod_weblog->mid()); |
62 |
|
list($bl_contents_field, $add_whr) = weblog_create_permissionsql($weblog_config); |
63 |
|
} else { |
64 |
|
$add_whr = ''; |
65 |
|
} |
66 |
|
|
67 |
|
// query (added 86400 second margin "begin" & "end") |
68 |
|
$weblog_minical_sql = 'SELECT title,blog_id,`created` FROM ' |
plugins/weekly/weblog-date.php 1 location
|
@@ 57-65 (lines=9) @@
|
54 |
|
if (!defined('_WEBLOG_COMMON_FUNCTIONS')) { |
55 |
|
require_once sprintf('%s/modules/%s/config.php', XOOPS_ROOT_PATH, $plugin['dirname']); |
56 |
|
} |
57 |
|
if (function_exists('weblog_create_permissionsql')) { |
58 |
|
$moduleHandler = xoops_getHandler('module'); |
59 |
|
$weblogmodule_configHandler = xoops_getHandler('config'); |
60 |
|
$mod_weblog = $moduleHandler->getByDirname($plugin['dirname']); |
61 |
|
$weblog_config = $weblogmodule_configHandler->getConfigList($mod_weblog->mid()); |
62 |
|
list($bl_contents_field, $add_whr) = weblog_create_permissionsql($weblog_config); |
63 |
|
} else { |
64 |
|
$add_whr = ''; |
65 |
|
} |
66 |
|
|
67 |
|
// query (added 86400 second margin "begin" & "end") |
68 |
|
$weblog_minical_sql = 'SELECT title,blog_id,`created`,count(blog_id) FROM ' |