Просмотр файла dportal_0.2/rgb.php

Размер файла: 3.02Kb
<?

print"<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">
<html>
<head>
  <meta content=\"text/html; charset=UTF-8\" http-equiv=\"content-type\">
  <title>admin</title>
</head>
<body style=\"color: rgb(0, 0, 0); background-color: rgb(204, 204, 204);\">
<div style=\"text-align: left;\">


<script language=\"javascript\" type=\"text/javascript\">
<!--
function rgbcolor(text) {
	
	if (opener.document.forms['parametr'].$vid.createTextRange && opener.document.forms['parametr'].$vid.caretPos) {
		var caretPos = opener.document.forms['parametr'].$vid.caretPos;
		caretPos.text = caretPos.text.charAt(caretPos.text.length - 1) == ' ' ? text + ' ' : text;
		opener.document.forms['parametr'].$vid.focus();
	
} else {
	opener.document.forms['parametr'].$vid.value=text;
	opener.document.forms['parametr'].$vid.focus();
	}
window.close();
}
//-->
</script>







<table
 style=\"margin-left: auto; margin-right: auto; text-align: left; width: 98%; height: 98%;\"
 border=\"1\" cellpadding=\"2\" cellspacing=\"2\">
  <tbody>

    <tr>
<td style=\"background-color: rgb(0, 0, 0);\"> 
<a href=\"javascript:rgbcolor('0, 0, 0')\">pres</a>
</td> 

<td style=\"background-color: rgb(255, 255, 255);\"> 
<a href=\"javascript:rgbcolor('255, 255, 255')\">pres</a>
</td> 

<td style=\"background-color: rgb(255, 0, 0);\"> 
<a href=\"javascript:rgbcolor('255, 0, 0')\">pres</a>
</td> 

<td style=\"background-color: rgb(0, 255, 0);\"> 
<a href=\"javascript:rgbcolor('0, 255, 0')\">pres</a>
</td> 
 </tr>

    <tr>
<td style=\"background-color: rgb(0, 0, 255);\"> 
<a href=\"javascript:rgbcolor('0, 0, 255')\">pres</a>
</td> 

<td style=\"background-color: rgb(0, 255, 255);\"> 
<a href=\"javascript:rgbcolor('0, 255, 255')\">pres</a>
</td> 

<td style=\"background-color: rgb(255, 0, 255);\"> 
<a href=\"javascript:rgbcolor('255, 0, 255')\">pres</a>
</td> 

<td style=\"background-color: rgb(255, 255, 0);\"> 
<a href=\"javascript:rgbcolor('255, 255, 0')\">pres</a>
</td> 
 </tr>


  <tr>
<td style=\"background-color: rgb(204, 204, 204);\"> 
<a href=\"javascript:rgbcolor('204, 204, 204')\">pres</a>
</td> 

<td style=\"background-color: rgb(169, 169, 169);\"> 
<a href=\"javascript:rgbcolor('169, 169, 169')\">pres</a>
</td> 

<td style=\"background-color: rgb(128, 64, 128);\"> 
<a href=\"javascript:rgbcolor('128, 64, 128')\">pres</a>
</td> 

<td style=\"background-color: rgb(255, 204, 51);\"> 
<a href=\"javascript:rgbcolor('255, 204, 51')\">pres</a>
</td> 
 </tr>


  <tr>
<td style=\"background-color: rgb(270, 80, 100);\"> 
<a href=\"javascript:rgbcolor('270, 80, 100')\">pres</a>
</td> 

<td style=\"background-color: rgb(0, 102, 0);\"> 
<a href=\"javascript:rgbcolor('0, 102, 0')\">pres</a>
</td> 

<td style=\"background-color: rgb(0, 0, 153);\"> 
<a href=\"javascript:rgbcolor('0, 0, 153')\">pres</a>
</td> 

<td style=\"background-color: rgb(102, 0, 0);\"> 
<a href=\"javascript:rgbcolor('102, 0, 0')\">pres</a>
</td> 
 </tr>



  </tbody>
</table>
";

?>