:::

9-4 themes/sailing_demo/config.php

001<?php
002 
003//佈景種類是否可自訂
004$theme_change=0;
005 
006//預設佈景種類 bootstrap or html
007$theme_kind='html';
008 
009/*
010  tabs-1 版面基礎設定
011 */
012 
013$config_tabs[1]=1;
014 
015//版面類型[自],值: theme_type_1 ~ theme_type_8
016$config_enable['theme_type']=array('enable'=>1, 'min'=>'' , 'max'=>'' , 'require'=>0 , 'default'=>'theme_type_2');
017//版面寬度[自],值:若bootstrap模式,最大值為 12,若 html 模式,則輸入預設版面寬度,如: 980
018$config_enable['theme_width']=array('enable'=>0, 'min'=>'1' , 'max'=>'12' , 'require'=>1 , 'default'=>'940');
019//內容區顏色[theme_type_x.html]
020$config_enable['base_color']=array('enable'=>1, 'min'=>'' , 'max'=>'' , 'require'=>0 , 'default'=>'#FFFFFF');
021//左區域顏色[theme_type_1.html]
022$config_enable['lb_color']=array('enable'=>1, 'min'=>'' , 'max'=>'' , 'require'=>0 , 'default'=>'#F2F4FF');
023//中區域顏色[theme_type_x.html]
024$config_enable['cb_color']=array('enable'=>1, 'min'=>'' , 'max'=>'' , 'require'=>0 , 'default'=>'#FFFFFF');
025//右區域顏色[theme_type_2~4.html]
026$config_enable['rb_color']=array('enable'=>1, 'min'=>'' , 'max'=>'' , 'require'=>0 , 'default'=>'#F4F4F4');
027//左區域寬度[theme_type_x.html],值:若 bootstrap 模式,最大值為 12,若 html 模式,則輸入預設左區域寬度,如: 220
028$config_enable['lb_width']=array('enable'=>1, 'min'=>'' , 'max'=>'' , 'require'=>0 , 'default'=>'220');
029//右區域寬度[theme_type_2~8.html],值:若 bootstrap 模式,最大值為 12,若 html 模式,則輸入預設右區域寬度,如: 220
030$config_enable['rb_width']=array('enable'=>1, 'min'=>'' , 'max'=>'' , 'require'=>0 , 'default'=>'220');
031//中左區塊寬度[無]
032$config_enable['clb_width']=array('enable'=>1, 'min'=>'' , 'max'=>'' , 'require'=>0 , 'default'=>'49%');
033//中右區塊寬度[無]
034$config_enable['crb_width']=array('enable'=>1, 'min'=>'' , 'max'=>'' , 'require'=>0 , 'default'=>'49%');
035//離上邊界距離[自]
036$config_enable['margin_top']=array('enable'=>0, 'min'=>'' , 'max'=>'' , 'require'=>0 , 'default'=>'0');
037//文字大小[theme_css.html]
038$config_enable['font_size']=array('enable'=>1, 'min'=>'' , 'max'=>'' , 'require'=>0 , 'default'=>'11pt');
039//離下邊界距離[自]
040$config_enable['margin_bottom']=array('enable'=>0, 'min'=>'' , 'max'=>'' , 'require'=>0 , 'default'=>'0');
041//文字顏色[theme_css.html]
042$config_enable['font_color']=array('enable'=>1, 'min'=>'' , 'max'=>'' , 'require'=>0 , 'default'=>'#202020');
043//連結顏色[theme_css.html]
044$config_enable['link_color']=array('enable'=>1, 'min'=>'' , 'max'=>'' , 'require'=>0 , 'default'=>'#005ca8');
045//移到連結顏色[theme_css.html]
046$config_enable['hover_color']=array('enable'=>1, 'min'=>'' , 'max'=>'' , 'require'=>0 , 'default'=>'#a40019');
047 
048/*
049  tabs-2 背景圖
050 */
051 
052$config_tabs[2]=0;
053 
054//上傳背景圖[theme_css.html],值:可指定置於「themes/佈景/images/bg/」下的某一檔案名稱
055$config_enable['bg_img']=array('enable'=>1, 'min'=>'' , 'max'=>'' , 'require'=>0 , 'default'=>'templatemo_body.jpg');
056//背景顏色[theme_css.html]
057$config_enable['bg_color']=array('enable'=>1, 'min'=>'' , 'max'=>'' , 'require'=>0 , 'default'=>'#CDEEFF');
058//背景重複[theme_css.html],值: repeat (重複), repeat-x (水平重複), repeat-y (垂直重複), no-repeat (不重複)
059$config_enable['bg_repeat']=array('enable'=>1, 'min'=>'' , 'max'=>'' , 'require'=>0 , 'default'=>'repeat-x');
060//背景模式[theme_css.html],值: scroll (捲動),fixed (固定)
061$config_enable['bg_attachment']=array('enable'=>1, 'min'=>'' , 'max'=>'' , 'require'=>0 , 'default'=>'scroll');
062//背景位置[theme_css.html],值: left top (預設,左上), right top (右上), left bottom (左下), right bottom (右下), center center (中中), center top (中上), center bottom (中下)
063$config_enable['bg_position']=array('enable'=>1, 'min'=>'' , 'max'=>'' , 'require'=>0 , 'default'=>'center top');
064 
065 
066/*
067  tabs-3 滑動圖片
068 */
069 
070$config_tabs[3]=1;
071 
072//佈景圖片寬度[slideshow_responsive.html],值:若bootstrap模式,最大值為 12,若 html 模式,則輸入預設佈景圖片寬度,如: 980
073$config_enable['slide_width']=array('enable'=>1, 'min'=>'' , 'max'=>'' , 'require'=>0 , 'default'=>'940');
074//佈景圖片高度[slideshow_responsive.html],值:數值,單位一律為 px
075$config_enable['slide_height']=array('enable'=>1, 'min'=>'' , 'max'=>'' , 'require'=>0 , 'default'=>'0');
076//是否可上傳滑動圖片[slideshow_responsive.html]
077$config_enable['use_slide']=array('enable'=>1, 'min'=>'' , 'max'=>'' , 'require'=>0 , 'default'=>'1');
078 
079 
080/*
081  tabs-4 logo圖
082 */
083 
084$config_tabs[4]=1;
085 
086// 上傳logo圖[logo.html],值:可指定置於「themes/佈景/images/logo/」下的某一檔案名稱
087$config_enable['logo_img']=array('enable'=>1, 'min'=>'' , 'max'=>'' , 'require'=>0 , 'default'=>'');
088//logo圖位置[logo.html],值: slide (在滑動圖文上), page (在頁面上)
089$config_enable['logo_position']=array('enable'=>1, 'min'=>'' , 'max'=>'' , 'require'=>0 , 'default'=>'page');
090//Logo離上方距離[logo.html],值:數值,單位一律為 px
091$config_enable['logo_top']=array('enable'=>1, 'min'=>'' , 'max'=>'' , 'require'=>0 , 'default'=>'');
092//Logo離右邊距離[logo.html],值:數值,單位一律為 px
093$config_enable['logo_right']=array('enable'=>1, 'min'=>'' , 'max'=>'' , 'require'=>0 , 'default'=>'');
094//Logo離下方距離[logo.html],值:數值,單位一律為 px
095$config_enable['logo_bottom']=array('enable'=>1, 'min'=>'' , 'max'=>'' , 'require'=>0 , 'default'=>'');
096//Logo離左邊距離[logo.html],值:數值,單位一律為 px
097$config_enable['logo_left']=array('enable'=>1, 'min'=>'' , 'max'=>'' , 'require'=>0 , 'default'=>'');
098 
099 
100/*
101  tabs-5 區塊標題列
102 */
103 
104$config_tabs[5]=1;
105 
106//區塊標題文字大小[theme_css_blocks.html],值:數值含單位
107$config_enable['bt_text_size']=array('enable'=>1, 'min'=>'' , 'max'=>'' , 'require'=>0 , 'default'=>'1.5em');
108//區塊標題縮排[theme_css_blocks.html],值:數值,單位一律為 px
109$config_enable['bt_text_padding']=array('enable'=>1, 'min'=>'' , 'max'=>'' , 'require'=>0 , 'default'=>'0');
110//區塊標題文字顏色[theme_css_blocks.html]
111$config_enable['bt_text']=array('enable'=>1, 'min'=>'' , 'max'=>'' , 'require'=>0 , 'default'=>'#6bbdff');
112//區塊標題背景顏色[theme_css_blocks.html]
113$config_enable['bt_bg_color']=array('enable'=>1, 'min'=>'' , 'max'=>'' , 'require'=>0 , 'default'=>'transparent');
114//區塊標題圓角設定[theme_css_blocks.html],值: 1 (圓角), 0 (直角)
115$config_enable['bt_radius']=array('enable'=>1, 'min'=>'' , 'max'=>'' , 'require'=>0 , 'default'=>'1');
116//區塊標題設定按鈕[theme_css_blocks.html],值: right (右), left (左)
117$config_enable['block_config']=array('enable'=>1, 'min'=>'' , 'max'=>'' , 'require'=>0 , 'default'=>'right');
118//區塊標題背景圖[theme_css_blocks.html]
119$config_enable['bt_bg_img']=array('enable'=>1, 'min'=>'' , 'max'=>'' , 'require'=>0 , 'default'=>'transparent');
120//區塊標題背景重複[theme_css_blocks.html],值: 1 (重複), 0 (不重複)
121$config_enable['bt_bg_repeat']=array('enable'=>1, 'min'=>'' , 'max'=>'' , 'require'=>0 , 'default'=>'1');
122//區塊整體樣式手動設定[theme_css_blocks.html],值: 1 (重複), 0 (不重複)
123$config_enable['block_style']=array('enable'=>1, 'min'=>'' , 'max'=>'' , 'require'=>0 , 'default'=>'');
124//區塊標題區樣式手動設定[theme_css_blocks.html],值: 1 (重複), 0 (不重複)
125$config_enable['block_title_style']=array('enable'=>1, 'min'=>'' , 'max'=>'' , 'require'=>0 , 'default'=>'border:none;height:40px;line-height:40px;margin-bottom:10px;');
126//區塊內容區樣式手動設定[theme_css_blocks.html],值: 1 (重複), 0 (不重複)
127$config_enable['block_content_style']=array('enable'=>1, 'min'=>'' , 'max'=>'' , 'require'=>0 , 'default'=>'');
128 
129 
130/*
131  tabs-6 導覽工具列
132 */
133 
134$config_tabs[6]=0;
135 
136//導覽工具列位置[navbar.html],值: navbar-fixed-top (固定上方), navbar-fixed-bottom (固定下方), navbar-static-top (滑動圖片上方), navbar-static-bottom (滑動圖片下方), default (佈景預設值), not-use (不使用)
137$config_enable['navbar_pos']=array('enable'=>1, 'min'=>'' , 'max'=>'' , 'require'=>0 , 'default'=>'default');
138//導覽工具列 漸層顏色(top)[theme_css_navbar.html]
139$config_enable['navbar_bg_top']=array('enable'=>1, 'min'=>'' , 'max'=>'' , 'require'=>0 , 'default'=>'#54b4eb');
140//導覽工具列 漸層顏色(bottom)[theme_css_navbar.html]
141$config_enable['navbar_bg_bottom']=array('enable'=>1, 'min'=>'' , 'max'=>'' , 'require'=>0 , 'default'=>'#2fa4e7');
142//導覽工具列 連結區塊底色[theme_css_navbar.html]
143$config_enable['navbar_hover']=array('enable'=>1, 'min'=>'' , 'max'=>'' , 'require'=>0 , 'default'=>'#1684c2');
144//上傳導覽列背景圖[navbar.html],值:可指定置於「themes/佈景/images/nav_bg/」下的某一檔案名稱
145$config_enable['navbar_img']=array('enable'=>1, 'min'=>'' , 'max'=>'' , 'require'=>0 , 'default'=>'');
146//導覽工具列 文字顏色[theme_css_navbar.html]
147$config_enable['navbar_color']=array('enable'=>1, 'min'=>'' , 'max'=>'' , 'require'=>0 , 'default'=>'#FFFFFF');
148//導覽工具列 文字移過顏色[theme_css_navbar.html]
149$config_enable['navbar_color_hover']=array('enable'=>1, 'min'=>'' , 'max'=>'' , 'require'=>0 , 'default'=>'#FFFF00');
150//導覽工具列 圖示顏色[navbar.html],值: icon-white (白色圖案), '' (黑色圖案)
151$config_enable['navbar_icon']=array('enable'=>1, 'min'=>'' , 'max'=>'' , 'require'=>0 , 'default'=>'icon-white');
152// 上傳導覽列logo圖[navbar.html],值:可指定置於「themes/佈景/images/navlogo/」下的某一檔案名稱
153$config_enable['navlogo_img']=array('enable'=>1, 'min'=>'' , 'max'=>'' , 'require'=>0 , 'default'=>'');
154 
155?>

 


:::

搜尋

QR Code 區塊

https%3A%2F%2Ftad0616.net%2Fmodules%2Ftad_book3%2Fpage.php%3Ftbdsn%3D953%26tbsn%3D32

書籍目錄

展開 | 闔起

線上使用者

50人線上 (19人在瀏覽線上書籍)

會員: 0

訪客: 50

更多…