Xhtml Sp Script (dated)

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

    #31
    Code:
    -- phpMyAdmin SQL Dump
    -- version 2.11.4
    -- [url]http://www.phpmyadmin.net[/url]
    --
    -- Host: localhost
    -- Generation Time: Apr 05, 2008 at 10:29 AM
    -- Server version: 4.1.22
    -- PHP Version: 5.2.3
    
    SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
    
    --
    -- Database: `cybernwa_brumi`
    --
    
    -- --------------------------------------------------------
    
    --
    -- Table structure for table `members`
    --
    
    CREATE TABLE `members` (
      `id` mediumint(7) NOT NULL auto_increment,
      `username` varchar(17) NOT NULL default '',
      `password` varchar(10) NOT NULL default '',
      `owner` tinyint(2) NOT NULL default '0',
      `admin` tinyint(2) NOT NULL default '0',
      `stars` tinyint(2) NOT NULL default '0',
      `forumadmin` tinyint(2) NOT NULL default '0',
      `banned` tinyint(2) NOT NULL default '0',
      `phone` varchar(120) NOT NULL default '',
      `subno` varchar(90) NOT NULL default '',
      `registerdate` datetime NOT NULL default '0000-00-00 00:00:00',
      `lastloggedin` datetime NOT NULL default '0000-00-00 00:00:00',
      `lastpost` varchar(15) NOT NULL default '',
      `email` varchar(30) NOT NULL default '',
      `validation` tinyint(2) NOT NULL default '1',
      `fp` tinyint(2) NOT NULL default '0',
      `ban` tinyint(2) NOT NULL default '0',
      `unban` tinyint(2) NOT NULL default '0',
      `deletem` tinyint(2) NOT NULL default '0',
      `deletepms` tinyint(2) NOT NULL default '0',
      `pass` tinyint(2) NOT NULL default '0',
      `pmname` varchar(15) NOT NULL default 'P.M',
      `buddyname` varchar(10) NOT NULL default 'Buddy',
      `validated` varchar(4) NOT NULL default 'no',
      `visit` mediumint(22) NOT NULL default '0',
      `device` varchar(10) NOT NULL default '',
      `shy` varchar(4) NOT NULL default 'no',
      `gamepoints` smallint(6) default '0',
      `turnpm` char(2) default '0',
      PRIMARY KEY  (`id`),
      UNIQUE KEY `username` (`username`)
    ) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=2;
    
    --
    -- Dumping data for table `members`
    --
    
    INSERT INTO `members` VALUES(1, 'admin', '123456', 1, 0, 1, 0, 0, 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 6.0; en) Opera 8.0', '', '2008-04-04 00:52:45', '2008-04-04 00:52:45', '', 'vish_u77@gmail.com', 1, 1, 1, 1, 1, 1, 1, 'P.M', 'Buddy', 'yes', 0, 'r7bqtw0r', 'no', 0, '0');
    there ya go m8
    Want something coded email me at sales@webnwaphost.com for a prices.




    Comment


      #32
      thanks buddy !!
      i think theres no option for shout ?
      or there is no shoutbox in your script
      but its still great and everyfunction is working !
      sigpic

      Comment


        #33
        thanks buddy !!
        i think theres no option for shout ?
        or there is no shoutbox in your script
        but its still great and everyfunction is working ![/b]
        i aint looked at script properly but used to use similiar . shout may be quotes in owners tools . u also got frontpage which may be called fp in owners tools .
        Wapchat4u


        Topsites4u

        Comment


          #34
          what will be sql query to verify and to make own self admin?
          i tried
          Code:
          UPDATE members validated="yes" WHERE name='admin';
          but it show me error ![/b]
          it will be
          Code:
          UPDATE members  SET owner ='1' WHERE username='admin'

          Comment


            #35
            it will be
            Code:
            UPDATE members  SET owner ='1' WHERE username='admin'
            [/b]
            yeh partly but also

            Code:
            UPDATE members  SET owner ='1' WHERE username='admin'
            Code:
            UPDATE members  SET stars ='1' WHERE username='admin'
            Code:
            UPDATE members  SET validation ='1' WHERE username='admin'
            Code:
            UPDATE members  SET fp ='1' WHERE username='admin'
            Code:
            UPDATE members  SET ban ='1' WHERE username='admin'
            Code:
            UPDATE members  SET unban ='1' WHERE username='admin'
            Code:
            UPDATE members  SET deletem ='1' WHERE username='admin'
            Code:
            UPDATE members  SET deletepms ='1' WHERE username='admin'
            Code:
            UPDATE members  SET pass = '1' WHERE username='admin'
            deletem is the permission that allows someone to delete a member and pass shows everyones password
            Want something coded email me at sales@webnwaphost.com for a prices.




            Comment


              #36
              hey one more question..
              when i update my profiles.. its became blank again..
              i cant see anything without pw in members n my profile too.
              sigpic

              Comment


                #37
                Code:
                -- --------------------------------------------------------
                
                -- 
                -- Table structure for table `profile`
                -- 
                
                CREATE TABLE `profile` (
                  `id` mediumint(7) NOT NULL auto_increment,
                  `username` varchar(17) NOT NULL default '',
                  `name` varchar(17) NOT NULL default '',
                  `age` smallint(3) NOT NULL default '0',
                  `sex` varchar(7) NOT NULL default '',
                  `location` varchar(12) NOT NULL default '',
                  `about` varchar(255) NOT NULL default '',
                  `picture` varchar(100) NOT NULL default '',
                  `onlinetime` bigint(255) NOT NULL default '0',
                  `country` varchar(50) NOT NULL default '',
                  `race` varchar(50) NOT NULL default '',
                  `eyes` varchar(50) NOT NULL default '',
                  `body` varchar(50) NOT NULL default '',
                  `height` varchar(100) NOT NULL default '',
                  `waist` varchar(100) NOT NULL default '',
                  `hair` varchar(100) NOT NULL default '',
                  `favfood` varchar(100) NOT NULL default '',
                  `favmusic` varchar(100) NOT NULL default '',
                  `favcolour` varchar(100) NOT NULL default '',
                  `favthing` varchar(100) NOT NULL default '',
                  `favplace` varchar(100) NOT NULL default '',
                  `starsign` varchar(100) NOT NULL default '',
                  `sexuality` varchar(100) NOT NULL default '',
                  `marital` varchar(100) NOT NULL default '',
                  `partner` varchar(100) NOT NULL default '',
                  `interests` varchar(100) NOT NULL default '',
                  `happy` varchar(100) NOT NULL default '',
                  `sad` varchar(100) NOT NULL default '',
                  `badhabits` varchar(100) NOT NULL default '',
                  `here` varchar(30) NOT NULL default 'main menu',
                  `page` varchar(120) NOT NULL default 'welcome.php?',
                  `showon` tinyint(3) NOT NULL default '1',
                  PRIMARY KEY  (`id`)
                ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1;
                
                -- 
                -- Dumping data for table `profile`
                -- 
                
                
                -- --------------------------------------------------------
                Want something coded email me at sales@webnwaphost.com for a prices.




                Comment


                  #38
                  replace the above with the profile table in ya database
                  Want something coded email me at sales@webnwaphost.com for a prices.




                  Comment


                    #39
                    MySQL returned an empty result set (i.e. zero rows). (Query took 0.1335 sec)
                    it show me this line and then sql query !

                    and then same blank profile after updating
                    sigpic

                    Comment


                      #40
                      yeh partly but also

                      Code:
                      UPDATE members  SET owner ='1' WHERE username='admin'
                      Code:
                      UPDATE members  SET stars ='1' WHERE username='admin'
                      Code:
                      UPDATE members  SET validation ='1' WHERE username='admin'
                      Code:
                      UPDATE members  SET fp ='1' WHERE username='admin'
                      Code:
                      UPDATE members  SET ban ='1' WHERE username='admin'
                      Code:
                      UPDATE members  SET unban ='1' WHERE username='admin'
                      Code:
                      UPDATE members  SET deletem ='1' WHERE username='admin'
                      Code:
                      UPDATE members  SET deletepms ='1' WHERE username='admin'
                      Code:
                      UPDATE members  SET pass = '1' WHERE username='admin'
                      deletem is the permission that allows someone to delete a member and pass shows everyones password [/b]
                      i have just correted opticalpigion's wrong sql query.
                      why should any1 use 9 sql update queries when it can be done with only one sql update query?like
                      Code:
                      UPDATE members  SET owner ='1', pass = '1',validation ='1',fp ='1',ban ='1' , unban ='1' , deletem ='1' ,deletepms ='1',pass = '1' WHERE username='admin'

                      Comment


                        #41
                        i have just correted opticalpigion's wrong sql query.
                        why should any1 use 9 sql update queries when it can be done with only one sql update query?like
                        Code:
                        UPDATE members  SET owner ='1', pass = '1',validation ='1',fp ='1',ban ='1' , unban ='1' , deletem ='1' ,deletepms ='1',pass = '1' WHERE username='admin'
                        [/b]
                        he isnt doing this via the script but database! also i have givern him the tools! so your reply was useless as he as alredi got into the site!
                        Want something coded email me at sales@webnwaphost.com for a prices.




                        Comment


                          #42
                          MySQL returned an empty result set (i.e. zero rows). (Query took 0.1335 sec)
                          it show me this line and then sql query !

                          and then same blank profile after updating[/b]

                          wel you cant update something when theres nothing to update lol, so insert giberish via the database then go to update profile in the script then it will work and update via the script
                          Want something coded email me at sales@webnwaphost.com for a prices.




                          Comment


                            #43
                            he isnt doing this via the script but database! also i have givern him the tools! so your reply was useless as he as alredi got into the site![/b]
                            I dont post useless posts.I asked You a question in my post.
                            why should any1 use 9 sql update queries when it can be done with only one sql update query?[/b]
                            Code:
                            UPDATE members  SET owner ='1', pass = '1',validation ='1',fp ='1',ban ='1' , unban ='1' , deletem ='1' ,deletepms ='1',pass = '1' WHERE username='admin'
                            is a DATABASE code not PHP scripting code,ok?

                            Comment


                              #44
                              I dont post useless posts.I asked You a question in my post.

                              Code:
                              UPDATE members  SET owner ='1', pass = '1',validation ='1',fp ='1',ban ='1' , unban ='1' , deletem ='1' ,deletepms ='1',pass = '1' WHERE username='admin'
                              is a DATABASE code not PHP scripting code,ok?[/b]
                              ??
                              Want something coded email me at sales@webnwaphost.com for a prices.




                              Comment


                                #45
                                hi i try to update my profile thrue database
                                but it show me
                                this error "#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 "
                                i was use this sql query
                                Code:
                                -- --------------------------------------------------------
                                
                                -- 
                                -- Table structure for table `profile`
                                -- 
                                
                                CREATE TABLE `profile` (
                                  `id` mediumint(7) NOT NULL auto_increment,
                                  `username` varchar(17) NOT NULL default '',
                                  `name` varchar(17) NOT NULL default '',
                                  `age` smallint(3) NOT NULL default '0',
                                  `sex` varchar(7) NOT NULL default '',
                                  `location` varchar(12) NOT NULL default '',
                                  `about` varchar(255) NOT NULL default '',
                                  `picture` varchar(100) NOT NULL default '',
                                  `onlinetime` bigint(255) NOT NULL default '0',
                                  `country` varchar(50) NOT NULL default '',
                                  `race` varchar(50) NOT NULL default '',
                                  `eyes` varchar(50) NOT NULL default '',
                                  `body` varchar(50) NOT NULL default '',
                                  `height` varchar(100) NOT NULL default '',
                                  `waist` varchar(100) NOT NULL default '',
                                  `hair` varchar(100) NOT NULL default '',
                                  `favfood` varchar(100) NOT NULL default '',
                                  `favmusic` varchar(100) NOT NULL default '',
                                  `favcolour` varchar(100) NOT NULL default '',
                                  `favthing` varchar(100) NOT NULL default '',
                                  `favplace` varchar(100) NOT NULL default '',
                                  `starsign` varchar(100) NOT NULL default '',
                                  `sexuality` varchar(100) NOT NULL default '',
                                  `marital` varchar(100) NOT NULL default '',
                                  `partner` varchar(100) NOT NULL default '',
                                  `interests` varchar(100) NOT NULL default '',
                                  `happy` varchar(100) NOT NULL default '',
                                  `sad` varchar(100) NOT NULL default '',
                                  `badhabits` varchar(100) NOT NULL default '',
                                  `here` varchar(30) NOT NULL default 'main menu',
                                  `page` varchar(120) NOT NULL default 'welcome.php?',
                                  `showon` tinyint(3) NOT NULL default '1',
                                  PRIMARY KEY  (`id`)
                                ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1;
                                
                                -- 
                                -- Dumping data for table `profile`
                                -- 
                                INSERT INTO `profile` (`id`, `username`, `name`, `age`, `sex`, `location`, `about`, `picture`, `onlinetime`, `country`, `race`, `eyes`, `body`, `height`, `waist`, `hair`, `favfood`, `favmusic`, `favcolour`, `favthing`, `favplace`, `starsign`, `sexuality`, `marital`, `partner`, `intrests`, `happy`, `sad`, `badhabits`, `here`, `page`, `showon`) VALUES (1, 'vishal', 'Vishal', '21', 'male', 'Gujarat', 'Student', '', '0', 'India', '', 'Black', 'Average', '5.7', '', 'Black', 'w/e my mammi cook', 'Depents On Mood', 'Red And Sky Blue', 'to make different sites', 'my Home', 'Taurus', 'Straight', 'Single', '', '', '', '', '', '', '', ''),
                                
                                
                                -- --------------------------------------------------------
                                what to do now?
                                sigpic

                                Comment

                                Working...
                                X