Help.. Funmobile
Started on the old forum in March 2008 · view the original in the archive · old links redirect here
firstly to make it work in IE change the content type from application/xhtml+xml to text/html. for the ad, create a function called ad() in core, copy the adcode to the function and wherever in the script u want the random ad to show put ad();
if($v=="w")
{
$mime = "text/vnd.wap.wml";
}else if($v=="x")
{
$mime = "application/xhtml+xml";
}else if($v=="")
{
$getview = mysql_fetch_array(mysql_query("SELECT view FROM ibwf_users WHERE id='".$uid."'"));
if($getview[0]=="w") {
$mime = "text/vnd.wap.wml";
}else if($getview[0]=="x") {
$mime = "application/xhtml+xml";
}else if($getview[0]=="") {
$content_type = "";
//$content_type = "text/vnd.wap.wml"; //for debugging
if ($content_type=="")
{
$mime = ((stristr($_SERVER["HTTP_ACCEPT"],"application/xhtml+xml")) ? "application/xhtml+xml" : "text/vnd.wap.wml");
}else{
$mime = $content_type;
}
}
}
there u need to change those also
all of the applicaion/xhtml+xml that i see in core.php?
yes, just use txt replace in notepad or ++
all of the applicaion/xhtml+xml that i see in core.php?
yes, just use txt replace in notepad or ++
i did but its not working still:(
what exactly did u do?