View file wapirate/wml/casino.php

File size: 2.27Kb
<?php
include("head.php");
///////////////////////////////////////////////////////////
if($action=="cas")
{
    addonline(getuid_sid($sid),"trying casino","");
    echo "<card id=\"main\" title=\"casino 777\">";
  echo "<p align=\"center\">";
  $gid = $_POST["gid"];
  $un = $_POST["un"];

  if($gid=="")
  {
$num1 = rand(1, 9);
$num2 = rand(1, 9);
$num3 = rand(1, 9);
echo "<img src=\"images/casino.gif\" alt=\"*\"/><br/>";
echo "<b><u>HERE YOUR CARDS:</u></b><br/>";
echo "<b>[$num1][$num2][$num3]</b><br/>";
if ($num1 == 7 and $num2 == 7 and $num3 == 7) {
  $num = rand(1, 5);
  echo "*<small>Hey! You Have Just Won movie clip!!:</small>";
  echo "<small>[<a href=\"casino/$num.3gp\">]get it now!</a></small><br/>";
}
if ($num1 == 1 and $num2 == 1 and $num3 == 1) {
  $num = rand(1, 10);
  echo "*<small>Hey! You Have Just Won An Mp3 Song:</small>";
  echo "<small>[<a href=\"casino/$num.mp3\">]get it now!</a></small><br/>";
}
if ($num1 == 3 and $num2 == 3 and $num3 == 3) {
  $num = rand(1, 10);
  echo "*<small>Hey! you have win poly ringtone:</small>";
  echo "<small>[<a href=\"casino/$num.mid\">]get it now!</a></small><br/>";
}
if ($num2 == 7 and $num3 == 7) {
  $num = rand(1, 15);
  echo "*<small>Hey! you have won gif formate picture lol:</small>";
  echo "<small>[<a href=\"casino/$num.gif\">]get it now!</a></small><br/>";
}
if ($num3 == 7) {
  $num = rand(1, 15);
  echo "*<small>Hey! You Have Just Won An Jpg Format Picture :</small>";
  echo "<small>[<a href=\"casino/$num.jpg\">]get it now!</a></small><br/>";
}
echo "<b><a href=\"casino.php?action=cas&amp;sid=$sid\">Spin The Wheel!</a></b><br/><br/>";
echo "<small><a href=\"index.php?action=funm&amp;sid=$sid\">FUN</a></small>";
echo "<br/>=========<br/>";
echo "<a href=\"index.php?action=main&amp;sid=$sid\"><img src=\"images/home.gif\" alt=\"*\"/>";
echo "Home</a><br/>";
echo "<small><b>&#169;wapirate</b></small><br/>";
  echo "</p>";
    echo "</card>";
}

}else{
   addonline(getuid_sid($sid),"trying casino","");
    echo "<card id=\"main\" title=\"Inbox\">";
  echo "<p align=\"center\">";
  echo "Coming Soon!!!<br/><br/>";
  echo "<a href=\"index.php?action=main&amp;sid=$sid\"><img src=\"images/home.gif\" alt=\"*\"/>";
echo "Home</a>";
  echo "</p></card>";
}
?>
</wml>