gen($query)) { while($row = $sql->fetch()) { $items[] = array( 'title' => varset($row['blank_title']), 'url' => e107::url('other',$row), // '{e_BASE}news.php?extend.'.$row['news_id'], 'summary' => varset($row['blank_summary']), 'image' => '{e_PLUGIN}_blank/images/image.png' ); } return $items; } elseif(ADMIN) { // return array(array('title'=>$query,'url'=>'')); } } } ?>