0byt3m1n1
Path:
/
home1
/
aserty
/
www
/
Beautifultreeslivewallpaper
/
wp-content
/
themes
/
skythemepremium
/
theme-options
/
[
Home
]
File: application-settings_1.php
<?php /* Array Options: name (string) desc (string) id (string) type (string) - text, color, image, select, multiple, textarea, page, pages, category, categories value (string) - default value - replaced when custom value is entered - (text, color, select, textarea, page, category) options (array) attr (array) - any form field attributes url (string) - for image type only - defines the default image */ $options = array ( array( "name" => "App Name", "desc" => "Please enter the name of your app.", "id" => "app_name", "type" => "text", "value" => "SKYTHEME PREMIUM" ), array( "name" => "App Icon", "desc" => "Upload your app icon or select from the gallery. (70px x 70px)", "id" => "app_icon", "type" => "image", "value" => "Upload App Icon", "url" => get_bloginfo('template_directory')."/images/logo.png" ), array( "name" => "App TagLine", "desc" => "Please enter the TageLine of your app.", "id" => "app_tagline", "type" => "text", "value" => "Your Tagline Goes Here!" ), array( "name" => "App Description", "desc" => "Please enter your app description.", "id" => "app_description", "type" => "textarea", "value" => "Mauris blandit, mauris ut bibendum dapibus, nisl felis iaculis lorem, sit amet volutpat libero est sit amet odio. Vivamus odio arcu, pretium id scelerisque in, vulputate vitae tellus. Aliquam non facilisis sem. Duis suscipit, magna in tempor vehicula, metus eros lacinia diam, sit amet iaculis massa quam ut sapien. " ), array( "name" => "App Screenshot #1", "desc" => "Upload your your image or select from the gallery. (240px x 360px)", "id" => "screenshot_1", "type" => "image", "value" => "Upload Screenshot", "url" => get_bloginfo('template_directory')."/images/screenshot-1.jpg" ), array( "name" => "App Apple Store Link", "desc" => "Please enter the Apple Store Link of your app", "id" => "app_apple_link", "type" => "text", "value" => "http://www.apple.com" ), array( "name" => "App Google Play Store Link", "desc" => "Please enter the Google Play Store Link of your app", "id" => "app_google_link", "type" => "text", "value" => "http://play.google.com/store/apps" ), ); /* ------------ Do not edit below this line ----------- */ //Check if theme options set global $default_check; global $default_options; if(!$default_check): foreach($options as $option): if($option['type'] != 'image'): $default_options[$option['id']] = $option['value']; else: $default_options[$option['id']] = $option['url']; endif; endforeach; $update_option = get_option('up_themes_'.WPSKY_SHORT_NAME); if(is_array($update_option)): $update_option = array_merge($update_option, $default_options); update_option('up_themes_'.WPSKY_SHORT_NAME, $update_option); else: update_option('up_themes_'.WPSKY_SHORT_NAME, $default_options); endif; endif; render_options($options); ?>