<?php
include XOOPS_ROOT_PATH.'/modules/neothemesadmin/language/settings.php';

$modversion = array();

//---模組基本資訊---//
$modversion['name'] = _MI_NEODWADMIN_VERSIONPHP01;   //Neodw佈景管理模組
$modversion['version'] = _MA_NEODWADMIN_MODULESVERSION;
$modversion['description'] = _MI_NEODWADMIN_VERSIONPHP02;
$modversion['author'] = _MI_NEODWADMIN_VERSIONPHP03;
$modversion['help'] = 'page=help';
$modversion['license'] = 'GNU GPL 2.0';
$modversion['license_url'] = 'www.gnu.org/licenses/gpl-2.0.html/';
$modversion['image'] = "images/logo.png";
$modversion['dirname'] = basename(dirname(__FILE__));

//---模組狀態資訊---//
$modversion['release_date'] = '2018/9/10';
$modversion['module_website_url'] = 'http://neodw.com/neil/';
$modversion['module_website_name'] = _MI_NEODWADMIN_VERSIONPHP04;
$modversion['module_status'] = 'release';
$modversion['author_website_url'] = '';
$modversion['author_website_name'] = _MI_NEODWADMIN_VERSIONPHP04;
$modversion['min_php']=_MA_NEODWADMIN_MIN_PHP;
$modversion['min_xoops']=_MA_NEODWADMIN_MIN_XOOPS;	

//---後台使用系統選單---//
$modversion['system_menu'] = 0;

//---自動執行設定---//
$modversion['onUpdate'] = "include/onUpdate.php";
$modversion['onInstall']= "include/onInstall.php";
$modversion['onUninstall']= "include/onUninstall.php";

//---搜尋---//
/*$modversion['hasSearch'] = 1;
$modversion['search']['file'] = "include/search.php";
$modversion['search']['func'] = "neothemesadmin_search";
*/

//---模組資料表架構---//
$modversion['sqlfile']['mysql'] = 'sql/mysql.sql';
$modversion['tables'][1]        = "neothemesconfig";
$modversion['tables'][2]        = "neothemeskeyword";
$modversion['tables'][3]        = "neothemesmarquee";
$modversion['tables'][4]        = "neothemesflash";
$modversion['tables'][5]        = "neothemesmenu";
$modversion['tables'][6]        = "neorightmenu";
$modversion['tables'][7]        = "neoblockmenusort";
$modversion['tables'][8]        = "neoblockmenubutton";
$modversion['tables'][9]        = "neocontactusform";
$modversion['tables'][10]       = "neilrandomidiom";
$modversion['tables'][11]       = "neilblocksicon";
$modversion['tables'][12]       = "neil_address";
$modversion['tables'][13]       = "neil_textblock";
$modversion['tables'][14]       = "neil_popupads";
$modversion['tables'][15]       = "neil_lowerrightad";
$modversion['tables'][16]       = "neil_digitalad";


//---管理介面設定---//
$modversion['hasAdmin'] = 1;
$modversion['adminindex'] = "admin/index.php";
$modversion['adminmenu'] = "admin/menu.php";

//---前台主選單設定---//
$modversion['hasMain'] = 1;

//---樣板設定---//
$modversion['templates'] = array();
$i=0;
$modversion['templates'][$i]['file'] = 'contactusform.tpl';
$modversion['templates'][$i]['description'] = _MI_CONTACTUSFORM;


//---偏好設定---//
$modversion['blocks'] = array();
$i=1;

/*=================按鈕區塊====================*/
$modversion['blocks'][$i]['file']        = "neoblockmenubutton.php";
$modversion['blocks'][$i]['name']        = _MI_NEODWADMIN_MENUBLOCKS;
$modversion['blocks'][$i]['description'] = _MI_NEODWADMIN_MENUBLOCKS1;
$modversion['blocks'][$i]['show_func']   = "neoblockmenubutton_block_show";
$modversion['blocks'][$i]['template']    = "neoblockmenubutton.tpl";
$modversion['blocks'][$i]['edit_func']   = "neoblockmenubutton_block_edit";
$modversion['blocks'][$i]['options']     = "0|20|0|0|0|1,2";
$i++;



/*=================多層按鈕區塊====================*/
$modversion['blocks'][$i]['file']        = "neoblockmenulayers.php";
$modversion['blocks'][$i]['name']        = _MI_NEOBLOCKMENULAYERS;
$modversion['blocks'][$i]['description'] = _MI_NEOBLOCKMENULAYERS1;
$modversion['blocks'][$i]['show_func']   = "neoblockmenulayers_block_show";
$modversion['blocks'][$i]['template']    = "neoblockmenulayers.tpl";
$modversion['blocks'][$i]['edit_func']   = "neoblockmenulayers_block_edit";
$modversion['blocks'][$i]['options']     = "20|10|0|0|0|1,2";
$i++;

/*============警示區塊===================*/
$modversion['blocks'][$i]['file']        = "alertsncdr.php";
$modversion['blocks'][$i]['name']        = _MI_ALERTSNCDR;
$modversion['blocks'][$i]['description'] = _MI_ALERTSNCDR1;
$modversion['blocks'][$i]['show_func']   = "alertsncdr_block_show";
$modversion['blocks'][$i]['template']    = "alertsncdr.tpl";
$modversion['blocks'][$i]['edit_func']   = "alertsncdr_block_edit";
$modversion['blocks'][$i]['options']     = "0|0||282|380|538|800|1";
$i++;

/*============左右移動圖片按鈕區塊===================*/
$modversion['blocks'][$i]['file']        = "picturemove.php";
$modversion['blocks'][$i]['name']        = _MI_PICTUREMOVEPHP01;
$modversion['blocks'][$i]['description'] = _MI_PICTUREMOVEPHP02;
$modversion['blocks'][$i]['show_func']   = "picturemove_block_show";
$modversion['blocks'][$i]['template']    = "picturemove.tpl";
$modversion['blocks'][$i]['edit_func']   = "picturemove_block_edit";
$modversion['blocks'][$i]['options']     = "0|20|0|0|4|2";
$i++;





/*============線上諮詢區塊===================*/
$modversion['blocks'][$i]['file']        = "onlineconsultation.php";
$modversion['blocks'][$i]['name']        = _MI_ONLINECONSULTATION01;
$modversion['blocks'][$i]['description'] = _MI_ONLINECONSULTATION02;
$modversion['blocks'][$i]['show_func']   = "onlineconsultation_block_show";
$modversion['blocks'][$i]['template']    = "onlineconsultation.tpl";
$modversion['blocks'][$i]['edit_func']   = "onlineconsultation_block_edit";
$modversion['blocks'][$i]['options']     = '0';
$i++;



/*============隨機小語區塊===================*/
$modversion['blocks'][$i]['file']        = "randomidiom.php";
$modversion['blocks'][$i]['name']        = _MI_NEILRANDOMIDIOM01;
$modversion['blocks'][$i]['description'] = _MI_NEILRANDOMIDIOM02;
$modversion['blocks'][$i]['show_func']   = "randomidiom_block_show";
$modversion['blocks'][$i]['template']    = "randomidiom.tpl";
$modversion['blocks'][$i]['edit_func']   = "randomidiom_block_edit";
$modversion['blocks'][$i]['options']     = "5000|10|0|282|380|538|600|1,2";
$i++;



/*============關於我們區塊===================*/
$modversion['blocks'][$i]['file']        = "neilaboutusbox.php";
$modversion['blocks'][$i]['name']        = _MI_NEILABOUTUSBOX01;
$modversion['blocks'][$i]['description'] = _MI_NEILABOUTUSBOX02;
$modversion['blocks'][$i]['show_func']   = "neilaboutusbox_block_show";
$modversion['blocks'][$i]['template']    = "neilaboutusbox.tpl";
$modversion['blocks'][$i]['edit_func']   = "neilaboutusbox_block_edit";
$modversion['blocks'][$i]['options']     = "|0||1,2";
$i++;




/*============網站QRcode區塊===================*/
$modversion['blocks'][$i]['file']        = "neilqrcodebox.php";
$modversion['blocks'][$i]['name']        = _MI_NEILQRCODEBOX01;
$modversion['blocks'][$i]['description'] = _MI_NEILQRCODEBOX02;
$modversion['blocks'][$i]['show_func']   = "neilqrcodebox_block_show";
$modversion['blocks'][$i]['template']    = "neilqrcodebox.tpl";
$modversion['blocks'][$i]['edit_func']   = "neilqrcodebox_block_edit";
$modversion['blocks'][$i]['options']     = "1,2";
$i++;


/*===========全國據點區塊===================*/
$modversion['blocks'][$i]['file']        = "neiladdress.php";
$modversion['blocks'][$i]['name']        = _MI_NEILNEILADDRESS01;
$modversion['blocks'][$i]['description'] = _MI_NEILNEILADDRESS02;
$modversion['blocks'][$i]['show_func']   = "neiladdress_block_show";
$modversion['blocks'][$i]['template']    = "neiladdress.tpl";
$modversion['blocks'][$i]['edit_func']   = "neiladdress_block_edit";
$modversion['blocks'][$i]['options']     = "8";
$i++;


/*===========簡介區塊===================*/
$modversion['blocks'][$i]['file']        = "neiltextblock.php";
$modversion['blocks'][$i]['name']        = _MI_NEIL_NEILTEXTBLOCK01;
$modversion['blocks'][$i]['description'] = _MI_NEIL_NEILTEXTBLOCK02;
$modversion['blocks'][$i]['show_func']   = "neiltextblock_block_show";
$modversion['blocks'][$i]['template']    = "neiltextblock.tpl";
$modversion['blocks'][$i]['edit_func']   = "neiltextblock_block_edit";
$modversion['blocks'][$i]['options']     = "3|0|";
$i++;


/*===========數字廣告區塊===================*/
$modversion['blocks'][$i]['file']        = "neildgblock.php";
$modversion['blocks'][$i]['name']        = _MI_NEIL_DIGITAL_BLOCK01;
$modversion['blocks'][$i]['description'] = _MI_NEIL_DIGITAL_BLOCK02;
$modversion['blocks'][$i]['show_func']   = "neildgblock_block_show";
$modversion['blocks'][$i]['template']    = "neildgblock.tpl";
$modversion['blocks'][$i]['edit_func']   = "neildgblock_block_edit";
$modversion['blocks'][$i]['options']     = "4|0|4|1,2|10|5"; //數量/顯示方式/橫列數量/顯示裝置/值增量/總秒數
$i++;


/*===========區塊撥放器===================*/
$modversion['blocks'][$i]['file']        = "neilplayerblock.php";
$modversion['blocks'][$i]['name']        = _MI_NEIL_PLAYER_BLOCK01;
$modversion['blocks'][$i]['description'] = _MI_NEIL_PLAYER_BLOCK02;
$modversion['blocks'][$i]['show_func']   = "neilplayer_block_show";
$modversion['blocks'][$i]['template']    = "neilplayerblock.tpl";
$modversion['blocks'][$i]['edit_func']   = "neilplayer_block_edit";
$modversion['blocks'][$i]['options']     = "10|0|horizontal|400,200|5000|1"; //數量/顯示方式/播放效果/顯示裝置/高度/秒數/自動撥放
$i++;


/*===========顯示裝置自訂區塊===================*/
$modversion['blocks'][$i]['file']        = "neilcustom_block.php";
$modversion['blocks'][$i]['name']        = _MI_NEIL_CUSTOM_BLOCKK01;
$modversion['blocks'][$i]['description'] = _MI_NEIL_CUSTOM_BLOCKK01;
$modversion['blocks'][$i]['show_func']   = "neilcustom_block_show";
$modversion['blocks'][$i]['template']    = "neilcustom_block.tpl";
$modversion['blocks'][$i]['edit_func']   = "neilcustom_block_edit";
$modversion['blocks'][$i]['options']     = "1,2"; //顯示裝置
$i++;



//---偏好設定---//
$modversion['config'] = array();
$i=1;

//紀錄上次關閉通知時間-1 //neothemesadmin1
$modversion['config'][$i]['name']	= $modversion['dirname']."".$i."";
$modversion['config'][$i]['title']	= '_MA_NEIL_MODVERSIONCONFIG01';
$modversion['config'][$i]['description']	= '_MA_NEIL_MODVERSIONCONFIG01';
$modversion['config'][$i]['formtype']	= 'text';
$modversion['config'][$i]['valuetype']	= 'timezone';
$modversion['config'][$i]['default']	= ''; 
$i++;

//取消通知再次通知間隔天數-2 //neothemesadmin2
$modversion['config'][$i]['name']	= $modversion['dirname']."".$i."";
$modversion['config'][$i]['title']	= '_MA_NEIL_MODVERSIONCONFIG02';
$modversion['config'][$i]['description']	= '_MA_NEIL_MODVERSIONCONFIG02';
$modversion['config'][$i]['formtype']	= 'text';
$modversion['config'][$i]['valuetype']	= 'int';
$modversion['config'][$i]['default']	= 30; 
$i++;

//儲存GTM程式碼欄位-3 //neothemesadmin3
$modversion['config'][$i]['name']	= $modversion['dirname']."".$i."";
$modversion['config'][$i]['title']	= '_MA_NEIL_MODVERSIONCONFIG03';
$modversion['config'][$i]['description']	= '_MA_NEIL_MODVERSIONCONFIG03';
$modversion['config'][$i]['formtype']	= 'text';
$modversion['config'][$i]['valuetype']	= 'text';
$modversion['config'][$i]['default']	= ''; 
$i++;

//GTM程式碼狀態-4 //neothemesadmin4
$modversion['config'][$i]['name']	= $modversion['dirname']."".$i."";
$modversion['config'][$i]['title']	= '_MA_NEIL_MODVERSIONCONFIG04';
$modversion['config'][$i]['description']	= '_MA_NEIL_MODVERSIONCONFIG04';
$modversion['config'][$i]['formtype'] = 'yesno';
$modversion['config'][$i]['valuetype']	= 'int';
$modversion['config'][$i]['default']	= '0'; //0不啟用1啟用
$i++;

//彈出廣告狀態-5 //neothemesadmin5
$modversion['config'][$i]['name']	= $modversion['dirname']."".$i."";
$modversion['config'][$i]['title']	= '_MA_NEIL_MODVERSIONCONFIG05';
$modversion['config'][$i]['description']	= '_MA_NEIL_MODVERSIONCONFIG05';
$modversion['config'][$i]['formtype'] = 'yesno';
$modversion['config'][$i]['valuetype']	= 'int';
$modversion['config'][$i]['default']	= '0'; //0不啟用1啟用
$i++;

//彈出廣告框縮圖寬度 //neothemesadmin6
$modversion['config'][$i]['name']	= $modversion['dirname']."".$i."";
$modversion['config'][$i]['title']	= '_MA_NEIL_MODVERSIONCONFIG06';
$modversion['config'][$i]['description']	= '_MA_NEIL_MODVERSIONCONFIG06';
$modversion['config'][$i]['formtype']	= 'text';
$modversion['config'][$i]['valuetype']	= 'int';
$modversion['config'][$i]['default']	= 1000; 
$i++;

//彈出廣告顯示方式-7 //neothemesadmin7
$modversion['config'][$i]['name']	= $modversion['dirname']."".$i."";
$modversion['config'][$i]['title']	= '_MA_NEIL_MODVERSIONCONFIG07';
$modversion['config'][$i]['description']	= '_MA_NEIL_MODVERSIONCONFIG07';
$modversion['config'][$i]['formtype'] = 'yesno';
$modversion['config'][$i]['valuetype']	= 'int';
$modversion['config'][$i]['default']	= '0'; //0指定1隨機
$i++;

//右下浮動廣告狀態-8 //neothemesadmin8
$modversion['config'][$i]['name']	= $modversion['dirname']."".$i."";
$modversion['config'][$i]['title']	= '_MA_NEIL_MODVERSIONCONFIG08';
$modversion['config'][$i]['description']	= '_MA_NEIL_MODVERSIONCONFIG08';
$modversion['config'][$i]['formtype'] = 'yesno';
$modversion['config'][$i]['valuetype']	= 'int';
$modversion['config'][$i]['default']	= '0'; //0不啟用1啟用
$i++;

//右下浮動廣告顯示方式-9 //neothemesadmin9
$modversion['config'][$i]['name']	= $modversion['dirname']."".$i."";
$modversion['config'][$i]['title']	= '_MA_NEIL_MODVERSIONCONFIG09';
$modversion['config'][$i]['description']	= '_MA_NEIL_MODVERSIONCONFIG09';
$modversion['config'][$i]['formtype'] = 'yesno';
$modversion['config'][$i]['valuetype']	= 'int';
$modversion['config'][$i]['default']	= '0'; //0指定1隨機
$i++;

//簡介區塊說明文字-10 //neothemesadmin10
$modversion['config'][$i]['name']	= $modversion['dirname']."".$i."";
$modversion['config'][$i]['title']	= '_MA_NEIL_MODVERSIONCONFIG10';
$modversion['config'][$i]['description']	= '_MA_NEIL_MODVERSIONCONFIG10';
$modversion['config'][$i]['formtype']	= 'text';
$modversion['config'][$i]['valuetype']	= 'text';
$modversion['config'][$i]['default']	= ''; 
$i++;

//自訂跑馬燈設定值-11 //neothemesadmin11
$modversion['config'][$i]['name']	= $modversion['dirname']."".$i."";
$modversion['config'][$i]['title']	= '_MA_NEIL_MODVERSIONCONFIG11';
$modversion['config'][$i]['description']	= '_MA_NEIL_MODVERSIONCONFIG11';
$modversion['config'][$i]['formtype']	= 'text';
$modversion['config'][$i]['valuetype']	= 'text';
$modversion['config'][$i]['default']	= ''; 
$i++;

//聯絡我們表單設定值-12 //neothemesadmin12
$modversion['config'][$i]['name']	= $modversion['dirname']."".$i."";
$modversion['config'][$i]['title']	= '_MA_NEIL_MODVERSIONCONFIG12';
$modversion['config'][$i]['description']	= '_MA_NEIL_MODVERSIONCONFIG12';
$modversion['config'][$i]['formtype']	= 'text';
$modversion['config'][$i]['valuetype']	= 'text';
$modversion['config'][$i]['default']	= ''; 
$i++;


?>