Changeset 126 for trunk/wp-admin/b2profile.php
- Timestamp:
- 06/01/2003 08:05:56 AM (23 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/b2profile.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/b2profile.php
r123 r126 114 114 115 115 require_once('b2verifauth.php'); 116 /* $profile=1; 117 118 get_currentuserinfo(); 119 120 */ $profiledata = get_userdata($user); 116 117 $profiledata = get_userdata($user); 121 118 if ($HTTP_COOKIE_VARS['wordpressuser'] == $profiledata->user_login) 122 119 header ('Location: b2profile.php'); … … 126 123 ?> 127 124 128 <div class="menutop" align="center"> 129 <?php echo $profiledata->user_login ?> 130 </div> 131 132 <form name="form" action="b2profile.php" method="post"> 133 <input type="hidden" name="action" value="update" /> 134 <table width="100%"> 135 <tr><td width="250"> 136 137 <table cellpadding="5" cellspacing="0"> 138 <tr> 139 <td align="right"><strong>login</strong></td> 140 <td><?php echo $profiledata->user_login ?></td> 141 </tr> 142 <tr> 143 <td align="right"><strong>first name</strong></td> 144 <td><?php echo $profiledata->user_firstname ?></td> 145 </tr> 146 <tr> 147 <td align="right"><strong>last name</strong></td> 148 <td><?php echo $profiledata->user_lastname ?></td> 149 </tr> 150 <tr> 151 <td align="right"><strong>nickname</strong></td> 152 <td><?php echo $profiledata->user_nickname ?></td> 153 </tr> 154 <tr> 155 <td align="right"><strong>email</strong></td> 156 <td><?php echo make_clickable($profiledata->user_email) ?></td> 157 </tr> 158 <tr> 159 <td align="right"><strong>URL</strong></td> 160 <td><?php echo $profiledata->user_url ?></td> 161 </tr> 162 <tr> 163 <td align="right"><strong>ICQ</strong></td> 164 <td><?php if ($profiledata->user_icq > 0) { echo make_clickable("icq:".$profiledata->user_icq); } ?></td> 165 </tr> 166 <tr> 167 <td align="right"><strong>AIM</strong></td> 168 <td><?php echo make_clickable("aim:".$profiledata->user_aim) ?></td> 169 </tr> 170 <tr> 171 <td align="right"><strong>MSN IM</strong></td> 172 <td><?php echo $profiledata->user_msn ?></td> 173 </tr> 174 <tr> 175 <td align="right"><strong>YahooIM</strong></td> 176 <td><?php echo $profiledata->user_yim ?></td> 177 </tr> 178 </table> 179 180 </td> 181 <td valign="top"> 182 183 <table cellpadding="5" cellspacing="0"> 184 <tr> 185 <td> 186 <strong>ID</strong> <?php echo $profiledata->ID ?></td> 187 </tr> 188 <tr> 189 <td> 190 <strong>level</strong> <?php echo $profiledata->user_level ?> 191 </td> 192 </tr> 193 <tr> 194 <td> 195 <strong>posts</strong> 196 <?php 197 $posts = get_usernumposts($user); 198 echo $posts; 199 ?> 200 </td> 201 </tr> 202 <tr> 203 <td> 204 <strong>identity</strong><br /> 205 <?php 125 <h1 id="wphead"><a href="http://wordpress.org" rel="external"><span>WordPress</span></a></h1> 126 127 <h2>View Profile “ 128 <?php 206 129 switch($profiledata->user_idmode) { 207 130 case 'nickname': … … 226 149 echo $r; 227 150 ?> 228 </td> 229 </tr> 230 </table> 231 232 </td> 233 </table> 234 235 </form> 151 ”</h2> 152 153 <div id="profile"> 154 <p> 155 <strong>Login</strong> <?php echo $profiledata->user_login ?> 156 | <strong>User #</strong> <?php echo $profiledata->ID ?> | <strong>Level</strong> 157 <?php echo $profiledata->user_level ?> | <strong>Posts</strong> 158 <?php 159 $posts = get_usernumposts($user); 160 echo $posts; 161 ?> 162 </p> 163 164 <p> <strong>First:</strong> <?php echo $profiledata->user_firstname ?> </p> 165 166 <p> <strong>Last:</strong> <?php echo $profiledata->user_lastname ?> </p> 167 168 <p> <strong>Nickname:</strong> <?php echo $profiledata->user_nickname ?> </p> 169 170 <p> <strong>Email:</strong> <?php echo make_clickable($profiledata->user_email) ?> 171 </p> 172 173 <p> <strong>URL:</strong> <?php echo $profiledata->user_url ?> </p> 174 175 <p> <strong>ICQ:</strong> 176 <?php if ($profiledata->user_icq > 0) { echo make_clickable("icq:".$profiledata->user_icq); } ?> 177 </p> 178 179 <p> <strong>AIM:</strong> <?php echo make_clickable("aim:".$profiledata->user_aim) ?> 180 </p> 181 182 <p> <strong>MSN IM:</strong> <?php echo $profiledata->user_msn ?> </p> 183 184 <p> <strong>Yahoo IM:</strong> <?php echo $profiledata->user_yim ?> </p> 185 186 </div> 187 236 188 <?php 237 189
Note: See TracChangeset
for help on using the changeset viewer.