View file wap/service.php

File size: 16.97Kb
<?php
include("inc/func.inc.php");
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
header("Cache-Control: no-cache, must-revalidate");
header("Pragma: no-cache");
echo "<?xml version=\"1.0\"?>\n";
echo "<!DOCTYPE html PUBLIC \"-//WAPFORUM//DTD XHTML Mobile 1.0//EN\" \"http://www.wapforum.org/DTD/xhtml-mobile10.dtd\">\n";
?>
<html xmlns="http://www.w3.org/1999/xhtml">
<?php
  if(!db()){
  echo "<head>";
  echo "<title>RemiXchaT.CoM - World Wide Chat Community And Downloads !</title>";
  include("inc/css.inc.php");
  echo "</head>";
  echo "<body>";
  echo getdberror();
  echo "</body>";
  echo "</html>";
  exit();
  }

  $show = $_GET["show"];
  $hits = $_GET["hits"];
  $page = $_GET["page"];
  $who = $_GET["who"];
  $uid = getuid_hits($hits);
  $uip = getip();
  $ubr = $_SERVER['HTTP_USER_AGENT'];
  cleardata();
  addvisitor();

  if(isipbanned($uip,$ubr)){
  if(!isshield(getuid_hits($hits))){
  echo "<head>";
  echo "<title>RemiXchaT.CoM - World Wide Chat Community And Downloads !</title>";
  include("inc/css.inc.php");
  echo "</head>";
  echo "<body>";
  echo getipbanned($uip, $ubr);
  echo "</body>";
  echo "</html>";
  exit();
  }
  }

  if(($show != "") && ($show != "terms")){
  $uid = getuid_hits($hits);
  if((islogged($hits)==false)||($uid==0)){
  echo "<head>";
  echo "<title>RemiXchaT.CoM - World Wide Chat Community And Downloads !</title>";
  include("inc/css.inc.php");
  echo "</head>";
  echo "<body>";
  echo getsesexplog();
  echo "</body>";
  echo "</html>";
  exit();
  }
  }

  if((isbanned($uid))&&($uid != '0')){
  echo "<head>";
  echo "<title>RemiXchaT.CoM - World Wide Chat Community And Downloads !</title>";
  include("inc/css.inc.php");
  echo "</head>";
  echo "<body>";
  echo getbanned($uid);
  echo "</body>";
  echo "</html>";
  exit();
  }

if($show=="main")
{
    addonline(getuid_hits($hits),"Wap Service - Menu","");
            echo "<head>";
  echo "<title>RemiXchaT.CoM - World Wide Chat Community And Downloads !</title>";
  include("inc/css.inc.php");
 echo "</head>";
 echo "<body>";
  ///echo "<card=\"main\" title=\"Wap Service - Menu\">";
 echo "<div class=\"box_cen\" align=\"center\">";
  echo "<b>Wap Service</b>";
 echo "<div class=\"box_sub\" align=\"left\">";
 echo "<i>Local Services</i><br/>";
  echo "&#8226; <a href=\"rwrss.php?show=showfrss&amp;hits=$hits\">RSS News</a><br/>";
    echo "&#8226; <a href=\"service.php?show=logo&amp;hits=$hits\">Logo Maker</a><br/>";
    echo "&#8226; <a href=\"service.php?show=email&amp;hits=$hits\">Send E-Mail</a><br/>";
    echo "&#8226; <a href=\"service.php?show=md5&amp;hits=$hits\">Md5 Encode</a><br/>";
    echo "&#8226; <a href=\"cut.php?show=mp3&amp;hits=$hits\">Mp3 Cutter</a><br/>";
    echo "&#8226; <a href=\"service.php?show=calculate&amp;hits=$hits\">Calculator</a><br/><br/>";
 echo "<i>Vault Link Services</i><br/>";
    echo "&#8226; <a href=\"service.php?show=google&amp;hits=$hits\">Google Search</a><br/>";
    echo "&#8226; <a href=\"service.php?show=proxy&amp;hits=$hits\">Anonymouse Proxy</a>";
  echo "</div>";
    echo "<a href=\"index.php?show=main&amp;hits=$hits\"><img src=\"images/home.gif\" alt=\"*\"/>";
    echo "Home</a></div>";
include("wapv.php");
    echo "</body>";
}

 else if($show=="logo")
{
    addonline(getuid_hits($hits),"Wap Services - Logo Maker","");

            echo "<head>";
  echo "<title>RemiXchaT.CoM - World Wide Chat Community And Downloads !</title>";
  include("inc/css.inc.php");
 echo "</head>";
 echo "<body>";
 echo "<div class=\"box_cen\" align=\"center\">";
  echo "<b>Logo Maker</b>";
 echo "<div class=\"box_sub\" align=\"center\">";
 echo "<form action=\"service.php?show=create&amp;hits=$hits\" method=\"post\">";
 echo "<b>Image Text:</b><br/>";
 echo "<input name=\"text\" format=\"text\" value=\"remixchat\"/><br/>";

 echo "<b>Text Location: (pix)</b><br/>";

 echo "X:<input name=\"x\" format=\"*N\" size=\"3\" value=\"10\"/>";

 echo "Y:<input name=\"y\" format=\"*N\" size=\"3\" value=\"25\"/><br/>";

 echo "<b>Image Size: (pix)</b><br/>";

 echo "X:<input name=\"s1\" format=\"*N\" size=\"3\" value=\"128\"/>";

 echo "Y:<input name=\"s2\" format=\"*N\" size=\"3\" value=\"42\"/><br/>";

 echo "<b>Background Color: (0-255)</b><br/>";

 echo "B1:<input name=\"b1\" format=\"NNN\" size=\"3\" value=\"000\"/>";

 echo "B2:<input name=\"b2\" format=\"NNN\" size=\"3\" value=\"000\"/>";

 echo "B3:<input name=\"b3\" format=\"NNN\" size=\"3\" value=\"000\"/><br/>";

 echo "<b>Font Color: (0-255)</b><br/>";

 echo "C1:<input name=\"c1\" format=\"NNN\" size=\"3\" value=\"255\"/>";

 echo "C2:<input name=\"c2\" format=\"NNN\" size=\"3\" value=\"255\"/>";

 echo "C3:<input name=\"c3\" format=\"NNN\" size=\"3\" value=\"255\"/><br/>";

 echo "<b>Choose Font:</b><br/>";

 echo "<select name=\"font\" value=\"AlbaSuper.ttf\">
     <option value=\"ADMono.ttf\">ADMono</option>
     <option value=\"AlbaSuper.ttf\">AlbaSuper</option>
     <option value=\"Alexis.ttf\">Alexis</option>
     <option value=\"AmericanBT.ttf\">AmericanBT</option>
     <option value=\"AvQuest.ttf\">AvQuest</option>
     <option value=\"BabyJeepers.ttf\">BabyJeepers</option>
     <option value=\"BAILEYSC.ttf\">Baileysc</option>
     <option value=\"BetsyFlanagan.ttf\">BetsyFlanagan</option>
     <option value=\"BLOCKUP.ttf\">BLOCKUP</option>
     <option value=\"Bloodrac.ttf\">Bloodrac</option>
     <option value=\"BYTE.ttf\">Byte</option>
     <option value=\"Failure.ttf\">Failure</option>
     <option value=\"konecto2.ttf\">konecto2</option>
     <option value=\"Olymb.ttf\">Olymb</option>
     <option value=\"PSAUDI5.ttf\">Psaudi5</option>
     <option value=\"radiosin.ttf\">radiosin</option>
    </select><br/>";

 echo "<b>Font Size:</b><input name=\"fsize\" format=\"NN\" size=\"3\" value=\"20\"/><br/>";

 echo "<b>Font Angle:</b><input name=\"angle\" format=\"NN\" size=\"3\" value=\"00\"/><br/>";

 echo "<b>Logo Format:</b><br/>";
 echo "<select name=\"cont\" value=\"2\">
     <option value=\"0\">PNG</option>
     <option value=\"2\">GIF</option>
    </select><br/>";
    echo "<input type=\"submit\" value=\"Create\"/></form>";
  echo "</div>";
    echo "<a href=\"service.php?show=main&amp;hits=$hits\">Wap Services</a><br/>";
    echo "<a href=\"index.php?show=main&amp;hits=$hits\"><img src=\"images/home.gif\" alt=\"*\"/>";
    echo "Home</a></div>";
include("wapv.php");
    echo "</body>";
}

 else if($show=="create")
{
 $text = $_POST["text"];
 $font = $_POST["font"];
 $s1 = $_POST["s1"];
 $s2 = $_POST["s2"];
 $x = $_POST["x"];
 $y = $_POST["y"];
 $b1 = $_POST["b1"];
 $b2 = $_POST["b2"];
 $b3 = $_POST["b3"];
 $c1 = $_POST["c1"];
 $c2 = $_POST["c2"];
 $c3 = $_POST["c3"];
 $angle = $_POST["angle"];
 $fsize = $_POST["fsize"];
 $cont = $_POST["cont"];

            echo "<head>";
  echo "<title>RemiXchaT.CoM - World Wide Chat Community And Downloads !</title>";
  include("inc/css.inc.php");
 echo "</head>";
 echo "<body>";
 echo "<div class=\"box_cen\" align=\"center\">";
 echo "<b>Logo Maker</b>";
 echo "<div class=\"box_sub\" align=\"center\">";

  echo "<img src=\"logo.php?text=$text&amp;font=$font&amp;s1=$s1&amp;s2=$s2&amp;angle=$angle&amp;fsize=$fsize&amp;c1=$c1&amp;c2=$c2&amp;c3=$c3&amp;b1=$b1&amp;b2=$b2&amp;b3=$b3&amp;x=$x&amp;y=$y&amp;cont=$cont\" alt=\"$text\"/><br/>";
 echo"<a href=\"logo.php?text=$text&amp;font=$font&amp;s1=$s1&amp;s2=$s2&amp;angle=$angle&amp;fsize=$fsize&amp;c1=$c1&amp;c2=$c2&amp;c3=$c3&amp;b1=$b1&amp;b2=$b2&amp;b3=$b3&amp;x=$x&amp;y=$y&amp;cont=$cont\">Download Logo</a>";

  echo "</div>";
    echo "<a href=\"service.php?show=logo&amp;hits=$hits\">";
    echo "Logo Maker</a><br/>";
    echo "<a href=\"service.php?show=main&amp;hits=$hits\">";
    echo "Wap Services</a><br/>";
    echo "<a href=\"index.php?show=main&amp;hits=$hits\"><img src=\"images/home.gif\" alt=\"*\"/>";
    echo "Home</a></div>";
include("wapv.php");
    echo "</body>";
}

 else if($show=="email")
{
    addonline(getuid_hits($hits),"Wap Service - Send E-Mail","");
            echo "<head>";
  echo "<title>RemiXchaT.CoM - World Wide Chat Community And Downloads !</title>";
  include("inc/css.inc.php");
 echo "</head>";
 echo "<body>";
  ///echo "<card=\"main\" title=\"Wap Services - Send E-Mail\">";

 echo "<div class=\"box_cen\" align=\"center\">";
 echo "<b>Send E-Mail</b>";
 echo "<div class=\"box_sub\" align=\"center\">";
  echo "<onevent type=\"onenterforward\">";
  echo "<refresh>
  <setvar name=\"temail\" value=\"@\"/>
  <setvar name=\"yemail\" value=\"@\"/>
  <setvar name=\"subject\" value=\"\"/>
  <setvar name=\"pmtext\" value=\"\"/>
   ";
  echo "</refresh></onevent>";
  echo "<form action=\"service.php?show=sende&amp;hits=$hits\" method=\"post\">";
  echo "Your E-Mail:<br/>";
  echo "<input name=\"yemail\" maxlength=\"100\" value=\"@\"/><br/>";
  echo "To E-Mail:<br/>";
  echo "<input name=\"temail\" maxlength=\"100\" value=\"@\"/><br/><br/>";
  echo "Subject:<br/><input name=\"subject\" maxlength=\"50\"/><br/>";
  echo "Message:<br/><input name=\"pmtext\" maxlength=\"500\"/><br/>";
    echo "<input type=\"submit\" value=\"Send\"/></form>";
  echo "</div>";
echo "<a href=\"service.php?show=main&amp;hits=$hits\">";
    echo "Wap Services</a><br/>";
    echo "<a href=\"index.php?show=main&amp;hits=$hits\"><img src=\"images/home.gif\" alt=\"*\"/>";
    echo "Home</a></div>";
include("wapv.php");
    echo "</body>";
}
 else if($show=="sende")
{

$temail = $_POST["temail"];
$yemail = $_POST["yemail"];
$pmtext = $_POST["pmtext"];
$subject = $_POST["subject"];

    addonline(getuid_hits($hits),"Wap Service - Send E-Mail","");
            echo "<head>";
  echo "<title>RemiXchaT.CoM - World Wide Chat Community And Downloads !</title>";
  include("inc/css.inc.php");
 echo "</head>";
 echo "<body>";
  ///echo "<card=\"main\" title=\"Wap Services - Send E-Mail\">";

 echo "<div class=\"box_cen\" align=\"center\">";
 echo "<b>Send E-Mail</b>";
 echo "<div class=\"box_sub\" align=\"center\">";
  $from_head = "From: noreply@RemiXchaT.COM";

  $subject = "$subject";

  $time = time();
  $ddt = date("M d y", $time);
  $content = "From: $yemail \n Date: $ddt \n\n $pmtext \n\n Service From RemiXchaT.COM The Best Wap Community! \n\n HTTP://RemiXchaT.COM";

  mail($temail, $subject, $content, $from_head);

 echo "<img src=\"images/ok.gif\" alt=\"*\"/>E-Mail Successful Send To $temail";
  echo "</div>";
    echo "<a href=\"service.php?show=email&amp;hits=$hits\">";
    echo "Send E-Mail</a><br/>";
    echo "<a href=\"service.php?show=main&amp;hits=$hits\">";
    echo "Wap Services</a><br/>";
    echo "<a href=\"index.php?show=main&amp;hits=$hits\"><img src=\"images/home.gif\" alt=\"*\"/>";
    echo "Home</a></div>";
include("wapv.php");
    echo "</body>";
}
 else if($show=="calculate")
{

 $num1 = $_POST["num1"];
 $num2 = $_POST["num2"];
 $type = $_POST["type"];

    addonline(getuid_hits($hits),"Wap Service - Online Calculator","");
            echo "<head>";
  echo "<title>RemiXchaT.CoM - World Wide Chat Community And Downloads !</title>";
  include("inc/css.inc.php");
 echo "</head>";
 echo "<body>";
  ///echo "<card=\"main\" title=\"Wap Services - Online Calculator\">";

 echo "<div class=\"box_cen\" align=\"center\">";
 echo "<b>Online Calculator</b>";
 echo "<div class=\"box_sub\" align=\"center\">";

 if(($num1 != "")&&($num2 != ""))
 {

 $num = "$num1$num2";

 if(iscale($num,getuid_hits($hits)))
 {

 if($type == '1')
 {
    $kira = $num1*$num2;
 echo "Question = <b>$num1 * $num2</b><br/>";
 }
 else if($type == '2')
 {
    $kira = $num1/$num2;
 echo "Question = <b>$num1 / $num2</b><br/>";
 }
 else if($type == '3')
 {
    $kira = $num1+$num2;
 echo "Question = <b>$num1 + $num2</b><br/>";
 }
 else if($type == '4')
 {
    $kira = $num1-$num2;
 echo "Question = <b>$num1 - $num2</b><br/>";
 }

  echo "Answer = <b>$kira</b><br/><br/>";
 }else{
 echo "<b>Syntax Error</b><br/><br/>";
 }
 }
  echo "<onevent type=\"onenterforward\">";
  echo "<refresh>
  <setvar name=\"num1\" value=\"0\"/>
  <setvar name=\"num2\" value=\"0\"/>
  <setvar name=\"type\" value=\"1\"/>
   ";
  echo "</refresh></onevent>";
  echo "<form action=\"service.php?show=calculate&amp;hits=$hits&amp;time=$time\" method=\"post\">";
  echo "1st No<br/><input name=\"num1\" format=\"*N\"/><br/>";
  echo "Operasi<br/><select name=\"type\" value=\"1\">";
    echo "<option value=\"1\">Kali</option>";

    echo "<option value=\"2\">Bahagi</option>";

    echo "<option value=\"3\">Tambah</option>";

    echo "<option value=\"4\">Tolak</option>";
    echo "</select><br/>";
  echo "2nd No<br/><input name=\"num2\" format=\"*N\"/><br/>";
    echo "<input type=\"submit\" value=\"Equal\"/></form>";
  echo "</div>";
    echo "<a href=\"service.php?show=main&amp;hits=$hits\">";
    echo "Wap Services</a><br/>";
    echo "<a href=\"index.php?show=main&amp;hits=$hits\"><img src=\"images/home.gif\" alt=\"*\"/>";
    echo "Home</a></div>";
include("wapv.php");
    echo "</body>";
}

 else if($show=="md5")
{

$pwd = $_POST["pwd"];

    addonline(getuid_hits($hits),"Wap Service - Md5 Encode","");
            echo "<head>";
  echo "<title>RemiXchaT.CoM - World Wide Chat Community And Downloads !</title>";
  include("inc/css.inc.php");
 echo "</head>";
 echo "<body>";
  ///echo "<card=\"main\" title=\"Wap Services - Md5 Encode\">";

 echo "<div class=\"box_cen\" align=\"center\">";
 echo "<b>Md5 Encode</b>";
 echo "<div class=\"box_sub\" align=\"center\">";
  $epwd = md5($pwd);

  echo "<onevent type=\"onenterforward\">";
  echo "<refresh>
  <setvar name=\"final\" value=\"$epwd\"/>
   ";
  echo "</refresh></onevent>";

if($pwd != "")
 {
  echo "<b>Md5 Numbers</b><br/><input name=\"final\" value=\"$epwd\"/><br/><br/>";
 }
  echo "<form action=\"service.php?show=md5&amp;ran=$time&amp;hits=$hits\" method=\"post\">";
  echo "<b>Password</b><br/><input name=\"pwd\"/><br/>";
    echo "<input type=\"submit\" value=\"Encode\"/></form>";
  echo "</div>";
    echo "<a href=\"service.php?show=main&amp;hits=$hits\">";
    echo "Wap Services</a><br/>";
    echo "<a href=\"index.php?show=main&amp;hits=$hits\"><img src=\"images/home.gif\" alt=\"*\"/>";
    echo "Home</a></div>";
include("wapv.php");
    echo "</body>";
}
 else if($show=="google")
{
    addonline(getuid_hits($hits),"Wap Service - Google Search","");
            echo "<head>";
  echo "<title>RemiXchaT.CoM - World Wide Chat Community And Downloads !</title>";
  include("inc/css.inc.php");
 echo "</head>";
 echo "<body>";
  ///echo "<card=\"main\" title=\"Wap Services - Google Search\">";

 echo "<div class=\"box_cen\" align=\"center\">";
 echo "<b>Google Search</b>";
 echo "<div class=\"box_sub\" align=\"center\">";
  echo "<onevent type=\"onenterforward\">";
  echo "<refresh>
  <setvar name=\"q\" value=\"RemiXchaT.COM\"/>
  <setvar name=\"site\" value=\"search\"/>
   ";
  echo "</refresh></onevent>";
 echo "<form action=\"http://www.google.com/search?hl=en&amp;source=hp&amp;ie=ISO-8859-1&amp;btnG=Google+Search&amp;aq=f\" method=\"get\">";
 echo "Search For:<br/><input type=\"text\" name=\"q\" maxlength=\"100\" value=\"RemiXchaT.COM\"/><br/>";
    echo "<input type=\"submit\" value=\"Search\"/></form>";
  echo "</div>";
    echo "<a href=\"service.php?show=main&amp;hits=$hits\">";
    echo "Wap Services</a><br/>";
    echo "<a href=\"index.php?show=main&amp;hits=$hits\"><img src=\"images/home.gif\" alt=\"*\"/>";
    echo "Home</a></div>";
include("wapv.php");
    echo "</body>";
}
 else if($show=="proxy")
{
    addonline(getuid_hits($hits),"Wap Service - Anonymouse Proxy","");
            echo "<head>";
  echo "<title>RemiXchaT.CoM - World Wide Chat Community And Downloads !</title>";
  include("inc/css.inc.php");
 echo "</head>";
 echo "<body>";
  ///echo "<card=\"main\" title=\"Wap Services - Anonymouse Proxy\">";

 echo "<div class=\"box_cen\" align=\"center\">";
 echo "<b>Anonymouse Proxy</b>";
 echo "<div class=\"box_sub\" align=\"center\">";
  echo "<onevent type=\"onenterforward\">";
  echo "<refresh>
  <setvar name=\"url\" value=\"http://RemiXchaT.com\"/>
   ";
  echo "</refresh></onevent>";
 echo "<form action=\"http://anonymouse.org/cgi-bin/anon-redirect.cgi\" method=\"get\">";
  echo "Enter Url:<br/><input type=\"text\" name=\"url\" value=\"http://RemiXchaT.com\"/><br/>";
    echo "<input type=\"submit\" value=\"GO\"/></form>";
  echo "</div>";
    echo "<a href=\"service.php?show=main&amp;hits=$hits\">";
    echo "Wap Services</a><br/>";
    echo "<a href=\"index.php?show=main&amp;hits=$hits\"><img src=\"images/home.gif\" alt=\"*\"/>";
    echo "Home</a></div>";
include("wapv.php");

    echo "</body>";
}else{
       echo "<head>";
  echo "<title>RemiXchaT.CoM - World Wide Chat Community And Downloads !</title>";
  include("inc/css.inc.php");
 echo "</head>";
 echo "<body>";
   echo getpagerror();
   echo "</body>";
}

?>
</html>