mirror of
https://github.com/e107inc/e107.git
synced 2025-08-22 14:13:03 +02:00
Expanding the plugin-builder to generate addons. (work-in-progress)
This commit is contained in:
@@ -42,9 +42,9 @@ class news_featurebox // include plugin-folder in the name.
|
||||
$nobody_regexp = "'(^|,)(".str_replace(",", "|", e_UC_NOBODY).")(,|$)'";
|
||||
$query = "SELECT * FROM #news WHERE news_class REGEXP '".e_CLASS_REGEXP."' AND NOT (news_class REGEXP ".$nobody_regexp.") AND FIND_IN_SET(5,news_render_type) ORDER BY news_datestamp DESC LIMIT 10";
|
||||
|
||||
if($sql->db_Select_gen($query))
|
||||
if($sql->gen($query))
|
||||
{
|
||||
while($row = $sql->db_Fetch())
|
||||
while($row = $sql->fetch())
|
||||
{
|
||||
$fbox[] = array(
|
||||
'title' => $row['news_title'],
|
||||
|
Reference in New Issue
Block a user