0){ $no_subject = translate_inline("`i(No Subject)`i"); rawoutput("
"); while($row = db_fetch_assoc($result)){ rawoutput(""); rawoutput(""); rawoutput(""); rawoutput(""); } rawoutput("
"); rawoutput("".($row["); if ($row['msgfrom']==0 || !is_numeric($row['msgfrom'])){ if ($row['msgfrom'] == 0 && is_numeric($row['msgfrom'])) { $row['name']=translate_inline("`i`^System`0`i"); } else { $row['name']=$row['msgfrom']; } // Only translate the subject if it's an array, ie, it came from the game. $row_subject = @unserialize($row['subject']); if ($row_subject !== false) { $row['subject'] = call_user_func_array("sprintf_translate", $row_subject); } else { $row['subject'] = translate_inline($row['subject']); } } // In one line so the Translator doesn't screw the Html up output_notl("".((trim($row['subject']))?$row['subject']:$no_subject)."", true); rawoutput(""); output_notl($row['name']); rawoutput("".date("M d, h:i a",strtotime($row['sent']))."
"); $checkall = htmlentities(translate_inline("Check All"), ENT_COMPAT, getsetting("charset", "ISO-8859-1")); rawoutput(""); $delchecked = htmlentities(translate_inline("Delete Checked"), ENT_COMPAT, getsetting("charset", "ISO-8859-1")); rawoutput(""); rawoutput("
"); }else{ output("`iAww, you have no mail, how sad.`i"); } if (db_num_rows($result) == 1) { output("`n`n`iYou currently have 1 message in your inbox.`nYou will no longer be able to receive messages from players if you have more than %s unread messages in your inbox. `nMessages are automatically deleted (read or unread) after %s days.",getsetting('inboxlimit',50),getsetting("oldmail",14)); } else { output("`n`n`iYou currently have %s messages in your inbox.`nYou will no longer be able to receive messages from players if you have more than %s unread messages in your inbox. `nMessages are automatically deleted (read or unread) after %s days.",db_num_rows($result),getsetting('inboxlimit',50),getsetting("oldmail",14)); } ?>