Chapel Help

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Chapel Help

    in chapel after marry display to marry request user see like dis

    Nick Asked you to marry im Nick. Do you promesse to give love andafection? [ele/ela] In the sickness and in the health?';
    Do you accept?


    yes(button)
    no(button)


    but press yes button it alwayz show requset msg...
    no button it`s wrk fine.


    how do i fix it.
    thnkz in advance.
    <div align="center">My Web Community ......... http://pahasara.net



    </div>

    #2
    LoL who ever played with the script don&#39;t know what they where doing because when i first coded it it was working perfect.

    anyway the Original chapel action=main in index.php
    Code:
    else if($action=="main")
    {
    echo "<card id=\"main\" title=\"$sitename\">";
    addonline(getuid_sid($sid),"In The Chapel","");
    echo "<p align=\"center\">";
    echo "<img src=\"images/chapel.jpg\" alt=\"Chapel\"/>
    ";
    echo "Welcome To The Online Chapel!
    ";
    echo "Here You Can Get Wappied To That Special Someone In Your Wap Life!
    ----
    ";
    echo "<a href=\"chapel.php?action=wnumpty&amp;sid=$sid\">What Is Wappied?</a>
    ";
    $uid = getuid_sid($sid);
    $isreq = mysql_fetch_array(mysql_query("SELECT rpen, uid FROM chapel WHERE mid=&#39;".$uid."&#39;"));
    if ($isreq[0]==1)
    {
    $wid = $isreq[1];
    $wnick = getnick_uid($wid);
    echo "$wnick Has Requested To Get Wappied To You
    ";
    echo "Do You Accept:
    ";
    echo "<anchor>YES!";
    echo "<go href=\"chapel.php?action=conm&amp;sid=$sid\" method=\"post\">"; 
    echo "<postfield name=\"wid\" value=\"$wid\"/>";
    echo "</go></anchor>
    ";
    echo "<anchor>NO!";
    echo "<go href=\"chapel.php?action=rejm&amp;sid=$sid\" method=\"post\">";  
    echo "<postfield name=\"wid\" value=\"$wid\"/>";
    echo "</go></anchor>
    ";
    }else{
    $mstat = mysql_fetch_array(mysql_query("SELECT ismd FROM chapel WHERE id=&#39;".$uid."&#39;"));
    if ($mstat[0]==0)
    {
    echo "<a href=\"chapel.php?action=rgetm&amp;sid=$sid\">Get Wappied!</a>
    ";
    }else{
    $mstat = mysql_fetch_array(mysql_query("SELECT ismd FROM chapel WHERE id=&#39;".$uid."&#39;"));
    if ($mstat[0]==1)
    {
    echo "<a href=\"chapel.php?action=getd&amp;sid=$sid\">Get Devorced</a>
    ";
    }
    }
    }
    echo "<img src=\"images/line.gif\" alt=\"line\"/>";
    echo "
    <a href=\"index.php?action=main&amp;sid=$sid\">Home</a>";
    echo "
    
    [size="1"](c)WhiteWarrior[/size]";
    echo "</p>";
    echo "</card>";
    }
    i know it works 100%

    Comment


      #3
      LoL who ever played with the script don&#39;t know what they where doing because when i first coded it it was working perfect.

      anyway the Original chapel action=main in index.php
      Code:
      else if($action=="main")
      {
      echo "<card id=\"main\" title=\"$sitename\">";
      addonline(getuid_sid($sid),"In The Chapel","");
      echo "<p align=\"center\">";
      echo "<img src=\"images/chapel.jpg\" alt=\"Chapel\"/>
      ";
      echo "Welcome To The Online Chapel!
      ";
      echo "Here You Can Get Wappied To That Special Someone In Your Wap Life!
      ----
      ";
      echo "<a href=\"chapel.php?action=wnumpty&amp;sid=$sid\">What Is Wappied?</a>
      ";
      $uid = getuid_sid($sid);
      $isreq = mysql_fetch_array(mysql_query("SELECT rpen, uid FROM chapel WHERE mid=&#39;".$uid."&#39;"));
      if ($isreq[0]==1)
      {
      $wid = $isreq[1];
      $wnick = getnick_uid($wid);
      echo "$wnick Has Requested To Get Wappied To You
      ";
      echo "Do You Accept:
      ";
      echo "<anchor>YES!";
      echo "<go href=\"chapel.php?action=conm&amp;sid=$sid\" method=\"post\">"; 
      echo "<postfield name=\"wid\" value=\"$wid\"/>";
      echo "</go></anchor>
      ";
      echo "<anchor>NO!";
      echo "<go href=\"chapel.php?action=rejm&amp;sid=$sid\" method=\"post\">";  
      echo "<postfield name=\"wid\" value=\"$wid\"/>";
      echo "</go></anchor>
      ";
      }else{
      $mstat = mysql_fetch_array(mysql_query("SELECT ismd FROM chapel WHERE id=&#39;".$uid."&#39;"));
      if ($mstat[0]==0)
      {
      echo "<a href=\"chapel.php?action=rgetm&amp;sid=$sid\">Get Wappied!</a>
      ";
      }else{
      $mstat = mysql_fetch_array(mysql_query("SELECT ismd FROM chapel WHERE id=&#39;".$uid."&#39;"));
      if ($mstat[0]==1)
      {
      echo "<a href=\"chapel.php?action=getd&amp;sid=$sid\">Get Devorced</a>
      ";
      }
      }
      }
      echo "<img src=\"images/line.gif\" alt=\"line\"/>";
      echo "
      <a href=\"index.php?action=main&amp;sid=$sid\">Home</a>";
      echo "
      
      [size="1"](c)WhiteWarrior[/size]";
      echo "</p>";
      echo "</card>";
      }
      i know it works 100%[/b]
      thnkz bro but it alwayz show requset.
      after confer wappied it apper alwayz.
      hw do i fix it.thnkz very much.
      <div align="center">My Web Community ......... http://pahasara.net



      </div>

      Comment


        #4
        yes why does the request do not disapear?
        Failure is not when a girls leaves you, its only when you let her go virgin. heheh!!

        <span style="color:#9ACD32"><span style="font-size:36pt;line-height:100%">BEST MOBILE ADVERTISER</span></span>

        Comment


          #5
          the rejsct work no accept
          Failure is not when a girls leaves you, its only when you let her go virgin. heheh!!

          <span style="color:#9ACD32"><span style="font-size:36pt;line-height:100%">BEST MOBILE ADVERTISER</span></span>

          Comment


            #6
            <div class='codetop'>CODE</div><div class='codemain' style='height:200px;white-space:pre;overflow:auto'><?php
            //////original copy of wapple adventure changed title to Ancient Empires
            /////// new games for sale just send private message to me
            //////////heres my version

            $version = "version: v1.0";
            forsale games: whammy push your luck,wap poker online game

            $adven = "whammy push your luck!";
            $adven2 = "swerte!";

            ?>

            <?php
            //header(&#39;Content-type: application/vnd.wap.xhtml+xml&#39;);
            echo "<?xml version=\"1.0\"?>";
            echo "<!DOCTYPE html PUBLIC \"-//WAPFORUM//DTD XHTML Mobile 1.0//EN\" \"http://www.wapforum.org/DTD/xhtml-mobile10.dtd\">";
            ?>
            <html xmlns="http://www.w3.org/1999/xhtml">
            <?php
            include("config.php");
            include("core.php");
            $bcon = connectdb();

            if (!$bcon)
            {
            echo "<head>";
            echo "<title>Chapel</title>";
            echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../themes/white.css\">";
            echo "<head>";
            echo "<body>";
            echo "<p align=\"center\">";
            echo "<img src=\"../images/notok.gif\" alt=\"!\"/>
            ";
            echo "Error! Cannot Connect To Database...

            ";
            echo "This error happens usually when backing up the database, please be patient...";
            echo "</p>";
            echo "</body>";
            echo "</html>";
            exit();
            }

            $action = $_GET["action"];
            $sid = $_GET["sid"];
            $sitename = mysql_fetch_array(mysql_query("SELECT value FROM ibwf_settings WHERE name=&#39;sitename&#39;"));
            $sitename = $sitename[0];
            $uid = getuid_sid($sid);
            $theme = mysql_fetch_array(mysql_query("SELECT theme FROM ibwf_users WHERE id=&#39;".$uid."&#39;"));

            if((islogged($sid)==false)||($uid==0))
            {
            echo "<head>";
            echo "<title>Error!!!</title>";
            echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../themes/white_medium.css\">";
            echo "</head>";
            echo "<body>";
            echo "<p align=\"center\">";
            echo "You are not logged in
            ";
            echo "Or Your session has been expired

            ";
            echo "<a href=\"http://wapple.890m.com/index.php\">Login</a>";
            echo "</p>";
            echo "</body>";
            echo "</html>";
            exit();
            }
            if(isbanned($uid))
            {
            echo "<head>";
            echo "<title>Error!!!</title>";
            echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../themes/$theme[0]\">";
            echo "</head>";
            echo "<body>";
            echo "<p align=\"center\">";
            echo "<img src=\"../images/notok.gif\" alt=\"x\"/>
            ";
            echo "You are Banned

            ";
            $banto = mysql_fetch_array(mysql_query("SELECT timeto, pnreas, exid FROM ibwf_penalties WHERE uid=&#39;".$uid."&#39; AND penalty=&#39;1&#39; OR uid=&#39;".$uid."&#39; AND penalty=&#39;2&#39;"));
            $banres = mysql_fetch_array(mysql_query("SELECT lastpnreas FROM ibwf_users WHERE id=&#39;".$uid."&#39;"));
            $remain = $banto[0]- time();
            $rmsg = gettimemsg($remain);
            echo "Time Left: $rmsg
            ";
            $nick = getnick_uid($banto[2]);
            echo "By: $nick
            ";
            echo "Reason: $banto[1]";
            echo "<a href=\"http://wapple.890m.com/index.php\">Login</a>";
            echo "</p>";
            echo "</body>";
            echo "</html>";
            exit();
            }
            if($action=="chpreqref")
            {
            $id=$_GET["id"];

            addonline(getuid_sid($sid),"XHTML - Chapel","index.php?action=$action");
            echo "<body>";
            echo "

            "; echo "Chapel";
            echo "</p>";
            echo "

            ";
            $dbinfo=mysql_fetch_array(mysql_query("SELECT * FROM ibwf_married WHERE id=&#39;".$id."&#39;"));
            $frmnick=getnick_uid($dbinfo["frmuid"]);
            echo "Aww, We are sorry to hear about You Decision, your proposer has been informed of your decison, thank you";
            $dbinfo2=mysql_query("DELETE FROM ibwf_married WHERE id=&#39;".$id."&#39;");
            $tonick=getnick_uid($dbinfo["touid"]);

            $byuid = getuid_sid($sid);
            $person = getnick_sid($sid);
            $who=$dbinfo["frmuid"];
            $pmtext="Sorry, $tonick has refused your proposal. we are sorry to hear this, but feel free to try again at a later date";

            $tm = time();
            $res = mysql_query("INSERT INTO ibwf_private SET text=&#39;".$pmtext."&#39;, byuid=&#39;".$byuid."&#39;, touid=&#39;".$who."&#39;, timesent=&#39;".$tm."&#39;");

            echo "</p>";
            echo "

            ";
            echo "Please Note: This Marriage IS NOT Legally Binding
            ";
            echo "<a href=\"index.php?action=main&amp;sid=$sid\"><img src=\"images/home.gif\" alt=\"*\"/>";
            echo "Home</a>";
            echo "</p>";
            echo "</body>";
            }
            else if($action=="chpreqacc")
            {
            $id=$_GET["id"];

            addonline(getuid_sid($sid),"XHTML - Chapel","index.php?action=$action");
            echo "<body>";
            echo "

            ";
            echo "Chapel";
            echo "</p>";
            echo "

            ";
            $dbinfo=mysql_fetch_array(mysql_query("SELECT * FROM ibwf_married WHERE id=&#39;".$id."&#39;"));
            $frmnick=getnick_uid($dbinfo["frmuid"]);
            echo "Congratulations!. Your Marriage To $frmnick Is Complete. We Hope You Are Both Happy in your new Relationship";
            $dbinfo2=mysql_query("UPDATE ibwf_married SET agreed=&#39;1&#39;, complete=&#39;1&#39; WHERE id=&#39;".$id."&#39;");
            $tonick=getnick_uid($dbinfo["touid"]);

            $byuid = getuid_sid($sid);
            $person = getnick_sid($sid);
            $who=$dbinfo["frmuid"];
            $pmtext="Congratulations!. Your Marriage To $tonick Is Complete. We Hope You Are Both Happy in your new Relationship";

            $tm = time();
            $res = mysql_query("INSERT INTO ibwf_private SET text=&#39;".$pmtext."&#39;, byuid=&#39;".$byuid."&#39;, touid=&#39;".$who."&#39;, timesent=&#39;".$tm."&#39;");

            echo "</p>";
            echo "

            ";
            echo "Please Note: This Marriage IS NOT Legally Binding
            ";
            echo "<a href=\"index.php?action=main&amp;sid=$sid\"><img src=\"images/home.gif\" alt=\"*\"/>";
            echo "Home</a>";
            echo "</p>";
            echo "</body>";
            }
            else if($action=="chapel")
            {
            addonline(getuid_sid($sid),"XHTML - Chapel","index.php?action=$action");
            echo "<body>";
            echo "

            ";
            echo "Chapel";
            echo "</p>";
            echo "

            ";
            echo "Welcome To $sitename Online Chapel.
            Here You Can Get Married Online In Front Of Our Resident vicar Chaos_dragon";
            echo "</p>";
            $uid=getuid_sid($sid);
            $chkcode=mysql_fetch_array(mysql_query("SELECT id FROM ibwf_married WHERE touid=&#39;".$uid."&#39;"));
            if($chkcode[0]>0)
            {
            $marriedinfo=mysql_fetch_array(mysql_query("SELECT * FROM ibwf_married WHERE touid=&#39;".$uid."&#39;"));
            echo "

            ";
            $tonick=getnick_uid($marriedinfo[&#39;touid&#39;]);
            $frmnick=getnick_uid($marriedinfo[&#39;frmuid&#39;]);
            $mf=mysql_fetch_array(mysql_query("SELECT sex FROM ibwf_users WHERE id=&#39;".$marriedinfo[&#39;frmnick&#39;]."&#39;"));
            if($mf[0]=="M")
            {
            $sex=="Him";
            $husb=="Husband";
            }else{
            $sex=="Her";
            $husb=="Wife";
            }
            $i=$marriedinfo["ID"];
            echo "Marriage Between $tonick and $frmnick

            ";
            echo "Your Only one step away from Marrying your true love. all you need to do is read and accept the vows below

            ";
            echo "$tonick, do you take $frmnick to be your wedded $husb to live together in marriage. Do you promise to love, comfort, honor and keep $sex
            ";
            echo "For better or worse, for richer or poorer, in sickness and in health. And forsaking all others, be faithful only to
            ";
            echo "$sex so long as you both shall live?

            ";
            echo "<a href=\"kasal.php?action=chpreqacc&amp;sid=$sid&amp ;id=$i\">I Do</a>
            ";
            echo "<a href=\"kasal.php?action=chpreqref&amp;sid=$sid&amp ;id=$i\">Sorry, I Dont</a>
            ";
            echo "</p>";
            }else{
            $nick=getnick_sid($sid);
            echo "

            ";
            echo "To Begin Please Enter The Nickname Of The User You Want to Marry, A PM will be sent
            ";
            echo "To them asking if they wish to marry you and inviting them to the chapel to complete the service.
            ";
            echo "By Sending the message below you agree to the below vows also";
            echo "

            ";
            echo "$nick, do you take [user] to be your wedded [wife/husband] to live together in marriage. Do you promise to love, comfort, honor and keep [him/her]
            ";
            echo "For better or worse, for richer or poorer, in sickness and in health. And forsaking all others, be faithful only to
            ";
            echo "[him/her] so long as you both shall live?

            ";
            echo "Username:
            ";
            echo "<form name=\"form1\" action=\"kasal.php?action=chpsndreq&amp;sid=$sid\" method=\"post\">";
            echo "<input name=\"marusr\" maxlength=\"25\"/>
            ";
            echo "<input type=\"submit\" name=\"submit\" value=\"I Do\"></form>";
            echo "</p>";
            }
            echo "

            ";
            echo "Please Note: This Marriage IS NOT Legally Binding
            ";
            echo "<a href=\"index.php?action=main&amp;sid=$sid\"><img src=\"images/home.gif\" alt=\"*\"/>";
            echo "Home</a>";
            echo "</p>";
            echo "</body>";
            }
            else if($action=="chpsndreq")
            {
            addonline(getuid_sid($sid),"XHTML - Chapel","index.php?action=$action");
            echo "<body>";
            echo "

            ";
            echo "Wap Chapel";
            echo "</p>";
            echo "

            ";
            echo "Welcome To Our Online Chapel.
            Here You Can Get Married Online In Front Of Our Resident vicar CHAOS_DRAGON";
            echo "</p>";
            $marusr = $_POST["marusr"];
            $who = getuid_nick($marusr);
            $whonick = getnick_uid($who);
            if($who=="")
            {
            echo "

            ";
            echo "Sorry this user does not exist, Please Try Again";
            echo "

            <a href=\"index.php?action=main&amp;sid=$sid\"><img src=\"images/home.gif\" alt=\"*\"/>";
            echo "Home</a>";
            echo "</p>";
            echo "</body>";
            echo "</html>";
            exit;
            }

            $byuid = getuid_sid($sid);
            $person = getnick_sid($sid);
            $sql=mysql_query("INSERT INTO ibwf_married SET frmuid=&#39;".$byuid."&#39;, touid=&#39;".$who."&#39;");
            $sql2=mysql_fetch_array(mysql_query("SELECT id FROM ibwf_married WHERE frmuid=&#39;".$byuid."&#39; AND touid=&#39;".$who."&#39;"));
            $pmtext="-marriage- $person would like to To ask For your hand in marriage, to accept or refuse visit the chapel link in the sites fun menu";

            $tm = time();
            $res = mysql_query("INSERT INTO ibwf_private SET text=&#39;".$pmtext."&#39;, byuid=&#39;".$byuid."&#39;, touid=&#39;".$who."&#39;, timesent=&#39;".$tm."&#39;");
            if($res)
            {
            echo "

            ";
            echo "<img src=\"images/ok.gif\" alt=\"O\"/>";
            echo "Marriage Request was sent successfully to $whonick
            please wait for a response</p>";
            }else{
            echo "

            ";
            echo "<img src=\"images/notok.gif\" alt=\"X\"/>";
            echo "Can&#39;t Send Request to $whonick</p>";
            }
            echo "

            ";
            echo "Please Note: This Marriage IS NOT Legally Binding
            ";
            echo "<a href=\"index.php?action=main&amp;sid=$sid\"><img src=\"images/home.gif\" alt=\"*\"/>";
            echo "Home</a>";
            echo "</p>";
            echo "</body>";
            }
            ?></div>
            <?php
            //////original copy of wapple adventure changed title to Ancient Empires
            /////// new games for sale just send private message to me
            //////////heres my version

            $version = "version: v1.0";
            forsale games: whammy push your luck,wap poker online game

            $adven = "whammy push your luck!";
            $adven2 = "swerte!";

            ?>

            <?php
            //header(&#39;Content-type: application/vnd.wap.xhtml+xml&#39;);
            echo "<?xml version=\"1.0\"?>";
            echo "<!DOCTYPE html PUBLIC \"-//WAPFORUM//DTD XHTML Mobile 1.0//EN\" \"http://www.wapforum.org/DTD/xhtml-mobile10.dtd\">";
            ?>
            <html xmlns="http://www.w3.org/1999/xhtml">
            <?php
            include("config.php");
            include("core.php");
            $bcon = connectdb();

            if (!$bcon)
            {
            echo "<head>";
            echo "<title>Chapel</title>";
            echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../themes/white.css\">";
            echo "<head>";
            echo "<body>";
            echo "<p align=\"center\">";
            echo "<img src=\"../images/notok.gif\" alt=\"!\"/>
            ";
            echo "Error! Cannot Connect To Database...

            ";
            echo "This error happens usually when backing up the database, please be patient...";
            echo "</p>";
            echo "</body>";
            echo "</html>";
            exit();
            }

            $action = $_GET["action"];
            $sid = $_GET["sid"];
            $sitename = mysql_fetch_array(mysql_query("SELECT value FROM ibwf_settings WHERE name=&#39;sitename&#39;"));
            $sitename = $sitename[0];
            $uid = getuid_sid($sid);
            $theme = mysql_fetch_array(mysql_query("SELECT theme FROM ibwf_users WHERE id=&#39;".$uid."&#39;"));

            if((islogged($sid)==false)||($uid==0))
            {
            echo "<head>";
            echo "<title>Error!!!</title>";
            echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../themes/white_medium.css\">";
            echo "</head>";
            echo "<body>";
            echo "<p align=\"center\">";
            echo "You are not logged in
            ";
            echo "Or Your session has been expired

            ";
            echo "<a href=\"http://wapple.890m.com/index.php\">Login</a>";
            echo "</p>";
            echo "</body>";
            echo "</html>";
            exit();
            }
            if(isbanned($uid))
            {
            echo "<head>";
            echo "<title>Error!!!</title>";
            echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../themes/$theme[0]\">";
            echo "</head>";
            echo "<body>";
            echo "<p align=\"center\">";
            echo "<img src=\"../images/notok.gif\" alt=\"x\"/>
            ";
            echo "You are Banned

            ";
            $banto = mysql_fetch_array(mysql_query("SELECT timeto, pnreas, exid FROM ibwf_penalties WHERE uid=&#39;".$uid."&#39; AND penalty=&#39;1&#39; OR uid=&#39;".$uid."&#39; AND penalty=&#39;2&#39;"));
            $banres = mysql_fetch_array(mysql_query("SELECT lastpnreas FROM ibwf_users WHERE id=&#39;".$uid."&#39;"));
            $remain = $banto[0]- time();
            $rmsg = gettimemsg($remain);
            echo "Time Left: $rmsg
            ";
            $nick = getnick_uid($banto[2]);
            echo "By: $nick
            ";
            echo "Reason: $banto[1]";
            echo "<a href=\"http://wapple.890m.com/index.php\">Login</a>";
            echo "</p>";
            echo "</body>";
            echo "</html>";
            exit();
            }
            if($action=="chpreqref")
            {
            $id=$_GET["id"];

            addonline(getuid_sid($sid),"XHTML - Chapel","index.php?action=$action");
            echo "<body>";
            echo "

            "; echo "Chapel";
            echo "</p>";
            echo "

            ";
            $dbinfo=mysql_fetch_array(mysql_query("SELECT * FROM ibwf_married WHERE id=&#39;".$id."&#39;"));
            $frmnick=getnick_uid($dbinfo["frmuid"]);
            echo "Aww, We are sorry to hear about You Decision, your proposer has been informed of your decison, thank you";
            $dbinfo2=mysql_query("DELETE FROM ibwf_married WHERE id=&#39;".$id."&#39;");
            $tonick=getnick_uid($dbinfo["touid"]);

            $byuid = getuid_sid($sid);
            $person = getnick_sid($sid);
            $who=$dbinfo["frmuid"];
            $pmtext="Sorry, $tonick has refused your proposal. we are sorry to hear this, but feel free to try again at a later date";

            $tm = time();
            $res = mysql_query("INSERT INTO ibwf_private SET text=&#39;".$pmtext."&#39;, byuid=&#39;".$byuid."&#39;, touid=&#39;".$who."&#39;, timesent=&#39;".$tm."&#39;");

            echo "</p>";
            echo "

            ";
            echo "Please Note: This Marriage IS NOT Legally Binding
            ";
            echo "<a href=\"index.php?action=main&amp;sid=$sid\"><img src=\"images/home.gif\" alt=\"*\"/>";
            echo "Home</a>";
            echo "</p>";
            echo "</body>";
            }
            else if($action=="chpreqacc")
            {
            $id=$_GET["id"];

            addonline(getuid_sid($sid),"XHTML - Chapel","index.php?action=$action");
            echo "<body>";
            echo "

            ";
            echo "Chapel";
            echo "</p>";
            echo "

            ";
            $dbinfo=mysql_fetch_array(mysql_query("SELECT * FROM ibwf_married WHERE id=&#39;".$id."&#39;"));
            $frmnick=getnick_uid($dbinfo["frmuid"]);
            echo "Congratulations!. Your Marriage To $frmnick Is Complete. We Hope You Are Both Happy in your new Relationship";
            $dbinfo2=mysql_query("UPDATE ibwf_married SET agreed=&#39;1&#39;, complete=&#39;1&#39; WHERE id=&#39;".$id."&#39;");
            $tonick=getnick_uid($dbinfo["touid"]);

            $byuid = getuid_sid($sid);
            $person = getnick_sid($sid);
            $who=$dbinfo["frmuid"];
            $pmtext="Congratulations!. Your Marriage To $tonick Is Complete. We Hope You Are Both Happy in your new Relationship";

            $tm = time();
            $res = mysql_query("INSERT INTO ibwf_private SET text=&#39;".$pmtext."&#39;, byuid=&#39;".$byuid."&#39;, touid=&#39;".$who."&#39;, timesent=&#39;".$tm."&#39;");

            echo "</p>";
            echo "

            ";
            echo "Please Note: This Marriage IS NOT Legally Binding
            ";
            echo "<a href=\"index.php?action=main&amp;sid=$sid\"><img src=\"images/home.gif\" alt=\"*\"/>";
            echo "Home</a>";
            echo "</p>";
            echo "</body>";
            }
            else if($action=="chapel")
            {
            addonline(getuid_sid($sid),"XHTML - Chapel","index.php?action=$action");
            echo "<body>";
            echo "

            ";
            echo "Chapel";
            echo "</p>";
            echo "

            ";
            echo "Welcome To $sitename Online Chapel.
            Here You Can Get Married Online In Front Of Our Resident vicar Chaos_dragon";
            echo "</p>";
            $uid=getuid_sid($sid);
            $chkcode=mysql_fetch_array(mysql_query("SELECT id FROM ibwf_married WHERE touid=&#39;".$uid."&#39;"));
            if($chkcode[0]>0)
            {
            $marriedinfo=mysql_fetch_array(mysql_query("SELECT * FROM ibwf_married WHERE touid=&#39;".$uid."&#39;"));
            echo "

            ";
            $tonick=getnick_uid($marriedinfo[&#39;touid&#39;]);
            $frmnick=getnick_uid($marriedinfo[&#39;frmuid&#39;]);
            $mf=mysql_fetch_array(mysql_query("SELECT sex FROM ibwf_users WHERE id=&#39;".$marriedinfo[&#39;frmnick&#39;]."&#39;"));
            if($mf[0]=="M")
            {
            $sex=="Him";
            $husb=="Husband";
            }else{
            $sex=="Her";
            $husb=="Wife";
            }
            $i=$marriedinfo["ID"];
            echo "Marriage Between $tonick and $frmnick

            ";
            echo "Your Only one step away from Marrying your true love. all you need to do is read and accept the vows below

            ";
            echo "$tonick, do you take $frmnick to be your wedded $husb to live together in marriage. Do you promise to love, comfort, honor and keep $sex
            ";
            echo "For better or worse, for richer or poorer, in sickness and in health. And forsaking all others, be faithful only to
            ";
            echo "$sex so long as you both shall live?

            ";
            echo "<a href=\"kasal.php?action=chpreqacc&amp;sid=$sid&amp ;id=$i\">I Do</a>
            ";
            echo "<a href=\"kasal.php?action=chpreqref&amp;sid=$sid&amp ;id=$i\">Sorry, I Dont</a>
            ";
            echo "</p>";
            }else{
            $nick=getnick_sid($sid);
            echo "

            ";
            echo "To Begin Please Enter The Nickname Of The User You Want to Marry, A PM will be sent
            ";
            echo "To them asking if they wish to marry you and inviting them to the chapel to complete the service.
            ";
            echo "By Sending the message below you agree to the below vows also";
            echo "

            ";
            echo "$nick, do you take [user] to be your wedded [wife/husband] to live together in marriage. Do you promise to love, comfort, honor and keep [him/her]
            ";
            echo "For better or worse, for richer or poorer, in sickness and in health. And forsaking all others, be faithful only to
            ";
            echo "[him/her] so long as you both shall live?

            ";
            echo "Username:
            ";
            echo "<form name=\"form1\" action=\"kasal.php?action=chpsndreq&amp;sid=$sid\" method=\"post\">";
            echo "<input name=\"marusr\" maxlength=\"25\"/>
            ";
            echo "<input type=\"submit\" name=\"submit\" value=\"I Do\"></form>";
            echo "</p>";
            }
            echo "

            ";
            echo "Please Note: This Marriage IS NOT Legally Binding
            ";
            echo "<a href=\"index.php?action=main&amp;sid=$sid\"><img src=\"images/home.gif\" alt=\"*\"/>";
            echo "Home</a>";
            echo "</p>";
            echo "</body>";
            }
            else if($action=="chpsndreq")
            {
            addonline(getuid_sid($sid),"XHTML - Chapel","index.php?action=$action");
            echo "<body>";
            echo "

            ";
            echo "Wap Chapel";
            echo "</p>";
            echo "

            ";
            echo "Welcome To Our Online Chapel.
            Here You Can Get Married Online In Front Of Our Resident vicar CHAOS_DRAGON";
            echo "</p>";
            $marusr = $_POST["marusr"];
            $who = getuid_nick($marusr);
            $whonick = getnick_uid($who);
            if($who=="")
            {
            echo "

            ";
            echo "Sorry this user does not exist, Please Try Again";
            echo "

            <a href=\"index.php?action=main&amp;sid=$sid\"><img src=\"images/home.gif\" alt=\"*\"/>";
            echo "Home</a>";
            echo "</p>";
            echo "</body>";
            echo "</html>";
            exit;
            }

            $byuid = getuid_sid($sid);
            $person = getnick_sid($sid);
            $sql=mysql_query("INSERT INTO ibwf_married SET frmuid=&#39;".$byuid."&#39;, touid=&#39;".$who."&#39;");
            $sql2=mysql_fetch_array(mysql_query("SELECT id FROM ibwf_married WHERE frmuid=&#39;".$byuid."&#39; AND touid=&#39;".$who."&#39;"));
            $pmtext="-marriage- $person would like to To ask For your hand in marriage, to accept or refuse visit the chapel link in the sites fun menu";

            $tm = time();
            $res = mysql_query("INSERT INTO ibwf_private SET text=&#39;".$pmtext."&#39;, byuid=&#39;".$byuid."&#39;, touid=&#39;".$who."&#39;, timesent=&#39;".$tm."&#39;");
            if($res)
            {
            echo "

            ";
            echo "<img src=\"images/ok.gif\" alt=\"O\"/>";
            echo "Marriage Request was sent successfully to $whonick
            please wait for a response</p>";
            }else{
            echo "

            ";
            echo "<img src=\"images/notok.gif\" alt=\"X\"/>";
            echo "Can&#39;t Send Request to $whonick</p>";
            }
            echo "

            ";
            echo "Please Note: This Marriage IS NOT Legally Binding
            ";
            echo "<a href=\"index.php?action=main&amp;sid=$sid\"><img src=\"images/home.gif\" alt=\"*\"/>";
            echo "Home</a>";
            echo "</p>";
            echo "</body>";
            }
            ?>
            Services

            Are you looking to take your wap or wapsite to a higher level? Do you want to stand out and rise above your competitors?

            Below is a list of services I offer:

            Wap Design and Customized Coding -The first way to stand out in a crowd is to have a brilliant and unique design for your wap or wapsite.

            Rates

            General consulting – My current hourly rate is $100 / hour.
            Custom Wapsite Community - My current rate is $500 / Wap Community Development.

            Comment


              #7
              <div class='codetop'>CODE
              <div class='codemain' style='height:200px;white-space:pre;overflow:auto'><?php
              //////original copy of wapple adventure changed title to Ancient Empires
              /////// new games for sale just send private message to me
              //////////heres my version

              $version = "version: v1.0";
              forsale games: whammy push your luck,wap poker online game

              $adven = "whammy push your luck!";
              $adven2 = "swerte!";

              ?>

              <?php
              //header(&#39;Content-type: application/vnd.wap.xhtml+xml&#39;);
              echo "<?xml version=\"1.0\"?>";
              echo "<!DOCTYPE html PUBLIC \"-//WAPFORUM//DTD XHTML Mobile 1.0//EN\" \"http://www.wapforum.org/DTD/xhtml-mobile10.dtd\">";
              ?>
              <html xmlns="http://www.w3.org/1999/xhtml">
              <?php
              include("config.php");
              include("core.php");
              $bcon = connectdb();

              if (!$bcon)
              {
              echo "<head>";
              echo "<title>Chapel</title>";
              echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../themes/white.css\">";
              echo "<head>";
              echo "<body>";
              echo "<p align=\"center\">";
              echo "<img src=\"../images/notok.gif\" alt=\"!\"/>
              ";
              echo "Error! Cannot Connect To Database...

              ";
              echo "This error happens usually when backing up the database, please be patient...";
              echo "</p>";
              echo "</body>";
              echo "</html>";
              exit();
              }

              $action = $_GET["action"];
              $sid = $_GET["sid"];
              $sitename = mysql_fetch_array(mysql_query("SELECT value FROM ibwf_settings WHERE name=&#39;sitename&#39;"));
              $sitename = $sitename[0];
              $uid = getuid_sid($sid);
              $theme = mysql_fetch_array(mysql_query("SELECT theme FROM ibwf_users WHERE id=&#39;".$uid."&#39;"));

              if((islogged($sid)==false)||($uid==0))
              {
              echo "<head>";
              echo "<title>Error!!!</title>";
              echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../themes/white_medium.css\">";
              echo "</head>";
              echo "<body>";
              echo "<p align=\"center\">";
              echo "You are not logged in
              ";
              echo "Or Your session has been expired

              ";
              echo "<a href=\"http://wapple.890m.com/index.php\">Login</a>";
              echo "</p>";
              echo "</body>";
              echo "</html>";
              exit();
              }
              if(isbanned($uid))
              {
              echo "<head>";
              echo "<title>Error!!!</title>";
              echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../themes/$theme[0]\">";
              echo "</head>";
              echo "<body>";
              echo "<p align=\"center\">";
              echo "<img src=\"../images/notok.gif\" alt=\"x\"/>
              ";
              echo "You are Banned

              ";
              $banto = mysql_fetch_array(mysql_query("SELECT timeto, pnreas, exid FROM ibwf_penalties WHERE uid=&#39;".$uid."&#39; AND penalty=&#39;1&#39; OR uid=&#39;".$uid."&#39; AND penalty=&#39;2&#39;"));
              $banres = mysql_fetch_array(mysql_query("SELECT lastpnreas FROM ibwf_users WHERE id=&#39;".$uid."&#39;"));
              $remain = $banto[0]- time();
              $rmsg = gettimemsg($remain);
              echo "Time Left: $rmsg
              ";
              $nick = getnick_uid($banto[2]);
              echo "By: $nick
              ";
              echo "Reason: $banto[1]";
              echo "<a href=\"http://wapple.890m.com/index.php\">Login</a>";
              echo "</p>";
              echo "</body>";
              echo "</html>";
              exit();
              }
              if($action=="chpreqref")
              {
              $id=$_GET["id"];

              addonline(getuid_sid($sid),"XHTML - Chapel","index.php?action=$action");
              echo "<body>";
              echo "

              "; echo "Chapel";
              echo "</p>";
              echo "

              ";
              $dbinfo=mysql_fetch_array(mysql_query("SELECT * FROM ibwf_married WHERE id=&#39;".$id."&#39;"));
              $frmnick=getnick_uid($dbinfo["frmuid"]);
              echo "Aww, We are sorry to hear about You Decision, your proposer has been informed of your decison, thank you";
              $dbinfo2=mysql_query("DELETE FROM ibwf_married WHERE id=&#39;".$id."&#39;");
              $tonick=getnick_uid($dbinfo["touid"]);

              $byuid = getuid_sid($sid);
              $person = getnick_sid($sid);
              $who=$dbinfo["frmuid"];
              $pmtext="Sorry, $tonick has refused your proposal. we are sorry to hear this, but feel free to try again at a later date";

              $tm = time();
              $res = mysql_query("INSERT INTO ibwf_private SET text=&#39;".$pmtext."&#39;, byuid=&#39;".$byuid."&#39;, touid=&#39;".$who."&#39;, timesent=&#39;".$tm."&#39;");

              echo "</p>";
              echo "

              ";
              echo "Please Note: This Marriage IS NOT Legally Binding
              ";
              echo "<a href=\"index.php?action=main&amp;sid=$sid\"><img src=\"images/home.gif\" alt=\"*\"/>";
              echo "Home</a>";
              echo "</p>";
              echo "</body>";
              }
              else if($action=="chpreqacc")
              {
              $id=$_GET["id"];

              addonline(getuid_sid($sid),"XHTML - Chapel","index.php?action=$action");
              echo "<body>";
              echo "

              ";
              echo "Chapel";
              echo "</p>";
              echo "

              ";
              $dbinfo=mysql_fetch_array(mysql_query("SELECT * FROM ibwf_married WHERE id=&#39;".$id."&#39;"));
              $frmnick=getnick_uid($dbinfo["frmuid"]);
              echo "Congratulations!. Your Marriage To $frmnick Is Complete. We Hope You Are Both Happy in your new Relationship";
              $dbinfo2=mysql_query("UPDATE ibwf_married SET agreed=&#39;1&#39;, complete=&#39;1&#39; WHERE id=&#39;".$id."&#39;");
              $tonick=getnick_uid($dbinfo["touid"]);

              $byuid = getuid_sid($sid);
              $person = getnick_sid($sid);
              $who=$dbinfo["frmuid"];
              $pmtext="Congratulations!. Your Marriage To $tonick Is Complete. We Hope You Are Both Happy in your new Relationship";

              $tm = time();
              $res = mysql_query("INSERT INTO ibwf_private SET text=&#39;".$pmtext."&#39;, byuid=&#39;".$byuid."&#39;, touid=&#39;".$who."&#39;, timesent=&#39;".$tm."&#39;");

              echo "</p>";
              echo "

              ";
              echo "Please Note: This Marriage IS NOT Legally Binding
              ";
              echo "<a href=\"index.php?action=main&amp;sid=$sid\"><img src=\"images/home.gif\" alt=\"*\"/>";
              echo "Home</a>";
              echo "</p>";
              echo "</body>";
              }
              else if($action=="chapel")
              {
              addonline(getuid_sid($sid),"XHTML - Chapel","index.php?action=$action");
              echo "<body>";
              echo "

              ";
              echo "Chapel";
              echo "</p>";
              echo "

              ";
              echo "Welcome To $sitename Online Chapel.
              Here You Can Get Married Online In Front Of Our Resident vicar Chaos_dragon";
              echo "</p>";
              $uid=getuid_sid($sid);
              $chkcode=mysql_fetch_array(mysql_query("SELECT id FROM ibwf_married WHERE touid=&#39;".$uid."&#39;"));
              if($chkcode[0]>0)
              {
              $marriedinfo=mysql_fetch_array(mysql_query("SELECT * FROM ibwf_married WHERE touid=&#39;".$uid."&#39;"));
              echo "

              ";
              $tonick=getnick_uid($marriedinfo[&#39;touid&#39;]);
              $frmnick=getnick_uid($marriedinfo[&#39;frmuid&#39;]);
              $mf=mysql_fetch_array(mysql_query("SELECT sex FROM ibwf_users WHERE id=&#39;".$marriedinfo[&#39;frmnick&#39;]."&#39;"));
              if($mf[0]=="M")
              {
              $sex=="Him";
              $husb=="Husband";
              }else{
              $sex=="Her";
              $husb=="Wife";
              }
              $i=$marriedinfo["ID"];
              echo "Marriage Between $tonick and $frmnick

              ";
              echo "Your Only one step away from Marrying your true love. all you need to do is read and accept the vows below

              ";
              echo "$tonick, do you take $frmnick to be your wedded $husb to live together in marriage. Do you promise to love, comfort, honor and keep $sex
              ";
              echo "For better or worse, for richer or poorer, in sickness and in health. And forsaking all others, be faithful only to
              ";
              echo "$sex so long as you both shall live?

              ";
              echo "<a href=\"kasal.php?action=chpreqacc&amp;sid=$sid&amp ;id=$i\">I Do</a>
              ";
              echo "<a href=\"kasal.php?action=chpreqref&amp;sid=$sid&amp ;id=$i\">Sorry, I Dont</a>
              ";
              echo "</p>";
              }else{
              $nick=getnick_sid($sid);
              echo "

              ";
              echo "To Begin Please Enter The Nickname Of The User You Want to Marry, A PM will be sent
              ";
              echo "To them asking if they wish to marry you and inviting them to the chapel to complete the service.
              ";
              echo "By Sending the message below you agree to the below vows also";
              echo "

              ";
              echo "$nick, do you take [user] to be your wedded [wife/husband] to live together in marriage. Do you promise to love, comfort, honor and keep [him/her]
              ";
              echo "For better or worse, for richer or poorer, in sickness and in health. And forsaking all others, be faithful only to
              ";
              echo "[him/her] so long as you both shall live?

              ";
              echo "Username:
              ";
              echo "<form name=\"form1\" action=\"kasal.php?action=chpsndreq&amp;sid=$sid\" method=\"post\">";
              echo "<input name=\"marusr\" maxlength=\"25\"/>
              ";
              echo "<input type=\"submit\" name=\"submit\" value=\"I Do\"></form>";
              echo "</p>";
              }
              echo "

              ";
              echo "Please Note: This Marriage IS NOT Legally Binding
              ";
              echo "<a href=\"index.php?action=main&amp;sid=$sid\"><img src=\"images/home.gif\" alt=\"*\"/>";
              echo "Home</a>";
              echo "</p>";
              echo "</body>";
              }
              else if($action=="chpsndreq")
              {
              addonline(getuid_sid($sid),"XHTML - Chapel","index.php?action=$action");
              echo "<body>";
              echo "

              ";
              echo "Wap Chapel";
              echo "</p>";
              echo "

              ";
              echo "Welcome To Our Online Chapel.
              Here You Can Get Married Online In Front Of Our Resident vicar CHAOS_DRAGON";
              echo "</p>";
              $marusr = $_POST["marusr"];
              $who = getuid_nick($marusr);
              $whonick = getnick_uid($who);
              if($who=="")
              {
              echo "

              ";
              echo "Sorry this user does not exist, Please Try Again";
              echo "

              <a href=\"index.php?action=main&amp;sid=$sid\"><img src=\"images/home.gif\" alt=\"*\"/>";
              echo "Home</a>";
              echo "</p>";
              echo "</body>";
              echo "</html>";
              exit;
              }

              $byuid = getuid_sid($sid);
              $person = getnick_sid($sid);
              $sql=mysql_query("INSERT INTO ibwf_married SET frmuid=&#39;".$byuid."&#39;, touid=&#39;".$who."&#39;");
              $sql2=mysql_fetch_array(mysql_query("SELECT id FROM ibwf_married WHERE frmuid=&#39;".$byuid."&#39; AND touid=&#39;".$who."&#39;"));
              $pmtext="-marriage- $person would like to To ask For your hand in marriage, to accept or refuse visit the chapel link in the sites fun menu";

              $tm = time();
              $res = mysql_query("INSERT INTO ibwf_private SET text=&#39;".$pmtext."&#39;, byuid=&#39;".$byuid."&#39;, touid=&#39;".$who."&#39;, timesent=&#39;".$tm."&#39;");
              if($res)
              {
              echo "

              ";
              echo "<img src=\"images/ok.gif\" alt=\"O\"/>";
              echo "Marriage Request was sent successfully to $whonick
              please wait for a response</p>";
              }else{
              echo "

              ";
              echo "<img src=\"images/notok.gif\" alt=\"X\"/>";
              echo "Can&#39;t Send Request to $whonick</p>";
              }
              echo "

              ";
              echo "Please Note: This Marriage IS NOT Legally Binding
              ";
              echo "<a href=\"index.php?action=main&amp;sid=$sid\"><img src=\"images/home.gif\" alt=\"*\"/>";
              echo "Home</a>";
              echo "</p>";
              echo "</body>";
              }
              ?></div>
              <?php
              //////original copy of wapple adventure changed title to Ancient Empires
              /////// new games for sale just send private message to me
              //////////heres my version

              $version = "version: v1.0";
              forsale games: whammy push your luck,wap poker online game

              $adven = "whammy push your luck!";
              $adven2 = "swerte!";

              ?>

              <?php
              //header(&#39;Content-type: application/vnd.wap.xhtml+xml&#39;);
              echo "<?xml version=\"1.0\"?>";
              echo "<!DOCTYPE html PUBLIC \"-//WAPFORUM//DTD XHTML Mobile 1.0//EN\" \"http://www.wapforum.org/DTD/xhtml-mobile10.dtd\">";
              ?>
              <html xmlns="http://www.w3.org/1999/xhtml">
              <?php
              include("config.php");
              include("core.php");
              $bcon = connectdb();

              if (!$bcon)
              {
              echo "<head>";
              echo "<title>Chapel</title>";
              echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../themes/white.css\">";
              echo "<head>";
              echo "<body>";
              echo "<p align=\"center\">";
              echo "<img src=\"../images/notok.gif\" alt=\"!\"/>
              ";
              echo "Error! Cannot Connect To Database...

              ";
              echo "This error happens usually when backing up the database, please be patient...";
              echo "</p>";
              echo "</body>";
              echo "</html>";
              exit();
              }

              $action = $_GET["action"];
              $sid = $_GET["sid"];
              $sitename = mysql_fetch_array(mysql_query("SELECT value FROM ibwf_settings WHERE name=&#39;sitename&#39;"));
              $sitename = $sitename[0];
              $uid = getuid_sid($sid);
              $theme = mysql_fetch_array(mysql_query("SELECT theme FROM ibwf_users WHERE id=&#39;".$uid."&#39;"));

              if((islogged($sid)==false)||($uid==0))
              {
              echo "<head>";
              echo "<title>Error!!!</title>";
              echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../themes/white_medium.css\">";
              echo "</head>";
              echo "<body>";
              echo "<p align=\"center\">";
              echo "You are not logged in
              ";
              echo "Or Your session has been expired

              ";
              echo "<a href=\"http://wapple.890m.com/index.php\">Login</a>";
              echo "</p>";
              echo "</body>";
              echo "</html>";
              exit();
              }
              if(isbanned($uid))
              {
              echo "<head>";
              echo "<title>Error!!!</title>";
              echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../themes/$theme[0]\">";
              echo "</head>";
              echo "<body>";
              echo "<p align=\"center\">";
              echo "<img src=\"../images/notok.gif\" alt=\"x\"/>
              ";
              echo "You are Banned

              ";
              $banto = mysql_fetch_array(mysql_query("SELECT timeto, pnreas, exid FROM ibwf_penalties WHERE uid=&#39;".$uid."&#39; AND penalty=&#39;1&#39; OR uid=&#39;".$uid."&#39; AND penalty=&#39;2&#39;"));
              $banres = mysql_fetch_array(mysql_query("SELECT lastpnreas FROM ibwf_users WHERE id=&#39;".$uid."&#39;"));
              $remain = $banto[0]- time();
              $rmsg = gettimemsg($remain);
              echo "Time Left: $rmsg
              ";
              $nick = getnick_uid($banto[2]);
              echo "By: $nick
              ";
              echo "Reason: $banto[1]";
              echo "<a href=\"http://wapple.890m.com/index.php\">Login</a>";
              echo "</p>";
              echo "</body>";
              echo "</html>";
              exit();
              }
              if($action=="chpreqref")
              {
              $id=$_GET["id"];

              addonline(getuid_sid($sid),"XHTML - Chapel","index.php?action=$action");
              echo "<body>";
              echo "

              "; echo "Chapel";
              echo "</p>";
              echo "

              ";
              $dbinfo=mysql_fetch_array(mysql_query("SELECT * FROM ibwf_married WHERE id=&#39;".$id."&#39;"));
              $frmnick=getnick_uid($dbinfo["frmuid"]);
              echo "Aww, We are sorry to hear about You Decision, your proposer has been informed of your decison, thank you";
              $dbinfo2=mysql_query("DELETE FROM ibwf_married WHERE id=&#39;".$id."&#39;");
              $tonick=getnick_uid($dbinfo["touid"]);

              $byuid = getuid_sid($sid);
              $person = getnick_sid($sid);
              $who=$dbinfo["frmuid"];
              $pmtext="Sorry, $tonick has refused your proposal. we are sorry to hear this, but feel free to try again at a later date";

              $tm = time();
              $res = mysql_query("INSERT INTO ibwf_private SET text=&#39;".$pmtext."&#39;, byuid=&#39;".$byuid."&#39;, touid=&#39;".$who."&#39;, timesent=&#39;".$tm."&#39;");

              echo "</p>";
              echo "

              ";
              echo "Please Note: This Marriage IS NOT Legally Binding
              ";
              echo "<a href=\"index.php?action=main&amp;sid=$sid\"><img src=\"images/home.gif\" alt=\"*\"/>";
              echo "Home</a>";
              echo "</p>";
              echo "</body>";
              }
              else if($action=="chpreqacc")
              {
              $id=$_GET["id"];

              addonline(getuid_sid($sid),"XHTML - Chapel","index.php?action=$action");
              echo "<body>";
              echo "

              ";
              echo "Chapel";
              echo "</p>";
              echo "

              ";
              $dbinfo=mysql_fetch_array(mysql_query("SELECT * FROM ibwf_married WHERE id=&#39;".$id."&#39;"));
              $frmnick=getnick_uid($dbinfo["frmuid"]);
              echo "Congratulations!. Your Marriage To $frmnick Is Complete. We Hope You Are Both Happy in your new Relationship";
              $dbinfo2=mysql_query("UPDATE ibwf_married SET agreed=&#39;1&#39;, complete=&#39;1&#39; WHERE id=&#39;".$id."&#39;");
              $tonick=getnick_uid($dbinfo["touid"]);

              $byuid = getuid_sid($sid);
              $person = getnick_sid($sid);
              $who=$dbinfo["frmuid"];
              $pmtext="Congratulations!. Your Marriage To $tonick Is Complete. We Hope You Are Both Happy in your new Relationship";

              $tm = time();
              $res = mysql_query("INSERT INTO ibwf_private SET text=&#39;".$pmtext."&#39;, byuid=&#39;".$byuid."&#39;, touid=&#39;".$who."&#39;, timesent=&#39;".$tm."&#39;");

              echo "</p>";
              echo "

              ";
              echo "Please Note: This Marriage IS NOT Legally Binding
              ";
              echo "<a href=\"index.php?action=main&amp;sid=$sid\"><img src=\"images/home.gif\" alt=\"*\"/>";
              echo "Home</a>";
              echo "</p>";
              echo "</body>";
              }
              else if($action=="chapel")
              {
              addonline(getuid_sid($sid),"XHTML - Chapel","index.php?action=$action");
              echo "<body>";
              echo "

              ";
              echo "Chapel";
              echo "</p>";
              echo "

              ";
              echo "Welcome To $sitename Online Chapel.
              Here You Can Get Married Online In Front Of Our Resident vicar Chaos_dragon";
              echo "</p>";
              $uid=getuid_sid($sid);
              $chkcode=mysql_fetch_array(mysql_query("SELECT id FROM ibwf_married WHERE touid=&#39;".$uid."&#39;"));
              if($chkcode[0]>0)
              {
              $marriedinfo=mysql_fetch_array(mysql_query("SELECT * FROM ibwf_married WHERE touid=&#39;".$uid."&#39;"));
              echo "

              ";
              $tonick=getnick_uid($marriedinfo[&#39;touid&#39;]);
              $frmnick=getnick_uid($marriedinfo[&#39;frmuid&#39;]);
              $mf=mysql_fetch_array(mysql_query("SELECT sex FROM ibwf_users WHERE id=&#39;".$marriedinfo[&#39;frmnick&#39;]."&#39;"));
              if($mf[0]=="M")
              {
              $sex=="Him";
              $husb=="Husband";
              }else{
              $sex=="Her";
              $husb=="Wife";
              }
              $i=$marriedinfo["ID"];
              echo "Marriage Between $tonick and $frmnick

              ";
              echo "Your Only one step away from Marrying your true love. all you need to do is read and accept the vows below

              ";
              echo "$tonick, do you take $frmnick to be your wedded $husb to live together in marriage. Do you promise to love, comfort, honor and keep $sex
              ";
              echo "For better or worse, for richer or poorer, in sickness and in health. And forsaking all others, be faithful only to
              ";
              echo "$sex so long as you both shall live?

              ";
              echo "<a href=\"kasal.php?action=chpreqacc&amp;sid=$sid&amp ;id=$i\">I Do</a>
              ";
              echo "<a href=\"kasal.php?action=chpreqref&amp;sid=$sid&amp ;id=$i\">Sorry, I Dont</a>
              ";
              echo "</p>";
              }else{
              $nick=getnick_sid($sid);
              echo "

              ";
              echo "To Begin Please Enter The Nickname Of The User You Want to Marry, A PM will be sent
              ";
              echo "To them asking if they wish to marry you and inviting them to the chapel to complete the service.
              ";
              echo "By Sending the message below you agree to the below vows also";
              echo "

              ";
              echo "$nick, do you take [user] to be your wedded [wife/husband] to live together in marriage. Do you promise to love, comfort, honor and keep [him/her]
              ";
              echo "For better or worse, for richer or poorer, in sickness and in health. And forsaking all others, be faithful only to
              ";
              echo "[him/her] so long as you both shall live?

              ";
              echo "Username:
              ";
              echo "<form name=\"form1\" action=\"kasal.php?action=chpsndreq&amp;sid=$sid\" method=\"post\">";
              echo "<input name=\"marusr\" maxlength=\"25\"/>
              ";
              echo "<input type=\"submit\" name=\"submit\" value=\"I Do\"></form>";
              echo "</p>";
              }
              echo "

              ";
              echo "Please Note: This Marriage IS NOT Legally Binding
              ";
              echo "<a href=\"index.php?action=main&amp;sid=$sid\"><img src=\"images/home.gif\" alt=\"*\"/>";
              echo "Home</a>";
              echo "</p>";
              echo "</body>";
              }
              else if($action=="chpsndreq")
              {
              addonline(getuid_sid($sid),"XHTML - Chapel","index.php?action=$action");
              echo "<body>";
              echo "

              ";
              echo "Wap Chapel";
              echo "</p>";
              echo "

              ";
              echo "Welcome To Our Online Chapel.
              Here You Can Get Married Online In Front Of Our Resident vicar CHAOS_DRAGON";
              echo "</p>";
              $marusr = $_POST["marusr"];
              $who = getuid_nick($marusr);
              $whonick = getnick_uid($who);
              if($who=="")
              {
              echo "

              ";
              echo "Sorry this user does not exist, Please Try Again";
              echo "

              <a href=\"index.php?action=main&amp;sid=$sid\"><img src=\"images/home.gif\" alt=\"*\"/>";
              echo "Home</a>";
              echo "</p>";
              echo "</body>";
              echo "</html>";
              exit;
              }

              $byuid = getuid_sid($sid);
              $person = getnick_sid($sid);
              $sql=mysql_query("INSERT INTO ibwf_married SET frmuid=&#39;".$byuid."&#39;, touid=&#39;".$who."&#39;");
              $sql2=mysql_fetch_array(mysql_query("SELECT id FROM ibwf_married WHERE frmuid=&#39;".$byuid."&#39; AND touid=&#39;".$who."&#39;"));
              $pmtext="-marriage- $person would like to To ask For your hand in marriage, to accept or refuse visit the chapel link in the sites fun menu";

              $tm = time();
              $res = mysql_query("INSERT INTO ibwf_private SET text=&#39;".$pmtext."&#39;, byuid=&#39;".$byuid."&#39;, touid=&#39;".$who."&#39;, timesent=&#39;".$tm."&#39;");
              if($res)
              {
              echo "

              ";
              echo "<img src=\"images/ok.gif\" alt=\"O\"/>";
              echo "Marriage Request was sent successfully to $whonick
              please wait for a response</p>";
              }else{
              echo "

              ";
              echo "<img src=\"images/notok.gif\" alt=\"X\"/>";
              echo "Can&#39;t Send Request to $whonick</p>";
              }
              echo "

              ";
              echo "Please Note: This Marriage IS NOT Legally Binding
              ";
              echo "<a href=\"index.php?action=main&amp;sid=$sid\"><img src=\"images/home.gif\" alt=\"*\"/>";
              echo "Home</a>";
              echo "</p>";
              echo "</body>";
              }
              ?>[/b][/quote]
              Will you please post the sql file for this coding? Thanks in advance.

              Comment


                #8
                Will you please post the sql file for this coding? Thanks in advance.[/b]
                i&#39;ll post it but buy one my current for sale games!

                lol its too easy!

                i&#39;ll upload it later!
                Services

                Are you looking to take your wap or wapsite to a higher level? Do you want to stand out and rise above your competitors?

                Below is a list of services I offer:

                Wap Design and Customized Coding -The first way to stand out in a crowd is to have a brilliant and unique design for your wap or wapsite.

                Rates

                General consulting – My current hourly rate is $100 / hour.
                Custom Wapsite Community - My current rate is $500 / Wap Community Development.

                Comment


                  #9
                  will someone helping me please, inet please give sql thankyou or please help with my obove problem
                  Failure is not when a girls leaves you, its only when you let her go virgin. heheh!!

                  <span style="color:#9ACD32"><span style="font-size:36pt;line-height:100%">BEST MOBILE ADVERTISER</span></span>

                  Comment


                    #10
                    will someone helping me please, inet please give sql thankyou or please help with my obove problem[/b]

                    you must learn how to code php for yourself.. one thing common to all wapmasters is that they do not rely on other peoples work. go try it for yourself, you can do it mate

                    Comment


                      #11
                      ok tell me this much it is with sql or something with code bro? is some sql missing?
                      Failure is not when a girls leaves you, its only when you let her go virgin. heheh!!

                      <span style="color:#9ACD32"><span style="font-size:36pt;line-height:100%">BEST MOBILE ADVERTISER</span></span>

                      Comment


                        #12
                        wait i will make one for you

                        Comment


                          #13
                          will someone helping me please, inet please give sql thankyou or please help with my obove problem[/b]
                          that script is actually not my chapel script! have you seen some similarities with other sites?

                          natasu.net or thanatos has the better version of that!

                          the sql is on my one of my usb saving device.. i look for it later and upload here!

                          lol i made a clone script only for chapel! you know!



                          do you have problems with your current script.. i accept online support for any querries.. tnt

                          my services are: paid script coding! any game that you wanna assosiate to lava script!

                          some demo games are in http://renel.pinoy2.com


                          buy games for your current lava script all new games!
                          Services

                          Are you looking to take your wap or wapsite to a higher level? Do you want to stand out and rise above your competitors?

                          Below is a list of services I offer:

                          Wap Design and Customized Coding -The first way to stand out in a crowd is to have a brilliant and unique design for your wap or wapsite.

                          Rates

                          General consulting – My current hourly rate is $100 / hour.
                          Custom Wapsite Community - My current rate is $500 / Wap Community Development.

                          Comment


                            #14
                            Natasu you have the copy of that chapel script? right?


                            does my clone chapel script work?

                            please reply!


                            hehehe that is a clone and created on kasal.php

                            kasal in filipino _ _ _ _ _

                            that prove that clone is my version!
                            Services

                            Are you looking to take your wap or wapsite to a higher level? Do you want to stand out and rise above your competitors?

                            Below is a list of services I offer:

                            Wap Design and Customized Coding -The first way to stand out in a crowd is to have a brilliant and unique design for your wap or wapsite.

                            Rates

                            General consulting – My current hourly rate is $100 / hour.
                            Custom Wapsite Community - My current rate is $500 / Wap Community Development.

                            Comment


                              #15
                              Code:
                              <?php
                              
                              header("Content-type: text/vnd.wap.wml");
                              header("Cache-Control: no-store, no-cache, must-revalidate");
                              echo("<?xml version=\"1.0\"?>");
                              echo "<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.1//EN\"". " \"http://www.wapforum.org/DTD/wml_1.1.xml\">";
                              ?>
                              <wml>
                              <?php
                              include("config.php");
                              include("core.php");
                              connectdb();
                              $action = $_GET["action"];
                              $sid = $_GET["sid"];
                              $who = $_GET["who"];
                              if(islogged($sid)==false)
                              {
                                  echo "<card id=\"main\" title=\"Natasu\">";
                                    echo "<p align=\"center\">";
                                    echo "You are not logged in
                              ";
                                    echo "Or Your session has been expired
                              
                              ";
                                    echo "<a href=\"index.php\">Login</a>";
                                    echo "</p>";
                                    echo "</card>";
                                    echo "</wml>";
                                    exit();
                              }
                              $uid = getuid_sid($sid);
                              if(isbanned($uid))
                                  {
                                      echo "<card id=\"main\" title=\"Natasu\">";
                                    echo "<p align=\"center\">";
                                    echo "<img src=\"images/notok.gif\" alt=\"x\"/>
                              ";
                                    echo "You are [b]Banned[/b]
                              ";
                                    $banto = mysql_fetch_array(mysql_query("SELECT timeto FROM ibwf_penalties WHERE uid=&#39;".$uid."&#39; AND penalty=&#39;1&#39;"));
                                    $remain = $banto[0]- time();
                                    $rmsg = gettimemsg($remain);
                                    echo "Time to finish your penalty: $rmsg
                              
                              ";
                                    //echo "<a href=\"index.php\">Login</a>";
                                    echo "</p>";
                                    echo "</card>";
                                    echo "</wml>";
                                    exit();
                                  }
                              
                              
                              if($action=="chapel")
                              {
                                addonline(getuid_sid($sid),"WAP Chapel","");
                                echo "<card id=\"main\" title=\"Chapel\">";
                                echo "<p align=\"center\">";
                                echo "[u][b]Natasu Chapel[/b][/u]
                              ";
                                echo "<img src=\"smilies/pop.gif\" alt=\"*\"/>
                              ";
                                echo "Welcome To Natasu WAP Online Chapel. 
                              ";
                                echo "Here You Can Get Married Online.
                              
                              ";
                                $couple = mysql_fetch_array(mysql_query("SELECT who, partner, req FROM couple WHERE partner=&#39;".$uid."&#39;"));
                                if($couple[2]==&#39;1&#39;)
                                {
                                $unick = getnick_uid($couple[1]);
                                $nick = getnick_uid($couple[0]);
                                $nopl = mysql_fetch_array(mysql_query("SELECT sex FROM ibwf_users WHERE id=&#39;".$couple[0]."&#39;"));
                                 if($nopl[0]==&#39;M&#39;)
                                {
                                  $usex = "Husband";
                                }else if($nopl[0]==&#39;F&#39;){
                                  $usex = "Wife";
                                }else{
                                  $usex = "Partner";
                                }
                              
                                echo "[b]Marriage Between $unick and $nick[/b]
                              
                              ";
                                echo "Your Only one step away from Marrying your true love. All you need to do is read and accept the vows below
                              
                              ";
                                echo "$unick, do you take $nick to be your wedded $usex to live together in marriage.
                              ";
                                echo "Do you promise to love, comfort, honor and keep 
                              ";
                                echo "For better or worse, for richer or poorer, in sickness and in health.
                              ";
                                echo "And forsaking all others, be faithful only to
                              ";
                                echo "so long as you both shall live?
                              
                              ";
                                echo "<a href=\"chapel.php?action=reqacc&amp;sid=$sid&amp;who=$couple[0]\">I Do</a>
                              ";
                                echo "<a href=\"chapel.php?action=reqref&amp;sid=$sid&amp;who=$couple[1]\">Sorry, I Dont</a>
                              
                              ";
                              
                                }else{
                              
                                echo "To Begin Please Enter The Nickname Of The User You Want to Marry, A PM will be sent
                              ";
                                echo "To them asking if they wish to marry you and inviting them to the chapel to complete the service.
                              ";
                                echo "By Sending the message below you agree to the below vows also
                              
                              ";
                                $nick = getnick_sid($sid);
                                echo "$nick, do you take [user] to be your wedded [wife/husband] to live together in marriage.
                              ";
                                echo "Do you promise to love, comfort, honor and keep [him/her]
                              ";
                                echo "For better or worse, for richer or poorer, in sickness and in health.
                              ";
                                echo "And forsaking all others, be faithful only to
                              ";
                                echo "[him/her] so long as you both shall live?
                              
                              ";
                                $whonick = getnick_uid($who);
                                echo "Username:
                              <input name=\"usr\" maxlength=\"25\"/>
                              ";
                                echo "<anchor>I Do<go href=\"chapel.php?action=getreq&amp;sid=$sid\" method=\"post\">";
                                echo "<postfield name=\"usr\" value=\"$(usr)\"/></go></anchor>
                              
                              ";
                                }
                                echo "<a href=\"chapel.php?action=div&amp;sid=$sid\">Divorce!</a>
                              ";
                                echo "[size="1"]Please Note: This Marriage IS NOT Legally Binding[/size]
                              ";
                                echo "<a href=\"index.php?action=main&amp;sid=$sid\">Main Menu</a>";
                                echo "</p>";
                                echo "</card>";
                              }
                              
                              else if($action=="getreq")
                              {
                                addonline(getuid_sid($sid),"WAP Chapel","");
                                echo "<card id=\"main\" title=\"Chapel\">";
                                echo "<p align=\"center\">";
                                $usr = $_POST["usr"];
                                $who = getuid_nick($usr);
                              
                              $we = mysql_fetch_array(mysql_query("SELECT who, partner, accept, req FROM couple WHERE who=&#39;".$uid."&#39;"));
                              if($we[2]==&#39;1&#39;)
                                     {
                                      $wer = getnick_uid($we[1]);
                                      echo "You&#39;re already married to $wer!
                              
                              ";
                                      echo "<a href=\"index.php?action=main&amp;sid=$sid\">Main Menu</a>";
                                      echo "</p>";
                                      echo "</card>";
                                      echo "</wml>";
                                      exit();
                                     }
                              
                              $me = mysql_fetch_array(mysql_query("SELECT who, partner, accept, req FROM couple WHERE partner=&#39;".$uid."&#39;"));
                              if($me[2]==&#39;1&#39;)
                                     {
                                      $sya = getnick_uid($me[0]);
                                      echo "You&#39;re already married to $sya!
                              
                              ";
                                      echo "<a href=\"index.php?action=main&amp;sid=$sid\">Main Menu</a>";
                                      echo "</p>";
                                      echo "</card>";
                                      echo "</wml>";
                                      exit();
                                     }
                              
                                  if($who==0)
                                  {
                                    echo "User Does Not exist
                              ";
                                  }else if($who==$uid)
                                  {
                                    echo "lol.. Why do you wanna marry yourself? PMPL..
                              
                              ";
                                  }else{
                              
                                $whonick = getnick_uid($who);
                              $couple = mysql_fetch_array(mysql_query("SELECT who, partner, accept, req FROM couple WHERE partner=&#39;".$who."&#39;"));
                                   if($couple[2]==&#39;1&#39;)
                                     {
                                       $sya = getnick_uid($couple[0]);
                                       echo "$whonick is already married to $sya. Try your luck to other users!
                              
                              ";
                                     }
                                  
                                $byuid = getuid_sid($sid);
                                $tm = time();
                                if((!isignored($byuid, $who))&&(!istrashed($byuid)))
                                  {
                                $unick = getnick_uid($uid);
                                $pmtext = "-kisslips- $unick would like to To ask For your hand in marriage, to accept or refuse visit the chapel link in the site main page [small][i]p.s: this is an automatic pm[/i][/small]";
                                $res = mysql_query("INSERT INTO ibwf_private SET text=&#39;".$pmtext."&#39;, byuid=&#39;".$byuid."&#39;, touid=&#39;".$who."&#39;, timesent=&#39;".$tm."&#39;");
                                   }else{
                                  $res = true;
                                   }  
                                if($res)
                                {
                                  echo "[u][b]Natasu WAP Chapel[/b][/u]";
                                echo "
                              Here You Can Get Married Online.
                              
                              ";
                                echo "Marriage Request was sent successfully to $whonick
                              ";
                                echo "Please wait for a response
                              
                              ";
                                echo "[size="1"]Please Note: This Marriage IS NOT Legally Binding[/size]
                              ";
                                mysql_query("INSERT INTO couple SET req=&#39;1&#39;, partner=&#39;".$who."&#39;, who=&#39;".$uid."&#39;, time=&#39;".time()."&#39;");
                                }else{
                                  echo "Can&#39;t Send your Request to $whonick
                              
                              ";
                                }
                              }
                              
                                echo "<a href=\"index.php?action=main&amp;sid=$sid\">Main Menu</a>";
                                echo "</p>";
                                echo "</card>";
                              }
                              else if($action=="reqacc")
                              {
                                $who = $_GET["who"];
                                addonline(getuid_sid($sid),"WAP Chapel","");
                                echo "<card id=\"main\" title=\"Chapel\">";
                                echo "<p align=\"center\">";
                                echo "[b]Natasu WAP Chapel[/b]
                              
                              ";
                                $nick = getnick_uid($who);
                                echo "Congratulations! Your Marriage To $nick Is Complete. We Hope You Are Both Happy in your new Relationship.
                              
                              ";
                                $byuid = getuid_sid($sid);
                                $msg = "Congratulations! Your Marriage To $nick Is Complete. We Hope You Are Both Happy in your new Relationship [small][i]p.s: this is an automatic pm[/i][/small]";
                                mysql_query("INSERT INTO ibwf_private SET text=&#39;".$msg."&#39;, byuid=&#39;".$byuid."&#39;, touid=&#39;".$who."&#39;, unread=&#39;1&#39;, timesent=&#39;".time()."&#39;");
                                mysql_query("UPDATE couple SET accept=&#39;1&#39;, req=&#39;2&#39;, joined=&#39;".time()."&#39; WHERE partner=&#39;".$uid."&#39; AND who=&#39;".$who."&#39;");
                              
                                $nick = getnick_uid($who);
                                $byuid = getuid_sid($sid);
                                $unick = getnick_uid($byuid);
                                $fmsg = "$nick and I just get married!";
                                mysql_query("UPDATE ibwf_users SET shouts=&#39;".$fmsg."&#39; WHERE id=&#39;".$byuid."&#39;");
                                echo "[size="1"]Please Note: This Marriage IS NOT Legally Binding[/size]
                              ";
                                echo "<a href=\"index.php?action=main&amp;sid=$sid\">Main Menu</a>";
                                echo "</p>";
                                echo "</card>";
                              }
                              
                              else if($action=="reqref")
                              {
                                $who = $_GET["who"];
                                addonline(getuid_sid($sid),"WAP Chapel","");
                                echo "<card id=\"main\" title=\"Chapel\">";
                                echo "<p align=\"center\">";
                                echo "[b]Natasu WAP Chapel[/b]
                              
                              ";
                                $nick = getnick_uid($who);
                                echo "Ohh.. We are sorry to hear about Your Decision, your proposer has been informed of your decison, thank you.
                              
                              ";
                                $byuid = getuid_sid($sid);
                                $couple = mysql_fetch_array(mysql_query("SELECT who, partner FROM couple WHERE partner=&#39;".$uid."&#39;"));
                                $msg = "Sorry, $nick has refused your proposal. we are sorry to hear this, but feel free to try again at a later date [small][i]p.s: this is an automatic pm[/i][/small]";
                                mysql_query("INSERT INTO ibwf_private SET text=&#39;".$msg."&#39;, byuid=&#39;".$byuid."&#39;, touid=&#39;".$couple[0]."&#39;, unread=&#39;1&#39;, timesent=&#39;".time()."&#39;");
                              $res = mysql_query("DELETE FROM couple WHERE partner=&#39;".$uid."&#39; AND who=&#39;".$couple[0]."&#39;");
                                echo "[size="1"]Please Note: This Marriage IS NOT Legally Binding[/size]
                              ";
                                echo "<a href=\"index.php?action=main&amp;sid=$sid\">Main Menu</a>";
                                echo "</p>";
                                echo "</card>";
                              }else if($action=="div")
                              {
                              addonline(getuid_sid($sid),"WAP Chapel","");
                                echo "<card id=\"main\" title=\"Chapel\">";
                                echo "<p align=\"center\">";
                                $me = mysql_fetch_array(mysql_query("SELECT who, partner, accept, req FROM couple WHERE who=&#39;".$uid."&#39;"));
                                $you = mysql_fetch_array(mysql_query("SELECT who, partner, accept, req FROM couple WHERE partner=&#39;".$uid."&#39;"));
                              
                                $nick = getnick_uid($me[0]);
                                $unick = getnick_uid($you[1]);
                              
                              if($uid==$me[0])
                               {
                                echo "Do you really want to divorce $unick? 
                              -----
                              ";
                               }
                              
                              if($uid==$you[1])
                               {
                                echo "Do you really want to divorce $nick? 
                              -----
                              ";
                               }
                              
                              $wed = mysql_fetch_array(mysql_query("SELECT partner FROM couple WHERE who=&#39;".$uid."&#39;"));
                              if (!$wed)
                              {
                              $wed = mysql_fetch_array(mysql_query("SELECT who FROM couple WHERE partner=&#39;".$uid."&#39;"));
                              }
                              $who = $wed[0];
                              
                              echo "<anchor>Yes";
                              echo "<go href=\"chapel.php?action=sep&amp;sid=$sid\" method=\"post\">";  
                              echo "<postfield name=\"who\" value=\"$(who)\"/>";
                              echo "</go></anchor>
                              ";
                              echo "<a href=\"chapel.php?action=chapel&amp;sid=$sid\">No</a>
                              ----
                              ";
                                echo "<a href=\"index.php?action=main&amp;sid=$sid\">Main Menu</a>";
                                echo "</p>";
                                echo "</card>";
                              }else if($action=="sep")
                              {
                              addonline(getuid_sid($sid),"WAP Chapel","");
                                echo "<card id=\"main\" title=\"Chapel\">";
                                echo "<p align=\"center\">";
                              $who = $_POST["who"];
                              $uid = getuid_sid($sid);
                              $res = mysql_query("DELETE FROM couple WHERE who=&#39;".$uid."&#39; OR partner=&#39;".$uid."&#39;");
                              
                              if($res)
                              {
                              $nick = getnick_uid($who);
                              echo "You have successfully divorced $nick!
                              
                              ";
                              }else{
                              echo "Database Error!
                              
                              ";
                              
                              }
                                echo "<a href=\"index.php?action=main&amp;sid=$sid\">Main Menu</a>";
                                echo "</p>";
                                echo "</card>";
                              }else{
                              
                                addonline(getuid_sid($sid),"Lost in Chapel lol","");
                                echo "<card id=\"main\" title=\"Chapel\">";
                                echo "<p align=\"center\">";
                                echo "I don&#39;t know how did you get into here, but there&#39;s nothing to show
                              
                              ";
                                echo "<a href=\"index.php?action=main&amp;sid=$sid\">Main Menu</a>";
                                echo "</p></card>";
                              }
                              
                              ?>
                              
                              </wml>
                              ///////////////////////////////////////////SQL
                              -- --------------------------------------------------------

                              --
                              -- Table structure for table `couple`
                              --

                              CREATE TABLE `couple` (
                              `id` int(100) NOT NULL auto_increment,
                              `who` int(100) NOT NULL default &#39;0&#39;,
                              `partner` int(100) NOT NULL default &#39;0&#39;,
                              `req` int(100) NOT NULL default &#39;0&#39;,
                              `accept` int(100) NOT NULL default &#39;0&#39;,
                              `joined` int(100) NOT NULL default &#39;0&#39;,
                              `time` int(100) NOT NULL default &#39;0&#39;,
                              PRIMARY KEY (`id`)
                              ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;

                              --
                              -- Dumping data for table `couple`
                              --



                              //////////////////////////////////////


                              i will update divorce code some other time..

                              Comment

                              Working...
                              X