</div> </div> <?php } } } } ?> <div class="cler"></div> </div> <!--HTML for displaying user posts--> <div class="my-post"> <?php $user_post_count = count_user_posts($current_id); //Fetches posts if ($user_post_count && checkfieldname("upb_postshowhide", "yes") == true) { ?> <h3>My Posts</h3> <p> <?php global $current_user; get_currentuserinfo(); $author_query = array('posts_per_page' => '-1', 'author' => $current_user->ID); $author_posts = new WP_Query($author_query); while ($author_posts->have_posts()) { $author_posts->the_post(); ?> <a href="<?php the_permalink(); ?> " title="<?php
if (checkfieldname("upb_facebook_login", "yes") == true) { echo "selected"; } ?> >Enable</option> <option value="no" <?php if (checkfieldname("upb_facebook_login", "no") == true) { echo "selected"; } ?> >Disable</option> </select> <br> <br> <div id="div_facebook_setting" style="display:<?php echo checkfieldname("upb_facebook_login", "yes") == true ? "block" : "none"; ?> ;"> <font id="generalSettingFont">Facebook App ID</font> <?php $qry = "SELECT value FROM {$upb_option} WHERE fieldname='upb_facebook_app_id'"; $data = $wpdb->get_var($qry); ?> <input type="text" name="facebook_app_id" id="facebook_app_id" style="width:300px;" value="<?php if (!empty($data)) { echo $data; } ?> "> <br> <br>
_e('Admin Email Notification:', $textdomain); ?> </div> </div> <div class="user-group-option crf-form-right-area"> <input name="admin_notification" id="admin_notification" type="checkbox" class="upb_toggle" value="yes" <?php if (checkfieldname("adminnotification", "yes") == true) { echo "checked"; } ?> style="display:none;"/> <label for="admin_notification"></label> </div> </div> <div id="notification_fun" <?php if (checkfieldname("adminnotification", "yes") == true) { echo 'style="display:block"'; } else { echo 'style="display:none"'; } ?> > <div class="option-main crf-form-setting"> <div class="user-group crf-form-left-area"> <div class="crf-label"> <?php _e('Admin Email:', $textdomain); ?> </div> </div> <div class="user-group-option crf-form-right-area">
?> " id="jabber" name="jabber"> </div> </div> <?php } ?> <div class="form-group"> <label for="avtar_image" class="col-xs-6">Display picture publicly as</label> <div class="col-xs-6"> <input type="file" onChange="return ValidateFileUpload()" value="" id="avtar_image" name="avtar_image"> </div> </div> <?php if (checkfieldname("upb_biographicalinfoshowhide", "yes") == true) { ?> <div class="form-group"> <label for="description">About Me</label> <div class="input-box"> <textarea cols="" rows="10" class="form-control" id="description" name="description"><?php echo $user_description; ?> </textarea> </div> </div> <?php } ?> <?php /*HTML for Showing custom fields on front end*/