function __construct()
 {
     $widget_ops = array('classname' => 'widget-mailchimp-subscribe', 'description' => __("Mailchimp subscribe.", 'zn_framework'));
     parent::__construct('themefuzz-mailchimp-subscribe', __('ThemeFuzz : Mailchimp subscribe', 'zn_framework'), $widget_ops);
     $this->alt_option_name = 'widget_themefuzz_mailchimp_subscribe';
     $this->options = array(array('id' => 'mailchimp_list', 'name' => 'Mailchimp List', 'description' => 'Please select your desired Mailchimp list. If this is empty, please make sure that you have entered your Mailchimp API key inside the theme options panel', 'type' => 'select', 'options' => generate_mailchimp_lists('mailchimp_api', 'general_options'), 'class' => 'zn_full'), array('id' => 'description_above', 'name' => 'Description above input field', 'description' => 'Please enter a text that will appear above the input field.', 'type' => 'textarea', 'std' => 'By subscribing to our mailing list you will always be update with the latest news.', 'class' => 'zn_full'));
 }
/*--------------------------------------------------------------------------------------------------
	Start Coming soon options
--------------------------------------------------------------------------------------------------*/
$admin_options[] = array('slug' => 'coming_soon', 'parent' => 'coming_soon', 'id' => 'enable_coming_soon', 'name' => 'Enable coming soon page ?', 'description' => 'Choose if you want to enable the coming soon page. If enabled , all visitors will see a coming soon page.', 'type' => 'toggle2', 'value' => 'yes', 'std' => 'no');
$admin_options[] = array('slug' => 'coming_soon', 'parent' => 'coming_soon', 'id' => 'cs_logo', 'name' => 'Coming soon logo', 'description' => 'Please choose a logo for the coming soon page.', 'type' => 'media', 'class' => 'zn_full', 'std' => '', 'dependency' => array('element' => 'enable_coming_soon', 'value' => array('yes')));
$admin_options[] = array('slug' => 'coming_soon', 'parent' => 'coming_soon', 'id' => 'cs_bg', 'name' => 'Coming soon background', 'description' => 'Please choose a background image for the coming soon page. We recommend using an image with the 1920x1080 pixels in dimension for responsive design.', 'type' => 'media', 'class' => 'zn_full', 'std' => '', 'dependency' => array('element' => 'enable_coming_soon', 'value' => array('yes')));
//** Coming soon texts
$admin_options[] = array('slug' => 'coming_soon', 'parent' => 'coming_soon', 'id' => 'coming_soon_text1', 'name' => 'First text', 'description' => 'Enter a text for the first line.', 'type' => 'text', 'std' => 'We are working on something awesome.', 'dependency' => array('element' => 'enable_coming_soon', 'value' => array('yes')));
$admin_options[] = array('slug' => 'coming_soon', 'parent' => 'coming_soon', 'id' => 'coming_soon_text2', 'name' => 'Second text', 'description' => 'Enter a text for the second line.', 'type' => 'text', 'std' => 'Please don\'t forget to check out our tweets and to subscribe to be notified!', 'dependency' => array('element' => 'enable_coming_soon', 'value' => array('yes')));
$admin_options[] = array('slug' => 'coming_soon', 'parent' => 'coming_soon', 'id' => 'enable_coming_soon_timer', 'name' => 'Enable coming soon countdown ?', 'description' => 'Choose if you want to enable the coming soon countdown.', 'type' => 'toggle2', 'value' => 'yes', 'std' => 'no', 'dependency' => array('element' => 'enable_coming_soon', 'value' => array('yes')));
$admin_options[] = array('slug' => 'coming_soon', 'parent' => 'coming_soon', 'id' => 'coming_soon_backin', 'name' => 'Timer intro text', 'description' => 'Enter a text that appears right above the timer.', 'type' => 'text', 'std' => 'We will be back in...', 'dependency' => array('element' => 'enable_coming_soon', 'value' => array('yes')));
$admin_options[] = array('slug' => 'coming_soon', 'parent' => 'coming_soon', 'id' => 'cs_date', 'name' => 'Launch date', 'description' => 'Please select the date when your site will be available.', 'type' => 'date_picker', 'std' => '', 'dependency' => array('element' => 'enable_coming_soon', 'value' => array('yes')));
// MAILCHIMP LIST
$admin_options[] = array('slug' => 'coming_soon', 'parent' => 'coming_soon', 'id' => 'enable_coming_soon_mailchimp', 'name' => 'Enable coming soon mailchimp subscribe ?', 'description' => 'Choose if you want to enable the coming soon mailchimp.', 'type' => 'toggle2', 'value' => 'yes', 'std' => 'no', 'dependency' => array('element' => 'enable_coming_soon', 'value' => array('yes')));
// PLACE MAILCHIMP OPTION
$admin_options[] = array('slug' => 'coming_soon', 'parent' => 'coming_soon', 'id' => 'mailchimp_list', 'name' => 'Mailchimp List', 'description' => 'Please select your desired Mailchimp list. If this is empty, please make sure that you have entered your Mailchimp API key inside the theme options panel', 'type' => 'select', 'options' => generate_mailchimp_lists('mailchimp_api', 'general_options'), 'dependency' => array('element' => 'enable_coming_soon', 'value' => array('yes')));
$admin_options[] = array('slug' => 'coming_soon', 'parent' => 'coming_soon', 'id' => 'coming_soon_get_notified', 'name' => 'Mailchimp button text', 'description' => 'Enter a text that appears on the subscribe button.', 'type' => 'text', 'std' => 'Get notified', 'dependency' => array('element' => 'enable_coming_soon', 'value' => array('yes')));
/*--------------------------------------------------------------------------------------------------
	Start Advanced options
--------------------------------------------------------------------------------------------------*/
$admin_options[] = array('slug' => 'advanced', 'parent' => 'advanced', 'id' => 'font_uploader', 'name' => 'Icon Font uploader', 'description' => 'Please select a zip archive containing the font (generate it using http://fontello.com).', 'type' => 'upload', 'supports' => array('file_extension' => 'zip', 'file_type' => 'application/octet-stream, application/zip'));
$admin_options[] = array('slug' => 'advanced', 'parent' => 'advanced', 'id' => 'zn_importer', 'name' => 'Import dummy data', 'description' => 'Press this button if you want to import the dummy data.', 'type' => 'zn_import');
$admin_options[] = array('slug' => 'advanced', 'parent' => 'advanced', 'id' => 'zn_refresh_pb', 'name' => 'Refresh page builder data', 'description' => 'If you have made changes to the theme\'s page builder folder or files, you will need to press this button in order to refresh their css and folder structure.', 'type' => 'zn_ajax_call', 'ajax_call_setup' => array('action' => 'zn_refresh_pb', 'button_text' => 'Refresh page builder data'));
/*--------------------------------------------------------------------------------------------------
START STYLE OPTIONS
--------------------------------------------------------------------------------------------------*/
//////DEFAULT COLORS
//** Primary color of the site
$admin_options[] = array('slug' => 'default_colors', 'parent' => 'style_options', 'id' => 'primary_color', 'name' => 'Primary color', 'description' => 'This color will be used as primary color for the site.', 'type' => 'colorpicker', 'std' => '#ed2437');
//** Secondary color
$admin_options[] = array('slug' => 'default_colors', 'parent' => 'style_options', 'id' => 'secondary_color', 'name' => 'Secondary color', 'description' => 'This color will be used as secondary color for the site (titles, headings, links).', 'type' => 'colorpicker', 'std' => '#000');
 function options()
 {
     //global $zn_framework;
     $options = array(array('id' => 'mailchimp_list', 'name' => 'Mailchimp List', 'description' => 'Please select your desired Mailchimp list. If this is empty, please make sure that you have entered your Mailchimp API key inside the theme options panel', 'type' => 'select', 'options' => generate_mailchimp_lists('mailchimp_api', 'general_options'), 'class' => 'zn_full'), array('id' => 'show_name', 'name' => 'Show name field', 'description' => 'Select if you wish to show the name field', "type" => "toggle2", "value" => "show", "std" => "show"), array('id' => 'show_website', 'name' => 'Show website field', 'description' => 'Select if you wish to show the website field', "type" => "toggle2", "value" => "show", "std" => "show"), array('id' => 'text', 'name' => 'Bottom Text', 'description' => 'Please enter a text that will appear at the bottom of the element', 'type' => 'text'), array('id' => 'submit_text', 'name' => 'Submit button text', 'description' => 'Please enter a text for the button', 'type' => 'text'), array('id' => 'submit_icon', 'name' => 'Submit button icon', 'description' => 'Select an icon for the button', 'type' => 'icon_list', 'class' => 'zn_full', 'std' => array("family" => "eleganticons", "unicode" => "ue804")), array('id' => 'appear_animation', 'name' => 'Appear animation', 'description' => 'Select the appear animation for this element when it comes into the viewport', 'type' => 'select', 'std' => '', 'options' => array('' => 'None', 'none' => 'Fade in', 'top' => 'Fade in from top', 'right' => 'Fade in from right', 'bottom' => 'Fade in from bottom', 'left' => 'Fade in from left')), array('id' => 'appear_delay', 'name' => 'Appear delay', 'description' => 'Enter the number of milliseconds the animation is delayed after the element comes into the viewport', 'type' => 'slider', 'std' => '0', 'class' => 'zn_full', 'helpers' => array('min' => '0', 'max' => '3000', 'step' => '10')));
     return $options;
 }