"http://click.linksynergy.com/fs-bin/stat?id=uiuOb3Yu7Hg&offerid=146261&type=3&subid=0&tmpid=1826&RD_PARM1=", "affiliatetoken" => "uiuOb3Yu7Hg", "affiliatepartnerid" => "30", "tdwebsiteID" => "", "tdprogramID" => "23708", "dgmwrapper" => "", "displaystarrating" => "yes", "displayadvisoryrating" => "yes", "displaycategories" => "yes", "displayversion" => "yes", "displaydevelopername" => "yes", "displaysellername" => "yes", "displaygamecenterenabled" => "yes", "displayuniversal" => "yes", "displayreleasedate" => "yes", "displaysupporteddevices" => "yes", "displayfilesize" => "yes", "displayapptitle" => "yes", "displayitunestitle" => "yes", "displayitunestrackcount" => "yes", "displayitunesartistname" => "yes", "displayitunesfromalbum" => "yes", "displayitunesgenre" => "yes", "displayitunesreleasedate" => "yes", "displayitunesdescription" => "yes", "displayitunesexplicitwarning" => "yes", "itunesicon_to_use" => "100", "itunesicon_size_adjust" => "100", "itunesicon_iOS_size_adjust" => "50", "appstoreicon_to_use" => "512", "appicon_size_adjust" => "25", "appicon_iOS_size_adjust" => "12", "smaller_buy_button_iOS" => "yes", "max_description" => "300", "qty_of_apps" => "10", "ss_size" => "120", "cache_time_select_box" => (24*60*60), "cache_images_locally" => "1" ); update_option('appStore_options', $arr); } } // Init plugin options to white list our options function appStore_init(){ $settings = get_option('appStore_options'); if(!$settings) appStore_add_defaults(); register_setting( 'appStore_plugin_options', 'appStore_options', 'appStore_validate_options' ); } // Add menu page function appStore_add_options_page() { add_options_page('AppStore Assistant', 'AppStore Assistant', 'manage_options', __FILE__, 'appStore_render_form'); } // Render the Plugin options form function appStore_render_form() { ?>