<?php
require("config.php");
require("includes/debug.php");
require("includes/functions.php");
require("includes/logincheck.php");
require("includes/settings.php");

if (isset($_GET["user"]) <> "") {
	$username = $_GET["user"];
} else {
	header( "Location: manusers.php" );
}
?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta http-equiv="Content-Type" content="text/html; charset=<?php print($charset); ?>" />
<title><?php print($longtitle); ?></title>
<link rel="shortcut icon" href="favicon.ico">
<link rel="apple-touch-icon" href="favicon.png"> 
<link href="css/main.css" rel="stylesheet" type="text/css">
</head>

<body onLoad="focus();sendosd.osdtext.focus()">
<table width="980" border="0" align="center" valign="top" cellpadding="0" cellspacing="0" style="border-left: 1px solid #DDDDDD; border-right: 1px solid #DDDDDD; text-align: left;">
  <tr bgcolor="#006699">
    <td height="22" colspan="6">&nbsp;</td>
  </tr>
  <tr bgcolor="#006699">
    <td width="15" bgcolor="#006699">&nbsp;</td>
    <td width="751" height="120" bgcolor="#006699"><?php require("includes/header.php"); ?></td>
    <td width="15" bgcolor="#006699">&nbsp;</td>
  </tr>
  <tr bgcolor="#006699">
    <td height="18">&nbsp;</td>
    <td height="18"><center><?php require("includes/menu.php"); ?></center></td>
    <td height="18">&nbsp;</td>
  </tr>
    <tr bgcolor="#006699">
    <td height="18">&nbsp;</td>
    <td height="18">&nbsp;</td>
    <td height="18">&nbsp;</td>
  </tr>
</table>
<table width="980" height="20" border="0" align="center" valign="top" cellpadding="0" cellspacing="0" style="border-left: 1px solid #DDDDDD; border-right: 1px solid #DDDDDD; text-align: left;">
  <tr bgcolor="#FFFFFF">
    <td width="15" height="20">&nbsp;</td>
    <td height="20" colspan="4">
    <form name="sendosd" action="manusers.php" method="post">
    <fieldset> 
    <legend>Enviar Mensagem de notificasao</legend>
    <input type="hidden" name="username" value="<?php print($_GET["user"]); ?>">
    para usuario: <strong><?php print($_GET["user"]); ?></strong><br><br>
    Menssagem:<br>
    <input type="text" name="osdtext" tabindex="1" size="60"><br><br>
    <input type="submit" name="baction" value="Send" id="submit" tabindex="2" accesskey="s" title="(ALT+S)">&nbsp;<input type="submit" name="baction" value="Cancel" id="submit" tabindex="3">
    </fieldset>
    </form>
    </td>
    <td width="15" height="20">&nbsp;</td>
  </tr>
</table>
<table width="980" height="20" border="0" align="center" valign="top" cellpadding="0" cellspacing="0" style="border-left: 1px solid #DDDDDD; border-right: 1px solid #DDDDDD; border-bottom: 1px solid #DDDDDD; text-align: left;">
    <tr bgcolor="#FFFFFF">
    <td height="20" width="780">&nbsp;</td>
  </tr>
</table>
<?php
require("includes/footer.php");
?>
</body>
</html>
