Файл: _gladiators2_/gladiators2/gladiators/gladiators/f_smiles.php
Строк: 22
<?
/* This file decoded and nulled by NukLeoN [AnTiSh@Re] */
echo '<html>
<head>
<title>Дополнительные смайлы</title>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1251">
<link rel=stylesheet href=/css/index.css>
<script>
function AddSmile(smile)
{
var sData = dialogArguments;
sData.send_from.mess.focus();
sData.send_from.mess.value += ' '+smile+' ';
}
</script>
</head>
<body bgcolor=#cbcbb0>
<center>
<table border=0 cellspacing=4 cellpadding=4>
<tr>';
$smiles_path = 'img/smiles/forum/extended';
$dir = opendir ($smiles_path);
$i = 1;
while ($file = readdir ($dir))
{
if (strstr ($file, '.gif'))
{
$smile = str_replace ('.gif', '', $file);
echo '<td><a href=#smile onclick=AddSmile(':' . $smile . ':');><img src=' . $smiles_path . '/' . $file . ' border=0></a></td>';
if ($i % 6 == 0)
{
echo '</tr><tr>';
}
++$i;
continue;
}
}
closedir ($dir);
echo '</tr></table>
</body></html>';
?>