Location: PHPKode > projects > ProjectPress > projectpress/pm-includes/sidebar.php
<?php if(!defined('access')) die ('You are not allowed to execute this file directly.'); ?>

			<div id="mainRightSidebar">
			<?php if($_GET['username']) { ?>

				<div id="avatar">
					<?php _e(get_user_avatar($_GET['username'],get_email($_GET['username']),100)); ?>
				</div> <!--Ends mainLeftSidebar avatar-->

				<div id="status">
					<?php _e(userOnline($_GET['username'])); ?>
				</div> <!--Ends mainLeftSidebar status-->

				<div id="profile-info">
					<ul>
						<?php if($_SESSION['level'] == 1) { ?>
						<li><a href="<?php _e(PM_URI); ?>/admin/edit_member.php?username=<?php _e($_GET['username']); ?>">Edit User's Info</a></li>
						<?php } ?>
					</ul>
				</div>
			<?php } ?>
			
<?php if($_GET['p_id']) { ?>
				<div id="projLeader">
				<div class="bar">
				<div class="barTitle"><h4 class="uiHeaderTitle">Project Leader</h4></div>
				<div class="barLink"><a rel="leadbox" class="gl_cancel" href="javascript:void(0)">Cancel</a></div>
				</div>
				<div class="break"></div>
			<div align="left">
				<!--<form action="" method="post" name="LeadForm" id="LeadForm">
					<input id="gl_user" name="gl_user" maxlength="40" value="" />
					<input type="hidden" id="group_id" name="group_id" value="<?php echo $_GET['p_id']; ?>" />
					<div id="LeadBox">
						<a id="AddLead" class="small button comment"> Add Leader</a>
					</div>
				</form>-->
				<br clear="all" />
				<div id="ShowLead" align="center">
					<?php get_project_leader(); ?>
				</div>
				</div>
				</div><!--Ends projLeader-->
<?php } ?>
				
				<div id="news">
				<div class="bar">
				<div class="barTitle">News</div>
				<div class="barLink"><a href="<?php _e(PM_URI); ?>/news/news.php">See All</a></div>
				</div>
				<div class="break"></div>
					<ul>
						<?php _e(get_news()); ?>
					</ul>
				</div><!--Ends news-->
				
				<div id="forum">
				<div class="bar">
				<div class="barTitle">Forum</div>
				<div class="barLink"><a href="<?php _e(PM_URI); ?>/forum/forum.php">See All</a></div>
				</div>
				<div class="break"></div>
					<ul>
						<?php _e(get_forum_replies()); ?>
					</ul>
				</div><!--Ends forum-->

			</div> <!--Ends mainRightSidebar-->
Return current item: ProjectPress