foreach($this->_listmodule as $m){
$order++;
$secid = $m->id;
$mid[] = $secid;
//print_r($this->_sectionparams->toString());exit();
if(!isset($this->_listmenu[$secid])){
$query = "INSERT INTO #__menu (`menutype`, `name`, `link`, `type`, `published`, `parent`, `componentid`, `sublevel`, `ordering`, `checked_out`, `checked_out_time`, `pollid`, `browserNav`, `access`, `utaccess`, `params`) VALUES ";
$query .= "('{$this->_menutype}', '".$m->title."', 'index.php?option=com_alphacontent§ion=".$secid."', 'content_blog_section', ".$m->published.", 0, $secid, 0, $order, 0, '0000-00-00 00:00:00', 0, 0, 0, 3, '".$this->_sectionparams->toString().$this->_gparams->toString()."\nsectionid=$secid')";
$this->_db->setQuery($query);
$this->_db->query();
$insertid = $this->_db->insertid();
$listcategories = $this->getCategories($secid);
Time to create page: 0.064 seconds