Subway Sandwich Calculator v2.5

">

For information and new versions, visit this plugin's page.

Set Your Colors

Color #1:
This sets the color of the tabs up on top that are not active, and the color of the font of the tab that is active.
Color #2:
This sets the color of the font of the tabs that aren’t active, the header background, the reset button font, resource box font and the borders all around.
Color #3:
This sets the color of the header font and all background colors with the exception the header background.
The Subway® Sandwich Calculator is powered by FastWeightLossDiet.org
Total Fat in grams; Sodium in milligrams
'; return $new_content ; } function fwld_style_gen(){ include("http://".$_SERVER['HTTP_HOST']."/fwld_style_gen.php?color1=".get_option('fwld_color_1')."&color2=".get_option('fwld_color_2')."&color3=".get_option('fwld_color_3')); } function fwld_generate_calculator($content) { if (strpos($content, "")) { $content_array = array(); $content_array = split("", $content); //$content_array[0] = rtrim(trim($content_array[0]), "

"); //$content_array[1] = ltrim(trim($content_array[1]), "

"); return $content_array[0] . fwld_style_gen() . calculator() . $content_array[1] ; } else { return $content; } } add_filter('the_content', 'fwld_generate_calculator'); add_action('admin_menu', 'fwld_add_option_pages'); ?>