remove old readme
[atutor.git] / docs / mods / _standard / social / activities.php
1 <?php
2 /****************************************************************/
3 /* ATutor                                                                                                               */
4 /****************************************************************/
5 /* Copyright (c) 2002-2009                                                                              */
6 /* Inclusive Design Institute                                   */
7 /* http://atutor.ca                                                                                             */
8 /*                                                              */
9 /* This program is free software. You can redistribute it and/or*/
10 /* modify it under the terms of the GNU General Public License  */
11 /* as published by the Free Software Foundation.                                */
12 /****************************************************************/
13 // $Id$
14 $_user_location = 'public';
15
16 define('AT_INCLUDE_PATH', '../../../include/');
17 require(AT_INCLUDE_PATH.'vitals.inc.php');
18 require(AT_SOCIAL_INCLUDE.'constants.inc.php');
19 require(AT_SOCIAL_INCLUDE.'friends.inc.php');
20 //require(AT_SOCIAL_INCLUDE.'classes/PrivacyControl/PrivacyObject.class.php');
21 //require(AT_SOCIAL_INCLUDE.'classes/PrivacyControl/PrivacyController.class.php');
22 $_custom_css = $_base_path . AT_SOCIAL_BASENAME. 'module.css'; // use a custom stylesheet
23
24 $actvity_obj = new Activity();
25
26 include(AT_INCLUDE_PATH.'header.inc.php');
27 $savant->display('pubmenu.tmpl.php');
28 $savant->assign('activities', $actvity_obj->getFriendsActivities($_SESSION['member_id'], true));
29 $savant->display('activities.tmpl.php');
30 include(AT_INCLUDE_PATH.'footer.inc.php');
31 ?>