Permalink
Browse files

Added PM icons

  • Loading branch information...
Halamix2 committed Jul 17, 2014
1 parent ac866a5 commit 401ba3b2ff7936d4a2714b0d2ba81ec9eb49baee
Showing with 2 additions and 2 deletions.
  1. BIN images/new.jpg
  2. BIN images/old.gif
  3. +2 −2 includes/header.php
View
Binary file not shown.
View
Binary file not shown.
View
@@ -123,8 +123,8 @@
fseek($f, (((int)$_COOKIE["id_env"] * 2) - 2));
$new_pm = fread($f, 2);
fclose($f);
if ((int)$new_pm != 0) $pm_alert = "-&nbsp;<a href='pmsystem.php?section=inbox'><strong>".$new_pm."</strong> new PMs in your inbox</a>";
else $pm_alert = "-&nbsp;No new messages";
if ((int)$new_pm != 0) $pm_alert = "-&nbsp;<img src=\"images/new.gif\"> <a href='pmsystem.php?section=inbox'><strong>".$new_pm."</strong> new PMs in your inbox</a>";
else $pm_alert = "-&nbsp;<img src=\"images/old.gif\"> No new messages";
$mark_all_read = "<a href='setallread.php'>Mark all posts read</a>";
if ($_COOKIE["power_env"] >= 3) {
$adminlink = "<a href='admin.php'>Admin Panel</a>&nbsp;&middot;";

0 comments on commit 401ba3b

Please sign in to comment.