*Hello External image (may be gone) I have problem with script! does somebody now something about script and can help me? * Look this site http://mobilmega.net/web Thanks!!!! External image (may be gone)
Script Problem!
Started on the old forum in December 2007 · view the original in the archive · old links redirect here
you have a sql error mate.. meaning that u made a query to the database for something and either a field n the table doesnt exist or the table it self that u tried to get data from doesnt exist External image (may be gone)
wapZan Mobile site builder - Yours is here
you have a sql error mate.. meaning that u made a query to the database for something and either a field n the table doesnt exist or the table it self that u tried to get data from doesnt exist External image (may be gone)
its the sql problem you missing the table try this one upload this core
[codebox] -- phpMyAdmin SQL Dump -- version 2.7.0-pl2 -- http://www.phpmyadmin.net
-- Host: localhost -- Generation Time: Sep 13, 2006 at 10:10 PM -- Server version: 5.0.18 -- PHP Version: 5.1.2
-- Database: tunnel
--
-- Table structure for table ibwf_acc
CREATE TABLE ibwf_acc (
id int(100) NOT NULL auto_increment,
gid int(100) NOT NULL default '0',
fid int(100) NOT NULL default '0',
PRIMARY KEY (id)
) ENGINE=MyISAM AUTO_INCREMENT=1;
--
-- Table structure for table ibwf_blockedsite
CREATE TABLE ibwf_blockedsite (
id int(11) NOT NULL auto_increment,
site varchar(255) NOT NULL default '',
PRIMARY KEY (id)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1;
--
-- Table structure for table ibwf_uploads
CREATE TABLE ibwf_uploads (
id int(11) NOT NULL auto_increment,
uid int(11) NOT NULL default '0',
filename text NOT NULL,
date varchar(100) NOT NULL default '',
filesize text NOT NULL,
uip varchar(20) NOT NULL default '',
PRIMARY KEY (id)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1;
--
-- Table structure for table ibwf_announcements
CREATE TABLE ibwf_announcements (
id int(100) NOT NULL auto_increment,
antext varchar(200) NOT NULL,
clid int(100) NOT NULL,
antime int(100) NOT NULL,
PRIMARY KEY (id)
) ENGINE=MyISAM AUTO_INCREMENT=1;
--
-- Table structure for table ibwf_avatars
CREATE TABLE ibwf_avatars (
id int(10) NOT NULL auto_increment,
avlink varchar(150) NOT NULL default '',
PRIMARY KEY (id),
UNIQUE KEY avlink (avlink)
) ENGINE=MyISAM AUTO_INCREMENT=1;
--
-- Table structure for table ibwf_blogs
CREATE TABLE ibwf_blogs (
id int(100) NOT NULL auto_increment,
bowner int(100) NOT NULL default '0',
bname varchar(30) NOT NULL default '',
btext blob NOT NULL,
bgdate int(100) NOT NULL default '0',
PRIMARY KEY (id),
UNIQUE KEY bname (bname)
) ENGINE=MyISAM AUTO_INCREMENT=1;
--
-- Table structure for table ibwf_brate
CREATE TABLE ibwf_brate (
id int(100) NOT NULL auto_increment,
blogid int(100) NOT NULL default '0',
uid int(100) NOT NULL default '0',
brate char(1) NOT NULL default '',
PRIMARY KEY (id)
) ENGINE=MyISAM AUTO_INCREMENT=1;
--
-- Table structure for table ibwf_buddies
CREATE TABLE ibwf_buddies (
id int(100) NOT NULL auto_increment,
uid int(100) NOT NULL default '0',
tid int(100) NOT NULL default '0',
agreed char(1) NOT NULL default '0',
reqdt int(100) NOT NULL default '0',
PRIMARY KEY (id),
KEY uid (uid)
) ENGINE=MyISAM AUTO_INCREMENT=1;
--
-- Table structure for table ibwf_cards
CREATE TABLE ibwf_cards (
id int(10) NOT NULL auto_increment,
fntsz int(5) NOT NULL default '0',
xst int(10) NOT NULL default '0',
yst int(10) NOT NULL default '0',
xjp int(10) NOT NULL default '0',
yjp int(10) NOT NULL default '0',
tcolor varchar(20) NOT NULL default '',
category varchar(20) NOT NULL default '',
PRIMARY KEY (id)
) ENGINE=MyISAM AUTO_INCREMENT=1;
--
-- Table structure for table ibwf_chat
CREATE TABLE ibwf_chat (
id int(99) NOT NULL auto_increment,
chatter int(100) NOT NULL default '0',
who int(100) NOT NULL default '0',
timesent int(50) NOT NULL default '0',
msgtext varchar(255) NOT NULL default '',
rid int(99) NOT NULL default '0',
exposed char(1) NOT NULL default '0',
PRIMARY KEY (id)
) ENGINE=MyISAM AUTO_INCREMENT=1;
--
-- Table structure for table ibwf_chonline
CREATE TABLE ibwf_chonline (
lton int(15) NOT NULL default '0',
uid int(100) NOT NULL default '0',
rid int(99) NOT NULL default '0',
PRIMARY KEY (lton),
UNIQUE KEY username (uid)
) ENGINE=MyISAM;
--
-- Table structure for table ibwf_clubmembers
CREATE TABLE ibwf_clubmembers (
id int(100) NOT NULL auto_increment,
uid int(100) NOT NULL,
clid int(100) NOT NULL,
accepted char(1) NOT NULL default '0',
points int(100) NOT NULL default '0',
joined int(100) NOT NULL default '0',
PRIMARY KEY (id)
) ENGINE=MyISAM AUTO_INCREMENT=1;
--
-- Table structure for table ibwf_clubs
CREATE TABLE ibwf_clubs (
id int(100) NOT NULL auto_increment,
owner int(100) NOT NULL,
name varchar(30) NOT NULL,
description varchar(200) NOT NULL,
rules blob NOT NULL,
logo varchar(200) NOT NULL,
plusses int(100) NOT NULL default '0',
created int(100) NOT NULL default '0',
PRIMARY KEY (id)
) ENGINE=MyISAM AUTO_INCREMENT=1;
--
-- Table structure for table ibwf_faqs
CREATE TABLE ibwf_faqs (
id int(100) NOT NULL auto_increment,
category varchar(10) NOT NULL default '',
question varchar(100) NOT NULL default '',
answer varchar(250) NOT NULL default '',
PRIMARY KEY (id)
) ENGINE=MyISAM AUTO_INCREMENT=1;
--
-- Table structure for table ibwf_fcats
CREATE TABLE ibwf_fcats (
id int(50) NOT NULL auto_increment,
name varchar(30) NOT NULL default '',
position int(50) NOT NULL default '0',
PRIMARY KEY (id),
UNIQUE KEY name (name)
) ENGINE=MyISAM AUTO_INCREMENT=1;
--
-- Table structure for table ibwf_forums
CREATE TABLE ibwf_forums (
id int(50) NOT NULL auto_increment,
name varchar(20) NOT NULL default '',
position int(50) NOT NULL default '0',
cid int(100) NOT NULL default '0',
clubid int(100) NOT NULL default '0',
PRIMARY KEY (id),
UNIQUE KEY name (name)
) ENGINE=MyISAM AUTO_INCREMENT=1;
--
-- Table structure for table ibwf_games
CREATE TABLE ibwf_games (
id int(100) NOT NULL auto_increment,
uid int(100) NOT NULL default '0',
gvar1 varchar(30) NOT NULL default '',
gvar2 varchar(30) NOT NULL default '',
gvar3 varchar(30) NOT NULL default '',
gvar4 varchar(30) NOT NULL default '',
gvar5 varchar(30) NOT NULL default '',
PRIMARY KEY (id)
) ENGINE=MyISAM AUTO_INCREMENT=1;
--
-- Table structure for table ibwf_gbook
CREATE TABLE ibwf_gbook (
id int(100) NOT NULL auto_increment,
gbowner int(100) NOT NULL default '0',
gbsigner int(100) NOT NULL default '0',
gbmsg blob NOT NULL,
dtime int(100) NOT NULL default '0',
PRIMARY KEY (id)
) ENGINE=MyISAM AUTO_INCREMENT=1;
--
-- Table structure for table ibwf_groups
CREATE TABLE ibwf_groups (
id int(10) NOT NULL auto_increment,
name varchar(50) NOT NULL default '',
autoass char(1) NOT NULL default '1',
mage int(10) NOT NULL default '0',
maxage int(10) NOT NULL default '0',
userst char(1) NOT NULL default '0',
posts int(100) NOT NULL default '0',
plusses int(100) NOT NULL default '0',
PRIMARY KEY (id),
UNIQUE KEY name (name)
) ENGINE=MyISAM AUTO_INCREMENT=1;
--
-- Table structure for table ibwf_ignore
CREATE TABLE ibwf_ignore (
id int(10) NOT NULL auto_increment,
name int(99) NOT NULL default '0',
target int(99) NOT NULL default '0',
PRIMARY KEY (id)
) ENGINE=MyISAM AUTO_INCREMENT=1;
--
-- Table structure for table ibwf_judges
CREATE TABLE ibwf_judges (
id int(100) NOT NULL auto_increment,
uid int(100) NOT NULL default '0',
fid int(100) NOT NULL default '0',
PRIMARY KEY (id)
) ENGINE=MyISAM AUTO_INCREMENT=1;
--
-- Table structure for table ibwf_links
CREATE TABLE ibwf_links (
url varchar(255) NOT NULL default '',
title varchar(255) NOT NULL default '',
PRIMARY KEY (url)
) ENGINE=MyISAM;
--
-- Table structure for table ibwf_mangr
CREATE TABLE ibwf_mangr (
id int(100) NOT NULL auto_increment,
uid int(100) NOT NULL default '0',
gid int(100) NOT NULL default '0',
PRIMARY KEY (id)
) ENGINE=MyISAM AUTO_INCREMENT=1;
--
-- Table structure for table ibwf_mlog
CREATE TABLE ibwf_mlog (
id int(100) NOT NULL auto_increment,
action varchar(10) NOT NULL default '',
details blob NOT NULL,
actdt int(100) NOT NULL default '0',
PRIMARY KEY (id)
) ENGINE=MyISAM AUTO_INCREMENT=1;
--
-- Table structure for table ibwf_modr
CREATE TABLE ibwf_modr (
id int(11) NOT NULL auto_increment,
name int(100) NOT NULL default '0',
forum varchar(99) NOT NULL default '0',
PRIMARY KEY (id)
) ENGINE=MyISAM AUTO_INCREMENT=1;
--
-- Table structure for table ibwf_moods
CREATE TABLE ibwf_moods (
id int(99) NOT NULL auto_increment,
text varchar(10) NOT NULL default '',
img varchar(100) NOT NULL default '',
dscr varchar(50) NOT NULL default '',
PRIMARY KEY (id)
) ENGINE=MyISAM AUTO_INCREMENT=1;
INSERT INTO ibwf_moods VALUES (1, '[:/]', 'moods/angry.gif', 'angry');
INSERT INTO ibwf_moods VALUES (2, '[:8]', 'moods/blush.gif', 'Shy/redface/blushing');
INSERT INTO ibwf_moods VALUES (3, '[:/]', 'moods/careless.gif', 'Careless/Angry/Disappointed');
INSERT INTO ibwf_moods VALUES (4, '[:?]', 'moods/confused.gif', 'Confused');
INSERT INTO ibwf_moods VALUES (5, '[External image (may be gone)]', 'moods/cool.gif', 'Cool');
INSERT INTO ibwf_moods VALUES (6, '[:,(]', 'moods/cry.gif', 'Crying');
INSERT INTO ibwf_moods VALUES (7, '[x-(]', 'moods/dead.gif', 'Dead');
INSERT INTO ibwf_moods VALUES (8, '[=P]', 'moods/disgust.gif', 'Disgusts/like yeah whatever');
INSERT INTO ibwf_moods VALUES (9, '[>:)]', 'moods/evil.gif', 'Evil');
INSERT INTO ibwf_moods VALUES (10, '[~External image (may be gone)]', 'moods/grr.gif', 'GRRR/Angry/Mad');
INSERT INTO ibwf_moods VALUES (11, '[=D]', 'moods/happy.gif', 'Happy');
INSERT INTO ibwf_moods VALUES (12, 'loved', 'moods/loved.gif', 'In Love');
INSERT INTO ibwf_moods VALUES (13, 'luvya', 'moods/luvya.gif', 'Luv Ya');
INSERT INTO ibwf_moods VALUES (14, '[:*]', 'moods/nasty.gif', 'Nasty/Drools');
INSERT INTO ibwf_moods VALUES (15, '[External image (may be gone)]', 'moods/retard.gif', 'eek/going huh');
INSERT INTO ibwf_moods VALUES (16, '[External image (may be gone)]', 'moods/sad.gif', 'Sad');
INSERT INTO ibwf_moods VALUES (17, '[:/]', 'moods/shy.gif', 'shy');
INSERT INTO ibwf_moods VALUES (18, '[8(,]', 'moods/sick.gif', 'Sick/Tired/Sour');
INSERT INTO ibwf_moods VALUES (19, '[3(]', 'moods/sleep.gif', 'Sleeping/Sleepy');
INSERT INTO ibwf_moods VALUES (20, '[External image (may be gone)]', 'moods/smile.gif', 'Smiling/Happy');
INSERT INTO ibwf_moods VALUES (21, '[(External image (may be gone)]', 'moods/sorry.gif', 'Sorry');
--
-- Table structure for table ibwf_mpot
CREATE TABLE ibwf_mpot (
id int(10) NOT NULL auto_increment,
ddt varchar(20) NOT NULL default '',
dtm varchar(20) NOT NULL default '',
ppl int(20) NOT NULL default '0',
PRIMARY KEY (id)
) ENGINE=MyISAM AUTO_INCREMENT=1;
--
-- Table structure for table ibwf_mypage
CREATE TABLE ibwf_mypage (
id int(100) NOT NULL auto_increment,
uid int(100) NOT NULL,
mimg varchar(200) NOT NULL,
thid int(100) NOT NULL default '1',
msg varchar(250) NOT NULL,
PRIMARY KEY (id),
UNIQUE KEY uid (uid)
) ENGINE=MyISAM AUTO_INCREMENT=1;
--
-- Table structure for table ibwf_nicks
CREATE TABLE ibwf_nicks (
id int(10) NOT NULL auto_increment,
name varchar(30) NOT NULL default '',
nicklvl char(1) NOT NULL default '0',
PRIMARY KEY (id)
) ENGINE=MyISAM AUTO_INCREMENT=1;
--
-- Table structure for table ibwf_online
CREATE TABLE ibwf_online (
id int(10) NOT NULL auto_increment,
userid int(100) NOT NULL default '0',
actvtime int(100) NOT NULL default '0',
place varchar(50) NOT NULL default '',
placedet varchar(255) NOT NULL default '',
PRIMARY KEY (id),
UNIQUE KEY userid (userid)
) ENGINE=MyISAM AUTO_INCREMENT=1;
--
-- Table structure for table ibwf_penalties
CREATE TABLE ibwf_penalties (
id int(10) NOT NULL auto_increment,
uid int(100) NOT NULL default '0',
penalty char(1) NOT NULL default '0',
exid int(100) NOT NULL default '0',
timeto int(100) NOT NULL default '0',
pnreas varchar(100) NOT NULL default '',
ipadd varchar(30) NOT NULL default '',
browserm varchar(100) NOT NULL default '',
PRIMARY KEY (id)
) ENGINE=MyISAM AUTO_INCREMENT=1;
--
-- Table structure for table ibwf_polls
CREATE TABLE ibwf_polls (
id int(100) NOT NULL auto_increment,
pqst varchar(255) NOT NULL default '',
opt1 varchar(100) NOT NULL default '',
opt2 varchar(100) NOT NULL default '',
opt3 varchar(100) NOT NULL default '',
opt4 varchar(100) NOT NULL default '',
opt5 varchar(100) NOT NULL default '',
pdt int(100) NOT NULL default '0',
PRIMARY KEY (id)
) ENGINE=MyISAM AUTO_INCREMENT=1;
--
-- Table structure for table ibwf_popups
CREATE TABLE ibwf_popups (
id int(100) NOT NULL auto_increment,
text blob NOT NULL,
byuid int(100) NOT NULL default '0',
touid int(100) NOT NULL default '0',
unread char(1) NOT NULL default '1',
timesent int(100) NOT NULL default '0',
reported char(1) NOT NULL default '0',
PRIMARY KEY (id)
) ENGINE=MyISAM AUTO_INCREMENT=1;
--
-- Table structure for table ibwf_posts
CREATE TABLE ibwf_posts (
id int(100) NOT NULL auto_increment,
text blob NOT NULL,
tid int(100) NOT NULL default '0',
uid int(100) NOT NULL default '0',
dtpost int(100) NOT NULL default '0',
reported char(1) NOT NULL default '0',
quote int(100) NOT NULL default '0',
PRIMARY KEY (id)
) ENGINE=MyISAM AUTO_INCREMENT=1;
--
-- Table structure for table ibwf_pp_gbook
CREATE TABLE ibwf_pp_gbook (
id int(100) NOT NULL auto_increment,
uid int(100) NOT NULL,
sname varchar(15) NOT NULL,
semail varchar(100) NOT NULL,
stext text NOT NULL,
sdate int(100) NOT NULL,
PRIMARY KEY (id)
) ENGINE=MyISAM AUTO_INCREMENT=1;
--
-- Table structure for table ibwf_pp_pres
CREATE TABLE ibwf_pp_pres (
id int(100) NOT NULL auto_increment,
pid int(100) NOT NULL,
ans int(5) NOT NULL default '1',
PRIMARY KEY (id)
) ENGINE=MyISAM AUTO_INCREMENT=1;
--
-- Table structure for table ibwf_presults
CREATE TABLE ibwf_presults (
id int(100) NOT NULL auto_increment,
pid int(100) NOT NULL default '0',
uid int(100) NOT NULL default '0',
ans int(10) NOT NULL default '0',
PRIMARY KEY (id)
) ENGINE=MyISAM AUTO_INCREMENT=1;
--
-- Table structure for table ibwf_private
CREATE TABLE ibwf_private (
id int(100) NOT NULL auto_increment,
text blob NOT NULL,
byuid int(100) NOT NULL default '0',
touid int(100) NOT NULL default '0',
unread char(1) NOT NULL default '1',
timesent int(100) NOT NULL default '0',
starred char(1) NOT NULL default '0',
reported char(1) NOT NULL default '0',
PRIMARY KEY (id)
) ENGINE=MyISAM AUTO_INCREMENT=1;
--
-- Table structure for table ibwf_rooms
CREATE TABLE ibwf_rooms (
id int(10) NOT NULL auto_increment,
name varchar(30) NOT NULL,
pass varchar(100) NOT NULL,
static char(1) NOT NULL,
mage int(10) NOT NULL,
maxage int(10) NOT NULL,
chposts int(100) NOT NULL,
perms int(10) NOT NULL,
censord char(1) NOT NULL default '1',
freaky char(1) NOT NULL default '0',
lastmsg int(100) NOT NULL,
clubid int(100) NOT NULL default '0',
PRIMARY KEY (id),
UNIQUE KEY name (name)
) ENGINE=MyISAM AUTO_INCREMENT=1;
--
-- Table structure for table ibwf_rss
CREATE TABLE ibwf_rss (
id int(50) NOT NULL auto_increment,
title varchar(50) NOT NULL default '',
link varchar(150) NOT NULL default '',
srcd varchar(200) NOT NULL default '',
dscr varchar(100) NOT NULL default '',
imgsrc varchar(100) NOT NULL default '',
pubdate varchar(50) NOT NULL default '',
fid int(50) NOT NULL default '0',
lupdate int(100) NOT NULL default '0',
pgurl varchar(255) NOT NULL default '',
PRIMARY KEY (id)
) ENGINE=MyISAM AUTO_INCREMENT=1;
--
-- Table structure for table ibwf_rssdata
CREATE TABLE ibwf_rssdata (
id int(100) NOT NULL auto_increment,
rssid int(50) NOT NULL default '0',
title varchar(100) NOT NULL default '',
link varchar(255) NOT NULL default '',
imgsrc varchar(255) NOT NULL default '',
text blob NOT NULL,
pubdate varchar(50) NOT NULL default '',
PRIMARY KEY (id)
) ENGINE=MyISAM AUTO_INCREMENT=1;
--
-- Table structure for table ibwf_search
CREATE TABLE ibwf_search (
id int(20) NOT NULL auto_increment,
svar1 varchar(50) NOT NULL default '',
svar2 varchar(50) NOT NULL default '',
svar3 varchar(50) NOT NULL default '',
svar4 varchar(50) NOT NULL default '',
svar5 varchar(50) NOT NULL default '',
stime int(100) NOT NULL default '0',
PRIMARY KEY (id)
) ENGINE=MyISAM AUTO_INCREMENT=1;
--
-- Table structure for table ibwf_ses
CREATE TABLE ibwf_ses (
id varchar(100) NOT NULL default '',
uid varchar(30) NOT NULL default '',
expiretm int(100) NOT NULL default '0',
UNIQUE KEY id (id,uid)
) ENGINE=MyISAM;
--
-- Table structure for table ibwf_settings
CREATE TABLE ibwf_settings (
id int(10) NOT NULL auto_increment,
name varchar(30) NOT NULL default '',
value text(500) NOT NULL default '',
PRIMARY KEY (id),
UNIQUE KEY name (name)
) ENGINE=MyISAM AUTO_INCREMENT=1;
INSERT INTO ibwf_settings VALUES (1, 'sesexp', '20');
INSERT INTO ibwf_settings VALUES (2, 'j', '');
INSERT INTO ibwf_settings VALUES (3, '4ummsg', '');
INSERT INTO ibwf_settings VALUES (4, 'Counter', '');
INSERT INTO ibwf_settings VALUES (5, 'pmaf', '');
INSERT INTO ibwf_settings VALUES (6, 'reg', '1');
INSERT INTO ibwf_settings VALUES (7, 'fview', '');
INSERT INTO ibwf_settings VALUES (8, 'lastbpm', '');
INSERT INTO ibwf_settings VALUES (9, 'sitename', '');
INSERT INTO ibwf_settings VALUES (10, 'vldtn', '0');
--
-- Table structure for table ibwf_shouts
CREATE TABLE ibwf_shouts (
id int(100) NOT NULL auto_increment,
shout varchar(100) NOT NULL default '',
shouter int(100) NOT NULL default '0',
shtime int(100) NOT NULL default '0',
PRIMARY KEY (id)
) ENGINE=MyISAM AUTO_INCREMENT=1;
--
-- Table structure for table ibwf_smilies
CREATE TABLE ibwf_smilies (
id int(100) NOT NULL auto_increment,
scode varchar(15) NOT NULL default '',
imgsrc varchar(200) NOT NULL default '',
hidden char(1) NOT NULL default '0',
PRIMARY KEY (id),
UNIQUE KEY scode (scode)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1;
--
-- Dumping data for table ibwf_smilies
INSERT INTO ibwf_smilies VALUES (1, '(witch)', '../smilies/witch.gif', '0');
INSERT INTO ibwf_smilies VALUES (2, '(vampire)', '../smilies/vampire.gif', '0');
INSERT INTO ibwf_smilies VALUES (3, '(swing)', '../smilies/swing.gif', '0');
INSERT INTO ibwf_smilies VALUES (4, '(suicide)', '../smilies/suicide.gif', '0');
INSERT INTO ibwf_smilies VALUES (5, '(starfish)', '../smilies/starfish.gif', '0');
INSERT INTO ibwf_smilies VALUES (6, '(snatch)', '../smilies/snatch.gif', '0');
INSERT INTO ibwf_smilies VALUES (7, '(screw)', '../smilies/screw.gif', '0');
INSERT INTO ibwf_smilies VALUES (8, '(poof)', '../smilies/poof.gif', '0');
INSERT INTO ibwf_smilies VALUES (9, '(photo)', '../smilies/photographer.gif', '0');
INSERT INTO ibwf_smilies VALUES (10, '(lmao)', '../smilies/lmao.gif', '0');
INSERT INTO ibwf_smilies VALUES (11, '(kiss)', '../smilies/kiss.gif', '0');
INSERT INTO ibwf_smilies VALUES (12, '(hifive)', '../smilies/hifive.gif', '0');
INSERT INTO ibwf_smilies VALUES (13, '(hi)', '../smilies/hi.gif', '0');
INSERT INTO ibwf_smilies VALUES (14, '(heart)', '../smilies/heart.gif', '0');
INSERT INTO ibwf_smilies VALUES (15, '(friends)', '../smilies/friends.gif', '0');
INSERT INTO ibwf_smilies VALUES (16, '(fall)', '../smilies/fall.gif', '0');
INSERT INTO ibwf_smilies VALUES (17, '(excited)', '../smilies/excited.gif', '0');
INSERT INTO ibwf_smilies VALUES (18, '(dizzy)', '../smilies/dizzy.gif', '0');
INSERT INTO ibwf_smilies VALUES (19, '(crazy)', '../smilies/crazy.gif', '0');
INSERT INTO ibwf_smilies VALUES (20, '(blowkiss)', '../smilies/blowkiss.gif', '0');
INSERT INTO ibwf_smilies VALUES (21, '(badidea)', '../smilies/badidea.gif', '0');
INSERT INTO ibwf_smilies VALUES (22, '(badgrin)', '../smilies/badgrin.gif', '0');
INSERT INTO ibwf_smilies VALUES (23, '(backstab)', '../smilies/backstab.gif', '0');
INSERT INTO ibwf_smilies VALUES (24, '(ape)', '../smilies/ape.gif', '0');
INSERT INTO ibwf_smilies VALUES (25, '(anvil)', '../smilies/anvil.gif', '0');
INSERT INTO ibwf_smilies VALUES (26, '(angry)', '../smilies/angry.gif', '0');
INSERT INTO ibwf_smilies VALUES (27, '(advices)', '../smilies/advices.gif', '0');
INSERT INTO ibwf_smilies VALUES (28, '(vatu)', '../smilies/20vatu_new.jpg', '0');
INSERT INTO ibwf_smilies VALUES (29, '(felix)', '../smilies/felix.gif', '0');
INSERT INTO ibwf_smilies VALUES (30, '(hug)', '../smilies/hug.gif', '0');
INSERT INTO ibwf_smilies VALUES (31, '(brainslug)', '../smilies/brainslug.gif', '0');
INSERT INTO ibwf_smilies VALUES (32, '(firestarter)', '../smilies/firestarter.gif', '0');
INSERT INTO ibwf_smilies VALUES (33, '(evillaugh)', '../smilies/evillaugh.gif', '0');
INSERT INTO ibwf_smilies VALUES (34, '(argh)', '../smilies/argh.gif', '0');
INSERT INTO ibwf_smilies VALUES (35, '(haha)', '../smilies/haha.gif', '0');
INSERT INTO ibwf_smilies VALUES (36, '(horn)', '../smilies/horn.gif', '0');
INSERT INTO ibwf_smilies VALUES (37, '(king)', '../smilies/king.gif', '0');
INSERT INTO ibwf_smilies VALUES (38, '(poke)', '../smilies/poke.gif', '0');
INSERT INTO ibwf_smilies VALUES (39, '(queen)', '../smilies/queen.gif', '0');
INSERT INTO ibwf_smilies VALUES (40, '(sniper)', '../smilies/sniper.gif', '0');
INSERT INTO ibwf_smilies VALUES (41, '(spin)', '../smilies/spin.gif', '0');
INSERT INTO ibwf_smilies VALUES (42, '(spy)', '../smilies/spy.gif', '0');
INSERT INTO ibwf_smilies VALUES (43, '(dance)', '../smilies/dance.gif', '0');
INSERT INTO ibwf_smilies VALUES (44, '(clap)', '../smilies/clap.gif', '0');
INSERT INTO ibwf_smilies VALUES (45, '(lovebump)', '../smilies/lovebump.gif', '0');
INSERT INTO ibwf_smilies VALUES (46, '(smooch)', '../smilies/smooch.gif', '0');
INSERT INTO ibwf_smilies VALUES (47, '(hehe)', '../smilies/hehe.gif', '0');
INSERT INTO ibwf_smilies VALUES (48, '(crying)', '../smilies/crying.gif', '0');
INSERT INTO ibwf_smilies VALUES (49, '(boo)', '../smilies/boo.gif', '0');
INSERT INTO ibwf_smilies VALUES (50, '(depressed)', '../smilies/depressed.gif', '0');
INSERT INTO ibwf_smilies VALUES (51, '(faint)', '../smilies/faint.gif', '0');
INSERT INTO ibwf_smilies VALUES (52, '(girlfight)', '../smilies/girlfight.gif', '0');
INSERT INTO ibwf_smilies VALUES (53, '(heaven)', '../smilies/heaven.gif', '0');
INSERT INTO ibwf_smilies VALUES (54, '(kick)', '../smilies/kick.gif', '0');
INSERT INTO ibwf_smilies VALUES (55, '(latch)', '../smilies/latch.gif', '0');
INSERT INTO ibwf_smilies VALUES (56, '(nod)', '../smilies/nod.gif', '0');
INSERT INTO ibwf_smilies VALUES (57, '(poledance)', '../smilies/poledance.gif', '0');
INSERT INTO ibwf_smilies VALUES (58, '(punch)', '../smilies/punch.gif', '0');
INSERT INTO ibwf_smilies VALUES (59, '(rose)', '../smilies/rose.gif', '0');
INSERT INTO ibwf_smilies VALUES (60, '(secret)', '../smilies/secret.gif', '0');
INSERT INTO ibwf_smilies VALUES (61, '(slap)', '../smilies/slap.gif', '0');
INSERT INTO ibwf_smilies VALUES (62, '(slap2)', '../smilies/slap2.gif', '0');
INSERT INTO ibwf_smilies VALUES (63, '(tea)', '../smilies/tea.gif', '0');
INSERT INTO ibwf_smilies VALUES (64, '(tired)', '../smilies/tired.gif', '0');
INSERT INTO ibwf_smilies VALUES (65, '(wakeup)', '../smilies/wakeup.gif', '0');
INSERT INTO ibwf_smilies VALUES (66, '(welcome)', '../smilies/welcome.gif', '0');
INSERT INTO ibwf_smilies VALUES (67, '(yummy)', '../smilies/yummy.gif', '0');
INSERT INTO ibwf_smilies VALUES (68, '(bounce)', '../smilies/bounce.gif', '0');
INSERT INTO ibwf_smilies VALUES (69, '(spinbounce)', '../smilies/spinbounce.gif', '0');
INSERT INTO ibwf_smilies VALUES (70, '(bored)', '../smilies/bored.gif', '0');
INSERT INTO ibwf_smilies VALUES (71, '(giveheart)', '../smilies/giveheart.gif', '0');
--
-- Table structure for table ibwf_themes
CREATE TABLE ibwf_themes (
id int(100) NOT NULL auto_increment,
name varchar(15) NOT NULL,
bgc char(6) NOT NULL,
txc char(6) NOT NULL,
lnk char(6) NOT NULL,
hdc char(6) NOT NULL,
hbg char(6) NOT NULL,
brdr char(6) NOT NULL,
PRIMARY KEY (id),
UNIQUE KEY name (name)
) ENGINE=MyISAM AUTO_INCREMENT=1;
--
-- Table structure for table ibwf_topics
CREATE TABLE ibwf_topics (
id int(100) NOT NULL auto_increment,
name varchar(30) NOT NULL default '',
fid int(100) NOT NULL default '0',
authorid int(100) NOT NULL default '0',
text blob NOT NULL,
pinned char(1) NOT NULL default '0',
closed char(1) NOT NULL default '0',
crdate int(100) NOT NULL default '0',
views int(100) NOT NULL default '0',
reported char(1) NOT NULL default '0',
lastpost int(100) NOT NULL default '0',
moved char(1) NOT NULL default '0',
pollid int(100) NOT NULL default '0',
PRIMARY KEY (id)
) ENGINE=MyISAM AUTO_INCREMENT=1;
--
-- Table structure for table ibwf_users
CREATE TABLE ibwf_users (
id int(100) NOT NULL auto_increment,
name varchar(30) NOT NULL default '',
pass varchar(60) NOT NULL default '',
birthday varchar(50) NOT NULL default '',
sex char(1) NOT NULL default '',
location varchar(100) NOT NULL default '',
perm char(1) NOT NULL default '0',
posts int(100) NOT NULL default '0',
plusses int(100) NOT NULL default '700',
signature varchar(100) NOT NULL default '',
avatar varchar(100) NOT NULL default '',
email varchar(50) NOT NULL default '',
browserm varchar(50) NOT NULL default '',
ipadd varchar(30) NOT NULL default '',
lastact int(100) NOT NULL default '0',
regdate int(100) NOT NULL default '0',
chmsgs int(100) NOT NULL default '0',
chmood int(100) NOT NULL default '0',
shield char(1) NOT NULL default '0',
gplus int(100) NOT NULL default '700',
budmsg varchar(100) NOT NULL default '',
lastpnreas varchar(100) NOT NULL default '',
lastplreas varchar(100) NOT NULL default '',
shouts int(100) NOT NULL default '0',
pollid int(100) NOT NULL default '0',
rbcid varchar(255) NOT NULL default '',
hvia char(1) NOT NULL default '1',
lastvst int(100) NOT NULL,
battlep int(100) NOT NULL default '700',
popmsg char(1) NOT NULL default '1',
automsgs char(1) NOT NULL default '1',
validated char(1) NOT NULL default '0',
theme varchar(100) NOT NULL default 'white_medium.css',
hidden char(1) NOT NULL default '0',
PRIMARY KEY (id),
UNIQUE KEY name (name)
) ENGINE=MyISAM AUTO_INCREMENT=1;
--
-- Table structure for table ibwf_usfun
CREATE TABLE ibwf_usfun (
id int(100) NOT NULL auto_increment,
uid int(100) NOT NULL,
action varchar(10) NOT NULL,
target int(100) NOT NULL,
actime int(100) NOT NULL,
PRIMARY KEY (id)
) ENGINE=MyISAM AUTO_INCREMENT=1;
--
-- Table structure for table ibwf_vault
CREATE TABLE ibwf_vault (
id int(100) NOT NULL auto_increment,
uid int(100) NOT NULL default '0',
title varchar(50) NOT NULL default '',
itemurl varchar(255) NOT NULL default '',
pudt int(100) NOT NULL default '0',
PRIMARY KEY (id)
) ENGINE=MyISAM AUTO_INCREMENT=1;
--
-- Table structure for table ibwf_xinfo
CREATE TABLE ibwf_xinfo (
id int(100) NOT NULL auto_increment,
uid int(100) NOT NULL,
country varchar(50) NOT NULL,
city varchar(50) NOT NULL,
street varchar(50) NOT NULL,
timezone varchar(3) NOT NULL,
height varchar(10) NOT NULL,
weight varchar(10) NOT NULL,
phoneno varchar(20) NOT NULL,
likes varchar(250) NOT NULL,
deslikes varchar(250) NOT NULL,
realname varchar(100) NOT NULL,
racerel varchar(100) NOT NULL,
hairtype varchar(50) NOT NULL,
eyescolor varchar(10) NOT NULL,
profession varchar(100) NOT NULL,
habitsb varchar(250) NOT NULL,
habitsg varchar(250) NOT NULL,
favsport varchar(100) NOT NULL,
favmusic varchar(100) NOT NULL,
moretext blob NOT NULL,
budsonly char(1) NOT NULL default '1',
sexpre char(1) NOT NULL,
PRIMARY KEY (id),
UNIQUE KEY uid (uid)
) ENGINE=MyISAM AUTO_INCREMENT=1;
you can also do this copy this and replace it whit //////////////////////Function add user to online list External image (may be gone) in the core.php
//////////////////////Function add user to online list External image (may be gone)
function addonline($uid,$place,$plclink) { //$hidden=mysql_fetch_array(mysql_query("SELECT hidden FROM ibwf_users WHERE id='".$uid."'")); if($hidden[0]==0) { /////delete inactive users $tm = time(); $timeout = $tm - 420; //time out = 5 minutes $deloff = mysql_query("DELETE FROM ibwf_online WHERE actvtime <'".$timeout."'"); ///now try to add user to online list $res = mysql_query("UPDATE ibwf_users SET lastact='".time()."' WHERE id='".$uid."'"); $res = mysql_query("INSERT INTO ibwf_online SET userid='".$uid."', actvtime='".$tm."', place='".$place."', placedet='".$plclink."'"); if(!$res) { //most probably userid already in the online list //so just update the place and time $res = mysql_query("UPDATE ibwf_online SET actvtime='".$tm."', place='".$place."', placedet='".$plclink."' WHERE userid='".$uid."'");
} } $maxmem=mysql_fetch_array(mysql_query("SELECT value FROM ibwf_settings WHERE id='2'"));
$result = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_online"));
if($result[0]>=$maxmem[0])
{
$tnow = date("D d M Y - H:i");
mysql_query("UPDATE ibwf_settings set name='".$tnow."', value='".$result[0]."' WHERE id='2'");
}
$maxtoday = mysql_fetch_array(mysql_query("SELECT ppl FROM ibwf_mpot WHERE ddt='".date("d m y")."'"));
if($maxtoday[0]==0||$maxtoday=="")
{
mysql_query("INSERT INTO ibwf_mpot SET ddt='".date("d m y")."', ppl='1', dtm='".date("H:i:s")."'");
$maxtoday[0]=1;
}
if($result[0]>=$maxtoday[0])
{
mysql_query("UPDATE ibwf_mpot SET ppl='".$result[0]."', dtm='".date("H:i:s")."' WHERE ddt='".date("d m y")."'");
}
}[/codebox]
lol External image (may be gone) sram te bilo, muchish ove ljude ovde External image (may be gone)