View file chat spall script/web/xhtmlfunctions1.htm

File size: 4.95Kb
<?php

/*
MethosWap Chat-Forum
by Methos
http://www.methos.co.za
http://wap.methos.co.za
methos@methos.co.za
*/

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


function theme($sid)
{ 
	$ret = "<style type=\"text/css\">\n";
	$ret .= "body{color:#666666;} \n";
	$ret .= "a{color:#666666;} \n";
	$ret .= "a:link{color:#000000;} \n";
	$ret .= "a:visited{color:#000000;} \n";
	$ret .= "a:hover{color:#FFFFFF;background:#222222;} \n";
	$ret .= "a:active{color:#FFFFFF;background:#222222;} \n";
	$ret .= "a:focus{color:#FFFFFF;background:#222222;} \n";
	$ret .= "div{clear:both;width:100%;}\n"; 
	$ret .= "table{width:100%;}\n"; 
	$ret .= "img:focus{border-color:#222222;} \n";
	$ret .= "input{border-color:#222222;border-width:1px;color:#222222;} \n";
	$ret .= "input:focus{background-color:#222222;color:#FFFFFF;} \n";
	$ret .= "input.BF6:focus{background-color:#222222;color:#FFFFFF;} \n";
	$ret .= "select:focus{background-color:#222222;color:#FFFFFF;}\n";
	$ret .= "div.HTAB{padding-top:2px;margin-bottom:4px;} \n";
	$ret .= "img.H1{width:160px;height:30px;} \n";
	$ret .= "img.H1I{width:160px;height:64px;} \n";
	$ret .= "table.TAB{margin-left:1px;margin-top:2px;width:169px;} \n";
	$ret .= "td.TAB{vertical-align:bottom;width:38px;} \n";
	$ret .= "img.TAB{border-top:2px;border-bottom:0px;border-left:2px;border-right:2px;margin:0px;} \n";
	$ret .= "a.TAB{margin:0px;} \n";
	$ret .= "div.MH{font-weight:bold;border-top:1px solid #FFFFFF;border-bottom-width:1px;border-bottom-style:solid;margin-bottom:0px;} \n";
	$ret .= "td.IL-L{width:22px;vertical-align:top;} \n";
	$ret .= "img.IL{width:16px;height:16px;vertical-align:top;margin-right:1px;margin-top:2px;} \n";
	$ret .= "td.IL-R{width:147;} \n";
	$ret .= "td.BP{vertical-align:top;padding-right:1px;padding-left:1px;}\n";
	$ret .= "td.BH{vertical-align:top;} \n";
	$ret .= "span.BH3{font-weight:bold;} \n";
	$ret .= "div.BP1{text-align:center;} \n";
	$ret .= "div.BT{margin-top:4px;} \n";
	$ret .= "div.F0{color:#FFFFFF;background-color:#808080;padding-bottom:2px;margin-top:1px;border-top:1px solid #FF0000;} \n";
	$ret .= "a.F0{color:#FFFFFF;}\n";
	$ret .= "input{background-color:#FFFFFF color:#000000; border: 1px solid #F99F2B}\n";
	$ret .= "select{background-color:#FFFFFF; color:#000000; border: 1px solid #F99F2B}\n";
	$ret .= "</style>";
	return $ret;
}


function xhtmlheadmain($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 .= "<META name=\"keywords\" content=\"wap site, Methos, Methos Wap, Johann Engelbrecht, Lavalair, Games, MP3's, Chat, Forum, Wap, Wap Forum, Wap Chat, MethosWap, napster, nabster, bling, blingywap, htportal, sex, porn, adults, wapforum, wapchat\" />";
	$ret .= "<META NAME=\"description\" CONTENT=\"wap.methos.co.za is one of the Fastest Growing Wap Sites Ever. Over 13 000 members in just 200days. Join Today. Over 30 000 free downloads, games, chat, pics, mp3s ect.\" />";
	$ret .= "<link rel=\"shortcut icon\" href=\"favicon.ico\" />";
	$ret .= "\n".$page_style;
	$ret .= "\n</head>\n<body>";
	return $ret;
}

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 .= "<link rel=\"shortcut icon\" href=\"favicon.ico\" />";
	$ret .= "\n".$page_style;
	$ret .= "\n</head>\n<body>";
	return $ret;
}

function xhtmlheadnotheme($page_title)
{
	$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 .= "<link rel=\"shortcut icon\" href=\"favicon.ico\" />";
	$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&amp;rid=$rid\"/>";
	$ret .= "\n".$page_style;
	$ret .= "\n</head>\n<body>";
	return $ret;
}

function xhtmlfoot()
{	
	$ret = "</body></html>";
	return $ret;
}

?>