View file smiles.php

File size: 3.53Kb
<?php
require_once 'head.php';
if(!isset($_SESSION['user_id'])) die("Вы не авторизированы");
echo 'Смайлы<br />';
switch($_GET['page'])
{
case '2':

echo '
<img src="images/smiles/in_love.gif"/>  -  <b>[in_love]</b><br />
<img src="images/smiles/kaleka.gif"/>  -  <b>[kaleka]</b><br />
<img src="images/smiles/man.gif"/>  -  <b>[man]</b><br />
<img src="images/smiles/mod.gif"/>  -  <b>[mod]</b><br />
<img src="images/smiles/molodec.gif"/>  -  <b>[molodec]</b><br />
<img src="images/smiles/monah.gif"/>  -  <b>[monah]</b><br />
<img src="images/smiles/moroz.gif"/>  -  <b>[moroz]</b><br />
<img src="images/smiles/neznay.gif"/>  -  <b>[neznay]</b><br />
<img src="images/smiles/ninzya.gif"/>  -  <b>[ninzya]</b><br />
<img src="images/smiles/O_o.gif"/>  -  <b>[O_o]</b><br />
<img src="images/smiles/O_o2.gif"/>  -  <b>[O_o2]</b><br />
&bull; <a href="smiles.php?page='.($_GET['page']+1).'">Вперед</a><br />
&bull; <a href="smiles.php?page='.($_GET['page']-1).'">Назад</a><br />

';
break;
#################
case '3':

echo '
<img src="images/smiles/ofigel.gif"/>  -  <b>[ofigel]</b><br />
<img src="images/smiles/ok.gif"/>  -  <b>[ok]</b><br />
<img src="images/smiles/OoO.gif"/>  -  <b>[OoO]</b><br />
<img src="images/smiles/open.gif"/>  -  <b>[open]</b><br />
<img src="images/smiles/pank.gif"/>  -  <b>[pank]</b><br />
<img src="images/smiles/plachu.gif"/>  -  <b>[plachu]</b><br />
<img src="images/smiles/podmig.gif"/>  -  <b>[podmig]</b><br />
<img src="images/smiles/simp.gif"/>  -  <b>[simp]</b><br />
<img src="images/smiles/sleza.gif"/>  -  <b>[sleza]</b><br />
<img src="images/smiles/smele2.gif"/>  -  <b>[smele2]</b><br />
<img src="images/smiles/smile1.gif"/>  -  <b>[smile1]</b><br />
&bull; <a href="smiles.php?page='.($_GET['page']+1).'">Вперед</a><br />
&bull; <a href="smiles.php?page='.($_GET['page']-1).'">Назад</a><br />
';

break;
#################
case '4':

echo '
<img src="images/smiles/smile3.gif"/>  -  <b>[smile3]</b><br />
<img src="images/smiles/smile4.gif"/>  -  <b>[smile4]</b><br />
<img src="images/smiles/smile.gif"/>  -  <b>[smile]</b><br />
<img src="images/smiles/somnevays.gif"/>  -  <b>[somnevays]</b><br />
<img src="images/smiles/soska.gif"/>  -  <b>[soska]</b><br />
<img src="images/smiles/ura.gif"/>  -  <b>[ura]</b><br />
<img src="images/smiles/uuu.gif"/>  -  <b>[uuu]</b><br />
<img src="images/smiles/xuy.gif"/>  -  <b>[xuy]</b><br />
<img src="images/smiles/yxaxa.gif"/>  -  <b>[yxaxa]</b><br />
<img src="images/smiles/zloy.gif"/>  -  <b>[zloy]</b><br />
&bull; <a href="smiles.php?page='.($_GET['page']-1).'">Назад</a><br />
';

break;
#################
default:
echo '
<<<< <a href="'.$_SERVER['HTTP_REFERER'].'">Вернуться</a><br />
<br />
<img src="images/smiles/)P.gif"/>  -  <b>)P</b><br />
<img src="images/smiles/=).gif"/>  -  <b>=)</b><br />
<img src="images/smiles/=].gif"/>  -  <b>=]</b><br />
<img src="images/smiles/admin.gif"/>  -  <b>[admin]</b><br />
<img src="images/smiles/answer.gif"/>  -  <b>[answer]</b><br />
<img src="images/smiles/close.gif"/>  -  <b>[close]</b><br />
<img src="images/smiles/dollar.gif"/>  -  <b>[dollar]</b><br />
<img src="images/smiles/dumay.gif"/>  -  <b>[dumay]</b><br />
<img src="images/smiles/elvis.gif"/>  -  <b>[elvis]</b><br />
<img src="images/smiles/flowers.gif"/>  -  <b>[flowers]</b><br />
<img src="images/smiles/hachu.gif"/>  -  <b>[hachu]</b><br />
&bull; <a href="smiles.php?page=2">Вперед</a><br />';
}
echo '<br />';

 require_once 'foot.php';
?>