Changeset 6315 for trunk/include
- Timestamp:
- May 24, 2010, 1:43:43 AM (14 years ago)
- Location:
- trunk
- Files:
-
- 46 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed (with no actual effect on merging)
-
trunk/include
- Property svn:mergeinfo changed (with no actual effect on merging)
-
trunk/include/block.class.php
- Property svn:mergeinfo changed (with no actual effect on merging)
-
trunk/include/calendar_base.class.php
- Property svn:mergeinfo changed (with no actual effect on merging)
-
trunk/include/calendar_monthly.class.php
- Property svn:mergeinfo changed (with no actual effect on merging)
-
trunk/include/calendar_weekly.class.php
- Property svn:mergeinfo changed (with no actual effect on merging)
-
trunk/include/category_cats.inc.php
- Property svn:mergeinfo changed (with no actual effect on merging)
-
trunk/include/category_default.inc.php
- Property svn:mergeinfo changed (with no actual effect on merging)
-
trunk/include/class_smtp_mail.inc.php
- Property svn:mergeinfo changed (with no actual effect on merging)
-
trunk/include/common.inc.php
- Property svn:mergeinfo changed (with no actual effect on merging)
-
trunk/include/config_default.inc.php
- Property svn:mergeinfo changed (with no actual effect on merging)
-
trunk/include/constants.php
- Property svn:mergeinfo changed (with no actual effect on merging)
-
trunk/include/feedcreator.class.php
- Property svn:mergeinfo changed (with no actual effect on merging)
-
trunk/include/filter.inc.php
- Property svn:mergeinfo changed (with no actual effect on merging)
-
trunk/include/functions.inc.php
- Property svn:mergeinfo changed (with no actual effect on merging)
-
trunk/include/functions_calendar.inc.php
- Property svn:mergeinfo changed (with no actual effect on merging)
-
trunk/include/functions_category.inc.php
- Property svn:mergeinfo changed (with no actual effect on merging)
-
trunk/include/functions_comment.inc.php
- Property svn:mergeinfo changed (with no actual effect on merging)
-
trunk/include/functions_cookie.inc.php
- Property svn:mergeinfo changed (with no actual effect on merging)
-
trunk/include/functions_filter.inc.php
- Property svn:mergeinfo changed (with no actual effect on merging)
-
trunk/include/functions_html.inc.php
- Property svn:mergeinfo changed (with no actual effect on merging)
-
trunk/include/functions_mail.inc.php
- Property svn:mergeinfo changed (with no actual effect on merging)
-
trunk/include/functions_metadata.inc.php
- Property svn:mergeinfo changed (with no actual effect on merging)
-
trunk/include/functions_notification.inc.php
- Property svn:mergeinfo changed (with no actual effect on merging)
-
trunk/include/functions_picture.inc.php
- Property svn:mergeinfo changed (with no actual effect on merging)
-
trunk/include/functions_plugins.inc.php
- Property svn:mergeinfo changed (with no actual effect on merging)
-
trunk/include/functions_rate.inc.php
- Property svn:mergeinfo changed (with no actual effect on merging)
-
trunk/include/functions_search.inc.php
- Property svn:mergeinfo changed (with no actual effect on merging)
-
trunk/include/functions_session.inc.php
- Property svn:mergeinfo changed (with no actual effect on merging)
-
trunk/include/functions_tag.inc.php
- Property svn:mergeinfo changed (with no actual effect on merging)
-
trunk/include/functions_url.inc.php
- Property svn:mergeinfo changed (with no actual effect on merging)
-
trunk/include/functions_user.inc.php
- Property svn:mergeinfo changed
/branches/2.1/include/functions_user.inc.php merged: 6312
r6314 r6315 268 268 $userdata = array(); 269 269 270 // retrieve basic user data 270 271 $query = ' 271 272 SELECT '; … … 290 291 $row = pwg_db_fetch_assoc(pwg_query($query)); 291 292 292 while (true) 293 { 294 $query = ' 295 SELECT ui.*, uc.*, t.name AS theme_name 293 // retrieve additional user data 294 $query = ' 295 SELECT 296 COUNT(1) AS counter, 297 ui.*, 298 uc.*, 299 t.name AS theme_name 296 300 FROM '.USER_INFOS_TABLE.' AS ui 297 301 LEFT JOIN '.USER_CACHE_TABLE.' AS uc ON ui.user_id = uc.user_id 298 302 LEFT JOIN '.THEMES_TABLE.' AS t ON t.id = ui.theme 299 WHERE ui.user_id = \''.$user_id.'\''; 303 WHERE ui.user_id = \''.$user_id.'\' 304 ;'; 305 $result = pwg_query($query); 306 $user_infos_row = pwg_db_fetch_assoc($result); 307 if (0 == $user_infos_row['counter']) { 308 create_user_infos($user_id); 309 300 310 $result = pwg_query($query); 301 if ($result) 302 { 303 break; 304 } 305 else 306 { 307 create_user_infos($user_id); 308 } 309 } 310 311 $row = array_merge($row, pwg_db_fetch_assoc($result)); 311 $user_infos_row = pwg_db_fetch_assoc($result); 312 } 313 314 // then merge basic + additional user data 315 $row = array_merge($row, $user_infos_row); 312 316 313 317 foreach ($row as $key => $value) - Property svn:mergeinfo changed
-
trunk/include/functions_xml.inc.php
- Property svn:mergeinfo changed (with no actual effect on merging)
-
trunk/include/index.php
- Property svn:mergeinfo changed (with no actual effect on merging)
-
trunk/include/menubar.inc.php
- Property svn:mergeinfo changed (with no actual effect on merging)
-
trunk/include/no_photo_yet.inc.php
- Property svn:mergeinfo changed (with no actual effect on merging)
-
trunk/include/page_header.php
- Property svn:mergeinfo changed (with no actual effect on merging)
-
trunk/include/page_tail.php
- Property svn:mergeinfo changed (with no actual effect on merging)
-
trunk/include/picture_comment.inc.php
- Property svn:mergeinfo changed (with no actual effect on merging)
-
trunk/include/picture_metadata.inc.php
- Property svn:mergeinfo changed (with no actual effect on merging)
-
trunk/include/picture_rate.inc.php
- Property svn:mergeinfo changed (with no actual effect on merging)
-
trunk/include/section_init.inc.php
- Property svn:mergeinfo changed (with no actual effect on merging)
-
trunk/include/template.class.php
- Property svn:mergeinfo changed (with no actual effect on merging)
-
trunk/include/user.inc.php
- Property svn:mergeinfo changed (with no actual effect on merging)
-
trunk/include/ws_core.inc.php
- Property svn:mergeinfo changed (with no actual effect on merging)
-
trunk/include/ws_functions.inc.php
- Property svn:mergeinfo changed (with no actual effect on merging)
Note: See TracChangeset
for help on using the changeset viewer.