Advertisement
Guest User

Untitled

a guest
Oct 1st, 2016
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. function newmessage(){
  2. include ("safe.php");
  3. $get_pms = mysql_query("SELECT `id` FROM `pm` WHERE `to`='".$_SESSION['uid']."' AND `seen`='0'") or die (mysql_error());
  4. if(mysql_num_rows($get_pms) > 0){
  5.  
  6. echo "<div style='display:block;' class='alert'>
  7. <span class='closebtn' onclick='this.parentElement.style.display='none';'>&times;</span>
  8. <strong>Danger!</strong> Indicates a dangerous or potentially negative action.
  9. </div>";
  10. } else{
  11. echo "<font id="clr" size="1px" color="red"><b></b> </font>";
  12.  
  13. }
  14.  
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement