<%@ page import="cn.sendsms.jdsmsserver.web.User"%>
<%@ page import="cn.sendsms.jdsmsserver.JDSMSServer"%>
<%@ page import="cn.sendsms.jdsmsserver.*"%>
<%@ page import="cn.sendsms.Library"%>
<%@ page language="java" contentType="text/html; charset=GBK"  pageEncoding="GBK"%>
<%
response.setHeader("Cache-Control","no-store");
response.setHeader("Pragrma","no-cache");
response.setDateHeader("Expires",0);
String userID;
String releaseDate;
try{
    User user1=(User)session.getAttribute("user");
    userID=user1.getUserId();
}catch(Exception e){
    userID="Unkown";
}
try{
    releaseDate=Library.releaseStatus();   
}catch(Exception e){
    releaseDate="<font color=red>Release<202103</font>";
}
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=GBK">
<title>About</title>
<link href="css.css" type="text/css" rel="stylesheet">
<style type="text/css">
table tr td{border:1px solid #555;}
a{color:darkcyan;}
a:hover{text-decoration:underline;}
</style>
</head>
<body>
<div id="top"><span><img src="img/tu1.jpg"></span><%
    out.println(ResourceManager.getInstance().getBykey(ResourceManager.getInstance().m_sDefault).getString("settings.menu_about"));
%></div>
<div id="center">
    <table>
        <tr><td><% out.println(ResourceManager.getInstance().getBykey(ResourceManager.getInstance().m_sDefault).getString("settings.menu_release"));%></td><td><% out.println(releaseDate); %></td></tr>
        <tr><td><% out.println(ResourceManager.getInstance().getBykey(ResourceManager.getInstance().m_sDefault).getString("settings.menu_system_info"));%></td><td><% out.println(System.getProperty("os.name") + " / " + System.getProperty("os.arch") + " / " + System.getProperty("os.version")); %></td></tr>
        <tr><td><% out.println(ResourceManager.getInstance().getBykey(ResourceManager.getInstance().m_sDefault).getString("settings.menu_java_path"));%></td><td><% out.println(System.getProperty("java.home")); %></td></tr>
        <tr><td><% out.println(ResourceManager.getInstance().getBykey(ResourceManager.getInstance().m_sDefault).getString("settings.menu_user"));%></td><td><%=userID%></td></tr>
        <tr><td><% out.println(ResourceManager.getInstance().getBykey(ResourceManager.getInstance().m_sDefault).getString("settings.user_guide"));%></td><td><a href="/doc/JDSMS_Web_UserGuide.pdf"><% out.println(ResourceManager.getInstance().getBykey(ResourceManager.getInstance().m_sDefault).getString("settings.other_Download_user_guide"));%></a></td></tr>
        <tr><td><% out.println(ResourceManager.getInstance().getBykey(ResourceManager.getInstance().m_sDefault).getString("settings.restart_midware"));%></td><td><a href="/restart.jsp"><% out.println(ResourceManager.getInstance().getBykey(ResourceManager.getInstance().m_sDefault).getString("settings.other_Restart"));%></a></td></tr>
        <tr><td><% out.println(ResourceManager.getInstance().getBykey(ResourceManager.getInstance().m_sDefault).getString("settings.menu_support"));%></td><td><a href="http://h.chundi.com" target="_black">h.chundi.com</a></td></tr>
    </table>
    <a style="height:25px;line-height:25px;color:#333;" href="http://www.sendsms.cn/"  target="_blank">
        <% out.println(ResourceManager.getInstance().getBykey(ResourceManager.getInstance().m_sDefault).getString("settings.menu_title_bottom"));%></a>
        Copyright &copy; 2021&nbsp;
</div>
</body></html>