Вход Регистрация
Файл: phpBB3/adm/style/colour_swatch.html
Строк: 58
<?php
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<
html xmlns="http://www.w3.org/1999/xhtml" dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}" xml:lang="{S_USER_LANG}">
<
head>
<
meta http-equiv="Content-Type" content="text/html; charset={S_CONTENT_ENCODING}" />
<
meta http-equiv="Content-Style-Type" content="text/css" />
<
meta http-equiv="Content-Language" content="{S_USER_LANG}" />
<
meta http-equiv="imagetoolbar" content="no" />
<
title>{L_COLOUR_SWATCH}</title>

<
style type="text/css">
/* <![CDATA[ */
    
body {
        
background-color#404040;
        
color#fff;
    
}

    
td {
        
bordersolid 1px #333; 
    
}

    .
over 
        
border-colorwhite
    }

    .
out {
        
border-color#333333; 
    
}

    
img {
        
border0;
    }
/* ]]> */
</style>
</
head>

<
body>

<
script type="text/javascript">
// <![CDATA[
    
var 000;

    var 
numberList = new Array(6);
    
numberList[0] = '00';
    
numberList[1] = '33';
    
numberList[2] = '66';
    
numberList[3] = '99';
    
numberList[4] = 'CC';
    
numberList[5] = 'FF';

    
document.writeln('<table cellspacing="0" cellpadding="0" border="0">');

    for (
06r++)
    {
        
document.writeln('<tr>');

        for (
06g++)
        {
            for (
06b++)
            {
                
color String(numberList[r]) + String(numberList[g]) + String(numberList[b]);
                
document.write('<td style="background-color: #' color ';" onmouseover="this.className='over'" onmouseout="this.className='out'">');
                
document.write('<a href="#" onclick="cell('' + color + ''); return false;"><img src="{T_IMAGES_PATH}spacer.gif" width="15" height="12" alt="#' color '" title="#' color '" /></a>');
                
document.writeln('</td>');
            }
        }
        
document.writeln('</tr>');
    }
    
document.writeln('</table>');

    function 
cell(color)
    {
        
opener.document.forms["{OPENER}"].{NAME}.value color;
    }
// ]]>
</script>

</
body>
</
html>
?>
Онлайн: 0
Реклама