[php]$ipaddy = $_SERVER[‘REMOTE_ADDR’];
echo $ipaddy;
$ipaddy = str_replace(“.”, “”, $ipaddy);
echo $ipaddy;
$medcall = ($ipaddy%7);
echo $medcall;
if ($medcall == 0) echo “om”;
if ($medcall == 1) echo “ka”;
if ($medcall == 2) echo “qi”;
if ($medcall == 3) echo “lu”;
if ($medcall == 4) echo “eb”;
if ($medcall == 5) echo “ty”;
if ($medcall == 6) echo “po”;
[/php]