cat_ID] = $category->cat_name; } /*-----------------------------------------------------------------------------------*/ /* Catch the Wordpress Pages /*-----------------------------------------------------------------------------------*/ $mmtheme_pages = get_pages('sort_column=post_parent,menu_order'); $wp_pages = array(); foreach ($mmtheme_pages as $page_list) { $wp_pages[$page_list->ID] = $page_list->post_name; } $mmtheme_pages_temp = array_unshift($wp_pages, "Select a page:"); /*-----------------------------------------------------------------------------------*/ /* Make theme available for translation /*-----------------------------------------------------------------------------------*/ load_theme_textdomain( 'mm', TEMPLATEPATH . '/languages' ); $locale = get_locale(); $locale_file = TEMPLATEPATH . "/languages/$locale.php"; if ( is_readable( $locale_file ) ) require_once( $locale_file ); /*-----------------------------------------------------------------------------------*/ /* Creates the admin menu /*-----------------------------------------------------------------------------------*/ $theme_array = array("black"=>"Black Theme","white"=>"White Theme"); $font_array = array("DroidItalic"=>"DroidItalic","KnockOut"=>"KnockOut","M2p"=>"M2p","Mido"=>"Mido","MrsEvans"=>"MrsEvans","Palatino"=>"Palatino","PTSans"=>"PTSans","QuickSand"=>"QuickSand","Titillium"=>"Titillium","Vegur"=>"Vegur"); $order_array = array("rand"=>"Random","id"=>"Post-ID","date"=>"Post Date","title"=>"Post Title","modified"=>"Last modified"); $fontweight = array("1" => "Normal","2" => "Bold"); $slider_view = array("1" => "Only on Homepage","2" => "Site Wide"); $advance_header = array("1" => "Search Area","2" => "Advertisement Banner"); $seotitle = array("titledesc"=>"Site Title - Site Description","desctitle"=>"Site Description - Site Title","title"=>"Title"); $singleseotitle = array("titledesc1"=>"Site Title - Post Title","desctitle1"=>"Post Title - Site Title","title1"=>"Post Title"); $seoed = array("true" => "Enable","false" => "Disable"); $indexcat = array("index" => "index","noindex" => "noindex"); $indextag = array("index" => "index","noindex" => "noindex"); $indexauthor = array("index" => "index","noindex" => "noindex"); $indexdate = array("index" => "index","noindex" => "noindex"); $indexsearch = array("index" => "index","noindex" => "noindex"); // Pull all the categories into an array // The Options $options = array(); $options[] = array( "name" => __('Global','mm'), "id"=>"Global", "type" => "section", "icon" => "gear_in.png"); $options[] = array( "type" => "open"); $options[] = array( "name" => __('Global Options','mm'), "desc" => __('Upload Logo: Upload your own Logo to use as Site Logo. (for bestfit: 234px x 88px)

Upload Favicon: Upload a 16px x 16px Png/Gif image that will represent your website\'s favicon.

Analytics Tracking Code: Insert Analytics Tracking Code

Copyright Text: Insert Copyright Text ','mm'), "id"=>"subhead_general_logo", "type" => "subhead"); $options[] = array( "name" => __('Upload Logo','mm'), "id" => $shortname."_custom_logo", "std" => "", "type" => "upload"); $options[] = array( "name" => __('Upload Favicon','mm'), "id" => $shortname."_favicon", "std" => "", "type" => "upload"); $options[] = array( "name" => __('Analytics Tracking Code','mm'), "id" => $shortname."_track_code", "type" => "textarea", "std" => "", "rows"=> 4 ); $options[] = array( "name" => __('Copyright Text','mm'), "id" => $shortname."_copy_text", "type" => "textarea", "std" => "", "rows"=> 4 ); $options[] = array( "type" => "close"); // Create the General Tab $options[] = array( "name" => __('Homepage','mm'), "id"=>"general", "type" => "section", "icon" => "house.png"); $options[] = array( "type" => "open"); $options[] = array( "name" => __('Featured Slider','mm'), "desc" => __('Featured Area: Turn ON or OFF Slider

Featured Category: This slider show posts from selected category, So you can select the category here.
','mm'), "id"=>"subhead_f_slider", "type" => "subhead"); $options[] = array( "name" => __('Featured Slider','mm'), "id" => $shortname."_featured_slider", "type" => "checkbox", "std" => "true"); $options[] = array( "name" => __('Featured Slider Category','mm'), "id" => "slider_cats_area", "type" => "select", "options" => $options_categories); $options[] = array( "type" => "close"); $options[] = array( "name" => __('Single','mm'), "id"=>"Single", "type" => "section", "icon" => "page_white_edit.png"); $options[] = array( "type" => "open"); $options[] = array( "name" => __('Single Post Settings','mm'), "id"=>"subhead_singlepost", "desc" => __('Small Sidebar on Left: You can use this to turn of this part from the single post article.
"by admin - on Dec 20th 2011 - No Comments 0 Views"
This option is just for Single article area. So disabling this will hide meta data from single article but not from homepage.

Related Posts: Turn ON or OFF Recent Post Below Post.

How many Related Posts?: Type the number of posts that you want in related post. - DEFAULT: 3
','mm'), "type" => "subhead"); $options[] = array( "name" => __('Small Sidebar on Left','mm'), "id" => $shortname."_meta_data", "type" => "checkbox", "std" => "true"); $options[] = array( "name" => __('Related Posts','mm'), "id" => $shortname."_related_posts", "type" => "checkbox", "std" => "true"); $options[] = array( "name" => __('How many Related Posts?','mm'), "id" => $shortname."_relatedpost_number", "type" => "text", "std" => "3",); $options[] = array( "type" => "close"); // Create the Font Tab $options[] = array( "name" => __('Fonts','mm'), "id"=> $shortname."_header_font", "type" => "section", "icon" => "font_colors.png"); $options[] = array( "type" => "open"); $options[] = array( "name" => __('Font Settings','mm'), "desc" => __('Link Font Color: Change Link Hover Font Color (Default Color is #236CBF)

Link Font Hover Color: Change Link Font Color (Default Color is #236CBF)

Single PostTitle fonts: Select your H1 font from Google Font API. See all Google Fonts

Font size for Single post content: Select the fontsize for article content in px - DEFAULT: 15px

','mm'), "id"=>"subhead_singlepost", "type" => "subhead"); $options[] = array( "name" => __('Link Font Color','mm'), "id" => $shortname."_body_link_color", "type" => "colorpicker", "std" => "#236CBF"); $options[] = array( "name" => __('Link Font Hover Color','mm'), "id" => $shortname."_body_link_hover_color", "type" => "colorpicker", "std" => "#236CBF"); $options[] = array( "name" => __('Single PostTitle fonts','mm'), "id" => $shortname."_body_postpage_font", "std" => "Lato, sans-serif", "type" => "font"); $options[] = array( "name" => __('Font size for Single post content','mm'), "id" => $shortname."_postcontent_font_size", "type" => "slider", "step" => "1", "mmtheme" => "15", "min" => "1", "std" => "15"); $options[] = array( "name" => __('H1 Font','mm'), "desc" => __('H1 Font Family: Select your H1 font from Google Font API. See all Google Fonts

H1 Font Size: Select the fontsize for H1 in px (Default is 25)

H1 Font Font Color: Change H1 Font Color (Default Color is #000000)

','mm'), "id"=>"subhead_font_main", "type" => "subhead"); $options[] = array( "name" => __('H1 Font Family','mm'), "id" => $shortname."_body_h1_font", "std" => "Arial,Helvetica,sans-serif", "type" => "font"); $options[] = array( "name" => __('H1 Font Size','mm'), "id" => $shortname."_body_h1_font_size", "type" => "slider", "step" => "1", "mmtheme" => "60", "min" => "1", "std" => "25"); $options[] = array( "name" => __('H1 Font Font Color','mm'), "id" => $shortname."_body_h1_font_color", "type" => "colorpicker", "std" => "#000"); $options[] = array( "name" => __('H2 Font','mm'), "desc" => __('H2 Font Family: Select your H2 font from Google Font API. See all Google Fonts

H2 Font Size: Select the fontsize for H2 in px (Default is 24)

H2 Font Font Color: Change H2 Font Color (Default Color is #000000)

','mm'), "id"=>"subhead_font_main", "type" => "subhead"); $options[] = array( "name" => __('H2 Font Family','mm'), "id" => $shortname."_body_h2_font", "std" => " Arial,Helvetica,sans-serif", "type" => "font"); $options[] = array( "name" => __('H2 Font Size','mm'), "id" => $shortname."_body_h2_font_size", "type" => "slider", "step" => "1", "mmtheme" => "60", "min" => "1", "std" => "24"); $options[] = array( "name" => __('H2 Font Font Color','mm'), "id" => $shortname."_body_h2_font_color", "type" => "colorpicker", "std" => "#000"); $options[] = array( "name" => __('H3 Font','mm'), "id"=>"subhead_font_main", "desc" => __('H3 Font Family: Select your H3 font from Google Font API. See all Google Fonts

H3 Font Size: Select the fontsize for H3 in px (Default is 24)

H3 Font Font Color: Change H3 Font Color (Default Color is #000000)

','mm'), "type" => "subhead"); $options[] = array( "name" => __('H3 Font Family','mm'), "id" => $shortname."_body_h3_font", "std" => " Arial,Helvetica,sans-serif", "type" => "font"); $options[] = array( "name" => __('H3 Font Size','mm'), "id" => $shortname."_body_h3_font_size", "type" => "slider", "step" => "1", "mmtheme" => "60", "min" => "1", "std" => "24"); $options[] = array( "name" => __('H3 Font Font Color','mm'), "id" => $shortname."_body_h3_font_color", "type" => "colorpicker", "std" => "#000"); $options[] = array( "name" => __('H4 Font','mm'), "desc" => __('H4 Font Family: Select your H4 font from Google Font API. See all Google Fonts

H4 Font Size: Select the fontsize for H4 in px (Default is 21)

H4 Font Font Color: Change H4 Font Color (Default Color is #000000)

','mm'), "id"=>"subhead_font_main", "type" => "subhead"); $options[] = array( "name" => __('H4 Font Family','mm'), "id" => $shortname."_body_h4_font", "std" => " Arial,Helvetica,sans-serif", "type" => "font"); $options[] = array( "name" => __('H4 Font Size','mm'), "id" => $shortname."_body_h4_font_size", "type" => "slider", "step" => "1", "mmtheme" => "60", "min" => "1", "std" => "21"); $options[] = array( "name" => __('H4 Font Font Color','mm'), "id" => $shortname."_body_h4_font_color", "type" => "colorpicker", "std" => "#000"); $options[] = array( "name" => __('H5 Font','mm'), "desc" => __('H5 Font Family: Select your H5 font from Google Font API. See all Google Fonts

H5 Font Size: Select the fontsize for H5 in px (Default is 16)

H5 Font Font Color: Change H5 Font Color (Default Color is #000000)

','mm'), "id"=>"subhead_font_main", "type" => "subhead"); $options[] = array( "name" => __('H5 Font Family','mm'), "id" => $shortname."_body_h5_font", "std" => " Arial,Helvetica,sans-serif", "type" => "font"); $options[] = array( "name" => __('H5 Font Size','mm'), "id" => $shortname."_body_h5_font_size", "type" => "slider", "step" => "1", "mmtheme" => "60", "min" => "1", "std" => "16"); $options[] = array( "name" => __('H5 Font Font Color','mm'), "id" => $shortname."_body_h5_font_color", "type" => "colorpicker", "std" => "#000"); $options[] = array( "name" => __('H6 Font','mm'), "desc" => __('H6 Font Family: Select your H6 font from Google Font API. See all Google Fonts

H6 Font Size: Select the fontsize for H6 in px (Default is 14)

H6 Font Font Color: Change H6 Font Color (Default Color is #000000)

','mm'), "id"=>"subhead_font_main", "type" => "subhead"); $options[] = array( "name" => __('H6 Font Family','mm'), "id" => $shortname."_body_h6_font", "std" => " Arial,Helvetica,sans-serif", "type" => "font"); $options[] = array( "name" => __('H6 Font Size','mm'), "id" => $shortname."_body_h6_font_size", "type" => "slider", "step" => "1", "mmtheme" => "60", "min" => "1", "std" => "14"); $options[] = array( "name" => __('H6 Font Font Color','mm'), "id" => $shortname."_body_h6_font_color", "type" => "colorpicker", "std" => "#000"); $options[] = array( "type" => "close"); // Create the Social Tab $options[] = array( "name" => __('Social','mm'), "id"=> $shortname."_social_homepage", "type" => "section", "icon" => "twitter.png"); $options[] = array( "type" => "open"); $options[] = array( "name" => __('Social Profile Settings','mm'), "desc" => __('Enable & Disable to show or hide the Specific button. Another input area is for adding your profile url. These are very easy options so i hope you will understand them.','mm'), "id"=>"", "type" => "subhead"); $options[] = array( "name" => __('Facebook','mm'), "desc" => __('Turn ON or OFF Facebook Logo','mm'), "id" => $shortname."_social2_on_off", "type" => "checkbox", "std" => "true", ); $options[] = array( "name" => __('Facebook Profile Url','mm'), "id" => $shortname."_social2_link", "type" => "select", "type" => "text", "std" => "http://www.facebook.com/pages/Magazine3/145942342122558",); $options[] = array( "name" => __('Flickr','mm'), "desc" => __('Turn ON or OFF Flickr Logo','mm'), "id" => $shortname."_social3_on_off", "type" => "checkbox", ); $options[] = array( "name" => __('Flickr Profile Url','mm'), "id" => $shortname."_social3_link", "type" => "select", "type" => "text", "std" => "#",); $options[] = array( "name" => __('Google+','mm'), "desc" => __('Turn ON or OFF Google+ Logo','mm'), "id" => $shortname."_social5_on_off", "type" => "checkbox",); $options[] = array( "name" => __('Google+ Profile Url','mm'), "id" => $shortname."_social5_link", "type" => "select", "type" => "text", "std" => "#",); $options[] = array( "name" => __('LinkedIn','mm'), "desc" => __('Turn ON or OFF LinkedIn Logo','mm'), "id" => $shortname."_social6_on_off", "type" => "checkbox",); $options[] = array( "name" => __('LinkedIn Profile Url','mm'), "id" => $shortname."_social6_link", "type" => "select", "type" => "text", "std" => "#",); $options[] = array( "name" => __('Pinterest ','mm'), "desc" => __('Turn ON or OFF Pinterest Logo','mm'), "id" => $shortname."_social7_on_off", "type" => "checkbox",); $options[] = array( "name" => __('Pinterest Profile Url','mm'), "id" => $shortname."_social7_link", "type" => "select", "type" => "text", "std" => "#",); $options[] = array( "name" => __('RSS','mm'), "desc" => __('Turn ON or OFF RSS Logo','mm'), "id" => $shortname."_social8_on_off", "type" => "checkbox",); $options[] = array( "name" => __('RSS Profile Url','mm'), "id" => $shortname."_social8_link", "type" => "select", "type" => "text", "std" => "#",); $options[] = array( "name" => __('Twitter','mm'), "desc" => __('Turn ON or OFF Twitter Logo','mm'), "id" => $shortname."_social10_on_off", "std" => "true", "type" => "checkbox",); $options[] = array( "name" => __('Twitter Profile Url','mm'), "id" => $shortname."_social10_link", "type" => "select", "type" => "text", "std" => "http://twitter.com/m3themes",); $options[] = array( "name" => __('Vimeo','mm'), "desc" => __('Turn ON or OFF Vimeo Logo','mm'), "id" => $shortname."_social11_on_off", "type" => "checkbox",); $options[] = array( "name" => __('Vimeo Profile Url','mm'), "id" => $shortname."_social11_link", "type" => "select", "type" => "text", "std" => "#",); $options[] = array( "name" => __('Youtube','mm'), "desc" => __('Turn ON or OFF Youtube Logo','mm'), "id" => $shortname."_social12_on_off", "type" => "checkbox",); $options[] = array( "name" => __('Youtube Profile Url','mm'), "id" => $shortname."_social12_link", "type" => "select", "type" => "text", "std" => "#",); $options[] = array( "type" => "close"); $options[] = array( "name" => __('Ads','mm'), "id"=> $shortname."_advet", "type" => "section", "icon" => "advertising.png"); $options[] = array( "type" => "open"); $options[] = array( "name" => __('Blocks info','mm'), "id"=>"subhead_block1", "type" => "subhead4"); $options[] = array( "name" => __('Advertisement Settings','mm'), "desc" => __('Advertisement Slot: Turn ON or OFF Advertisement Slot

Text Area below it: is where you paste the code. ','mm'), "id"=>"", "type" => "subhead"); $options[] = array( "name" => __('Advertisement Slot #1 ','mm'), "id" => $shortname."_ad_1_on_off", "type" => "checkbox", ); $options[] = array( "desc" => __('728x90 (On very top of the website)','mm'), "id" => $shortname."_ad_1", "type" => "select", "type" => "textarea", "std" => "", "rows"=> 4 ); $options[] = array( "name" => __('Advertisement Slot #2 ','mm'), "desc" => __('Turn ON or OFF Advertisement Slot 2','mm'), "id" => $shortname."_ad_2_on_off", "type" => "checkbox", ); $options[] = array( "desc" => __('728x90 (Below Navigation - Sitewide)','mm'), "id" => $shortname."_ad_2", "type" => "select", "type" => "textarea", "std" => "", "rows"=> 4 ); $options[] = array( "name" => __('Advertisement Slot #3','mm'), "desc" => __('Turn ON or OFF Advertisement Slot 3','mm'), "id" => $shortname."_ad_3_on_off", "type" => "checkbox", ); $options[] = array( "desc" => __('728x90 (Below the Featured Section - Homepage)','mm'), "id" => $shortname."_ad_3", "type" => "select", "type" => "textarea", "std" => "", "rows"=> 4 ); $options[] = array( "name" => __('Advertisement Slot #4 ','mm'), "desc" => __('Turn ON or OFF Advertisement Slot 4','mm'), "id" => $shortname."_ad_4_on_off", "type" => "checkbox", ); $options[] = array( "desc" => __('Top of Single Posts','mm'), "id" => $shortname."_ad_4", "type" => "select", "type" => "textarea", "std" => "", "rows"=> 4 ); $options[] = array( "name" => __('Advertisement Slot #5 ','mm'), "desc" => __('Turn ON or OFF Advertisement Slot 5','mm'), "id" => $shortname."_ad_5_on_off", "type" => "checkbox", ); $options[] = array( "desc" => __('Bottom of Single Posts','mm'), "id" => $shortname."_ad_5", "type" => "select", "type" => "textarea", "std" => "", "rows"=> 4 ); $options[] = array( "name" => __('Advertisement Slot #6 ','mm'), "desc" => __('Turn ON or OFF Advertisement Slot 6','mm'), "id" => $shortname."_ad_6_on_off", "type" => "checkbox", ); $options[] = array( "desc" => __('Above the footer','mm'), "id" => $shortname."_ad_6", "type" => "select", "type" => "textarea", "std" => "", "rows"=> 4 ); $options[] = array( "type" => "close"); $options[] = array( "name" => __('SEO','mm'), "id"=> $shortname."_advance", "type" => "section", "icon" => "advance.png"); $options[] = array( "type" => "open"); $options[] = array( "name" => __('Global SEO Settings','mm'), "id"=>"global_seo", "type" => "subhead2"); $options[] = array( "name" => __('Global SEO Settings','mm'), "desc" => __(' Magazine3 SEO: If you wish to use 3rd party SEO plugins, then Disable the "Magazine3 SEO".

Title: As the name implies, this will be the title of your homepage. This is independent of any other option. If not set, the default blog title will get used.

Meta Description: The META description for your homepage. Independent of any other options, the default is no META description at all if this is not set.

Keywords: A comma separated list of your most important keywords for your site that will be written as META keywords on your homepage. Dont stuff everything in here.

Seperator: This is the seprator between title & description.

Canonical: This option will automatically generate Canonical URLS for your entire WordPress installation. This will help to prevent duplicate content penalties by Google.
','mm'), "id"=>"global_seo", "type" => "subhead"); $options[] = array( "name" => __('Magazine3 SEO','mm'), "desc" => __('To use 3rd party seo plugins, Disable this option ','mm'), ); $options[] = array( "name" => __('Magazine3 SEO','mm'), "desc" => __('To use 3rd party seo plugins, Disable this option ','mm'), "id" => $shortname."_seo_on_off", "type" => "select", "options" => $seoed, "std" => "true"); $options[] = array( "name" => __('Title','mm'), "id" => "blogname", "type" => "text", "std" => "",); $options[] = array( "name" => __('Meta Description','mm'), "desc" => __('Description for SEO','mm'), "id" => "blogdescription", "type" => "select", "type" => "textarea", "std" => "", "rows"=> 6 ); $options[] = array( "name" => __('Keywords','mm'), "id" => $shortname."_homepage-seo-keyword", "type" => "select", "type" => "text", "std" => "",); $options[] = array( "name" => __('Seperator','mm'), "id" => $shortname."_homepage-seo-sep", "type" => "text", "std" => " - ",); $options[] = array( "name" => __(' Canonical','mm'), "desc" => __('Turn ON or OFF Canonical Settings','mm'), "id" => $shortname."_canonical_on_off", "type" => "checkbox", "std" => "true"); $options[] = array( "name" => __('Homepage Setttings','mm'), "id"=>"subhead_general_logo", "desc" => __('Home Title Format: Define the order the title, description and meta data appears in. ','mm'), "type" => "subhead"); $options[] = array( "name" => __('Home Title Format','mm'), "id" => $shortname."_seo_home_title", "options" => $seotitle, "std" => "title", "type" => "select"); $options[] = array( "name" => __('Single Setttings','mm'), "id"=>"subhead_general_logo", "desc" => __('Single Title Format: Define the order the title, description and meta data appears in. ','mm'), "type" => "subhead"); $options[] = array( "name" => __('Single Title Format','mm'), "id" => $shortname."_seo_single_title", "options" => $singleseotitle, "std" => "desctitle1", "type" => "select"); $options[] = array( "name" => __('Index Setttings','mm'), "id"=>"subhead_general_logo", "desc" => __('Select which archives to index on your site. Aids in removing duplicate content from being indexed, preventing content dilution.','mm'), "type" => "subhead"); $options[] = array( "name" => __('Category Archives','mm'), "id" => $shortname."_seo_index_category", "type" => "select", "options" => $indexcat, "std" => "index"); $options[] = array( "name" => __('Tag Archives','mm'), "id" => $shortname."_seo_index_tag", "type" => "select", "options" => $indextag, "std" => "index"); $options[] = array( "name" => __('Author Archives','mm'), "id" => $shortname."_seo_index_author", "type" => "select", "options" => $indexauthor, "std" => "index"); $options[] = array( "name" => __('Date Archives','mm'), "id" => $shortname."_seo_index_date", "type" => "select", "options" => $indexdate, "std" => "index"); $options[] = array( "name" => __('Search Results','mm'), "id" => $shortname."_seo_index_search", "type" => "select", "options" => $indexsearch, "std" => "index"); $options[] = array( "type" => "close"); // update Some Options update_option('mmtheme_template',$options); update_option('mmtheme_themename',$themename); update_option('mmtheme_shortname',$shortname); // Generate the admin menu function mmtheme_admin_add_admin() { $themename = get_option('mmtheme_themename'); $shortname = get_option('mmtheme_shortname'); $options = get_option('mmtheme_template'); if ( isset($_GET['page']) && $_GET['page'] == basename(__FILE__) ) { if ( 'save' == $_REQUEST['action'] ) { foreach ($options as $value) { if( $value['type'] == 'upload' ){ $overrides = array( 'test_form' => false); $upload = wp_handle_upload( $_FILES[ $value['id'] ], $overrides ); if( isset( $upload['url'] ) ){ update_option( $value['id']."_value", $upload['url'] ); } if( $_POST[ $value['id']."_delete" ] == 'true' ) { delete_option( $value['id']."_value" ); } } else { update_option( $value['id'], $_REQUEST[ $value['id'] ] ); } } header("Location: admin.php?page=mm.php&saved=true"); die; }else if( 'reset' == $_REQUEST['action'] ) { foreach ($options as $value) { delete_option( $value['id'] ); } header("Location: admin.php?page=mm.php&reset=true"); die; } } // Adds the menu page add_object_page('Theme Options', 'Theme Options', 'manage_options', basename(__FILE__), 'mmtheme_theme_admin', get_template_directory_uri() . '/includes/mm/images/m3-icon.png'); } // Add the Admin menu add_action('admin_init', 'mmtheme_admin_add_init'); add_action('admin_menu', 'mmtheme_admin_add_admin'); } /*-----------------------------------------------------------------------------------*/ /* Add some Filters to allow shortcodes in a Text Widget /*-----------------------------------------------------------------------------------*/ add_filter('widget_text', 'shortcode_unautop'); add_filter('widget_text', 'do_shortcode'); } ?>