<%if not in_eycms then response.write("template load fail"):response.end() end if%>
<!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>{title}_{classname}{if page>1}_第{page}页{/if}_{eycms[webname]}</title> 
<meta name="Keywords" content="{seokey}">
<meta name="Description" content="{seodesc}">

<link href="{skins}/css/style.css" rel="stylesheet">
<script src="{skins}/js/base.js"></script>
<script src="{skins}/js/case.js"></script>
{eycms:include("../../eycms_top.asp")}
</head>
<body>

{eycms:include("../../eycms_head.asp")}

<!--大图开始-->
<div class="inside_banner" style="background: url({skins}/images/ci_banner.jpg) no-repeat center;height:180px;"></div>
<!--大图结束-->

<div class="crumbs">
<div class="wrap">
<i class="icon"></i>当前位置：<a href="{webroot}" >首页</a>{eycms.getpostion(parentid," > ")}</div></div>
<div class="case_top">
<div class="wrap">


<p class="intro fr">{if eycms.strlen(rsshow[my_intro])>0}{asp replace(rsshow[my_intro],vbcrlf,"<BR>")}{/if}</p>

<h2><a href="{eycms.getcateurl(classid)}" >{classname}</a></h2>
<h3>{title}</h3>
<p class="date">日期：{asp eycms.getdate(createdate,"-",1)} &nbsp;&nbsp;&nbsp;&nbsp;  浏览次数：<span id="hits">{hits}</span></p></div></div>
<div class="wrap case_sign" id="editor">
    {content}
    {if eycms.strlen(rsshow[my_url])>0}<a href="{rsshow[my_url]}" target="_blank"  class="btn_case_see" rel="noFollow">点击访问</a>{/if}
</div>
<script type="text/javascript">
    var resizeContentID = "editor";
    var pwidth = $(window).width();
    var maxWidth = 1200;
    if(pwidth < 1200) {
        maxWidth = 968;
    }
    var images = document.getElementById(resizeContentID).getElementsByTagName("img");
    for (var i = 0; i < images.length; i++) {
        resizepic(images[i]);
    }
    function resizepic(thispic)
    {
        thispic.onload = function() {
            if (thispic.width > maxWidth) {
                thispic.style.width = maxWidth + "px";
            }
        }
    }
</script>

<!--图片列表开始-->
<div class="case_list_201601">
    <ul class="portfolio-grid fix">
        {eycms:rs top="3" table="ey_content" where="classid in([sonid]) and islock=1" order="rnd"}
        <li class="thumbnail" style="display:block;opacity:1;"><a class="thumbnail_a" href="{$rs[link]}" title="{$rs[title]}"><img src="{if $rs[ispic]=1}{$rs[pic]}{else}{skins}/common/images/no.gif{/if}" alt="{$rs[title]}"  class="cases_img" width="385" height="250"/>
          <div class="projectinfo" style="display: none;"></div>
          </a>
          <div class="meta" >
            <h4 class="fl"><a href="{$rs[link]}">{eycms.cutstr($rs[title],32,1)}</a></h4>
            <div class="fr"><a href="{$rs[link]}" class="cases_a_pc"></a> 
              <!--手机站演示地址调用开始--> 
              <a href="javascript:;"class="cases_a_phone"></a> 
              <!--手机站演示地址调用结束--> 
            </div>
            <div class="c"></div>
          </div>
        </li>
        {/eycms:rs}
    </ul>
</div>
<!--图片列表结束-->

<div class="c_back"><img src="{skins}/images/c_back.gif"  alt="返回顶部" width="85" height="43"/></div>

<script>var infoid="{rsshow[cid]}";var contenturl="{contenturl}";</script>
<script src="{webroot}lib/js/eycms.hits.js"></script>
{if iscomment=1 and syscomment}
<script src="{webroot}lib/tips/jquery.tips.js"></script>
<script src="{webroot}lib/validator/jquery.validator.js"></script>
{/if}
{eycms:include("../../eycms_foot.asp")}
</body>
</html>

