Methos Script

Started on the old forum in March 2008 · view the original in the archive · old links redirect here

40 replies · 4,320 views · started 18 years ago · 1 min read

9 participants
WhiteWarrior Principal · 1,419 posts #1

See LOADS of people asking for parts of this "Crappy" Copy of Lavalair so here you go... the entire script...

i will offer no help with it, and i don't care if parts are missing..

enjoy it...

Download It Here

Guest #2

why post it if its so crappy and parts missing while u will offer no help.. makes no sense to me

WhiteWarrior Principal · 1,419 posts #3

why post it if its so crappy and parts missing while u will offer no help.. makes no sense to me

read the topic befor you make comments!!

why did i post it if its so crappy?.. Well if you was to read the topic loads of people have asked for parts of it

why wonti offer help with it?.. because i don't help people that don't help others or share things...

and also if you have nothing better to say then

makes no sense to me then don't bother replying.

Guest #4

where is the sql db?

Guest #6

i need sql db for this script too

amylee Principal · 1,092 posts #8

no i dont have it and dont ask again

chatabox Senior · 361 posts #11

god.... / he has probably just put "methos" infront of all the table names,.... think about it...

sweetangel Lead · 885 posts #12

I have try... but this:

ibwf_mainthemes

not found this table... script is:

<?php
define ('USER_NOT_FOUND',0);
define ('MIME_TYPE','application/xhtml+xml');

function gettheme($sid)
{ 
    $uid = getuid_sid($sid);
    $thid = mysql_fetch_array(mysql_query("SELECT themeid FROM ibwf_users WHERE id='".$uid."'"));
    if($thid[0]==""||$thid[0]==0)$thid[0]=1;
    $thinfo = mysql_fetch_array(mysql_query("SELECT bgc, txc, lnk, hdc, hbg, boxbg FROM ibwf_mainthemes WHERE id='".$thid[0]."'"));
    $ret = "<style type=\"text/css\">\n";
    $ret .= "body {background-color:#$thinfo[0]; color:#$thinfo[1]}\n";
    $ret .= "h5 {background-color:#$thinfo[4]; color:#$thinfo[3]}\n";
    $ret .= "a:link {color:#$thinfo[2]}\n";
    $ret .= "a:visited {color:#$thinfo[2]}\n";
    $ret .= "img {border: 0;}\n";
    $ret .= "div.mblock1 {margin: 2px 0px 2px 0px; padding: 0px 0px 0px 0px; background-color: #$thinfo[5]; border: 1px solid #$thinfo[4]; text-align: left;}\n";
    $ret .= "div.mblock2 {margin: 2px 0px 2px 0px; padding: 0px 0px 0px 0px; background-color: #$thinfo[5]; border: 1px solid #$thinfo[4]; text-align: left;}\n";
    $ret .= "</style>";
    return $ret;
}

function geticonsetid($sid)
{ 
    $uid = getuid_sid($sid);
    $thid = mysql_fetch_array(mysql_query("SELECT themeid FROM ibwf_users WHERE id='".$uid."'"));
    $iconsetid = mysql_fetch_array(mysql_query("SELECT iconset FROM ibwf_mainthemes WHERE id='".$thid[0]."'"));
    return $iconsetid[0];
}

function xhtmlhead($page_title, $page_style="")
{
    $ret = "<html xmlns=\"http://www.w3.org/1999/xhtml\">";
    $ret .= "\n<head>\n<title>$page_title</title>\n";
    $ret .= "<meta http-equiv=\"content-type\" content=\"text/html; charset=iso-8859-1\" />";
    $ret .= "<meta http-equiv=\"Cache-Control\" content=\"must-revalidate\" />";
    $ret .= "<meta http-equiv=\"Cache-Control\" content=\"no-cache\"/>";
    $ret .= "\n".$page_style;
    $ret .= "\n</head>\n<body>";
    return $ret;
}
function xhtmlheadchat1($page_title, $page_style="",$rid,$sid)
{
    $ret = "<html xmlns=\"http://www.w3.org/1999/xhtml\">";
    $ret .= "\n<head>\n<title>$page_title</title>\n";
    $ret .= "<meta http-equiv=\"content-type\" content=\"text/html; charset=iso-8859-1\" />";
    $ret .= "<meta http-equiv=\"Cache-Control\" content=\"must-revalidate\" />";
    $ret .= "<meta http-equiv=\"Cache-Control\" content=\"no-cache\"/>";
    $ret .= "<meta http-equiv=\"refresh\" content=\"20; URL=chat.php?sid=$sid&rid=$rid\"/>";
    $ret .= "\n".$page_style;
    $ret .= "\n</head>\n<body>";
    return $ret;
}
function xhtmlheadchat($page_title, $page_style="")
{
    $ret = "<html xmlns=\"http://www.w3.org/1999/xhtml\">";
    $ret .= "\n<head>\n<title>$page_title</title>\n";
    $ret .= "<meta http-equiv=\"content-type\" content=\"text/html; charset=iso-8859-1\" />";
    $ret .= "<meta http-equiv=\"Cache-Control\" content=\"must-revalidate\" />";
    $ret .= "<meta http-equiv=\"Cache-Control\" content=\"no-cache\"/>";
    $ret .= "\n".$page_style;
    $ret .= "\n</head>\n<body>";
    return $ret;
}
function xhtmlfoot()
{    
    $ret = "\n</body>\n</html>";
    return $ret;
}
function gettheme1($thid)
{ 
    if($thid[0]==""||$thid[0]==0)$thid[0]=1;
    $thinfo = mysql_fetch_array(mysql_query("SELECT bgc, txc, lnk, hdc, hbg FROM ibwf_mainthemes WHERE id='".$thid[0]."'"));
    $ret = "<style type=\"text/css\">\n";
    $ret .= "body {background-color:#$thinfo[0]; color:#$thinfo[1]}\n";
    $ret .= "h3 {background-color:#$thinfo[4]; color:#$thinfo[3]}\n";
    $ret .= "a:link {color:#$thinfo[2]}\n";
    $ret .= "a:visited {color:#$thinfo[2]}\n";
    $ret .= "</style>";
    return $ret;
}
?>

any1 can help 4 create a table ibwf_mainthemes????tnks

if like my post click:

External image (may be gone)

sweetangel Lead · 885 posts #13

I have try... but this:

ibwf_mainthemes

not found this table... script is:

<?php
define ('USER_NOT_FOUND',0);
define ('MIME_TYPE','application/xhtml+xml');

function gettheme($sid)
{ 
    $uid = getuid_sid($sid);
    $thid = mysql_fetch_array(mysql_query("SELECT themeid FROM ibwf_users WHERE id='".$uid."'"));
    if($thid[0]==""||$thid[0]==0)$thid[0]=1;
    $thinfo = mysql_fetch_array(mysql_query("SELECT bgc, txc, lnk, hdc, hbg, boxbg FROM ibwf_mainthemes WHERE id='".$thid[0]."'"));
    $ret = "<style type=\"text/css\">\n";
    $ret .= "body {background-color:#$thinfo[0]; color:#$thinfo[1]}\n";
    $ret .= "h5 {background-color:#$thinfo[4]; color:#$thinfo[3]}\n";
    $ret .= "a:link {color:#$thinfo[2]}\n";
    $ret .= "a:visited {color:#$thinfo[2]}\n";
    $ret .= "img {border: 0;}\n";
    $ret .= "div.mblock1 {margin: 2px 0px 2px 0px; padding: 0px 0px 0px 0px; background-color: #$thinfo[5]; border: 1px solid #$thinfo[4]; text-align: left;}\n";
    $ret .= "div.mblock2 {margin: 2px 0px 2px 0px; padding: 0px 0px 0px 0px; background-color: #$thinfo[5]; border: 1px solid #$thinfo[4]; text-align: left;}\n";
    $ret .= "</style>";
    return $ret;
}

function geticonsetid($sid)
{ 
    $uid = getuid_sid($sid);
    $thid = mysql_fetch_array(mysql_query("SELECT themeid FROM ibwf_users WHERE id='".$uid."'"));
    $iconsetid = mysql_fetch_array(mysql_query("SELECT iconset FROM ibwf_mainthemes WHERE id='".$thid[0]."'"));
    return $iconsetid[0];
}

function xhtmlhead($page_title, $page_style="")
{
    $ret = "<html xmlns=\"http://www.w3.org/1999/xhtml\">";
    $ret .= "\n<head>\n<title>$page_title</title>\n";
    $ret .= "<meta http-equiv=\"content-type\" content=\"text/html; charset=iso-8859-1\" />";
    $ret .= "<meta http-equiv=\"Cache-Control\" content=\"must-revalidate\" />";
    $ret .= "<meta http-equiv=\"Cache-Control\" content=\"no-cache\"/>";
    $ret .= "\n".$page_style;
    $ret .= "\n</head>\n<body>";
    return $ret;
}
function xhtmlheadchat1($page_title, $page_style="",$rid,$sid)
{
    $ret = "<html xmlns=\"http://www.w3.org/1999/xhtml\">";
    $ret .= "\n<head>\n<title>$page_title</title>\n";
    $ret .= "<meta http-equiv=\"content-type\" content=\"text/html; charset=iso-8859-1\" />";
    $ret .= "<meta http-equiv=\"Cache-Control\" content=\"must-revalidate\" />";
    $ret .= "<meta http-equiv=\"Cache-Control\" content=\"no-cache\"/>";
    $ret .= "<meta http-equiv=\"refresh\" content=\"20; URL=chat.php?sid=$sid&rid=$rid\"/>";
    $ret .= "\n".$page_style;
    $ret .= "\n</head>\n<body>";
    return $ret;
}
function xhtmlheadchat($page_title, $page_style="")
{
    $ret = "<html xmlns=\"http://www.w3.org/1999/xhtml\">";
    $ret .= "\n<head>\n<title>$page_title</title>\n";
    $ret .= "<meta http-equiv=\"content-type\" content=\"text/html; charset=iso-8859-1\" />";
    $ret .= "<meta http-equiv=\"Cache-Control\" content=\"must-revalidate\" />";
    $ret .= "<meta http-equiv=\"Cache-Control\" content=\"no-cache\"/>";
    $ret .= "\n".$page_style;
    $ret .= "\n</head>\n<body>";
    return $ret;
}
function xhtmlfoot()
{    
    $ret = "\n</body>\n</html>";
    return $ret;
}
function gettheme1($thid)
{ 
    if($thid[0]==""||$thid[0]==0)$thid[0]=1;
    $thinfo = mysql_fetch_array(mysql_query("SELECT bgc, txc, lnk, hdc, hbg FROM ibwf_mainthemes WHERE id='".$thid[0]."'"));
    $ret = "<style type=\"text/css\">\n";
    $ret .= "body {background-color:#$thinfo[0]; color:#$thinfo[1]}\n";
    $ret .= "h3 {background-color:#$thinfo[4]; color:#$thinfo[3]}\n";
    $ret .= "a:link {color:#$thinfo[2]}\n";
    $ret .= "a:visited {color:#$thinfo[2]}\n";
    $ret .= "</style>";
    return $ret;
}
?>

any1 can help 4 create a table ibwf_mainthemes????tnks

if like my post click:

External image (may be gone)

roger Developer · 65 posts #14

CREATE TABLE ibwf_mainthemes ( id int(100) NOT NULL auto_increment, name varchar(200) NOT NULL default '', mainthemes varchar(200) NOT NULL default '', background varchar(200) NOT NULL default '', PRIMARY KEY (id), UNIQUE KEY mainthemes (mainthemes) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=8 ; try that

advertiser here the place to be join ROGER TO THE WORLD LOL advertiser here new http://tinyurl.com/5tfnzp CODE$rogerInfo = array(“handsome”, “18”,youngcoder);

Guest #16

does somebody have mySql tables for this script?

crazybrumi Super moderator Principal · 1,064 posts #19

god.... / he has probably just put "methos" infront of all the table names,.... think about it...

i agree have yu bothered reading the pages, yul soon get the idea of what hes has called the tables for yu then to change. simple

Want something coded email me at sales@webnwaphost.com for a prices.

http://flagcounter.com/more/W80q

Guest #20

spiderwap have table 4 this script and I have ask upload here...

and? is anybody have sql?or nobody want to give?and? is anybody have sql?or nobody want to give?

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close