/**
         * @Module Pagination 
         */
        public function mb_module_pagination()
        {
            $obj = new MB_FormProcess();
            ?>
            <ul><?php 
            $obj->form_process_mb_menu();
            ?>
</ul>
            <?php 
        }
        /**
         * @Flickr settings
         * @return {HTML}
         */
        public static function mb_prepare_settings()
        {
            $obj = new MB_FormProcess();
            $obj->form_process_wrapper_start(array('id' => 'mb-flickr', 'class' => 'mb-flickr', 'display' => 'none', 'attr' => array()));
            $obj->form_process_tab(array('name' => 'API Settings', 'id' => 'mb_mailchimp', 'std' => '', 'desc' => '', 'meta' => ''));
            $obj->form_process_text(array('name' => 'Flickr Key', 'id' => 'mb_flickr_key', 'std' => '', 'desc' => 'Please add flickr key here.', 'meta' => ''));
            $obj->form_process_text(array('name' => 'Flickr Secret', 'id' => 'mb_flickr_secret', 'std' => '', 'desc' => 'Please add flickr secret here.', 'meta' => ''));
            $obj->form_process_tab(array('name' => 'How To Use?', 'id' => 'mb_flickr', 'std' => '', 'desc' => '', 'meta' => ''));
            $obj->form_process_note(array('name' => 'Note', 'id' => 'mb-flickr-note', 'std' => '', 'desc' => '<ul>
                                    <li>To Show Flickr Gallery as widget Go to widgets and add in any sidebar</li> 
                                    <li>To use shortcode go to any page and add shortcode from Tinymce toolbar or copy : [mb_flickr title="Title Here" view="list" username="" no_of_photos="5"] and paste it in WP Editor.</li>
                                    <li>OR by directly adding following lines to any php file : <?php do_shortcode("[mb_flickr title="Title Here" view="list" username="" no_of_photos="5"]"); ?></li>
</ul>', 'meta' => ''));
            $obj->form_process_tab(array('name' => 'Element Settings?', 'id' => 'mb-flickr', 'std' => '', 'desc' => '', 'meta' => ''));
            $obj->form_process_note(array('name' => 'Note', 'id' => 'mb-flickr-note', 'std' => '', 'desc' => '<ul>
                                        <li>title : Add Title</li>
                                        <li>view : Flickr Gallery listing type, To show as slider set as: "slider" or for simple listing as: "list"</li>
                                        <li>username : Flickr Gallery user name for photos. eg: "envato"</li>
                                        <li>no_of_photos : To show number of photos eg: "5"</li>
                                    </ul>', 'meta' => ''));
            $obj->form_process_wrapper_end(array('id' => 'mb-flickr', 'class' => 'mb-flickr', 'display' => 'none', 'attr' => array()));
        }
        /**
         * @Mailchimp settings
         * @return {HTML}
         */
        public static function mb_prepare_settings()
        {
            $obj = new MB_FormProcess();
            $obj->form_process_wrapper_start(array('id' => 'mb-mailchimp', 'class' => 'mb-mailchimp', 'display' => 'block', 'attr' => array()));
            $obj->form_process_tab(array('name' => 'API Settings', 'id' => 'mb_mailchimp', 'std' => '', 'desc' => '', 'meta' => ''));
            $obj->form_process_text(array('name' => 'Mailchimp Key', 'id' => 'mb_mailchimp_key', 'std' => '', 'desc' => 'Please add Mailchimp key. For Demo Use: e12c8ee5546cf3134b83f02b8b12702e-us11', 'meta' => ''));
            $obj->form_process_select(array('name' => 'Mailchimp List', 'id' => 'mb_mailchimp_list', 'std' => '', 'desc' => 'Select Mailchimp list for newsletters.', 'meta' => '', 'options' => Mb_Modules_Configuration::prepare_mailchimp_options()));
            $obj->form_process_tab(array('name' => 'How to Use?', 'id' => 'mb-mailchimp', 'std' => '', 'desc' => '', 'meta' => ''));
            $obj->form_process_note(array('name' => 'Note', 'id' => 'mb-mailchimp-note', 'std' => '', 'desc' => '<ul>
                                    <li>To Show Mailchimp form as widget Go to widgets and add in any sidebar</li> 
                                    <li>To use shortcode go to any page and add shortcode from Tinymce toolbar or copy : [mb_mailchimp title="Title Here" firstname="on" lastname="on" success="" error=""] and paste it in WP Editor.</li>
                                    <li>OR by directly adding following lines to any php file : <?php do_shortcode("[mb_mailchimp title="Title Here" firstname="on" lastname="on" success="" error=""]"); ?></li>
</ul>', 'meta' => ''));
            $obj->form_process_tab(array('name' => 'Element Settings?', 'id' => 'mb-mailchimp', 'std' => '', 'desc' => '', 'meta' => ''));
            $obj->form_process_note(array('name' => 'Note', 'id' => 'mb-mailchimp-note', 'std' => '', 'desc' => '<ul>
                                        <li>title : Add Title</li>
                                        <li>firstname : To show first name in form set as : "on" or to hide as "off"</li>
                                        <li>lastname : To show last name in form set as : "on" or to hide as "off"</li>
                                        <li>success : To show message after successfully scbscribed.</li>
                                        <li>error : To show message if error occur during subscription.</li>
                                    </ul>', 'meta' => ''));
            $obj->form_process_wrapper_end(array('id' => 'mb-mailchimp', 'class' => 'mb-mailchimp', 'display' => 'block', 'attr' => array()));
        }
 /**
  * @Facebook settings
  * @return {HTML}
  */
 public static function mb_prepare_settings()
 {
     $obj = new MB_FormProcess();
     $obj->form_process_wrapper_start(array('id' => 'mb-facebook', 'class' => 'mb-facebook', 'display' => 'none', 'attr' => array()));
     $obj->form_process_tab(array('name' => 'Faceboook Like Button', 'id' => 'mb_facebook_like', 'std' => '', 'desc' => '', 'meta' => ''));
     $obj->form_process_note(array('name' => 'Note', 'id' => 'mb-facebook-note', 'std' => '', 'desc' => '<ul>
                             <li>To Show Facebook Like Button  as widget Go to widgets and add in any sidebar</li> 
                             <li>To use shortcode go to any page and add shortcode from Tinymce toolbar or copy : [mb_facebook_like title="Title Here" url_to_like="" mb_fb_like_layout="" fb_like_width="" fb_show_friends_faces="yes" mb_fb_include_button="no"] and paste it in WP Editor.</li>
                             <li>OR by directly adding following lines to any php file : <?php do_shortcode("[mb_facebook_like title="Title Here" url_to_like="" mb_fb_like_layout="" fb_like_width="" fb_show_friends_faces="yes" mb_fb_include_button="no"]"); ?></li>
                         </ul>', 'meta' => ''));
     $obj->form_process_note(array('name' => 'Note', 'id' => 'mb-fb-like-note', 'std' => '', 'desc' => '<ul>
                                 <li>title : Add Title</li>
                                 <li>url_to_like : Add Facebook Page URL to like eg : http://facebook.com/mypage</li>
                                 <li>mb_fb_like_layout : Different layouts as : "standard", "button_count", "box_count" or "button"</li>
                                 <li>fb_like_width : The pixel width of the embed (Min. 180 to Max. 500)</li>
                                 <li>fb_show_friends_faces : To show Friends faces after liking set as: "yes" or set as: "no"</li>
                                 <li>mb_fb_include_button : To include button set as: "yes" or set as: "no"a</li>
                             </ul>', 'meta' => ''));
     $obj->form_process_tab(array('name' => 'Faceboook Page', 'id' => 'mb_facebook_page', 'std' => '', 'desc' => '', 'meta' => ''));
     $obj->form_process_note(array('name' => 'Note', 'id' => 'mb-facebook-note', 'std' => '', 'desc' => '<ul>
                             <li>To Show Facebook Page as widget Go to widgets and add in any sidebar</li> 
                             <li>To use shortcode go to any page and add shortcode from Tinymce toolbar or copy : [mb_facebook_page title="Title Here" fb_page_url="" show_posts="" fb_show_friends_faces="" fb_small_header="" fb_hide_cover_photo=""] and paste it in WP Editor.</li>
                             <li>OR by directly adding following lines to any php file : <?php do_shortcode("[mb_facebook_page title="Title Here" fb_page_url="" fb_width="300" fb_page_url="600" show_posts="" fb_show_friends_faces="" fb_small_header="" fb_hide_cover_photo=""]"); ?></li>
                         </ul>'));
     $obj->form_process_note(array('name' => 'Note', 'id' => 'mb-fb-page-note', 'std' => '', 'desc' => '<ul>
                                 <li>title : Add Title</li>
                                 <li>fb_page_url : Add Facebook Page URL. eg : http://facebook.com/mypage</li>
                                 <li>fb_width : Add Facebook Page width. eg : 300</li>
                                 <li>fb_height : Add Facebook Page height. eg : 600</li>
                                 <li>show_posts : Show posts from the Pages timeline set as : "yes" or set as: "no"</li>
                                 <li>fb_show_friends_faces : To show Friends faces set as: "yes" or to hide as: "no"</li>
                                 <li>fb_small_header : Uses a smaller version of the page header set as : "yes" else set as : "no"</li>
                                 <li>fb_hide_cover_photo : To hide set as : "yes" or to show as :"no"</li>
                             </ul>', 'meta' => ''));
     $obj->form_process_tab(array('name' => 'Faceboook Share Button', 'id' => 'mb_facebook_share', 'std' => '', 'desc' => '', 'meta' => ''));
     $obj->form_process_note(array('name' => 'Note', 'id' => 'mb-facebook-note', 'std' => '', 'desc' => '<ul>
                             <li>To Show Facebook Share Button as widget Go to widgets and add in any sidebar</li> 
                             <li>To use shortcode go to any page and add shortcode from Tinymce toolbar or copy : [mb_facebook_share title="Title Here" fb_share_button_url="" mb_fb_share_layout=""] and paste it in WP Editor.</li>
                             <li>OR by directly adding following lines to any php file : <?php do_shortcode("[mb_facebook_share title="Title Here" fb_share_button_url="" mb_fb_share_layout=""]"); ?></li>
                         </ul>'));
     $obj->form_process_note(array('name' => 'Note', 'id' => 'mb-fb-share-note', 'std' => '', 'desc' => '<ul>
                                 <li>title : Add Title</li>
                                 <li>fb_share_button_url : Add Facebook Page URL. eg : http://facebook.com/mypage</li>
                                 <li>mb_fb_share_layout : Different layouts as : "button_count", "box_count", "button", "icon_link", "icon_link", "icon" or "link"</li>
                             </ul>', 'meta' => ''));
     $obj->form_process_tab(array('name' => 'Faceboook Send Button', 'id' => 'mb_facebook_share', 'std' => '', 'desc' => '', 'meta' => ''));
     $obj->form_process_note(array('name' => 'Note', 'id' => 'mb-facebook-note', 'std' => '', 'desc' => '<ul>
                             <li>To Show Facebook Send Button as widget Go to widgets and add in any sidebar</li> 
                             <li>To use shortcode go to any page and add shortcode from Tinymce toolbar or copy : [mb_facebook_send title="Title Here" fb_send_to_url=""] and paste it in WP Editor.</li>
                             <li>OR by directly adding following lines to any php file : <?php do_shortcode("[mb_facebook_send title="Title Here" fb_send_to_url=""]"); ?></li>
                         </ul>'));
     $obj->form_process_note(array('name' => 'Note', 'id' => 'mb-fb-send-note', 'std' => '', 'desc' => '<ul>
                                 <li>title : Add Title</li>
                                 <li>fb_send_to_url : Add Facebook Send To URL. eg : https://developers.facebook.com/docs/plugins/</li>
                              </ul>', 'meta' => ''));
     $obj->form_process_wrapper_end(array('id' => 'mb-facebook', 'class' => 'mb-facebook', 'display' => 'none'));
 }
        /**
         * @Twitter settings
         * @return {HTML}
         */
        public static function mb_prepare_settings()
        {
            $obj = new MB_FormProcess();
            $obj->form_process_wrapper_start(array('id' => 'mb-twitter', 'class' => 'mb-twitter', 'display' => 'none', 'attr' => array()));
            $obj->form_process_tab(array('name' => 'API Settings', 'id' => 'mb_mailchimp', 'std' => '', 'desc' => '', 'meta' => ''));
            $obj->form_process_text(array('name' => 'Consumer Key', 'id' => 'mb_twitter_key', 'std' => '', 'desc' => 'Enter your Twitter Consumer Key Here.', 'meta' => ''));
            $obj->form_process_text(array('name' => 'Consumer Key Secret', 'id' => 'mb_twitter_consumer_secret', 'std' => '', 'desc' => 'Enter Your Twitter Consumer Key Secret Here.', 'meta' => ''));
            $obj->form_process_text(array('name' => 'Consumer Key Token', 'id' => 'mb_twitter_access_token', 'std' => '', 'desc' => 'Enter Your Twitter Access Token Here.', 'meta' => ''));
            $obj->form_process_text(array('name' => 'Access Token Secret', 'id' => 'mb_access_token_secret', 'std' => '', 'desc' => 'Enter Your Access Token Secret Here.', 'meta' => ''));
            $obj->form_process_tab(array('name' => 'How To Use?', 'id' => 'mb_twitter', 'std' => '', 'desc' => '', 'meta' => ''));
            $obj->form_process_note(array('name' => 'Note', 'id' => 'mb-twitter-note', 'std' => '', 'desc' => '<ul>
                                    <li>To Show Tweets  as widget Go to widgets and add in any sidebar</li> 
                                    <li>To use shortcode go to any page and add shortcode from Tinymce toolbar or copy : [mb_tweets title="Title Here" view="list" username="" no_of_tweets="5"] and paste it in WP Editor.</li>
                                    <li>OR by directly adding following lines to any php file : <?php do_shortcode("[mb_tweets title="Title Here" view="list" username="" no_of_tweets="5"]"); ?></li>
</ul>', 'meta' => ''));
            $obj->form_process_tab(array('name' => 'Element Settings?', 'id' => 'mb-mailchimp', 'std' => '', 'desc' => '', 'meta' => ''));
            $obj->form_process_note(array('name' => 'Note', 'id' => 'mb-mailchimp-note', 'std' => '', 'desc' => '<ul>
                                        <li>title : Add Title</li>
                                        <li>view : Tweets listing type, To show as slider set as: "slider" or for simple listing as: "list"</li>
                                        <li>username : Twitter user name for tweets.eg: "envato"</li>
                                        <li>no_of_tweets : To show number of tweets eg: "5"</li>
                                    </ul>', 'meta' => ''));
            $obj->form_process_wrapper_end(array('id' => 'mb-twitter', 'class' => 'mb-twitter', 'display' => 'none', 'attr' => array()));
        }