<%@ page contentType="text/html;charset=UTF-8" language="java"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>

<!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>Hans Design</title>
<link href="${pageContext.request.contextPath}/static/hsa/css/style.css" rel="stylesheet" type="text/css" />
<script src="${pageContext.request.contextPath}/static/hsa/js/jquery-1.4.2.min.js" type="text/javascript"></script>
<script src="${pageContext.request.contextPath}/static/hsa/js/js.js" type="text/javascript"></script>
</head>

<body>

<div class="max">
<!---------------------main-------------------------->

    <div class="logo"></div>
    
	<div class="main">
        <div class="banner right">
            <div class="pros">
            	<div class="selo2 selo4"></div>
            	<div class="selo1"></div>
            	<div class="selo3 selo4"></div>
            </div>
                <ul class="ban">
                    <li class="as tiltop" style="left:80px;"><a href="project_list_en.html">经典案例  <span class="smal">Project Case</span></a>
                        <div>
                            <ul>
                                <c:forEach var="p" items="${list01}" varStatus="index01">
                                    <c:if test="${index01.index < 6}">
                                        <li><a href="project_list_en.html?cid=${p.id}">${p.name}</a></li>
                                    </c:if>
                                </c:forEach>
                            </ul>
                        </div>
                    </li>

                    <li class="as tilbon" style="left:110px;"><a href="designs_en.html?pid=0">关于汉思  <span class="smal">HSa Design</span></a>
                        <div>
                            <ul>
                                <c:forEach var="p" items="${list02}">
                                        <li><a href="designs_en.html?pid=${p.id}">${p.names}</a></li>
                                </c:forEach>
                            </ul>
                        </div>
                    </li>

                    <li class="as tiltop" style="left:210px;"><a href="news_en.html">汉思动态  <span class="smal">HSa News</span></a></li>

                    <li class="as tilbon" style="left:310px;"><a href="contact_en.html">联系我们  <span class="smal">Contact Us</span></a></li>

                    <li class="as tiltop" style="left:410px;"><a href="login_en.html">汉思管理  <span class="smal">HSa	Manage</span></a>
                        <div>
                            <ul>
                                <li><a href="http://116.228.36.10:80" target="_blank">OA登录</a></li>
                                <li><a href="http://218.244.130.128/accounts/sign_in" target="_blank">ERP登录</a></li>
<%--                                <li><a href="http://121.199.23.71/" target="_blank">HSa知识中心</a></li>--%>
                            </ul>
                        </div>
                    </li>
                </ul>        
        </div>        
    </div>

<!--------------END-------main----------END----------------> </div>
<!--手机端访问调转 start-->
    <script type="text/javascript">
    function mobile_device_detect(){
        var url = location.protocol + '//m.yimudi.cc' + location.pathname+location.search;
        var thisOS=navigator.platform + navigator.userAgent;
        //var os=new Array("iPhone","iPod","iPad","android","Nokia","SymbianOS","Symbian","Windows Phone","Phone","Linux armv7l","MAUI","UNTRUSTED/1.0","Windows CE","BlackBerry","IEMobile");
        var os=new Array("iPhone","android","Nokia","SymbianOS","Symbian","Windows Phone","Phone","Linux armv7l","MAUI","UNTRUSTED/1.0","Windows CE","BlackBerry","IEMobile");
        for(var i=0; i < os.length;i++)
        {
            if(thisOS.match(os[i])){
                window.location.href='index_wap.html';
            }
        }
        //因为相当部分的手机系统不知道信息,这里是做临时性特殊辨认
        // if(navigator.platform.indexOf('iPad') != -1)
        //{
        //    window.location=url;
        //}
        //做这一部分是因为Android手机的内核也是Linux
        //但是navigator.platform显示信息不尽相同情况繁多,因此从浏览器下手，即用navigator.appVersion信息做判断
        var check = navigator.appVersion;
        if( check.match(/linux/i) )
        {
            //X11是UC浏览器的平台 ，如果有其他特殊浏览器也可以附加上条件
            if(check.match(/mobile/i) || check.match(/X11/i)){
                window.location.href='index_wap.html';
            }
        }


        //类in_array函数
        Array.prototype.in_array = function(e){
            for(var i=0;i<this.length;i++){
                if(this[i] == e)
                    return true;
            }
            return false;
        }
    }
    mobile_device_detect();
</script>
</body>
</html>
