Viewing file: menu.php (2.17 KB) -rw-rw-rw- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<html>
<head>
<title>Documento sin título</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<SCRIPT LANGUAGE="JavaScript" ></SCRIPT>
<style type="text/css">
body{
font-family: Trebuchet MS, Lucida Sans Unicode, Arial, sans-serif; /* Font to use */
margin:0px;
}
.dhtmlgoodies_question{ /* Styling question */
/* Start layout CSS */
color:#FFF;
font-size:0.9em;
background-color:#317082;
width:430px;
margin-bottom:2px;
margin-top:2px;
padding-left:2px;
background-image:url('images/bg_answer.gif');
background-repeat:no-repeat;
background-position:top right;
height:20px;
/* End layout CSS */
overflow:hidden;
cursor:pointer;
}
.dhtmlgoodies_answer{ /* Parent box of slide down content */
/* Start layout CSS */
border:1px solid #317082;
background-color:#E2EBED;
width:400px;
/* End layout CSS */
visibility:hidden;
height:0px;
overflow:hidden;
position:relative;
}
.dhtmlgoodies_answer_content{ /* Content that is slided down */
padding:1px;
font-size:0.9em;
position:relative;
}
</style>
</head>
<body>
<div class="dhtmlgoodies_question">Q: What kind of site is dhtmlgoodies.com ?</div>
<div class="dhtmlgoodies_answer">
<div> dhtmlgoodies.com is a private site developed and maintained by Alf Magne
Kalleland. Here, you will find a lot of DHTML scripts you can use freely to
enhance your website. </div>
</div>
<? echo $_SERVER[HTTP_USER_AGENT]; ?>
<br>
<?php
if ( strpos($_SERVER['HTTP_USER_AGENT'], 'Gecko') )
{
if ( strpos($_SERVER['HTTP_USER_AGENT'], 'Netscape') )
{
$browser = 'NETSCAPE';
$posicionbola=65;
}
else if ( strpos($_SERVER['HTTP_USER_AGENT'], 'Firefox') )
{
$browser = 'FIREFOX';
$posicionbola=65;
}
else
{
$browser = 'FIREFOX2';
$posicionbola=65;
}
}
else if ( strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE') )
{
if ( strpos($_SERVER['HTTP_USER_AGENT'], 'Opera') )
{
$browser = 'OPERA';
$posicionbola=65;
}
else
{
$browser = 'EXPLORER';
$posicionbola=80;
}
}
else
{
$browser = 'OTRO';
$posicionbola=65;
}
//echo $browser;
?>
</html>
|