Exemple #1
0
					<p><?php 
    echo $officer_name;
    ?>
</p>
				</a>
			</div>
			<h4> Members </h4>
			<?php 
    echo $group_member;
    ?>
		</div>
	</div>
<?php 
} else {
    //this is displayed when you first come to the group page all groups listed
    echo displayAllGroups($request_obj);
}
function updateGroupWeekday($request_obj)
{
    $col_select = "\n\t\tUPDATE groups \n\t\tSET weekday_id = :week\n\t\tWHERE group_id = :group\n\t";
    $up_array[':week'] = $_REQUEST['weekday'];
    $up_array[':group'] = $request_obj->arg[0];
    include "class/connect.php";
    $stmt = $pdo->prepare($col_select);
    $stmt->execute($up_array);
}
function updateGroupDiscription($request_obj)
{
    $col_select = "\n\t\tUPDATE  groups\n\t\tSET group_description = :disc\n\t\tWHERE group_id = :group\n\t";
    $up_array[':disc'] = $_REQUEST['discription'];
    $up_array[':group'] = $request_obj->arg[0];
                    <li><a href='activity.php'>Activity</a></li>
                    <li><a href='findMembers.php'>Find Members</a></li>
                    <li><a href='allChatRooms.php'>Chat</a></li>
                    <li><a href='thread.php'>Create Thread</a></li>
                    <li><a href='createLiveThread.php'>Create Live Thread</a></li>
                    <li class='dropdown'>
                        <a href='#' class='dropdown-toggle'>Me<b class='caret'></b></a>
                        <ul class='dropdown-menu'>
                            <li><a href='profile.php'>Profile</a></li>
                            <li><a href='photos.php'>My Photos</a></li>
                            <li><a href='viewWatching.php'>Watching</a></li>
                            <li><a href='viewWatchers.php'>My Watchers</a></li>
                            <li><a href='groups.php'>My Groups</a></li>
                            <li><a href='chooseThreads.php'>Choose Threads</a></li>				
                            <li><a href='messages.php'>Messages</a></li>
                            <li><a href='logout.php'>Log out</a></li>
                        </ul>
                    </li>
                </ul> 
                
            </div>
            </div>
        <div class='inputEverything'>
<?php 
displayAllGroups();
?>
             
        </div>
    </body>
</html>