File size: 5.41Kb
<?php
if (!file_exists ('smiles/smile.gif'))
{
echo 'Смайлы отстутствуют. Для установки смайлов необходимо скачать архив улыбок или версию GlobalChat, изначально включающую в себя смайлы.<br />
<a href="http://globalscripts.ru">Скачать смайлы для GlobalChat</a>';
return;
}
?>
<table>
<caption>Смайлы</caption>
<?php
if (empty ($_GET['page']) || $_GET['page'] == 1)
{
?>
<tr>
<td align="center"><img src="smiles/angry.gif" alt="" /></td><td align="center"> .angry.</td>
<td align="center"><img src="smiles/beat.gif" alt="" /></td><td align="center"> .beat.</td>
</tr>
<tr>
<td align="center"><img src="smiles/beer.gif" alt="" /></td><td align="center"> .beer.</td>
<td align="center"><img src="smiles/blind.gif" alt="" /></td><td align="center"> .blind.</td>
</tr>
<tr>
<td align="center"><img src="smiles/booty.gif" alt="" /></td><td align="center"> .booty.</td>
<td align="center"><img src="smiles/bravo.gif" alt="" /></td><td align="center"> .bravo.</td>
</tr>
<tr>
<td align="center"><img src="smiles/burum.gif" alt="" /></td><td align="center"> .burum.</td>
<td align="center"><img src="smiles/call.gif" alt="" /></td><td align="center"> .call.</td>
</tr>
<tr>
<td align="center"><img src="smiles/confuse.gif" alt="" /></td><td align="center"> .confuse.</td>
<td align="center"><img src="smiles/cry.gif" alt="" /></td><td align="center"> .cry.</td>
</tr>
<tr>
<td align="center"><img src="smiles/death.gif" alt="" /></td><td align="center"> .death.</td>
<td align="center"><img src="smiles/devil.gif" alt="" /></td><td align="center"> .devil.</td>
</tr>
<tr>
<td align="center"><img src="smiles/drink.gif" alt="" /></td><td align="center"> .drink.</td>
<td align="center"><img src="smiles/drunk.gif" alt="" /></td><td align="center"> .drunk.</td>
</tr>
<tr>
<td align="center"><img src="smiles/evil.gif" alt="" /></td><td align="center"> .evil.</td>
<td align="center"><img src="smiles/foo.gif" alt="" /></td><td align="center"> .foo.</td>
</tr>
<?php
}elseif ($_GET['page'] == 2)
{
?>
<tr>
<td align="center"><img src="smiles/hammer.gif" alt="" /></td><td align="center"> .hammer.</td>
<td align="center"><img src="smiles/heart.gif" alt="" /></td><td align="center"> .heart.</td>
</tr>
<tr>
<td align="center"><img src="smiles/help.gif" alt="" /></td><td align="center"> .help.</td>
<td align="center"><img src="smiles/huh.gif" alt="" /></td><td align="center"> .huh.</td>
</tr>
<tr>
<td align="center"><img src="smiles/hypnosis.gif" alt="" /></td><td align="center"> .hypnosis.</td>
<td align="center"><img src="smiles/idiot.gif" alt="" /></td><td align="center"> .idiot.</td>
</tr>
<tr>
<td align="center"><img src="smiles/kill.gif" alt="" /></td><td align="center"> .kill.</td>
<td align="center"><img src="smiles/kiss.gif" alt="" /></td><td align="center"> .kiss.</td>
</tr>
<tr>
<td align="center"><img src="smiles/laugh.gif" alt="" /></td><td align="center"> .laugh.</td>
<td align="center"><img src="smiles/lol.gif" alt="" /></td><td align="center"> .lol.</td>
</tr>
<tr>
<td align="center"><img src="smiles/look.gif" alt="" /></td><td align="center"> .look.</td>
<td align="center"><img src="smiles/love.gif" alt="" /></td><td align="center"> .love.</td>
</tr>
<tr>
<td align="center"><img src="smiles/money.gif" alt="" /></td><td align="center"> .money.</td>
<td align="center"><img src="smiles/music.gif" alt="" /></td><td align="center"> .music.</td>
</tr>
<tr>
<td align="center"><img src="smiles/nono.gif" alt="" /></td><td align="center"> .nono.</td>
<td align="center"><img src="smiles/omg.gif" alt="" /></td><td align="center"> .omg.</td>
</tr>
<?php
}
else
{
?>
<tr>
<td align="center"><img src="smiles/phone.gif" alt="" /></td><td align="center"> .phone.</td>
<td align="center"><img src="smiles/prey.gif" alt="" /></td><td align="center"> .prey.</td>
</tr>
<tr>
<td align="center"><img src="smiles/sleepy.gif" alt="" /></td><td align="center"> .sleepy.</td>
<td align="center"><img src="smiles/smile.gif" alt="" /></td><td align="center"> .smile.</td>
</tr>
<tr>
<td align="center"><img src="smiles/smirk.gif" alt="" /></td><td align="center"> .smirk.</td>
<td align="center"><img src="smiles/smoke.gif" alt="" /></td><td align="center"> .smoke.</td>
</tr>
<tr>
<td align="center"><img src="smiles/stop.gif" alt="" /></td><td align="center"> .stop.</td>
<td align="center"><img src="smiles/sure.gif" alt="" /></td><td align="center"> .sure.</td>
</tr>
<tr>
<td align="center"><img src="smiles/tears.gif" alt="" /></td><td align="center"> .tears.</td>
<td align="center"><img src="smiles/tease.gif" alt="" /></td><td align="center"> .tease.</td>
</tr>
<tr>
<td align="center"><img src="smiles/tongue.gif" alt="" /></td><td align="center"> .tongue.</td>
<td align="center"><img src="smiles/umnik.gif" alt="" /></td><td align="center"> .umnik.</td>
</tr>
<tr>
<td align="center"><img src="smiles/unsmile.gif" alt="" /></td><td align="center"> .unsmile.</td>
<td align="center"><img src="smiles/wakeup.gif" alt="" /></td><td align="center"> .wakeup.</td>
</tr>
<tr>
<td align="center"><img src="smiles/wall.gif" alt="" /></td><td align="center"> .wall.</td>
<td align="center"><img src="smiles/wink.gif" alt="" /></td><td align="center"> .wink.</td>
</tr>
<?php
}
echo '</table>'.pagination ('?module=smiles&room='.$chat->room.'&', 3, (int) $_GET['page']);