Upload & Gallery

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

    #31
    yip theres quite alot of old and useless posts/topics that can go

    click here to join blingywap.co.za
    http://blingywap.co.za


    IF YOU NEED HELP JUST ASK AND ALWAYS SAY THANK YOU!

    Comment


      #32
      He Diddnt Understand How To Add It To His Script So I Told Him How 2

      Comment


        #33
        oh ok now close this topic!!

        click here to join blingywap.co.za
        http://blingywap.co.za


        IF YOU NEED HELP JUST ASK AND ALWAYS SAY THANK YOU!

        Comment


          #34
          av sin topics form 2005 in some place lol, jus waste of server spACE
          Want something coded email me at sales@webnwaphost.com for a prices.




          Comment


            #35
            lol

            Comment


              #36
              lol a thing those topics are defo closed by now lol, its been ages lol
              Want something coded email me at sales@webnwaphost.com for a prices.




              Comment


                #37
                But It Still Cud Help Ppl With That Same Eror

                Comment


                  #38
                  yeh tru there ups and downs tho ent there ud av to comprimise sum ow lol
                  Want something coded email me at sales@webnwaphost.com for a prices.




                  Comment


                    #39
                    yeah this topic should also be closed now lol

                    Comment


                      #40
                      here you are
                      Attached Files

                      Comment


                        #41
                        Try It With These
                        Attached Files

                        Comment


                          #42
                          Put This In List.php

                          Code:
                          //////////////////////////////////gallery :)
                          
                          else if($action=="gal")
                          {
                              addonline(getuid_sid($sid),"viewing pics List","");
                              echo "<card id=\"main\" title=\"Gallery\">";
                              
                              //////ALL LISTS SCRIPT <<
                          
                              if($page=="" || $page<=0)$page=1;
                              $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_gallery"));
                              $num_items = $noi[0]; //changable
                              $items_per_page= 5;
                              $num_pages = ceil($num_items/$items_per_page);
                              if(($page>$num_pages)&&$page!=1)$page= $num_pages;
                              $limit_start = ($page-1)*$items_per_page;
                          
                              //changable sql
                          
                                  $sql = "SELECT id, gcode, imgsrc FROM ibwf_gallery ORDER BY id DESC LIMIT $limit_start, $items_per_page";
                              echo "
                          
                          ";
                              $items = mysql_query($sql);
                              
                              echo mysql_error();
                              if(mysql_num_rows($items)>0)
                              {
                              while ($item = mysql_fetch_array($items))
                             {
                                  if(ismod(getuid_sid($sid)))
                                  {
                                      $delsl = "<a href=\"galcp.php?action=deluser&amp;sid=$sid&amp;smid=$item[0]\">[x]</a>";
                                  }else{
                                      $delsl = "";
                                  }
                                  echo "$item[1] » ";
                                  echo "<img src=\"$item[2]\" alt=\"$item[1]\"/> $delsl
                          ";
                              }
                              }
                              echo "</p>";
                              echo "<p align=\"center\">";
                              if($page>1)
                              {
                                $ppage = $page-1;
                                echo "<a href=\"lists.php?action=gal&amp;page=$ppage&amp;sid=$sid&amp;view=$view\">«PREV</a> ";
                              }
                              if($page<$num_pages)
                              {
                                $npage = $page+1;
                                echo "<a href=\"lists.php?action=gal&amp;page=$npage&amp;sid=$sid&amp;view=$view\">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 .= "</go></anchor>";
                          
                                  echo $rets;
                              }
                              echo "</p>";
                            ////// UNTILL HERE >>
                              echo "<p align=\"center\">";
                              if(ismod(getuid_sid($sid)))
                                  {
                              echo "<a href=\"galcp.php?action=addu&amp;sid=$sid\">[Add Pics]</a>
                          ";
                              }
                              echo "<a href=\"index.php?action=extra&amp;sid=$sid\">";
                          echo "Extras</a>
                          ";
                              echo "<a href=\"index.php?action=main&amp;sid=$sid\"><img src=\"images/home.gif\" alt=\"*\"/>";
                          echo "Home</a>";
                          echo "[size="1"][b]©fonomatrix[/b][/size]
                          ";
                          echo "[size="1"][b]Script By:[/b] [u]spiderwebs[/u][/size]
                          ";
                          
                            echo "</p>";
                              echo "</card>";
                          }
                          Add This Link In Index.php In Ur Admin/Owner Cp

                          galcp.php?action=main&amp;sid=$sid I Think This Is The Ryt Link

                          Run This Sql In PhpMyAdmin
                          -- --------------------------------------------------------
                          --
                          -- Table structure for table `ibwf_gallery`
                          --

                          CREATE TABLE `ibwf_gallery` (
                          `id` int(100) NOT NULL auto_increment,
                          `gcode` varchar(15) NOT NULL default &#39;&#39;,
                          `imgsrc` varchar(200) NOT NULL default &#39;&#39;,
                          `hidden` char(1) NOT NULL default &#39;0&#39;,
                          PRIMARY KEY (`id`),
                          UNIQUE KEY `gcode` (`gcode`)
                          ) TYPE=MyISAM AUTO_INCREMENT=1 ;

                          --
                          -- Dumping data for table `ibwf_gallery`
                          --

                          Tell Me If Netn I Rote Is Rong Il Fix It[/b]
                          can u tel me how to write this codings in mysql.whenever i click on sql and when i try to paste any codes then it says error that already exist.thats why i cant put gallery in my site.
                          sigpic

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

                          Comment


                            #43
                            Go2 The ibwf_gallery U Already Have And Drop/Delete It Then Try Agen

                            Comment


                              #44
                              the script upl have problem in xhtml up, speak "File already exists" and script of gallery not load the page :S

                              Comment


                                #45
                                what?

                                Comment

                                Working...
                                X