Location: PHPKode > projects > Guild DKP System > dkpsystem1.4/includes/messages.php
<?php
function systemMessage($heading, $body, $url="") {
	if($url == "") {
		$_d = $_GET[d];
		$_s = $_GET[s];
		$_userid = $_GET[userid];
		$_raidid = $_GET[raidid];
		if(isset($_d)) {
			$url = "?d=$_d&s=$_s";
			if(isset($_userid)) { $url .= "&userid=$_userid"; }
			if(isset($_raidid)) { $url .= "&raidid=$_raidid"; }
		}
		else { $url = "?s=$_s"; }
	}
	echo
?>
<meta http-equiv='refresh' content='5;url=<?php echo $url; ?>'>
<table width='100%' border='0' cellspacing='1' cellpadding='3'>
  <tr>
    <td bgcolor='#003366'><font color='#FFFFFF' size='2' face='Tahoma'><strong>System Messages</strong></font></td>
  </tr>
</table>
<table width='100%' border='0' cellspacing='1' cellpadding='3'>
  <tr> 
    <td bgcolor='#003366'><font color='#CCCCCC' size='1' face='Tahoma'><strong><?php echo $heading; ?></strong></font></td>
  </tr>
  <tr> 
    <td bgcolor='#CCCCCC'><font color='#000000' size='1' face='Tahoma'><strong><?php echo IMG_ARROW." ".$body; ?></strong></font></td>
  </tr>
  <tr>
    <td bgcolor='#003366'><font color="#CCCCCC" size="1" face="Tahoma"><strong>You 
      will now be re-directed to the page that you came from.</strong></font></td>
  </tr>
</table>
<?php
}
;
?>
Return current item: Guild DKP System