View file ascalon/smiles.php

File size: 2.54Kb
<? $conv1=array(":-)",":-(",":-|",":-0",";-)","8-)",":-D","*vyzov*","*ban*","*blagodarju*","*bu*","*chernaja_koshka*","*fak_ju*","*hihi*","*russkaja_ruletka*","*russkij*","*rydaet*","*spasibo*","*tsss*","*uh*","*ura*","*urod*",":-*","*chmok*","*lapochka*","*seks*","*pink*","*serdce*");
$conv2=array("<img src=\"smiles/1.gif\" alt=\"pic\">","<img src=\"smiles/2.gif\" alt=\"pic\">","<img src=\"smiles/3.gif\" alt=\"pic\">","<img src=\"smiles/4.gif\" alt=\"pic\">","<img src=\"smiles/5.gif\" alt=\"pic\">","<img src=\"smiles/6.gif\" alt=\"pic\">","<img src=\"smiles/7.gif\" alt=\"pic\">","<img src=\"smiles/vyzov.gif\" alt=\"pic\">","<img src=\"smiles/ban.gif\" alt=\"pic\">","<img src=\"smiles/blagodarju.gif\" alt=\"pic\">","<img src=\"smiles/bu.gif\" alt=\"pic\">","<img src=\"smiles/chernaja_koshka.gif\" alt=\"pic\">","<img src=\"smiles/fak_ju.gif\" alt=\"pic\">","<img src=\"smiles/hihi.gif\" alt=\"pic\">","<img src=\"smiles/russkaja_ruletka.gif\" alt=\"pic\">","<img src=\"smiles/russkij.gif\" alt=\"pic\">","<img src=\"smiles/rydaet.gif\" alt=\"pic\">","<img src=\"smiles/spasibo.gif\" alt=\"pic\">","<img src=\"smiles/tsss.gif\" alt=\"pic\">","<img src=\"smiles/uh.gif\" alt=\"pic\">","<img src=\"smiles/ura.gif\" alt=\"pic\">","<img src=\"smiles/urod.gif\" alt=\"pic\">","<img src=\"smiles/kiss.gif\" alt=\"pic\">","<img src=\"smiles/chmok.gif\" alt=\"pic\">","<img src=\"smiles/lapochka.gif\" alt=\"pic\">","<img src=\"smiles/seks.gif\" alt=\"pic\">","<img src=\"smiles/pink.gif\" alt=\"pic\">","<img src=\"smiles/serdce.gif\" alt=\"pic\">"); 
require"start.php"; echo'<html><head><title>смайлы</title>'; require"css.php"; echo'</head><body><div class=kto>смайлы</div>';
if(isset($_GET['avt']) && $_GET['avt']!="") $avt=htmlspecialchars(stripslashes($_GET['avt'])); else $avt="0";
$t=0; $x=(int)$avt; $chis=$x+1;  $w=0; echo"<div class=text>"; while($t<=5){ echo"$chis.$conv1[$x]  --  $conv2[$x]<br>"; $chis=$chis+1; $x=$x+1; if($x>=28) {$w=1; $t=7;} $t=$t+1;} echo"</div>"; $nazad=(int)$avt-6; if($nazad<0) $nazad=0; if($w!=1) $next=$x; else $next=$avt;
echo"<a href=\"smiles.php?ses=$ses&amp;avt=$nazad&amp;mt=$mt\">нaзaд</a>|<a href=\"smiles.php?ses=$ses&amp;avt=$next&amp;mt=$mt\">впepeд</a><br>* * * * *<br>";
echo"<div class=kto>"; $f=0; if($lok>500){ echo"<a href=\"clan_room.php?ses=$ses&amp;mt=$mt\">в чaт</a>"; $f=1;} if($lok!=0 && $lok!=10 && $lok<500) {echo"<a href=\"room$lok.php?ses=$ses&amp;mt=$mt\">в чaт</a>"; $f=1;} if($f==0) echo"<a href=\"index.php?ses=$ses&amp;mt=$mt\">на улицу</a>"; echo"</div></body></html>"; require"end.php";
?>