PK œqhYî¶J‚ßFßF)nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/ $#$#$#

Dir : /home/trave494/seoservicesforyou.kerihosting.com/wp-content/themes/seo_reseller_v1/
Server: Linux ngx353.inmotionhosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64
IP: 209.182.202.254
Choose File :

Url:
Dir : //home/trave494/seoservicesforyou.kerihosting.com/wp-content/themes/seo_reseller_v1/options.php

<?php
/**
 * A unique identifier is defined to store the options in the database and reference them from the theme.
 * By default it uses the theme name, in lowercase and without spaces, but this can be changed if needed.
 * If the identifier changes, it'll appear as if the options have been reset.
 *
 */

function optionsframework_option_name() {

	// This gets the theme name from the stylesheet (lowercase and without spaces)
	$themename = get_option( 'stylesheet' );
	$themename = preg_replace("/\W/", "_", strtolower($themename) );

	$optionsframework_settings = get_option('optionsframework');
	$optionsframework_settings['id'] = $themename;
	update_option('optionsframework', $optionsframework_settings);

	// echo $themename;
}

/**
 * Defines an array of options that will be used to generate the settings page and be saved in the database.
 * When creating the 'id' fields, make sure to use all lowercase and no spaces.
 *
 */

function optionsframework_options() {

	// Test data
	$test_array = array(
		'one' => __('One', 'options_check'),
		'two' => __('Two', 'options_check'),
		'three' => __('Three', 'options_check'),
		'four' => __('Four', 'options_check'),
		'five' => __('Five', 'options_check')
	);

	// Multicheck Array
	$multicheck_array = array(
		'one' => __('French Toast', 'options_check'),
		'two' => __('Pancake', 'options_check'),
		'three' => __('Omelette', 'options_check'),
		'four' => __('Crepe', 'options_check'),
		'five' => __('Waffle', 'options_check')
	);

	// Multicheck Defaults
	$multicheck_defaults = array(
		'one' => '1',
		'five' => '1'
	);

	// Background Defaults
	$background_defaults = array(
		'color' => '',
		'image' => '',
		'repeat' => 'repeat',
		'position' => 'top center',
		'attachment'=>'scroll' );

	// Typography Defaults
	$typography_defaults = array(
		'size' => '15px',
		'face' => 'georgia',
		'style' => 'bold',
		'color' => '#bada55' );
		
	// Typography Options
	$typography_options = array(
		'sizes' => array( '6','12','14','16','20' ),
		'faces' => array( 'Helvetica Neue' => 'Helvetica Neue','Arial' => 'Arial' ),
		'styles' => array( 'normal' => 'Normal','bold' => 'Bold' ),
		'color' => false
	);

	// Pull all the categories into an array
	$options_categories = array();
	$options_categories_obj = get_categories();
	foreach ($options_categories_obj as $category) {
		$options_categories[$category->cat_ID] = $category->cat_name;
	}
	
	// Pull all tags into an array
	$options_tags = array();
	$options_tags_obj = get_tags();
	foreach ( $options_tags_obj as $tag ) {
		$options_tags[$tag->term_id] = $tag->name;
	}

	// Pull all the pages into an array
	$options_pages = array();
	$options_pages_obj = get_pages('sort_column=post_parent,menu_order');
	$options_pages[''] = 'Select a page:';
	foreach ($options_pages_obj as $page) {
		$options_pages[$page->ID] = $page->post_title;
	}

	// If using image radio buttons, define a directory path
	$imagepath =  get_template_directory_uri() . '/images/';

/* ----------------------------------------------------------
  Basic Settings
------------------------------------------------------------- */  

	$options = array();

	$options[] = array(
		'name' => __('Basic Settings', 'options_check'),
		'type' => 'heading');

	$options[] = array(
		'name' => __('Your contact details:', 'options_check'),
		'desc' => __('Your contact E-mail.', 'options_check'),
		'id' => 'contact_mail',
		'std' => 'Enter your contact E-mail here...',
		'type' => 'text');
	
	$options[] = array(
		'desc' => __('Your Skype name.', 'options_check'),
		'id' => 'contact_skype',
		'std' => 'Enter your Skype name here...',
		'type' => 'text');

	$options[] = array(
		'name' => __('Titles of Service Categories on Home Page:', 'options_check'),
		'desc' => __('Title instead of <b>SEO Packages</b>.', 'options_check'),
		'id' => 'title_packs',
		'std' => 'Enter title here...',
		'type' => 'text');
		
	$options[] = array(
		'desc' => __('Title instead of <b>SEO Services for $14.49</b>.', 'options_check'),
		'id' => 'title_seoser4',
		'std' => 'Enter title here...',
		'type' => 'text');		

	$options[] = array(
		'desc' => __('Title instead of <b>SEO Services for $28.98</b>.', 'options_check'),
		'id' => 'title_seoser14',
		'std' => 'Enter title here...',
		'type' => 'text');

	$options[] = array(
		'desc' => __('Title instead of <b>Social Media for $14.49</b>.', 'options_check'),
		'id' => 'title_smmser4',
		'std' => 'Enter title here...',
		'type' => 'text');		

	$options[] = array(
		'desc' => __('Title instead of <b>Social Media Services for $28.98</b>.', 'options_check'),
		'id' => 'title_smmser14',
		'std' => 'Enter title here...',
		'type' => 'text');	

	$options[] = array(
		'desc' => __('Title instead of <b>Content Creation for $14.49</b>.', 'options_check'),
		'id' => 'title_contcr4',
		'std' => 'Enter title here...',
		'type' => 'text');

	$options[] = array(
		'desc' => __('Title instead of <b>Web Design for $14.49</b>.', 'options_check'),
		'id' => 'title_webdes4',
		'std' => 'Enter title here...',
		'type' => 'text');

	$options[] = array(
		'name' => __('Logo:', 'options_check'),
		'desc' => __('Full size uploader for logo image.', 'options_check'),
		'id' => 'logo_upload',
		'type' => 'upload');
		
/* ----------------------------------------------------------
  Advanced Settings
------------------------------------------------------------- */ 

	$options[] = array(
		'name' => __('Advanced Settings', 'options_check'),
		'type' => 'heading');

	$options[] = array(
		'name' => __('Your AWeber Settings:', 'options_check'),
		'desc' => __('Your Form ID.', 'options_check'),
		'id' => 'aw_formid',
		'std' => 'Enter your AWeber form ID here...',
		'type' => 'text');
	
	$options[] = array(
		'desc' => __('Your List Name.', 'options_check'),
		'id' => 'aw_listname',
		'std' => 'Enter your AWeber List Name here...',
		'type' => 'text');

	$options[] = array(
		'desc' => __('Your Adtracking Name.', 'options_check'),
		'id' => 'aw_adtrack',
		'std' => 'Enter your Adtracking name here...',
		'type' => 'text');

	return $options;
}