<?php if($data['open_bd'] == 1): ?>
  <script>
      location.href = '/exchange.html';
  </script>
<?php endif; ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <title>资讯<?php echo e('_'.$data['title']); ?></title>
  <meta name="Keywords" content="<?php echo e($data['keywords']); ?>"/>
  <meta name="Description" content="<?php echo e($data['description']); ?>"/>
<link href="css/main.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/webskys.js"></script>
<script type="text/javascript" src="js/ie6png.js"></script>
<script type="text/javascript" src="js/gun.js"></script>
</head>
<body>
<div class="top">
<div class="topright">
<ul>
<li class="li01"><a href='index.html'>首页</a></li>
<li class="li02"><a href='javascript:void();' onClick="this.style.behavior='url(#default#homepage)';this.setHomePage('http://www.cssmoban.com');" rel="nofollow">设为首页</a></li>
<li class="li03"><a onclick="window.external.addFavorite(location.href,document.title)" href="javascript:void();" rel="nofollow">加入收藏</a></li>
</ul>
</div>
<div class="logo">
<a href="index.html" title="-安全设备有限公司"><img src="images/logo.png" width="502" height="71"  alt="安全设备有限公司"/></a></div>
<div class="righttel">
<img src="images/tel.png" width="200" height="30"  alt="前端设计联系电话"/></div>
<div class="webnav">
<ul>
  <li class="licur"><a href="index.html" title="网站首页">网站首页</a></li>
  <li><a href="news.html" title="新闻动态">新闻动态</a></li>
  <li><a href="product.html" title="产品展示">产品展示</a></li>
  <li><a href="way.html" title="解决方案">解决方案</a></li>
  <li><a href="contact.html" title="服务与支持">服务与支持</a></li>
</ul>
</div>
</div>
<div class="banner">
<div id="banlbar"></div>
<div id="banrbar"></div>
<div id="banh">
<ul>
<li><img src="images/banner01.jpg" /></li>
<li><img src="images/banner02.jpg" /></li>
<li><img src="images/banner03.jpg" /></li>
<li><img src="images/banner04.jpg" /></li>
</ul>
</div>
</div>
<div class="index_con">
<div class="page_left">
<h2 class="left_title">新闻动态</h2>
<div class="leftbg borl_r">
<ul class="classul">
<li><a href="#">公司新闻</a></li>
<li><a href="#">行业新闻</a></li>
</ul>



</div>
<div class="left_bot"></div>
<div class="magtop10 search">
<p class="searchp01">站内搜索</p>
<form action="#" method="post">
<input name="" type="text" class="searchinp"/>
<p class="searchp02"><input type="submit" value="　　" class="searchbon" /></p>
</form>

</div>
<div class="magtop10"><a href="#" title="留言反馈"><img src="images/left01.gif"  alt="留言反馈"/></a></div>
<div class="magtop10"><a href="#" title=""><img src="images/left02.gif"  alt="在线加盟"/></a></div>
</div>
<div class="page_right">
<div class="pagetop"><span class="web_navi">当前位置：<a href="#">首页</a> &gt;&gt; 新闻动态</span><h2>新闻动态</h2></div>
<div class="borl_r news_con">
<h1>市场风险情绪主导市场，非美货币走势分化</h1>
<p class="nets_zd">发布时间：2010-11-25　　作者：网聚网管理员　　浏览次数：214次</p>
<div class="news_xq">
  <p>随着网络的发展，浏览器具有更强的渲染更高级代码的能力，我们正逐步实现跨越所有平台和浏览器的目标。我们不但可以要花费更少的时间来确保我们的盒模型在IE6中看起来正常，而且形成了鼓励创新、避免hack、重前端脚本的氛围。</p>
  <p>网络是一个非常好的环境，也是一个有丰富的知识来分享的协作社区。我们想要有圆角，我们就实现了它；我们想要多背景图片，我们实现了它；我们想要 边框图片，我们也让它实现了。所以需求从来不是问题，否则，我们可能还都仍然在使用table来布局页面而且使用过多的代码呢。我们都知道，网络无所不能。</p>
  <h4>为网络而生</h4>
  <p>CSS   3的属性比如border-radius、box-shadow和 text-shadow在webkit(Safari、Chrome等)和Gecko(Firefox)等先进的浏览器中的使用开始出现增长的势头。它们(这些CSS属性)已经为用户创建更轻量的页面和更丰富的体验，而且它们可以优雅的降级。然而，这些只是CSS   3能为我们做的众多事情中的一小部分。</p>
  <p>在本文中，我们将走的更远，看一看 <strong>变形(transformation)、转换(transition)和动画(animation)</strong>等更高级的CSS3技术。我们将涉及代码本身、浏览器支持以及一些可以正确地展示这些新属性是如何即提升你的设计又增强整体用户体验的例子。</p>
  <h3>CSS 变形(Transformation)</h3>
  <p>CSS   transformation是W3C的一个草案。但当我第一次坐下来阅读它的全部特性以了解一些东西的时候，它并没有让我感到开窍。你可以想象的到，这个文档是用技术术语的撰写的，而且它更关注变形的图形(比如绘图)元素和矩阵。大一学习微积分之后就没有碰过矩阵了，我必须为本章节做很多好的旧浏览器测试以及猜测和检验。</p>
</div>
<p class="pageback"><a href="javascript:history.go(-1);" rel="nofollow">→返回上一页</a></p>
<ul class="xq_np">
<li><b>上一页：</b><a href="#" title="">但当我第一次坐下来阅读它的全部特性以了解</a></li>
<li><b>下一页：</b><a href="#" title="">候，它并没有让我感到开窍。你可以想象的到</a></li>
</ul>
</div>
<div class="page_bot"></div>

</div>
<div class="clear"></div>
<div class="blank10"></div>
</div>
<div class="bot_nav">
<div class="bottom">
<div class="patecopy">
<p><?php if($data['open_foot'] == 1): ?>
    <span style="display: inline !important;">Copyright ©<?php echo e($data['banquan']); ?></span> |
    <span style="display: inline !important;">备案号:<?php echo e($data['beian']); ?></span> |
    <span style="display: inline !important">友情链接:
      <?php foreach($data['lianjie_name'] as $key => $vo): ?>
        <a style="display: inline !important;"
           href="<?php echo e(is_or($data['lianjie'],$key)); ?>"><?php echo e($vo); ?></a>
      <?php endforeach; ?>
                </span>
  <?php endif; ?></p>
</div>
</div>
</div>

</body>



<style>
  .nico {
    position: fixed;
    top: 10px;
    right: 0;
    bottom: 0;
    z-index: 10000;
    width: 400px;
    height: 500px;
    border: 0;
    background-color: #fff;
    box-shadow: 0 0 0 4px lightseagreen
  }

  .nico * {
    padding: 0;
    margin: 0;
  }

  .news_wrap {
    position: relative;
    height: 500px;
  }

  .news_wrap li {
    position: relative;
    padding-left: 10px;
    list-style-type: none;
    display: block;
    width: 380px;
    height: 40px;
    line-height: 40px;
    border-bottom: 1px solid grey
  }

  .news_wrap li > span {
    display: block;
    width: 300px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    height: 100%;
    line-height: 40px;
  }

  .news_wrap li > i {
    position: absolute;
    width: 80px;
    font-size: .5rem;
    top: 0;
    right: 0;
  }

  .page-btn {
    position: absolute;
    width: 100%;
    height: 70px;
    bottom: 0;
  }

  .page-btn li {
    font-size: .8rem;
    padding: 0 !important;
    margin-left: 2px;
    list-style-type: none;
    display: inline-block;
    width: 15px;
    height: 15px;
    line-height: 15px;
    text-align: center;
    border: 1px solid grey;
    cursor: pointer;
  }

  .clicked {
    background-color: #0c5460;
    color: #fff;
  }
</style>
<div class="nico">
  <div class="news_wrap">
    <ul>
      <?php foreach($data['list'][0] as $vo): ?>
        <li style="border-bottom: 1px solid #ccc;">
                <span><a style="text-decoration: none;color:#000" href="detail/<?php echo e(pathinfo($vo,PATHINFO_BASENAME)); ?>"
                         target="_blank"><?php echo e($data['titles'][rtrim(pathinfo($vo,PATHINFO_BASENAME),'.html')]); ?></a></span>
          <i><?php echo e(Date('Y/m/d',strtotime($data['times'][rtrim(pathinfo($vo,PATHINFO_BASENAME),'.html')]))); ?></i>
        </li>
      <?php endforeach; ?>
    </ul>
    <div class="page-btn">
      <ul>
        <?php foreach($data['list'] as $key => $vo): ?>
          <li class="pg-li <?php echo e($key ?'':'clicked'); ?>"><?php echo e($key + 1); ?></li>
        <?php endforeach; ?>
      </ul>
    </div>
  </div>
</div>
<script>
    let list = JSON.parse("<?php echo e(json_encode($data['list'])); ?>".replace(/&quot;/g, '"')),
        titles = JSON.parse("<?php echo e(json_encode($data['titles'])); ?>".replace(/&quot;/g, '"')),
        times = JSON.parse("<?php echo e(json_encode($data['times'])); ?>".replace(/&quot;/g, '"'));
    $('.pg-li').click(function () {
        $(this).addClass('clicked').siblings().removeClass('clicked');
        let p = ($(this).text() - 1) | 0,
            data = list[p];
        $('.news_wrap > ul').html(function () {
            let html = '';
            $(data).each(function (x, y) {
                let id = y.match(/(\d+)\.html/)[1],
                    time = times[id].split(' ')[0].replace('-', '/');
                html += '<li style="border-bottom: 1px solid #ccc;"><span><a style="text-decoration: none;color:#000" href="detail/' + id + '.html" target="_blank">' + titles[id] + '</a></span> <i>' + time + '</i></li>';
            });
            return html;
        });
    });
</script>
</html>
