function bizway_optionsframework_options_page() { $options = bizway_get_option('of_template'); $themename = bizway_get_option('of_themename'); ?> <div class="trail-notify"> <h1><?php _e('Get BizWay Responsive Theme PRO!', 'bizway'); ?> </h1> <p><?php _e('You are Using the FREE Version of BizWay Theme. Upgrade to Pro Version for extra features, Contact Page Template, Gallery Page, Multiple Color Skins, Full Featured Slider, Premium Support and much more.', 'bizway'); ?> </p> <a href="http://www.inkthemes.com/wp-themes/bizway-responsive-wordpress-theme/" target="blank"><?php _e('Upgrade to BizWay Theme PRO →', 'bizway'); ?> </a> </div> <div class="wrap" id="of_container"> <div id="of-popup-save" class="of-save-popup"> <div class="of-save-save">Options Updated</div> </div> <div id="of-popup-reset" class="of-save-popup"> <div class="of-save-reset">Options Reset</div> </div> <form action="" enctype="multipart/form-data" id="ofform"> <div id="header"> <div class="logo"> <h2><?php echo $themename; ?> Options</h2> </div> <a href="http://www.inkthemes.com" target="_new"> <div class="icon-option"> </div> </a> <div class="clear"></div> </div> <?php // Rev up the Options Machine $return = bizway_optionsframework_machine($options); ?> <div id="main"> <div id="of-nav"> <ul> <?php echo $return[1]; ?> </ul> </div> <div id="content"> <?php echo $return[0]; /* Settings */ ?> </div> <div class="clear"></div> </div> <div class="save_bar_top"> <img style="display:none" src="<?php echo get_template_directory_uri(); ?> /functions/images/loading-bottom.gif" class="ajax-loading-img ajax-loading-img-bottom" alt="Working..." /> <input type="submit" value="Save All Changes" class="button-primary" /> </form> <form action="<?php echo esc_attr($_SERVER['REQUEST_URI']); ?> " method="post" style="display:inline" id="ofform-reset"> <span class="submit-footer-reset"> <input name="reset" type="submit" value="Reset Options" class="button submit-button reset-button" onclick="return confirm('Click OK to reset. Any settings will be lost!');" /> <input type="hidden" name="of_save" value="reset" /> </span> </form> </div> <?php if (!empty($update_message)) { echo $update_message; } ?> <div style="clear:both;"></div> </div> <!--wrap--> <?php }
function bizway_optionsframework_options_page() { $options = bizway_options(); $themename = bizway_get_option('of_themename'); $pro_theme_url = 'http://www.inkthemes.com/wp-themes/simple-wordpress-theme/'; $pro_theme_demo = 'http://www.inkthemes.com/previews/?demo_id=96'; $site_url = 'http://www.inkthemes.com'; ?> <div class="bizway_advert" id="bizway_advert"> <div class="bizway_block_wrapper"> <h3><?php _e('bizway Pro Version Features', 'bizway'); ?> </h3> <div class="bizway_block block_two"> <ul> <li><div class="dashicons dashicons-controls-play"></div><?php _e('10 Built in Color Schemes', 'bizway'); ?> </li> <li><div class="dashicons dashicons-controls-play"></div><?php _e('PDF/Video Documentations', 'bizway'); ?> </li> <li><div class="dashicons dashicons-controls-play"></div><?php _e('Cool Styling Features', 'bizway'); ?> </li> <li><div class="dashicons dashicons-controls-play"></div><?php _e('Multiple Slider Options', 'bizway'); ?> </li> </ul> </div> <div class="bizway_block block_three"> <ul> <li><div class="dashicons dashicons-controls-play"></div><?php _e('Seo optimized Theme', 'bizway'); ?> </li> <li><div class="dashicons dashicons-controls-play"></div><?php _e('Translation Ready', 'bizway'); ?> </li> <li><div class="dashicons dashicons-controls-play"></div><?php _e('Improved Gallery Effect', 'bizway'); ?> </li> <li><div class="dashicons dashicons-controls-play"></div><?php _e('Gallery & Contact Page', 'bizway'); ?> </li> </ul> </div> <a href="<?php echo esc_url($pro_theme_demo); ?> " target="blank" class="btn btn-demo"><?php _e('View Pro Demo', 'bizway'); ?> </a> <a href="<?php echo esc_url($pro_theme_url); ?> " target="_blank" class="btn btn-upgrade"><?php _e('Upgrade to Pro', 'bizway'); ?> </a> </div> <div class="bizway_block block_four"> <img class="bizway_img_responsive " src="<?php echo get_template_directory_uri(); ?> /images/advert.png"> </div> </div> <div class="clear"></div> <div class="theme-option"> <div class="wrap" id="of_container"> <div id="of-popup-save" class="of-save-popup"> <div class="of-save-save"><?php _e('Options Updated', 'bizway'); ?> </div> </div> <div id="of-popup-reset" class="of-save-popup"> <div class="of-save-reset"><?php _e('Options Reset', 'bizway'); ?> </div> </div> <form action="" enctype="multipart/form-data" id="ofform"> <?php wp_nonce_field('bizwaytheme-update-option', 'bizway_option_nonce'); ?> <div id="header"> <div class="logo"> <h2><?php echo $themename; _e('Options', 'bizway'); ?> </h2> </div> <a href="http://www.inkthemes.com" target="_new"> <div class="icon-option"> </div> </a> <div class="clear"></div> </div> <?php // Rev up the Options Machine $return = bizway_optionsframework_machine($options); ?> <div id="main"> <div id="of-nav"> <ul> <?php echo $return[1]; ?> </ul> </div> <div id="content"> <?php echo $return[0]; /* Settings */ ?> </div> <div class="clear"></div> </div> <div class="save_bar_right save_bar_top"> <img style="display:none" src="<?php echo get_template_directory_uri(); ?> /functions/images/loading-bottom.gif" class="ajax-loading-img ajax-loading-img-bottom" alt="Working..." /> <input type="submit" value="<?php _e('Save All Changes', 'bizway'); ?> " class="button-primary" /> </div> </form> <div class="save_bar_left save_bar_top"> <form action="<?php echo esc_attr($_SERVER['REQUEST_URI']); ?> " method="post" style="display:inline" id="ofform-reset"> <span class="submit-footer-reset"> <input name="reset" type="submit" value="<?php _e('Reset Options', 'bizway'); ?> " class="button submit-button reset-button" onclick="return confirm('Click OK to reset. Any settings will be lost!');" /> <input type="hidden" name="of_save" value="reset" /> </span> </form> </div> <?php if (!empty($update_message)) { echo $update_message; } ?> <div style="clear:both;"></div> </div> </div> <div class="theme-notification"> <div class="notification-header"> <span class="wrap notification-heading"><h2><?php _e('Notifications', 'bizway'); ?> </h2></span> </div> <div class="postbox-container" id="main"> <div class="notification-box"> <h3><?php _e("Get Themes email updates and a free WordPress ebook", "bizway"); ?> </h3> <p><?php _e("We'll send you new updates about themes and WordPress and a free WordPress tips & tricks ebook!", 'bizway'); ?> </p> <div class = "form-container"> <form accept-charset="UTF-8" action="//www.formget.com/mailget/signups/subscribe/IjgwNCI_3D " name="mailget_form" method="post" onsubmit="return v_mailget()" > <div class="form-button-container"> <input name="utf8" type="hidden" value="?"/> <input name="subs_set_url" type="hidden" value="<?php echo esc_url($site_url); ?> "/> <input name="subs_name" type="text" placeholder="<?php _e('Your Name', 'bizway'); ?> " required /> <input name="subs_email" type="email" value="<?php echo get_option('admin_email', 'email address'); ?> " required/> </div> <input type="submit" value="Subscribe and get a free ebook" name="subscribe" class="button button-primary"> </form> </div> </div> <div class="horizontal-line"></div> <div> <h3><?php _e('Get the bizway Pro Theme', 'bizway'); ?> </h3> <p><?php _e('You are using the Lite Version of bizway Theme. Upgrade to Pro for extra features like Home Page Slider Contact Page, Gallery Features, Portfolio Page Template, FullWidth Page Templates, Multiple Color Options and much more.', 'bizway'); ?> </p> <a class="button-primary" href="<?php echo esc_url($pro_theme_url); ?> " target="_blank"><?php _e('Get the bizway Pro', 'bizway'); ?> </a> </div> <div class="horizontal-line"></div> <div> <h3><?php _e('Rate us on WordPress.org ', 'bizway'); ?> </h3> <p><?php _e('Get Best Theme support. We are always ready to solve your queries. Just started your query at InkThemes.com', 'bizway'); ?> </p> <a class="button-primary" href="<?php echo esc_url('http://www.inkthemes.com/community'); ?> " target="_blank"><?php _e('Get Free Support', 'bizway'); ?> </a> </div> </div> </div> <!--wrap--> <?php }