equal
deleted
inserted
replaced
1 <?php |
1 <?php |
2 |
2 |
3 /* |
3 /* |
4 * Enano - an open-source CMS capable of wiki functions, Drupal-like sidebar blocks, and everything in between |
4 * Enano - an open-source CMS capable of wiki functions, Drupal-like sidebar blocks, and everything in between |
5 * Version 1.1.6 (Caoineag beta 1) |
5 * Copyright (C) 2006-2009 Dan Fuhry |
6 * Copyright (C) 2006-2008 Dan Fuhry |
|
7 * |
6 * |
8 * This program is Free Software; you can redistribute and/or modify it under the terms of the GNU General Public License |
7 * This program is Free Software; you can redistribute and/or modify it under the terms of the GNU General Public License |
9 * as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. |
8 * as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. |
10 * |
9 * |
11 * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied |
10 * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied |
199 echo '<tr>'; |
198 echo '<tr>'; |
200 echo ' <td class="row2" style="text-align: right; width: 25%;"> |
199 echo ' <td class="row2" style="text-align: right; width: 25%;"> |
201 ' . $lang->get('userpage_lbl_joined') . ' |
200 ' . $lang->get('userpage_lbl_joined') . ' |
202 </td> |
201 </td> |
203 <td class="row1" style="text-align: left; width: 25%;"> |
202 <td class="row1" style="text-align: left; width: 25%;"> |
204 ' . enano_date('F d, Y h:i a', $userdata['reg_time']) . ' |
203 ' . enano_date(ED_DATE | ED_TIME, $userdata['reg_time']) . ' |
205 </td>'; |
204 </td>'; |
206 echo ' <td class="row2" style="text-align: right; width: 25%;"> |
205 echo ' <td class="row2" style="text-align: right; width: 25%;"> |
207 ' . $lang->get('userpage_lbl_num_comments') . ' |
206 ' . $lang->get('userpage_lbl_num_comments') . ' |
208 </td> |
207 </td> |
209 <td class="row1" style="text-align: left; width: 25%;"> |
208 <td class="row1" style="text-align: left; width: 25%;"> |
236 |
235 |
237 if ( $row = $db->fetchrow() ) |
236 if ( $row = $db->fetchrow() ) |
238 { |
237 { |
239 do |
238 do |
240 { |
239 { |
241 $row['time'] = enano_date('F d, Y', $row['time']); |
240 $row['time'] = enano_date(ED_DATE, $row['time']); |
242 $comments[] = $row; |
241 $comments[] = $row; |
243 } |
242 } |
244 while ( $row = $db->fetchrow() ); |
243 while ( $row = $db->fetchrow() ); |
245 } |
244 } |
246 else |
245 else |