<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="center.aspx.cs" Inherits="wjdhcms_SITE.admin.center" %>

<!DOCTYPE html>
<html>
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,initial-scale=1.0,user-scalable=no" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<title>管理首页</title>
<link href="./static/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
<link href="./static/css/common.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" charset="utf-8" src="./static/js/jquery-1.11.2.min.js"></script>
      <script>
       
        $(function () {
           
        $.ajax({
        url: '//www.xpmof.com/api/api/news/category/8/page/1',
        type: 'GET',
        dataType: 'JSON',
        timeout: 8000,
               success: function (data) {
                   var parentlist = data.data;
                   var list = '';
                   var ki = data.data.length;
                   if (ki > 12) ki = 12;
                   for (var i = 0; i < ki; i++) {
                       list += ' <div class="col-sm-4"> <div class="news_list"><div class="clearfix"></div><a href="//www.xpmof.com/news/details/'+parentlist[i].id+'" target="_blank">'+parentlist[i].title+'</a><span>'+formatDate(parentlist[i].creatime)+'</span></div></div>';
                   }
                   $('#knews').html(list);


        }
        }),
            $.ajax({
        url: '//www.xpmof.com/api/api/plugin/page/1',
        type: 'GET',
        dataType: 'JSON',
        timeout: 8000,
               success: function (data) {
                   var parentlist = data.data;
                   var listk = '';
                   var k = data.data.length;
                   if (k > 6) k = 6;
                   for (var i = 0; i < k; i++) {
                       listk += '<div class="col-sm-4"><div class="tjyy_box"><div class="clearfix"></div><div class="tjyy_left"><img src="'+parentlist[i].fullpathThumbnail+'"></div><div class="tjyy_right"><h4><a  href="/admin/xpmf/#/app/detail/'+parentlist[i].id+'">'+parentlist[i].name+'</a></h4><p>'+parentlist[i].description+'</p></div></div></div>';
                   }
                   $('#kplugin').html(listk);


        }
    })


        });
     
  </script>
<script src="./static/plugins/echarts/echarts.min.js"></script>
<script type="text/javascript" charset="utf-8" src="js/common.js"></script>
<script type="text/javascript" charset="utf-8" src="./static/js/index.js"></script>
    <script src="./static/js/ajax.js"></script>

</head>

 
<body class="mainbody" id="weekday">
<form id="form1" runat="server">
<div class="well bs">
  <h3><img src="./static/images/bg1.png"><span>站点信息</span></h3>
  <p>系统版本：<em>V1.181212</em></p>
  <div class="top_right">
	<i>登录IP：<asp:Label ID="aip" runat="server" Text=""></asp:Label></i><i>登录时间：<asp:Label ID="shijian" runat="server" Text=""></asp:Label></i>
  </div>
</div>

<div class="report-data">
    <div class="row">
        <div class="col-sm-4">
            <div class="kwfbs">
                <div class="clearfix"></div>
                服务器名称：<span id="info2"><%=Server.MachineName%></span>
            </div>
        </div>
         <div class="col-sm-4">
            <div class="kwfbs">
                <div class="clearfix"></div>
                服务器IP：<span id="info2"><%=Request.ServerVariables["LOCAL_ADDR"] %></span>
            </div>
        </div>
         <div class="col-sm-4">
            <div class="kwfbs">
                <div class="clearfix"></div>                
                NET框架版本：<span id="info2"><%=Environment.Version.ToString()%></span>
            </div>
        </div>
         <div class="col-sm-4">
            <div class="kwfbs">
                <div class="clearfix"></div>
                操作系统：<span id="info2"><%=Environment.OSVersion.ToString()%></span>
            </div>
        </div>
         <div class="col-sm-4">
            <div class="kwfbs">
                <div class="clearfix"></div>             
             IIS环境：<span id="info2"><%=Request.ServerVariables["SERVER_SOFTWARE"]%></span>
            </div>
        </div>
         <div class="col-sm-4">
            <div class="kwfbs">
                <div class="clearfix"></div>
                目录物理路径：<span id="info2"><%=Request.ServerVariables["APPL_PHYSICAL_PATH"]%></span>
            </div>
        </div>
    </div>
</div>
<div class="report-data">
	<div class="row">
		<h3 class="index_title">推荐应用</h3>
	</div>
    <div class="row" id="kplugin">
        <div class="col-sm-4">
            <div class="tjyy_box">
                <div class="clearfix"></div>
                <div class="tjyy_left">
					<img src="static/images/a1.jpg">
				</div>
				<div class="tjyy_right">
					<h4>应用名称应用名称应用名称</h4>
					<p>应用简介应用简介应用简介应用简介应用简介应用简介应用简介</p>
				</div>
            </div>
        </div>
		<div class="col-sm-4">
            <div class="tjyy_box">
                <div class="clearfix"></div>
                <div class="tjyy_left">
					<img src="static/images/a1.jpg">
				</div>
				<div class="tjyy_right">
					<h4>应用名称应用名称应用名称</h4>
					<p>应用简介应用简介应用简介应用简介应用简介应用简介应用简介</p>
				</div>
            </div>
        </div>
		<div class="col-sm-4">
            <div class="tjyy_box">
                <div class="clearfix"></div>
                <div class="tjyy_left">
					<img src="static/images/a1.jpg">
				</div>
				<div class="tjyy_right">
					<h4>应用名称应用名称应用名称</h4>
					<p>应用简介应用简介应用简介应用简介应用简介应用简介应用简介</p>
				</div>
            </div>
        </div>
		<div class="col-sm-4">
            <div class="tjyy_box">
                <div class="clearfix"></div>
                <div class="tjyy_left">
					<img src="static/images/a1.jpg">
				</div>
				<div class="tjyy_right">
					<h4>应用名称应用名称应用名称</h4>
					<p>应用简介应用简介应用简介应用简介应用简介应用简介应用简介</p>
				</div>
            </div>
        </div>
		<div class="col-sm-4">
            <div class="tjyy_box">
                <div class="clearfix"></div>
                <div class="tjyy_left">
					<img src="static/images/a1.jpg">
				</div>
				<div class="tjyy_right">
					<h4>应用名称应用名称应用名称</h4>
					<p>应用简介应用简介应用简介应用简介应用简介应用简介应用简介</p>
				</div>
            </div>
        </div>
		<div class="col-sm-4">
            <div class="tjyy_box">
                <div class="clearfix"></div>
                <div class="tjyy_left">
					<img src="static/images/a1.jpg">
				</div>
				<div class="tjyy_right">
					<h4>应用名称应用名称应用名称</h4>
					<p>应用简介应用简介应用简介应用简介应用简介应用简介应用简介</p>
				</div>
            </div>
        </div>
    </div>
</div>
<div class="report-data">
	<div class="row">
		<h3 class="index_title">新闻中心</h3>
	</div>
    <div class="row" id="knews">
       载入中...
    </div>
</div>






  </form>



</body>
</html>