New Updated Chapel for Wapdesire Version 2

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

  • makvanpor2000
    replied
    Thanks mate

    Leave a comment:


  • dj_toon
    replied
    Originally posted by crazybrumi View Post
    well change code from
    Code:
    [COLOR=#000000][COLOR=#0000bb]$items_per_page[/COLOR][COLOR=#007700]= [/COLOR][COLOR=#0000bb]1[/COLOR][/COLOR]
    to
    Code:
    [COLOR=#000000][COLOR=#0000bb]$items_per_page[/COLOR][COLOR=#007700]= [/COLOR][COLOR=#0000bb]1[/COLOR][COLOR=#007700]0; [/COLOR][/COLOR]


    i must have left it as one as i was testing if next and prev worked.
    thank u works fine now

    Leave a comment:


  • crazybrumi
    replied
    well change code from
    Code:
    [COLOR=#000000][COLOR=#0000bb]$items_per_page[/COLOR][COLOR=#007700]= [/COLOR][COLOR=#0000bb]1[/COLOR][/COLOR]
    to
    Code:
    [COLOR=#000000][COLOR=#0000bb]$items_per_page[/COLOR][COLOR=#007700]= [/COLOR][COLOR=#0000bb]1[/COLOR][COLOR=#007700]0; [/COLOR][/COLOR]


    i must have left it as one as i was testing if next and prev worked.

    Leave a comment:


  • dj_toon
    replied
    Originally posted by crazybrumi View Post
    hey guys its been a couple of days know, would like to get some feedback on the release. have you found any problems or bugs or anything like that.? or anything you wish to add ?
    PHP Code:
    <?php
    define
    ('WCS',true);
    include(
    './core/main.inc');
    header_type();
    cleardata();
    if(
    ipbanned(ip(),browser())){
    if(!
    shield(getuid_sid($sid))){
    echo 
    head_tag("Ip Blocked!!!",0,0);
    echo 
    ipbanned_msg();
    echo 
    foot_tag();
    exit();
    }
    }
    if(!
    islogged($sid)){
    echo 
    head_tag("Error!!!",0,0);
    echo 
    session_expired();
    echo 
    foot_tag();
    exit();
    }
    if(
    banned(getuid_sid($sid))){
    echo 
    head_tag("Error!!!",1,getnick_sid($sid));
    echo 
    banned_msg($sid);
    echo 
    foot_tag();
    exit();
    }
    mysql_query("UPDATE users SET browser='".browser()."', ipaddress='".ip()."', host='".subno()."' WHERE id='".getuid_sid($sid)."'");

    /////////////////////////SITE EXTRAS/////////////////////////

    addonline(getuid_sid($sid),"The Chapel","");
    echo 
    head_tag(getnick_sid($sid)."@The Chapel",1,getnick_sid($sid));
    $title="<b>Welcome To The Wedded List</b>";
    $main="<p align=".align().">";

    if(
    $page=="" || $page<=0)$page=1;
        
    $noi mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM chapel WHERE complete='1'"));
        
    $num_items $noi[0]; 
        
    $items_per_page1;
        
    $num_pages ceil($num_items/$items_per_page);
        if((
    $page>$num_pages)&&$page!=1)$page$num_pages;$limit_start = ($page-1)*$items_per_page;


        
    $sql "SELECT id, userid, partid, date FROM chapel 
        WHERE complete = '0' ORDER BY id ASC LIMIT 
    $limit_start
        
    $items_per_page";


        
    $items mysql_query($sql);
        echo 
    mysql_error();
        
        if(
    mysql_num_rows($items)>0)
        while (
    $item mysql_fetch_array($items))
        {

        
    $sex=mysql_fetch_array(mysql_query("SELECT sex FROM profiles WHERE uid='".$item[1]."' || uid='".$item[2]."'"));
        if(
    $sex[0]=="M"){$color="#0000FF";}
        else if(
    $sex[0]=="F"){$color="#FF0066";}
      
        
    $main.="Member <a href=\"../profile.php?sid=$sid&amp;who=$item[1]\" style=\"color:$color;\">".getnick_uid($item[1])."</a>\n";
        
    $main.="is Married To\n";
        
    $main.="<a href=\"../profile.php?sid=$sid&amp;who=$item[2]\" style=\"color:$color;\">".getnick_uid($item[2])."</a><br/>\n";
        
    $main.="<b>Period Of Time:</b> ".time_msg(time()-$item[3],0)."<br/> \n";
        
    $main.="<b>Marrige Status:</b><br/>\n";
        
    $main.="<b>--------</b><br/><br/>\n";

        }else{
        
    $main.="<img src=\"../phpThumb/phpThumb.php?src=../images/error.gif\" alt=\"noimage\"/><br/>\n";
        
    $main.="There Is No Wedded Couples Atm";
        }
        
        
    $npage $page+1;

        if(
    $page>1)
        {
          
    $ppage $page-1;
     
          
        }
        if(
    $page<$num_pages)
        {
        
    $npage $page+1;
        if(
    $lastloc=="cht"){
        
    $main.="<a href=\"./current.php?page=$ppage&amp;sid=$sid\">«Prev</a>\n";
        }else{
        
    $main.="<a href=\"./current.php?page=$npage&amp;sid=$sid\">Next»</a>\n";
        }
        }
      
      
    $main.="<br/><br/><b>$page/$num_pages</b>\n";



    $L1="$sixkey<a $key6 href=\"../inbox/inbox.php?sid=$sid\">Inbox</a>";
    $L2="$sevenkey<a $key7 href=\"../buds/buds.php?sid=$sid\">BuddyList</a>";
    $L3="$eightkey<a $key8 href=\"../chat/public.php?sid=$sid\">Chat</a>";
    $L4="$ninekey<a $key9 href=\"../forums/forums.php?sid=$sid\">Forums</a>";
    $L5="$zerokey<a $key0 href=\"../main.php?sid=$sid\"><img src=\"./images/home.gif\" alt=\"\"/>Main Menu</a>";
    echo 
    xhtml($sid,$title,1,$L1,$L2,$L3,$L4,$L5,0,0,0,$main);
    echo 
    foot_tag();
    ?>
    in current.php it only lets u see the frist people that got wapped there anit anyone eles thats the only error i have found m8

    Leave a comment:


  • natuanhn
    replied
    Thanks ...

    Leave a comment:


  • bijaybd
    replied
    thx a lottttttttt

    Leave a comment:


  • Ladoo
    replied
    Lets c ... Hope it works

    Leave a comment:


  • mahipat
    replied
    Let me see

    Leave a comment:


  • joseg
    replied
    I click to thank on firts post and i not have rights to view this file ...

    Leave a comment:


  • p2eware
    replied
    thax........

    Leave a comment:


  • malisa
    replied
    Thanks ;) man

    Leave a comment:


  • rashod
    replied
    thanks.thanks thanks

    Leave a comment:


  • crazybrumi
    replied
    include('../core/main.inc');

    whats in it?
    what script are u using. if ur using wapdesire 2 than this will work if u are not there is another chapel reelased in here for the old version. just search for it using search box.

    Leave a comment:


  • brand
    replied
    Originally posted by friend View Post
    include('../core/main.inc');

    whats in it?
    i uploaded the files u give brumi i not done any thing to it

    Leave a comment:


  • friend
    replied
    include('../core/main.inc');

    whats in it?

    Leave a comment:

Working...
X