Changeset 15 for trunk/inc/my
- Timestamp:
- 08/09/05 22:30:14 (7 years ago)
- Location:
- trunk/inc/my
- Files:
-
- 26 modified
-
album.inc.php (modified) (2 diffs)
-
album/edit.inc.php (modified) (2 diffs)
-
album/view.inc.php (modified) (2 diffs)
-
blog.inc.php (modified) (2 diffs)
-
blog/add.inc.php (modified) (2 diffs)
-
blog/categorie.inc.php (modified) (2 diffs)
-
blog/edit.inc.php (modified) (2 diffs)
-
blog/view.inc.php (modified) (2 diffs)
-
bookmarks.inc.php (modified) (2 diffs)
-
bookmarks/edit.inc.php (modified) (2 diffs)
-
password.inc.php (modified) (1 diff)
-
profile/contact.inc.php (modified) (2 diffs)
-
profile/contact/edit.inc.php (modified) (2 diffs)
-
profile/general.inc.php (modified) (2 diffs)
-
profile/general/edit.inc.php (modified) (2 diffs)
-
profile/interests.inc.php (modified) (2 diffs)
-
profile/interests/edit.inc.php (modified) (2 diffs)
-
profile/personal.inc.php (modified) (2 diffs)
-
profile/personal/edit.inc.php (modified) (2 diffs)
-
profile/photo.inc.php (modified) (1 diff)
-
profile/professional.inc.php (modified) (2 diffs)
-
profile/professional/edit.inc.php (modified) (2 diffs)
-
profile/schools.inc.php (modified) (2 diffs)
-
profile/schools/add.inc.php (modified) (1 diff)
-
profile/schools/edit.inc.php (modified) (2 diffs)
-
settings.inc.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/inc/my/album.inc.php
r1 r15 23 23 ******************** http://opensource.ikse.net/projects/dotnode ***/ 24 24 25 $ smarty->assign('Title','Album');25 $_SMARTY['Title'] = 'Album'; 26 26 27 27 $album_r = $db->query('SELECT id_image, width, height, format, caption FROM album WHERE id=? ORDER BY date DESC', $_SESSION['my_id'] ); … … 49 49 } 50 50 51 $ smarty->assign('my',$my);52 $ smarty->assign('album', $album);51 $_SMARTY['my'] = $my; 52 $_SMARTY['album'] = $album; 53 53 54 54 ?> -
trunk/inc/my/album/edit.inc.php
r1 r15 26 26 if( is_numeric($token[3]) ) 27 27 { 28 $ smarty->assign('Title','Album');28 $_SMARTY['Title'] = 'Album'; 29 29 30 30 $image =& $db->getRow('SELECT id_image, width, height, format, caption FROM album WHERE id=? ORDER BY date DESC LIMIT !,1' , array($_SESSION['my_id'], ($token[3]-1))); … … 49 49 $my['album']['thumb']['height'] = $thumb_height; 50 50 51 $ smarty->assign('my',$my);51 $_SMARTY['my'] = $my; 52 52 } 53 53 else -
trunk/inc/my/album/view.inc.php
r1 r15 26 26 if( is_numeric($token[3]) ) 27 27 { 28 $ smarty->assign('Title','Album');28 $_SMARTY['Title'] = 'Album'; 29 29 30 30 $image = $db->getRow('SELECT id_image, width, height, format, caption FROM album WHERE id=? ORDER BY date DESC LIMIT !,1', array($_SESSION['my_id'], ($token[3]-1)) ); … … 33 33 $my['album']['image']['path'] = build_album_url($_SESSION['my_id'], $image['id_image'], $image['format']); 34 34 35 $ smarty->assign('my',$my);35 $_SMARTY['my'] = $my; 36 36 } 37 37 else -
trunk/inc/my/blog.inc.php
r1 r15 23 23 ******************** http://opensource.ikse.net/projects/dotnode ***/ 24 24 25 $ smarty->assign('Title','Blog');25 $_SMARTY['Title'] = 'Blog'; 26 26 27 27 $blogs = $db->query('SELECT id_blog, blog.id_cat,title, chapeau, ticket, date, status, blog_categorie.name as categorie, nb_comments FROM blog LEFT JOIN blog_categorie USING (id,id_cat) WHERE blog.id=? ORDER BY date DESC', $_SESSION['my_id'] ); … … 42 42 $my['blog_url'] = $db->getOne('SELECT rss FROM rss_blog WHERE id=?', array($_SESSION['my_id'])); 43 43 44 $ smarty->assign('my',$my);44 $_SMARTY['my'] = $my; 45 45 46 46 -
trunk/inc/my/blog/add.inc.php
r1 r15 23 23 ******************** http://opensource.ikse.net/projects/dotnode ***/ 24 24 25 $ smarty->assign('Title', 'Write a new ticket');25 $_SMARTY['Title'] = 'Write a new ticket'; 26 26 27 27 $cats = $db->query('SELECT id_cat, name, comment FROM blog_categorie WHERE id=?', $_SESSION['my_id'] ); … … 38 38 } 39 39 40 $ smarty->assign('my',$my);40 $_SMARTY['my'] = $my; 41 41 42 42 -
trunk/inc/my/blog/categorie.inc.php
r1 r15 23 23 ******************** http://opensource.ikse.net/projects/dotnode ***/ 24 24 25 $ smarty->assign('Title',"Manage blog's categories");25 $_SMARTY['Title'] = "Manage blog's categories"; 26 26 $cats = $db->query('SELECT id_cat, name, comment FROM blog_categorie WHERE id=?', $_SESSION['my_id'] ); 27 27 … … 33 33 $my['blog']['categorie'][$cat['id_cat']] = $cat; 34 34 35 $ smarty->assign('my', $my);35 $_SMARTY['my'] = $my; 36 36 ?> -
trunk/inc/my/blog/edit.inc.php
r1 r15 26 26 if( is_numeric($token[3]) ) 27 27 { 28 $ smarty->assign('Title','Edit Blog');28 $_SMARTY['Title'] = 'Edit Blog'; 29 29 30 30 $ticket =& $db->getRow('SELECT title,chapeau,ticket,id_cat,date,status FROM blog WHERE id=? ORDER BY date DESC LIMIT !,1', array($_SESSION['my_id'], ($token[3]-1)) ); … … 48 48 49 49 50 $ smarty->assign('my',$my);50 $_SMARTY['my'] = $my; 51 51 } 52 52 else -
trunk/inc/my/blog/view.inc.php
r1 r15 26 26 if( is_numeric($token[3]) ) 27 27 { 28 $ smarty->assign('Title','View blog');28 $_SMARTY['Title'] = 'View blog'; 29 29 30 30 $ticket =& $db->getRow('SELECT title,chapeau,ticket,date,`status` FROM blog LEFT JOIN blog_categorie USING (id,id_cat) WHERE blog.id=? ORDER BY date DESC LIMIT !,1', array($_SESSION['my_id'], ($token[3]-1)) ); … … 32 32 $my['blog']['ticket'] = $ticket; 33 33 34 $ smarty->assign('my',$my);34 $_SMARTY['my'] = $my; 35 35 } 36 36 else -
trunk/inc/my/bookmarks.inc.php
r1 r15 24 24 25 25 include(INCLUDESPATH.'/bookmarks.inc.php'); 26 $ smarty->assign('Title','Bookmarks');26 $_SMARTY['Title'] = 'Bookmarks'; 27 27 28 28 $links = $db->query('SELECT link, comment, id_cat FROM bookmarks WHERE id=?', array($_SESSION['my_id']) ); … … 47 47 $bookmarks_cat_parent = array('0'=>' - Root - '); 48 48 $bookmarks_cat_parent += $cats; 49 $ smarty->assign('my',$my);49 $_SMARTY['my'] = $my; 50 50 $smarty->assign_by_ref('bookmarks_cat',$bookmarks_cat); 51 51 $smarty->assign_by_ref('bookmarks_cat_parent',$bookmarks_cat_parent); -
trunk/inc/my/bookmarks/edit.inc.php
r1 r15 27 27 if( is_numeric($token[3]) ) 28 28 { 29 $ smarty->assign('Title','Bookmarks');29 $_SMARTY['Title'] = 'Bookmarks'; 30 30 31 31 $link =& $db->getRow('SELECT link, comment, id_cat FROM bookmarks WHERE id=? LIMIT !,1', array($_SESSION['my_id'], ($token[3]-1)) ); … … 50 50 51 51 52 $ smarty->assign('my',$my);52 $_SMARTY['my'] = $my; 53 53 } 54 54 else -
trunk/inc/my/password.inc.php
r1 r15 23 23 ******************** http://opensource.ikse.net/projects/dotnode ***/ 24 24 25 $ smarty->assign('Title', 'Password');25 $_SMARTY['Title'] = 'Password'; 26 26 ?> -
trunk/inc/my/profile/contact.inc.php
r1 r15 23 23 ******************** http://opensource.ikse.net/projects/dotnode ***/ 24 24 25 $ smarty->assign('Title','Contact Profile');25 $_SMARTY['Title'] = 'Contact Profile'; 26 26 27 27 $t_name = 'user_contact'; … … 63 63 error_log($_SERVER['HTTP_HOST'].' | '.__FILE__.' | '.$user_contact->getUserInfo()); 64 64 65 $ smarty->assign('my',$my);65 $_SMARTY['my'] = $my; 66 66 67 67 -
trunk/inc/my/profile/contact/edit.inc.php
r1 r15 27 27 unset($labels['profile']['country']['(null)']); 28 28 29 $ smarty->assign('Title', "Edit my contact");29 $_SMARTY['Title'] = "Edit my contact"; 30 30 31 31 $t_name = 'user_contact'; … … 39 39 $access_list[$t_name] = get_access_list($_SESSION['my_id'], $t_name ); 40 40 41 $ smarty->assign('access_list',$access_list);41 $_SMARTY['access_list'] = $access_list; 42 42 43 $ smarty->assign('my', $my);43 $_SMARTY['my'] = $my; 44 44 45 45 ?> -
trunk/inc/my/profile/general.inc.php
r1 r15 23 23 ******************** http://opensource.ikse.net/projects/dotnode ***/ 24 24 25 $ smarty->assign('Title','General Profile');25 $_SMARTY['Title'] = 'General Profile'; 26 26 27 27 if(!$_SESSION['my_photo']) … … 76 76 error_log($_SERVER['HTTP_HOST'].' | '.__FILE__.' | '.$user_general->getUserInfo()); 77 77 78 $ smarty->assign('my',$my);78 $_SMARTY['my'] = $my; 79 79 80 80 -
trunk/inc/my/profile/general/edit.inc.php
r1 r15 23 23 ******************** http://opensource.ikse.net/projects/dotnode ***/ 24 24 25 $ smarty->assign('Title', "Edit general profile");25 $_SMARTY['Title'] = "Edit general profile"; 26 26 27 27 $t_name = 'user_general'; … … 37 37 $access_list[$t_name] = get_access_list($_SESSION['my_id'], $t_name ); 38 38 39 $ smarty->assign('access_list',$access_list);40 $ smarty->assign('my', $my);39 $_SMARTY['access_list'] = $access_list; 40 $_SMARTY['my'] = $my; 41 41 42 42 ?> -
trunk/inc/my/profile/interests.inc.php
r1 r15 23 23 ******************** http://opensource.ikse.net/projects/dotnode ***/ 24 24 25 $ smarty->assign('Title','Interests Profile');25 $_SMARTY['Title'] = 'Interests Profile'; 26 26 27 27 /*if(!$_SESSION['my_profile_personal']) … … 64 64 error_log($_SERVER['HTTP_HOST'].' | '.__FILE__.' | '.$user_interests->getUserInfo()); 65 65 66 $ smarty->assign('my',$my);66 $_SMARTY['my'] = $my; 67 67 68 68 -
trunk/inc/my/profile/interests/edit.inc.php
r1 r15 23 23 ******************** http://opensource.ikse.net/projects/dotnode ***/ 24 24 25 $ smarty->assign('Title', "Edit interest profile");25 $_SMARTY['Title'] = "Edit interest profile"; 26 26 27 27 $t_name = 'user_interests'; … … 33 33 error_log($_SERVER['HTTP_HOST'].' | Erreyr SQL dans '.__FILE__.': '.$user_interests->getMessage()); 34 34 35 $ smarty->assign('my', $my);35 $_SMARTY['my'] = $my; 36 36 37 37 ?> -
trunk/inc/my/profile/personal.inc.php
r1 r15 23 23 ******************** http://opensource.ikse.net/projects/dotnode ***/ 24 24 25 $ smarty->assign('Title','Personal Profile');25 $_SMARTY['Title'] = 'Personal Profile'; 26 26 27 27 /*if(!$_SESSION['my_profile_interests']) … … 65 65 error_log($_SERVER['HTTP_HOST'].' | '.__FILE__.' | '.$user_personal->getUserInfo()); 66 66 67 $ smarty->assign('my',$my);67 $_SMARTY['my'] = $my; 68 68 69 69 -
trunk/inc/my/profile/personal/edit.inc.php
r1 r15 23 23 ******************** http://opensource.ikse.net/projects/dotnode ***/ 24 24 25 $ smarty->assign('Title', "Edit personal profile");25 $_SMARTY['Title'] = "Edit personal profile"; 26 26 27 27 $my['personal'] =& $db->getRow('SELECT headline ,notice ,size , eye ,hair ,body_art ,best_feature ,things_i_cant_live_without ,ideal_match FROM user_personal WHERE id=?', array($_SESSION['my_id'])); … … 31 31 error_log($_SERVER['HTTP_HOST'].' | Erreyr SQL dans '.__FILE__.': '.$user_personal->getMessage()); 32 32 33 $ smarty->assign('my', $my);33 $_SMARTY['my'] = $my; 34 34 35 35 ?> -
trunk/inc/my/profile/photo.inc.php
r1 r15 23 23 ******************** http://opensource.ikse.net/projects/dotnode ***/ 24 24 25 $ smarty->assign('Title', 'Photo');25 $_SMARTY['Title'] = 'Photo'; 26 26 ?> -
trunk/inc/my/profile/professional.inc.php
r1 r15 23 23 ******************** http://opensource.ikse.net/projects/dotnode ***/ 24 24 25 $ smarty->assign('Title','Professional Profile');25 $_SMARTY['Title'] = 'Professional Profile'; 26 26 27 27 /*if(!$_SESSION['my_profile_general']) … … 65 65 error_log($_SERVER['HTTP_HOST'].' | '.__FILE__.' | '.$user_professional->getUserInfo()); 66 66 67 $ smarty->assign('my',$my);67 $_SMARTY['my'] = $my; 68 68 69 69 -
trunk/inc/my/profile/professional/edit.inc.php
r1 r15 23 23 ******************** http://opensource.ikse.net/projects/dotnode ***/ 24 24 25 $ smarty->assign('Title', "Edit professional profile");25 $_SMARTY['Title'] = "Edit professional profile"; 26 26 27 27 $t_name = 'user_professional'; … … 39 39 $access_list[$t_name] = get_access_list($_SESSION['my_id'], $t_name ); 40 40 41 $ smarty->assign('access_list',$access_list);42 $ smarty->assign('my', $my);41 $_SMARTY['access_list'] = $access_list; 42 $_SMARTY['my'] = $my; 43 43 44 44 ?> -
trunk/inc/my/profile/schools.inc.php
r1 r15 23 23 ******************** http://opensource.ikse.net/projects/dotnode ***/ 24 24 25 $ smarty->assign('Title','School course');25 $_SMARTY['Title'] = 'School course'; 26 26 27 27 /*if(!$_SESSION['my_profile_personal']) … … 68 68 error_log($_SERVER['HTTP_HOST'].' | '.__FILE__.' | '.$user_schools->getUserInfo()); 69 69 70 $ smarty->assign('my',$my);70 $_SMARTY['my'] = $my; 71 71 72 72 -
trunk/inc/my/profile/schools/add.inc.php
r1 r15 25 25 include(INCLUDESPATH.'/countries_list.inc.php'); 26 26 27 $ smarty->assign('Title', "Add a school");27 $_SMARTY['Title'] = "Add a school"; 28 28 ?> -
trunk/inc/my/profile/schools/edit.inc.php
r1 r15 25 25 include(INCLUDESPATH.'/countries_list.inc.php'); 26 26 27 $ smarty->assign('Title', "Edit a school");27 $_SMARTY['Title'] = "Edit a school"; 28 28 29 29 if( is_numeric($token[4]) ) … … 38 38 39 39 $my['schools']['year'] = $my['schools']['year']."-01-01"; 40 $ smarty->assign('my', $my);40 $_SMARTY['my'] = $my; 41 41 } 42 42 else -
trunk/inc/my/settings.inc.php
r1 r15 23 23 ******************** http://opensource.ikse.net/projects/dotnode ***/ 24 24 25 $ smarty->assign('Title', "Edit my settings");25 $_SMARTY['Title'] = "Edit my settings"; 26 26 27 27 $t_name = 'settings'; … … 54 54 } 55 55 56 $ smarty->assign('my', $my);57 $ smarty->assign('css', $css);56 $_SMARTY['my'] = $my; 57 $_SMARTY['css'] = $css; 58 58 59 59 ?>
