721 } |
721 } |
722 |
722 |
723 if ( !empty($userdata['user_aim']) ) |
723 if ( !empty($userdata['user_aim']) ) |
724 { |
724 { |
725 $class = ( $class == 'row1' ) ? 'row3' : 'row1'; |
725 $class = ( $class == 'row1' ) ? 'row3' : 'row1'; |
726 echo '<tr><td class="'.$class.'">AIM: ' . htmlspecialchars($userdata['user_aim']) . '</td></tr>'; |
726 echo '<tr><td class="'.$class.'">AIM: ' . $userdata['user_aim'] . '</td></tr>'; |
727 } |
727 } |
728 |
728 |
729 if ( !empty($userdata['user_yahoo']) ) |
729 if ( !empty($userdata['user_yahoo']) ) |
730 { |
730 { |
731 $class = ( $class == 'row1' ) ? 'row3' : 'row1'; |
731 $class = ( $class == 'row1' ) ? 'row3' : 'row1'; |
732 echo '<tr><td class="'.$class.'">Yahoo! IM: ' . htmlspecialchars($userdata['user_yahoo']) . '</td></tr>'; |
732 echo '<tr><td class="'.$class.'">Yahoo! IM: ' . $userdata['user_yahoo'] . '</td></tr>'; |
733 } |
733 } |
734 |
734 |
735 if ( !empty($userdata['user_msn']) ) |
735 if ( !empty($userdata['user_msn']) ) |
736 { |
736 { |
737 $class = ( $class == 'row1' ) ? 'row3' : 'row1'; |
737 $class = ( $class == 'row1' ) ? 'row3' : 'row1'; |
751 echo '<tr><th class="subhead">' . htmlspecialchars($target_username) . ' in real life</th></tr>'; |
751 echo '<tr><th class="subhead">' . htmlspecialchars($target_username) . ' in real life</th></tr>'; |
752 |
752 |
753 if ( !empty($userdata['user_location']) ) |
753 if ( !empty($userdata['user_location']) ) |
754 { |
754 { |
755 $class = ( $class == 'row1' ) ? 'row3' : 'row1'; |
755 $class = ( $class == 'row1' ) ? 'row3' : 'row1'; |
756 echo '<tr><td class="'.$class.'">Location: ' . htmlspecialchars($userdata['user_location']) . '</td></tr>'; |
756 echo '<tr><td class="'.$class.'">Location: ' . $userdata['user_location'] . '</td></tr>'; |
757 } |
757 } |
758 |
758 |
759 if ( !empty($userdata['user_job']) ) |
759 if ( !empty($userdata['user_job']) ) |
760 { |
760 { |
761 $class = ( $class == 'row1' ) ? 'row3' : 'row1'; |
761 $class = ( $class == 'row1' ) ? 'row3' : 'row1'; |
762 echo '<tr><td class="'.$class.'">Job/occupation: ' . htmlspecialchars($userdata['user_job']) . '</td></tr>'; |
762 echo '<tr><td class="'.$class.'">Job/occupation: ' . $userdata['user_job'] . '</td></tr>'; |
763 } |
763 } |
764 |
764 |
765 if ( !empty($userdata['user_hobbies']) ) |
765 if ( !empty($userdata['user_hobbies']) ) |
766 { |
766 { |
767 $class = ( $class == 'row1' ) ? 'row3' : 'row1'; |
767 $class = ( $class == 'row1' ) ? 'row3' : 'row1'; |
768 echo '<tr><td class="'.$class.'">Enjoys: ' . htmlspecialchars($userdata['user_hobbies']) . '</td></tr>'; |
768 echo '<tr><td class="'.$class.'">Enjoys: ' . $userdata['user_hobbies'] . '</td></tr>'; |
769 } |
769 } |
770 |
770 |
771 if ( empty($userdata['user_location']) && empty($userdata['user_job']) && empty($userdata['user_hobbies']) ) |
771 if ( empty($userdata['user_location']) && empty($userdata['user_job']) && empty($userdata['user_hobbies']) ) |
772 { |
772 { |
773 $class = ( $class == 'row1' ) ? 'row3' : 'row1'; |
773 $class = ( $class == 'row1' ) ? 'row3' : 'row1'; |