<img id="photo-img" src="<?php echo get_profile_picture($_SESSION['auth']['user_profile_picture']); ?> "> <div class="updateImg"> <input id="photo-input" type="file" name="photo"><br> <button id="upload-photo-btn" name="uploadPhoto">Upload Photo</button> </div> </div> <div class="box-subTitle"> Change your cover picture </div> <div class="box-updateImg"> <img id="cover-img" src="<?php echo get_cover_picture($_SESSION['auth']['user_secret_picture']); ?> "> <div class="updateImg"> <input id="cover-input" type="file" name="cover"><br> <button id="upload-cover-btn" name="uploadCover">Upload Cover</button> </div> </div> </div>
<div id="profile-cover" class="box"> <img src="<?php echo get_cover_picture($viewedUser['user_secret_picture']); ?> "> <div class="pc-footer"> <a href="profile.php?user_id=<?php echo $viewedUser['user_id']; ?> "> <img src="<?php echo get_profile_picture($viewedUser['user_profile_picture']); ?> "> </a> <?php echo $viewedUser['full_name']; ?> <?php if ($page['friend']['is_friend']) { ?> <div class="pc-is-friend"></div> <?php } ?> <div class="pc-actions"> <?php if ($page['is_me']) { ?> <div class="pca-icon change-cover-icon"><a href="account.php#images"></a></div> <?php