<?php

/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

  Script: Maian Gallery v2.0
  Written by: David Ian Bennett
  E-Mail: support@maianscriptworld.co.uk
  Website: http://www.maianscriptworld.co.uk

  ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  
  This File: rgbcoverter.php
  Description: RGB Converter Window

  ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
  
// Make sure that this file is being called from parent file
if (!defined('INCLUDE_FILES')) {
  accessDenied($msg_script18,$msg_script19);
  exit;
}

?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $msg_charset; ?>">
<title><?php echo $msg_settings46; ?></title>
<link href="css/css.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="js/rgbconverter.js"></script>
<style type="text/css">
body {
  margin:0;
  padding:0;
}
</style>
</head>

<body>
<div align="center">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
    <td style="padding:5px;background-color:#1EB5DD;color:#FFFFFF" align="left">
    <table width="100%" border="0" cellpadding="0" cellspacing="0" align="center">
    <tr>
        <td align="center" valign="top">
        <form action="">
        <table border="0" cellpadding="0" cellspacing="0" width="100%">
        <tr>
            <td align="left" style="border: 1px solid #083253;padding:5px;background-color:#0F5B96"><?php echo $msg_settings3; ?></td>
        </tr>
        </table>
        <table border="0" align="center" width="80%" cellpadding="4" style="margin-bottom:5px">
        <tr>
           <td align="center" style="padding:5px"><input class="formbox" type="text" name="rr_hex" size="4" maxlength="2" onKeyUp="return HexToNum(0,3);" style="width:40%"></td>
           <td align="center">-</td>
           <td align="center" style="padding:5px"><input class="formbox" type="text" name="gg_hex" size="4" maxlength="2" onKeyUp="return HexToNum(1,4);" style="width:40%"></td>
           <td align="center">-</td>
           <td align="center" style="padding:5px"><input class="formbox" type="text" name="bb_hex" size="4" maxlength="2" onKeyUp="return HexToNum(2,5);" style="width:40%"></td>
        </tr>
        </table>
        <table border="0" width="100%" align="center" cellpadding="4">
        <tr>
            <td align="center"><b>R</b>: <input class="formbox" style="font-weight:bold;color:red;width:40%" type="text" name="rr_num" size="4" maxlength="3"></td>
            <td align="center"><b>G</b>: <input class="formbox" style="font-weight:bold;color:green;width:40%" type="text" name="gg_num" size="4" maxlength="3"></td>
            <td align="center"><b>B</b>: <input class="formbox" style="font-weight:bold;color:blue;width:40%" type="text" name="bb_num" size="4" maxlength="3"></td>
        </tr>
        </table><br>
        <input class="formbutton" type="reset" value="<?php echo $msg_settings70; ?>" title="<?php echo $msg_settings70; ?>">
        </form>
        </td>
    </tr>
    </table>
    </td>
</tr>
</table><br>
</div>
</body>
</html>
