<a href="<?php echo $base_URL; ?> profile/edit">(Edit your profile)</a> <?php } ?> </h2> <?php $profile_image_path = "/images/user/profile_" . $display_user->id . ".jpg"; ?> <h2><span class="hilight">Public Projects</span></h2> <?php $display_user->getDirectoryProjects(); if (count($display_user->projects) == 0) { echo "This user is not a member of any public projects."; } else { ?> <?php for ($i = 0; $i <= count($display_user->projects); $i++) { $this_project = new Project(); $this_project->populateFromId($display_user->projects[$i]); if ($this_project->title != "") { ?> <div class="projectList"> <h3><a href="<?php