Mostre um block apenas para usuários do IE 6
O código seguinte é bem simples, vai no corpo da condição (PHP) da visibilidade do bloco. Se o usuário estiver usando IE inferior a versão 7, esse block será visível a ele(a).
The following code displays a block only to users running Internet Explorer versions less than 7. It should go in the Page specific visibility settings for the block.
<?php
$browser = $_SERVER['HTTP_USER_AGENT'];
//running internet explorer
if($msie = strpos($browser, "MSIE"))
{
//version number
$ver = substr($browser, $msie + 5, 3);
if($ver < 7.0)
{
return TRUE;
} else {
return FALSE;
} else {
return FALSE;
?>
Sounds good
if($ver < 7.0)
{
return TRUE;
} else {
return FALSE;
} else {
return FALSE
Please let me know if these lines of code works out...
Anti Aging
Programs
Could you please provide the explanation for the above program coz I am new to this platform..
Ulcer