function dd_profilepic() { if (function_exists("profile_picture_show")) { profile_picture_show(); } else { ?> <img src="http://www.gravatar.com/avatar/<?php echo md5(strtolower(trim(osc_item_contact_email()))); ?> ?s=80&d=<?php echo osc_current_web_theme_url('images/user-default.jpg'); ?> " /> <?php } }
<div id="sidebar"> <div class="widget hidden-xs"> <div class="profile-section"> <?php if (function_exists("profile_picture_show")) { ?> <?php profile_picture_show(); ?> <?php } else { ?> <img src="http://www.gravatar.com/avatar/<?php echo md5(strtolower(trim(osc_user_email()))); ?> ?s=150&d=<?php echo osc_current_web_theme_url('images/user-default.jpg'); ?> " class="img-responsive" /> <?php } ?> </div> </div> <?php if (osc_logged_user_id() != osc_user_id()) { ?> <?php if (osc_reg_user_can_contact() && osc_is_web_user_logged_in() || !osc_reg_user_can_contact()) { ?>