Chapel Help

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

  • WhiteWarrior
    replied
    LoL who ever played with the script don'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%

    Leave a comment:


  • jayasanka
    started a topic Chapel Help

    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?&#39;;
    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.
Working...
X