Example #1
0
if (isIe7()) {
    ?>
	<!--[if IE 7]>
	<link href="<?php 
    echo $this->baseurl;
    ?>
/templates/<?php 
    echo $this->template;
    ?>
/css/template_ie7.css" rel="stylesheet" type="text/css" />
	<![endif]-->	
	<?php 
}
?>
	<?php 
if (isIe6()) {
    ?>
	<!--[if lte IE 6]>
	<link href="<?php 
    echo $this->baseurl;
    ?>
/templates/<?php 
    echo $this->template;
    ?>
/css/template_ie6.php?nocache=1" rel="stylesheet" type="text/css" />
	<style type="text/css">
	img { behavior: url(<?php 
    echo $this->baseurl;
    ?>
/templates/<?php 
    echo $this->template;
Example #2
0
assets/css/dpl.css" rel="stylesheet">
    <link href="<?php 
echo $base;
?>
assets/code/style.css" rel="stylesheet">
    <?php 
function isIe6()
{
    $user_OSagent = $_SERVER['HTTP_USER_AGENT'];
    if (strpos($user_OSagent, "MSIE 6.0")) {
        return true;
    } else {
        return false;
    }
}
if (!isIe6()) {
    ?>
</head>
<body>
  <div  id="J_Second" class="main">
        <ul class="ch-grid clearfix">
            <li>
            <div class="ch-item ch-img-1">
              <a href="#second">        
                <div class="ch-info-wrap">
                    <div class="ch-info">
                        <div class="ch-info-front ch-img-1"></div>
                        <div class="ch-info-back">
                            <span class="ch-info-img-1">
                            </span>
                        </div>