Popup Archive

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

    Popup Archive

    If anyone as any plz message me or leave them ere Thanx guys

    #2
    sure i got it on my site

    Comment


      #3
      when any other normal person says that they tend to share it with the person who requests it lol not jus say yh sure lol
      Want something coded email me at sales@webnwaphost.com for a prices.




      Comment


        #4
        place this coding on bud list page in php

        echo "+<a href=\"lists.php?action=archive&amp;sid=$sid&amp;w ho=$uid\">Pop Up Archive</a>
        ";


        place this coding in list.php

        Code:
        //////////////////////////////////User Popups
        else if($action=="archive")
        {
          $who = $_GET["who"];
            addonline(getuid_sid($sid),"Pop Up Archive","");
        if (mypro(getuid_sid($sid), $who))
         {
            echo "<card id=\"main\" title=\"Pop Up Archive\">";
          $uid = getuid_sid($sid);
          if($page=="" || $page<=0)$page=1;
            $myid = getuid_sid($sid);
            $pms = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_pops WHERE touid=$uid ORDER BY timesent"));
            echo mysql_error();
            $num_items = $pms[0]; //changable
            $items_per_page= 10;
            $num_pages = ceil($num_items/$items_per_page);
            if($page>$num_pages)$page= $num_pages;
            $limit_start = ($page-1)*$items_per_page;
            if($num_items>0)
            {
              echo "
        
        ";
              $pms = mysql_query("SELECT byuid, touid, text, timesent FROM ibwf_pops WHERE touid=$uid ORDER BY timesent DESC LIMIT $limit_start, $items_per_page");
              while($pm=mysql_fetch_array($pms))
              {
                    if(isonline($pm[0]))
          {
            $onlby = "<img src=\"../images/onl.gif\" alt=\"+\"/>";
          }else{
            $onlby = "<img src=\"../images/ofl.gif\" alt=\"-\"/>";
          }
                    if(isonline($pm[1]))
          {
            $onlto = "<img src=\"../images/onl.gif\" alt=\"+\"/>";
          }else{
            $onlto = "<img src=\"../images/ofl.gif\" alt=\"-\"/>";
          }
          $bylnk = "<a href=\"index.php?action=viewbud&amp;who=$pm[0]&amp;sid=$sid\">".getnick_uid($pm[0])."</a>";
          //$tolnk = "<a href=\"index.php?action=viewuser&amp;who=$pm[1]&amp;sid=$sid\">$onlto".getnick_uid($pm[1])."</a>";
          echo "$bylnk
        ";
          $tmopm = date("D d M y - h:i:s",$pm[3]);
          echo " $tmopm
        ";
          
                echo parsepm($pm[2], $sid);
        
          
          echo "
        [size="1"]---[/size]
        ";
              }
              echo "</p><p align=\"center\">";
              if($page>1)
            {
              $ppage = $page-1;
              echo "<a href=\"lists.php?action=archive&amp;page=$ppage&amp;sid=$sid&amp;who=$who\">«Prev</a> ";
            }
            if($page<$num_pages)
            {
              $npage = $page+1;
              echo "<a href=\"lists.php?action=archive&amp;page=$npage&amp;sid=$sid&amp;who=$who\">Next»</a>";
            }
            echo "
        $page/$num_pages
        ";
            if($num_pages>2)
            {
              $rets = "Jump to page<input name=\"pg\" format=\"*N\" size=\"3\"/>";
                $rets .= "<anchor>[GO]";
                $rets .= "<go href=\"lists.php\" method=\"get\">";
                $rets .= "<postfield name=\"action\" value=\"$action\"/>";
                $rets .= "<postfield name=\"sid\" value=\"$sid\"/>";
                $rets .= "<postfield name=\"page\" value=\"$(pg)\"/>";
                $rets .= "<postfield name=\"who\" value=\"$who\"/>";
                $rets .= "</go></anchor>";
        
              echo $rets;
              }
              }else{
                echo "<p align=\"center\">";
                echo "NO DATA";
        }
        
          echo "</p>";
            echo "<p align=\"center\">";
            $unick = getnick_uid($who);
            echo "<a href=\"index.php?action=main&amp;sid=$sid\"><img src=\"images/home.gif\" alt=\"*\"/>";
        echo "Home</a>";
          echo "</p>";
            echo "</card>";
        }else{
            echo "<card id=\"main\" title=\"Error!!!\">";
              echo "<p align=\"center\">";
              echo "This is NOT your pop up archive!
        ";
              echo "
        ";
              echo "<a href=\"index.php?action=main&amp;sid=$sid\"><img src=\"images/home.gif\" alt=\"*\"/> Home</a>";
              echo "</p>";
              echo "</card>";
        } 
        }

        Comment


          #5
          place this coding on bud list page in php

          echo "+<a href=\"lists.php?action=archive&amp;sid=$sid&amp;w ho=$uid\">Pop Up Archive</a>
          ";
          place this coding in list.php

          Code:
          //////////////////////////////////User Popups
          else if($action=="archive")
          {
            $who = $_GET["who"];
              addonline(getuid_sid($sid),"Pop Up Archive","");
          if (mypro(getuid_sid($sid), $who))
           {
              echo "<card id=\"main\" title=\"Pop Up Archive\">";
            $uid = getuid_sid($sid);
            if($page=="" || $page<=0)$page=1;
              $myid = getuid_sid($sid);
              $pms = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_pops WHERE touid=$uid ORDER BY timesent"));
              echo mysql_error();
              $num_items = $pms[0]; //changable
              $items_per_page= 10;
              $num_pages = ceil($num_items/$items_per_page);
              if($page>$num_pages)$page= $num_pages;
              $limit_start = ($page-1)*$items_per_page;
              if($num_items>0)
              {
                echo "
          
          ";
                $pms = mysql_query("SELECT byuid, touid, text, timesent FROM ibwf_pops WHERE touid=$uid ORDER BY timesent DESC LIMIT $limit_start, $items_per_page");
                while($pm=mysql_fetch_array($pms))
                {
                      if(isonline($pm[0]))
            {
              $onlby = "<img src=\"../images/onl.gif\" alt=\"+\"/>";
            }else{
              $onlby = "<img src=\"../images/ofl.gif\" alt=\"-\"/>";
            }
                      if(isonline($pm[1]))
            {
              $onlto = "<img src=\"../images/onl.gif\" alt=\"+\"/>";
            }else{
              $onlto = "<img src=\"../images/ofl.gif\" alt=\"-\"/>";
            }
            $bylnk = "<a href=\"index.php?action=viewbud&amp;who=$pm[0]&amp;sid=$sid\">".getnick_uid($pm[0])."</a>";
            //$tolnk = "<a href=\"index.php?action=viewuser&amp;who=$pm[1]&amp;sid=$sid\">$onlto".getnick_uid($pm[1])."</a>";
            echo "$bylnk
          ";
            $tmopm = date("D d M y - h:i:s",$pm[3]);
            echo " $tmopm
          ";
            
                  echo parsepm($pm[2], $sid);
          
            
            echo "
          [size="1"]---[/size]
          ";
                }
                echo "</p><p align=\"center\">";
                if($page>1)
              {
                $ppage = $page-1;
                echo "<a href=\"lists.php?action=archive&amp;page=$ppage&amp;sid=$sid&amp;who=$who\">«Prev</a> ";
              }
              if($page<$num_pages)
              {
                $npage = $page+1;
                echo "<a href=\"lists.php?action=archive&amp;page=$npage&amp;sid=$sid&amp;who=$who\">Next»</a>";
              }
              echo "
          $page/$num_pages
          ";
              if($num_pages>2)
              {
                $rets = "Jump to page<input name=\"pg\" format=\"*N\" size=\"3\"/>";
                  $rets .= "<anchor>[GO]";
                  $rets .= "<go href=\"lists.php\" method=\"get\">";
                  $rets .= "<postfield name=\"action\" value=\"$action\"/>";
                  $rets .= "<postfield name=\"sid\" value=\"$sid\"/>";
                  $rets .= "<postfield name=\"page\" value=\"$(pg)\"/>";
                  $rets .= "<postfield name=\"who\" value=\"$who\"/>";
                  $rets .= "</go></anchor>";
          
                echo $rets;
                }
                }else{
                  echo "<p align=\"center\">";
                  echo "NO DATA";
          }
          
            echo "</p>";
              echo "<p align=\"center\">";
              $unick = getnick_uid($who);
              echo "<a href=\"index.php?action=main&amp;sid=$sid\"><img src=\"images/home.gif\" alt=\"*\"/>";
          echo "Home</a>";
            echo "</p>";
              echo "</card>";
          }else{
              echo "<card id=\"main\" title=\"Error!!!\">";
                echo "<p align=\"center\">";
                echo "This is NOT your pop up archive!
          ";
                echo "
          ";
                echo "<a href=\"index.php?action=main&amp;sid=$sid\"><img src=\"images/home.gif\" alt=\"*\"/> Home</a>";
                echo "</p>";
                echo "</card>";
          } 
          }
          [/b]
          thanks hyptetype. but where to put this codings

          echo "+<a href=\"lists.php?action=archive&amp;sid=$sid&amp;w ho=$uid\">Pop Up Archive</a><br



          in which php. index or list
          sigpic

          WANT GOOD CHEAP HOSTING WITH 99% UPTIME? THEN PM ME FOR DETAILS!!

          Comment


            #6
            thanks hyptetype. but where to put this codings

            echo "+<a href=\"lists.php?action=archive&amp;sid=$sid&amp;w ho=$uid\">Pop Up Archive</a><br
            in which php. index or list[/b]

            read his reply properly.... he said "place this coding on bud list page in php"
            so.... find that coding about bud list and place posted code in there...
            nothing hard about that...
            It's better to keep your mouth shut and give the impression that you're stupid, than to open it and remove all doubt.
            ⓣⓗⓔ ⓠⓤⓘⓔⓣⓔⓡ ⓨⓞⓤ ⓑⓔ©ⓞⓜⓔ, ⓣⓗⓔ ⓜⓞⓡⓔ ⓨⓞⓤ ⓐⓡⓔ ⓐⓑⓛⓔ ⓣⓞ ⓗⓔⓐⓡ !
            ιη тнєσяу, тнє ρяα¢тι¢є ιѕ α яєѕυℓт σƒ тнє тнєσяу, вυт ιη ρяα¢тι¢є ιѕ тнє σρρσѕιтє.
            キノgんイノ刀g 4 ア乇ムc乇 ノ丂 レノズ乇 キucズノ刀g 4 √ノ尺gノ刀ノイリ!

            Comment


              #7
              Thanx guys for helpin me wiv that codein was big help n pmpl @ brumi ya nutter

              Comment


                #8
                it gives me an error.. prematured wml ended something like that.

                Comment


                  #9
                  does ur site have the pop up coding

                  Comment


                    #10
                    yes, it has pop up.

                    Comment


                      #11
                      wats ur site url?

                      Comment


                        #12
                        it gives me an error.. prematured wml ended something like that.[/b]
                        yes modfiles is rite. i m also getting error like

                        Call to undefined function: mypro() in
                        sigpic

                        WANT GOOD CHEAP HOSTING WITH 99% UPTIME? THEN PM ME FOR DETAILS!!

                        Comment


                          #13
                          thats bcuz that function doesn&#39;t exist

                          R.M.C
                          ----------
                          PHP Adovocate B)

                          Comment


                            #14
                            BUT WHY IT GIVES ERROR.THERE ALREADY EXISTS POP UP CODINGS THEN ALSO IT GIVES THAT ERRORS.
                            sigpic

                            WANT GOOD CHEAP HOSTING WITH 99% UPTIME? THEN PM ME FOR DETAILS!!

                            Comment


                              #15
                              when I click on the the link i get NO DATA. what could be the cause of that?

                              WapCHAT Forum Currenltly changing over to xhtml

                              My Dowloads Site

                              Comment

                              Working...
                              X