summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pages/account/43.php4
-rw-r--r--pages/account/59.php9
2 files changed, 12 insertions, 1 deletions
diff --git a/pages/account/43.php b/pages/account/43.php
index 2ba94b0..240d7ed 100644
--- a/pages/account/43.php
+++ b/pages/account/43.php
@@ -310,6 +310,10 @@ include_once($_SESSION['_config']['filepath']."/includes/notary.inc.php");
<td class="DataTD"><?=_("Assurance Points")?>:</td>
<td class="DataTD"><?=intval($drow['points'])?></td>
</tr>
+<? // show account history ?>
+ <tr>
+ <td class="DataTD" colspan="2"><a href="account.php?id=59&amp;userid=<?=intval($row['id'])?>"><?=_('Show account history')?></a></td>
+ </tr>
</table>
<br/><?
//ticket number to track SE log ?>
diff --git a/pages/account/59.php b/pages/account/59.php
index 773c83a..ef131b8 100644
--- a/pages/account/59.php
+++ b/pages/account/59.php
@@ -15,11 +15,18 @@
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-
+include_once($_SESSION['_config']['filepath']."/includes/notary.inc.php");
$colspandefault=2;
$userid = intval($_REQUEST['userid']);
$res =get_user_data($userid);
+
+if(mysql_num_rows($res) <= 0)
+{
+ echo _("I'm sorry, the user you were looking for seems to have disappeared! Bad things are a foot!");
+ exit;
+}
+
$row = mysql_fetch_assoc($res);
$fname = $row['fname'];