diff --git a/.project b/.project new file mode 100644 index 0000000..d61fa09 --- /dev/null +++ b/.project @@ -0,0 +1,11 @@ + + + j2cms.github.io + + + + + + + + diff --git a/1.html b/1.html new file mode 100644 index 0000000..cd3f367 --- /dev/null +++ b/1.html @@ -0,0 +1,140 @@ + + + + +全部-J2CMS + + + + + + +
+ + + + +
+
+ +
       高级搜索
+
+
+
+ + + + + + + +
+ 关键字: + +
+ +
+ +
+
+
+ +
+
+
 首页 + + 全部 + + +  + +
+ + + + + + + +
页次 1/1 +   每页 10 条  共  + 9 条 + 最前页 上一页 + 下一页 最后页 +
+ +
+
+ +
+ + +
+ + \ No newline at end of file diff --git a/10.html b/10.html new file mode 100644 index 0000000..9e90c57 --- /dev/null +++ b/10.html @@ -0,0 +1,112 @@ + + + + +教程-J2CMS + + + + + + +
+ + + + +
+
+ +
       高级搜索
+
+
+
+ + + + + + + +
+ 关键字: + +
+ +
+ +
+
+
+ +
+
+
 首页 + + 教程 + + +  + +
+
+
    +
+
+ + + + + + +
页次 1/0 +   每页 10 条  共  + 0 条 + 最前页 上一页 +
+ +
+
+ +
+ + +
+ + \ No newline at end of file diff --git a/11.html b/11.html new file mode 100644 index 0000000..5c15867 --- /dev/null +++ b/11.html @@ -0,0 +1,144 @@ + + + + + + +J2CMS-SSH-J2CMS + + +
+ + + + +
+
+ +
       高级搜索
+
+
+
+ + + + + + + +
+ 关键字: + +
+ +
+ +
+
+
+
+
+
 首页 + + J2CMS-SSH +
+
+

+  

+

+ 下载方式:

+

+ 1.   ZIP          

+
+  
+

+ 2.   https://github.com/j2cms/J2CMS-SSH 

+

+  

+

+  

+
+开发环境:
+eclipse-jee-juno-SR1-win32-x86_64
+JDK 1.6
+Apache tomcat 7.0
+MySQL 5.5
+系统依赖的其它jar包版本可以在lib目录里查看
+
+使用方式:
+
+
+ 导入Eclipse:
+
+ 1.先建一个名为J2CMS-SSH的工程
+
+ 2.将src和WebContent目录内容分别拷到工程中对应的目录
+
+ 3.j2cms-ssh.sql是数据库,需要导入MySQL中,
+
+ 方法一,用MySQLAdministrator导入
+
+ 方法二,用MySQL命令导入:
+
+ mysql> create database j2cms-ssh;
+
+ mysql> use  j2cms-ssh;
+
+ mysql> source d:\j2cms-ssh.sql ;
+
+ 4.修改src\META-INF\persistence.xml 文件中数据库配置。
+
+ 5.将工程用tomcat运行,管理后台路径 /login  如 http://127.0.0.1:8080/J2CMS-SSH/login 测试帐号 admin 密码 admin
+
+ 6.注意改变程序目录名,比如将J2CMS-SSH改为MyWeb后,需要在管理后台重新生成静态表页才能正常显示,生成静态页面的顺序是先生成首页静态文件,再生成栏目和文章的静态页面
+
+  
+

+  

+
+
+
+

+  

+
+
+
+
+ +
+ +
+ + + + \ No newline at end of file diff --git a/12.html b/12.html new file mode 100644 index 0000000..8605e37 --- /dev/null +++ b/12.html @@ -0,0 +1,112 @@ + + + + +模版下载-J2CMS + + + + + + +
+ + + + +
+
+ +
       高级搜索
+
+
+
+ + + + + + + +
+ 关键字: + +
+ +
+ +
+
+
+ +
+
+
 首页 + + 模版下载 + + +  + +
+
+
    +
+
+ + + + + + +
页次 1/0 +   每页 10 条  共  + 0 条 + 最前页 上一页 +
+ +
+
+ +
+ + +
+ + \ No newline at end of file diff --git a/13.html b/13.html new file mode 100644 index 0000000..1e9ebf3 --- /dev/null +++ b/13.html @@ -0,0 +1,112 @@ + + + + +常见问题-J2CMS + + + + + + +
+ + + + +
+
+ +
       高级搜索
+
+
+
+ + + + + + + +
+ 关键字: + +
+ +
+ +
+
+
+ +
+
+
 首页 + + 常见问题 + + +  + +
+
+
    +
+
+ + + + + + +
页次 1/0 +   每页 10 条  共  + 0 条 + 最前页 上一页 +
+ +
+
+ +
+ + +
+ + \ No newline at end of file diff --git a/14.html b/14.html new file mode 100644 index 0000000..4ef2bd5 --- /dev/null +++ b/14.html @@ -0,0 +1,159 @@ + + + + + + +商业版本-J2CMS + + +
+ + + + +
+
+ +
       高级搜索
+
+
+
+ + + + + + + +
+ 关键字: + +
+ +
+ +
+
+
+
+
+
 首页 + + 商业版本 +
+
+

+  

+

+  

+
+

+  

+

+ J2CMS下载:  

+

+  

+

+  地址一

+

+  

+

+ J2CMS-SSH下载:  

+

+  

+

+ https://github.com/j2cms/J2CMS-SSH 

+

+  

+
+开发环境:
+eclipse-jee-juno-SR1-win32-x86_64
+JDK 1.6
+Apache tomcat 7.0
+MySQL 5.5
+系统依赖的其它jar包版本可以在lib目录里查看
+
+J2CMS安装方式:
+直接安装部署在Tomcat等容器中:
+1.将数据库文件(在根目录)j2cms.sql 导入数据库。
+  方法一,用MySQLAdministrator导入
+  方法二,用MySQL命令导入:
+	mysql> create database j2cms;
+	mysql> use  j2cms;
+	mysql> source d:\j2cms.sql ;
+2.将J2CMS拷贝到Tomcat的webapps目录.
+3.修改配置文件 WEB-INF\classes\META-INF\persistence.xml 中的数据库配置信息
+4.修改配置文件 WEB-INF\classes\application.properties 中的数据库配置信息
+5.启动Tomcat,通过http://127.0.0.1:8080/J2CMS 访问主页
+6.管理后台路径  http://127.0.0.1:8080/J2CMS/login 测试帐号 admin 密码 admin
+7.注意改变程序目录名,比如将J2CMS改为MyWeb后,需要在管理后台重新生成静态表页才能正常显示,生成静态页面的顺序是先生成首页静态文件,再生成栏目和文章的静态页面
+
+
+ 8.配置一个带域名的主机,以下是在tomcat的server.xml中配置一个Host的示例
+
+ <Host name="127.0.0.2"  appBase="F:/web"
+
+             unpackWARs="true" autoDeploy="true"
+
+             xmlValidation="false" xmlNamespaceAware="false">
+
+         <Alias>www.j2cms.com</Alias>
+
+              <Context path="" docBase="F:/web/J2CMS" debug="0" reloadable="true"/>
+
+ </Host>
+

+  

+
+  
+
+
+
+
+

+  

+
+  
+
+
+
+
+ +
+ +
+ + + + \ No newline at end of file diff --git a/2.html b/2.html new file mode 100644 index 0000000..b917387 --- /dev/null +++ b/2.html @@ -0,0 +1,137 @@ + + + + + + +下载-J2CMS + + +
+ + + + +
+
+ +
       高级搜索
+
+
+
+ + + + + + + +
+ 关键字: + +
+ +
+ +
+
+
+
+
+
 首页 + + 下载 +
+
+

+  

+

+  

+
+以下为开源版本的下载和使用方式,商业版本请查看 演示后台服务价格
+

+  

+

+  

+

+ 下载方式:

+

+ 1.   ZIP          

+
+  
+

+ 2.   https://github.com/j2cms/J2CMS-SSH 

+

+  

+

+  

+
+开发环境:
+eclipse-jee-juno-SR1-win32-x86_64
+JDK 1.6
+Apache tomcat 7.0
+MySQL 5.5
+系统依赖的其它jar包版本可以在lib目录里查看
+

+  

+

+  

+
+使用方式:
+导入Eclipse:
+1.先建一个名为J2CMS-SSH的工程
+2.将src和WebContent目录内容分别拷到工程中对应的目录
+3.j2cms-ssh.sql是数据库,需要导入MySQL中,
+	方法一,用MySQLAdministrator导入
+	方法二,用MySQL命令导入:
+	mysql> create database j2cms-ssh;
+	mysql> use  j2cms-ssh;
+	mysql> source d:\j2cms-ssh.sql ;
+4.修改src\META-INF\persistence.xml 文件中数据库配置。
+5.将工程用tomcat运行,管理后台路径 /login  
+如 http://127.0.0.1:8080/J2CMS-SSH/login 测试帐号 admin 密码 admin
+6.注意改变程序目录名,比如将J2CMS-SSH改为MyWeb后,需要在管理后台重新生成静态表页才能正常显示,生成静态页面的顺序是先生成首页静态文件,再生成栏目和文章的静态页面
+
+
+  
+
+
+
+
+ +
+ +
+ + + + \ No newline at end of file diff --git a/3.html b/3.html new file mode 100644 index 0000000..5056f7f --- /dev/null +++ b/3.html @@ -0,0 +1,125 @@ + + + + +案例-J2CMS + + + + + + +
+ + + + +
+
+ +
       高级搜索
+
+
+
+ + + + + + + +
+ 关键字: + +
+ +
+ +
+
+
+ +
+
+
 首页 + + 案例 + + +  + +
+
+ +
+ + + + + + +
页次 1/1 +   每页 10 条  共  + 4 条 + 最前页 上一页 + 下一页 最后页 +
+ +
+
+ +
+ + +
+ + \ No newline at end of file diff --git a/4.html b/4.html new file mode 100644 index 0000000..86a96a8 --- /dev/null +++ b/4.html @@ -0,0 +1,526 @@ + + + + + + +购买服务-J2CMS + + +
+ + + + +
+
+ +
       高级搜索
+
+
+
+ + + + + + + +
+ 关键字: + +
+ +
+ +
+
+
+
+
+
 首页 + + 购买服务 +
+
+

+  

+

+ 服务套餐

+

+  

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ 服务说明 + 基础型服务 + 标准型服务 + 高级型服务
+ + + +
+  
+ + + +
+ + + +
+ + + +
+ + + +
+  
+ 程序BUG反馈 + + +
+ 软件安装指导 + ≤3次     + ≤3次      + 不限
+ 程序升级指导 + ≤3次     + ≤3次      + 不限
+ 代升级服务 + 1次 + ≤3次 + 不限
+ 网站会员整合 + 1次 + 1次 + 1次
+ + 1次 + 1次 + 1次
+ + 1次 + 1次 + ≤3次
+  
+ 站点目录权限配置 + × + 1次 + ≤3次
+ + × + 1次 + ≤3次
+ FTP配置安装 + × + 1次 + ≤3次
+ 软件所需环境安装 + × + 1次 + ≤3次
+ 网站迁移服务 + × + 1次 + ≤3次
+ 数据库安全备份 + × + 1次 + ≤3次
+ 运行环境优化 + × + 1次 + ≤3次
+ 服务器代维护 + × + 1次 + ≤3次
+ 模板制作技术咨询 + × + 1次 + ≤3次
+ + × + × + 1次
+ 数据库迁移 + × + × + 1次
+ 数据库字符集转换 + × + × + 1次
+ 网络及系统安全防护策略 + × + × + 1次
+ 系统负载优化 + × + × + 1次
+  
+ 二次开发技术咨询 + × + × + 1次
+ WEB 负载均衡 + × + × + 1次
+ 程序代码优化 + × + × + 1次
+ + × + × + 1次
+  
+ 国际域名.com/.net/.org + 1个 + 1个 + 1个
+ Java空间 + 1个 + 1个 + 1个
+ 企业邮局 + 1个 + 1个 + 1个
+ 服务网站数量 + 1个 + 1个 + 1个
+ 技术支持年限 + 1年 + 2年 + 5年
+ 套餐价格 (注:所有服务不含硬件相关费用,不含第三方软件授权费用,不含差旅费用。)
+ 套餐价格 + 1800 RMB + 3800 RMB + 9800RMB
+

+  

+

+ 付款方式:   6222 0232 0203 8561 683  郭涛  工商银行武汉市长飞支行

+

+  

+

+  

+
+ + + + + + +
+
+ 说明①:以下情况不属于服务范围 
+ 1、自行修改或使用非原始 J2CMS 程序代码产生的问题;
+ 2、自行对数据库进行直接操作导致数据库出错或者崩溃;
+ 3、非官方的模块/插件的安装以及由于安装模块/插件造成的故障; 
+ 4、服务器、虚拟主机原因造成的系统故障;
+ 5、二次开发或定制及其它可能产生问题的情况。
+
+ 说明②:以上服务默认都属一次性服务,特殊服务除外。
+
+ 说明③:表格中符号代表的含义

+ "× " 表示该版本不具备或不支持此功能或服务 "" 表示该版本已具备或支持此功能或服务
+
+

+  

+
+
+
+
+ +
+ +
+ + + + \ No newline at end of file diff --git a/6.html b/6.html new file mode 100644 index 0000000..e367a9f --- /dev/null +++ b/6.html @@ -0,0 +1,111 @@ + + + + + + +联系我们-J2CMS + + +
+ + + + +
+
+ +
       高级搜索
+
+
+
+ + + + + + + +
+ 关键字: + +
+ +
+ +
+
+
+
+
+
 首页 + + 联系我们 +
+
+

 

+

 

+

Q Q:点击与我会话 点击与我会话

+

 

+

电话:18818232418

+

 

+

邮箱:j2cms.org@gmail.com

+

 

+

 

+

 

+

在官方QQ群实时参与讨论:

+

 

+

J2CMS官方群一:31309177

+

 

+

J2CMS官方群二:154615448

+

 

+

J2CMS官方群三:196170407

+

 

+

J2CMS官方群四:117199347

+

 

+

 

+

 

+

 

+
 
+
 
+

 

+
+
+
+ +
+ +
+ + + + \ No newline at end of file diff --git a/7.html b/7.html new file mode 100644 index 0000000..96e31fb --- /dev/null +++ b/7.html @@ -0,0 +1,128 @@ + + + + +版本-J2CMS + + + + + + +
+ + + + +
+
+ +
       高级搜索
+
+
+
+ + + + + + + +
+ 关键字: + +
+ +
+ +
+
+
+ +
+
+
 首页 + + 版本 + + +  + +
+ + + + + + + +
页次 1/1 +   每页 10 条  共  + 5 条 + 最前页 上一页 + 下一页 最后页 +
+ +
+
+ +
+ + +
+ + \ No newline at end of file diff --git a/8.html b/8.html new file mode 100644 index 0000000..0bdedde --- /dev/null +++ b/8.html @@ -0,0 +1,100 @@ + + + + + + +演示-J2CMS + + +
+ + + + +
+
+ +
       高级搜索
+
+
+
+ + + + + + + +
+ 关键字: + +
+ +
+ +
+
+
+
+
+
 首页 + + 演示 +
+
+

+  

+

+ 查看商业版本的功能演示:

+

+  

+

+ 第一步,注册帐号:http://www.j2cms.com/register

+

+  

+

+ 第二步,后台登录:http://www.j2cms.com/login

+

+  

+
+
+
+
+ +
+ +
+ + + + \ No newline at end of file diff --git a/9.html b/9.html new file mode 100644 index 0000000..f9b77c5 --- /dev/null +++ b/9.html @@ -0,0 +1,110 @@ + + + + + + +参与开发-J2CMS + + +
+ + + + +
+
+ +
       高级搜索
+
+
+
+ + + + + + + +
+ 关键字: + +
+ +
+ +
+
+
+
+
+
 首页 + + 参与开发 +
+
+

     参与J2CMS-SSH项目的开发
+

+

 

+

1)首先可以在Github Feature/Issues里找到感兴趣的issues,或者提出自己的issues

+

2)然后点击"Fork",得到自己的Repository,开始工作。

+

3)完成更新之后,再点击"Pull Request"。

+

4)最后我Review大家的更新,将改动合并回Master。

+

 

+

 

+

当前成功向J2CMS-SSH提交代码的贡献者列表 [贡献者均有机会获得J2CMS授权]

+

 

+

 

+

第一次使用Github协同工作的朋友请参阅官方的使用说明:

+

 

+

https://help.github.com/articles/fork-a-repo
+

+

 

+

https://help.github.com/articles/using-pull-requests

+

 

+

 

+

 

+

 

+
 
+
 
+

 

+
+
+
+ +
+ +
+ + + + \ No newline at end of file diff --git a/AD/host.html b/AD/host.html new file mode 100644 index 0000000..cf52f15 --- /dev/null +++ b/AD/host.html @@ -0,0 +1,44 @@ + + + + +捷免网络J2CMS|开源 jsp cms | java cms + + + + + + +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
机房地点香港
服务器类型 支持JSP与PHP两种开发语言,支持STRUTS、HIBERNATE、SPRING等常用JAVAEE框架
空间大小100M
数据库MySQL   10M
其它说明可绑定域名一个,免备案,空间和数据库大小都支持升级
价格100元/年
联系点击与我会话
+ + diff --git a/Article/1.html b/Article/1.html new file mode 100644 index 0000000..6879bee --- /dev/null +++ b/Article/1.html @@ -0,0 +1,99 @@ + + + + + + +2011年5月21日J2CMS新版本发布!-J2CMS + + +
+ + + + +
+
+ +
       高级搜索
+
+
+
+ + + + + + + +
+ 关键字: + +
+ +
+ +
+
+
+
+
+
 首页 + + 版本 + 2011年5月21日J2CMS新版本发布! +
+
+
2011年5月21日J2CMS新版本发布!
+
发布时间:2011-05-22    来源:本站    作者:管理员    点击量:0
+

 功能更新:

+

 

+

1.实现用户组权限管理;

+

 

+

2.优化内容管理与用户管理模块的查询功能;

+

 

+

3.用户密码字段加密;

+

 

+

4.改写大量代码,优化系统结构,修正若干BUG。

+

 

+

 

+
+
+
+ +
+ +
+ + + + \ No newline at end of file diff --git a/Article/10.html b/Article/10.html new file mode 100644 index 0000000..b38e5f7 --- /dev/null +++ b/Article/10.html @@ -0,0 +1,152 @@ + + + + + + +2013年03月20日J2CMS发布新版本!-J2CMS + + + + + + +
+
+ +
+
+ + +
+
+ +
+
+ QQ  + 点击与我会话  + 点击与我会话 + tele +
+
+ + +
+
+
+ + + + + +
+ + +
+ + + + + + + +
+
+
+ + +
+ + + +
+ + +
+
+ +
+
+
+ +
       高级搜索
+
+
+
+ + + + + + + +
+ 关键字: + +
+ +
+ +
+
+
+
+
+
 首页 + + 版本 + 2013年03月20日J2CMS发布新版本! +
+
+
2013年03月20日J2CMS发布新版本!
+
发布时间:2013-03-20    来源:    作者:GT    
+
+
what's new
+
=================================
+
2013.03.20
+
1.发布基于SpringMVC的J2CMS的安装包
+
2.全新的功能和体验,是一个新的分支
+
=================================
+
 
+
+
 
+
+
+
+ +
+ +
+ + + + \ No newline at end of file diff --git a/Article/11.html b/Article/11.html new file mode 100644 index 0000000..0c1fb7f --- /dev/null +++ b/Article/11.html @@ -0,0 +1,278 @@ + + + + + + +J2CMS模版设计指南-J2CMS + + + + + + +
+
+ +
+
+ + +
+
+ +
+
+ QQ  + 点击与我会话  + 点击与我会话 + tele +
+
+ + +
+
+
+ + + + + +
+ + +
+ + + + + + + +
+
+
+ + +
+ + + +
+ + +
+
+ +
+
+
+ +
       高级搜索
+
+
+
+ + + + + + + +
+ 关键字: + +
+ +
+ +
+
+
+
+
+
 首页 + + 教程 + J2CMS模版设计指南 +
+
+
J2CMS模版设计指南
+
发布时间:2013-03-28    来源:    作者:GT    
+

 

+
系统采用FreeMarker作为模版生成静态页面,在后台模版管理里,设计的模版须符合FreeMarker语法。学习设计J2CMS模版的最好方式是参考J2CMS自带的模版,特别是官方模版,以下只是对官方模版的部分整理:
+
 
+
系统全局变量,对应于 常规管理->基本设置 里的各值,可在任意处调用 
+
 
+
    +
  • 系统简称: ${C.name}
  • +
  • 全称: ${C.fullName}
  • +
  • 关键字: ${C.keywords}
  • +
  • 描述: ${C.description}
  • +
  • 负责人: ${C.ceo}
  • +
  • 邮箱: ${C.email}
  • +
  • QQ :${C.qq}
  • +
  • 电话: ${C.tel}
  • +
  • 手机: ${C.mobile}
  • +
  • 公司名称: ${C.company}
  • +
  • 公司地址: ${C.address}
  • +
  • 版权信息: ${C.copyright}
  • +
  • 备案号: ${C.recordCode}
  • +
  • 物理目录: ${C.realPath}
  • +
  • 程序目录: ${C.ctp}
  • +
  • 模版文件夹: ${C.templateFolder}
  • +
  • 模版: ${C.template}
  • +
  • 站长统计: ${C.statistics}
  • +
  • 网站简介: ${C.introduce}
  • +
  • 网站IP: ${C.ip}
  • +
  • 程序版本: ${C.version}
  • +
+
 
+
 
+
首页(包括head.html,index.html)可以调用的变量
+
 
+
    +
  • 调用在首页显示的导航栏,这些栏目的后台栏目管理里有设置为在导航栏显示。数据存放在channelsDisplay里,channelsDisplay是一个ArrayList<Channel>,调用方式示例如下: 
  • +
+
+
+
Html代码  
+
+
    +
  1. <ul>  
  2. +
  3.          <li><a href="${C.ctp}/">首页</a></li>  
  4. +
  5.          <#if channelsDisplay??>  
  6. +
  7.          <#list channelsDisplay as channel>  
  8. +
  9.          <#if channel.type == "link">  
  10. +
  11.             <li><a href="${channel.link}" target="_blank">${channel.name}</a></li>  
  12. +
  13.          <#else>  
  14. +
  15.                 <#if channel.path == "/">  
  16. +
  17.                 <li><a href="${C.ctp}/${channel.id}.html">${channel.name}</a></li>  
  18. +
  19.             <#else>  
  20. +
  21.                 <li><a href="${C.ctp}${channel.path}index.html">${channel.name}</a></li>  
  22. +
  23.             </#if>  
  24. +
  25.       </#if>  
  26. +
  27.          </#list>  
  28. +
  29.          </#if>  
  30. +
  31.  </ul>      
  32. +
+
+
 
+
    +
  •  调用Flash广告或者新闻,即后台常规管理->广告图片 里的数据。数据存放在flashs和caseFlashs里。flashs是ArrayList<Flash>。每个Flash里主要用到${flash.imageURL},${flash.linkURL},${flash.name}这三个值。调用方式示例如下: 
  • +
+
+
+
Html代码  
+
+
    +
  1. <#if flashs??>  
  2. +
  3.                 <#list flashs as flash>  
  4. +
  5.                     xmlxml=xml+"<p u='${flash.imageURL}' a='${flash.linkURL}' n='${flash.name}'/>";  
  6. +
  7.                 </#list>  
  8. +
  9. </#if>  
  10. +
+
+
 
+
+
+
Html代码  
+
+
    +
  1. <#list caseFlashs as flash>  
  2. +
  3.    <li><a href="${flash.linkURL}" target="_blank" class="pic">  
  4. +
  5.     <img src="${flash.imageURL}" alt="${flash.name}"/></a>   
  6. +
  7.     <a href="${flash.linkURL}" class="title">${flash.name}</a>  
  8. +
  9.    </li>  
  10. +
  11.  </#list>   
  12. +
+
+
 
+
    +
  •  首页中显示的栏目内容,在栏目管理中设定的在首页中显示的栏目内容。所用到的值在java中的定义
  • +
+
+
+
Java代码 
+
+
    +
  1. List<Map<?,?>> channelArticleMaps = new ArrayList<Map<?,?>>();  
  2. +
  3.   
  4. +
  5. Map <String,ArrayList<Article>> channelArticleMap = new HashMap<String,ArrayList<Article>>();  
  6. +
+
+
 调用方式示例如下:
+
+
+
Html代码  
+
+
    +
  1. <#if channelArticleMaps??>  
  2. +
  3. <#list channelArticleMaps as channelArticleMap>  
  4. +
  5.   <div class="channel">  
  6. +
  7.      <#list channelArticleMap?keys as channelName >   
  8. +
  9.      <div class="channelName">&nbsp;&nbsp;${channelName}</div>  
  10. +
  11.      <div>  
  12. +
  13.         <ul>  
  14. +
  15.            <#assign articles=channelArticleMap[channelName] >   
  16. +
  17.            <#if articles??>  
  18. +
  19.            <#list articles as articleBean>  
  20. +
  21.                <li><a href="${C.ctp}${articleBean.channel.contentPath}${articleBean.id?c}.html"   
  22. +
  23.                title='${articleBean.name!""}' target="_blank">${articleBean.name!""}</a>  
  24. +
  25.                <span>[${articleBean.releaseDate!""}]</span></li>   
  26. +
  27.            </#list>   
  28. +
  29.            </#if>  
  30. +
  31.         </ul>  
  32. +
  33.     </div>  
  34. +
  35.     </#list>  
  36. +
  37.  </div>  
  38. +
  39. </#list>   
  40. +
  41. </#if>  
  42. +
+
+
 
+
列表栏目参考channel.html
+
单面栏目参考single.html
+
文章栏目参考article.html
+

 

+
+
+
+ +
+ +
+ + + + \ No newline at end of file diff --git a/Article/12.html b/Article/12.html new file mode 100644 index 0000000..55df6ba --- /dev/null +++ b/Article/12.html @@ -0,0 +1,144 @@ + + + + + + +新版本后台风格测试中!-J2CMS + + + + + + +
+
+ +
+
+ + +
+
+ +
+
+ QQ  + 点击与我会话  + 点击与我会话 + tele +
+
+ + +
+
+
+ + + + + +
+ + +
+ + + + + + + +
+
+
+ + +
+ + + +
+ + +
+
+ +
+
+
+ +
       高级搜索
+
+
+
+ + + + + + + +
+ 关键字: + +
+ +
+ +
+
+
+
+
+
 首页 + + 版本 + 新版本后台风格测试中! +
+
+
新版本后台风格测试中!
+
发布时间:2013-04-14    来源:    作者:admin    
+

新版本后台风格测试中,欢迎登录体验 !               http://www.j2cms.com/login

+

 

+
+
+
+ +
+ +
+ + + + \ No newline at end of file diff --git a/Article/13.html b/Article/13.html new file mode 100644 index 0000000..0935766 --- /dev/null +++ b/Article/13.html @@ -0,0 +1,145 @@ + + + + + + +新版官网风格测试中-J2CMS + + + + + + +
+
+ +
+
+ + +
+
+ +
+
+ QQ  + 点击与我会话  + 点击与我会话 + tele +
+
+ + +
+
+
+ + + + + +
+ + +
+ + + + + + + +
+
+
+ + +
+ + + +
+ + +
+
+ +
+
+
+ +
       高级搜索
+
+
+
+ + + + + + + +
+ 关键字: + +
+ +
+ +
+
+
+
+
+
 首页 + + 版本 + 新版官网风格测试中 +
+
+
新版官网风格测试中
+
发布时间:2013-04-23    来源:    作者:admin    
+

+ 官方网站新版风格内测中..............

+
+
+
+
+ +
+ +
+ + + + \ No newline at end of file diff --git a/Article/14.html b/Article/14.html new file mode 100644 index 0000000..ad88b6a --- /dev/null +++ b/Article/14.html @@ -0,0 +1,145 @@ + + + + + + +中华茶博园-J2CMS + + + + + + +
+
+ +
+
+ + +
+
+ +
+
+ QQ  + 点击与我会话  + 点击与我会话 + tele +
+
+ + +
+
+
+ + + + + +
+ + +
+ + + + + + + +
+
+
+ + +
+ + + +
+ + +
+
+ +
+
+
+ +
       高级搜索
+
+
+
+ + + + + + + +
+ 关键字: + +
+ +
+ +
+
+
+
+
+
 首页 + + 案例 + 中华茶博园 +
+
+
中华茶博园
+
发布时间:2013-04-29    来源:    作者:admin    
+ +
+
+
+ +
+ +
+ + + + \ No newline at end of file diff --git a/Article/16.html b/Article/16.html new file mode 100644 index 0000000..a381678 --- /dev/null +++ b/Article/16.html @@ -0,0 +1,149 @@ + + + + + + +五一悟空订餐网-J2CMS + + + + + + +
+
+ +
+
+ + +
+
+ +
+
+ QQ  + 点击与我会话  + 点击与我会话 + tele +
+
+ + +
+
+
+ + + + + +
+ + +
+ + + + + + + +
+
+
+ + +
+ + + +
+ + +
+
+ +
+
+
+ +
       高级搜索
+
+
+
+ + + + + + + +
+ 关键字: + +
+ +
+ +
+
+
+
+
+
 首页 + + 案例 + 五一悟空订餐网 +
+
+
五一悟空订餐网
+
发布时间:2013-05-20    来源:    作者:admin    
+

+ 五一悟空订餐网 

+

+  

+

+ www.51wukong.com

+
+
+
+
+ +
+ +
+ + + + \ No newline at end of file diff --git a/Article/2.html b/Article/2.html new file mode 100644 index 0000000..44b43a4 --- /dev/null +++ b/Article/2.html @@ -0,0 +1,93 @@ + + + + + + +2011年9月27日J2CMS发布新版本!-J2CMS + + +
+ + + + +
+
+ +
       高级搜索
+
+
+
+ + + + + + + +
+ 关键字: + +
+ +
+ +
+
+
+
+
+
 首页 + + 版本 + 2011年9月27日J2CMS发布新版本! +
+
+
2011年9月27日J2CMS发布新版本!
+
发布时间:2011-09-27    来源:本站    作者:管理员    点击量:0
+

 更新

+

1.加入Freemarker作为模版

+

2.若干小BUG修正

+

 

+

获取最新版本 http://code.google.com/p/j2cms-org/source/checkout 关注最新开发进度请加官方QQ群31309177

+
+
+
+ +
+ +
+ + + + \ No newline at end of file diff --git a/Article/3.html b/Article/3.html new file mode 100644 index 0000000..51ba529 --- /dev/null +++ b/Article/3.html @@ -0,0 +1,95 @@ + + + + + + +2012年2月8日J2CMS发布新版本!-J2CMS + + +
+ + + + +
+
+ +
       高级搜索
+
+
+
+ + + + + + + +
+ 关键字: + +
+ +
+ +
+
+
+
+
+
 首页 + + 版本 + 2012年2月8日J2CMS发布新版本! +
+
+
2012年2月8日J2CMS发布新版本!
+
发布时间:2012-02-11    来源:本站    作者:管理员    点击量:0
+

 更新:

+

1.增加若干系统参数

+

2.java包启用org.j2cms

+

3.增加用户注册 /register

+

4.部分代码修改

+

 

+

获取最新版本 svn checkout http://j2cms-org.googlecode.com/svn/J2CMS/

+
+
+
+ +
+ +
+ + + + \ No newline at end of file diff --git a/Article/4.html b/Article/4.html new file mode 100644 index 0000000..5884dc8 --- /dev/null +++ b/Article/4.html @@ -0,0 +1,131 @@ + + + + + + +2012年03月25日J2CMS发布新版本!-J2CMS + + +
+ + + + +
+
+ +
       高级搜索
+
+
+
+ + + + + + + +
+ 关键字: + +
+ +
+ +
+
+
+
+
+
 首页 + + 版本 + 2012年03月25日J2CMS发布新版本! +
+
+
2012年03月25日J2CMS发布新版本!
+
发布时间:2012-03-25    来源:www.j2cms.org    作者:管理员    点击量:0
+

+  what's new 

+
+  
+
+ =================================
+
+
+ 2012.3.25
+
+ 1.Struts2中Action类的泛型继承,架构上的重大改进
+
+ 2.首页,栏目,文章可以生成静态页面
+
+ 3.为全部实体增加系统日期和系统状态的属性,管理更加灵活
+
+ 4.修改系统配置后同时修改全局变量里的值
+
+ 5.用户注册唯一问题
+
+ 6.系统里所有表单的必填项的服务器端加强验证
+
+ 7.可自定义模版文件夹的路径
+
+ 8.采用了Alice作为UI的CSS模版
+
+ 9.大量代码重写,修复与改进。控制层的重新架构。
+
+ 10.整体性能大幅提升
+
+
+ =================================
+
+  
+
+  
+
+ 关注最新开发进度请加官方QQ群31309177
+
+  
+ +
+
+
+
+ +
+ +
+ + + + \ No newline at end of file diff --git a/Article/5.html b/Article/5.html new file mode 100644 index 0000000..0340def --- /dev/null +++ b/Article/5.html @@ -0,0 +1,101 @@ + + + + + + +2012年10月22日J2CMS发布新版本!-J2CMS + + +
+ + + + +
+
+ +
       高级搜索
+
+
+
+ + + + + + + +
+ 关键字: + +
+ +
+ +
+
+
+
+
+
 首页 + + 版本 + 2012年10月22日J2CMS发布新版本! +
+
+
2012年10月22日J2CMS发布新版本!
+
发布时间:2012-10-22    来源:    作者:管理员    点击量:0
+

   what's new

+

=================================
+2012.10.22
+1.当前版本的分支为j2cms-SSH
+2.更新了SSH的版本,使用了当前最新的版本
+3.其它所有的依赖的jar包基本都升级到当前最新版本,去掉多余的jar包
+4.若干bug的修正
+5.log4j的调整
+6.整体性能大幅提升
+=================================

+

 

+

下载

+

 

+
+
+
+ +
+ +
+ + + + \ No newline at end of file diff --git a/Article/6.html b/Article/6.html new file mode 100644 index 0000000..cd8236b --- /dev/null +++ b/Article/6.html @@ -0,0 +1,89 @@ + + + + + + +捷免网络官方网站-J2CMS + + +
+ + + + +
+
+ +
       高级搜索
+
+
+
+ + + + + + + +
+ 关键字: + +
+ +
+ +
+
+
+
+
+
 首页 + + 案例 + 捷免网络官方网站 +
+
+
捷免网络官方网站
+
发布时间:2012-03-25    来源:    作者:    点击量:0
+ +
+
+
+ +
+ +
+ + + + \ No newline at end of file diff --git a/Article/7.html b/Article/7.html new file mode 100644 index 0000000..589398d --- /dev/null +++ b/Article/7.html @@ -0,0 +1,89 @@ + + + + + + +华中师范大学文学院-J2CMS + + +
+ + + + +
+
+ +
       高级搜索
+
+
+
+ + + + + + + +
+ 关键字: + +
+ +
+ +
+
+
+
+
+
 首页 + + 案例 + 华中师范大学文学院 +
+
+
华中师范大学文学院
+
发布时间:2012-03-25    来源:    作者:管理员    点击量:0
+ +
+
+
+ +
+ +
+ + + + \ No newline at end of file diff --git a/Article/8.html b/Article/8.html new file mode 100644 index 0000000..0da3cd2 --- /dev/null +++ b/Article/8.html @@ -0,0 +1,89 @@ + + + + + + +武汉废旧物资回收-J2CMS + + +
+ + + + +
+
+ +
       高级搜索
+
+
+
+ + + + + + + +
+ 关键字: + +
+ +
+ +
+
+
+
+
+
 首页 + + 案例 + 武汉废旧物资回收 +
+
+
武汉废旧物资回收
+
发布时间:2012-03-25    来源:    作者:管理员    点击量:0
+ +
+
+
+ +
+ +
+ + + + \ No newline at end of file diff --git a/Article/9.html b/Article/9.html new file mode 100644 index 0000000..6194b1d --- /dev/null +++ b/Article/9.html @@ -0,0 +1,89 @@ + + + + + + +贵州省教育科学院-J2CMS + + +
+ + + + +
+
+ +
       高级搜索
+
+
+
+ + + + + + + +
+ 关键字: + +
+ +
+ +
+
+
+
+
+
 首页 + + 案例 + 贵州省教育科学院 +
+
+
贵州省教育科学院
+
发布时间:2013-03-01    来源:    作者:admin    点击量:0
+ +
+
+
+ +
+ +
+ + + + \ No newline at end of file diff --git a/C/10_1.html b/C/10_1.html new file mode 100644 index 0000000..9a09e6c --- /dev/null +++ b/C/10_1.html @@ -0,0 +1,171 @@ + + + + +教程-J2CMS + + + + + + + + + + +
+
+ +
+
+ + +
+
+ +
+
+ QQ  + 点击与我会话  + 点击与我会话 + tele +
+
+ + +
+
+
+ + + + + +
+ + +
+ + + + + + + +
+
+
+ + +
+ + + +
+ + +
+
+ +
+
+
+ +
       高级搜索
+
+
+
+ + + + + + + +
+ 关键字: + +
+ +
+ +
+
+
+ +
+
+ +
 首页  + + 教程 +  + +
+
+ + + + + + + + +
页次 1/1 +   每页 10 条  共  + 1 条 + 最前页 上一页 + 下一页 最后页 +
+ +
+ +
+
+ +
+ + +
+ + \ No newline at end of file diff --git a/C/1_1.html b/C/1_1.html new file mode 100644 index 0000000..cd3f367 --- /dev/null +++ b/C/1_1.html @@ -0,0 +1,140 @@ + + + + +全部-J2CMS + + + + + + +
+ + + + +
+
+ +
       高级搜索
+
+
+
+ + + + + + + +
+ 关键字: + +
+ +
+ +
+
+
+ +
+
+
 首页 + + 全部 + + +  + +
+ + + + + + + +
页次 1/1 +   每页 10 条  共  + 9 条 + 最前页 上一页 + 下一页 最后页 +
+ +
+
+ +
+ + +
+ + \ No newline at end of file diff --git a/C/1_2.html b/C/1_2.html new file mode 100644 index 0000000..443cf81 --- /dev/null +++ b/C/1_2.html @@ -0,0 +1,184 @@ + + + + +全部-J2CMS + + + + + + + + + + +
+
+ +
+
+ + +
+
+ +
+
+ QQ  + 点击与我会话  + 点击与我会话 + tele +
+
+ + +
+
+
+ + + + + +
+ + +
+ + + + + + + +
+
+
+ + +
+ + + +
+ + +
+
+ +
+
+
+ +
       高级搜索
+
+
+
+ + + + + + + +
+ 关键字: + +
+ +
+ +
+
+
+ +
+
+ +
 首页  + + 全部 +  + +
+
+ + + + + + + + +
页次 2/2 +   每页 10 条  共  + 15 条 + 最前页 + 上一页 + 下一页 最后页 +
+ +
+ +
+
+ +
+ + +
+ + \ No newline at end of file diff --git a/C/2_1.html b/C/2_1.html new file mode 100644 index 0000000..2d2fa78 --- /dev/null +++ b/C/2_1.html @@ -0,0 +1,132 @@ + + + + +公告-我要悟空 + + + + + + + + + + + +
+ +
+
+
+
+
+
+
+
+ +
+ + + + +
+ + +
+
+
+ + + + + + +
+ + +
+ +
+ +
+ + +
+ +
+
+  首页 公告   +
+
+ +
+ + + + + + +
页次 1/1   每页 10 条  共  1 条 + 最前页 上一页 下一页 最后页
+ +
+ + +
+ + + +
我要悟空  ©2009-2013 我要悟空    + 邮箱:12056836@qq.com  + 鄂ICP备08102130号
+ + + +
+ + \ No newline at end of file diff --git a/C/3_1.html b/C/3_1.html new file mode 100644 index 0000000..5056f7f --- /dev/null +++ b/C/3_1.html @@ -0,0 +1,125 @@ + + + + +案例-J2CMS + + + + + + +
+ + + + +
+
+ +
       高级搜索
+
+
+
+ + + + + + + +
+ 关键字: + +
+ +
+ +
+
+
+ +
+
+
 首页 + + 案例 + + +  + +
+
+ +
+ + + + + + +
页次 1/1 +   每页 10 条  共  + 4 条 + 最前页 上一页 + 下一页 最后页 +
+ +
+
+ +
+ + +
+ + \ No newline at end of file diff --git a/C/7_1.html b/C/7_1.html new file mode 100644 index 0000000..96e31fb --- /dev/null +++ b/C/7_1.html @@ -0,0 +1,128 @@ + + + + +版本-J2CMS + + + + + + +
+ + + + +
+
+ +
       高级搜索
+
+
+
+ + + + + + + +
+ 关键字: + +
+ +
+ +
+
+
+ +
+
+
 首页 + + 版本 + + +  + +
+ + + + + + + +
页次 1/1 +   每页 10 条  共  + 5 条 + 最前页 上一页 + 下一页 最后页 +
+ +
+
+ +
+ + +
+ + \ No newline at end of file diff --git a/META-INF/MANIFEST.MF b/META-INF/MANIFEST.MF new file mode 100644 index 0000000..5e94951 --- /dev/null +++ b/META-INF/MANIFEST.MF @@ -0,0 +1,3 @@ +Manifest-Version: 1.0 +Class-Path: + diff --git a/css/common/common.css b/css/common/common.css new file mode 100644 index 0000000..8d17c66 --- /dev/null +++ b/css/common/common.css @@ -0,0 +1,486 @@ +@CHARSET "UTF-8"; + +/* + * common CSS + * 系统通用样式 + * GT + * 2012-10-12 + */ + +/* 全局样式Begin ***************************************************************** */ + + +body { + background-color: #F3F3F3; + font-family: "微软雅黑"; + font-size: 12px; +} + +button,input,value { + font-family: "微软雅黑"; + vertical-align: middle; + height: 30px; + line-height: 28px; +} + +select { + font-family: "微软雅黑"; + vertical-align: middle; + height: 34px; + line-height: 33px; +} +textarea { + font-family: "微软雅黑"; +} + +img{ + vertical-align:middle; +} + +.left { + float: left; +} + +.right { + float: right; +} + +.button { + width: 50px; + height: 28px; + background: #f3f3f3; + border: #c8c8c8 solid 1px; +} + +.button:hover { + background: #e8f2fe; + border: #c8c8c8 solid 1px; +} + +.margin0 { + margin: 0px; + overflow-x: hidden; +} + +.hide { + display: none; +} + +.qutoStyle { + width: 25px; + height: 10px; + background: #f3f3f3; + border: #c8c8c8 solid 1px; +} + +.padd2 { + padding: 2px; +} + +.padd6 { + padding: 6px; +} +.center { + margin: 0px auto; +} + +.mid { + height: 200px; + margin-top: 200px; +} + +.gray{ + color: #CDC5BF +} +.clear { + clear: both; +} +/* 全局样式End ***************************************************************** */ + +/* 错误提示Begin */ +.inputErrorStyle { + height: 30px; + border: #999 solid 1px; + background-color: #f4f5a7; +} + +/* 错误字体 */ +.errorStyle { + color: red; +} + +/* 正确消息字体 */ +.messageStyle { + color: white; +} + +.msg { + width: 35%; +} + +/* 错误提示End */ + +/*页头布局Begin ***************************************************************** */ + + +.dateStyle { + width: 20%; + height: 30px; + line-height: 35px; + color: #254121; + overflow: hidden; +} +/* admin */ +.header-wrap { + max-width: 100%; + background: url(../../images2/header_bg.gif) repeat-x top; + + position: relative; + z-index: 21; +} + +#header { + background: #0899C9 url(../../images2/header_bg.gif) repeat-x top; + padding: 14px 0 0 0; + margin: 0 auto; + max-width: 100%; + height: 68px; +} + +#logo { + padding: 0 30px 0 30px; + float: left; + height: 29px; + width: 200px; + background: url(../../images/logo/J2-LOGO-2-1.png) no-repeat; + margin: 0px 0 0 65px; +} + +#logo a { + font-size: 14px; + color: white; + text-decoration: none; +} + +#top_quick_links { + float: right; + padding-right: 25px; + white-space: nowrap; + color: #DAF1F9; +} + +#top_quick_links div { + float: left; + margin-left: 0; + color: white; +} + +.nowrap { + white-space: nowrap; +} + +#top_quick_links a { + font-size: 12px; + color: #DAF1F9; + text-decoration: none; +} + +.top-signout { + color: #A5E9FF; + font-size: 12px; + margin-left: 5px; +} + +#menu { + list-style: none; + width: auto; + height: 39px; + padding: 0px 30px 0px 30px; + background: #E5E5E5 url(../../images2/mm_bg.gif) repeat-x; + clear: both; +} + +#menu ul { + padding: 0; + margin: 0; + list-style-type: none; +} + +#menu li { + float: left; + display: block; + text-align: center; + position: relative; + border: none; + margin-right: 1px; +} + +#menu li a { + font-size: 15px; + color: black; + display: block; + outline: 0; + text-decoration: none; + padding: 8px 18px 10px; + cursor: auto; + text-transform: capitalize; + text-shadow: 1px 1px #EBEBEB; +} + +#menu li:hover { + background: #D2D2D2 url(../images2/mm_items_bg.png) 50% -8px; +} + +#menu li.home :hover { + background-color: #D2D2D2; +} + +#menu li.quit:hover { + background: #E5E5E5 url(../images2/mm_bg.gif) repeat-x; +} + +#menu li.quit { + float: right; +} + + +#menu li ul,#alt_menu li ul { + list-style: none; + padding: 0; + margin: 0; +} + +#menu ul,#menu li,#alt_menu ul,#alt_menu li { + line-height: 21px; + text-align: left; +} + +#menu li ul li,#alt_menu li ul li { + display: inline; + font-size: 12px; + line-height: 24px; + position: relative; + padding: 0; + margin: 0; + float: none; + text-align: left; + width: 250px; +} + +#menu li ul li a { + padding: 5px 28px 8px; + cursor: auto; +} + + + +/*页头布局End ***************************************************************** */ + +/* 主体布局Begin ***************************************************************** */ +.main { + width: 100%; + +} + +.main_left { + width: 16%; + height: 500px; + background: #f5f5f5; +} + +.main_right { + width: 82%; + overflow: hidden; +} + +.bar { + width: 99%; + filter: alpha(opacity=100 finishopacity=60 style=1 startx=0,starty=100,finishx=0,finishy=90) progid:DXImageTransform.Microsoft.gradient(startcolorstr=#ffffff,endcolorstr=#e0e0e0,gradientType=0); + -ms-filter: alpha(opacity=100 finishopacity=60 style=1 startx=0,starty=100,finishx=0,finishy=90) progid:DXImageTransform.Microsoft.gradient(startcolorstr=#ffffff,endcolorstr=#e0e0e0,gradientType=0);/*IE8*/ + background: #e0e0e0; /* 一些不支持背景渐变的浏览器 */ + background: -moz-linear-gradient(top, #ffffff, #e0e0e0); + background: -webkit-gradient(linear, 0 0, 0 bottom, from(#ffffff), to(#e0e0e0)); + background: -o-linear-gradient(top, #ffffff, #e0e0e0); + border: #bcbcbc solid 1px; +} + + +.logoutButton { + width: 60px; + border-width: 1px; + border-left-color: ButtonShadow; + border-right-color: ButtonShadow; + border-top-color: ButtonShadow; + border-bottom-color: ButtonShadow; +} + +.iframe{ + float:left; + width:50%; +} + +/* 从new_style.css增加 2013-04-14 ***************************************************************** */ + + +div#main_frame { + margin: 0px; + width: 95%; + *width: 100%; /*IE7*/ + padding: 0 5px 0 5px; + *padding: 0px; +} + +div#main_column { + width: 100%; /*Firefox*/ + *width: 100%; /*IE7*/ + margin: 0px; + border: 1px solid #D4D4D4; + border-color: #E0E0E0 #D4D4D4 #BBB; + background-color: white; + padding: 7px 21px 3px; + -moz-border-radius: 6px; + -webkit-border-radius: 6px; + border-radius: 6px; + box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25); + -moz-box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25); + -webkit-box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25); +} + +/* admin */ +.mainbox-title-container { + padding: 1px 0 0 0; +} + +.mainbox-title { + color: #0A9CCC; + font-size: 14px; + font-weight: bold; + margin: 0; + padding: 4px 0 0 0; +} + +.mainbox-body { + color: #141414; + background-color: white; + margin: 0 0 14px 0; + padding-top: 5px; + clear: both; + width: 100%; +} + +.table-fixed { + table-layout: fixed; + width: 100%; +} + +.statistics-box { + float: left; + margin-bottom: 12px; + margin-top: 10px; + border: 6px solid #EBEBEB; + -moz-border-radius: 6px; + -webkit-border-radius: 6px; + border-radius: 6px; + height: auto; + width: 100%; +} + +.statistics-box.overall .statistics-body { + padding-left: 7px; + padding-right: 7px; + white-space: nowrap; +} + +.statistics-box.overall .statistics-body .section { + display: inline-block; + width: 220px; + margin: 0 6px; + white-space: normal; + border-right: 1px dotted #CCC; + text-decoration: none; +} + +.statistics-box .price { + font-size: 20px; + color: #444; + font-weight: bold; +} + +.statistics-box.overall .statistics-body .section .block { + color: #5F5F5F; + display: block; +} + +.statistics-box h2,.statistics-box-right h2 { + margin: 0; + font-size: 18px; + padding: 10px 14px 0px; + color: #595959; + border-bottom-width: 0; +} + +.statistics-box .statistics-body { + float: left; + border-top-width: 0; + padding: 13px 14px; + height: auto; +} +/* vieworder */ +.statistics-box-order { + float: left; + margin-bottom: 12px; + margin-top: 10px; + border: 6px solid #EBEBEB; + -moz-border-radius: 6px; + -webkit-border-radius: 6px; + border-radius: 6px; + height: auto; + width: 100%; + text-decoration: none; +} + +.statistics-body-order { + float: left; + border-top-width: 0; + padding: 13px 14px; + height: auto; + text-decoration: none; + width: 97%; +} + +.statistics-body-order tr:hover{ + background-color:#F5F5F5; +} + +.statistics-body-order table{ + border: 0px solid black; + border-spacing: 0px; +} + +.statistics-body-order table tr td, th{ + border-bottom: 1px solid #CCC;/** #F5F5F5 */ + padding: 2px; +} + + +/* 主体布局End ****************************************************************** */ + +/* 页脚布局Begin ****************************************************************** */ +.foot { + width: 100%; + height:50px; + margin: 0 auto; + background: #f2f2f2; +} +.foot_line { + width: 100%; + height:8px; + background: #236fab; +} +.foot_msg { + width: 50%; + margin: 10px auto; + font-size: 14px; + text-align: center; +} +/*页脚布局End ***************************************************************** */ \ No newline at end of file diff --git a/css/common/list.css b/css/common/list.css new file mode 100644 index 0000000..91fc8c1 --- /dev/null +++ b/css/common/list.css @@ -0,0 +1,171 @@ +/***或许已经过时了*******************************/ + +/* extra rules for even and odd rows */ +.colom { + background-color: #F5F5F5; +} + +.even { + background: #eee; +} + +.odd { + +} + +.row { + background-color: #EBEBEB; +} +/**********************************/ + +/** From new-style.css *****************************/ +.vieworder_row_top { + float: left; + min-width: 850px; + width: 100%; + font-size: 12px; + padding-top: 1px; + margin-bottom: 2px; +} + +.vieworder_row_top.head { + height: 12px; + font-size: 14px; + color: #0899C9; +} + +.vieworder_row_top a { + color: #000000; + text-decoration: none; +} + +.vieworder_row { + min-width: 850px; + width: 100%; + height: 25px; + font-size: 12px; + line-height: 20px; + padding-top: 3px; + border-top: 1px dotted #CCC; + font-weight: normal; + text-decoration: none; +} + +.vieworder_row.dot { + border-bottom: #236fab dotted 1px; + border-style: solid; + border-top-style: dotted; +} + +.vieworder_row:hover { + background-color: #F5F5F5; /**#CAE1FF;*/ +} + +.vieworder_row a { + text-decoration: none; + color: #000000; +} + +/* item */ +.vieworder_row.item { + float: left; + height: 28px; +} + + +.search-button { + font-family: "微软雅黑"; + float: left; +} + +.table_border { + border-top: 1px solid #CCC; + border-bottom: 1px solid #CCC; + float: left; +} + +/** 表示div长度的 如果用DIV方式排版的话用得着 2013-04-13从new-style.css增加*******************************************************************************************************/ +.vieworder_box_30_40 { + float: left; + width: 30px; + line-height: 20px; + min-height: 20px; +} + +.vieworder_box_40_40 { + float: left; + width: 40px; + line-height: 20px; + min-height: 20px; +} + +.vieworder_box_50_40 { + float: left; + width: 50px; + line-height: 20px; + min-height: 20px; +} + +.vieworder_box_60_40 { + float: left; + width: 60px; + line-height: 20px; + min-height: 20px; +} + +.vieworder_box_80_40 { + float: left; + width: 80px; + line-height: 20px; + min-height: 20px; +} + +.vieworder_box_200_40 { + float: left; + width: 200px; + line-height: 20px; + min-height: 20px; +} + +.vieworder_box_110_40 { + float: left; + width: 110px; + line-height: 20px; + min-height: 20px; +} + +.vieworder_box_120_40 { + float: left; + width: 120px; + line-height: 20px; + min-height: 20px; +} + +.vieworder_box_150_40 { + float: left; + width: 150px; + line-height: 20px; + min-height: 20px; +} + +.vieworder_box_250_40 { + float: left; + width: 250px; + line-height: 20px; + min-height: 20px; +} + +.vieworder_box_300_40 { + float: left; + width: 300px; + line-height: 20px; + min-height: 20px; +} + +.vieworder_box_400_40 { + float: left; + width: 400px; + line-height: 20px; + min-height: 20px; +} +/** 表示div长度的 END******************************************************************************************************/ \ No newline at end of file diff --git a/css/common/vo.css b/css/common/vo.css new file mode 100644 index 0000000..57248cb --- /dev/null +++ b/css/common/vo.css @@ -0,0 +1,99 @@ +@charset "utf-8"; +/* CSS Document */ + +/* 链接颜色 +A:link { + COLOR: #457FFC; TEXT-DECORATION: none; font-size: 9pt +} +A:visited { + COLOR: #457FFC; TEXT-DECORATION: none; font-size: 9pt +} +A:active { + COLOR: #FF0000; TEXT-DECORATION: none; font-size: 9pt +} +A:hover { + COLOR: #6600FF; TEXT-DECORATION: underline; font-size: 9pt +} +*/ + +.news a:link{ COLOR:#555555; TEXT-DECORATION: none; font-size: 12px} +.news a:visited{COLOR:#336699; TEXT-DECORATION: none; font-size: 12px} +.news a:hover{COLOR: #ff6600; TEXT-DECORATION: underline; font-size:12px} +.news a:active{COLOR:#ff0000; TEXT-DECORATION: none; font-size: 12px} + + + + +/*按钮属性*/ +.button { + BORDER-RIGHT: #457FFC 1px ridge; + PADDING-RIGHT: 1px; + BORDER-TOP: #ffffff 1px ridge; + PADDING-LEFT: 1px; + FONT-SIZE: 9pt; + PADDING-BOTTOM: 1px; + BORDER-LEFT: #ffffff 1px ridge; + COLOR: #000000; + PADDING-TOP: 1px; + BORDER-BOTTOM: #457FFC 1px ridge; + + HEIGHT: 20px; + BACKGROUND-COLOR: #f1f1f1; + cursor: hand; +} + +/*文字属性*/ +.chinese +{ + + color:#333333; +} + +/*标题属性*/ +.title { + + + } + +/*提示信息字体属性*/ +.info1 +{ + color:#FA605E; +} + + + + +#intPageSize{ + width:25px; +} +#Level{ + width:30px; +} +#articleID{ + width:80px; +} +#relatedIds{ + width:360px; +} +#summary{ + width:797px; +} +#link{ + width:797px; +} +#Content { + margin:5px 0 0 0; + width:778px; + border:1px solid #959595; + background-color:#FFFFFF; + font-family:"Arial,Helvetica,sans-serif"; + +} + +#Content #NewsContent{ margin:20px; background-color:#FFFFFF; color:#333333; padding:5px 20px 30px 20px;text-align:left; line-height:20px;}; + +.codeImg{ + cursor:pointer; +} + diff --git a/css/console/menu.css b/css/console/menu.css new file mode 100644 index 0000000..532d072 --- /dev/null +++ b/css/console/menu.css @@ -0,0 +1,67 @@ +* { + padding: 0; + margin: 0 +} +body { + background-color: #F3F3F3; + font-family: "微软雅黑"; +} + +.adminleftmenu { + float: left; + color: #19AADA; + background: #ffffff; + height: 32px; + width: 180px; + margin: 0px; + -moz-border-radius: 0 4px 4px 0; + -webkit-border-radius: 0 4px 4px 0; + border-radius: 0 4px 4px 0; + box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25); + -moz-box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25); + -webkit-box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25); + border: 1px solid #CDCED0; + font-size: 15px; + padding: 8px 0 0 65px; + font-weight: bold; + cursor: pointer; +} + +.adminleftmenu:hover { + text-decoration: underline; +} + +.adminleftsubmenu { + float: left; + display: none; + color: #19AADA; + font-size: 12px; + font-weight: bold; + width: 180px; + cursor: pointer; + margin: 0px; + list-style: none; + padding: 0; +} + +.adminleftsubmenu li { + background: #EEFFFF; + height: 25px; + width: 175px; + padding: 8px 0 0 70px; + border-top: 1px #e4e4e4 dashed; + margin: 0px; + float: left; +} + +.adminleftsubmenu li:hover { + background: #CAE1FF; /** #CAE1FF;*/ + font-size: 12px; + text-decoration: underline; +} + +ul { + padding: 0; + margin: 0; + list-style-type: none; +} \ No newline at end of file diff --git a/css/i/console/style.css b/css/i/console/style.css new file mode 100644 index 0000000..aeda5b0 --- /dev/null +++ b/css/i/console/style.css @@ -0,0 +1,212 @@ +/* +Theme Name: Wintoki_For_Shangwai_Jixujiaoyu +Description: ��ʱ��Ʒ��������Ʒ. +Version: 1.0 +Author: �����ʱ +*/ + + +/* global css */ +body{margin:0px;padding:0px;background-color:#ffc73f;} +.body_index{ margin:0 auto; color:#333; font-size:12px; width:100%; height:1317px; background:url(images/index_bg.png) no-repeat 0 0;} +.body_other{ margin:0 auto; color:#333; font-size:12px; width:100%; background:url(images/bg.png) no-repeat 0 0;} +div,form,ul,ol,li,span,p{margin:0 auto; padding:0; border:0;} +img,a img{margin:0; padding:0; border:none; } +ul,ol,li{list-style:none;} +table,td,input{font-size:12px;} +.small_icon{vertical-align:middle;} +.mouse_change{cursor:pointer;} +.last_and_next{margin-top:20px;margin-right:35px;float:right;} +.clear{clear:both;font-size:1px;width:1px;height:0;visibility:hidden;margin-top:0px!important;*margin-top:-1px;line-height:0;} + +/* daohang */ +#daohang{position:fixed; z-index:99;float:left;top:150px;left:0px;} + +/* default link style */ +a:link, a:visited{outline-style:none; color:#222;text-decoration:none;} +a:hover{color:#335509; text-decoration:underline;} + +/* header */ +.header{ margin:0 auto; padding:0 0; width:960px; height:130px;} + +/* logo */ +.logo{ float:left; margin-top:0px; text-indent:-9999px; width:299px; height:132px; background:url(images/logo.png) no-repeat 0 0;} + +/* headerR */ +.headerR{ float:right; padding:0 0; width:500px; text-align:right;} + +/* tele_login_register */ +.tele_login_register{ margin-top:30px; font-size:15px; font-weight:bold;} + +/* shares */ +.shares {margin-top:27px;} + +/* index_show */ +.index_show{width:960px; height:367px;margin:0 auto; padding:0 0;} +.index_logo_box{float:left; width:540px; height:340px;} +.index_logo_box_contain{float:left; width:450px;height:330px; margin-left:10px;margin-right:10px;margin-top:15px;overflow:hidden;} +.index_hang{margin-top:5px;} +.index_logo{margin-left:5px;} +.index_arrow_left{width:33px; height:40px; float:left;margin-top:150px;} +.index_arrow_right{width:33px; height:40px; float:left;margin-top:150px;} + +.index_new_activity_box{float:right; width:300px; height:155px; margin-top:80px; margin-right:60px; margin-bottom:15px; overflow:hidden;text-align:left;} +.index_new_activity td{padding:5px 10px 15px 10px;font-size:14px; line-height:30px; } +.index_new_activity tr{vertical-align:top;} +.index_new_activity_clickmeformore {width:78px; height:25px;float:right; margin-top:10px;margin-right:45px;} +.other_new_activity_clickmeformore {width:78px; height:25px;float:right; margin-top:20px;margin-right:10px;} + +/* sign */ +.sign{width:960px; height:157px; margin-top:22px;} +.sign img {float:left;} + +/* slideshow_announce */ +.slideshow_announce{width:960px; height:344px;} +.slideshow{float:left;border:1px solid #e88e00; width:705px; height:341px; margin-left:2px;} +.announce{float:right;border:1px solid #e88e00; width:230px; height:341px; margin-right:8px;} +.announce_title{background-color:#fff7e5;height:30px; width:210px;padding-left:20px;padding-top:10px;font-size:18px;color:#ffb500;font-family:����;} +.announce_content{background-color:#fff;height:300px; width:230px;font-size:14px;overflow:hidden;} +.announce_content ul li img{padding:5px 10px 10px 10px;} +.announce_content ul li {padding:5px 15px 5px 15px;; font-size:14px; line-height:30px;} + +/* footer */ +.footer{ float:left; padding:0px;margin-top:50px;height:170px;width:100%;line-height:25px;text-align:center;background:url(images/footer.png) no-repeat 0 0;} +.footer_title{padding-top:15px;padding-bottom:5px;font-weight:bold;font-size:14px;} +.footer_left{float:left;margin-left:320px;} +.footer_center{float:left;margin-left:180px;} +.footer_right{float:left;margin-left:180px;} +.beian{float:left;padding-top:20px;width:100%;text-align:center;padding-bottom:20px;background-color:#888;color:#fff;} + + +/* login */ +.login{width:960px;height:400px;background-color:#fff;margin-top:20px;} +.login_container{width:860px;height:300px;padding-top:30px;vertical-align:middle;} +.login_title{font-size:18px;font-weight:bold;padding-left:50px;} +.login_line{height:3px;width:948px;background:url(images/login_line.png) no-repeat 0 0;margin-top:10px;} +.login_body{height:300px;width:800px;margin-top:30px;padding-left:50px;line-height:50px;} +.login_left{float:left;} +#login_name ,#login_password{width:300px;height:25px;} +.login_right{float:right;margin-right:100px;text-align:center;} + +/* submit */ +.submit{width:960px;background-color:#fff;margin-top:20px;padding-bottom:20px;height:1200px;} +.submit_container{width:860px;padding-top:30px;vertical-align:middle;} +.submit_title{font-size:18px;font-weight:bold;padding-left:50px;} +.submit_line{height:3px;width:948px;background:url(images/login_line.png) no-repeat 0 0;margin-top:10px;} +.submit_body{width:800px;margin-top:10px;padding-left:50px;line-height:35px;} +.submit_order{float:left;width:650px;padding:10px 0px; 20px 0px;font-size:14px;} +.submit_order_other_info{float:left;width:700px;height:500px;font-size:14px;} +.submit_order_detail{float:left;margin-bottom:20px;background-color:#fffaeb;padding-left:30px;padding-bottom:20px;padding-top:10px;border:1px solid #e98e01;} +.all_pricer{float:left;width:590px;border:1px solid #e98e01;background-color:#fffaeb;padding-left:20px;display:none;} +.submit_form{float:left;} + +/* register */ +.register{width:960px;height:700px;background-color:#fff;margin-top:20px;} +.register_container{width:860px;height:300px;padding-top:30px;vertical-align:middle;} +.register_title{font-size:18px;font-weight:bold;padding-left:50px;} +.register_line{height:3px;width:948px;background:url(images/login_line.png) no-repeat 0 0;margin-top:10px;} +.register_body{height:300px;width:800px;margin-top:30px;padding-left:50px;line-height:50px;} +#register_name, #register_password ,#register_confirm_password, #register_nickname{width:300px;height:25px;} +#register_real_name, #register_phone{width:200px;height:25px;} +#register_address{width:500px;height:25px;} +#register_check{width:100px;height:25px;} + + +/* hot_shop */ +.hot_shop{width:960px;height:150px;background:url(images/hot_shop.png) no-repeat 0 0;} + +/* demo */ +#demo_top {overflow:hidden; width: 800px;float: left;margin-top:15px;margin-left:137px;} +#indemo_top {float: left;width: 800%;} +#demo1_top {float: left;} +#demo2_top {float: left;} +#demo_activity {overflow:hidden; width: 290px;height:150px;float: left;margin-top:5px;margin-left:0px;} +#indemo_activity {float: left;height: 800%;} +#demo1_activity {float: left;} +#demo2_activity {float: left;} + +/* activity_list */ +.activity_list{ width:960px;height:1220px;background-color:#fff;margin-top:10px;border:1px solid #e98e01;} +.activity_first{ width:900px;height:180px;background-color:#fff5d9;margin-top:10px;} +.activity_second{ width:900px;height:180px;background-color:#fffaeb;margin-top:10px;} +.shop_photo{ float:left;width:170px;height:130px;margin-left:80px;margin-left:30px;margin-top:20px;} +.shop_info{ float:left;width:220px;height:130px;margin-left:80px;margin-left:30px;margin-top:20px;} +.activity_info{ float:left;width:390px;height:130px;margin-left:20px;margin-top:15px;background-color:#fff;} +.activity_shop_title{font-size:14px;font-weight:bold;line-height:35px;} +.activity_shop_info{font-size:12px;line-height:25px;} +.activity_condition{font-size:12px;line-height:25px;color:#ff0000;font-weight:bold;} +.activity_info{padding:10px;line-height:20px;} + + +/* all_shop_list */ +.all_shop_container{width:960px; height:720px;margin-top:10px;} +.all_shop_list{ width:730px; height:720px;background-color:#fff;border:1px solid #e98e01;float:left;} +.all_shop_logo_and_title{float:left;margin-left:55px;margin-top:10px;} +.all_shop_logo{border:1px solid #e98e01;} +.all_shop_logo_title{text-align:center; padding-top:10px;font-size:14px;font-weight:bold;} +.all_shop_first{float:left;background-color:#fff5d9;width:690px;height:150px;margin-top:10px;margin-left:20px;} +.all_shop_second{float:left;background-color:#fffaeb;width:690px;height:150px;margin-top:10px;margin-left:20px;} +.other_new_activity_box{float:right; width:220px; height:300px; background-color:#fff;border:1px solid #e98e01;margin-bottom:10px;} +.other_new_activity_title{background-color:#fff7e5;height:30px; width:200px;padding-left:20px;padding-top:10px;font-size:16px;color:#ffb500;font-family:����;} +.other_new_activity{width:210px; height:300px;margin-left:6px;} +.other_new_activity ul li img{margin:5px 10px 10px 10px;} +.other_new_activity ul li {margin:5px 15px 5px 6px; font-size:12px; line-height:30px;} + +/* order */ +.order{float:right; width:220px; background-color:#fff;border:1px solid #e98e01;line-height:20px;} +.order_body{margin:10px;} +.all_price{float:left;width:100px;margin-left:10px;margin-top:10px;} +.submit_btn{float:right;margin-right:10px;margin-top:10px;margin-bottom:10px;} + +/* shop_list */ +.shop_container{width:960px; margin-top:10px;} +.shop_body{ width:730px; background-color:#fff;border:1px solid #e98e01;float:left;padding-bottom:20px;} +.shop_top{float:left;background-color:#fff1c5;width:690px;height:180px;margin-top:10px;margin-left:20px;} +.user_button{float:right;margin-right:20px;margin-top:25px;} +.shop_middle{width:690px;float:left;margin-left:20px;margin-top:10px;margin-bottom:20px;background-color:#fff5d9;} +.shop_menu_title{width:680px; height:30px; background-color:#fff335;font-size:14px;font-weight:bold;padding-left:10px;margin-bottom:10px;padding-top:8px;} +.shop_have_picture_left{width:320px;float:left;margin:10px 5px 10px 15px;text-align:right;line-height:30px;font-size:14px;} +.shop_have_picture_right{width:320px;float:right;margin:10px 15px 10px 5px;text-align:right;line-height:30px;font-size:14px;} +.shop_have_picture_info{font-weight:bold;color:#555;float:right;width:140px;} +.shop_have_picture_produce_image{float:left;margin-right:5px;width:167px;border:1px solid #e98e01;} + +.shop_no_picture_left{width:320px;height:30px;float:left;margin-left:15px;margin-top:10px;margin-bottom:10px;} +.shop_no_picture_right{width:320px;height:30px;float:right;margin-right:15px;margin-top:10px;margin-bottom:10px;} +.shop_no_picture_product_name{color:#555;font-weight:bold;float:left;width:190px;font-size:14px;padding-top:5px;margin-right:5px;} +.shop_no_picture_product_price{color:#555;font-weight:bold;float:left;width:40px;font-size:14px;padding-top:5px;} +.shop_no_picture_product_button{float:right;} + + + +/* artical */ +.artical_container{width:960px;height:700px;margin-top:10px;} +.artical_title{font-size:22px; font-weight:bold;text-align:center;margin-bottom:50px;} +.artical_para_title{font-size:18px;font-weight:bold; text-align:left;margin-bottom:10px;margin-top:20px;} +.artical{width:700px;height:600px;background-color:#fff;border:1px solid #e98e01;float:left;padding:50px;line-height:30px;} +.artical_menu{background-color:#fff;border:1px solid #e98e01;float:right;height:300px;width:150px;} +.artical_line{height:2px;background-color:#ffc73f;} +.artical_menu_title{text-align:center;font-weight:bold;font-size:14px;padding:15px;background-color:#fffaeb;margin:1px 1px 1px 0px;} +.artical_menu_title a {text-decoration:none;} + + + + + +.management_header{width:100%; height:130px;background-color:#fff;padding-top:10px;} +.management_container{width:100%; height:800px;} +.management_main{margin-top:10px;} +.management_logo{margin-left:40px;float:left;text-indent:-9999px; width:299px; height:132px; background:url(images/logo.png) no-repeat 0 0;float:left;} +.management_header_right{width:410px; height:30px;float:left;margin-top:95px;font-size:14px;margin-left:50px;} +.management_header_center{width:550px; height:132px;float:left;} +.management_daohang{width:560px;height:80px;float:left;border:1px solid #e88e00;margin-top:5px;text-align:center;} +.management_message{width:560px;height:25px;float:left;margin-top:13px;font-size:14px;text-align:center;color:red} +.management_daohang_logo{margin-left:40px;float:left;margin-top:5px;} +.management_left{width:225px;height:600px;background-color:#fff;margin-top:10px;margin-left:20px;float:left;border-left:1px solid #e88e00;border-right:1px solid #e88e00;border-bottom:1px solid #e88e00;} +.management_line1{height:7px;background-color:#ffc73f;} +.management_line2{height:2px;background-color:#fff;} +.management_sup_title{width: 180px;height: 30px;background-color: #ffd6a5;padding-left: 39px;padding-top: 12px;color: #3b1b09;font-weight: bold;font-size: 16px;border: 1px solid #e88e00;border-top: 1px solid #e88e00;} +.management_sub_title{width:225px;height:25px;text-align:center;padding-top:15px;color:#3b1b09;font-weight:bold;font-size:14px;} +.management_clear{height:25px;} +.management_right{width:1050px;height:600px;border:1px solid #e88e00;float:left;margin-top:10px;margin-left:10px;background-color:#fff;} + +.management_left {margin: 0px;float: left;height: 500px;background-color:#fff;} \ No newline at end of file diff --git a/css/skin.css b/css/skin.css new file mode 100644 index 0000000..77704b0 --- /dev/null +++ b/css/skin.css @@ -0,0 +1,237 @@ +.errorStyle { + color: #F00; + +} + +.editbox4 { + width: 160px; +} + +.login_top_bg { + background-image: url(../images/common/login-top-bg.gif); + background-repeat: repeat-x; +} + +.body { + background-color: #EEF2FB; + left: 0px; + top: 0px; + right: 0px; + bottom: 0px; +} + +.login-buttom-bg { + background-image: url(../images/login-buttom-bg.gif); + background-repeat: repeat-x; +} + +.login-buttom-txt { + font-size: 10px; + color: #ABCAD3; + text-decoration: none; + line-height: 20px; +} + +.login_txt { + font-size: 14px; + line-height: 25px; + color: #333333; +} + +.Submit { + + color: #629DAE; + text-decoration: none; + background-image: url(../images/Submit_bg.gif); + background-repeat: repeat-x; +} + +.login_bg { + background-image: url(../images/login_bg.jpg); + background-repeat: repeat-x; +} + +.login_bg2 { + background-image: url(../images/login-content-bg.gif); + background-repeat: no-repeat; + background-position: right; +} + +.admin_txt { + + color: #FFF; + text-decoration: none; + height: 38px; + width: 100%; + position: �̶�; + line-height: 38px; +} + +.login_txt_bt { + font-size: 14px; + line-height: 25px; + color: #666666; + font-weight: bold; +} + +.admin_topbg { + background-image: url(../images/steel.gif); + background-repeat: repeat-x; +} + +.txt_bt { + + line-height: 25px; + font-weight: bold; + color: #000000; + text-decoration: none; +} + +.left_topbg { + background-image: url(../images/content-bg.gif); + background-repeat: repeat-x; +} + +.admin_toptxt { + + color: #4A8091; + height: 18px; + width: 100%; + overflow: hidden; + position: �̶�; +} + +.left_bt { + font-size: 14px; + font-weight: bold; + color: #395a7b; +} + +.left_bt2 { + + line-height: 25px; + font-weight: bold; + color: #333333; +} + +.titlebt { + + line-height: 26px; + font-weight: bold; + color: #000000; + background-image: url(../images/top_bt.jpg); + background-repeat: no-repeat; + display: block; + text-indent: 15px; + padding-top: 5px; +} + +.left_txt { + + line-height: 25px; + color: #666666; +} + +.left_txt2 { + + line-height: 25px; + color: #000000; +} + +.nowtable { + background-color: #e1e5ee; + border-top-width: 1px; + border-right-width: 1px; + border-bottom-width: 1px; + border-left-width: 1px; + border-top-style: solid; + border-top-color: #bfc4ca; + border-right-color: #bfc4ca; + border-bottom-color: #bfc4ca; + border-left-color: #bfc4ca; +} + +.left_txt3 { + + line-height: 25px; + color: #003366; + text-decoration: none; +} + +.left_ts { + + line-height: 25px; + font-weight: bold; + color: #FF6600; +} + +.line_table { + border: 1px solid #CCCCCC; +} + +.sec1 { + CURSOR: hand; + COLOR: #000000; + + line-height: 25px; + border: 1px solid #B5D0D9; + background-image: url(../images/right_smbg.jpg); + background-repeat: repeat-x; +} + +.sec2 { + FONT-WEIGHT: bold; + CURSOR: hand; + COLOR: #000000; + + line-height: 25px; + background-color: #e2e7ed; + border: 1px solid #e2e7ed; +} + +.main_tab { + COLOR: #000000; + BACKGROUND-COLOR: #e2e7ed; + border: 1px solid #e2e7ed; +} + +.MM a { + + line-height: 26px; + color: #666666; + background-image: url(../images/menu_bg.gif); + background-repeat: no-repeat; + list-style-type: none; + list-style-image: none; +} + +a:link { + + line-height: 25px; + color: #FFF; + text-decoration: none; +} + +a:hover { + + line-height: 25px; + color: #FFF; + text-decoration: none; +} + +a:visited { + + line-height: 25px; + color: #FFF; + text-decoration: none; +} + +.MM a:link { + + line-height: 26px; + color: #666666; + background-image: url(../images/menu_bg.gif); + background-repeat: no-repeat; + list-style-type: none; + list-style-image: none; +} \ No newline at end of file diff --git a/foot.html b/foot.html new file mode 100644 index 0000000..4d025b9 --- /dev/null +++ b/foot.html @@ -0,0 +1,13 @@ + + + + diff --git a/head.html b/head.html new file mode 100644 index 0000000..d84e57b --- /dev/null +++ b/head.html @@ -0,0 +1,20 @@ + + + + + \ No newline at end of file diff --git a/images/!.gif b/images/!.gif new file mode 100644 index 0000000..10d601a Binary files /dev/null and b/images/!.gif differ diff --git a/images/+.gif b/images/+.gif new file mode 100644 index 0000000..936e8ae Binary files /dev/null and b/images/+.gif differ diff --git a/images/-.gif b/images/-.gif new file mode 100644 index 0000000..c4bcb4a Binary files /dev/null and b/images/-.gif differ diff --git a/images/AD/domain.gif b/images/AD/domain.gif new file mode 100644 index 0000000..6d63059 Binary files /dev/null and b/images/AD/domain.gif differ diff --git a/images/AD/hongkong_host.jpg b/images/AD/hongkong_host.jpg new file mode 100644 index 0000000..36746ec Binary files /dev/null and b/images/AD/hongkong_host.jpg differ diff --git a/images/AD/java_host.jpg b/images/AD/java_host.jpg new file mode 100644 index 0000000..cf086b3 Binary files /dev/null and b/images/AD/java_host.jpg differ diff --git a/images/CASE/198529.jpg b/images/CASE/198529.jpg new file mode 100644 index 0000000..db7f637 Binary files /dev/null and b/images/CASE/198529.jpg differ diff --git a/images/CASE/2tu.jpg b/images/CASE/2tu.jpg new file mode 100644 index 0000000..82e0b90 Binary files /dev/null and b/images/CASE/2tu.jpg differ diff --git a/images/CASE/chinese.jpg b/images/CASE/chinese.jpg new file mode 100644 index 0000000..a37f3a8 Binary files /dev/null and b/images/CASE/chinese.jpg differ diff --git a/images/CASE/eq.jpg b/images/CASE/eq.jpg new file mode 100644 index 0000000..977c279 Binary files /dev/null and b/images/CASE/eq.jpg differ diff --git a/images/CASE/j2cms.jpg b/images/CASE/j2cms.jpg new file mode 100644 index 0000000..6474a23 Binary files /dev/null and b/images/CASE/j2cms.jpg differ diff --git a/images/CASE/jky.gzjykyw.com-little.png b/images/CASE/jky.gzjykyw.com-little.png new file mode 100644 index 0000000..a69c5ae Binary files /dev/null and b/images/CASE/jky.gzjykyw.com-little.png differ diff --git a/images/CASE/jky.gzjykyw.com.png b/images/CASE/jky.gzjykyw.com.png new file mode 100644 index 0000000..9c3e42e Binary files /dev/null and b/images/CASE/jky.gzjykyw.com.png differ diff --git a/images/DefaultDocs.gif b/images/DefaultDocs.gif new file mode 100644 index 0000000..c934e73 Binary files /dev/null and b/images/DefaultDocs.gif differ diff --git a/images/Login_but.gif b/images/Login_but.gif new file mode 100644 index 0000000..86eb904 Binary files /dev/null and b/images/Login_but.gif differ diff --git a/images/OK.jpg b/images/OK.jpg new file mode 100644 index 0000000..4302ca6 Binary files /dev/null and b/images/OK.jpg differ diff --git a/images/Redirects.gif b/images/Redirects.gif new file mode 100644 index 0000000..0d878a3 Binary files /dev/null and b/images/Redirects.gif differ diff --git a/images/Submit_bg.gif b/images/Submit_bg.gif new file mode 100644 index 0000000..1e3d4d1 Binary files /dev/null and b/images/Submit_bg.gif differ diff --git a/images/X.gif b/images/X.gif new file mode 100644 index 0000000..6e33b75 Binary files /dev/null and b/images/X.gif differ diff --git a/images/ad.gif b/images/ad.gif new file mode 100644 index 0000000..562e542 Binary files /dev/null and b/images/ad.gif differ diff --git a/images/add.gif b/images/add.gif new file mode 100644 index 0000000..7838fe0 Binary files /dev/null and b/images/add.gif differ diff --git a/images/back.gif b/images/back.gif new file mode 100644 index 0000000..4c96f26 Binary files /dev/null and b/images/back.gif differ diff --git a/images/bg.gif b/images/bg.gif new file mode 100644 index 0000000..d1aad1f Binary files /dev/null and b/images/bg.gif differ diff --git a/images/bg1.gif b/images/bg1.gif new file mode 100644 index 0000000..579a7cb Binary files /dev/null and b/images/bg1.gif differ diff --git a/images/bigsize.jpg b/images/bigsize.jpg new file mode 100644 index 0000000..28cef48 Binary files /dev/null and b/images/bigsize.jpg differ diff --git a/images/bootnbg.jpg b/images/bootnbg.jpg new file mode 100644 index 0000000..381f8e6 Binary files /dev/null and b/images/bootnbg.jpg differ diff --git a/images/bullet.gif b/images/bullet.gif new file mode 100644 index 0000000..e5e26be Binary files /dev/null and b/images/bullet.gif differ diff --git a/images/buttom_bgs.gif b/images/buttom_bgs.gif new file mode 100644 index 0000000..b7ecfad Binary files /dev/null and b/images/buttom_bgs.gif differ diff --git a/images/buttom_left2.gif b/images/buttom_left2.gif new file mode 100644 index 0000000..8120f01 Binary files /dev/null and b/images/buttom_left2.gif differ diff --git a/images/buttom_right2.gif b/images/buttom_right2.gif new file mode 100644 index 0000000..01f44ae Binary files /dev/null and b/images/buttom_right2.gif differ diff --git a/images/card.jpg b/images/card.jpg new file mode 100644 index 0000000..f8c59a6 Binary files /dev/null and b/images/card.jpg differ diff --git a/images/check-out_.gif b/images/check-out_.gif new file mode 100644 index 0000000..232d7bd Binary files /dev/null and b/images/check-out_.gif differ diff --git a/images/close.gif b/images/close.gif new file mode 100644 index 0000000..d18a338 Binary files /dev/null and b/images/close.gif differ diff --git a/images/collapsed.gif b/images/collapsed.gif new file mode 100644 index 0000000..603c717 Binary files /dev/null and b/images/collapsed.gif differ diff --git a/images/common/login-top-bg.gif b/images/common/login-top-bg.gif new file mode 100644 index 0000000..dd31397 Binary files /dev/null and b/images/common/login-top-bg.gif differ diff --git a/images/common/top_bg.jpg b/images/common/top_bg.jpg new file mode 100644 index 0000000..425c104 Binary files /dev/null and b/images/common/top_bg.jpg differ diff --git a/images/content-bg-line.gif b/images/content-bg-line.gif new file mode 100644 index 0000000..2851ecc Binary files /dev/null and b/images/content-bg-line.gif differ diff --git a/images/content-bg.gif b/images/content-bg.gif new file mode 100644 index 0000000..a45d1bc Binary files /dev/null and b/images/content-bg.gif differ diff --git a/images/database_import_.gif b/images/database_import_.gif new file mode 100644 index 0000000..263b1e4 Binary files /dev/null and b/images/database_import_.gif differ diff --git a/images/defind.gif b/images/defind.gif new file mode 100644 index 0000000..c59743d Binary files /dev/null and b/images/defind.gif differ diff --git a/images/del.jpg b/images/del.jpg new file mode 100644 index 0000000..9be7d8f Binary files /dev/null and b/images/del.jpg differ diff --git a/images/delete.gif b/images/delete.gif new file mode 100644 index 0000000..6b642c7 Binary files /dev/null and b/images/delete.gif differ diff --git a/images/delete_6.gif b/images/delete_6.gif new file mode 100644 index 0000000..8f89c59 Binary files /dev/null and b/images/delete_6.gif differ diff --git a/images/edit.gif b/images/edit.gif new file mode 100644 index 0000000..ee59c6d Binary files /dev/null and b/images/edit.gif differ diff --git a/images/entity_state/10.gif b/images/entity_state/10.gif new file mode 100644 index 0000000..99a8121 Binary files /dev/null and b/images/entity_state/10.gif differ diff --git a/images/entity_state/11.gif b/images/entity_state/11.gif new file mode 100644 index 0000000..61a48a9 Binary files /dev/null and b/images/entity_state/11.gif differ diff --git a/images/entity_state/12.gif b/images/entity_state/12.gif new file mode 100644 index 0000000..47cfbce Binary files /dev/null and b/images/entity_state/12.gif differ diff --git a/images/entity_state/13.gif b/images/entity_state/13.gif new file mode 100644 index 0000000..c59366c Binary files /dev/null and b/images/entity_state/13.gif differ diff --git a/images/entity_state/14.gif b/images/entity_state/14.gif new file mode 100644 index 0000000..cfa0f00 Binary files /dev/null and b/images/entity_state/14.gif differ diff --git a/images/ershou_1.gif b/images/ershou_1.gif new file mode 100644 index 0000000..cfd2262 Binary files /dev/null and b/images/ershou_1.gif differ diff --git a/images/ershou_2.gif b/images/ershou_2.gif new file mode 100644 index 0000000..f5dfc7e Binary files /dev/null and b/images/ershou_2.gif differ diff --git a/images/expanded.gif b/images/expanded.gif new file mode 100644 index 0000000..c808444 Binary files /dev/null and b/images/expanded.gif differ diff --git a/images/format.gif b/images/format.gif new file mode 100644 index 0000000..37f71da Binary files /dev/null and b/images/format.gif differ diff --git a/images/g.gif b/images/g.gif new file mode 100644 index 0000000..18df17f Binary files /dev/null and b/images/g.gif differ diff --git a/images/gw.gif b/images/gw.gif new file mode 100644 index 0000000..1297954 Binary files /dev/null and b/images/gw.gif differ diff --git a/images/gw2.gif b/images/gw2.gif new file mode 100644 index 0000000..664e035 Binary files /dev/null and b/images/gw2.gif differ diff --git a/images/ico5.jpg b/images/ico5.jpg new file mode 100644 index 0000000..e343e8f Binary files /dev/null and b/images/ico5.jpg differ diff --git a/images/icon-demo.gif b/images/icon-demo.gif new file mode 100644 index 0000000..92f89e3 Binary files /dev/null and b/images/icon-demo.gif differ diff --git a/images/icon-login-seaver.gif b/images/icon-login-seaver.gif new file mode 100644 index 0000000..853e2e8 Binary files /dev/null and b/images/icon-login-seaver.gif differ diff --git a/images/icon-mail2.gif b/images/icon-mail2.gif new file mode 100644 index 0000000..7269df6 Binary files /dev/null and b/images/icon-mail2.gif differ diff --git a/images/icon-phone.gif b/images/icon-phone.gif new file mode 100644 index 0000000..ab5c43a Binary files /dev/null and b/images/icon-phone.gif differ diff --git a/images/icon/1.png b/images/icon/1.png new file mode 100644 index 0000000..2b9e3f6 Binary files /dev/null and b/images/icon/1.png differ diff --git a/images/icon/2.png b/images/icon/2.png new file mode 100644 index 0000000..481fb60 Binary files /dev/null and b/images/icon/2.png differ diff --git a/images/icon/3.png b/images/icon/3.png new file mode 100644 index 0000000..961ea36 Binary files /dev/null and b/images/icon/3.png differ diff --git a/images/icon/4.png b/images/icon/4.png new file mode 100644 index 0000000..f7cd357 Binary files /dev/null and b/images/icon/4.png differ diff --git a/images/icon/base.gif b/images/icon/base.gif new file mode 100644 index 0000000..9ac0b11 Binary files /dev/null and b/images/icon/base.gif differ diff --git a/images/icon/empty.gif b/images/icon/empty.gif new file mode 100644 index 0000000..b5cf523 Binary files /dev/null and b/images/icon/empty.gif differ diff --git a/images/icon/folder.gif b/images/icon/folder.gif new file mode 100644 index 0000000..eb12976 Binary files /dev/null and b/images/icon/folder.gif differ diff --git a/images/icon/folderopen.gif b/images/icon/folderopen.gif new file mode 100644 index 0000000..c5c3110 Binary files /dev/null and b/images/icon/folderopen.gif differ diff --git a/images/icon/imgfolder.gif b/images/icon/imgfolder.gif new file mode 100644 index 0000000..e6d8803 Binary files /dev/null and b/images/icon/imgfolder.gif differ diff --git a/images/icon/join.gif b/images/icon/join.gif new file mode 100644 index 0000000..34dd476 Binary files /dev/null and b/images/icon/join.gif differ diff --git a/images/icon/joinbottom.gif b/images/icon/joinbottom.gif new file mode 100644 index 0000000..48b81c8 Binary files /dev/null and b/images/icon/joinbottom.gif differ diff --git a/images/icon/line.gif b/images/icon/line.gif new file mode 100644 index 0000000..1a259ee Binary files /dev/null and b/images/icon/line.gif differ diff --git a/images/icon/minus.gif b/images/icon/minus.gif new file mode 100644 index 0000000..3d212a9 Binary files /dev/null and b/images/icon/minus.gif differ diff --git a/images/icon/minusbottom.gif b/images/icon/minusbottom.gif new file mode 100644 index 0000000..dc3198b Binary files /dev/null and b/images/icon/minusbottom.gif differ diff --git a/images/icon/page.gif b/images/icon/page.gif new file mode 100644 index 0000000..42d7318 Binary files /dev/null and b/images/icon/page.gif differ diff --git a/images/icon/page1.gif b/images/icon/page1.gif new file mode 100644 index 0000000..445769d Binary files /dev/null and b/images/icon/page1.gif differ diff --git a/images/icon/plus.gif b/images/icon/plus.gif new file mode 100644 index 0000000..b2c9972 Binary files /dev/null and b/images/icon/plus.gif differ diff --git a/images/icon/plusbottom.gif b/images/icon/plusbottom.gif new file mode 100644 index 0000000..b5671d8 Binary files /dev/null and b/images/icon/plusbottom.gif differ diff --git a/images/icon/trash.gif b/images/icon/trash.gif new file mode 100644 index 0000000..cfa0f00 Binary files /dev/null and b/images/icon/trash.gif differ diff --git a/images/icon2_004.png b/images/icon2_004.png new file mode 100644 index 0000000..ea9ba21 Binary files /dev/null and b/images/icon2_004.png differ diff --git a/images/icon2_089.png b/images/icon2_089.png new file mode 100644 index 0000000..cc7df71 Binary files /dev/null and b/images/icon2_089.png differ diff --git a/images/icon2_090.png b/images/icon2_090.png new file mode 100644 index 0000000..ad90c35 Binary files /dev/null and b/images/icon2_090.png differ diff --git a/images/image_(add)6.gif b/images/image_(add)6.gif new file mode 100644 index 0000000..98e8c06 Binary files /dev/null and b/images/image_(add)6.gif differ diff --git a/images/image_1.gif b/images/image_1.gif new file mode 100644 index 0000000..638f48f Binary files /dev/null and b/images/image_1.gif differ diff --git a/images/imagedelete.gif b/images/imagedelete.gif new file mode 100644 index 0000000..78aafce Binary files /dev/null and b/images/imagedelete.gif differ diff --git a/images/imageedit.gif b/images/imageedit.gif new file mode 100644 index 0000000..669b214 Binary files /dev/null and b/images/imageedit.gif differ diff --git a/images/ipsecurity.gif b/images/ipsecurity.gif new file mode 100644 index 0000000..2e4e0a0 Binary files /dev/null and b/images/ipsecurity.gif differ diff --git a/images/j2_logo.gif b/images/j2_logo.gif new file mode 100644 index 0000000..885cfbf Binary files /dev/null and b/images/j2_logo.gif differ diff --git a/images/j2cms_logo.gif b/images/j2cms_logo.gif new file mode 100644 index 0000000..2275ad3 Binary files /dev/null and b/images/j2cms_logo.gif differ diff --git a/images/jiemian/1.png b/images/jiemian/1.png new file mode 100644 index 0000000..fc62791 Binary files /dev/null and b/images/jiemian/1.png differ diff --git a/images/jiemian/2.png b/images/jiemian/2.png new file mode 100644 index 0000000..b529fdc Binary files /dev/null and b/images/jiemian/2.png differ diff --git a/images/jiemian/3.png b/images/jiemian/3.png new file mode 100644 index 0000000..4dbae96 Binary files /dev/null and b/images/jiemian/3.png differ diff --git a/images/jiemian/4.png b/images/jiemian/4.png new file mode 100644 index 0000000..1b69fec Binary files /dev/null and b/images/jiemian/4.png differ diff --git a/images/jiemian/5.png b/images/jiemian/5.png new file mode 100644 index 0000000..8f0d236 Binary files /dev/null and b/images/jiemian/5.png differ diff --git a/images/jiemian/6.png b/images/jiemian/6.png new file mode 100644 index 0000000..f81fb73 Binary files /dev/null and b/images/jiemian/6.png differ diff --git a/images/l1b3.gif b/images/l1b3.gif new file mode 100644 index 0000000..2c9bf57 Binary files /dev/null and b/images/l1b3.gif differ diff --git a/images/l1b4.gif b/images/l1b4.gif new file mode 100644 index 0000000..76bc9da Binary files /dev/null and b/images/l1b4.gif differ diff --git a/images/l1b5.gif b/images/l1b5.gif new file mode 100644 index 0000000..8de99a5 Binary files /dev/null and b/images/l1b5.gif differ diff --git a/images/left-bg.gif b/images/left-bg.gif new file mode 100644 index 0000000..e1ae689 Binary files /dev/null and b/images/left-bg.gif differ diff --git a/images/left-top-right.gif b/images/left-top-right.gif new file mode 100644 index 0000000..60ed584 Binary files /dev/null and b/images/left-top-right.gif differ diff --git a/images/line2.jpg b/images/line2.jpg new file mode 100644 index 0000000..5b12bab Binary files /dev/null and b/images/line2.jpg differ diff --git a/images/link.gif b/images/link.gif new file mode 100644 index 0000000..fa8f013 Binary files /dev/null and b/images/link.gif differ diff --git a/images/linkbom.gif b/images/linkbom.gif new file mode 100644 index 0000000..acc9ffb Binary files /dev/null and b/images/linkbom.gif differ diff --git a/images/linkspic3.gif b/images/linkspic3.gif new file mode 100644 index 0000000..5ceee82 Binary files /dev/null and b/images/linkspic3.gif differ diff --git a/images/linkspic6.gif b/images/linkspic6.gif new file mode 100644 index 0000000..f65c28f Binary files /dev/null and b/images/linkspic6.gif differ diff --git a/images/lm.gif b/images/lm.gif new file mode 100644 index 0000000..f3da780 Binary files /dev/null and b/images/lm.gif differ diff --git a/images/lminfo.gif b/images/lminfo.gif new file mode 100644 index 0000000..1fc2dfb Binary files /dev/null and b/images/lminfo.gif differ diff --git a/images/login-buttom-bg.gif b/images/login-buttom-bg.gif new file mode 100644 index 0000000..e06cefb Binary files /dev/null and b/images/login-buttom-bg.gif differ diff --git a/images/login-content-bg.gif b/images/login-content-bg.gif new file mode 100644 index 0000000..5a1cc22 Binary files /dev/null and b/images/login-content-bg.gif differ diff --git a/images/login-wel.gif b/images/login-wel.gif new file mode 100644 index 0000000..1b6d77d Binary files /dev/null and b/images/login-wel.gif differ diff --git a/images/login_bg.jpg b/images/login_bg.jpg new file mode 100644 index 0000000..6782e5e Binary files /dev/null and b/images/login_bg.jpg differ diff --git a/images/logo.jpg b/images/logo.jpg new file mode 100644 index 0000000..3102366 Binary files /dev/null and b/images/logo.jpg differ diff --git a/images/logo/J2-LOGO-2-1.png b/images/logo/J2-LOGO-2-1.png new file mode 100644 index 0000000..75afa2d Binary files /dev/null and b/images/logo/J2-LOGO-2-1.png differ diff --git a/images/logo/J2-LOGO-2.png b/images/logo/J2-LOGO-2.png new file mode 100644 index 0000000..43aeaf1 Binary files /dev/null and b/images/logo/J2-LOGO-2.png differ diff --git a/images/logo/J2-LOGO-21.png b/images/logo/J2-LOGO-21.png new file mode 100644 index 0000000..265ad2b Binary files /dev/null and b/images/logo/J2-LOGO-21.png differ diff --git a/images/logo/j2-logo.png b/images/logo/j2-logo.png new file mode 100644 index 0000000..fb6f063 Binary files /dev/null and b/images/logo/j2-logo.png differ diff --git a/images/luck.gif b/images/luck.gif new file mode 100644 index 0000000..3263e4b Binary files /dev/null and b/images/luck.gif differ diff --git a/images/mail_leftbg.gif b/images/mail_leftbg.gif new file mode 100644 index 0000000..cb02174 Binary files /dev/null and b/images/mail_leftbg.gif differ diff --git a/images/mail_rightbg.gif b/images/mail_rightbg.gif new file mode 100644 index 0000000..aa08256 Binary files /dev/null and b/images/mail_rightbg.gif differ diff --git a/images/menu_bg.gif b/images/menu_bg.gif new file mode 100644 index 0000000..eb91f38 Binary files /dev/null and b/images/menu_bg.gif differ diff --git a/images/menu_bg1.gif b/images/menu_bg1.gif new file mode 100644 index 0000000..fe4c298 Binary files /dev/null and b/images/menu_bg1.gif differ diff --git a/images/menu_bg2.gif b/images/menu_bg2.gif new file mode 100644 index 0000000..2299cb0 Binary files /dev/null and b/images/menu_bg2.gif differ diff --git a/images/menu_bg_old.jpg b/images/menu_bg_old.jpg new file mode 100644 index 0000000..21be3c3 Binary files /dev/null and b/images/menu_bg_old.jpg differ diff --git a/images/menu_bgs.gif b/images/menu_bgs.gif new file mode 100644 index 0000000..cc4b80e Binary files /dev/null and b/images/menu_bgs.gif differ diff --git a/images/menu_sep.jpg b/images/menu_sep.jpg new file mode 100644 index 0000000..5f5c359 Binary files /dev/null and b/images/menu_sep.jpg differ diff --git a/images/menu_topimg.gif b/images/menu_topimg.gif new file mode 100644 index 0000000..6629192 Binary files /dev/null and b/images/menu_topimg.gif differ diff --git a/images/menu_topline.gif b/images/menu_topline.gif new file mode 100644 index 0000000..0777286 Binary files /dev/null and b/images/menu_topline.gif differ diff --git a/images/mime.gif b/images/mime.gif new file mode 100644 index 0000000..2991eb7 Binary files /dev/null and b/images/mime.gif differ diff --git a/images/msg2.jpg b/images/msg2.jpg new file mode 100644 index 0000000..532d868 Binary files /dev/null and b/images/msg2.jpg differ diff --git a/images/msg_bg.jpg b/images/msg_bg.jpg new file mode 100644 index 0000000..f4fbb2c Binary files /dev/null and b/images/msg_bg.jpg differ diff --git a/images/nav-right-bg.gif b/images/nav-right-bg.gif new file mode 100644 index 0000000..bf83172 Binary files /dev/null and b/images/nav-right-bg.gif differ diff --git a/images/news-title-bg.gif b/images/news-title-bg.gif new file mode 100644 index 0000000..ab7f49e Binary files /dev/null and b/images/news-title-bg.gif differ diff --git a/images/news.gif b/images/news.gif new file mode 100644 index 0000000..5ede68c Binary files /dev/null and b/images/news.gif differ diff --git a/images/noCheck1.gif b/images/noCheck1.gif new file mode 100644 index 0000000..facc801 Binary files /dev/null and b/images/noCheck1.gif differ diff --git a/images/noPass.gif b/images/noPass.gif new file mode 100644 index 0000000..b89feb2 Binary files /dev/null and b/images/noPass.gif differ diff --git a/images/ok.gif b/images/ok.gif new file mode 100644 index 0000000..c566bb8 Binary files /dev/null and b/images/ok.gif differ diff --git a/images/order_state/229.png b/images/order_state/229.png new file mode 100644 index 0000000..9e42ff6 Binary files /dev/null and b/images/order_state/229.png differ diff --git a/images/order_state/230.png b/images/order_state/230.png new file mode 100644 index 0000000..6fbb1a3 Binary files /dev/null and b/images/order_state/230.png differ diff --git a/images/order_state/231.png b/images/order_state/231.png new file mode 100644 index 0000000..351621e Binary files /dev/null and b/images/order_state/231.png differ diff --git a/images/order_state/231_1.png b/images/order_state/231_1.png new file mode 100644 index 0000000..a5ec4c5 Binary files /dev/null and b/images/order_state/231_1.png differ diff --git a/images/order_state/231_2.png b/images/order_state/231_2.png new file mode 100644 index 0000000..a0386ca Binary files /dev/null and b/images/order_state/231_2.png differ diff --git a/images/order_state/232.gif b/images/order_state/232.gif new file mode 100644 index 0000000..99a8121 Binary files /dev/null and b/images/order_state/232.gif differ diff --git a/images/order_state/232.png b/images/order_state/232.png new file mode 100644 index 0000000..1426bd3 Binary files /dev/null and b/images/order_state/232.png differ diff --git a/images/order_state/233.gif b/images/order_state/233.gif new file mode 100644 index 0000000..c59366c Binary files /dev/null and b/images/order_state/233.gif differ diff --git a/images/order_state/233.png b/images/order_state/233.png new file mode 100644 index 0000000..9232696 Binary files /dev/null and b/images/order_state/233.png differ diff --git a/images/out.gif b/images/out.gif new file mode 100644 index 0000000..d13cb5d Binary files /dev/null and b/images/out.gif differ diff --git a/images/password.gif b/images/password.gif new file mode 100644 index 0000000..e7d222e Binary files /dev/null and b/images/password.gif differ diff --git a/images/pic1.gif b/images/pic1.gif new file mode 100644 index 0000000..00029e9 Binary files /dev/null and b/images/pic1.gif differ diff --git a/images/pic10.gif b/images/pic10.gif new file mode 100644 index 0000000..73aedef Binary files /dev/null and b/images/pic10.gif differ diff --git a/images/pic11.gif b/images/pic11.gif new file mode 100644 index 0000000..ac3b493 Binary files /dev/null and b/images/pic11.gif differ diff --git a/images/pic12.gif b/images/pic12.gif new file mode 100644 index 0000000..ea99b7a Binary files /dev/null and b/images/pic12.gif differ diff --git a/images/pic13.gif b/images/pic13.gif new file mode 100644 index 0000000..cacfcd5 Binary files /dev/null and b/images/pic13.gif differ diff --git a/images/pic14.gif b/images/pic14.gif new file mode 100644 index 0000000..ece4daa Binary files /dev/null and b/images/pic14.gif differ diff --git a/images/pic15.gif b/images/pic15.gif new file mode 100644 index 0000000..6f0748d Binary files /dev/null and b/images/pic15.gif differ diff --git a/images/pic16.gif b/images/pic16.gif new file mode 100644 index 0000000..8556620 Binary files /dev/null and b/images/pic16.gif differ diff --git a/images/pic18.gif b/images/pic18.gif new file mode 100644 index 0000000..415b70f Binary files /dev/null and b/images/pic18.gif differ diff --git a/images/pic19.gif b/images/pic19.gif new file mode 100644 index 0000000..9fb7f9c Binary files /dev/null and b/images/pic19.gif differ diff --git a/images/pic21.gif b/images/pic21.gif new file mode 100644 index 0000000..56b4411 Binary files /dev/null and b/images/pic21.gif differ diff --git a/images/pic23.gif b/images/pic23.gif new file mode 100644 index 0000000..1a8e142 Binary files /dev/null and b/images/pic23.gif differ diff --git a/images/pic24.gif b/images/pic24.gif new file mode 100644 index 0000000..ed1baa3 Binary files /dev/null and b/images/pic24.gif differ diff --git a/images/pic25.gif b/images/pic25.gif new file mode 100644 index 0000000..5540a69 Binary files /dev/null and b/images/pic25.gif differ diff --git a/images/pic26.gif b/images/pic26.gif new file mode 100644 index 0000000..9f26b91 Binary files /dev/null and b/images/pic26.gif differ diff --git a/images/pic5.gif b/images/pic5.gif new file mode 100644 index 0000000..051f939 Binary files /dev/null and b/images/pic5.gif differ diff --git a/images/pic6.gif b/images/pic6.gif new file mode 100644 index 0000000..962e2ec Binary files /dev/null and b/images/pic6.gif differ diff --git a/images/pic7.gif b/images/pic7.gif new file mode 100644 index 0000000..cfb7f1e Binary files /dev/null and b/images/pic7.gif differ diff --git a/images/pic8.gif b/images/pic8.gif new file mode 100644 index 0000000..8b4108e Binary files /dev/null and b/images/pic8.gif differ diff --git a/images/pic9.gif b/images/pic9.gif new file mode 100644 index 0000000..5669639 Binary files /dev/null and b/images/pic9.gif differ diff --git a/images/recycle.gif b/images/recycle.gif new file mode 100644 index 0000000..cfa0f00 Binary files /dev/null and b/images/recycle.gif differ diff --git a/images/report2_(add).gif b/images/report2_(add).gif new file mode 100644 index 0000000..9d1c7b1 Binary files /dev/null and b/images/report2_(add).gif differ diff --git a/images/report2_(delete).gif b/images/report2_(delete).gif new file mode 100644 index 0000000..a2456f3 Binary files /dev/null and b/images/report2_(delete).gif differ diff --git a/images/right_smbg.jpg b/images/right_smbg.jpg new file mode 100644 index 0000000..c06ccfd Binary files /dev/null and b/images/right_smbg.jpg differ diff --git a/images/servicezhgb2312.gif b/images/servicezhgb2312.gif new file mode 100644 index 0000000..895e4b7 Binary files /dev/null and b/images/servicezhgb2312.gif differ diff --git a/images/set.gif b/images/set.gif new file mode 100644 index 0000000..7a08bf0 Binary files /dev/null and b/images/set.gif differ diff --git a/images/set2.gif b/images/set2.gif new file mode 100644 index 0000000..7891205 Binary files /dev/null and b/images/set2.gif differ diff --git a/images/sitebackup.gif b/images/sitebackup.gif new file mode 100644 index 0000000..39ae7a5 Binary files /dev/null and b/images/sitebackup.gif differ diff --git a/images/smallbg.jpg b/images/smallbg.jpg new file mode 100644 index 0000000..6aa559e Binary files /dev/null and b/images/smallbg.jpg differ diff --git a/images/st.gif b/images/st.gif new file mode 100644 index 0000000..8fa79de Binary files /dev/null and b/images/st.gif differ diff --git a/images/st.png b/images/st.png new file mode 100644 index 0000000..2060556 Binary files /dev/null and b/images/st.png differ diff --git a/images/steel-0.gif b/images/steel-0.gif new file mode 100644 index 0000000..307b57a Binary files /dev/null and b/images/steel-0.gif differ diff --git a/images/steel.gif b/images/steel.gif new file mode 100644 index 0000000..932f7d6 Binary files /dev/null and b/images/steel.gif differ diff --git a/images/stop.gif b/images/stop.gif new file mode 100644 index 0000000..e497b66 Binary files /dev/null and b/images/stop.gif differ diff --git a/images/str.gif b/images/str.gif new file mode 100644 index 0000000..4d7e77a Binary files /dev/null and b/images/str.gif differ diff --git a/images/success.jpg b/images/success.jpg new file mode 100644 index 0000000..6df71ca Binary files /dev/null and b/images/success.jpg differ diff --git a/images/t2bg1.gif b/images/t2bg1.gif new file mode 100644 index 0000000..06f510c Binary files /dev/null and b/images/t2bg1.gif differ diff --git a/images/t2bg2.gif b/images/t2bg2.gif new file mode 100644 index 0000000..99576ba Binary files /dev/null and b/images/t2bg2.gif differ diff --git a/images/t2bg4.gif b/images/t2bg4.gif new file mode 100644 index 0000000..9ab407a Binary files /dev/null and b/images/t2bg4.gif differ diff --git a/images/t2bg5.gif b/images/t2bg5.gif new file mode 100644 index 0000000..e9d0003 Binary files /dev/null and b/images/t2bg5.gif differ diff --git a/images/tbg.jpg b/images/tbg.jpg new file mode 100644 index 0000000..6fa643c Binary files /dev/null and b/images/tbg.jpg differ diff --git a/images/title.gif b/images/title.gif new file mode 100644 index 0000000..2dd912b Binary files /dev/null and b/images/title.gif differ diff --git a/images/title_bg_hide.gif b/images/title_bg_hide.gif new file mode 100644 index 0000000..b5fceed Binary files /dev/null and b/images/title_bg_hide.gif differ diff --git a/images/title_bg_quit.gif b/images/title_bg_quit.gif new file mode 100644 index 0000000..8d59de7 Binary files /dev/null and b/images/title_bg_quit.gif differ diff --git a/images/title_bg_show.gif b/images/title_bg_show.gif new file mode 100644 index 0000000..d5aeba2 Binary files /dev/null and b/images/title_bg_show.gif differ diff --git a/images/tj.jpg b/images/tj.jpg new file mode 100644 index 0000000..1467e03 Binary files /dev/null and b/images/tj.jpg differ diff --git a/images/to.gif b/images/to.gif new file mode 100644 index 0000000..ab948f5 Binary files /dev/null and b/images/to.gif differ diff --git a/images/tool-down-pic.gif b/images/tool-down-pic.gif new file mode 100644 index 0000000..eb3b90e Binary files /dev/null and b/images/tool-down-pic.gif differ diff --git a/images/top_bg.jpg b/images/top_bg.jpg new file mode 100644 index 0000000..392c9a3 Binary files /dev/null and b/images/top_bg.jpg differ diff --git a/images/top_bg_1.jpg b/images/top_bg_1.jpg new file mode 100644 index 0000000..60c2dc4 Binary files /dev/null and b/images/top_bg_1.jpg differ diff --git a/images/top_bt.jpg b/images/top_bt.jpg new file mode 100644 index 0000000..e535b3c Binary files /dev/null and b/images/top_bt.jpg differ diff --git a/images/topbg.gif b/images/topbg.gif new file mode 100644 index 0000000..6ddcfc9 Binary files /dev/null and b/images/topbg.gif differ diff --git a/images/ts.gif b/images/ts.gif new file mode 100644 index 0000000..f475b77 Binary files /dev/null and b/images/ts.gif differ diff --git a/images/user-info.gif b/images/user-info.gif new file mode 100644 index 0000000..6d86415 Binary files /dev/null and b/images/user-info.gif differ diff --git a/images/usercontrol.gif b/images/usercontrol.gif new file mode 100644 index 0000000..5da5106 Binary files /dev/null and b/images/usercontrol.gif differ diff --git a/images/vie.gif b/images/vie.gif new file mode 100644 index 0000000..54e8756 Binary files /dev/null and b/images/vie.gif differ diff --git a/images/yc.gif b/images/yc.gif new file mode 100644 index 0000000..7a3e078 Binary files /dev/null and b/images/yc.gif differ diff --git a/images/yx.gif b/images/yx.gif new file mode 100644 index 0000000..0e83f0c Binary files /dev/null and b/images/yx.gif differ diff --git a/index.html b/index.html index 802992c..552deae 100644 --- a/index.html +++ b/index.html @@ -1 +1,276 @@ -Hello world + + + + +捷兔网络J2CMS|开源 jsp cms | java cms + + + + + + + + + +
+ + + + +
+
+
+
+ +
+
+
+
 最新动态
+
  • [案例]贵州省教育科学院 + [2013-03-01]
  • +
  • [版本]2012年10月22日J2CMS发布新版本! + [2012-10-22]
  • +
  • [版本]2012年03月25日J2CMS发布新版本! + [2012-03-25]
  • +
  • [案例]捷免网络官方网站 + [2012-03-25]
  • +
  • [案例]华中师范大学文学院 + [2012-03-25]
  • + +
    + +
    +
     系统简介
    +
    + J2CMS是一个基于JavaEE平台的轻量极的敏捷开发架构,实现了一个内容管理系统,集成使用了Spring + SpringMVC + Hibernate + JPA + FreeMarker + MySQL 等技术。J2CMS是产品分支,J2CMS-SSH是开源分支。

    更新时间:2013年05月20日

    软件大小:24M

    +下载:J2CMSJ2CMS-SSH +
    +
    + +
    + + +
    + + +
    +
      模版下载
    +
    +
      +
    +
    +
    +
    +
      常见问题
    +
    +
      +
    +
    +
    + +
    +
      教程
    +
    +
      +
    +
    +
    + + +
    + + + +
    +
     服务与支持
    +
    + QQ 点击与我会话  + 点击与我会话 +

    + 电话18818232418
    +
    +
    + + +
    +
     典型案例
    +
    + + + + + + + + + + +
    +
    + + + +
    + + + +
    + + +
    Powered by J2CMS
    \ No newline at end of file diff --git a/js/common/cookie.js b/js/common/cookie.js new file mode 100644 index 0000000..7d8a731 --- /dev/null +++ b/js/common/cookie.js @@ -0,0 +1,101 @@ + +//获得coolie 的值 + +function cookie(name) { + + var cookieArray = document.cookie.split("; "); // 得到分割的cookie名值对 + + var cookie = new Object(); + + for ( var i = 0; i < cookieArray.length; i++) { + + var arr = cookieArray[i].split("="); // 将名和值分开 + + if (arr[0] == name) + return unescape(arr[1]); // 如果是指定的cookie,则返回它的值 + + } + + return ""; + +} + +// 删除cookie +function delCookie(name) +{ + document.cookie = name + "=;expires=" + (new Date(0)).toGMTString(); +} + +function getCookie(objName) {// 获取指定名称的cookie的值 + var arrStr = document.cookie.split("; "); + for ( var i = 0; i < arrStr.length; i++) { + var temp = arrStr[i].split("="); + if (temp[0] == objName) + return unescape(temp[1]); + + } + +} + +function addCookie(objName, objValue, objHours) { // 添加cookie + + var str = objName + "=" + escape(objValue); + + if (objHours > 0) { // 为时不设定过期时间,浏览器关闭时cookie自动消失 + + var date = new Date(); + + var ms = objHours * 3600 * 1000; + + date.setTime(date.getTime() + ms); + + str += "; expires=" + date.toGMTString(); + + } + + document.cookie = str; + +} + +function SetCookie(name, value)// 两个参数,一个是cookie的名子,一个是值 + +{ + + var Days = 30; // 此 cookie 将被保存 30 天 + + var exp = new Date(); // new Date("December 31, 9998"); + + exp.setTime(exp.getTime() + Days * 24 * 60 * 60 * 1000); + + document.cookie = name + "=" + escape(value) + ";expires=" + + exp.toGMTString(); + +} + +function getCookie(name)// 取cookies函数 + +{ + + var arr = document.cookie + .match(new RegExp("(^| )" + name + "=([^;]*)(;|$)")); + + if (arr != null) + return unescape(arr[2]); + return null; + +} + +function delCookie(name)// 删除cookie + +{ + + var exp = new Date(); + + exp.setTime(exp.getTime() - 1); + + var cval = getCookie(name); + + if (cval != null) + document.cookie = name + "=" + cval + ";expires=" + exp.toGMTString(); + +} diff --git a/js/common/entity.js b/js/common/entity.js new file mode 100644 index 0000000..2c6c5f3 --- /dev/null +++ b/js/common/entity.js @@ -0,0 +1,312 @@ +/** + * 通用JS + * @author GT 2013 + */ + + //查询,提交表单 + function query() + { + document.entityForm.action = "list"; + document.entityForm.submit();//document.getElementById("entityForm").submit(); + } + + //保存表单 + function save(){ + var form = document.getElementById('entityForm'); + form.action ="save"; + form.submit(); + } + + //更新表单 + function update(){ + var form = document.getElementById('entityForm'); + form.action ="update"; + form.submit(); + } + + //跳转到增加页面 + function add() + { + location.href = "add?href="+getHref(); + } + + //跳转到编辑页面 + function edit() + { + var id = MultiX("ids","请勾选要修改的记录!"); + if(id) { + if(id.toString().split(",").length>1){ + alert("请仅勾选一个记录修改!"); + return false; + } + id=id.split(':')[0];//如RelRoleUser里转的id为 2:3这种形式 + location.href="edit/"+id+"?href="+getHref(); + } + } + //编辑单个实体 + function editSingle(id) + { + location.href="edit/"+id+"?href="+getHref(); + } + + //显示单个实体 + function viewSingle(id) + { + location.href="view/"+id+"?href="+getHref(); + } + + + //批量删除多个实体,带实体名 。这里用MutiX()方式调用不成功,所以还是用这种方式 + function del() + { + var id=""; + var name=""; + var count = 0; + var chk = document.getElementsByName("ids"); + var nameArray = document.getElementsByName("names"); + if(chk == null) + { + alert("请勾选要删除的记录!"); + return false; + } + if(chk[0] == null) + { + if(chk.checked) + { + id = chk.value; + name = nameArray.value; + count++; + } + } + else + { + for(var i=0;i 则为ids + * @param tip 提示信息 + * @returns {Boolean} + * @author GT 2013-04-14 + */ + function MultiX(ids,tip){ + var t =tip==null?"请勾选至少一条记录!":tip; + var id=""; + var count = 0; + var chk = document.getElementsByName(ids); + if(chk == null) + { + alert(t); + return false; + } + if(chk[0] == null) + { + if(chk.checked) //如果只勾选了一个值的话chk就不是一个数组,所以会存在这种情况 + { + id = chk.value; + count++; + } + } + else + { + for(var i=0;i类别: + + + + */ + +//定义栈 +function Stack() { + this.__DataItem = new Array; + this.length = 0; + this.__StackPointer = -1; +} +Stack.prototype.Push = function(data) { + this.length++; + this.__StackPointer++; + this.__DataItem[this.__StackPointer] = data; +}; +Stack.prototype.Pop = function() { + if (this.length <= 0) + return null; + if (this.__StackPointer <= -1) + return null; + this.length--; + this.__StackPointer--; + return this.__DataItem[this.__StackPointer + 1]; +}; +Stack.prototype.toString = function() { + var chr; + try { + chr = arguments[0]; + } catch (e) { + chr = ''; + } finally { + if (typeof (chr) != 'string') + chr = ''; + } + if (this.length <= 0) + return ""; + var retStr = ""; + for ( var iCnt = 0; iCnt < this.length; iCnt++) + retStr += this.__DataItem[iCnt] + chr; + return retStr; +}; +Stack.prototype.Item = function(ind) { + if (ind < 0) + return null; + if (ind > this.__StackPointer) + return null; + return this.__DataItem[ind]; +}; +Stack.prototype.Top = function() { + if (this.__StackPointer < 0) + return null; + return this.__DataItem[this.__StackPointer]; +}; + +//DrawSelector('DIV的名字','select的名字','父级的值','JS函数'); //JS函数 如 window.alert(this.value) +function DrawSelector(divId,selectName,pid,optionOnChange) { + var gStack = new Stack(); + + //获得所有的结点 + function getAllItems() { + var oData = document.getElementById(divId).getElementsByTagName('li'); + return oData; + } + + //是否有孩子结点 + function hasChildItem(object) { + if (object == null) + return false; + + var hasChild = false; + var oData = getAllItems(); + if (oData != null) { + for ( var i = 0; i < oData.length; i++) { + if (oData[i].title == object.id) + hasChild = true; + } + } + return hasChild; + } + + //获得孩子结点 + function getChildren(object) { + if (object != null) { + var children = new Array(); + var oData = getAllItems(); + for ( var i = 0; i < oData.length; i++) { + if (object.id == oData[i].title) + children.push(oData[i]); + } + return children; + } else { + return null; + } + } + + //求出所有父级的节点 + function getTopLevelItems() { + var obj = new Array(); + var oData = getAllItems(); + for ( var i = 0; i < oData.length; i++) { +// if ((oData[i].title == '') || (oData[i].title == '0')) // 父结点为空或者为'0' + if (oData[i].title == pid) // 父结点为空 + obj.push(oData[i]); + } + return obj; + } + + + //生成树 + function BuildTree(object, iGrade, bolCont) { + var fla = hasChildItem(object); + + document.write(''); + + var oNodeTemp = getChildren(object); + if (fla) { + if (iGrade > 0) { + gStack.Pop(); + if (bolCont) + gStack.Push('│'); + else + gStack.Push(' '); + } + gStack.Push(' '); + for ( var iCnt = 0; iCnt < oNodeTemp.length; iCnt++) { + if (iCnt == oNodeTemp.length - 1) { + gStack.Push('└'); + BuildTree(oNodeTemp[iCnt], iGrade + 1, false); + gStack.Pop(); + } else { + gStack.Push('├'); + BuildTree(oNodeTemp[iCnt], iGrade + 1, true); + gStack.Pop(); + } + } + gStack.Pop(); + } + } + if(optionOnChange) + document.write ('' ); + document.write(''); + + var oData = getTopLevelItems(); // 所有父级为空的节点 + for ( var iCnt = 0; iCnt < oData.length; iCnt++) { + if (iCnt == oData.length - 1) { + BuildTree(oData[iCnt], 0, false); + } else { + BuildTree(oData[iCnt], 0, true); + } + } + document.write(''); + + +} + + + + + +//显示所有数据 +function showAllItems(divId) { + var oData = document.getElementById(divId).getElementsByTagName('li'); + var str = ""; + for ( var i = 0; i < oData.length; i++) { + str = str + oData[i].id + oData[i].title+oData[i].innerHTML; + } + alert(str); +} diff --git a/js/dialog.js b/js/dialog.js new file mode 100644 index 0000000..6c8655c --- /dev/null +++ b/js/dialog.js @@ -0,0 +1,138 @@ +// 取通过URL传过来的参数 (格式如 ?Param1=Value1&Param2=Value2) +var URLParams = new Object() ; +var aParams = document.location.search.substr(1).split('&') ; +for (i=0 ; i < aParams.length ; i++) { + var aParam = aParams[i].split('=') ; + URLParams[aParam[0]] = aParam[1] ; +} + +// 具有主窗口相同的配置信息 +var config; +try{ + config = dialogArguments.config; +} +catch(e){ +} + + +// 去空格,left,right,all可选 +function BaseTrim(str){ + lIdx=0;rIdx=str.length; + if (BaseTrim.arguments.length==2) + act=BaseTrim.arguments[1].toLowerCase() + else + act="all" + for(var i=0;i= 48) && (event.keyCode <= 57)); +} + +// 选颜色 +function SelectColor(what){ + var dEL = document.all("d_"+what); + var sEL = document.all("s_"+what); + var url = "selcolor.htm?color="+encodeURIComponent(dEL.value); + var arr = showModalDialog(url,window,"dialogWidth:280px;dialogHeight:250px;help:no;scroll:no;status:no"); + if (arr) { + dEL.value=arr; + sEL.style.backgroundColor=arr; + } +} + +// 选背景图 +function SelectImage(){ + showModalDialog("backimage.htm?action=other",window,"dialogWidth:350px;dialogHeight:210px;help:no;scroll:no;status:no"); +} + +// 搜索下拉框值与指定值匹配,并选择匹配项 +function SearchSelectValue(o_Select, s_Value){ + for (var i=0;i浏览', + //button_text_style: ".theFont { font-size: 14; }", + //button_text_left_padding: 12, + //button_text_top_padding: 3, + button_cursor: SWFUpload.CURSOR.HAND, + + // The event handler functions are defined in handlers.js + file_queued_handler : fileQueued, + file_queue_error_handler : fileQueueError, + //file_dialog_complete_handler : fileDialogComplete, + upload_start_handler : uploadStart, + upload_progress_handler : uploadProgress, + upload_error_handler : uploadError, + upload_success_handler : uploadSuccess, + upload_complete_handler : uploadComplete, + queue_complete_handler : queueComplete // Queue plugin event + }; + swfu = new SWFUpload(settings); +}); + +//触发文件上传 HuangTing 2012-04-26 +function start_upload(){ + if (swfu.getStats().files_queued > 0) { + swfu.setPostParams({ + 'categoryId': $("#categoryId").val(), + 'memo': $("#memo").val() + }); + swfu.startUpload(); + + } else { + $.jGrowl('请选择要上传的文件!'); + } +} + + diff --git a/js/jfile/add.js b/js/jfile/add.js new file mode 100644 index 0000000..13ddb58 --- /dev/null +++ b/js/jfile/add.js @@ -0,0 +1,82 @@ +/*! + * add_efile + * + * 上传文件的js + * HuangTing + * 2012-04-26 + */ + +var swfu; +// 页面加载数据 +$(document).ready(function() { + + // 检查SWFUpload是否可用 + if (typeof (SWFUpload) === "undefined") { + return; + } + + // 上传文件设置 + var setting ={ + upload_url: "upload",//http://127.0.0.1:8080/J2SHOP/console/jfile/ + //post_params: {"name" : "0"},//这个要有,原因未知 + file_post_name: "filedata", + + // File Upload Settings + file_size_limit : "10 MB", // 1000MB + //file_types : "*.*", + file_types :"*.gif;*.jpeg;*.jpg;*.png;*.bmp;*.swf",// "*.*", + //file_types_description : "所有文件", + file_types_description : "图片和Flash", + file_upload_limit : "0", + + file_queue_error_handler : fileQueueError, + file_dialog_complete_handler : fileDialogComplete,//选择好文件后提交 + file_queued_handler : fileQueued, + upload_progress_handler : uploadProgress, + upload_error_handler : uploadError, + upload_success_handler : uploadSuccess, + upload_complete_handler : uploadComplete, + + // Button Settings + button_image_url: "../../plugins/swfupload/font76x28.png", + button_placeholder_id : "spanButtonPlaceholder", + button_width: "76", + button_height: "28", + button_text : '', + button_text_style : '.button { font-family: Helvetica, Arial, sans-serif; font-size: 12pt; } .buttonSmall { font-size: 10pt; }', + button_text_top_padding: 0, + button_text_left_padding: 18, + button_window_mode: SWFUpload.WINDOW_MODE.TRANSPARENT, + button_cursor: SWFUpload.CURSOR.HAND, + + // Flash Settings + flash_url : "../../plugins/swfupload/swfupload.swf", + + custom_settings : { + upload_target : "divFileProgressContainer" + }, + // Debug Settings + debug: false //是否显示调试窗口 + }; + swfu = new SWFUpload(setting); +}); + + +function startUploadFile(){ + swfu.startUpload(); +} + +// 触发文件上传 +function start_upload() { + if (swfu.getStats().files_queued > 0) { + swfu.setPostParams({ + 'entityState' : $("#entityState").val(), + 'kind' : $("#kind").val(), + 'name' : "0" //这个要有,原因未知 + }); + swfu.startUpload(); + + } else { + $.jGrowl('请选择要上传的文件!'); + } +} diff --git a/js/log/log.js b/js/log/log.js new file mode 100644 index 0000000..88a1205 --- /dev/null +++ b/js/log/log.js @@ -0,0 +1,7 @@ +//清空日志 +function clean() +{ + if(confirm("操作不可恢复,您确定删除吗?")){ + location.href="clean?href="+getHref(); + } +} \ No newline at end of file diff --git a/js/manager_left.js b/js/manager_left.js new file mode 100644 index 0000000..eabdff3 --- /dev/null +++ b/js/manager_left.js @@ -0,0 +1,16 @@ +// JavaScript Document +function showsubmenu(sid) +{ + whichEl = eval("submenu" + sid); + menuTitle = eval("menuTitle" + sid); + if (whichEl.style.display == "none") + { + eval("submenu" + sid + ".style.display=\"\";"); + menuTitle.background="images/title_bg_hide.gif"; + } + else + { + eval("submenu" + sid + ".style.display=\"none\";"); + menuTitle.background="images/title_bg_show.gif"; + } +} \ No newline at end of file diff --git a/js/menu.js b/js/menu.js new file mode 100644 index 0000000..ff2106d --- /dev/null +++ b/js/menu.js @@ -0,0 +1,54 @@ +//var menuNumber =14; //菜单数量 + + function showdrop(id) { + for ( var j = 1; j <= menuNumber; j++) { + var a = document.getElementById("ul" + j); + if (a.id == id) { + + a.style.display = "inline"; + } else + a.style.display = "none"; + } + + } + function hidedrop(drop) { + var drop_div = document.getElementById(drop); + drop_div.style.display = "none"; + } + + function setlis(tid, href) { + for ( var j = 1; j <= menuNumber; j++) { + var a = document.getElementById("ul" + j) + .getElementsByTagName("li"); + + for ( var i = 0; i < a.length; i++) { + if (a[i].id == tid) { + //a[i].style.background="#19BBEB"; + a[i].style.color = "#00688B"; + //a[i].getElementsByTagName("a")[0].style.color="#00688B"; + + } else { + //a[i].style.background="#EEFFFF"; + //a[i].getElementsByTagName("a")[0].style.color="#19AADA"; + a[i].style.color = "#19AADA"; + } + } + } + //parent.frames.main.location.href = href;//如果是framset方式 + window.location.href = href;//如果是sitemesh方式 + } + + function setli(tid) { + for ( var j = 1; j <= menuNumber; j++) { + var a = document.getElementById("ul" + j) + .getElementsByTagName("li"); + + for ( var i = 0; i < a.length; i++) { + if (a[i].id == tid) { + a[i].style.color = "#00688B"; + } else { + a[i].style.color = "#19AADA"; + } + } + } + } \ No newline at end of file diff --git a/js/post.js b/js/post.js new file mode 100644 index 0000000..6247f47 --- /dev/null +++ b/js/post.js @@ -0,0 +1,179 @@ + + +/***************************************************** + * 函数名:DateCheck() + * 作 用:检查字符中是否在指定的大小范围内和是否含有非法字符 + * 参 数:date: 要检查的字符; + * minum: 字符最小的长度 + * maxnum: 字符最大的长度 + * 返回值:True: 数据不在指定范围内或含有非法字符 + * False: 数据在指定范围内且不含有非法字符 + ****************************************************** +*/ +function DateCheck(date,minnum,maxnum) +{ + if (date.length < minnum || date.length > maxnum ){ + window.alert("输入数据的长度不能少于 " + minnum + " 位并且不能大于 " + maxnum + " 位!"); + return true; + } + + a = date.indexOf("'"); + b = date.indexOf("|"); + c = date.indexOf("\""); + + if (a != -1||b != -1 ||c != -1){ + window.alert("您的输入含有特殊字符,请重新输入!"); + return true; + } + return false; +} + + +/***************************************************** + * 函数名: IsNum() + * 作 用:检查字符是否是纯数字 + * 参 数:str: 要检查的字符; + * 返回值:True: 是数字 + * False: 不是纯数字 + ****************************************************** +*/ +function IsNum(str) +{ + return !/\D/.test(str); +} + + +/***************************************************** + * 函数名: IsStr() + * 作 用:检查字符是否是字符 + * 参 数:str: 要检查的字符 + * 返回值:True: 是字符 + * False: 不是纯字符 + ****************************************************** +*/ +function IsStr(str) +{ + if (/[^\x00-\xff]/g.test(str)) + { + return false; + } + else + { + return true; + } +} + + +/***************************************************** + * 函数名:IsEmail() + * 作 用:检查Email地址是否合法 + * 参 数:date: 要检查的Email地址 + * 返回值:True: Email 地址合法 + * False:Email 地址不合法 + ***************************************************** +*/ +function IsEmail(vEMail) +{ + var regInvalid=/(@.*@)|(\.\.)|(@\.)|(\.@)|(^\.)/; + var regValid=/^.+\@(\[?)[a-zA-Z0-9\-\.]+\.([a-zA-Z]{2,3}|[0-9]{1,3})(\]?)$/; + return (!regInvalid.test(vEMail)&®Valid.test(vEMail)); +} + + + +/***************************************************** + * 函数名:CheckUser() + * 作 用:检查用户表单信息 + * 参 数:无 + * 返回值:True: 验证通过 + * False: 验证没有通过 + ****************************************************** +*/ +function CheckUser(){ + + var UserQQ = document.User.UserQQ.value; + if (UserQQ != "") + { + if(!IsNum(UserQQ)) + { + alert("您输入的QQ不是纯数字,如果没有QQ请不要填写!"); + document.User.UserQQ.focus(); + document.User.UserQQ.value = ""; + return false; + } + if(DateCheck(UserQQ,4,10)) + { + document.User.UserQQ.focus(); + document.User.UserQQ.value = ""; + return false; + } + } +} + + + + + +/***************************************************** + * 函数名:CheckModPwd() + * 作 用:修改密码表单数据验证 + * 参 数:无 + * 返回值:True: 验证通过 + * False: 验证没有通过 + ***************************************************** +*/ +function CheckModPwd() +{ + var OldPwd = document.User.OldPwd.value; + if (OldPwd == "") { + alert("请输入你的旧密码!"); + document.User.OldPwd.focus(); + return false; + } + + if(DateCheck(OldPwd,4,16)){ + document.User.OldPwd.focus(); + document.User.OldPwd.value = ""; + return false; + } + + var AdminPwd = document.User.AdminPwd.value; + if (AdminPwd == "") { + alert("新密码不能为空!"); + document.User.AdminPwd.focus(); + return false; + } + + if(DateCheck(AdminPwd,4,16)){ + document.User.AdminPwd.focus(); + document.User.AdminPwd.value = ""; + return false; + } + + var AdminPwd2 = document.User.AdminPwd2.value; + if (AdminPwd2 == "") { + alert("请确认新密码!"); + document.User.AdminPwd2.focus(); + return false; + } + + if(DateCheck(AdminPwd2,4,16)){ + document.User.AdminPwd2.focus(); + document.User.AdminPwd2.value = ""; + return false; + } + + if (AdminPwd != AdminPwd2) { + alert("你两次输入的密码不一致,请重输入!"); + document.User.AdminPwd.focus(); + document.User.AdminPwd.value = ""; + document.User.AdminPwd2.value = ""; + return false; + } + + return true; + } + + + + diff --git a/js/relRoleUser/relRoleUser.js b/js/relRoleUser/relRoleUser.js new file mode 100644 index 0000000..c1d5606 --- /dev/null +++ b/js/relRoleUser/relRoleUser.js @@ -0,0 +1,196 @@ +/** + * dictionary + * + * 角色用户关系管理模块js + * GT 2013-01-26 + * @since 2012-07-04 + */ + + +//角色用户关系删除 +function checkDelete(){ + var count = 0; + var size = document.forms[0].elements.length; + for(var i=0;i 0) { + swfu.setPostParams({ + 'entityState' : $("#entityState").val(), + 'kind' : $("#kind").val(), + 'name' : "0" //这个要有,原因未知 + }); + swfu.startUpload(); + + } else { + $.jGrowl('请选择要上传的文件!'); + } +} diff --git a/js/shop/console/order/order.js b/js/shop/console/order/order.js new file mode 100644 index 0000000..cf6d8d8 --- /dev/null +++ b/js/shop/console/order/order.js @@ -0,0 +1,59 @@ +/** + * 通用JS + * @author GT 2013 + */ + +// +// //确认订单 +// function confirmMulti() +// { +// var id = MultiX("ids","请勾选要确认的订单!"); +// if(id) { +// location.href="confirm/"+id+"?href="+getHref(); +// } +// } +// +// //发货订单 +// function shipMulti() +// { +// var id = MultiX("ids","请勾选要发货的订单!"); +// if(id) { +// location.href="ship/"+id+"?href="+getHref(); +// } +// } + + //确认单个订单 + function confirmSingle(id,entitySate) + { + if (entitySate==233) + alert("交易已经关闭,无法进行确认操作!"); + else if(entitySate==229) + location.href="confirm/"+id+"?href="+getHref(); + else if(entitySate==230) + alert("订单已经是确认状态!"); + else if(entitySate==231) + alert("订单已经是发货状态!"); + } + + //发货单个订单 + function shipSingle(id,entitySate) + { + if (entitySate==233) + alert("交易已经关闭,无法进行确认操作!"); + else if((entitySate==229)||(entitySate==230)) + location.href="ship/"+id+"?href="+getHref(); + else if(entitySate==231) + alert("订单已经是发货状态!"); + } + + //作废单个订单 + function closeSingle(id,entitySate) + { + if (entitySate==233) + alert("交易已经是关闭状态!"); + else if(confirm("订单关闭后将作废,您确定关闭吗?")){ + location.href="close/"+id+"?href="+getHref(); + } + } + + \ No newline at end of file diff --git a/js/showtable.js b/js/showtable.js new file mode 100644 index 0000000..6cc5d92 --- /dev/null +++ b/js/showtable.js @@ -0,0 +1,11 @@ +// JavaScript Document + + +function showtable(tableid) +{ +whichtable=eval("table"+tableid); +if(whichtable.style.display=="none") +{eval("table"+tableid+".style.display=\"\";");} +else +{eval("table"+tableid+".style.display=\"none\";");} +} \ No newline at end of file diff --git a/js/tplate/tplate.js b/js/tplate/tplate.js new file mode 100644 index 0000000..470d71f --- /dev/null +++ b/js/tplate/tplate.js @@ -0,0 +1,9 @@ + +//生成模版HTML +function makeTemplate() +{ + var id = MultiX("ids","请勾选要生成HTML的记录"); + if(id) { + location.href="makeTemplate/"+id+"?href="+getHref(); + }; +} \ No newline at end of file diff --git a/left.html b/left.html new file mode 100644 index 0000000..98853af --- /dev/null +++ b/left.html @@ -0,0 +1,21 @@ + +
           高级搜索
    +
    +
    +
    + + + + + + + +
    + 关键字: + +
    + +
    + +
    +
    diff --git a/readme.txt b/readme.txt new file mode 100644 index 0000000..29a04d8 --- /dev/null +++ b/readme.txt @@ -0,0 +1,126 @@ +捷兔网络官方网站 http://www.j2cms.com http://www.j2cms.org + +J2CMS是一个基于JavaEE平台的轻量极的敏捷开发架构,实现了一个内容管理系统,集成使用了Spring+ SpringMVC+ Hibernate + JPA + FreeMarker + MySQL 等技术。 + +开发环境: +eclipse-jee-juno-SR1-win32-x86_64 +JDK 1.6 +Apache tomcat 7.0 +MySQL 5.5 +系统依赖的其它jar包版本可以在lib目录里查看 + +使用方式: +直接安装部署在Tomcat等容器中: +1.将数据库文件(在根目录)j2cms.sql 导入数据库。 +  方法一,用MySQLAdministrator导入 +  方法二,用MySQL命令导入: + mysql> create database j2cms; + mysql> use j2cms; + mysql> source d:\j2cms.sql ; +2.将J2CMS拷贝到Tomcat的webapps目录. +3.修改配置文件 WEB-INF\classes\META-INF\persistence.xml 中的数据库配置信息 +4.修改配置文件 WEB-INF\classes\application.properties 中的数据库配置信息 +5.启动Tomcat,通过http://127.0.0.1:8080/J2CMS 访问主页 +6.管理后台路径 http://127.0.0.1:8080/J2CMS/login 测试帐号 admin 密码 admin +7.注意改变程序目录名,比如将J2CMS改为MyWeb后,需要在管理后台重新生成静态表页才能正常显示,生成静态页面的顺序是先生成首页静态文件,再生成栏目和文章的静态页面 +8.配置一个带域名的主机,以下是在tomcat的server.xml中配置一个Host的示例 + + www.j2cms.com + + + + + + + + +关注最新开发进度请加官方QQ群31309177 [已满] 154615448 [已满] 196170407 [已满] 117199347 + +what's new +================================= +2013.05.10 +1.增加文件管理模块 +================================= +2013.04.16 +1.将FCKEditor->CKEditor +================================= +2013.04.14 +1.全新的后台界面风格,感谢Lwite +2.修正若干BUG +3.去掉view里多余的页面 +4.兼容firefox +================================= +2013.03.20 +1.发布基于SpringMVC的J2CMS的安装包 +2.全新的功能和体验,是一个新的分支 +3.附带三套企业模版 +================================= +2013.02.20 +1.j2cms-SSH版本能够从非根目录启动 +2.若干bug修正 +================================= +2012.10.22 +1.当前版本的分支为j2cms-SSH +2.更新了SSH的版本,使用了当前最新的版本 +3.其它所有的依赖的jar包基本都升级到当前最新版本,去掉多余的jar包 +4.若干bug的修正 +5.log4j的调整 +6.整体性能大幅提升 +================================= +2012.3.25 +1.Struts2中Action类的泛型继承,架构上的重大改进 +2.首页,栏目,文章可以生成静态页面 +3.为全部实体增加系统日期和系统状态的属性,管理更加灵活 +4.修改系统配置后同时修改全局变量里的值 +5.用户注册唯一问题 +6.系统里所有表单的必填项的服务器端加强验证 +7.可自定义模版文件夹的路径 +8.采用了Alice作为UI的CSS模版 +9.大量代码重写,修复与改进。控制层的重新架构。 +10.整体性能大幅提升 +================================= +2012.2.11 +1.manage/left.ftl-> left.jsp +================================= +2012.2.8 +1.增加若干系统参数 + +2.java包启用org.j2cms + +3.增加用户注册 /register + +4.部分代码优化 + +================================= +2011.9.27 +1.加入Freemarker作为模版 +2.若干小修正 +================================= +2011.6.8 + +1.修改字体为Arial,Helvetica,sans-serif +================================= +2011.5.22 + +1.修正栏目访问统计量在更新后被清零的BUG; +2.修正发布文章的默认所属栏目为“全部”; + +================================= +2011.5.21 + +1.实现用户组权限管理; + +2.优化内容管理与用户管理模块的查询功能; + +3.用户密码字段加密; + +4.改写大量的程序代码,优化系统架构,修正若干BUG。 + +================================= +2011.4.8 + +1.添加用户组权限功能 +2.用户管理模块的查询功能 +================================== diff --git a/template/j2/css/cddh.css b/template/j2/css/cddh.css new file mode 100644 index 0000000..390c9b0 --- /dev/null +++ b/template/j2/css/cddh.css @@ -0,0 +1,48 @@ +@charset "utf-8"; +/* CSS Document */ +/*菜单导航*/ +/*------------------------------------------------top-------------------*/ + +#top{ + width:960px; + height:25px; + +} + +#top ul{ + float:left; + height:25px; + width:960px; + background:url(../images/0002.jpg) repeat-x ; +} +#top ul li{ + float:left; + font-size:0; + line-height:0; + LIST-STYLE-TYPE: none; +} +#top ul li a{ + display:block; + padding:1px 25px; + font:bold 12px/23px Arial, Helvetica, sans-serif; + /* + color:#6C6C6C; + */ + color:#fff; + text-decoration:none; +} +#top ul li a:hover{ + color:#fff; + background-color:#236fab; + font-size:15px; +} +#top ul li a.hover{ + display:block; + font:bold Arial, Helvetica, sans-serif; + color:#fff; + text-decoration:none; + cursor:text; +} +/*------------------------------------------------top--------------------*/ + + diff --git a/template/j2/css/channel.css b/template/j2/css/channel.css new file mode 100644 index 0000000..0ea93e4 --- /dev/null +++ b/template/j2/css/channel.css @@ -0,0 +1,96 @@ +@charset "utf-8"; +/* CSS Document */ + + +.left {/*页面左边 #cccccc*/ + margin:2px auto; + float:left; + width:240px; + height:600px; + z-index:2; + border:1px solid #CCCCCC; + background: #FFFFFF; +} + +.main1 {/*内部链接页面*/ + float:left; + width:714px; + height:auto; + margin:2px 0 0 2px; +} + + +/***************** 文章显示页面样式定义 **********************************************************************************/ +#ShowNews { + margin:0;width:100%; height:100%; background:#ffffff; border:1px solid #CCCCCC; + } + +#Pos { + margin:0;width:auto; height:18px; border-bottom:1px solid #CCCCCC; padding:8px 0px 8px 0px; text-align:left;background: #DEE8F2;font-size: 14px; +} +#Pos a:link { + text-decoration: none; + color:#000; +} +#Pos a:visited { + text-decoration: none; +} +#Pos a:hover { + color: #ff6600; text-decoration: underline; +} +#Pos a:active { + color:#60F; text-decoration: none +} + +#Content { + width:100%; + background-color:#FFFFFF; + font-family:"Arial,Helvetica,sans-serif"; +} +#Content #Title{ margin-top:15px;text-align:center; font-size:20px; font-weight:bold; color:#222222;} +#Content #info{ margin-top:10px;text-align:center; font-size:12px;color:#333333;} +#Content #NewsContent{ margin:20px; padding: 5px 5px 30px 20px;text-align:left; font-size:14px;color:#222222; border-top:1px solid #CCCCCC; line-height:20px;}; +/***************** 文章显示页面样式定义 end ********************************************************************************/ + + +/***************** 搜索显示页面样式定义 ************************************************************************************/ + +#sTitle1{ margin:0;width:auto; height:18px; border-bottom:1px solid #CCCCCC; padding:8px 0px 8px 0px; text-align:left;background:url(../images/title.gif) #DEE8F2 left no-repeat;} +#gjss{ margin:0;width:100%; height:18px;background:#DEE8F2; border-bottom:1px solid #CCCCCC;text-align:left;padding:8px 0 8px 0px; background:url(../images/title.gif) #DEE8F2 left no-repeat;} +#stFont{font-family: "Arial,Helvetica,sans-serif";font-size: 14px; color:#333333; font-weight:600;} + +/***************** 高级搜索表单样式定义 *****************/ +#HSearch { margin:0;width:240px;height:200px; padding:0 0 4px 0; text-align:left;} +#HSearch select,input{ + vertical-align:middle; + height:25px; + line-height:25px; +} +#HSearch .sbutton { font-size:12px;height:30px;} +#HSearch .sSelect { width:144px;height:30px;} +#HSearch .sText { width:140px;} +#HSearch span{ font-size:12px; color:#333333; height:22px; width:80px; padding:15px 0 5px 10px; text-align:right;} +#HSearch .sForm{ height:200px; width:240px; text-align:center;} + +/***************** 文章列表显示样式定义 *****************/ +#News {margin:0;width:700px;padding:10px 0px 10px 10px; text-align:left;} +#News ul {margin:0; padding:8px 0 8px;font-size:14px;color:#333333;text-decoration:none; text-align:left;} +#News li { list-style-type:none; padding:4px 0px 4px 10px; height:20px} +#News span{padding:0 0 0 6px; font-size:12px;color:#1f3a87;} /*时间显示样式*/ +#News li img{border-style:none;} + + +/**************** 信息提示字体样式定义 *****************/ +#F3{font-family: "Arial,Helvetica,sans-serif";font-size: 14px; color:#bc2931;} +/**************** 线条样式定义 **********************/ +#Line { padding-left:10px; height:1px;} +#L2{ margin: 5px 10px 5px 10px;width:96%; height:1px; border-bottom:1px dotted #CCCCCC;} + +/**************** 文章链接样式定义 ************************/ +#News A:link { COLOR: #333333; TEXT-DECORATION: none; font-size: 14px;} +#News A:visited {COLOR: #83006f; TEXT-DECORATION: none;font-size: 14px;} +#News A:active {COLOR: #bc2931; TEXT-DECORATION: none; font-size: 14px;} +#News A:hover {COLOR: #bc2931; TEXT-DECORATION: underline; font-size: 14px;} +/***************** 搜索显示页面样式定义 end********************************************************************************/ +.red_normal{color:#236fab; font-weight:normal;} + diff --git a/template/j2/css/common.css b/template/j2/css/common.css new file mode 100644 index 0000000..d534c11 --- /dev/null +++ b/template/j2/css/common.css @@ -0,0 +1,92 @@ +@charset "utf-8"; +/* CSS Document */ +.all-IE{property:value\9;} +:root .IE-9{property:value\0/;} +.gte-IE-8{property:value\0;} +.lte-IE-7{*property:value;} +.IE-7{+property:value;} +.IE-6{_property:value;} +.not-IE{property//:value;} +@-moz-document url-prefix() { .firefox{property:value;} } +@media all and (-webkit-min-device-pixel-ratio:0) { .webkit{property:value;} } +@media all and (-webkit-min-device-pixel-ratio:10000),not all and (-webkit-min-device-pixel-ratio:0) { .opera{property:value;} } +@media screen and (max-device-width: 480px) { .iphone-or-mobile-s-webkit{property:value;} } + + + +*{padding:0;margin:0} + +body { + background-color: #F3F3F3; + font-family: "微软雅黑"; + font-size: 12px; +} + +button,input,value { + font-family: "微软雅黑"; + vertical-align: middle; + height: 30px; + line-height: 28px; +} + +select { + font-family: "微软雅黑"; + vertical-align: middle; + height: 34px; + line-height: 33px; +} +textarea { + font-family: "微软雅黑"; +} + +img{ + vertical-align:middle; +} + +/* 错误提示Begin */ +.inputErrorStyle { + height: 30px; + border: #999 solid 1px; + background-color: #f4f5a7; +} + +/* 错误字体 */ +.errorStyle { + color: red; +} + +/**************/ + + +#container{/*页面主体*/ + width: 960px; + z-index:5; + margin-left:auto; + margin-right:auto; +} +.banner{/*页面头部图片*/ +/* float:left; + + width:1000px; + height:150px; +*/ +} + +#main {/*页面主体部分(放置页面链接)*/ + float:left; + margin-left:auto; + margin-right:auto; + width:960px; + height:auto; + z-index:2; + +} + +.copyright{ + margin:0; + clear:both; + float:left; + width:960px; +} + + diff --git a/template/j2/css/daohang.css b/template/j2/css/daohang.css new file mode 100644 index 0000000..5ce8b3f --- /dev/null +++ b/template/j2/css/daohang.css @@ -0,0 +1,55 @@ + + +ul { + list-style-type: none; +} + +.daohang { + width: 960px; + height: 43px; + float: left; + margin: 0px 0px 10px 0px; +} + +#nav,#nav ul,#nav ul li,#nav ul li a:hover,#nav .subnav,#nav .subnav p,#nav .subnav p span,#nav .subnav .arrow + { + background: url(../images/nav_bg.png) no-repeat; +} + +#nav { + position: relative; + width: 960px; + background-position: 0 -36px; + margin: 10px auto; +} + +#nav ul { + height: 36px; + line-height: 36px; + margin-left: 10px; + padding-right: 10px; + overflow: hidden; + background-position: right -72px; +} + +#nav ul li { + float: left; + width: 106px; + margin-left: -2px; + background-position: 0 -108px; +} + +#nav ul li a { + font-size: 14px; + color: #fff; + width: 102px; + display: block; + text-align: center; + text-decoration: none; + margin: 0 2px 0 4px; +} + +#nav ul li a:hover { + font-weight: 700; + background-position: -3px -144px; +} \ No newline at end of file diff --git a/template/j2/css/head.css b/template/j2/css/head.css new file mode 100644 index 0000000..9001874 --- /dev/null +++ b/template/j2/css/head.css @@ -0,0 +1,21 @@ +@charset "utf-8"; +/* CSS Document */ +*{padding:0;margin:0} + + +#head {/*页面头部*/ + margin:0px auto 0px auto; + float:left; + width:960px; + height:185px; +} +.banner{/*页面头部图片*/ + float:left; + width:960px; + height:160px; + background-image:url(../images/cs/1.jpg); + background-repeat:no-repeat; +} + + + diff --git a/template/j2/css/index.css b/template/j2/css/index.css new file mode 100644 index 0000000..345821e --- /dev/null +++ b/template/j2/css/index.css @@ -0,0 +1,21 @@ +#download{ + line-height: 22px; + width:273px; + height:242px; + font-size:12px; + padding-top:0px; + background:url(../images/download_bg.png) no-repeat; +} +#down { + height:180px; + padding: 47px 19px 19px; +} +#down .download_btn { + background: url(../images/download_btn.png) left top; + width:232px; + height:59px; + display:block; +} +#down .download_btn:hover { + background: url(../images/download_btn.png) left bottom; +} \ No newline at end of file diff --git a/template/j2/css/jquery.lightbox-0.5.css b/template/j2/css/jquery.lightbox-0.5.css new file mode 100644 index 0000000..0897206 --- /dev/null +++ b/template/j2/css/jquery.lightbox-0.5.css @@ -0,0 +1,101 @@ +/** + * jQuery lightBox plugin + * This jQuery plugin was inspired and based on Lightbox 2 by Lokesh Dhakar (http://www.huddletogether.com/projects/lightbox2/) + * and adapted to me for use like a plugin from jQuery. + * @name jquery-lightbox-0.5.css + * @author Leandro Vieira Pinho - http://leandrovieira.com + * @version 0.5 + * @date April 11, 2008 + * @category jQuery plugin + * @copyright (c) 2008 Leandro Vieira Pinho (leandrovieira.com) + * @license CCAttribution-ShareAlike 2.5 Brazil - http://creativecommons.org/licenses/by-sa/2.5/br/deed.en_US + * @example Visit http://leandrovieira.com/projects/jquery/lightbox/ for more informations about this jQuery plugin + */ +#jquery-overlay { + position: absolute; + top: 0; + left: 0; + z-index: 90; + width: 100%; + height: 500px; +} +#jquery-lightbox { + position: absolute; + top: 0; + left: 0; + width: 100%; + z-index: 100; + text-align: center; + line-height: 0; +} +#jquery-lightbox a img { border: none; } +#lightbox-container-image-box { + position: relative; + background-color: #fff; + width: 250px; + height: 250px; + margin: 0 auto; +} +#lightbox-container-image { padding: 10px; } +#lightbox-loading { + position: absolute; + top: 40%; + left: 0%; + height: 25%; + width: 100%; + text-align: center; + line-height: 0; +} +#lightbox-nav { + position: absolute; + top: 0; + left: 0; + height: 100%; + width: 100%; + z-index: 10; +} +#lightbox-container-image-box > #lightbox-nav { left: 0; } +#lightbox-nav a { outline: none;} +#lightbox-nav-btnPrev, #lightbox-nav-btnNext { + width: 49%; + height: 100%; + zoom: 1; + display: block; +} +#lightbox-nav-btnPrev { + left: 0; + float: left; +} +#lightbox-nav-btnNext { + right: 0; + float: right; +} +#lightbox-container-image-data-box { + font: 10px Verdana, Helvetica, sans-serif; + background-color: #fff; + margin: 0 auto; + line-height: 1.4em; + overflow: auto; + width: 100%; + padding: 0 10px 0; +} +#lightbox-container-image-data { + padding: 0 10px; + color: #666; +} +#lightbox-container-image-data #lightbox-image-details { + width: 70%; + float: left; + text-align: left; +} +#lightbox-image-details-caption { font-weight: bold; } +#lightbox-image-details-currentNumber { + display: block; + clear: left; + padding-bottom: 1.0em; +} +#lightbox-secNav-btnClose { + width: 66px; + float: right; + padding-bottom: 0.7em; +} \ No newline at end of file diff --git a/template/j2/css/register.css b/template/j2/css/register.css new file mode 100644 index 0000000..8e47ae6 --- /dev/null +++ b/template/j2/css/register.css @@ -0,0 +1,70 @@ + + + +/*****************************************************************************************************/ + + +/* global css */ +body{margin:0px;padding:0px;background-color:#ffc73f;} +.body_index{ margin:0 auto; color:#333; font-size:12px; font-family:'微软雅黑',Arial,Verdana,Sans-Serif; width:100%; height:100%; background:url(images/index_bg.png) no-repeat 0 0;} +.body_other{ margin:0 auto; color:#333; font-size:12px; font-family:'微软雅黑',Arial,Verdana,Sans-Serif; width:100%; background:url(images/bg.png) repeat-x 0 0;} +div,form,ul,ol,li,span,p{margin:0 auto; padding:0; border:0;} +img,a img{margin:0; padding:0; border:none; } +ul,ol,li{list-style:none;} +table,td,input{font-size:12px;} +.small_icon{vertical-align:middle;} +.mouse_change{cursor:pointer;} +.last_and_next{margin-top:20px;margin-right:35px;float:right;} +.clear{clear:both;font-size:1px;width:1px;height:0;visibility:hidden;margin-top:0px!important;*margin-top:-1px;line-height:0} + + +/* default link style */ +a:link, a:visited{outline-style:none; color:#222;text-decoration:none;} +a:hover{color:#335509; text-decoration:underline;} + +/* header */ +.header{ margin:0 auto; padding:0 0; width:960px; height:130px;} + +/* headerR */ +.headerR{ float:right; padding:0 0; width:500px; text-align:right;} + +/* tele_login_register */ +.tele_login_register{ margin-top:30px; font-size:15px; font-weight:bold;} + +/* shares */ +.shares {margin-top:27px;} + + + +/* login */ +.login{width:960px;height:400px;background-color:#fff;margin-top:20px;} +.login_container{width:860px;height:300px;padding-top:30px;vertical-align:middle;} +.login_title{font-size:18px;font-weight:bold;padding-left:50px;} +.login_line{height:3px;width:948px;background:url(../images/login_line.png) no-repeat 0 0;margin-top:10px;} +.login_body{height:300px;width:800px;margin-top:30px;padding-left:50px;line-height:50px;} +.login_left{float:left;} +#login_name ,#login_password{width:300px;height:25px;} +.login_right{float:right;margin-right:100px;text-align:center;} + + +/* register */ +.register{width:960px;height:500px;background-color:#fff;margin-top:20px;} +.register_container{width:860px;height:200px;padding-top:30px;vertical-align:middle;} +.register_title{font-size:18px;font-weight:bold;padding-left:50px;} +.register_line{height:3px;width:948px;background:url(../images/login_line.png) no-repeat 0 0;margin-top:10px;} +.register_body{height:200px;width:800px;margin-top:30px;padding-left:50px;line-height:50px;} +#register_name, #register_password ,#register_confirm_password, #register_nickname{width:300px;height:25px;} +#register_real_name, #register_phone{width:200px;height:25px;} +#register_address{width:500px;height:25px;} +#register_check{width:100px;height:25px;} + + +/* artical */ +.artical_container{width:960px;height:700px;margin-top:10px;} +.artical_title{font-size:22px; font-weight:bold;text-align:center;margin-bottom:50px;} +.artical_para_title{font-size:18px;font-weight:bold; text-align:left;margin-bottom:10px;margin-top:20px;} +.artical{width:858px;height:600px;background-color:#fff;border:1px solid #e98e01;float:left;padding:50px;line-height:30px;} +.artical_menu{background-color:#fff;border:1px solid #e98e01;float:right;height:300px;width:150px;} +.artical_line{height:2px;background-color:#ffc73f;} +.artical_menu_title{text-align:center;font-weight:bold;font-size:14px;padding:15px;background-color:#fffaeb;margin:1px 1px 1px 0px;} +.artical_menu_title a {text-decoration:none;} diff --git a/template/j2/css/style.css b/template/j2/css/style.css new file mode 100644 index 0000000..7a4cdd5 --- /dev/null +++ b/template/j2/css/style.css @@ -0,0 +1,116 @@ +/* +Version: 1.0 +Author: 清风银时 +Description: 银时出品,必属精品 +*/ + +/**************************************************************/ +/*SAMPLE-B*/ +#slide_b { margin-right:5px;position:relative;width:680px; height:240px; overflow:hidden; border:1px solid #ccc; float:left } +#slide_b img{width:680px; height:240px} +#slide_b .ico_b{position:absolute; right:8px;bottom:6px} +#slide_b .ico_b li{background:#fff;float:left;display:block; width:15px; height:15px; line-height:15px;border:1px solid #cecece;font-family:Arial, Helvetica, sans-serif;text-align:center;margin:2px; padding: 1px;cursor:pointer} +#slide_b .ico_b li.high_b{background:#a40000;color:#fff;font-weight:bolder} +/**************************************************************/ + +/* global css */ +body{ margin:0 auto; background-color:#e6eae4; color:#333; font-size:12px; font-family:'宋体',Arial,Verdana,Sans-Serif;} +div,form,ul,ol,li,span,p{margin:0 auto; padding:0; border:0;} +img,a img{margin:0; padding:0; border:none;} +ul,ol,li{list-style:none;} +h1,h2,h3,h4,h5,h6{ margin:0 auto;} +h1 {font-size:28px;} +h2 {font-size:22px;} +h3 {font-size:16px;} +h4 {font-size:12px;} +h5 {font-size:14px;} +h6 {font-size:14px;} + + +.decro_font{color:#ffae00;font-weight:bold;} + +.clear{width:960px; height:8px;float:left;} +.border_image{border-bottom:1px solid #e3e3e3;border-right:1px solid #e3e3e3;} +.index_date{font-size:12px;color:#f46f51;float:right;} +.index_title_right{font-size:12px;color:#f46f51;float:right;padding-right:8px;padding-top:8px;} + +.top{width:100%;height:35px;background:url(../images/topBg.png) no-repeat 0 0;border-bottom:1px solid #ddd;} +.top_container{width:960px;color:#fff;color:#555;} +.top_right{width:600px;text-align:right;float:right;margin-top:8px;} + +.header{width:960px;} +.header_logo{width:400px;height:86px;float:left;background:url(../images/logo.png) no-repeat 0 0;margin-left:20px;margin-top:20px;} +.header_right{width:500px;height:20px;margin-top:25px;float:left;margin-left:10px;font-size:12px;text-align:right;} +.header_daohang{width:960px; height:30px;float:left;} +.menu_title{margin-top:10px;margin-left:20px;font-size:14px;color:#fff;float:left;} +.header_QQ{margin-bottom:15px;font-size:16px;color:#bd1515;font-weight:bold;} + + +.footer{width:960px;float:left;background-color:#fff;} +.footer_body{width:900px;float:left;margin-left:30px;margin-top:10px;} +.beian{width:600px;float:left;height:20px;margin-top:5px;font-size:12px;} +.copyright{width:100px;float:right;height:30px;font-size:12px;margin-top:5px;margin-left:200px;} +.footer_logo{float:left;} +.footer_line{float:left;margin-top:10px;} +.footer_link{float:right;margin-top:30px;margin-bottom:10px;} + +.all{margin:0 auto;width:960px;} +.container{width:960px;float:left;} +.slider_show{width:680px;height:240px;border-bottom:1px solid #e3e3e3;border-right:1px solid #e3e3e3;float:left;background-color:#fff;} + +.index_container_font{font-size:12px;color:#666;padding-left:10px;} + +.index_announce{width:270px;height:194px;border-bottom:1px solid #e3e3e3;border-right:1px solid #e3e3e3;float:left;background-color:#fff;margin-left:8px;margin-bottom:10px;} +.index_announce_titleBg, .index_versionAndTeach_titleBg{width:268px;height:30px;background-color:#f7f7f7;border-bottom:1px solid #e6e6e6;} +.index_announce_title1, .index_introduce_title1, .index_versionAndTeach_title1, .index_example_title1{width:77px; height:28px;background:url(../images/title_imageBg.png) no-repeat 0 0;padding:3px 1px 0px 8px;font-size:14px;color:#fff;float:left;margin-top:4px;margin-left:3px;} +.index_announce_title2, .index_introduce_title2, .index_versionAndTeach_title2, .index_example_title2{height:28px;padding:3px 1px 0px 0px;font-size:14px;color:#3386cc;float:left;margin-top:4px;} +.index_announce_body , .index_versionAndTeach_body{width:250px;padding-top:20px;overflow:hidden;line-height:25px;padding-left:10px;float:left;} + +.container a{ + text-decoration:none; + color:#666; +} +.container a:visited{ + text-decoration:none; + color:#666; +} +.container a:hover{ + text-decoration:underline; +} + +.index_introduce{width:680px;height:400px;border-bottom:1px solid #e3e3e3;border-right:1px solid #e3e3e3;float:left;background-color:#fff;} +.index_introduce_titleBg, .index_example_titleBg{width:678px;height:30px;background-color:#f7f7f7;border-bottom:1px solid #e6e6e6;float:left;} +.index_introduce_font{padding-top:5px;line-height:25px;color:#777;text-align:left;} +.index_introduce_list{padding-left:40px;padding-top:35px;width:115px;height:85px;float:left;text-align:center;margin-bottom:40px;} + +.index_other{width:335px;height:194px;border-bottom:1px solid #e3e3e3;border-right:1px solid #e3e3e3;float:left;background-color:#fff;margin-bottom:10px;margin-right:8px;} +.index_other_titleBg{width:335px;height:30px;background-color:#f7f7f7;border-bottom:1px solid #e6e6e6;} +.index_other_title1{width:77px; height:28px;background:url(../images/title_imageBg.png) no-repeat 0 0;padding:3px 1px 0px 8px;font-size:14px;color:#fff;float:left;margin-top:4px;margin-left:3px;} +.index_other_title2{height:28px;padding:3px 1px 0px 0px;font-size:14px;color:#3386cc;float:left;margin-top:4px;} +.index_other_body{width:310px;padding-top:20px;overflow:hidden;line-height:25px;padding-left:10px;float:left;} + + +.index_article{width:270px;height:194px;border-bottom:1px solid #e3e3e3;border-right:1px solid #e3e3e3;float:left;background-color:#fff;margin-bottom:10px;} +.index_article_titleBg, .index_versionAndTeach_titleBg{width:268px;height:30px;background-color:#f7f7f7;border-bottom:1px solid #e6e6e6;} +.index_article_title1, .index_introduce_title1, .index_versionAndTeach_title1, .index_example_title1{width:77px; height:28px;background:url(../images/title_imageBg.png) no-repeat 0 0;padding:3px 1px 0px 8px;font-size:14px;color:#fff;float:left;margin-top:4px;margin-left:3px;} +.index_article_title2, .index_introduce_title2, .index_versionAndTeach_title2, .index_example_title2{height:28px;padding:3px 1px 0px 0px;font-size:14px;color:#3386cc;float:left;margin-top:4px;} +.index_article_body , .index_versionAndTeach_body{width:250px;padding-top:20px;overflow:hidden;line-height:25px;padding-left:10px;float:left;} + + +.index_download{width:270px;height:240px;background:url(../images/index_downloadBg.png) no-repeat 0 0;float:left;margin-left:8px;} +.index_download_title{width:270px;text-align:center;line-height:30px;font-size:16px;font-weight:bold;margin-top:25px;margin-bottom:5px;color:#1bb72e;} +.index_download_body{line-height:25px;margin-left:40px;margin-top:5px;} + +.index_example{width:960px;height:210px;border-bottom:1px solid #e3e3e3;border-right:1px solid #e3e3e3;float:left;background-color:#fff;} +.index_example_block{padding-left:5px;padding-top:15px;width:120px;height:180px;float:left; text-align:center;} +.index_example_font{padding-top:5px;line-height:25px;color:#777;} +.index_example_titleBg{width:960px;height:30px;background-color:#f7f7f7;border-bottom:1px solid #e6e6e6;float:left;} + +.subPage_sidebar_search{width:200px;height:100px;border-bottom:1px solid #e3e3e3;border-right:1px solid #e3e3e3;float:left;background-color:#fff;} + + +.subPage_sidebar_contactUs{width:200px;height:240px;border-bottom:1px solid #e3e3e3;border-right:1px solid #e3e3e3;float:left;background-color:#fff;} +.subPage_sidebar_contactUs_titleBg, .subPage_sidebar_search_titleBg{width:198px;height:30px;background-color:#f6f6f6;border-bottom:1px solid #e6e6e6;} +.subPage_sidebar_contactUs_title, .subPage_sidebar_search_title{padding-left:15px;padding-top:10px;font-size:16px;color:#fff;} +.subPage_sidebar_body{padding-left:20px;padding-top:20px;line-height:25px;color:#777;} +.subPage_sidebar_body ul{font-weight:bold;} \ No newline at end of file diff --git a/template/j2/images/0002.jpg b/template/j2/images/0002.jpg new file mode 100644 index 0000000..d73ece9 Binary files /dev/null and b/template/j2/images/0002.jpg differ diff --git a/template/j2/images/QQ.png b/template/j2/images/QQ.png new file mode 100644 index 0000000..3f0729f Binary files /dev/null and b/template/j2/images/QQ.png differ diff --git a/template/j2/images/arrow5.gif b/template/j2/images/arrow5.gif new file mode 100644 index 0000000..4698947 Binary files /dev/null and b/template/j2/images/arrow5.gif differ diff --git a/template/j2/images/big/1.jpg b/template/j2/images/big/1.jpg new file mode 100644 index 0000000..a01f779 Binary files /dev/null and b/template/j2/images/big/1.jpg differ diff --git a/template/j2/images/big/banner.png b/template/j2/images/big/banner.png new file mode 100644 index 0000000..f9070ab Binary files /dev/null and b/template/j2/images/big/banner.png differ diff --git a/template/j2/images/coffee.png b/template/j2/images/coffee.png new file mode 100644 index 0000000..ec90c68 Binary files /dev/null and b/template/j2/images/coffee.png differ diff --git a/template/j2/images/course.png b/template/j2/images/course.png new file mode 100644 index 0000000..64d8283 Binary files /dev/null and b/template/j2/images/course.png differ diff --git a/template/j2/images/daohang.png b/template/j2/images/daohang.png new file mode 100644 index 0000000..147fdc4 Binary files /dev/null and b/template/j2/images/daohang.png differ diff --git a/template/j2/images/daohang/daohang2_01.png b/template/j2/images/daohang/daohang2_01.png new file mode 100644 index 0000000..24f7cee Binary files /dev/null and b/template/j2/images/daohang/daohang2_01.png differ diff --git a/template/j2/images/daohang/daohang2_02.png b/template/j2/images/daohang/daohang2_02.png new file mode 100644 index 0000000..597e359 Binary files /dev/null and b/template/j2/images/daohang/daohang2_02.png differ diff --git a/template/j2/images/daohang/daohang2_03.png b/template/j2/images/daohang/daohang2_03.png new file mode 100644 index 0000000..0cafa5b Binary files /dev/null and b/template/j2/images/daohang/daohang2_03.png differ diff --git a/template/j2/images/daohang/daohang2_04.png b/template/j2/images/daohang/daohang2_04.png new file mode 100644 index 0000000..39edf2c Binary files /dev/null and b/template/j2/images/daohang/daohang2_04.png differ diff --git a/template/j2/images/daohang/daohang2_05.png b/template/j2/images/daohang/daohang2_05.png new file mode 100644 index 0000000..00a7986 Binary files /dev/null and b/template/j2/images/daohang/daohang2_05.png differ diff --git a/template/j2/images/daohang/daohang2_06.png b/template/j2/images/daohang/daohang2_06.png new file mode 100644 index 0000000..0495290 Binary files /dev/null and b/template/j2/images/daohang/daohang2_06.png differ diff --git a/template/j2/images/daohang/daohang2_07.png b/template/j2/images/daohang/daohang2_07.png new file mode 100644 index 0000000..4cba23a Binary files /dev/null and b/template/j2/images/daohang/daohang2_07.png differ diff --git a/template/j2/images/daohang/daohang2_08.png b/template/j2/images/daohang/daohang2_08.png new file mode 100644 index 0000000..99fb982 Binary files /dev/null and b/template/j2/images/daohang/daohang2_08.png differ diff --git a/template/j2/images/daohang/daohang2_09.png b/template/j2/images/daohang/daohang2_09.png new file mode 100644 index 0000000..75837f0 Binary files /dev/null and b/template/j2/images/daohang/daohang2_09.png differ diff --git a/template/j2/images/daohang/daohang_01.png b/template/j2/images/daohang/daohang_01.png new file mode 100644 index 0000000..726eec8 Binary files /dev/null and b/template/j2/images/daohang/daohang_01.png differ diff --git a/template/j2/images/daohang/daohang_02.png b/template/j2/images/daohang/daohang_02.png new file mode 100644 index 0000000..c08be48 Binary files /dev/null and b/template/j2/images/daohang/daohang_02.png differ diff --git a/template/j2/images/daohang/daohang_03.png b/template/j2/images/daohang/daohang_03.png new file mode 100644 index 0000000..2105dab Binary files /dev/null and b/template/j2/images/daohang/daohang_03.png differ diff --git a/template/j2/images/daohang/daohang_04.png b/template/j2/images/daohang/daohang_04.png new file mode 100644 index 0000000..486e57f Binary files /dev/null and b/template/j2/images/daohang/daohang_04.png differ diff --git a/template/j2/images/daohang/daohang_05.png b/template/j2/images/daohang/daohang_05.png new file mode 100644 index 0000000..fed084a Binary files /dev/null and b/template/j2/images/daohang/daohang_05.png differ diff --git a/template/j2/images/daohang/daohang_06.png b/template/j2/images/daohang/daohang_06.png new file mode 100644 index 0000000..36c8e65 Binary files /dev/null and b/template/j2/images/daohang/daohang_06.png differ diff --git a/template/j2/images/daohang/daohang_07.png b/template/j2/images/daohang/daohang_07.png new file mode 100644 index 0000000..1339949 Binary files /dev/null and b/template/j2/images/daohang/daohang_07.png differ diff --git a/template/j2/images/daohang/daohang_08.png b/template/j2/images/daohang/daohang_08.png new file mode 100644 index 0000000..ffc6539 Binary files /dev/null and b/template/j2/images/daohang/daohang_08.png differ diff --git a/template/j2/images/daohang/daohang_09.png b/template/j2/images/daohang/daohang_09.png new file mode 100644 index 0000000..d1d3683 Binary files /dev/null and b/template/j2/images/daohang/daohang_09.png differ diff --git a/template/j2/images/home.png b/template/j2/images/home.png new file mode 100644 index 0000000..18b1fee Binary files /dev/null and b/template/j2/images/home.png differ diff --git a/template/j2/images/index_announce.png b/template/j2/images/index_announce.png new file mode 100644 index 0000000..aa4a8c5 Binary files /dev/null and b/template/j2/images/index_announce.png differ diff --git a/template/j2/images/index_download.png b/template/j2/images/index_download.png new file mode 100644 index 0000000..bbfd4ff Binary files /dev/null and b/template/j2/images/index_download.png differ diff --git a/template/j2/images/index_downloadBg.png b/template/j2/images/index_downloadBg.png new file mode 100644 index 0000000..f845ef9 Binary files /dev/null and b/template/j2/images/index_downloadBg.png differ diff --git a/template/j2/images/index_download_btn.png b/template/j2/images/index_download_btn.png new file mode 100644 index 0000000..b4de8b6 Binary files /dev/null and b/template/j2/images/index_download_btn.png differ diff --git a/template/j2/images/index_introduce_1.png b/template/j2/images/index_introduce_1.png new file mode 100644 index 0000000..301122c Binary files /dev/null and b/template/j2/images/index_introduce_1.png differ diff --git a/template/j2/images/index_introduce_2.png b/template/j2/images/index_introduce_2.png new file mode 100644 index 0000000..118a519 Binary files /dev/null and b/template/j2/images/index_introduce_2.png differ diff --git a/template/j2/images/index_introduce_3.png b/template/j2/images/index_introduce_3.png new file mode 100644 index 0000000..a3f303e Binary files /dev/null and b/template/j2/images/index_introduce_3.png differ diff --git a/template/j2/images/index_introduce_4.png b/template/j2/images/index_introduce_4.png new file mode 100644 index 0000000..2a6fc3b Binary files /dev/null and b/template/j2/images/index_introduce_4.png differ diff --git a/template/j2/images/index_introduce_5.png b/template/j2/images/index_introduce_5.png new file mode 100644 index 0000000..a4c469f Binary files /dev/null and b/template/j2/images/index_introduce_5.png differ diff --git a/template/j2/images/index_introduce_6.png b/template/j2/images/index_introduce_6.png new file mode 100644 index 0000000..d514387 Binary files /dev/null and b/template/j2/images/index_introduce_6.png differ diff --git a/template/j2/images/index_introduce_7.png b/template/j2/images/index_introduce_7.png new file mode 100644 index 0000000..b5d7fe7 Binary files /dev/null and b/template/j2/images/index_introduce_7.png differ diff --git a/template/j2/images/index_introduce_8.png b/template/j2/images/index_introduce_8.png new file mode 100644 index 0000000..ff31ae1 Binary files /dev/null and b/template/j2/images/index_introduce_8.png differ diff --git a/template/j2/images/index_success1.png b/template/j2/images/index_success1.png new file mode 100644 index 0000000..c19dd18 Binary files /dev/null and b/template/j2/images/index_success1.png differ diff --git a/template/j2/images/index_success2.png b/template/j2/images/index_success2.png new file mode 100644 index 0000000..cd00cbf Binary files /dev/null and b/template/j2/images/index_success2.png differ diff --git a/template/j2/images/index_success3.png b/template/j2/images/index_success3.png new file mode 100644 index 0000000..3c9ff06 Binary files /dev/null and b/template/j2/images/index_success3.png differ diff --git a/template/j2/images/index_success4.png b/template/j2/images/index_success4.png new file mode 100644 index 0000000..9f60e9c Binary files /dev/null and b/template/j2/images/index_success4.png differ diff --git a/template/j2/images/index_success5.png b/template/j2/images/index_success5.png new file mode 100644 index 0000000..8e958db Binary files /dev/null and b/template/j2/images/index_success5.png differ diff --git a/template/j2/images/index_teach.png b/template/j2/images/index_teach.png new file mode 100644 index 0000000..cfeee22 Binary files /dev/null and b/template/j2/images/index_teach.png differ diff --git a/template/j2/images/index_versionAndTeach.png b/template/j2/images/index_versionAndTeach.png new file mode 100644 index 0000000..01a76e7 Binary files /dev/null and b/template/j2/images/index_versionAndTeach.png differ diff --git a/template/j2/images/j2-logo.png b/template/j2/images/j2-logo.png new file mode 100644 index 0000000..fb6f063 Binary files /dev/null and b/template/j2/images/j2-logo.png differ diff --git a/template/j2/images/line.png b/template/j2/images/line.png new file mode 100644 index 0000000..356ce34 Binary files /dev/null and b/template/j2/images/line.png differ diff --git a/template/j2/images/login_icon.png b/template/j2/images/login_icon.png new file mode 100644 index 0000000..9d1f421 Binary files /dev/null and b/template/j2/images/login_icon.png differ diff --git a/template/j2/images/login_line.png b/template/j2/images/login_line.png new file mode 100644 index 0000000..7444c29 Binary files /dev/null and b/template/j2/images/login_line.png differ diff --git a/template/j2/images/login_submit.png b/template/j2/images/login_submit.png new file mode 100644 index 0000000..1190fca Binary files /dev/null and b/template/j2/images/login_submit.png differ diff --git a/template/j2/images/logo.png b/template/j2/images/logo.png new file mode 100644 index 0000000..7ca23a3 Binary files /dev/null and b/template/j2/images/logo.png differ diff --git a/template/j2/images/more.png b/template/j2/images/more.png new file mode 100644 index 0000000..0fdebfe Binary files /dev/null and b/template/j2/images/more.png differ diff --git a/template/j2/images/nav_bg.png b/template/j2/images/nav_bg.png new file mode 100644 index 0000000..4336cc7 Binary files /dev/null and b/template/j2/images/nav_bg.png differ diff --git a/template/j2/images/shu.png b/template/j2/images/shu.png new file mode 100644 index 0000000..2f45353 Binary files /dev/null and b/template/j2/images/shu.png differ diff --git a/template/j2/images/slider_show1.png b/template/j2/images/slider_show1.png new file mode 100644 index 0000000..90f0fb1 Binary files /dev/null and b/template/j2/images/slider_show1.png differ diff --git a/template/j2/images/tele.png b/template/j2/images/tele.png new file mode 100644 index 0000000..7f27f1b Binary files /dev/null and b/template/j2/images/tele.png differ diff --git a/template/j2/images/title_imageBg.png b/template/j2/images/title_imageBg.png new file mode 100644 index 0000000..963c014 Binary files /dev/null and b/template/j2/images/title_imageBg.png differ diff --git a/template/j2/images/top1.png b/template/j2/images/top1.png new file mode 100644 index 0000000..fdb5c80 Binary files /dev/null and b/template/j2/images/top1.png differ diff --git a/template/j2/images/top2.png b/template/j2/images/top2.png new file mode 100644 index 0000000..89f0ba5 Binary files /dev/null and b/template/j2/images/top2.png differ diff --git a/template/j2/images/top3.png b/template/j2/images/top3.png new file mode 100644 index 0000000..c163f4b Binary files /dev/null and b/template/j2/images/top3.png differ diff --git a/template/j2/images/top4.png b/template/j2/images/top4.png new file mode 100644 index 0000000..a45a134 Binary files /dev/null and b/template/j2/images/top4.png differ diff --git a/template/j2/images/top5.png b/template/j2/images/top5.png new file mode 100644 index 0000000..1fdf22e Binary files /dev/null and b/template/j2/images/top5.png differ diff --git a/template/j2/images/topBg.png b/template/j2/images/topBg.png new file mode 100644 index 0000000..409093f Binary files /dev/null and b/template/j2/images/topBg.png differ diff --git a/template/j2/images/top_bg.jpg b/template/j2/images/top_bg.jpg new file mode 100644 index 0000000..392c9a3 Binary files /dev/null and b/template/j2/images/top_bg.jpg differ diff --git a/template/j2/js/DrawImage.js b/template/j2/js/DrawImage.js new file mode 100644 index 0000000..08b87f9 --- /dev/null +++ b/template/j2/js/DrawImage.js @@ -0,0 +1,51 @@ +function setimg(obj, maxw, maxh) +{ + var imgw = jQuery(obj).width(); + var imgh = jQuery(obj).height(); + if(imgw > maxw || imgh > maxh){ + a=imgw/maxw; b=imgh/maxh; + if(b>a) a=b; + imgw=imgw/a; imgh=imgh/a; + } + jQuery(obj).css({"width":imgw,"height":imgh,"marginTop":Math.ceil(maxh-imgh)/2,"marginLeft":Math.ceil(maxw-imgw)/2}); +} + +/* +var flag=false; +function setimg(ImgD,p_width,p_height){ + var image=new Image(); + image.src=ImgD.src; + //Ҫ + var needwidth=p_width; + //Ҫ߶ + var needheight=p_height; + if(image.width>0 && image.height>0){ + flag=true; + //image.width/image.height>= needwidth/needheightʾǵǰͼƬǿ>߶ + if(image.width/image.height>= needwidth/needheight){ + if(image.width>needwidth){ + ImgD.width=needwidth; + ImgD.height=(image.height*needwidth)/image.width; + ImgD.style.marginTop=Math.ceil(needheight-ImgD.height)/2; + ImgD.style.marginLeft=Math.ceil(needwidth-ImgD.width)/2; + }else{ + ImgD.width=image.width; + ImgD.height=image.height; + + } + + } + else{ + if(image.height>needheight){ + ImgD.height=needheight; + ImgD.width=(image.width*needheight)/image.height; + ImgD.style.marginTop=Math.ceil(needheight-ImgD.height)/2; + ImgD.style.marginLeft=Math.ceil(needwidth-ImgD.width)/2; + }else{ + ImgD.width=image.width; + ImgD.height=image.height; + } + + } + } +}*/ \ No newline at end of file diff --git a/template/j2/js/ScrollPic.js b/template/j2/js/ScrollPic.js new file mode 100644 index 0000000..0366c58 --- /dev/null +++ b/template/j2/js/ScrollPic.js @@ -0,0 +1,6 @@ +var sina={$:function(objName){if(document.getElementById){return eval('document.getElementById("'+objName+'")')}else{return eval('document.all.'+objName)}},isIE:navigator.appVersion.indexOf("MSIE")!=-1?true:false,addEvent:function(l,i,I){if(l.attachEvent){l.attachEvent("on"+i,I)}else{l.addEventListener(i,I,false)}},delEvent:function(l,i,I){if(l.detachEvent){l.detachEvent("on"+i,I)}else{l.removeEventListener(i,I,false)}},readCookie:function(O){var o="",l=O+"=";if(document.cookie.length>0){var i=document.cookie.indexOf(l);if(i!=-1){i+=l.length;var I=document.cookie.indexOf(";",i);if(I==-1)I=document.cookie.length;o=unescape(document.cookie.substring(i,I))}};return o},writeCookie:function(i,l,o,c){var O="",I="";if(o!=null){O=new Date((new Date).getTime()+o*3600000);O="; expires="+O.toGMTString()};if(c!=null){I=";domain="+c};document.cookie=i+"="+escape(l)+O+I},readStyle:function(I,l){if(I.style[l]){return I.style[l]}else if(I.currentStyle){return I.currentStyle[l]}else if(document.defaultView&&document.defaultView.getComputedStyle){var i=document.defaultView.getComputedStyle(I,null);return i.getPropertyValue(l)}else{return null}}}; + +//ͼƬ캯 +//UI&UE Dept. mengjia +//080623 +function ScrollPic(scrollContId,arrLeftId,arrRightId,dotListId){this.scrollContId=scrollContId;this.arrLeftId=arrLeftId;this.arrRightId=arrRightId;this.dotListId=dotListId;this.dotClassName="dotItem";this.dotOnClassName="dotItemOn";this.dotObjArr=[];this.pageWidth=0;this.frameWidth=0;this.speed=10;this.space=10;this.pageIndex=0;this.autoPlay=true;this.autoPlayTime=5;var _autoTimeObj,_scrollTimeObj,_state="ready";this.stripDiv=document.createElement("DIV");this.listDiv01=document.createElement("DIV");this.listDiv02=document.createElement("DIV");if(!ScrollPic.childs){ScrollPic.childs=[]};this.ID=ScrollPic.childs.length;ScrollPic.childs.push(this);this.initialize=function(){if(!this.scrollContId){throw new Error("ָscrollContId.");return};this.scrollContDiv=sina.$(this.scrollContId);if(!this.scrollContDiv){throw new Error("scrollContIdȷĶ.(scrollContId = \""+this.scrollContId+"\")");return};this.scrollContDiv.style.width=this.frameWidth+"px";this.scrollContDiv.style.overflow="hidden";this.listDiv01.innerHTML=this.listDiv02.innerHTML=this.scrollContDiv.innerHTML;this.scrollContDiv.innerHTML="";this.scrollContDiv.appendChild(this.stripDiv);this.stripDiv.appendChild(this.listDiv01);this.stripDiv.appendChild(this.listDiv02);this.stripDiv.style.overflow="hidden";this.stripDiv.style.zoom="1";this.stripDiv.style.width="32766px";this.listDiv01.style.cssFloat="left";this.listDiv02.style.cssFloat="left";sina.addEvent(this.scrollContDiv,"mouseover",Function("ScrollPic.childs["+this.ID+"].stop()"));sina.addEvent(this.scrollContDiv,"mouseout",Function("ScrollPic.childs["+this.ID+"].play()"));if(this.arrLeftId){this.arrLeftObj=sina.$(this.arrLeftId);if(this.arrLeftObj){sina.addEvent(this.arrLeftObj,"mousedown",Function("ScrollPic.childs["+this.ID+"].rightMouseDown()"));sina.addEvent(this.arrLeftObj,"mouseup",Function("ScrollPic.childs["+this.ID+"].rightEnd()"));sina.addEvent(this.arrLeftObj,"mouseout",Function("ScrollPic.childs["+this.ID+"].rightEnd()"))}};if(this.arrRightId){this.arrRightObj=sina.$(this.arrRightId);if(this.arrRightObj){sina.addEvent(this.arrRightObj,"mousedown",Function("ScrollPic.childs["+this.ID+"].leftMouseDown()"));sina.addEvent(this.arrRightObj,"mouseup",Function("ScrollPic.childs["+this.ID+"].leftEnd()"));sina.addEvent(this.arrRightObj,"mouseout",Function("ScrollPic.childs["+this.ID+"].leftEnd()"))}};if(this.dotListId){this.dotListObj=sina.$(this.dotListId);if(this.dotListObj){var pages=Math.round(this.listDiv01.offsetWidth/this.frameWidth+0.4),i,tempObj;for(i=0;i=this.listDiv01.scrollWidth){this.scrollContDiv.scrollLeft=this.scrollContDiv.scrollLeft+this.space-this.listDiv01.scrollWidth}else{this.scrollContDiv.scrollLeft+=this.space};this.accountPageIndex()};this.moveRight=function(){if(this.scrollContDiv.scrollLeft-this.space<=0){this.scrollContDiv.scrollLeft=this.listDiv01.scrollWidth+this.scrollContDiv.scrollLeft-this.space}else{this.scrollContDiv.scrollLeft-=this.space};this.accountPageIndex()};this.leftEnd=function(){if(_state!="floating"){return};_state="stoping";clearInterval(_scrollTimeObj);var fill=this.pageWidth-this.scrollContDiv.scrollLeft%this.pageWidth;this.move(fill)};this.rightEnd=function(){if(_state!="floating"){return};_state="stoping";clearInterval(_scrollTimeObj);var fill=-this.scrollContDiv.scrollLeft%this.pageWidth;this.move(fill)};this.move=function(num,quick){var thisMove=num/5;if(!quick){if(thisMove>this.space){thisMove=this.space};if(thisMove<-this.space){thisMove=-this.space}};if(Math.abs(thisMove)<1&&thisMove!=0){thisMove=thisMove>=0?1:-1}else{thisMove=Math.round(thisMove)};var temp=this.scrollContDiv.scrollLeft+thisMove;if(thisMove>0){if(this.scrollContDiv.scrollLeft+thisMove>=this.listDiv01.scrollWidth){this.scrollContDiv.scrollLeft=this.scrollContDiv.scrollLeft+thisMove-this.listDiv01.scrollWidth}else{this.scrollContDiv.scrollLeft+=thisMove}}else{if(this.scrollContDiv.scrollLeft-thisMove<=0){this.scrollContDiv.scrollLeft=this.listDiv01.scrollWidth+this.scrollContDiv.scrollLeft-thisMove}else{this.scrollContDiv.scrollLeft+=thisMove}};num-=thisMove;if(Math.abs(num)==0){_state="ready";if(this.autoPlay){this.play()};this.accountPageIndex();return}else{this.accountPageIndex();setTimeout("ScrollPic.childs["+this.ID+"].move("+num+","+quick+")",this.speed)}};this.next=function(){if(_state!="ready"){return};_state="stoping";this.move(this.pageWidth,true)};this.play=function(){if(!this.autoPlay){return};clearInterval(_autoTimeObj);_autoTimeObj=setInterval("ScrollPic.childs["+this.ID+"].next()",this.autoPlayTime*1000)};this.stop=function(){clearInterval(_autoTimeObj)};this.pageTo=function(num){if(_state!="ready"){return};_state="stoping";var fill=num*this.frameWidth-this.scrollContDiv.scrollLeft;this.move(fill,true)};this.accountPageIndex=function(){this.pageIndex=Math.round(this.scrollContDiv.scrollLeft/this.frameWidth);if(this.pageIndex>Math.round(this.listDiv01.offsetWidth/this.frameWidth+0.4)-1){this.pageIndex=0};var i;for(i=0;i'+(i+1)+''});ulcon+='';iset.icocon.append(ulcon);var ico=iset.icocon.find('li');var size=iset.field.size();var index=0;var clearFun=null;var fadeFun=function(obj){index=ico.index(obj);iset.field.filter(':visible').fadeOut(iset.outTime,function(){iset.field.eq(index).fadeIn(iset.inTime)});$(obj).addClass(iset.hoverCls).siblings().removeClass(iset.hoverCls)};var changeFun=function(){index++;if(index==size){index=0};ico.eq(index).trigger('mouseleave')};var scrollFun=function(){clearFun=setInterval(function(){changeFun()},iset.interval)};var stopFun=function(){clearInterval(clearFun)};scrollFun();ico.hover(function(){stopFun();fadeFun(this)},function(){fadeFun(this)}).eq(iset.curIndex).mouseleave();iset.field.hover(function(){stopFun()},function(){scrollFun()})}})})(jQuery); \ No newline at end of file diff --git a/template/j2/js/jquery.js b/template/j2/js/jquery.js new file mode 100644 index 0000000..c2dcfe7 --- /dev/null +++ b/template/j2/js/jquery.js @@ -0,0 +1,167 @@ +/*! + * jQuery JavaScript Library v1.4.4 + * http://jquery.com/ + * + * Copyright 2010, John Resig + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * Includes Sizzle.js + * http://sizzlejs.com/ + * Copyright 2010, The Dojo Foundation + * Released under the MIT, BSD, and GPL Licenses. + * + * Date: Thu Nov 11 19:04:53 2010 -0500 + */ +(function(E,B){function ka(a,b,d){if(d===B&&a.nodeType===1){d=a.getAttribute("data-"+b);if(typeof d==="string"){try{d=d==="true"?true:d==="false"?false:d==="null"?null:!c.isNaN(d)?parseFloat(d):Ja.test(d)?c.parseJSON(d):d}catch(e){}c.data(a,b,d)}else d=B}return d}function U(){return false}function ca(){return true}function la(a,b,d){d[0].type=a;return c.event.handle.apply(b,d)}function Ka(a){var b,d,e,f,h,l,k,o,x,r,A,C=[];f=[];h=c.data(this,this.nodeType?"events":"__events__");if(typeof h==="function")h= +h.events;if(!(a.liveFired===this||!h||!h.live||a.button&&a.type==="click")){if(a.namespace)A=RegExp("(^|\\.)"+a.namespace.split(".").join("\\.(?:.*\\.)?")+"(\\.|$)");a.liveFired=this;var J=h.live.slice(0);for(k=0;kd)break;a.currentTarget=f.elem;a.data=f.handleObj.data;a.handleObj=f.handleObj;A=f.handleObj.origHandler.apply(f.elem,arguments);if(A===false||a.isPropagationStopped()){d=f.level;if(A===false)b=false;if(a.isImmediatePropagationStopped())break}}return b}}function Y(a,b){return(a&&a!=="*"?a+".":"")+b.replace(La, +"`").replace(Ma,"&")}function ma(a,b,d){if(c.isFunction(b))return c.grep(a,function(f,h){return!!b.call(f,h,f)===d});else if(b.nodeType)return c.grep(a,function(f){return f===b===d});else if(typeof b==="string"){var e=c.grep(a,function(f){return f.nodeType===1});if(Na.test(b))return c.filter(b,e,!d);else b=c.filter(b,e)}return c.grep(a,function(f){return c.inArray(f,b)>=0===d})}function na(a,b){var d=0;b.each(function(){if(this.nodeName===(a[d]&&a[d].nodeName)){var e=c.data(a[d++]),f=c.data(this, +e);if(e=e&&e.events){delete f.handle;f.events={};for(var h in e)for(var l in e[h])c.event.add(this,h,e[h][l],e[h][l].data)}}})}function Oa(a,b){b.src?c.ajax({url:b.src,async:false,dataType:"script"}):c.globalEval(b.text||b.textContent||b.innerHTML||"");b.parentNode&&b.parentNode.removeChild(b)}function oa(a,b,d){var e=b==="width"?a.offsetWidth:a.offsetHeight;if(d==="border")return e;c.each(b==="width"?Pa:Qa,function(){d||(e-=parseFloat(c.css(a,"padding"+this))||0);if(d==="margin")e+=parseFloat(c.css(a, +"margin"+this))||0;else e-=parseFloat(c.css(a,"border"+this+"Width"))||0});return e}function da(a,b,d,e){if(c.isArray(b)&&b.length)c.each(b,function(f,h){d||Ra.test(a)?e(a,h):da(a+"["+(typeof h==="object"||c.isArray(h)?f:"")+"]",h,d,e)});else if(!d&&b!=null&&typeof b==="object")c.isEmptyObject(b)?e(a,""):c.each(b,function(f,h){da(a+"["+f+"]",h,d,e)});else e(a,b)}function S(a,b){var d={};c.each(pa.concat.apply([],pa.slice(0,b)),function(){d[this]=a});return d}function qa(a){if(!ea[a]){var b=c("<"+ +a+">").appendTo("body"),d=b.css("display");b.remove();if(d==="none"||d==="")d="block";ea[a]=d}return ea[a]}function fa(a){return c.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:false}var t=E.document,c=function(){function a(){if(!b.isReady){try{t.documentElement.doScroll("left")}catch(j){setTimeout(a,1);return}b.ready()}}var b=function(j,s){return new b.fn.init(j,s)},d=E.jQuery,e=E.$,f,h=/^(?:[^<]*(<[\w\W]+>)[^>]*$|#([\w\-]+)$)/,l=/\S/,k=/^\s+/,o=/\s+$/,x=/\W/,r=/\d/,A=/^<(\w+)\s*\/?>(?:<\/\1>)?$/, +C=/^[\],:{}\s]*$/,J=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,w=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,I=/(?:^|:|,)(?:\s*\[)+/g,L=/(webkit)[ \/]([\w.]+)/,g=/(opera)(?:.*version)?[ \/]([\w.]+)/,i=/(msie) ([\w.]+)/,n=/(mozilla)(?:.*? rv:([\w.]+))?/,m=navigator.userAgent,p=false,q=[],u,y=Object.prototype.toString,F=Object.prototype.hasOwnProperty,M=Array.prototype.push,N=Array.prototype.slice,O=String.prototype.trim,D=Array.prototype.indexOf,R={};b.fn=b.prototype={init:function(j, +s){var v,z,H;if(!j)return this;if(j.nodeType){this.context=this[0]=j;this.length=1;return this}if(j==="body"&&!s&&t.body){this.context=t;this[0]=t.body;this.selector="body";this.length=1;return this}if(typeof j==="string")if((v=h.exec(j))&&(v[1]||!s))if(v[1]){H=s?s.ownerDocument||s:t;if(z=A.exec(j))if(b.isPlainObject(s)){j=[t.createElement(z[1])];b.fn.attr.call(j,s,true)}else j=[H.createElement(z[1])];else{z=b.buildFragment([v[1]],[H]);j=(z.cacheable?z.fragment.cloneNode(true):z.fragment).childNodes}return b.merge(this, +j)}else{if((z=t.getElementById(v[2]))&&z.parentNode){if(z.id!==v[2])return f.find(j);this.length=1;this[0]=z}this.context=t;this.selector=j;return this}else if(!s&&!x.test(j)){this.selector=j;this.context=t;j=t.getElementsByTagName(j);return b.merge(this,j)}else return!s||s.jquery?(s||f).find(j):b(s).find(j);else if(b.isFunction(j))return f.ready(j);if(j.selector!==B){this.selector=j.selector;this.context=j.context}return b.makeArray(j,this)},selector:"",jquery:"1.4.4",length:0,size:function(){return this.length}, +toArray:function(){return N.call(this,0)},get:function(j){return j==null?this.toArray():j<0?this.slice(j)[0]:this[j]},pushStack:function(j,s,v){var z=b();b.isArray(j)?M.apply(z,j):b.merge(z,j);z.prevObject=this;z.context=this.context;if(s==="find")z.selector=this.selector+(this.selector?" ":"")+v;else if(s)z.selector=this.selector+"."+s+"("+v+")";return z},each:function(j,s){return b.each(this,j,s)},ready:function(j){b.bindReady();if(b.isReady)j.call(t,b);else q&&q.push(j);return this},eq:function(j){return j=== +-1?this.slice(j):this.slice(j,+j+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(N.apply(this,arguments),"slice",N.call(arguments).join(","))},map:function(j){return this.pushStack(b.map(this,function(s,v){return j.call(s,v,s)}))},end:function(){return this.prevObject||b(null)},push:M,sort:[].sort,splice:[].splice};b.fn.init.prototype=b.fn;b.extend=b.fn.extend=function(){var j,s,v,z,H,G=arguments[0]||{},K=1,Q=arguments.length,ga=false; +if(typeof G==="boolean"){ga=G;G=arguments[1]||{};K=2}if(typeof G!=="object"&&!b.isFunction(G))G={};if(Q===K){G=this;--K}for(;K0))if(q){var s=0,v=q;for(q=null;j=v[s++];)j.call(t,b);b.fn.trigger&&b(t).trigger("ready").unbind("ready")}}},bindReady:function(){if(!p){p=true;if(t.readyState==="complete")return setTimeout(b.ready,1);if(t.addEventListener){t.addEventListener("DOMContentLoaded",u,false);E.addEventListener("load",b.ready,false)}else if(t.attachEvent){t.attachEvent("onreadystatechange",u);E.attachEvent("onload", +b.ready);var j=false;try{j=E.frameElement==null}catch(s){}t.documentElement.doScroll&&j&&a()}}},isFunction:function(j){return b.type(j)==="function"},isArray:Array.isArray||function(j){return b.type(j)==="array"},isWindow:function(j){return j&&typeof j==="object"&&"setInterval"in j},isNaN:function(j){return j==null||!r.test(j)||isNaN(j)},type:function(j){return j==null?String(j):R[y.call(j)]||"object"},isPlainObject:function(j){if(!j||b.type(j)!=="object"||j.nodeType||b.isWindow(j))return false;if(j.constructor&& +!F.call(j,"constructor")&&!F.call(j.constructor.prototype,"isPrototypeOf"))return false;for(var s in j);return s===B||F.call(j,s)},isEmptyObject:function(j){for(var s in j)return false;return true},error:function(j){throw j;},parseJSON:function(j){if(typeof j!=="string"||!j)return null;j=b.trim(j);if(C.test(j.replace(J,"@").replace(w,"]").replace(I,"")))return E.JSON&&E.JSON.parse?E.JSON.parse(j):(new Function("return "+j))();else b.error("Invalid JSON: "+j)},noop:function(){},globalEval:function(j){if(j&& +l.test(j)){var s=t.getElementsByTagName("head")[0]||t.documentElement,v=t.createElement("script");v.type="text/javascript";if(b.support.scriptEval)v.appendChild(t.createTextNode(j));else v.text=j;s.insertBefore(v,s.firstChild);s.removeChild(v)}},nodeName:function(j,s){return j.nodeName&&j.nodeName.toUpperCase()===s.toUpperCase()},each:function(j,s,v){var z,H=0,G=j.length,K=G===B||b.isFunction(j);if(v)if(K)for(z in j){if(s.apply(j[z],v)===false)break}else for(;H
    a";var f=d.getElementsByTagName("*"),h=d.getElementsByTagName("a")[0],l=t.createElement("select"), +k=l.appendChild(t.createElement("option"));if(!(!f||!f.length||!h)){c.support={leadingWhitespace:d.firstChild.nodeType===3,tbody:!d.getElementsByTagName("tbody").length,htmlSerialize:!!d.getElementsByTagName("link").length,style:/red/.test(h.getAttribute("style")),hrefNormalized:h.getAttribute("href")==="/a",opacity:/^0.55$/.test(h.style.opacity),cssFloat:!!h.style.cssFloat,checkOn:d.getElementsByTagName("input")[0].value==="on",optSelected:k.selected,deleteExpando:true,optDisabled:false,checkClone:false, +scriptEval:false,noCloneEvent:true,boxModel:null,inlineBlockNeedsLayout:false,shrinkWrapBlocks:false,reliableHiddenOffsets:true};l.disabled=true;c.support.optDisabled=!k.disabled;b.type="text/javascript";try{b.appendChild(t.createTextNode("window."+e+"=1;"))}catch(o){}a.insertBefore(b,a.firstChild);if(E[e]){c.support.scriptEval=true;delete E[e]}try{delete b.test}catch(x){c.support.deleteExpando=false}a.removeChild(b);if(d.attachEvent&&d.fireEvent){d.attachEvent("onclick",function r(){c.support.noCloneEvent= +false;d.detachEvent("onclick",r)});d.cloneNode(true).fireEvent("onclick")}d=t.createElement("div");d.innerHTML="";a=t.createDocumentFragment();a.appendChild(d.firstChild);c.support.checkClone=a.cloneNode(true).cloneNode(true).lastChild.checked;c(function(){var r=t.createElement("div");r.style.width=r.style.paddingLeft="1px";t.body.appendChild(r);c.boxModel=c.support.boxModel=r.offsetWidth===2;if("zoom"in r.style){r.style.display="inline";r.style.zoom= +1;c.support.inlineBlockNeedsLayout=r.offsetWidth===2;r.style.display="";r.innerHTML="
    ";c.support.shrinkWrapBlocks=r.offsetWidth!==2}r.innerHTML="
    t
    ";var A=r.getElementsByTagName("td");c.support.reliableHiddenOffsets=A[0].offsetHeight===0;A[0].style.display="";A[1].style.display="none";c.support.reliableHiddenOffsets=c.support.reliableHiddenOffsets&&A[0].offsetHeight===0;r.innerHTML="";t.body.removeChild(r).style.display= +"none"});a=function(r){var A=t.createElement("div");r="on"+r;var C=r in A;if(!C){A.setAttribute(r,"return;");C=typeof A[r]==="function"}return C};c.support.submitBubbles=a("submit");c.support.changeBubbles=a("change");a=b=d=f=h=null}})();var ra={},Ja=/^(?:\{.*\}|\[.*\])$/;c.extend({cache:{},uuid:0,expando:"jQuery"+c.now(),noData:{embed:true,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:true},data:function(a,b,d){if(c.acceptData(a)){a=a==E?ra:a;var e=a.nodeType,f=e?a[c.expando]:null,h= +c.cache;if(!(e&&!f&&typeof b==="string"&&d===B)){if(e)f||(a[c.expando]=f=++c.uuid);else h=a;if(typeof b==="object")if(e)h[f]=c.extend(h[f],b);else c.extend(h,b);else if(e&&!h[f])h[f]={};a=e?h[f]:h;if(d!==B)a[b]=d;return typeof b==="string"?a[b]:a}}},removeData:function(a,b){if(c.acceptData(a)){a=a==E?ra:a;var d=a.nodeType,e=d?a[c.expando]:a,f=c.cache,h=d?f[e]:e;if(b){if(h){delete h[b];d&&c.isEmptyObject(h)&&c.removeData(a)}}else if(d&&c.support.deleteExpando)delete a[c.expando];else if(a.removeAttribute)a.removeAttribute(c.expando); +else if(d)delete f[e];else for(var l in a)delete a[l]}},acceptData:function(a){if(a.nodeName){var b=c.noData[a.nodeName.toLowerCase()];if(b)return!(b===true||a.getAttribute("classid")!==b)}return true}});c.fn.extend({data:function(a,b){var d=null;if(typeof a==="undefined"){if(this.length){var e=this[0].attributes,f;d=c.data(this[0]);for(var h=0,l=e.length;h-1)return true;return false},val:function(a){if(!arguments.length){var b=this[0];if(b){if(c.nodeName(b,"option")){var d=b.attributes.value;return!d||d.specified?b.value:b.text}if(c.nodeName(b,"select")){var e=b.selectedIndex;d=[];var f=b.options;b=b.type==="select-one"; +if(e<0)return null;var h=b?e:0;for(e=b?e+1:f.length;h=0;else if(c.nodeName(this,"select")){var A=c.makeArray(r);c("option",this).each(function(){this.selected=c.inArray(c(this).val(),A)>=0});if(!A.length)this.selectedIndex=-1}else this.value=r}})}});c.extend({attrFn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true}, +attr:function(a,b,d,e){if(!a||a.nodeType===3||a.nodeType===8)return B;if(e&&b in c.attrFn)return c(a)[b](d);e=a.nodeType!==1||!c.isXMLDoc(a);var f=d!==B;b=e&&c.props[b]||b;var h=Ta.test(b);if((b in a||a[b]!==B)&&e&&!h){if(f){b==="type"&&Ua.test(a.nodeName)&&a.parentNode&&c.error("type property can't be changed");if(d===null)a.nodeType===1&&a.removeAttribute(b);else a[b]=d}if(c.nodeName(a,"form")&&a.getAttributeNode(b))return a.getAttributeNode(b).nodeValue;if(b==="tabIndex")return(b=a.getAttributeNode("tabIndex"))&& +b.specified?b.value:Va.test(a.nodeName)||Wa.test(a.nodeName)&&a.href?0:B;return a[b]}if(!c.support.style&&e&&b==="style"){if(f)a.style.cssText=""+d;return a.style.cssText}f&&a.setAttribute(b,""+d);if(!a.attributes[b]&&a.hasAttribute&&!a.hasAttribute(b))return B;a=!c.support.hrefNormalized&&e&&h?a.getAttribute(b,2):a.getAttribute(b);return a===null?B:a}});var X=/\.(.*)$/,ia=/^(?:textarea|input|select)$/i,La=/\./g,Ma=/ /g,Xa=/[^\w\s.|`]/g,Ya=function(a){return a.replace(Xa,"\\$&")},ua={focusin:0,focusout:0}; +c.event={add:function(a,b,d,e){if(!(a.nodeType===3||a.nodeType===8)){if(c.isWindow(a)&&a!==E&&!a.frameElement)a=E;if(d===false)d=U;else if(!d)return;var f,h;if(d.handler){f=d;d=f.handler}if(!d.guid)d.guid=c.guid++;if(h=c.data(a)){var l=a.nodeType?"events":"__events__",k=h[l],o=h.handle;if(typeof k==="function"){o=k.handle;k=k.events}else if(!k){a.nodeType||(h[l]=h=function(){});h.events=k={}}if(!o)h.handle=o=function(){return typeof c!=="undefined"&&!c.event.triggered?c.event.handle.apply(o.elem, +arguments):B};o.elem=a;b=b.split(" ");for(var x=0,r;l=b[x++];){h=f?c.extend({},f):{handler:d,data:e};if(l.indexOf(".")>-1){r=l.split(".");l=r.shift();h.namespace=r.slice(0).sort().join(".")}else{r=[];h.namespace=""}h.type=l;if(!h.guid)h.guid=d.guid;var A=k[l],C=c.event.special[l]||{};if(!A){A=k[l]=[];if(!C.setup||C.setup.call(a,e,r,o)===false)if(a.addEventListener)a.addEventListener(l,o,false);else a.attachEvent&&a.attachEvent("on"+l,o)}if(C.add){C.add.call(a,h);if(!h.handler.guid)h.handler.guid= +d.guid}A.push(h);c.event.global[l]=true}a=null}}},global:{},remove:function(a,b,d,e){if(!(a.nodeType===3||a.nodeType===8)){if(d===false)d=U;var f,h,l=0,k,o,x,r,A,C,J=a.nodeType?"events":"__events__",w=c.data(a),I=w&&w[J];if(w&&I){if(typeof I==="function"){w=I;I=I.events}if(b&&b.type){d=b.handler;b=b.type}if(!b||typeof b==="string"&&b.charAt(0)==="."){b=b||"";for(f in I)c.event.remove(a,f+b)}else{for(b=b.split(" ");f=b[l++];){r=f;k=f.indexOf(".")<0;o=[];if(!k){o=f.split(".");f=o.shift();x=RegExp("(^|\\.)"+ +c.map(o.slice(0).sort(),Ya).join("\\.(?:.*\\.)?")+"(\\.|$)")}if(A=I[f])if(d){r=c.event.special[f]||{};for(h=e||0;h=0){a.type=f=f.slice(0,-1);a.exclusive=true}if(!d){a.stopPropagation();c.event.global[f]&&c.each(c.cache,function(){this.events&&this.events[f]&&c.event.trigger(a,b,this.handle.elem)})}if(!d||d.nodeType===3||d.nodeType=== +8)return B;a.result=B;a.target=d;b=c.makeArray(b);b.unshift(a)}a.currentTarget=d;(e=d.nodeType?c.data(d,"handle"):(c.data(d,"__events__")||{}).handle)&&e.apply(d,b);e=d.parentNode||d.ownerDocument;try{if(!(d&&d.nodeName&&c.noData[d.nodeName.toLowerCase()]))if(d["on"+f]&&d["on"+f].apply(d,b)===false){a.result=false;a.preventDefault()}}catch(h){}if(!a.isPropagationStopped()&&e)c.event.trigger(a,b,e,true);else if(!a.isDefaultPrevented()){var l;e=a.target;var k=f.replace(X,""),o=c.nodeName(e,"a")&&k=== +"click",x=c.event.special[k]||{};if((!x._default||x._default.call(d,a)===false)&&!o&&!(e&&e.nodeName&&c.noData[e.nodeName.toLowerCase()])){try{if(e[k]){if(l=e["on"+k])e["on"+k]=null;c.event.triggered=true;e[k]()}}catch(r){}if(l)e["on"+k]=l;c.event.triggered=false}}},handle:function(a){var b,d,e,f;d=[];var h=c.makeArray(arguments);a=h[0]=c.event.fix(a||E.event);a.currentTarget=this;b=a.type.indexOf(".")<0&&!a.exclusive;if(!b){e=a.type.split(".");a.type=e.shift();d=e.slice(0).sort();e=RegExp("(^|\\.)"+ +d.join("\\.(?:.*\\.)?")+"(\\.|$)")}a.namespace=a.namespace||d.join(".");f=c.data(this,this.nodeType?"events":"__events__");if(typeof f==="function")f=f.events;d=(f||{})[a.type];if(f&&d){d=d.slice(0);f=0;for(var l=d.length;f-1?c.map(a.options,function(e){return e.selected}).join("-"):"";else if(a.nodeName.toLowerCase()==="select")d=a.selectedIndex;return d},Z=function(a,b){var d=a.target,e,f;if(!(!ia.test(d.nodeName)||d.readOnly)){e=c.data(d,"_change_data");f=xa(d);if(a.type!=="focusout"||d.type!=="radio")c.data(d,"_change_data",f);if(!(e===B||f===e))if(e!=null||f){a.type="change";a.liveFired= +B;return c.event.trigger(a,b,d)}}};c.event.special.change={filters:{focusout:Z,beforedeactivate:Z,click:function(a){var b=a.target,d=b.type;if(d==="radio"||d==="checkbox"||b.nodeName.toLowerCase()==="select")return Z.call(this,a)},keydown:function(a){var b=a.target,d=b.type;if(a.keyCode===13&&b.nodeName.toLowerCase()!=="textarea"||a.keyCode===32&&(d==="checkbox"||d==="radio")||d==="select-multiple")return Z.call(this,a)},beforeactivate:function(a){a=a.target;c.data(a,"_change_data",xa(a))}},setup:function(){if(this.type=== +"file")return false;for(var a in V)c.event.add(this,a+".specialChange",V[a]);return ia.test(this.nodeName)},teardown:function(){c.event.remove(this,".specialChange");return ia.test(this.nodeName)}};V=c.event.special.change.filters;V.focus=V.beforeactivate}t.addEventListener&&c.each({focus:"focusin",blur:"focusout"},function(a,b){function d(e){e=c.event.fix(e);e.type=b;return c.event.trigger(e,null,e.target)}c.event.special[b]={setup:function(){ua[b]++===0&&t.addEventListener(a,d,true)},teardown:function(){--ua[b]=== +0&&t.removeEventListener(a,d,true)}}});c.each(["bind","one"],function(a,b){c.fn[b]=function(d,e,f){if(typeof d==="object"){for(var h in d)this[b](h,e,d[h],f);return this}if(c.isFunction(e)||e===false){f=e;e=B}var l=b==="one"?c.proxy(f,function(o){c(this).unbind(o,l);return f.apply(this,arguments)}):f;if(d==="unload"&&b!=="one")this.one(d,e,f);else{h=0;for(var k=this.length;h0?this.bind(b,d,e):this.trigger(b)};if(c.attrFn)c.attrFn[b]=true});E.attachEvent&&!E.addEventListener&&c(E).bind("unload",function(){for(var a in c.cache)if(c.cache[a].handle)try{c.event.remove(c.cache[a].handle.elem)}catch(b){}}); +(function(){function a(g,i,n,m,p,q){p=0;for(var u=m.length;p0){F=y;break}}y=y[g]}m[p]=F}}}var d=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,e=0,f=Object.prototype.toString,h=false,l=true;[0,0].sort(function(){l=false;return 0});var k=function(g,i,n,m){n=n||[];var p=i=i||t;if(i.nodeType!==1&&i.nodeType!==9)return[];if(!g||typeof g!=="string")return n;var q,u,y,F,M,N=true,O=k.isXML(i),D=[],R=g;do{d.exec("");if(q=d.exec(R)){R=q[3];D.push(q[1]);if(q[2]){F=q[3]; +break}}}while(q);if(D.length>1&&x.exec(g))if(D.length===2&&o.relative[D[0]])u=L(D[0]+D[1],i);else for(u=o.relative[D[0]]?[i]:k(D.shift(),i);D.length;){g=D.shift();if(o.relative[g])g+=D.shift();u=L(g,u)}else{if(!m&&D.length>1&&i.nodeType===9&&!O&&o.match.ID.test(D[0])&&!o.match.ID.test(D[D.length-1])){q=k.find(D.shift(),i,O);i=q.expr?k.filter(q.expr,q.set)[0]:q.set[0]}if(i){q=m?{expr:D.pop(),set:C(m)}:k.find(D.pop(),D.length===1&&(D[0]==="~"||D[0]==="+")&&i.parentNode?i.parentNode:i,O);u=q.expr?k.filter(q.expr, +q.set):q.set;if(D.length>0)y=C(u);else N=false;for(;D.length;){q=M=D.pop();if(o.relative[M])q=D.pop();else M="";if(q==null)q=i;o.relative[M](y,q,O)}}else y=[]}y||(y=u);y||k.error(M||g);if(f.call(y)==="[object Array]")if(N)if(i&&i.nodeType===1)for(g=0;y[g]!=null;g++){if(y[g]&&(y[g]===true||y[g].nodeType===1&&k.contains(i,y[g])))n.push(u[g])}else for(g=0;y[g]!=null;g++)y[g]&&y[g].nodeType===1&&n.push(u[g]);else n.push.apply(n,y);else C(y,n);if(F){k(F,p,n,m);k.uniqueSort(n)}return n};k.uniqueSort=function(g){if(w){h= +l;g.sort(w);if(h)for(var i=1;i0};k.find=function(g,i,n){var m;if(!g)return[];for(var p=0,q=o.order.length;p":function(g,i){var n,m=typeof i==="string",p=0,q=g.length;if(m&&!/\W/.test(i))for(i=i.toLowerCase();p=0))n||m.push(u);else if(n)i[q]=false;return false},ID:function(g){return g[1].replace(/\\/g,"")},TAG:function(g){return g[1].toLowerCase()},CHILD:function(g){if(g[1]==="nth"){var i=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(g[2]==="even"&&"2n"||g[2]==="odd"&&"2n+1"||!/\D/.test(g[2])&&"0n+"+g[2]||g[2]);g[2]=i[1]+(i[2]||1)-0;g[3]=i[3]-0}g[0]=e++;return g},ATTR:function(g,i,n, +m,p,q){i=g[1].replace(/\\/g,"");if(!q&&o.attrMap[i])g[1]=o.attrMap[i];if(g[2]==="~=")g[4]=" "+g[4]+" ";return g},PSEUDO:function(g,i,n,m,p){if(g[1]==="not")if((d.exec(g[3])||"").length>1||/^\w/.test(g[3]))g[3]=k(g[3],null,null,i);else{g=k.filter(g[3],i,n,true^p);n||m.push.apply(m,g);return false}else if(o.match.POS.test(g[0])||o.match.CHILD.test(g[0]))return true;return g},POS:function(g){g.unshift(true);return g}},filters:{enabled:function(g){return g.disabled===false&&g.type!=="hidden"},disabled:function(g){return g.disabled=== +true},checked:function(g){return g.checked===true},selected:function(g){return g.selected===true},parent:function(g){return!!g.firstChild},empty:function(g){return!g.firstChild},has:function(g,i,n){return!!k(n[3],g).length},header:function(g){return/h\d/i.test(g.nodeName)},text:function(g){return"text"===g.type},radio:function(g){return"radio"===g.type},checkbox:function(g){return"checkbox"===g.type},file:function(g){return"file"===g.type},password:function(g){return"password"===g.type},submit:function(g){return"submit"=== +g.type},image:function(g){return"image"===g.type},reset:function(g){return"reset"===g.type},button:function(g){return"button"===g.type||g.nodeName.toLowerCase()==="button"},input:function(g){return/input|select|textarea|button/i.test(g.nodeName)}},setFilters:{first:function(g,i){return i===0},last:function(g,i,n,m){return i===m.length-1},even:function(g,i){return i%2===0},odd:function(g,i){return i%2===1},lt:function(g,i,n){return in[3]-0},nth:function(g,i,n){return n[3]- +0===i},eq:function(g,i,n){return n[3]-0===i}},filter:{PSEUDO:function(g,i,n,m){var p=i[1],q=o.filters[p];if(q)return q(g,n,i,m);else if(p==="contains")return(g.textContent||g.innerText||k.getText([g])||"").indexOf(i[3])>=0;else if(p==="not"){i=i[3];n=0;for(m=i.length;n=0}},ID:function(g,i){return g.nodeType===1&&g.getAttribute("id")===i},TAG:function(g,i){return i==="*"&&g.nodeType===1||g.nodeName.toLowerCase()=== +i},CLASS:function(g,i){return(" "+(g.className||g.getAttribute("class"))+" ").indexOf(i)>-1},ATTR:function(g,i){var n=i[1];n=o.attrHandle[n]?o.attrHandle[n](g):g[n]!=null?g[n]:g.getAttribute(n);var m=n+"",p=i[2],q=i[4];return n==null?p==="!=":p==="="?m===q:p==="*="?m.indexOf(q)>=0:p==="~="?(" "+m+" ").indexOf(q)>=0:!q?m&&n!==false:p==="!="?m!==q:p==="^="?m.indexOf(q)===0:p==="$="?m.substr(m.length-q.length)===q:p==="|="?m===q||m.substr(0,q.length+1)===q+"-":false},POS:function(g,i,n,m){var p=o.setFilters[i[2]]; +if(p)return p(g,n,i,m)}}},x=o.match.POS,r=function(g,i){return"\\"+(i-0+1)},A;for(A in o.match){o.match[A]=RegExp(o.match[A].source+/(?![^\[]*\])(?![^\(]*\))/.source);o.leftMatch[A]=RegExp(/(^(?:.|\r|\n)*?)/.source+o.match[A].source.replace(/\\(\d+)/g,r))}var C=function(g,i){g=Array.prototype.slice.call(g,0);if(i){i.push.apply(i,g);return i}return g};try{Array.prototype.slice.call(t.documentElement.childNodes,0)}catch(J){C=function(g,i){var n=0,m=i||[];if(f.call(g)==="[object Array]")Array.prototype.push.apply(m, +g);else if(typeof g.length==="number")for(var p=g.length;n";n.insertBefore(g,n.firstChild);if(t.getElementById(i)){o.find.ID=function(m,p,q){if(typeof p.getElementById!=="undefined"&&!q)return(p=p.getElementById(m[1]))?p.id===m[1]||typeof p.getAttributeNode!=="undefined"&&p.getAttributeNode("id").nodeValue===m[1]?[p]:B:[]};o.filter.ID=function(m,p){var q=typeof m.getAttributeNode!=="undefined"&&m.getAttributeNode("id");return m.nodeType===1&&q&&q.nodeValue===p}}n.removeChild(g); +n=g=null})();(function(){var g=t.createElement("div");g.appendChild(t.createComment(""));if(g.getElementsByTagName("*").length>0)o.find.TAG=function(i,n){var m=n.getElementsByTagName(i[1]);if(i[1]==="*"){for(var p=[],q=0;m[q];q++)m[q].nodeType===1&&p.push(m[q]);m=p}return m};g.innerHTML="";if(g.firstChild&&typeof g.firstChild.getAttribute!=="undefined"&&g.firstChild.getAttribute("href")!=="#")o.attrHandle.href=function(i){return i.getAttribute("href",2)};g=null})();t.querySelectorAll&& +function(){var g=k,i=t.createElement("div");i.innerHTML="

    ";if(!(i.querySelectorAll&&i.querySelectorAll(".TEST").length===0)){k=function(m,p,q,u){p=p||t;m=m.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!u&&!k.isXML(p))if(p.nodeType===9)try{return C(p.querySelectorAll(m),q)}catch(y){}else if(p.nodeType===1&&p.nodeName.toLowerCase()!=="object"){var F=p.getAttribute("id"),M=F||"__sizzle__";F||p.setAttribute("id",M);try{return C(p.querySelectorAll("#"+M+" "+m),q)}catch(N){}finally{F|| +p.removeAttribute("id")}}return g(m,p,q,u)};for(var n in g)k[n]=g[n];i=null}}();(function(){var g=t.documentElement,i=g.matchesSelector||g.mozMatchesSelector||g.webkitMatchesSelector||g.msMatchesSelector,n=false;try{i.call(t.documentElement,"[test!='']:sizzle")}catch(m){n=true}if(i)k.matchesSelector=function(p,q){q=q.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!k.isXML(p))try{if(n||!o.match.PSEUDO.test(q)&&!/!=/.test(q))return i.call(p,q)}catch(u){}return k(q,null,null,[p]).length>0}})();(function(){var g= +t.createElement("div");g.innerHTML="
    ";if(!(!g.getElementsByClassName||g.getElementsByClassName("e").length===0)){g.lastChild.className="e";if(g.getElementsByClassName("e").length!==1){o.order.splice(1,0,"CLASS");o.find.CLASS=function(i,n,m){if(typeof n.getElementsByClassName!=="undefined"&&!m)return n.getElementsByClassName(i[1])};g=null}}})();k.contains=t.documentElement.contains?function(g,i){return g!==i&&(g.contains?g.contains(i):true)}:t.documentElement.compareDocumentPosition? +function(g,i){return!!(g.compareDocumentPosition(i)&16)}:function(){return false};k.isXML=function(g){return(g=(g?g.ownerDocument||g:0).documentElement)?g.nodeName!=="HTML":false};var L=function(g,i){for(var n,m=[],p="",q=i.nodeType?[i]:i;n=o.match.PSEUDO.exec(g);){p+=n[0];g=g.replace(o.match.PSEUDO,"")}g=o.relative[g]?g+"*":g;n=0;for(var u=q.length;n0)for(var h=d;h0},closest:function(a,b){var d=[],e,f,h=this[0];if(c.isArray(a)){var l,k={},o=1;if(h&&a.length){e=0;for(f=a.length;e-1:c(h).is(e))d.push({selector:l,elem:h,level:o})}h= +h.parentNode;o++}}return d}l=cb.test(a)?c(a,b||this.context):null;e=0;for(f=this.length;e-1:c.find.matchesSelector(h,a)){d.push(h);break}else{h=h.parentNode;if(!h||!h.ownerDocument||h===b)break}d=d.length>1?c.unique(d):d;return this.pushStack(d,"closest",a)},index:function(a){if(!a||typeof a==="string")return c.inArray(this[0],a?c(a):this.parent().children());return c.inArray(a.jquery?a[0]:a,this)},add:function(a,b){var d=typeof a==="string"?c(a,b||this.context): +c.makeArray(a),e=c.merge(this.get(),d);return this.pushStack(!d[0]||!d[0].parentNode||d[0].parentNode.nodeType===11||!e[0]||!e[0].parentNode||e[0].parentNode.nodeType===11?e:c.unique(e))},andSelf:function(){return this.add(this.prevObject)}});c.each({parent:function(a){return(a=a.parentNode)&&a.nodeType!==11?a:null},parents:function(a){return c.dir(a,"parentNode")},parentsUntil:function(a,b,d){return c.dir(a,"parentNode",d)},next:function(a){return c.nth(a,2,"nextSibling")},prev:function(a){return c.nth(a, +2,"previousSibling")},nextAll:function(a){return c.dir(a,"nextSibling")},prevAll:function(a){return c.dir(a,"previousSibling")},nextUntil:function(a,b,d){return c.dir(a,"nextSibling",d)},prevUntil:function(a,b,d){return c.dir(a,"previousSibling",d)},siblings:function(a){return c.sibling(a.parentNode.firstChild,a)},children:function(a){return c.sibling(a.firstChild)},contents:function(a){return c.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:c.makeArray(a.childNodes)}},function(a, +b){c.fn[a]=function(d,e){var f=c.map(this,b,d);Za.test(a)||(e=d);if(e&&typeof e==="string")f=c.filter(e,f);f=this.length>1?c.unique(f):f;if((this.length>1||ab.test(e))&&$a.test(a))f=f.reverse();return this.pushStack(f,a,bb.call(arguments).join(","))}});c.extend({filter:function(a,b,d){if(d)a=":not("+a+")";return b.length===1?c.find.matchesSelector(b[0],a)?[b[0]]:[]:c.find.matches(a,b)},dir:function(a,b,d){var e=[];for(a=a[b];a&&a.nodeType!==9&&(d===B||a.nodeType!==1||!c(a).is(d));){a.nodeType===1&& +e.push(a);a=a[b]}return e},nth:function(a,b,d){b=b||1;for(var e=0;a;a=a[d])if(a.nodeType===1&&++e===b)break;return a},sibling:function(a,b){for(var d=[];a;a=a.nextSibling)a.nodeType===1&&a!==b&&d.push(a);return d}});var za=/ jQuery\d+="(?:\d+|null)"/g,$=/^\s+/,Aa=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,Ba=/<([\w:]+)/,db=/\s]+\/)>/g,P={option:[1, +""],legend:[1,"
    ","
    "],thead:[1,"","
    "],tr:[2,"","
    "],td:[3,"","
    "],col:[2,"","
    "],area:[1,"",""],_default:[0,"",""]};P.optgroup=P.option;P.tbody=P.tfoot=P.colgroup=P.caption=P.thead;P.th=P.td;if(!c.support.htmlSerialize)P._default=[1,"div
    ","
    "];c.fn.extend({text:function(a){if(c.isFunction(a))return this.each(function(b){var d= +c(this);d.text(a.call(this,b,d.text()))});if(typeof a!=="object"&&a!==B)return this.empty().append((this[0]&&this[0].ownerDocument||t).createTextNode(a));return c.text(this)},wrapAll:function(a){if(c.isFunction(a))return this.each(function(d){c(this).wrapAll(a.call(this,d))});if(this[0]){var b=c(a,this[0].ownerDocument).eq(0).clone(true);this[0].parentNode&&b.insertBefore(this[0]);b.map(function(){for(var d=this;d.firstChild&&d.firstChild.nodeType===1;)d=d.firstChild;return d}).append(this)}return this}, +wrapInner:function(a){if(c.isFunction(a))return this.each(function(b){c(this).wrapInner(a.call(this,b))});return this.each(function(){var b=c(this),d=b.contents();d.length?d.wrapAll(a):b.append(a)})},wrap:function(a){return this.each(function(){c(this).wrapAll(a)})},unwrap:function(){return this.parent().each(function(){c.nodeName(this,"body")||c(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,true,function(a){this.nodeType===1&&this.appendChild(a)})}, +prepend:function(){return this.domManip(arguments,true,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,false,function(b){this.parentNode.insertBefore(b,this)});else if(arguments.length){var a=c(arguments[0]);a.push.apply(a,this.toArray());return this.pushStack(a,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,false,function(b){this.parentNode.insertBefore(b, +this.nextSibling)});else if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,c(arguments[0]).toArray());return a}},remove:function(a,b){for(var d=0,e;(e=this[d])!=null;d++)if(!a||c.filter(a,[e]).length){if(!b&&e.nodeType===1){c.cleanData(e.getElementsByTagName("*"));c.cleanData([e])}e.parentNode&&e.parentNode.removeChild(e)}return this},empty:function(){for(var a=0,b;(b=this[a])!=null;a++)for(b.nodeType===1&&c.cleanData(b.getElementsByTagName("*"));b.firstChild;)b.removeChild(b.firstChild); +return this},clone:function(a){var b=this.map(function(){if(!c.support.noCloneEvent&&!c.isXMLDoc(this)){var d=this.outerHTML,e=this.ownerDocument;if(!d){d=e.createElement("div");d.appendChild(this.cloneNode(true));d=d.innerHTML}return c.clean([d.replace(za,"").replace(fb,'="$1">').replace($,"")],e)[0]}else return this.cloneNode(true)});if(a===true){na(this,b);na(this.find("*"),b.find("*"))}return b},html:function(a){if(a===B)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(za,""):null; +else if(typeof a==="string"&&!Ca.test(a)&&(c.support.leadingWhitespace||!$.test(a))&&!P[(Ba.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(Aa,"<$1>");try{for(var b=0,d=this.length;b0||e.cacheable||this.length>1?h.cloneNode(true):h)}k.length&&c.each(k,Oa)}return this}});c.buildFragment=function(a,b,d){var e,f,h;b=b&&b[0]?b[0].ownerDocument||b[0]:t;if(a.length===1&&typeof a[0]==="string"&&a[0].length<512&&b===t&&!Ca.test(a[0])&&(c.support.checkClone||!Da.test(a[0]))){f=true;if(h=c.fragments[a[0]])if(h!==1)e=h}if(!e){e=b.createDocumentFragment();c.clean(a,b,e,d)}if(f)c.fragments[a[0]]=h?e:1;return{fragment:e,cacheable:f}};c.fragments={};c.each({appendTo:"append", +prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){c.fn[a]=function(d){var e=[];d=c(d);var f=this.length===1&&this[0].parentNode;if(f&&f.nodeType===11&&f.childNodes.length===1&&d.length===1){d[b](this[0]);return this}else{f=0;for(var h=d.length;f0?this.clone(true):this).get();c(d[f])[b](l);e=e.concat(l)}return this.pushStack(e,a,d.selector)}}});c.extend({clean:function(a,b,d,e){b=b||t;if(typeof b.createElement==="undefined")b=b.ownerDocument|| +b[0]&&b[0].ownerDocument||t;for(var f=[],h=0,l;(l=a[h])!=null;h++){if(typeof l==="number")l+="";if(l){if(typeof l==="string"&&!eb.test(l))l=b.createTextNode(l);else if(typeof l==="string"){l=l.replace(Aa,"<$1>");var k=(Ba.exec(l)||["",""])[1].toLowerCase(),o=P[k]||P._default,x=o[0],r=b.createElement("div");for(r.innerHTML=o[1]+l+o[2];x--;)r=r.lastChild;if(!c.support.tbody){x=db.test(l);k=k==="table"&&!x?r.firstChild&&r.firstChild.childNodes:o[1]===""&&!x?r.childNodes:[];for(o=k.length- +1;o>=0;--o)c.nodeName(k[o],"tbody")&&!k[o].childNodes.length&&k[o].parentNode.removeChild(k[o])}!c.support.leadingWhitespace&&$.test(l)&&r.insertBefore(b.createTextNode($.exec(l)[0]),r.firstChild);l=r.childNodes}if(l.nodeType)f.push(l);else f=c.merge(f,l)}}if(d)for(h=0;f[h];h++)if(e&&c.nodeName(f[h],"script")&&(!f[h].type||f[h].type.toLowerCase()==="text/javascript"))e.push(f[h].parentNode?f[h].parentNode.removeChild(f[h]):f[h]);else{f[h].nodeType===1&&f.splice.apply(f,[h+1,0].concat(c.makeArray(f[h].getElementsByTagName("script")))); +d.appendChild(f[h])}return f},cleanData:function(a){for(var b,d,e=c.cache,f=c.event.special,h=c.support.deleteExpando,l=0,k;(k=a[l])!=null;l++)if(!(k.nodeName&&c.noData[k.nodeName.toLowerCase()]))if(d=k[c.expando]){if((b=e[d])&&b.events)for(var o in b.events)f[o]?c.event.remove(k,o):c.removeEvent(k,o,b.handle);if(h)delete k[c.expando];else k.removeAttribute&&k.removeAttribute(c.expando);delete e[d]}}});var Ea=/alpha\([^)]*\)/i,gb=/opacity=([^)]*)/,hb=/-([a-z])/ig,ib=/([A-Z])/g,Fa=/^-?\d+(?:px)?$/i, +jb=/^-?\d/,kb={position:"absolute",visibility:"hidden",display:"block"},Pa=["Left","Right"],Qa=["Top","Bottom"],W,Ga,aa,lb=function(a,b){return b.toUpperCase()};c.fn.css=function(a,b){if(arguments.length===2&&b===B)return this;return c.access(this,a,b,true,function(d,e,f){return f!==B?c.style(d,e,f):c.css(d,e)})};c.extend({cssHooks:{opacity:{get:function(a,b){if(b){var d=W(a,"opacity","opacity");return d===""?"1":d}else return a.style.opacity}}},cssNumber:{zIndex:true,fontWeight:true,opacity:true, +zoom:true,lineHeight:true},cssProps:{"float":c.support.cssFloat?"cssFloat":"styleFloat"},style:function(a,b,d,e){if(!(!a||a.nodeType===3||a.nodeType===8||!a.style)){var f,h=c.camelCase(b),l=a.style,k=c.cssHooks[h];b=c.cssProps[h]||h;if(d!==B){if(!(typeof d==="number"&&isNaN(d)||d==null)){if(typeof d==="number"&&!c.cssNumber[h])d+="px";if(!k||!("set"in k)||(d=k.set(a,d))!==B)try{l[b]=d}catch(o){}}}else{if(k&&"get"in k&&(f=k.get(a,false,e))!==B)return f;return l[b]}}},css:function(a,b,d){var e,f=c.camelCase(b), +h=c.cssHooks[f];b=c.cssProps[f]||f;if(h&&"get"in h&&(e=h.get(a,true,d))!==B)return e;else if(W)return W(a,b,f)},swap:function(a,b,d){var e={},f;for(f in b){e[f]=a.style[f];a.style[f]=b[f]}d.call(a);for(f in b)a.style[f]=e[f]},camelCase:function(a){return a.replace(hb,lb)}});c.curCSS=c.css;c.each(["height","width"],function(a,b){c.cssHooks[b]={get:function(d,e,f){var h;if(e){if(d.offsetWidth!==0)h=oa(d,b,f);else c.swap(d,kb,function(){h=oa(d,b,f)});if(h<=0){h=W(d,b,b);if(h==="0px"&&aa)h=aa(d,b,b); +if(h!=null)return h===""||h==="auto"?"0px":h}if(h<0||h==null){h=d.style[b];return h===""||h==="auto"?"0px":h}return typeof h==="string"?h:h+"px"}},set:function(d,e){if(Fa.test(e)){e=parseFloat(e);if(e>=0)return e+"px"}else return e}}});if(!c.support.opacity)c.cssHooks.opacity={get:function(a,b){return gb.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100+"":b?"1":""},set:function(a,b){var d=a.style;d.zoom=1;var e=c.isNaN(b)?"":"alpha(opacity="+b*100+")",f= +d.filter||"";d.filter=Ea.test(f)?f.replace(Ea,e):d.filter+" "+e}};if(t.defaultView&&t.defaultView.getComputedStyle)Ga=function(a,b,d){var e;d=d.replace(ib,"-$1").toLowerCase();if(!(b=a.ownerDocument.defaultView))return B;if(b=b.getComputedStyle(a,null)){e=b.getPropertyValue(d);if(e===""&&!c.contains(a.ownerDocument.documentElement,a))e=c.style(a,d)}return e};if(t.documentElement.currentStyle)aa=function(a,b){var d,e,f=a.currentStyle&&a.currentStyle[b],h=a.style;if(!Fa.test(f)&&jb.test(f)){d=h.left; +e=a.runtimeStyle.left;a.runtimeStyle.left=a.currentStyle.left;h.left=b==="fontSize"?"1em":f||0;f=h.pixelLeft+"px";h.left=d;a.runtimeStyle.left=e}return f===""?"auto":f};W=Ga||aa;if(c.expr&&c.expr.filters){c.expr.filters.hidden=function(a){var b=a.offsetHeight;return a.offsetWidth===0&&b===0||!c.support.reliableHiddenOffsets&&(a.style.display||c.css(a,"display"))==="none"};c.expr.filters.visible=function(a){return!c.expr.filters.hidden(a)}}var mb=c.now(),nb=/)<[^<]*)*<\/script>/gi, +ob=/^(?:select|textarea)/i,pb=/^(?:color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,qb=/^(?:GET|HEAD)$/,Ra=/\[\]$/,T=/\=\?(&|$)/,ja=/\?/,rb=/([?&])_=[^&]*/,sb=/^(\w+:)?\/\/([^\/?#]+)/,tb=/%20/g,ub=/#.*$/,Ha=c.fn.load;c.fn.extend({load:function(a,b,d){if(typeof a!=="string"&&Ha)return Ha.apply(this,arguments);else if(!this.length)return this;var e=a.indexOf(" ");if(e>=0){var f=a.slice(e,a.length);a=a.slice(0,e)}e="GET";if(b)if(c.isFunction(b)){d=b;b=null}else if(typeof b=== +"object"){b=c.param(b,c.ajaxSettings.traditional);e="POST"}var h=this;c.ajax({url:a,type:e,dataType:"html",data:b,complete:function(l,k){if(k==="success"||k==="notmodified")h.html(f?c("
    ").append(l.responseText.replace(nb,"")).find(f):l.responseText);d&&h.each(d,[l.responseText,k,l])}});return this},serialize:function(){return c.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?c.makeArray(this.elements):this}).filter(function(){return this.name&& +!this.disabled&&(this.checked||ob.test(this.nodeName)||pb.test(this.type))}).map(function(a,b){var d=c(this).val();return d==null?null:c.isArray(d)?c.map(d,function(e){return{name:b.name,value:e}}):{name:b.name,value:d}}).get()}});c.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){c.fn[b]=function(d){return this.bind(b,d)}});c.extend({get:function(a,b,d,e){if(c.isFunction(b)){e=e||d;d=b;b=null}return c.ajax({type:"GET",url:a,data:b,success:d,dataType:e})}, +getScript:function(a,b){return c.get(a,null,b,"script")},getJSON:function(a,b,d){return c.get(a,b,d,"json")},post:function(a,b,d,e){if(c.isFunction(b)){e=e||d;d=b;b={}}return c.ajax({type:"POST",url:a,data:b,success:d,dataType:e})},ajaxSetup:function(a){c.extend(c.ajaxSettings,a)},ajaxSettings:{url:location.href,global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,xhr:function(){return new E.XMLHttpRequest},accepts:{xml:"application/xml, text/xml",html:"text/html", +script:"text/javascript, application/javascript",json:"application/json, text/javascript",text:"text/plain",_default:"*/*"}},ajax:function(a){var b=c.extend(true,{},c.ajaxSettings,a),d,e,f,h=b.type.toUpperCase(),l=qb.test(h);b.url=b.url.replace(ub,"");b.context=a&&a.context!=null?a.context:b;if(b.data&&b.processData&&typeof b.data!=="string")b.data=c.param(b.data,b.traditional);if(b.dataType==="jsonp"){if(h==="GET")T.test(b.url)||(b.url+=(ja.test(b.url)?"&":"?")+(b.jsonp||"callback")+"=?");else if(!b.data|| +!T.test(b.data))b.data=(b.data?b.data+"&":"")+(b.jsonp||"callback")+"=?";b.dataType="json"}if(b.dataType==="json"&&(b.data&&T.test(b.data)||T.test(b.url))){d=b.jsonpCallback||"jsonp"+mb++;if(b.data)b.data=(b.data+"").replace(T,"="+d+"$1");b.url=b.url.replace(T,"="+d+"$1");b.dataType="script";var k=E[d];E[d]=function(m){if(c.isFunction(k))k(m);else{E[d]=B;try{delete E[d]}catch(p){}}f=m;c.handleSuccess(b,w,e,f);c.handleComplete(b,w,e,f);r&&r.removeChild(A)}}if(b.dataType==="script"&&b.cache===null)b.cache= +false;if(b.cache===false&&l){var o=c.now(),x=b.url.replace(rb,"$1_="+o);b.url=x+(x===b.url?(ja.test(b.url)?"&":"?")+"_="+o:"")}if(b.data&&l)b.url+=(ja.test(b.url)?"&":"?")+b.data;b.global&&c.active++===0&&c.event.trigger("ajaxStart");o=(o=sb.exec(b.url))&&(o[1]&&o[1].toLowerCase()!==location.protocol||o[2].toLowerCase()!==location.host);if(b.dataType==="script"&&h==="GET"&&o){var r=t.getElementsByTagName("head")[0]||t.documentElement,A=t.createElement("script");if(b.scriptCharset)A.charset=b.scriptCharset; +A.src=b.url;if(!d){var C=false;A.onload=A.onreadystatechange=function(){if(!C&&(!this.readyState||this.readyState==="loaded"||this.readyState==="complete")){C=true;c.handleSuccess(b,w,e,f);c.handleComplete(b,w,e,f);A.onload=A.onreadystatechange=null;r&&A.parentNode&&r.removeChild(A)}}}r.insertBefore(A,r.firstChild);return B}var J=false,w=b.xhr();if(w){b.username?w.open(h,b.url,b.async,b.username,b.password):w.open(h,b.url,b.async);try{if(b.data!=null&&!l||a&&a.contentType)w.setRequestHeader("Content-Type", +b.contentType);if(b.ifModified){c.lastModified[b.url]&&w.setRequestHeader("If-Modified-Since",c.lastModified[b.url]);c.etag[b.url]&&w.setRequestHeader("If-None-Match",c.etag[b.url])}o||w.setRequestHeader("X-Requested-With","XMLHttpRequest");w.setRequestHeader("Accept",b.dataType&&b.accepts[b.dataType]?b.accepts[b.dataType]+", */*; q=0.01":b.accepts._default)}catch(I){}if(b.beforeSend&&b.beforeSend.call(b.context,w,b)===false){b.global&&c.active--===1&&c.event.trigger("ajaxStop");w.abort();return false}b.global&& +c.triggerGlobal(b,"ajaxSend",[w,b]);var L=w.onreadystatechange=function(m){if(!w||w.readyState===0||m==="abort"){J||c.handleComplete(b,w,e,f);J=true;if(w)w.onreadystatechange=c.noop}else if(!J&&w&&(w.readyState===4||m==="timeout")){J=true;w.onreadystatechange=c.noop;e=m==="timeout"?"timeout":!c.httpSuccess(w)?"error":b.ifModified&&c.httpNotModified(w,b.url)?"notmodified":"success";var p;if(e==="success")try{f=c.httpData(w,b.dataType,b)}catch(q){e="parsererror";p=q}if(e==="success"||e==="notmodified")d|| +c.handleSuccess(b,w,e,f);else c.handleError(b,w,e,p);d||c.handleComplete(b,w,e,f);m==="timeout"&&w.abort();if(b.async)w=null}};try{var g=w.abort;w.abort=function(){w&&Function.prototype.call.call(g,w);L("abort")}}catch(i){}b.async&&b.timeout>0&&setTimeout(function(){w&&!J&&L("timeout")},b.timeout);try{w.send(l||b.data==null?null:b.data)}catch(n){c.handleError(b,w,null,n);c.handleComplete(b,w,e,f)}b.async||L();return w}},param:function(a,b){var d=[],e=function(h,l){l=c.isFunction(l)?l():l;d[d.length]= +encodeURIComponent(h)+"="+encodeURIComponent(l)};if(b===B)b=c.ajaxSettings.traditional;if(c.isArray(a)||a.jquery)c.each(a,function(){e(this.name,this.value)});else for(var f in a)da(f,a[f],b,e);return d.join("&").replace(tb,"+")}});c.extend({active:0,lastModified:{},etag:{},handleError:function(a,b,d,e){a.error&&a.error.call(a.context,b,d,e);a.global&&c.triggerGlobal(a,"ajaxError",[b,a,e])},handleSuccess:function(a,b,d,e){a.success&&a.success.call(a.context,e,d,b);a.global&&c.triggerGlobal(a,"ajaxSuccess", +[b,a])},handleComplete:function(a,b,d){a.complete&&a.complete.call(a.context,b,d);a.global&&c.triggerGlobal(a,"ajaxComplete",[b,a]);a.global&&c.active--===1&&c.event.trigger("ajaxStop")},triggerGlobal:function(a,b,d){(a.context&&a.context.url==null?c(a.context):c.event).trigger(b,d)},httpSuccess:function(a){try{return!a.status&&location.protocol==="file:"||a.status>=200&&a.status<300||a.status===304||a.status===1223}catch(b){}return false},httpNotModified:function(a,b){var d=a.getResponseHeader("Last-Modified"), +e=a.getResponseHeader("Etag");if(d)c.lastModified[b]=d;if(e)c.etag[b]=e;return a.status===304},httpData:function(a,b,d){var e=a.getResponseHeader("content-type")||"",f=b==="xml"||!b&&e.indexOf("xml")>=0;a=f?a.responseXML:a.responseText;f&&a.documentElement.nodeName==="parsererror"&&c.error("parsererror");if(d&&d.dataFilter)a=d.dataFilter(a,b);if(typeof a==="string")if(b==="json"||!b&&e.indexOf("json")>=0)a=c.parseJSON(a);else if(b==="script"||!b&&e.indexOf("javascript")>=0)c.globalEval(a);return a}}); +if(E.ActiveXObject)c.ajaxSettings.xhr=function(){if(E.location.protocol!=="file:")try{return new E.XMLHttpRequest}catch(a){}try{return new E.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}};c.support.ajax=!!c.ajaxSettings.xhr();var ea={},vb=/^(?:toggle|show|hide)$/,wb=/^([+\-]=)?([\d+.\-]+)(.*)$/,ba,pa=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];c.fn.extend({show:function(a,b,d){if(a||a===0)return this.animate(S("show", +3),a,b,d);else{d=0;for(var e=this.length;d=0;e--)if(d[e].elem===this){b&&d[e](true);d.splice(e,1)}});b||this.dequeue();return this}});c.each({slideDown:S("show",1),slideUp:S("hide",1),slideToggle:S("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,b){c.fn[a]=function(d,e,f){return this.animate(b, +d,e,f)}});c.extend({speed:function(a,b,d){var e=a&&typeof a==="object"?c.extend({},a):{complete:d||!d&&b||c.isFunction(a)&&a,duration:a,easing:d&&b||b&&!c.isFunction(b)&&b};e.duration=c.fx.off?0:typeof e.duration==="number"?e.duration:e.duration in c.fx.speeds?c.fx.speeds[e.duration]:c.fx.speeds._default;e.old=e.complete;e.complete=function(){e.queue!==false&&c(this).dequeue();c.isFunction(e.old)&&e.old.call(this)};return e},easing:{linear:function(a,b,d,e){return d+e*a},swing:function(a,b,d,e){return(-Math.cos(a* +Math.PI)/2+0.5)*e+d}},timers:[],fx:function(a,b,d){this.options=b;this.elem=a;this.prop=d;if(!b.orig)b.orig={}}});c.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this);(c.fx.step[this.prop]||c.fx.step._default)(this)},cur:function(){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null))return this.elem[this.prop];var a=parseFloat(c.css(this.elem,this.prop));return a&&a>-1E4?a:0},custom:function(a,b,d){function e(l){return f.step(l)} +var f=this,h=c.fx;this.startTime=c.now();this.start=a;this.end=b;this.unit=d||this.unit||"px";this.now=this.start;this.pos=this.state=0;e.elem=this.elem;if(e()&&c.timers.push(e)&&!ba)ba=setInterval(h.tick,h.interval)},show:function(){this.options.orig[this.prop]=c.style(this.elem,this.prop);this.options.show=true;this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur());c(this.elem).show()},hide:function(){this.options.orig[this.prop]=c.style(this.elem,this.prop);this.options.hide=true; +this.custom(this.cur(),0)},step:function(a){var b=c.now(),d=true;if(a||b>=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;for(var e in this.options.curAnim)if(this.options.curAnim[e]!==true)d=false;if(d){if(this.options.overflow!=null&&!c.support.shrinkWrapBlocks){var f=this.elem,h=this.options;c.each(["","X","Y"],function(k,o){f.style["overflow"+o]=h.overflow[k]})}this.options.hide&&c(this.elem).hide();if(this.options.hide|| +this.options.show)for(var l in this.options.curAnim)c.style(this.elem,l,this.options.orig[l]);this.options.complete.call(this.elem)}return false}else{a=b-this.startTime;this.state=a/this.options.duration;b=this.options.easing||(c.easing.swing?"swing":"linear");this.pos=c.easing[this.options.specialEasing&&this.options.specialEasing[this.prop]||b](this.state,a,0,1,this.options.duration);this.now=this.start+(this.end-this.start)*this.pos;this.update()}return true}};c.extend(c.fx,{tick:function(){for(var a= +c.timers,b=0;b-1;e={};var x={};if(o)x=f.position();l=o?x.top:parseInt(l,10)||0;k=o?x.left:parseInt(k,10)||0;if(c.isFunction(b))b=b.call(a,d,h);if(b.top!=null)e.top=b.top-h.top+l;if(b.left!=null)e.left=b.left-h.left+k;"using"in b?b.using.call(a, +e):f.css(e)}};c.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetParent(),d=this.offset(),e=Ia.test(b[0].nodeName)?{top:0,left:0}:b.offset();d.top-=parseFloat(c.css(a,"marginTop"))||0;d.left-=parseFloat(c.css(a,"marginLeft"))||0;e.top+=parseFloat(c.css(b[0],"borderTopWidth"))||0;e.left+=parseFloat(c.css(b[0],"borderLeftWidth"))||0;return{top:d.top-e.top,left:d.left-e.left}},offsetParent:function(){return this.map(function(){for(var a=this.offsetParent||t.body;a&&!Ia.test(a.nodeName)&& +c.css(a,"position")==="static";)a=a.offsetParent;return a})}});c.each(["Left","Top"],function(a,b){var d="scroll"+b;c.fn[d]=function(e){var f=this[0],h;if(!f)return null;if(e!==B)return this.each(function(){if(h=fa(this))h.scrollTo(!a?e:c(h).scrollLeft(),a?e:c(h).scrollTop());else this[d]=e});else return(h=fa(f))?"pageXOffset"in h?h[a?"pageYOffset":"pageXOffset"]:c.support.boxModel&&h.document.documentElement[d]||h.document.body[d]:f[d]}});c.each(["Height","Width"],function(a,b){var d=b.toLowerCase(); +c.fn["inner"+b]=function(){return this[0]?parseFloat(c.css(this[0],d,"padding")):null};c.fn["outer"+b]=function(e){return this[0]?parseFloat(c.css(this[0],d,e?"margin":"border")):null};c.fn[d]=function(e){var f=this[0];if(!f)return e==null?null:this;if(c.isFunction(e))return this.each(function(l){var k=c(this);k[d](e.call(this,l,k[d]()))});if(c.isWindow(f))return f.document.compatMode==="CSS1Compat"&&f.document.documentElement["client"+b]||f.document.body["client"+b];else if(f.nodeType===9)return Math.max(f.documentElement["client"+ +b],f.body["scroll"+b],f.documentElement["scroll"+b],f.body["offset"+b],f.documentElement["offset"+b]);else if(e===B){f=c.css(f,d);var h=parseFloat(f);return c.isNaN(h)?f:h}else return this.css(d,typeof e==="string"?e:e+"px")}})})(window); diff --git a/template/j2/js/jquery.lightbox-0.5.js b/template/j2/js/jquery.lightbox-0.5.js new file mode 100644 index 0000000..5e177aa --- /dev/null +++ b/template/j2/js/jquery.lightbox-0.5.js @@ -0,0 +1,472 @@ +/** + * jQuery lightBox plugin + * This jQuery plugin was inspired and based on Lightbox 2 by Lokesh Dhakar (http://www.huddletogether.com/projects/lightbox2/) + * and adapted to me for use like a plugin from jQuery. + * @name jquery-lightbox-0.5.js + * @author Leandro Vieira Pinho - http://leandrovieira.com + * @version 0.5 + * @date April 11, 2008 + * @category jQuery plugin + * @copyright (c) 2008 Leandro Vieira Pinho (leandrovieira.com) + * @license CCAttribution-ShareAlike 2.5 Brazil - http://creativecommons.org/licenses/by-sa/2.5/br/deed.en_US + * @example Visit http://leandrovieira.com/projects/jquery/lightbox/ for more informations about this jQuery plugin + */ + +// Offering a Custom Alias suport - More info: http://docs.jquery.com/Plugins/Authoring#Custom_Alias +(function($) { + /** + * $ is an alias to jQuery object + * + */ + $.fn.lightBox = function(settings) { + // Settings to configure the jQuery lightBox plugin how you like + settings = jQuery.extend({ + // Configuration related to overlay + overlayBgColor: '#000', // (string) Background color to overlay; inform a hexadecimal value like: #RRGGBB. Where RR, GG, and BB are the hexadecimal values for the red, green, and blue values of the color. + overlayOpacity: 0.8, // (integer) Opacity value to overlay; inform: 0.X. Where X are number from 0 to 9 + // Configuration related to navigation + fixedNavigation: false, // (boolean) Boolean that informs if the navigation (next and prev button) will be fixed or not in the interface. + // Configuration related to images + imageLoading: 'template/j2/images/lightbox-ico-loading.gif', // (string) Path and the name of the loading icon + imageBtnPrev: 'template/j2/images/lightbox-btn-prev.gif', // (string) Path and the name of the prev button image + imageBtnNext: 'template/j2/images/lightbox-btn-next.gif', // (string) Path and the name of the next button image + imageBtnClose: 'template/j2/images/lightbox-btn-close.gif', // (string) Path and the name of the close btn + imageBlank: 'template/j2/images/lightbox-blank.gif', // (string) Path and the name of a blank image (one pixel) + // Configuration related to container image box + containerBorderSize: 10, // (integer) If you adjust the padding in the CSS for the container, #lightbox-container-image-box, you will need to update this value + containerResizeSpeed: 400, // (integer) Specify the resize duration of container image. These number are miliseconds. 400 is default. + // Configuration related to texts in caption. For example: Image 2 of 8. You can alter either "Image" and "of" texts. + txtImage: 'Image', // (string) Specify text "Image" + txtOf: 'of', // (string) Specify text "of" + // Configuration related to keyboard navigation + keyToClose: 'c', // (string) (c = close) Letter to close the jQuery lightBox interface. Beyond this letter, the letter X and the SCAPE key is used to. + keyToPrev: 'p', // (string) (p = previous) Letter to show the previous image + keyToNext: 'n', // (string) (n = next) Letter to show the next image. + // Dont alter these variables in any way + imageArray: [], + activeImage: 0 + },settings); + // Caching the jQuery object with all elements matched + var jQueryMatchedObj = this; // This, in this context, refer to jQuery object + /** + * Initializing the plugin calling the start function + * + * @return boolean false + */ + function _initialize() { + _start(this,jQueryMatchedObj); // This, in this context, refer to object (link) which the user have clicked + return false; // Avoid the browser following the link + } + /** + * Start the jQuery lightBox plugin + * + * @param object objClicked The object (link) whick the user have clicked + * @param object jQueryMatchedObj The jQuery object with all elements matched + */ + function _start(objClicked,jQueryMatchedObj) { + // Hime some elements to avoid conflict with overlay in IE. These elements appear above the overlay. + $('embed, object, select').css({ 'visibility' : 'hidden' }); + // Call the function to create the markup structure; style some elements; assign events in some elements. + _set_interface(); + // Unset total images in imageArray + settings.imageArray.length = 0; + // Unset image active information + settings.activeImage = 0; + // We have an image set? Or just an image? Lets see it. + if ( jQueryMatchedObj.length == 1 ) { + settings.imageArray.push(new Array(objClicked.getAttribute('href'),objClicked.getAttribute('title'))); + } else { + // Add an Array (as many as we have), with href and title atributes, inside the Array that storage the images references + for ( var i = 0; i < jQueryMatchedObj.length; i++ ) { + settings.imageArray.push(new Array(jQueryMatchedObj[i].getAttribute('href'),jQueryMatchedObj[i].getAttribute('title'))); + } + } + while ( settings.imageArray[settings.activeImage][0] != objClicked.getAttribute('href') ) { + settings.activeImage++; + } + // Call the function that prepares image exibition + _set_image_to_view(); + } + /** + * Create the jQuery lightBox plugin interface + * + * The HTML markup will be like that: +
    +
    + + +
    + * + */ + function _set_interface() { + // Apply the HTML markup into body tag + $('body').append('
    '); + // Get page sizes + var arrPageSizes = ___getPageSize(); + // Style overlay and show it + $('#jquery-overlay').css({ + backgroundColor: settings.overlayBgColor, + opacity: settings.overlayOpacity, + width: arrPageSizes[0], + height: arrPageSizes[1] + }).fadeIn(); + // Get page scroll + var arrPageScroll = ___getPageScroll(); + // Calculate top and left offset for the jquery-lightbox div object and show it + $('#jquery-lightbox').css({ + top: arrPageScroll[1] + (arrPageSizes[3] / 10), + left: arrPageScroll[0] + }).show(); + // Assigning click events in elements to close overlay + $('#jquery-overlay,#jquery-lightbox').click(function() { + _finish(); + }); + // Assign the _finish function to lightbox-loading-link and lightbox-secNav-btnClose objects + $('#lightbox-loading-link,#lightbox-secNav-btnClose').click(function() { + _finish(); + return false; + }); + // If window was resized, calculate the new overlay dimensions + $(window).resize(function() { + // Get page sizes + var arrPageSizes = ___getPageSize(); + // Style overlay and show it + $('#jquery-overlay').css({ + width: arrPageSizes[0], + height: arrPageSizes[1] + }); + // Get page scroll + var arrPageScroll = ___getPageScroll(); + // Calculate top and left offset for the jquery-lightbox div object and show it + $('#jquery-lightbox').css({ + top: arrPageScroll[1] + (arrPageSizes[3] / 10), + left: arrPageScroll[0] + }); + }); + } + /** + * Prepares image exibition; doing a images preloader to calculate its size + * + */ + function _set_image_to_view() { // show the loading + // Show the loading + $('#lightbox-loading').show(); + if ( settings.fixedNavigation ) { + $('#lightbox-image,#lightbox-container-image-data-box,#lightbox-image-details-currentNumber').hide(); + } else { + // Hide some elements + $('#lightbox-image,#lightbox-nav,#lightbox-nav-btnPrev,#lightbox-nav-btnNext,#lightbox-container-image-data-box,#lightbox-image-details-currentNumber').hide(); + } + // Image preload process + var objImagePreloader = new Image(); + objImagePreloader.onload = function() { + $('#lightbox-image').attr('src',settings.imageArray[settings.activeImage][0]); + // Perfomance an effect in the image container resizing it + _resize_container_image_box(objImagePreloader.width,objImagePreloader.height); + // clear onLoad, IE behaves irratically with animated gifs otherwise + objImagePreloader.onload=function(){}; + }; + objImagePreloader.src = settings.imageArray[settings.activeImage][0]; + }; + /** + * Perfomance an effect in the image container resizing it + * + * @param integer intImageWidth The images width that will be showed + * @param integer intImageHeight The images height that will be showed + */ + function _resize_container_image_box(intImageWidth,intImageHeight) { + // Get current width and height + var intCurrentWidth = $('#lightbox-container-image-box').width(); + var intCurrentHeight = $('#lightbox-container-image-box').height(); + // Get the width and height of the selected image plus the padding + var intWidth = (intImageWidth + (settings.containerBorderSize * 2)); // Plus the images width and the left and right padding value + var intHeight = (intImageHeight + (settings.containerBorderSize * 2)); // Plus the images height and the left and right padding value + // Diferences + var intDiffW = intCurrentWidth - intWidth; + var intDiffH = intCurrentHeight - intHeight; + // Perfomance the effect + $('#lightbox-container-image-box').animate({ width: intWidth, height: intHeight },settings.containerResizeSpeed,function() { _show_image(); }); + if ( ( intDiffW == 0 ) && ( intDiffH == 0 ) ) { + if ( $.browser.msie ) { + ___pause(250); + } else { + ___pause(100); + } + } + $('#lightbox-container-image-data-box').css({ width: intImageWidth }); + $('#lightbox-nav-btnPrev,#lightbox-nav-btnNext').css({ height: intImageHeight + (settings.containerBorderSize * 2) }); + }; + /** + * Show the prepared image + * + */ + function _show_image() { + $('#lightbox-loading').hide(); + $('#lightbox-image').fadeIn(function() { + _show_image_data(); + _set_navigation(); + }); + _preload_neighbor_images(); + }; + /** + * Show the image information + * + */ + function _show_image_data() { + $('#lightbox-container-image-data-box').slideDown('fast'); + $('#lightbox-image-details-caption').hide(); + if ( settings.imageArray[settings.activeImage][1] ) { + $('#lightbox-image-details-caption').html(settings.imageArray[settings.activeImage][1]).show(); + } + // If we have a image set, display 'Image X of X' + if ( settings.imageArray.length > 1 ) { + $('#lightbox-image-details-currentNumber').html(settings.txtImage + ' ' + ( settings.activeImage + 1 ) + ' ' + settings.txtOf + ' ' + settings.imageArray.length).show(); + } + } + /** + * Display the button navigations + * + */ + function _set_navigation() { + $('#lightbox-nav').show(); + + // Instead to define this configuration in CSS file, we define here. And its need to IE. Just. + $('#lightbox-nav-btnPrev,#lightbox-nav-btnNext').css({ 'background' : 'transparent url(' + settings.imageBlank + ') no-repeat' }); + + // Show the prev button, if not the first image in set + if ( settings.activeImage != 0 ) { + if ( settings.fixedNavigation ) { + $('#lightbox-nav-btnPrev').css({ 'background' : 'url(' + settings.imageBtnPrev + ') left 15% no-repeat' }) + .unbind() + .bind('click',function() { + settings.activeImage = settings.activeImage - 1; + _set_image_to_view(); + return false; + }); + } else { + // Show the images button for Next buttons + $('#lightbox-nav-btnPrev').unbind().hover(function() { + $(this).css({ 'background' : 'url(' + settings.imageBtnPrev + ') left 15% no-repeat' }); + },function() { + $(this).css({ 'background' : 'transparent url(' + settings.imageBlank + ') no-repeat' }); + }).show().bind('click',function() { + settings.activeImage = settings.activeImage - 1; + _set_image_to_view(); + return false; + }); + } + } + + // Show the next button, if not the last image in set + if ( settings.activeImage != ( settings.imageArray.length -1 ) ) { + if ( settings.fixedNavigation ) { + $('#lightbox-nav-btnNext').css({ 'background' : 'url(' + settings.imageBtnNext + ') right 15% no-repeat' }) + .unbind() + .bind('click',function() { + settings.activeImage = settings.activeImage + 1; + _set_image_to_view(); + return false; + }); + } else { + // Show the images button for Next buttons + $('#lightbox-nav-btnNext').unbind().hover(function() { + $(this).css({ 'background' : 'url(' + settings.imageBtnNext + ') right 15% no-repeat' }); + },function() { + $(this).css({ 'background' : 'transparent url(' + settings.imageBlank + ') no-repeat' }); + }).show().bind('click',function() { + settings.activeImage = settings.activeImage + 1; + _set_image_to_view(); + return false; + }); + } + } + // Enable keyboard navigation + _enable_keyboard_navigation(); + } + /** + * Enable a support to keyboard navigation + * + */ + function _enable_keyboard_navigation() { + $(document).keydown(function(objEvent) { + _keyboard_action(objEvent); + }); + } + /** + * Disable the support to keyboard navigation + * + */ + function _disable_keyboard_navigation() { + $(document).unbind(); + } + /** + * Perform the keyboard actions + * + */ + function _keyboard_action(objEvent) { + // To ie + if ( objEvent == null ) { + keycode = event.keyCode; + escapeKey = 27; + // To Mozilla + } else { + keycode = objEvent.keyCode; + escapeKey = objEvent.DOM_VK_ESCAPE; + } + // Get the key in lower case form + key = String.fromCharCode(keycode).toLowerCase(); + // Verify the keys to close the ligthBox + if ( ( key == settings.keyToClose ) || ( key == 'x' ) || ( keycode == escapeKey ) ) { + _finish(); + } + // Verify the key to show the previous image + if ( ( key == settings.keyToPrev ) || ( keycode == 37 ) ) { + // If were not showing the first image, call the previous + if ( settings.activeImage != 0 ) { + settings.activeImage = settings.activeImage - 1; + _set_image_to_view(); + _disable_keyboard_navigation(); + } + } + // Verify the key to show the next image + if ( ( key == settings.keyToNext ) || ( keycode == 39 ) ) { + // If were not showing the last image, call the next + if ( settings.activeImage != ( settings.imageArray.length - 1 ) ) { + settings.activeImage = settings.activeImage + 1; + _set_image_to_view(); + _disable_keyboard_navigation(); + } + } + } + /** + * Preload prev and next images being showed + * + */ + function _preload_neighbor_images() { + if ( (settings.imageArray.length -1) > settings.activeImage ) { + objNext = new Image(); + objNext.src = settings.imageArray[settings.activeImage + 1][0]; + } + if ( settings.activeImage > 0 ) { + objPrev = new Image(); + objPrev.src = settings.imageArray[settings.activeImage -1][0]; + } + } + /** + * Remove jQuery lightBox plugin HTML markup + * + */ + function _finish() { + $('#jquery-lightbox').remove(); + $('#jquery-overlay').fadeOut(function() { $('#jquery-overlay').remove(); }); + // Show some elements to avoid conflict with overlay in IE. These elements appear above the overlay. + $('embed, object, select').css({ 'visibility' : 'visible' }); + } + /** + / THIRD FUNCTION + * getPageSize() by quirksmode.com + * + * @return Array Return an array with page width, height and window width, height + */ + function ___getPageSize() { + var xScroll, yScroll; + if (window.innerHeight && window.scrollMaxY) { + xScroll = window.innerWidth + window.scrollMaxX; + yScroll = window.innerHeight + window.scrollMaxY; + } else if (document.body.scrollHeight > document.body.offsetHeight){ // all but Explorer Mac + xScroll = document.body.scrollWidth; + yScroll = document.body.scrollHeight; + } else { // Explorer Mac...would also work in Explorer 6 Strict, Mozilla and Safari + xScroll = document.body.offsetWidth; + yScroll = document.body.offsetHeight; + } + var windowWidth, windowHeight; + if (self.innerHeight) { // all except Explorer + if(document.documentElement.clientWidth){ + windowWidth = document.documentElement.clientWidth; + } else { + windowWidth = self.innerWidth; + } + windowHeight = self.innerHeight; + } else if (document.documentElement && document.documentElement.clientHeight) { // Explorer 6 Strict Mode + windowWidth = document.documentElement.clientWidth; + windowHeight = document.documentElement.clientHeight; + } else if (document.body) { // other Explorers + windowWidth = document.body.clientWidth; + windowHeight = document.body.clientHeight; + } + // for small pages with total height less then height of the viewport + if(yScroll < windowHeight){ + pageHeight = windowHeight; + } else { + pageHeight = yScroll; + } + // for small pages with total width less then width of the viewport + if(xScroll < windowWidth){ + pageWidth = xScroll; + } else { + pageWidth = windowWidth; + } + arrayPageSize = new Array(pageWidth,pageHeight,windowWidth,windowHeight); + return arrayPageSize; + }; + /** + / THIRD FUNCTION + * getPageScroll() by quirksmode.com + * + * @return Array Return an array with x,y page scroll values. + */ + function ___getPageScroll() { + var xScroll, yScroll; + if (self.pageYOffset) { + yScroll = self.pageYOffset; + xScroll = self.pageXOffset; + } else if (document.documentElement && document.documentElement.scrollTop) { // Explorer 6 Strict + yScroll = document.documentElement.scrollTop; + xScroll = document.documentElement.scrollLeft; + } else if (document.body) {// all other Explorers + yScroll = document.body.scrollTop; + xScroll = document.body.scrollLeft; + } + arrayPageScroll = new Array(xScroll,yScroll); + return arrayPageScroll; + }; + /** + * Stop the code execution from a escified time in milisecond + * + */ + function ___pause(ms) { + var date = new Date(); + curDate = null; + do { var curDate = new Date(); } + while ( curDate - date < ms); + }; + // Return the jQuery object for chaining. The unbind method is used to avoid click conflict when the plugin is called more than once + return this.unbind('click').click(_initialize); + }; +})(jQuery); // Call and execute the function immediately passing the jQuery object \ No newline at end of file diff --git a/template/j2cms/css/ReadClass.css b/template/j2cms/css/ReadClass.css new file mode 100644 index 0000000..5b243bb --- /dev/null +++ b/template/j2cms/css/ReadClass.css @@ -0,0 +1,113 @@ +@charset "utf-8"; +/* CSS Document */ +body{ + background-image:url(../images/menu_bg.jpg); + } + +#left {/*页面左边 #cccccc*/ + float:left; + margin:2px auto; + width:268px; + height:auto; + z-index:2; +} +#navigation {/*页面左边的垂直导航条*/ + margin-right:1px; + width:266px; + height:100%; + z-index:5; + + background-image: url(../images/navigationbg.jpg); +} +#navigation ul{/*页面左边的垂直导航条采用列表格式*/ + margin: 1px; + padding: 0px; + list-style: none; +} +#navigation li.special{/*页面左边的垂直导航条最上部的页面标题*/ + + font-family: "华文细黑"; + font-size: 25px; + color: #FFFFFF; + border-bottom: 2.5px solid #cad7df; + padding-top: 45px; + padding-bottom: 10px; + padding-left: 50px; +} +#navigation li.normal{/*页面左边的垂直导航条下面的导航部分*/ + border-bottom: 1px solid #cad7df; + font-size:15px; +} +#navigation li.normal a{/*页面左边的垂直导航条每一个导航栏采用区块显示*/ + display: block; + padding: 3px 5px 3px 50px; + text-decoration: none; +} +#navigation li.normal a:link,#navigation li.normal a:visited{/*页面左边的垂直导航条每一导航栏在鼠标点击之后的效果*/ + font-family:"华文细黑"; + font-weight:bold; + color:#F93; +} +#navigation li.normal a:hover{/*页面左边的垂直导航条每一导航栏在鼠标经过时候的效果*/ + + font-size:110%; + font-weight:bolder; + /*background-color: #993300;background-color:#BD0000;*/ + color:#FFF; + background-image:url(../images/linkbg1.jpg); + + +} + +#main1 {/*内部链接页面*/ +float:left; +width:729px; +margin:2px 0 0 2px; +background-color:#f5e5cf; + + +} +#mhead1{/*内部链接页面的头最左边的部分*/ + background-image: url(../images/linkbg1.jpg); + border: solid 0px #ffffff; + border-top-width: 0px; +} +#mhead2{/*内部链接页面的头右边的部分*/ + background-image: url(../images/linkbg2.jpg); + border: solid 0px #ffffff; + border-top-width: 0px; + height:30px; +} + +#mhead2 a,.menu li a{/*内部链接页面的头右边指示所在页面位置的提示信息相关链接,主链接*/ + color: #FFFFFF; + text-decoration: none; +} +#mhead2 a:hover,.menu li a:hover{/*内部链接,以及主链接,在鼠标经过时的效果*/ + color: #FFFF00; + text-decoration: underline; +} +#mhead2 span{/*内部链接页面的头右边指示所在页面位置的提示信息*/ + color: #FFFFFF; + font-family:华文细黑; + font-size:15px; +} +#mbody{/*内部链接页面主体*/ + border: 1px solid #993300; +} +img.left{/*链接页面主体左上角图片*/ + float: left; + +} +img.right{/*链接页面主体右下角图片*/ + float: right; +} +#teachermsg{/*用表格显示教师信息(表格位置)*/ + position: relative; + left: 2%; + top: 25px; +} +.teacherp{/*教师照片向左浮动*/ + float: left; +} + diff --git a/template/j2cms/css/Search.css b/template/j2cms/css/Search.css new file mode 100644 index 0000000..37b95b3 --- /dev/null +++ b/template/j2cms/css/Search.css @@ -0,0 +1,97 @@ +@charset "utf-8"; +/* CSS Document */ + +#main{ + border: solid 1px #CCCCCC; +} +.left {/*页面左边 #cccccc*/ + margin:2px auto; + float:left; + width:266px; + height:600px; + z-index:2; + border:1px solid #CCCCCC; +} + +.main1 {/*内部链接页面*/ + float:left; + width:727px; + height:auto; + margin:2px 0 0 2px; +} + + +/***************** 文章显示页面样式定义 **********************************************************************************/ +#ShowNews { + margin:0;width:100%; height:100%; background:#ffffff; border:1px solid #CCCCCC; + } + +#Pos { + margin:0;width:auto; height:18px; border-bottom:1px solid #CCCCCC; padding:8px 0px 8px 0px; text-align:left;background: #DEE8F2;font-size: 14px; +} +#Pos a:link { + text-decoration: none; + color:#000; +} +#Pos a:visited { + text-decoration: none; +} +#Pos a:hover { + color: #ff6600; text-decoration: underline; +} +#Pos a:active { + color:#60F; text-decoration: none +} + +#Content { + width:100%; + background-color:#FFFFFF; + font-family:"Arial,Helvetica,sans-serif"; +} +#Content #Title{ margin-top:15px;text-align:center; font-size:20px; font-weight:bold; color:#222222;} +#Content #info{ margin-top:10px;text-align:center; font-size:12px;color:#333333;} +#Content #NewsContent{ margin:20px; padding:5px 20px 30px 20px;text-align:left; font-size:14px;color:#222222; border-top:1px solid #CCCCCC; line-height:20px;}; +/***************** 文章显示页面样式定义 end ********************************************************************************/ + + +/***************** 搜索显示页面样式定义 ************************************************************************************/ + +#sTitle1{ margin:0;width:auto; height:18px; border-bottom:1px solid #CCCCCC; padding:8px 0px 8px 0px; text-align:left;background:url(../images/title.gif) #DEE8F2 left no-repeat;} +#gjss{ margin:0;width:100%; height:18px;background:#DEE8F2; border-bottom:1px solid #CCCCCC;text-align:left;padding:8px 0 8px 0px; background:url(../images/title.gif) #DEE8F2 left no-repeat;} +#stFont{font-family: "Arial,Helvetica,sans-serif";font-size: 14px; color:#333333; font-weight:600;} + +/***************** 高级搜索表单样式定义 *****************/ +#HSearch { margin:0;width:240px;height:200px; padding:0 0 4px 0; text-align:left;} +#HSearch select,input{ + vertical-align:middle; + height:25px; + line-height:25px; +} +#HSearch .sbutton { font-size:12px;height:30px;} +#HSearch .sSelect { width:144px;height:30px;} +#HSearch .sText { width:140px;} +#HSearch span{ font-size:12px; color:#333333; height:22px; width:80px; padding:15px 0 5px 10px; text-align:right;} +#HSearch .sForm{ height:200px; width:240px; text-align:center;} + +/***************** 文章列表显示样式定义 *****************/ +#News {margin:0;width:700px;padding:10px 0px 10px; text-align:left;} +#News ul {margin:0; padding:8px 0 8px;font-size:14px;color:#333333;text-decoration:none; text-align:left;} +#News li { list-style-type:none; padding:4px 0px 4px 10px; height:20px} +#News span{padding:0 0 0 6px; font-size:12px;color:#1f3a87;} /*时间显示样式*/ +#News li img{border-style:none;} + + +/**************** 信息提示字体样式定义 *****************/ +#F3{font-family: "Arial,Helvetica,sans-serif";font-size: 14px; color:#bc2931;} +/**************** 线条样式定义 **********************/ +#Line { padding-left:10px; height:1px;} +#L2{ margin: 5px 10px 5px 10px;width:96%; height:1px; border-bottom:1px dotted #CCCCCC;} + +/**************** 文章链接样式定义 ************************/ +#News A:link { COLOR: #333333; TEXT-DECORATION: none; font-size: 14px;} +#News A:visited {COLOR: #83006f; TEXT-DECORATION: none;font-size: 14px;} +#News A:active {COLOR: #bc2931; TEXT-DECORATION: none; font-size: 14px;} +#News A:hover {COLOR: #bc2931; TEXT-DECORATION: underline; font-size: 14px;} +/***************** 搜索显示页面样式定义 end********************************************************************************/ +.red_normal{color:#F00; font-weight:normal;} + diff --git a/template/j2cms/css/ShowList.css b/template/j2cms/css/ShowList.css new file mode 100644 index 0000000..f9ea2e1 --- /dev/null +++ b/template/j2cms/css/ShowList.css @@ -0,0 +1,81 @@ +@charset "utf-8"; +/* CSS Document */ +body{ + background-color:#f5e5cf; + } +/*-table和td使用框贺出现效果--------------------------------------------------------------------------------------*/ +TABLE { + BORDER-TOP-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-COLLAPSE: collapse; BORDER-RIGHT-WIDTH: 0px; border-spacing: collapse +} +TD { + PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FONT-SIZE: 13px; PADDING-BOTTOM: 0px; COLOR: #333; LINE-HEIGHT: 150%; PADDING-TOP: 0px; +} +/*----------------------------------------------------------------------------------------*/ +.newsList{/*放文章的框架格式*/ + margin:0px; + width: 590px; + height:390px; + border: 0; +} +.newsList img {/*文章栏框架说明图*/ + margin:3px 195px 3px 3px; +} +.newsList strong{/*文章栏“更多”链接*/ + font-size: 12px; +} +.newsList ul {/*文章栏*/ + width:500px; + height:210px; + list-style: none; + padding-left:40px; +} +.newsList li {/*文章条目*/ + width:480px; + height:18px; + background-color:#63C; + border-bottom-color: #993300; + border-bottom-style:dotted; + border-bottom-width:1px; + background:url(../images/arrow.gif) no-repeat; + margin-bottom:8px; + font-size: 14px; +} +.newsList li a,#informpart a,#link a{/*文章条目,友情链接,以及重要通知栏目链接*/ + text-decoration:none; + color:#000000; + font-size: 12px; +} +.newsList li a:hover,#informpart a:hover,#link a:hover{/*文章条目,友情链接,以及重要通知栏目链接在鼠标经过时的样子*/ + color:#C33; + text-decoration: none; + + font-weight:bold; + +} +.newsList a,#link a strong,#link a span{/*文章栏,以及友情链接栏中”更多“链接*/ + text-decoration:none; + color:#900; + font-size: 18px; +} +.newsList a:hover {/*”更多“链接在鼠标经过时的样子*/ + text-decoration:underline; +} + + +a:link { + color:#00F; text-decoration: none +} +a:visited { + color: #333333; text-decoration: none +} +a:active { + color:#60F; text-decoration: none +} +a:hover { + color: #ff6600; text-decoration: underline; +} +.red_bold{color:#F00; font-weight:bold;} +.red_normal{color:#F00; font-weight:normal;} + + + diff --git a/template/j2cms/css/ShowNews.css b/template/j2cms/css/ShowNews.css new file mode 100644 index 0000000..536dfeb --- /dev/null +++ b/template/j2cms/css/ShowNews.css @@ -0,0 +1,68 @@ +@charset "utf-8"; +/* CSS Document */ +body{ + background-image:url(../images/menu_bg.jpg); + background-attachment:fixed; + } + +#left {/*页面左边*/ + float:left; + width:266px; + height:600px; + z-index:2; + background-color:#FFF; +} + +#main1 {/*内部链接页面*/ + float:left; + width:727px; + border-width: 0px; +} + + +/***************** 文章显示页面样式定义 *****************/ +#ShowNews { + /* + width:100%; + margin:0px 1px 0 auto; + */ + margin:0;width:100%; height:100%; background:#ffffff; border:1px solid #959595; + } + +#Pos { + /* + float:left; + padding-top:3px; + width:auto; + height:23px; + border:1px solid #959595; + font-size:14px; + */ + margin:0;width:auto; height:18px; border-bottom:1px solid #959595; padding:8px 0px 8px 0px; text-align:left;background: #DEE8F2; +} +#Pos a:link { + text-decoration: none; + color:#000; +} +#Pos a:visited { + text-decoration: none; +} +#Pos a:hover { + color: #ff6600; text-decoration: underline; +} +#Pos a:active { + color:#60F; text-decoration: none +} + +#Content { + width:100%; + background-color:#FFFFFF; + font-family:"Arial,Helvetica,sans-serif"; +} +#Content #Title{ margin-top:15px;text-align:center; font-size:20px; font-weight:bold; color:#222222;} +#Content #info{ margin-top:10px;text-align:center; font-size:12px;color:#333333;} +#Content #NewsContent{ margin:20px; padding:5px 20px 30px 20px;text-align:left; font-size:14px;color:#222222; border-top:1px solid #959595; line-height:20px;}; +/***************** 文章显示页面样式定义 end *****************/ + + + diff --git a/template/j2cms/css/base.css b/template/j2cms/css/base.css new file mode 100644 index 0000000..8b1e016 --- /dev/null +++ b/template/j2cms/css/base.css @@ -0,0 +1,139 @@ +@charset "utf-8"; + +/* + @名称: base + @功能: 重设浏览器默认样式 +*/ + +/* 防止用户自定义背景颜色对网页的影响,添加让用户可以自定义字体 */ +html{ + color:#000;background:#fff; + -webkit-text-size-adjust: 100%; + -ms-text-size-adjust: 100%; +} + +/* 内外边距通常让各个浏览器样式的表现位置不同 */ +body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td,hr,button,article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section { + margin:0;padding:0; +} + +/* 重设 HTML5 标签, IE 需要在 js 中 createElement(TAG) */ +article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section { + display:block; +} + +/* HTML5 媒体文件跟 img 保持一致 */ +audio,canvas,video { + display: inline-block;*display: inline;*zoom: 1; +} + +/* 要注意表单元素并不继承父级 font 的问题 */ +body,button,input,select,textarea{ + font:12px/1.5 tahoma,arial,\5b8b\4f53; +} +input,select,textarea{ + font-size:100%; +} + +/* 去掉各Table cell 的边距并让其边重合 */ +table{ + border-collapse:collapse;border-spacing:0; +} + +/* IE bug fixed: th 不继承 text-align*/ +th{ + text-align:inherit; +} + +/* 去除默认边框 */ +fieldset,img{ + border:0; +} + +/* ie6 7 8(q) bug 显示为行内表现 */ +iframe{ + display:block; +} + +/* 去掉 firefox 下此元素的边框 */ +abbr,acronym{ + border:0;font-variant:normal; +} + +/* 一致的 del 样式 */ +del { + text-decoration:line-through; +} + +address,caption,cite,code,dfn,em,th,var { + font-style:normal; + font-weight:500; +} + +/* 去掉列表前的标识, li 会继承 */ +ol,ul { + list-style:none; +} + +/* 对齐是排版最重要的因素, 别让什么都居中 */ +caption,th { + text-align:left; +} + +/* 来自yahoo, 让标题都自定义, 适应多个系统应用 */ +h1,h2,h3,h4,h5,h6 { + font-size:100%; + font-weight:500; +} + +q:before,q:after { + content:''; +} + +/* 统一上标和下标 */ +sub, sup { + font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; +} +sup {top: -0.5em;} +sub {bottom: -0.25em;} + + + +/* 让链接在 hover 状态下显示下划线 */ +a:hover { + text-decoration:underline; +} + +/* 默认不显示下划线,保持页面简洁 */ +ins,a { + text-decoration:none; +} + +/* 清理浮动 */ +.fn-clear:after { + visibility:hidden; + display:block; + font-size:0; + content:" "; + clear:both; + height:0; +} +.fn-clear { + zoom:1; /* for IE6 IE7 */ +} + +/* 隐藏, 通常用来与 JS 配合 */ +body .fn-hide { + display:none; +} + +/* 设置内联, 减少浮动带来的bug */ +.fn-left,.fn-right { + display:inline; +} +.fn-left { + float:left; +} +.fn-right { + float:right; +} \ No newline at end of file diff --git a/template/j2cms/css/cddh.css b/template/j2cms/css/cddh.css new file mode 100644 index 0000000..1427ffc --- /dev/null +++ b/template/j2cms/css/cddh.css @@ -0,0 +1,51 @@ +@charset "utf-8"; +/* CSS Document */ +/*菜单导航*/ +/*------------------------------------------------top-------------------*/ + +#top{ + width:1000px; + height:25px; + /* + background:url(../images/top_nav_menu_bg.jpg) 0 0 repeat-x; + */ + padding:1px 0 0 0; + background:url(../images/phone_icon.gif) repeat-x ; +} + +#top ul{ + float:left; + height:25px; + width:1000px; + background:url(../images/phone_icon.gif) repeat-x ; +} +#top ul li{ + float:left; + font-size:0; + line-height:0; + LIST-STYLE-TYPE: none; +} +#top ul li a{ + display:block; + padding:0 22px; + font:bold 12px/23px Arial, Helvetica, sans-serif; + /* + color:#6C6C6C; + */ + color:#fff; +} +#top ul li a:hover{ + color:#fff; + background-color:#BD0000; + font-size:15px; +} +#top ul li a.hover{ + display:block; + font:bold Arial, Helvetica, sans-serif; + color:#fff; + text-decoration:none; + cursor:text; +} +/*------------------------------------------------top--------------------*/ + + diff --git a/template/j2cms/css/common.css b/template/j2cms/css/common.css new file mode 100644 index 0000000..c0f08c3 --- /dev/null +++ b/template/j2cms/css/common.css @@ -0,0 +1,61 @@ +@charset "utf-8"; +/* CSS Document */ +.all-IE{property:value\9;} +:root .IE-9{property:value\0/;} +.gte-IE-8{property:value\0;} +.lte-IE-7{*property:value;} +.IE-7{+property:value;} +.IE-6{_property:value;} +.not-IE{property//:value;} +@-moz-document url-prefix() { .firefox{property:value;} } +@media all and (-webkit-min-device-pixel-ratio:0) { .webkit{property:value;} } +@media all and (-webkit-min-device-pixel-ratio:10000),not all and (-webkit-min-device-pixel-ratio:0) { .opera{property:value;} } +@media screen and (max-device-width: 480px) { .iphone-or-mobile-s-webkit{property:value;} } + + + +*{padding:0;margin:0} + +body{/*浏览器整个主体*/ + + + BACKGROUND-COLOR: white; + /* + background:url(../images/bg_0.gif); + */ + font-size:12px; +} + +#container{/*页面主体*/ + width: 1000px; + z-index:5; + margin-left:auto; + margin-right:auto; +} +.banner{/*页面头部图片*/ +/* float:left; + + width:1000px; + height:150px; +*/ +} + +#main {/*页面主体部分(放置页面链接)*/ + float:left; + margin-left:auto; + margin-right:auto; + width:1000px; + height:auto; + z-index:2; + border: solid 1px #ffffff; + +} + +.copyright{ + margin:0; + clear:both; + float:left; + width:1000px; +} + + diff --git a/template/j2cms/css/foot.css b/template/j2cms/css/foot.css new file mode 100644 index 0000000..15678ec --- /dev/null +++ b/template/j2cms/css/foot.css @@ -0,0 +1,36 @@ +@charset "utf-8"; +/* CSS Document */ +*{padding:0;margin:0} + +#foot {/*页脚*/ + clear:both; + width:1000px; + z-index:2; + height:60px; + font-size:14px; + /*background-image:url(../images/bg_copyright.gif);*/ + background-color:#BD0000; +} +#foot #content{ + float:left; + width:100%; + text-align:center; + margin:3px 0 0 0; + height:57px; + background-image:url(../images/bg_1.gif); + background-repeat:repeat-x; + } +#foot span{/*底部版权字格式*/ + font-family:"Arial,Helvetica,sans-serif"; + font-weight: lighter; +} + +a:link {color:#000;text-decoration:none;} /* 未访问的链接 */ +a:visited {color:#000;text-decoration:none;} /* 已访问的链接 */ +a:hover {color:#F00;} /* 鼠标移动到链接上 */ +a:active {color: #0000FF} /* 选定的链接 */ + + + + + diff --git a/template/j2cms/css/head.css b/template/j2cms/css/head.css new file mode 100644 index 0000000..a0e067e --- /dev/null +++ b/template/j2cms/css/head.css @@ -0,0 +1,24 @@ +@charset "utf-8"; +/* CSS Document */ +*{padding:0;margin:0} + +body{/*浏览器整个主体*/ + background-image:url(../images/60_bg.jpg); + font-size:12px; +} +#head {/*页面头部*/ + margin:0px auto 0px auto; + float:left; + width:1000px; + height:185px; +} +.banner{/*页面头部图片*/ + float:left; + width:1000px; + height:160px; + background-image:url(../images/cs/1.jpg); + background-repeat:no-repeat; +} + + + diff --git a/template/j2cms/css/index.css b/template/j2cms/css/index.css new file mode 100644 index 0000000..de52142 --- /dev/null +++ b/template/j2cms/css/index.css @@ -0,0 +1,355 @@ +@charset "utf-8"; +/* CSS Document */ +body{ + + } +/*------------------------------------------------------------------------------------------------------------------*/ +#main-left {/*页面主要内容左边部分*/ + float:left; + margin-bottom:3px; + width:722px; + z-index:2; +} +#main-center {/*页面主要内容左边上部*/ + float:left; + margin:0; + margin-bottom:2px; + width:1000px; + height:auto; + z-index:2; +} +#imageNews {/*页面主要内容左边部分FLASH图片文章*/ + float:left; + margin:0 2px 2px 0; + width:300px; + height:260px; + z-index:2; + border: solid 1px #CCCCCC; + +} +#systemInfo {/*栏目切换模块*/ + float:left; + width:385px; + height:260px; + margin:0 2px 0 2px; + background-image:url(../images/systemInfo0.jpg); + background-repeat:no-repeat; + z-index:2; + border: solid 1px #CCCCCC; +} +#newNews{ + float:left; + width:368px; + height:21px; + margin:0 2px 0 2px; + padding-left:12px; + border-bottom: #c2130e solid 3px; + font:bold 12px/23px Arial, Helvetica, sans-serif; +} +#systemInfo ul {/*文章栏*/ + margin:auto auto auto 20px; + padding:0px; + width:350px; +} + +#systemInfo li{ + list-style: none; + display: block; + width: 345px; + height:auto; + line-height: 25px; + + border-bottom: #993300 dotted 1px; + + } + + +#tagChange {/*栏目切换模块*/ + float:left; + width:302px; + height:260px; + z-index:2; + border: solid 1px #CCCCCC; +} +#systemAd{ + float:left; + margin:2px 0 0 0; + width:722px; + } +/*--------------------------------------------------------------------rgb(183,183,183----*/ +.news{/*放文章的框架格式*/ + float:left; + margin:0px 3px 8px 2px; + width: 351px; + height: 170px; + border: solid 1px #CCCCCC; + +} +.newsTitle +{ + float:left; + width:100%; + height:20px; + text-align:left; + border-bottom: 2.5px solid #cad7df; + padding-top:5px; + font-size: 14px; + font-weight:bold; + background-image:url(../images/title-bg.gif); +} +.news img {/*文章栏框架说明图*/ + margin:5px 195px 15px 5px; + background-color:#CCC; +} +.newsMore{/*文章栏“更多”链接*/ + float:left; + text-align:right; + font-size: 12px; +} +.news ul {/*文章栏*/ + margin:auto auto auto 20px; + padding:0px; + width:330px; + list-style-type: none; + +} + +.news li{ + float:left; + list-style-type: none; + list-style: none; + overflow:hidden + display: block; + width: 320px; + height:auto; + line-height: 25px; + text-indent: 25px; + border-bottom: #993300 dotted 1px; + background:url(../images/arrow5.gif) left no-repeat ; + } +.li1{ + background:url(../images/arrow2.gif) left no-repeat; + + } +.li2{ + background:url(../images/hot.gif) left no-repeat; + + } + + +.news li a,#informpart a,#link a{/*文章条目,友情链接,以及重要通知栏目链接*/ + text-decoration:none; + + color:#333333; + + + font-size: 12px; +} +.news li a:hover,#informpart a:hover,#link a:hover{/*文章条目,友情链接,以及重要通知栏目链接在鼠标经过时的样子*/ + color:#F30; + text-decoration: none; + font-size: 12px; +} +.news a,#link a strong,#link a span{/*文章栏,以及友情链接栏中”更多“链接*/ + text-decoration:none; + color:#900; + font-size: 18px; +} +.news a:hover {/*”更多“链接在鼠标经过时的样子*/ + text-decoration:underline; +} +.news span{padding:0 ; font-size:12px;color:#1f3a87;} /*时间显示样式*/ +.newgif{ + margin-top:-20px; + margin-right:0; + } +.newfont{ + color:#F00; + font-family:Verdana, Geneva, sans-serif; + font-size:12px; + font-weight:bold; + } +/*-----------------------------------------------------------------------------------------------------------*/ +#iconograph {/*页面主体左部分隔图片*/ + float:left; + margin:2px auto 2px auto; + width:722px; + z-index:2; +} +#iconograph img{/*页面主体左部分隔图片*/ + width: 100%; + border: 0px solid #CCCCCC; +} +#flash3{/*页面头部FLASH定位*/ + margin:-82px auto auto auto; + float:left; + width:722px; + height:82px; +} + +/*/*右侧模块开始---------------------------------------------------------------------------*/ +#main-right {/*页面主要内容右边部分*/ + float:left; + margin:0 2px 6px 0; + width:272px; + height:auto; + z-index:2; + +} +.rigth_title{ + float:left; + width:99%; + background-image:url(../images/title-bg.gif); + font: bold 14px "Arial,Helvetica,sans-serif"; + text-align:justify; + padding:2px 0 2px 2px; + color:#000000; + } +#rigth_Member_title{ + float:left; + width:99%; + background-image:url(../images/title-bg.gif); + font: bold 14px "Arial,Helvetica,sans-serif"; + text-align:justify; + padding:2px 0 2px 2px; + color:#FF0000; + } +.rigth_title_font{ + color:#FF0000; + font: bold 14px "Arial,Helvetica,sans-serif"; + } + + + +#denglu {/*页面主体右部教师登录模块*/ + float:left; + margin:0; + width:100%; + height:145px; + z-index:2; + border: solid 1px #CCCCCC; +} + +.dengluInput{ + height:25px; + margin:5px auto 5px auto; + text-align:center; + } + +.sText { margin:0 0 0 4px; padding:4px 0 2px 0;font-size:12px; color:#333333; border: 1px solid #296CBC; width:120px; } + + + + +#right-piece1{ + float:left; + margin:2px auto; + width:272px; + height:175px; + z-index:2; + border: solid 1px #CCCCCC; +} +#right-piece1-content{ + float:left; + border: solid 1px #CCCCCC; + padding:8px; + font:14px bold; + border:0px; + color:#1f3a87; + } +#right-piece2{ + float:left; + margin:2px auto; + width:100%; + height:167px; + z-index:2; + border: solid 1px #CCCCCC; +} +#right-piece2-content{ + float:left; + border: solid 0px; + padding:20px; + font:20px bold; + border:0px; + + } + +#right-piece3{ +} +#right-piece4{ +} + + +#search {/*页面主体右部站内搜索模块*/ +/* float:left; + margin:2px auto; + width:100%; + z-index:2; + border: solid 1px #CCCCCC; +*/ +} + + + + +#Google_fun {/*类似Google特色效果*/ + float:left; + margin:12px 0; + width:100%; + z-index:2; + border: solid 0px #CCCCCC; +} + +#imglink {/*页面主要内容右边部分的图片链接(信箱之类)*/ + float:left; + margin:3px 2px 2px 0; + width:100%; + z-index:2; + border: solid 0px #CCCCCC; +} +.img1{/*图片链接一的样式*/ + width: 131px; + height: 131px; + border: solid 0px; +} +.img2{/*图片链接二的样式*/ + width: 131px; + height: 40px; + border: solid 0px; +} +/*--图片边框变化------------------------------*/ + +#imglink a:hover { + +} + +/*-----------------------------------------------------------------------------------------------------*/ + + +#link {/*页面主体右部友情连接模块*/ + float:left; + margin:0 2px 2px 0; + text-align:center; + width:100%; + z-index:2; + border: solid 0px #CCCCCC; +} +.img3{/*链接图片的样式*/ + float:left; + width:250px; + height: 41px; + margin:2px; + border: solid 0px #FFF; + text-align:center; +} +.link_img{/*链接图片的样式*/ + width:80%; + height: 41px; + border: solid 1px #FFF; +} +/*--图片边框变化------------------------------*/ + +#link a:hover { + border:1px solid #C8C8C8; +} + diff --git a/template/j2cms/css/register.css b/template/j2cms/css/register.css new file mode 100644 index 0000000..d1fa9ff --- /dev/null +++ b/template/j2cms/css/register.css @@ -0,0 +1,10 @@ +@CHARSET "UTF-8"; +.registerInput{ + height:30px; width:200px +} +.inputErrorStyle{ + height:30px; width:200px +} +.errorStyle{ + color:#B10000; font-size: 12px; +} \ No newline at end of file diff --git a/template/j2cms/css/tagChange.css b/template/j2cms/css/tagChange.css new file mode 100644 index 0000000..f24dad4 --- /dev/null +++ b/template/j2cms/css/tagChange.css @@ -0,0 +1,42 @@ +@charset "utf-8"; +/* CSS Document */ +BODY { + PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FONT-SIZE: 12px; PADDING-BOTTOM: 0px; MARGIN: 0px auto; COLOR: black; +} +.dis { + DISPLAY: block +} +.undis { + DISPLAY: none +} +#cntR { + WIDTH: 302px +} +#NewsTop { height:200px; + CLEAR: both; MARGIN-BOTTOM: 6px;TEXT-ALIGN: center +} +#NewsTop P { + FLOAT: left; LINE-HEIGHT: 21px +} +#NewsTop P.topTit { + FONT-WEIGHT: bold; WIDTH: 117px +} +#NewsTop P.topC0 { + BACKGROUND: #dcdcdc; BORDER-LEFT: #f2f2f2 1px solid; WIDTH: 91px; CURSOR: pointer +} +#NewsTop P.topC1 { + BACKGROUND: #c2130e; BORDER-LEFT: #f2f2f2 1px solid; WIDTH: 92px; COLOR: #fff +} +#NewsTop #NewsTop_tit { + BORDER-BOTTOM: #c2130e 3px solid; HEIGHT: 21px +} +#NewsTop #NewsTop_cnt { + PADDING-LEFT: 32px; BACKGROUND: url(../images/1-10.gif) no-repeat 12px 5px; LINE-HEIGHT: 23px; PADDING-TOP: 1px; HEIGHT: 300px; TEXT-ALIGN: left +} +#NewsTop #NewsTop_cnt A { + COLOR: #666; TEXT-DECORATION: none +} +#NewsTop #NewsTop_cnt A:hover { + COLOR: #c2130e; TEXT-DECORATION: underline +} + diff --git a/template/j2cms/css/tpxw.css b/template/j2cms/css/tpxw.css new file mode 100644 index 0000000..e7f9b92 --- /dev/null +++ b/template/j2cms/css/tpxw.css @@ -0,0 +1,32 @@ +@charset "utf-8"; +/* CSS Document */ +#picSlider { + BORDER-RIGHT: red 0px solid; BORDER-TOP: red 0px solid; BORDER-LEFT: red 0px solid; WIDTH: 357px; BORDER-BOTTOM: red 0px solid; HEIGHT: 299px; + FONT-SIZE: 12px; COLOR: #993300; LINE-HEIGHT: 180%; FONT-FAMILY: Arial,Helvetica,sans-serif; BACKGROUND-COLOR: white +} +#n_list { + BORDER-RIGHT: red 0px solid; BORDER-TOP: red 0px solid; BORDER-LEFT: red 0px solid; WIDTH: 357px; BORDER-BOTTOM: red 0px solid; HEIGHT: 299px +} +#picSlider DL { + PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FILTER: alpha(opacity=100); PADDING-BOTTOM: 0px; MARGIN: 0px; OVERFLOW: hidden; PADDING-TOP: 0px; HEIGHT: 299px; opacity: 1 +} +#picSlider DL DT { + PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; OVERFLOW: hidden; PADDING-TOP: 0px; HEIGHT: 277px +} +#picSlider DL DD { + PADDING-RIGHT: 0px; PADDING-LEFT: 20px; BACKGROUND: #fff; PADDING-BOTTOM: 0px; MARGIN: 0px; COLOR: #000; PADDING-TOP: 0px; TEXT-ALIGN: center +} +#picSlider IMG { + BORDER-TOP-STYLE: none; BORDER-RIGHT-STYLE: none; BORDER-LEFT-STYLE: none; BORDER-BOTTOM-STYLE: none +} +#picContorl { + FILTER: alpha(opacity=50); MARGIN: 256px 0px 0px; WIDTH: 357px; POSITION: absolute; HEIGHT: 20px; TEXT-ALIGN: right; opacity: 0.5; -moz-opacity: 0.5 +} +#picContorl SPAN { + PADDING-RIGHT: 3px; PADDING-LEFT: 3px; BACKGROUND: silver; PADDING-BOTTOM: 3px; MARGIN: 0px 3px; CURSOR: pointer; COLOR: #000; LINE-HEIGHT: 20px; PADDING-TOP: 3px +} +#picContorl SPAN.slect { + COLOR: #ffffff; BACKGROUND-COLOR: red +} + + diff --git a/template/j2cms/flash/imageNews.swf b/template/j2cms/flash/imageNews.swf new file mode 100644 index 0000000..bb12187 Binary files /dev/null and b/template/j2cms/flash/imageNews.swf differ diff --git a/template/j2cms/images/0002.jpg b/template/j2cms/images/0002.jpg new file mode 100644 index 0000000..d73ece9 Binary files /dev/null and b/template/j2cms/images/0002.jpg differ diff --git a/template/j2cms/images/1-10.gif b/template/j2cms/images/1-10.gif new file mode 100644 index 0000000..b16b6ec Binary files /dev/null and b/template/j2cms/images/1-10.gif differ diff --git a/template/j2cms/images/Title.gif b/template/j2cms/images/Title.gif new file mode 100644 index 0000000..01af81e Binary files /dev/null and b/template/j2cms/images/Title.gif differ diff --git a/template/j2cms/images/arrow.gif b/template/j2cms/images/arrow.gif new file mode 100644 index 0000000..5b94a07 Binary files /dev/null and b/template/j2cms/images/arrow.gif differ diff --git a/template/j2cms/images/arrow1.gif b/template/j2cms/images/arrow1.gif new file mode 100644 index 0000000..1b3409e Binary files /dev/null and b/template/j2cms/images/arrow1.gif differ diff --git a/template/j2cms/images/arrow10.gif b/template/j2cms/images/arrow10.gif new file mode 100644 index 0000000..a2faef3 Binary files /dev/null and b/template/j2cms/images/arrow10.gif differ diff --git a/template/j2cms/images/arrow2.gif b/template/j2cms/images/arrow2.gif new file mode 100644 index 0000000..5ede68c Binary files /dev/null and b/template/j2cms/images/arrow2.gif differ diff --git a/template/j2cms/images/arrow22.gif b/template/j2cms/images/arrow22.gif new file mode 100644 index 0000000..5d6db7b Binary files /dev/null and b/template/j2cms/images/arrow22.gif differ diff --git a/template/j2cms/images/arrow3.gif b/template/j2cms/images/arrow3.gif new file mode 100644 index 0000000..1772894 Binary files /dev/null and b/template/j2cms/images/arrow3.gif differ diff --git a/template/j2cms/images/arrow4.gif b/template/j2cms/images/arrow4.gif new file mode 100644 index 0000000..c9b5804 Binary files /dev/null and b/template/j2cms/images/arrow4.gif differ diff --git a/template/j2cms/images/arrow5.gif b/template/j2cms/images/arrow5.gif new file mode 100644 index 0000000..4698947 Binary files /dev/null and b/template/j2cms/images/arrow5.gif differ diff --git a/template/j2cms/images/arrow8.gif b/template/j2cms/images/arrow8.gif new file mode 100644 index 0000000..1772894 Binary files /dev/null and b/template/j2cms/images/arrow8.gif differ diff --git a/template/j2cms/images/arrow_01.gif b/template/j2cms/images/arrow_01.gif new file mode 100644 index 0000000..a929bde Binary files /dev/null and b/template/j2cms/images/arrow_01.gif differ diff --git a/template/j2cms/images/bg.gif b/template/j2cms/images/bg.gif new file mode 100644 index 0000000..ac1ab04 Binary files /dev/null and b/template/j2cms/images/bg.gif differ diff --git a/template/j2cms/images/bg_0.gif b/template/j2cms/images/bg_0.gif new file mode 100644 index 0000000..505f67a Binary files /dev/null and b/template/j2cms/images/bg_0.gif differ diff --git a/template/j2cms/images/bg_1.gif b/template/j2cms/images/bg_1.gif new file mode 100644 index 0000000..01fa437 Binary files /dev/null and b/template/j2cms/images/bg_1.gif differ diff --git a/template/j2cms/images/bg_2.gif b/template/j2cms/images/bg_2.gif new file mode 100644 index 0000000..084a3e9 Binary files /dev/null and b/template/j2cms/images/bg_2.gif differ diff --git a/template/j2cms/images/bg_copyright.gif b/template/j2cms/images/bg_copyright.gif new file mode 100644 index 0000000..fbe1a97 Binary files /dev/null and b/template/j2cms/images/bg_copyright.gif differ diff --git a/template/j2cms/images/content_bg.gif b/template/j2cms/images/content_bg.gif new file mode 100644 index 0000000..efaaeba Binary files /dev/null and b/template/j2cms/images/content_bg.gif differ diff --git a/template/j2cms/images/content_down.gif b/template/j2cms/images/content_down.gif new file mode 100644 index 0000000..5e32006 Binary files /dev/null and b/template/j2cms/images/content_down.gif differ diff --git a/template/j2cms/images/content_up.gif b/template/j2cms/images/content_up.gif new file mode 100644 index 0000000..4103521 Binary files /dev/null and b/template/j2cms/images/content_up.gif differ diff --git a/template/j2cms/images/cs/1.jpg b/template/j2cms/images/cs/1.jpg new file mode 100644 index 0000000..c00b981 Binary files /dev/null and b/template/j2cms/images/cs/1.jpg differ diff --git a/template/j2cms/images/denglu.gif b/template/j2cms/images/denglu.gif new file mode 100644 index 0000000..8e76661 Binary files /dev/null and b/template/j2cms/images/denglu.gif differ diff --git a/template/j2cms/images/dot/tuen.gif b/template/j2cms/images/dot/tuen.gif new file mode 100644 index 0000000..3b593a5 Binary files /dev/null and b/template/j2cms/images/dot/tuen.gif differ diff --git a/template/j2cms/images/downicon.gif b/template/j2cms/images/downicon.gif new file mode 100644 index 0000000..dd74dee Binary files /dev/null and b/template/j2cms/images/downicon.gif differ diff --git a/template/j2cms/images/error.jpg b/template/j2cms/images/error.jpg new file mode 100644 index 0000000..6d39c5d Binary files /dev/null and b/template/j2cms/images/error.jpg differ diff --git a/template/j2cms/images/footbg.gif b/template/j2cms/images/footbg.gif new file mode 100644 index 0000000..84d1e76 Binary files /dev/null and b/template/j2cms/images/footbg.gif differ diff --git a/template/j2cms/images/footbg2.gif b/template/j2cms/images/footbg2.gif new file mode 100644 index 0000000..409a8df Binary files /dev/null and b/template/j2cms/images/footbg2.gif differ diff --git a/template/j2cms/images/google_toolbar.png b/template/j2cms/images/google_toolbar.png new file mode 100644 index 0000000..4eacf2c Binary files /dev/null and b/template/j2cms/images/google_toolbar.png differ diff --git a/template/j2cms/images/hot.gif b/template/j2cms/images/hot.gif new file mode 100644 index 0000000..757d4f7 Binary files /dev/null and b/template/j2cms/images/hot.gif differ diff --git a/template/j2cms/images/item_icon2.gif b/template/j2cms/images/item_icon2.gif new file mode 100644 index 0000000..69ae309 Binary files /dev/null and b/template/j2cms/images/item_icon2.gif differ diff --git a/template/j2cms/images/li.gif b/template/j2cms/images/li.gif new file mode 100644 index 0000000..a0ba519 Binary files /dev/null and b/template/j2cms/images/li.gif differ diff --git a/template/j2cms/images/linkbg1.jpg b/template/j2cms/images/linkbg1.jpg new file mode 100644 index 0000000..f57b56c Binary files /dev/null and b/template/j2cms/images/linkbg1.jpg differ diff --git a/template/j2cms/images/linkbg2.jpg b/template/j2cms/images/linkbg2.jpg new file mode 100644 index 0000000..7f602e2 Binary files /dev/null and b/template/j2cms/images/linkbg2.jpg differ diff --git a/template/j2cms/images/login_button.jpg b/template/j2cms/images/login_button.jpg new file mode 100644 index 0000000..bf76a44 Binary files /dev/null and b/template/j2cms/images/login_button.jpg differ diff --git a/template/j2cms/images/logn_btn01.gif b/template/j2cms/images/logn_btn01.gif new file mode 100644 index 0000000..7048620 Binary files /dev/null and b/template/j2cms/images/logn_btn01.gif differ diff --git a/template/j2cms/images/logn_btn02.gif b/template/j2cms/images/logn_btn02.gif new file mode 100644 index 0000000..ae4df41 Binary files /dev/null and b/template/j2cms/images/logn_btn02.gif differ diff --git a/template/j2cms/images/logn_btn03.gif b/template/j2cms/images/logn_btn03.gif new file mode 100644 index 0000000..8c3fbc1 Binary files /dev/null and b/template/j2cms/images/logn_btn03.gif differ diff --git a/template/j2cms/images/marquee/1.jpg b/template/j2cms/images/marquee/1.jpg new file mode 100644 index 0000000..c8f4cf7 Binary files /dev/null and b/template/j2cms/images/marquee/1.jpg differ diff --git a/template/j2cms/images/marquee/2.jpg b/template/j2cms/images/marquee/2.jpg new file mode 100644 index 0000000..8886bdd Binary files /dev/null and b/template/j2cms/images/marquee/2.jpg differ diff --git a/template/j2cms/images/marquee/3.jpg b/template/j2cms/images/marquee/3.jpg new file mode 100644 index 0000000..0ce4df2 Binary files /dev/null and b/template/j2cms/images/marquee/3.jpg differ diff --git a/template/j2cms/images/marquee/4.jpg b/template/j2cms/images/marquee/4.jpg new file mode 100644 index 0000000..68cfbad Binary files /dev/null and b/template/j2cms/images/marquee/4.jpg differ diff --git a/template/j2cms/images/more.gif b/template/j2cms/images/more.gif new file mode 100644 index 0000000..efbcc42 Binary files /dev/null and b/template/j2cms/images/more.gif differ diff --git a/template/j2cms/images/navigationbg.jpg b/template/j2cms/images/navigationbg.jpg new file mode 100644 index 0000000..94f4128 Binary files /dev/null and b/template/j2cms/images/navigationbg.jpg differ diff --git a/template/j2cms/images/new.gif b/template/j2cms/images/new.gif new file mode 100644 index 0000000..bb18bf9 Binary files /dev/null and b/template/j2cms/images/new.gif differ diff --git a/template/j2cms/images/news.gif b/template/j2cms/images/news.gif new file mode 100644 index 0000000..5ede68c Binary files /dev/null and b/template/j2cms/images/news.gif differ diff --git a/template/j2cms/images/phone_icon.gif b/template/j2cms/images/phone_icon.gif new file mode 100644 index 0000000..98abe8d Binary files /dev/null and b/template/j2cms/images/phone_icon.gif differ diff --git a/template/j2cms/images/phone_icon1.gif b/template/j2cms/images/phone_icon1.gif new file mode 100644 index 0000000..393ab4d Binary files /dev/null and b/template/j2cms/images/phone_icon1.gif differ diff --git a/template/j2cms/images/pos.gif b/template/j2cms/images/pos.gif new file mode 100644 index 0000000..4d4b38a Binary files /dev/null and b/template/j2cms/images/pos.gif differ diff --git a/template/j2cms/images/pos1.gif b/template/j2cms/images/pos1.gif new file mode 100644 index 0000000..071df55 Binary files /dev/null and b/template/j2cms/images/pos1.gif differ diff --git a/template/j2cms/images/qq.gif b/template/j2cms/images/qq.gif new file mode 100644 index 0000000..1f4f49d Binary files /dev/null and b/template/j2cms/images/qq.gif differ diff --git a/template/j2cms/images/qq_online.gif b/template/j2cms/images/qq_online.gif new file mode 100644 index 0000000..ce9fcfd Binary files /dev/null and b/template/j2cms/images/qq_online.gif differ diff --git a/template/j2cms/images/search.bmp b/template/j2cms/images/search.bmp new file mode 100644 index 0000000..55b3fb3 Binary files /dev/null and b/template/j2cms/images/search.bmp differ diff --git a/template/j2cms/images/search.gif b/template/j2cms/images/search.gif new file mode 100644 index 0000000..68877c6 Binary files /dev/null and b/template/j2cms/images/search.gif differ diff --git a/template/j2cms/images/spec.gif b/template/j2cms/images/spec.gif new file mode 100644 index 0000000..6bef702 Binary files /dev/null and b/template/j2cms/images/spec.gif differ diff --git a/template/j2cms/images/suc.jpg b/template/j2cms/images/suc.jpg new file mode 100644 index 0000000..6df71ca Binary files /dev/null and b/template/j2cms/images/suc.jpg differ diff --git a/template/j2cms/images/tbg2.gif b/template/j2cms/images/tbg2.gif new file mode 100644 index 0000000..944c26c Binary files /dev/null and b/template/j2cms/images/tbg2.gif differ diff --git a/template/j2cms/images/tbg3.gif b/template/j2cms/images/tbg3.gif new file mode 100644 index 0000000..dcdffc4 Binary files /dev/null and b/template/j2cms/images/tbg3.gif differ diff --git a/template/j2cms/images/tbg4.gif b/template/j2cms/images/tbg4.gif new file mode 100644 index 0000000..59a81b6 Binary files /dev/null and b/template/j2cms/images/tbg4.gif differ diff --git a/template/j2cms/images/tbg5.gif b/template/j2cms/images/tbg5.gif new file mode 100644 index 0000000..fbf2c08 Binary files /dev/null and b/template/j2cms/images/tbg5.gif differ diff --git a/template/j2cms/images/tbg6.gif b/template/j2cms/images/tbg6.gif new file mode 100644 index 0000000..bc5fb54 Binary files /dev/null and b/template/j2cms/images/tbg6.gif differ diff --git a/template/j2cms/images/tbg6.jpg b/template/j2cms/images/tbg6.jpg new file mode 100644 index 0000000..0c24dcb Binary files /dev/null and b/template/j2cms/images/tbg6.jpg differ diff --git a/template/j2cms/images/tel.gif b/template/j2cms/images/tel.gif new file mode 100644 index 0000000..441b4e2 Binary files /dev/null and b/template/j2cms/images/tel.gif differ diff --git a/template/j2cms/images/title-bg.gif b/template/j2cms/images/title-bg.gif new file mode 100644 index 0000000..9a47fad Binary files /dev/null and b/template/j2cms/images/title-bg.gif differ diff --git a/template/j2cms/images/title-bg1.gif b/template/j2cms/images/title-bg1.gif new file mode 100644 index 0000000..9a47fad Binary files /dev/null and b/template/j2cms/images/title-bg1.gif differ diff --git a/template/j2cms/images/title-bg2.jpg b/template/j2cms/images/title-bg2.jpg new file mode 100644 index 0000000..713a422 Binary files /dev/null and b/template/j2cms/images/title-bg2.jpg differ diff --git a/template/j2cms/images/titlebg.jpg b/template/j2cms/images/titlebg.jpg new file mode 100644 index 0000000..2422758 Binary files /dev/null and b/template/j2cms/images/titlebg.jpg differ diff --git a/template/j2cms/images/top_nav_bg.gif b/template/j2cms/images/top_nav_bg.gif new file mode 100644 index 0000000..393ab4d Binary files /dev/null and b/template/j2cms/images/top_nav_bg.gif differ diff --git a/template/j2cms/js/cddh.js b/template/j2cms/js/cddh.js new file mode 100644 index 0000000..24040e1 --- /dev/null +++ b/template/j2cms/js/cddh.js @@ -0,0 +1,37 @@ +// JavaScript Document 菜单导航 + + var previoustab = "sub_1"; + tempobj="sub_1_li"; + function showsub(obj) + { + document.all(tempobj).className=""; + document.all(obj+"_li").className="liover"; + document.all(obj).style.display="block"; + if(obj!=previoustab) + { + document.getElementById(previoustab).style.display = "none"; + previoustab = obj; + tempobj=obj+"_li"; + } + + } + + function SetHome(obj,vrl)//设置为主页 + { + try + { + obj.style.behavior='url(#default#homepage)';obj.setHomePage(vrl); + } + catch(e){ + if(window.netscape) { + try { + netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect"); + } + catch (e) { + alert("此操作被浏览器拒绝!\n请在浏览器地址栏输入“about:config”并回车\n然后将[signed.applets.codebase_principal_support]设置为'true'"); + } + var prefs = Components.classes['@mozilla.org/preferences-service;1'].getService(Components.interfaces.nsIPrefBranch); + prefs.setCharPref('browser.startup.homepage',vrl); + } + } + } diff --git a/template/j2cms/js/common.js b/template/j2cms/js/common.js new file mode 100644 index 0000000..7a4cb1a --- /dev/null +++ b/template/j2cms/js/common.js @@ -0,0 +1,6 @@ +// JavaScript Document +function anotherImg() +{ + var obj = document.getElementById("code"); + obj.src="util/rand.jsp?rnd="+Math.random(); +} \ No newline at end of file diff --git a/template/j2cms/js/flashImg.js b/template/j2cms/js/flashImg.js new file mode 100644 index 0000000..54c8a66 --- /dev/null +++ b/template/j2cms/js/flashImg.js @@ -0,0 +1,11 @@ +function CreateFlash(idad, swfurl, wad, had, vs){ +var str = ""; +str += ""; +str += ""; +str += ""; +str += ''; +str += ""; +str += ""; +str += ""; +document.write(str); +} \ No newline at end of file diff --git a/template/j2cms/js/google.js b/template/j2cms/js/google.js new file mode 100644 index 0000000..b1fd2fc --- /dev/null +++ b/template/j2cms/js/google.js @@ -0,0 +1,879 @@ +// JavaScript Document +window.google = { + kEI : "HBnlR8bgAorksALn3dTbBw", + kEXPI : "17259,17735,18065", + kHL : "zh-CN" +}; +function sf() { + document.f.q.focus() +} +window.clk = function(b, c, d, e, f, g) { + if (document.images) { + var a = encodeURIComponent || escape; + (new Image).src = "/url?sa=T" + + (c ? "&oi=" + a(c) : "") + + (d ? "&cad=" + a(d) : "") + + "&ct=" + + a(e) + + "&cd=" + + a(f) + + (b ? "&url=" + a(b.replace(/#.*/, "")).replace(/\+/g, "%2B") + : "") + "&ei=HBnlR8bgAorksALn3dTbBw" + g + } + return true +}; +window.gbar = {}; +(function() { + var b = window.gbar, c, g, h; + function n(d, f, e) { + d.visibility = h ? "hidden" : "visible"; + d.left = f + "px"; + d.top = e + "px" + } + b.tg = function(d) { + var f = 0, e = 0, a, i = 0, o, l = window.navExtra, m, j = document, k = 0; + g = g || j.getElementById("gbar").getElementsByTagName("span"); + (d || window.event).cancelBubble = !i; + if (!c) { + c = j.createElement(Array.every || window.createPopup ? "iframe" + : "DIV"); + c.frameBorder = "0"; + c.scrolling = "no"; + c.src = "#"; + g[7].parentNode.appendChild(c).id = "gbi"; + if (l && g[7]) + for (o in l) { + m = j.createElement("span"); + m.appendChild(l[o]); + g[7].parentNode.insertBefore(m, g[7]).className = "gb2" + } + j.onclick = b.close + } + while (a = g[++i]) { + if (e) { + n(a.style, e + 1, f + 25); + k = Math.max(k, a.firstChild.tagName == "A" && a.offsetWidth); + f += a.firstChild.tagName == "DIV" ? 9 : 20 + } + if (a.className == "gb3") { + do + e += a.offsetLeft; + while (a = a.offsetParent) + } + } + { + i = 0; + while (a = g[++i]) + if (a.className == "gb2") + a.style.width = k + "px"; + c.style.width = k + "px" + } + c.style.height = f + "px"; + n(c.style, e, 24); + h = !h + }; + b.close = function(d) { + h && b.tg(d) + } +})(); +(function() { + function g(a, b, c) { + var d = "on" + b; + if (a.addEventListener) { + a.addEventListener(b, c, false) + } else if (a.attachEvent) { + a.attachEvent(d, c) + } else { + var e = a[d]; + a[d] = function() { + var f = e.apply(this, arguments), h = c.apply(this, arguments); + return f == undefined ? h : (h == undefined ? f : h && f) + } + } + } + ; + var aa, i, j, l, n = "", o, p = null, q = null, r = null, s = -1, t, u, v, w, x = null, y = null, z, A, ba = {}, B = null, C, F = 0, G = 0, H = 0, I = null, J, K = false, L = false, M, N; + { + var ca = navigator.userAgent.toLowerCase(); + M = ca.indexOf("opera") != -1; + N = ca.indexOf("msie") != -1 && !M + } + var O = null, da = new RegExp( + "^[\\s\\u1100-\\u11FF\\u3040-\\u30FF\\u3130-\\u318F\\u31F0-\\u31FF\\u3400-\\u4DBF\\u4E00-\\u9FFF\\uAC00-\\uD7A3\\uF900-\\uFAFF\\uFF65-\\uFFDC]+$"), P = "google-ac-", ea = true; + function fa(a, b, c, d, e, f, h, m) { + t = a; + u = b; + aa = d; + O = e; + ea = f; + if (ga() == null) { + return + } + var k = window.google.kHL; + J = /^(zh-(CN|TW)|ja|ko)$/.test(k); + if (c == "search") + c = ""; + C = "/complete/search?hl=" + k + (c ? "&ds=" + c : "") + + (m ? "&pq=" + ha(m) : "") + (h ? "&expid=" + h : "") + + "&client=suggest"; + t.onsubmit = ia; + u.setAttribute("autocomplete", "off"); + g(u, "blur", ja); + g(u, "beforedeactivate", ka); + if (u.addEventListener) { + u.onkeypress = la; + u.onkeyup = na + } else { + g(u, N ? "keydown" : "keypress", la); + g(u, "keyup", na) + } + j = (l = (i = u.value)); + o = oa(u); + v = document.createElement("table"); + v.id = "completeTable"; + v.cellSpacing = (v.cellPadding = "0"); + w = v.style; + v.className = P + "m"; + Q(); + document.body.appendChild(v); + if (N) { + x = document.createElement("iframe"); + y = x.style; + x.id = "completeIFrame"; + y.zIndex = "1"; + y.position = "absolute"; + y.display = "block"; + y.borderWidth = 0; + document.body.appendChild(x) + } + R(); + pa("", [], []); + qa(); + g(window, "resize", R); + g(window, "pageshow", ra); + if (J) + window.setInterval(sa, 10); + z = ta("aq", "f", false); + A = ta("oq", "", true); + S() + } + function ra(a) { + if (a.persisted) + z.value = "f"; + A.value = "" + } + function qa() { + var a = document.body.dir == "rtl", b = a ? "right" : "left", c = a ? "left" + : "right", d = document.getElementsByTagName("head")[0], e = document + .createElement("style"), f = null, h = null, m = false; + if (document.styleSheets) { + d.appendChild(e); + m = true; + f = e.sheet ? e.sheet : e.styleSheet + } + if (!f) { + h = document.createTextNode(""); + e.appendChild(h) + } + var k = function(D, E) { + var ma = D + " { " + E + " }"; + if (f) { + if (f.insertRule) { + f.insertRule(ma, f.cssRules.length) + } else if (f.addRule) { + f.addRule(D, E) + } + } else { + h.data += ma + "\n" + } + }; + k( + "." + P + "m", + "font-size:13px;font-family:arial,sans-serif;cursor:default;line-height:17px;border:1px solid black;z-index:99;position:absolute;background-color:white;margin:0;"); + k("." + P + "a", "background-color:white;"); + k("." + P + "b", "background-color:#36c;color:white;"); + k("." + P + "c", "white-space:nowrap;overflow:hidden;text-align:" + b + + ";padding-" + b + ":3px;" + + (N || M ? "padding-bottom:1px;" : "")); + k("." + P + "d", + "white-space:nowrap;overflow:hidden;font-size:10px;text-align:" + + c + ";color:green;padding-" + b + ":3px;padding-" + c + + ":3px;"); + k("." + P + "b td", "color:white;"); + k("." + P + "e td", "padding:0 3px 2px;text-align:" + c + + ";font-size:10px;line-height:15px;"); + k("." + P + "e td", + "color:blue;text-decoration:underline;cursor:pointer;"); + if (!m) + d.appendChild(e) + } + function R() { + if (v) { + w.left = ua(u, "offsetLeft") + "px"; + w.top = ua(u, "offsetTop") + u.offsetHeight - 1 + "px"; + w.width = u.offsetWidth + "px"; + if (x) { + y.left = w.left; + y.top = w.top; + y.width = w.width; + y.height = v.offsetHeight + "px" + } + } + } + function T(a, b) { + a.visibility = b ? "visible" : "hidden" + } + function ta(a, b, c) { + var d = document.createElement("input"); + d.type = "hidden"; + d.name = a; + d.value = b; + d.disabled = c; + t.appendChild(d); + return d + } + function ja() { + if (!K) + Q(); + K = false + } + function ka() { + if (K) { + window.event.cancelBubble = true; + window.event.returnValue = false + } + K = false + } + function la(a) { + var b = a.keyCode; + if (b == 27 && va()) { + Q(); + U(j); + a.cancelBubble = true; + a.returnValue = false; + return false + } + if (!V(b)) + return true; + H++; + if (H % 3 == 1) + W(b); + return false + } + function na(a) { + var b = a.keyCode; + if (!(J && V(b)) && H == 0) + W(b); + H = 0; + return !V(b) + } + function W(a) { + if (J && V(a)) + wa(); + if (u.value != i || a == 39) { + j = u.value; + o = oa(u); + if (a != 39) + A.value = j + } + if (xa(a)) { + ya(s + 1) + } else if (za(a)) { + ya(s - 1) + } + R(); + if (n != j && !I) + I = window.setTimeout(Q, 500); + i = u.value; + if (i == "" && !p) + S() + } + function za(a) { + return a == 38 || a == 63232 + } + function xa(a) { + return a == 40 || a == 63233 + } + function V(a) { + return za(a) || xa(a) + } + function Aa() { + u.blur(); + z.value = "" + s; + U(this.completeString); + if (ea) { + if (ia()) { + t.submit() + } + } else { + Q() + } + } + function Ba() { + if (L) + return; + if (r) + r.className = P + "a"; + this.className = P + "b"; + r = this; + for ( var a = 0; a < q.length; a++) { + if (q[a] == r) { + s = a; + break + } + } + } + function Ca() { + if (L) { + L = false; + Ba.call(this) + } + } + function ya(a) { + if (n == "" && j != "") { + l = ""; + S(); + return + } + if (j != n || !p) + return; + if (!q || q.length <= 0) + return; + if (!va()) { + X(); + return + } + var b = q.length; + if (O) + b -= 1; + if (r) + r.className = P + "a"; + if (a == b || a == -1) { + s = -1; + U(j); + Y(); + z.value = "f"; + return + } else if (a > b) { + a = 0 + } else if (a < -1) { + a = b - 1 + } + z.value = "" + a; + s = a; + r = q.item(a); + r.className = P + "b"; + U(r.completeString) + } + function Q() { + if (I) { + window.clearTimeout(I); + I = null + } + T(w, false); + if (x) + T(y, false) + } + function X() { + T(w, true); + if (x) + T(y, true); + R(); + L = true + } + function va() { + return w.visibility == "visible" + } + function Da(a, b, c) { + if (c.length == 0 || c[0] < 2) + return; + var d = [], e = [], f = c[0], h = Math.floor((c.length - 1) / f); + for ( var m = 0; m < h; m++) { + d.push(c[m * f + 1]); + e.push(c[m * f + 2]) + } + Z(a, b, d, e) + } + function Z(a, b, c, d) { + if (F > 0) + F--; + pa(b, c, d); + if (b != j) + return; + if (I) { + window.clearTimeout(I); + I = null + } + n = b; + Ea(v, c, d); + s = -1; + q = v.rows; + if (q.length > 0) { + X() + } else { + Q() + } + } + function Fa(a) { + var b; + a.unshift(b); + if (a.length >= 3) { + if (a.length < 4) + a.push([]) + } + Z.apply(null, a) + } + function pa(a, b, c) { + ba[a] = [ b, c ] + } + function ia() { + Q(); + A.disabled = true; + if (A.value != u.value) { + z.value = "" + s; + A.disabled = false + } else if (G >= 3 || F >= 10) { + z.value = "o" + } + return true + } + function S() { + if (G >= 3) + return false; + if (l != j) { + var a = ha(j), b = ba[j]; + if (b) { + Z(null, j, b[0], b[1]) + } else { + F++; + if (aa) { + var c = document.createElement("script"); + c.setAttribute("type", "text/javascript"); + c.setAttribute("charset", "utf-8"); + c.setAttribute("id", "jsonpACScriptTag"); + c.setAttribute("src", "http://suggestqueries.google.com" + + C + + "&json=t&jsonp=window.google.ac.jsonRPCDone&q=" + + a + "&cp=" + o); + var d = document.getElementById("jsonpACScriptTag"), e = document + .getElementsByTagName("head")[0]; + if (d) { + e.removeChild(d) + } + e.appendChild(c) + } else { + Ga(a) + } + } + Y() + } + l = j; + var f = 100; + for ( var h = 1; h <= (F - 2) / 2; ++h) { + f *= 2 + } + f += 50; + p = window.setTimeout(S, f); + return true + } + function ha(a) { + if (window.encodeURIComponent) + return encodeURIComponent(a); + return escape(a) + } + function U(a) { + u.value = a; + i = a + } + function Y() { + u.focus() + } + function ua(a, b) { + var c = 0; + while (a) { + c += a[b]; + a = a.offsetParent + } + return c + } + function $(a, b) { + a.appendChild(document.createTextNode(b)) + } + function Ea(a, b, c) { + while (a.rows.length > 0) + a.deleteRow(-1); + for ( var d = 0; d < b.length; ++d) { + var e = a.insertRow(-1); + e.onmousedown = Aa; + e.onmouseover = Ba; + e.onmousemove = Ca; + e.completeString = b[d]; + e.className = P + "a"; + var f = document.createElement("td"); + $(f, b[d]); + f.className = P + "c"; + if (N && da.test(b[d])) + f.style.paddingTop = "2px"; + e.appendChild(f); + var h = document.createElement("td"); + $(h, c[d]); + h.className = P + "d"; + e.appendChild(h) + } + if (O && b.length > 0) { + var m = a.insertRow(-1); + m.onmousedown = function(E) { + if (E && E.stopPropagation) { + E.stopPropagation(); + X(); + u.focus() + } else { + K = true + } + return false + }; + var k = document.createElement("td"); + k.colSpan = 2; + m.className = P + "e"; + var D = document.createElement("span"); + m.appendChild(k); + k.appendChild(D); + $(D, O); + D.onclick = function() { + Q(); + n = ""; + window.clearTimeout(p); + p = null; + z.value = "x" + } + } + } + function ga() { + var a = null; + try { + a = new ActiveXObject("Msxml2.XMLHTTP") + } catch (b) { + try { + a = new ActiveXObject("Microsoft.XMLHTTP") + } catch (c) { + a = null + } + } + if (!a && typeof XMLHttpRequest != "undefined") + a = new XMLHttpRequest; + return a + } + function Ga(a) { + if (B && B.readyState != 0 && B.readyState != 4) { + B.abort() + } + if (B) + B.onreadystatechange = Ha; + B = ga(); + if (B) { + B.open("GET", C + "&js=true&q=" + a + "&cp=" + o, true); + B.onreadystatechange = function() { + if (B.readyState == 4 && B.responseText) { + switch (B.status) { + case 403: + G = 1000; + break; + case 302: + case 500: + case 502: + case 503: + G++; + break; + case 200: + var b = B.responseText; + if (b.charAt(0) != "<" + && (b.indexOf("sendRPCDone") != -1 || b + .indexOf("Suggest_apply") != -1)) { + eval(b) + } else { + F-- + } + default: + G = 0 + } + } + }; + B.send(null) + } + } + function Ha() { + } + function sa() { + var a = u.value; + if (a != i) + W(0); + i = a + } + function wa() { + K = true; + u.blur(); + window.setTimeout(Y, 10) + } + function oa(a) { + var b = 0, c = 0; + if (Ia(a)) { + b = a.selectionStart; + c = a.selectionEnd + } + if (N) { + var d = a.createTextRange(), e = document.selection.createRange(); + if (d.inRange(e)) { + d.setEndPoint("EndToStart", e); + b = d.text.length; + d.setEndPoint("EndToEnd", e); + c = d.text.length + } + } + if (b && c && b == c) + return b; + return 0 + } + function Ia(a) { + try { + return typeof a.selectionStart == "number" + } catch (b) { + return false + } + } + window.google.ac = { + install : fa, + Suggest_apply : Da, + jsonRPCDone : Fa, + setFieldValue : U + }; +})(); +(function() { + function k(c, d, b) { + var a = "on" + d; + if (c.addEventListener) + c.addEventListener(d, b, false); + else if (c.attachEvent) + c.attachEvent(a, b); + else { + var f = c[a]; + c[a] = function() { + var g = f.apply(this, arguments), e = b.apply(this, arguments); + return g == undefined ? e : (e == undefined ? g : e && g) + } + } + } + ; + var l = "/template/j2cms/images/google_toolbar.png", m = 52, n = 37, o = 75, p = 100; + function q(c, d, b, a, f) { + return { + url : c, + name : d, + tooltip : b, + color : a, + yAdjust : f + } + } + var r = [ + q("http://www.yetnet.cn/services/domain/", "域名注册", ".com/.net 52元", "#54a70d", [ + 2, 5 ]), + q("http://www.yetnet.cn/services/webhosting/", "虚拟主机", "150元起", + "#3b79e7", [ 2, 5 ]), + q("http://www.yetnet.cn/services/mail/", "企业邮局", "20元起", + "#f3e76e", [ 3, 7 ]), + q("http://www.yetnet.cn/services/vpsserver/", "VPS主机", "国内/美国/香港VPS", + "#96cfec", [ 4, 9 ]) ], s = []; + function t(c, d) { + while (d && c != d) + d = d.parentNode; + return d == c + } + function v(c, d) { + return function(b) { + b = b || window.event; + var a = s[d], f = c == "mouseover", g = b.target || b.srcElement, e = b.relatedTarget + || (f ? b.fromElement : b.toElement), h = !e + || t(a.element, e), i = t(a.element, g); + if (f && !h || !f && (!e || i && !h)) { + var j = a.icon; + j.mouseTimeout = window.clearTimeout(j.mouseTimeout); + var u = f ? 1 : -1; + if (j.b != u) + j.mouseTimeout = window.setTimeout(j.e(u, undefined), + f ? p / 3 : p) + } + } + } + function w(c, d, b) { + k(c, d, v(d, b)) + } + function x(c, d, b) { + this.c = c; + var a = document.createElement("div"), f = c.color, g = "background-color:" + + f, e = "width:1px;height:1px;" + g + ";float:", h = '
    ', i = "margin:0 1px;height:1px;overflow:hidden;" + + g; + a.innerHTML = ''; + this.h = a.getElementsByTagName("span")[0]; + document.body.appendChild(a); + a.firstChild.firstChild.lastChild.firstChild.style.backgroundImage = "url(" + + l + ")"; + this.element = a.firstChild; + var j = s.length; + s.push({ + icon : c, + element : this.element + }); + w(this.element, "mouseover", j); + w(this.element, "mouseout", j) + } + x.prototype.play = function(c) { + var d = this.c.element.firstChild, b = { + left : -d.offsetLeft, + top : 0 + }; + while (d) { + b.left += d.offsetLeft; + b.top += d.offsetTop; + d = d.offsetParent + } + var a = this.element.style; + if (a.display == "none") { + a.visibility = "hidden"; + a.display = "block" + } + var f = this.element.offsetHeight, g = this.h.offsetWidth + 14; + if (a.visibility == "hidden") { + a.display = "none"; + a.visibility = "visible" + } + a.width = g + "px"; + b.left -= (g - this.c.element.parentNode.offsetWidth) / 2; + b.top -= f - 3; + b.top += 20 * Math.pow(1 - c / this.c.frames, 3); + a.left = b.left + "px"; + a.top = b.top + "px"; + if (c == 0 || this.c.b < 0) + a.display = "none"; + else { + a.display = ""; + var e = c / this.c.frames; + if ("opacity" in a) + a.opacity = e; + else if ("MozOpacity" in a) + a.MozOpacity = e; + else if ("KhtmlOpacity" in a) + a.KhtmlOpacity = e; + else if ("filter" in a) + a.filter = "alpha(opacity=" + e * 100 + ")" + } + }; + function y(c, d, b, a, f) { + this.element = c; + this.mouseTimeout = null; + this.frames = d.length - 1; + this.spriteCoordinateList = d; + this.color = b; + this.d = null; + this.g = c.getElementsByTagName("div")[1]; + this.i = new x(this, a, f); + this.b = -1; + this.a = 1; + var g = s.length; + s.push({ + icon : this, + element : c + }); + w(c, "mouseover", g); + w(c, "mouseout", g) + } + y.prototype.e = function(c, d) { + var b = this; + return function() { + b.f(c, d) + } + }; + y.prototype.f = function(c, d) { + if (c) { + this.b = c; + this.mouseTimeout = window.clearTimeout(this.mouseTimeout); + this.d = window.clearTimeout(this.d) + } + if (typeof d != "undefined") + this.a = d; + var b = this.spriteCoordinateList[this.a]; + this.g.style.backgroundPosition = -b.x + "px " + -b.y + "px"; + this.i.play(this.a); + var a = this.element.style; + if (this.b < 0) { + a.color = "#444"; + a.textDecoration = "none" + } else { + a.color = this.color; + a.textDecoration = "underline" + } + this.a += this.b; + if (this.a > this.frames) + this.a = this.frames - 1; + else if (this.a < 0) + this.a = 1; + else + this.d = window.setTimeout(this.e(undefined, undefined), o) + }; + k( + window, + "load", + function() { + try { + document.execCommand("BackgroundImageCache", false, true) + } catch (c) { + } + var d = '
    '; + for ( var b = 0; b < r.length; ++b) { + var a = r[b]; + var f = [], g = n * b; + for ( var e = 0; e < 7; ++e) + if (e > 4) + f.push({ + x : m * 4, + y : g - a.yAdjust[e - 5] + }); + else + f.push({ + x : m * e, + y : g + }); + a.coordinates = f; + d += '" + } + d += "
    ' + + a.name + "
    "; + var h = document.getElementById("tb"); + h.innerHTML = d; + var i = h.getElementsByTagName("a"); + for ( var b = 0; b < i.length; ++b) { + i[b].firstChild.firstChild.style.backgroundImage = "url(" + + l + ")"; + new y(i[b], r[b].coordinates, r[b].color, r[b].url, + r[b].tooltip) + } + }); +})(); \ No newline at end of file diff --git a/template/j2cms/js/setHeight.js b/template/j2cms/js/setHeight.js new file mode 100644 index 0000000..52c85f4 --- /dev/null +++ b/template/j2cms/js/setHeight.js @@ -0,0 +1,11 @@ +//设置高度 + +function alertHeight(){ + + var divH1 = document.getElementById("left"); + var divH2 = document.getElementById("main1"); + var allHeight= divH1.clientHeight > divH2.clientHeight ? divH1.clientHeight:divH2.clientHeight; + divH1.style.height=allHeight + 'px'; + divH2.style.height=allHeight + 'px'; +} +window.onload=alertHeight; \ No newline at end of file diff --git a/template/j2cms/js/tpxw.js b/template/j2cms/js/tpxw.js new file mode 100644 index 0000000..c54e5fa --- /dev/null +++ b/template/j2cms/js/tpxw.js @@ -0,0 +1,56 @@ +//图片文章 +//轮换播放开始 +var picNum=0; +function initPicSlider(d) { + var p=document.getElementById(d); + var dts=p.getElementsByTagName("dt"); + var t=""; + for(var i=0;i"+(i+1)+""; + } + p.innerHTML="
    "+t+"
    "+p.innerHTML; + setInterval("setAlpha()",50); + setInterval("playPic()",3000); +} +function setTargetPic(Num) { + var p=document.getElementById("picSlider"); + var dts=p.getElementsByTagName("dt"); + var dds=p.getElementsByTagName("dd"); + var pc=document.getElementById("picContorl"); + spans=pc.getElementsByTagName("span"); + picNum=dts.length; + for(var i=0;i=picNum) { + tNum=0; + } + setTargetPic(tNum); + tNum++; +} +window.onload=function() {initPicSlider("picSlider");} + +//轮换播放结束 \ No newline at end of file diff --git a/template/j2cms_com/article.html b/template/j2cms_com/article.html new file mode 100644 index 0000000..eac4c59 --- /dev/null +++ b/template/j2cms_com/article.html @@ -0,0 +1,39 @@ + + + + + + +${entity.name!""}-${(C.name)!"J2CMS"} + + +
    + <#include "/head.html" parse=false encoding="UTF-8"> +
    +
    + <#include "/left.html" parse=false encoding="UTF-8"> +
    +
    +
    +
     首页 + + ${(entity.channel.name)!""} + ${entity.name!""} +
    +
    +
    ${(entity.name)!""}
    +
    发布时间:${(entity.releaseDate)!""}    来源:${(entity.origin)!""}    作者:${(entity.author)!""}    点击量:${(entity.visitCount)?c}
    +
    ${(entity.content)!""}
    +
    +
    +
    + +
    + +
    + + + + \ No newline at end of file diff --git a/template/j2cms_com/channel.html b/template/j2cms_com/channel.html new file mode 100644 index 0000000..2b6f240 --- /dev/null +++ b/template/j2cms_com/channel.html @@ -0,0 +1,74 @@ + + + + +${entity.name!""}-${(C.name)!"J2CMS"} + + + + + + +
    + <#include "/head.html" parse=false encoding="UTF-8"> +
    +
    + <#include "/left.html" parse=false encoding="UTF-8"> +
    + +
    +
    +
     首页 + ${entity.name!""}  + <#if title??&&title!=''>[关键字:${title}] +
    +
    +
      + <#list entityListVo.entityBeanList as entityBean> +
    • + ${(entityBean.name)!""} + [${(entityBean.releaseDate)!""}]
    • + +
    +
    + + + + + + +
    页次 ${entityListVo.currentPage}/${(entityListVo.totalPage)?c} +   每页 ${entityListVo.maxResult} 条  共  + ${(entityListVo.totalRecord)?c} 条 + <#if (entityListVo.currentPage>1)> + 最前页 + 上一页 + + <#if entityListVo.currentPage==1> + 最前页 上一页 + + <#if entityListVo.currentPage + 下一页 + 最后页 + + <#if entityListVo.currentPage==entityListVo.totalPage> + 下一页 最后页 + +
    + +
    +
    + +
    + + +
    + + \ No newline at end of file diff --git a/template/j2cms_com/css/ReadClass.css b/template/j2cms_com/css/ReadClass.css new file mode 100644 index 0000000..756e20e --- /dev/null +++ b/template/j2cms_com/css/ReadClass.css @@ -0,0 +1,113 @@ +@charset "utf-8"; +/* CSS Document */ +body{ + background-image:url(../images/menu_bg.jpg); + } + +#left {/*页面左边 #cccccc*/ + float:left; + margin:2px auto; + width:268px; + height:auto; + z-index:2; +} +#navigation {/*页面左边的垂直导航条*/ + margin-right:1px; + width:266px; + height:100%; + z-index:5; + + background-image: url(../images/navigationbg.jpg); +} +#navigation ul{/*页面左边的垂直导航条采用列表格式*/ + margin: 1px; + padding: 0px; + list-style: none; +} +#navigation li.special{/*页面左边的垂直导航条最上部的页面标题*/ + + font-family: "华文细黑"; + font-size: 25px; + color: #FFFFFF; + border-bottom: 2.5px solid #cad7df; + padding-top: 45px; + padding-bottom: 10px; + padding-left: 50px; +} +#navigation li.normal{/*页面左边的垂直导航条下面的导航部分*/ + border-bottom: 1px solid #cad7df; + font-size:15px; +} +#navigation li.normal a{/*页面左边的垂直导航条每一个导航栏采用区块显示*/ + display: block; + padding: 3px 5px 3px 50px; + text-decoration: none; +} +#navigation li.normal a:link,#navigation li.normal a:visited{/*页面左边的垂直导航条每一导航栏在鼠标点击之后的效果*/ + font-family:"华文细黑"; + font-weight:bold; + color:#F93; +} +#navigation li.normal a:hover{/*页面左边的垂直导航条每一导航栏在鼠标经过时候的效果*/ + + font-size:110%; + font-weight:bolder; + /*background-color: #993300;background-color:#236fab;*/ + color:#FFF; + background-image:url(../images/linkbg1.jpg); + + +} + +#main1 {/*内部链接页面*/ +float:left; +width:729px; +margin:2px 0 0 2px; +background-color:#f5e5cf; + + +} +#mhead1{/*内部链接页面的头最左边的部分*/ + background-image: url(../images/linkbg1.jpg); + border: solid 0px #ffffff; + border-top-width: 0px; +} +#mhead2{/*内部链接页面的头右边的部分*/ + background-image: url(../images/linkbg2.jpg); + border: solid 0px #ffffff; + border-top-width: 0px; + height:30px; +} + +#mhead2 a,.menu li a{/*内部链接页面的头右边指示所在页面位置的提示信息相关链接,主链接*/ + color: #FFFFFF; + text-decoration: none; +} +#mhead2 a:hover,.menu li a:hover{/*内部链接,以及主链接,在鼠标经过时的效果*/ + color: #FFFF00; + text-decoration: underline; +} +#mhead2 span{/*内部链接页面的头右边指示所在页面位置的提示信息*/ + color: #FFFFFF; + font-family:华文细黑; + font-size:15px; +} +#mbody{/*内部链接页面主体*/ + border: 1px solid #993300; +} +img.left{/*链接页面主体左上角图片*/ + float: left; + +} +img.right{/*链接页面主体右下角图片*/ + float: right; +} +#teachermsg{/*用表格显示教师信息(表格位置)*/ + position: relative; + left: 2%; + top: 25px; +} +.teacherp{/*教师照片向左浮动*/ + float: left; +} + diff --git a/template/j2cms_com/css/Search.css b/template/j2cms_com/css/Search.css new file mode 100644 index 0000000..1299d93 --- /dev/null +++ b/template/j2cms_com/css/Search.css @@ -0,0 +1,97 @@ +@charset "utf-8"; +/* CSS Document */ + +#main{ + border: solid 1px #CCCCCC; +} +.left {/*页面左边 #cccccc*/ + margin:2px auto; + float:left; + width:266px; + height:600px; + z-index:2; + border:1px solid #CCCCCC; +} + +.main1 {/*内部链接页面*/ + float:left; + width:727px; + height:auto; + margin:2px 0 0 2px; +} + + +/***************** 文章显示页面样式定义 **********************************************************************************/ +#ShowNews { + margin:0;width:100%; height:100%; background:#ffffff; border:1px solid #CCCCCC; + } + +#Pos { + margin:0;width:auto; height:18px; border-bottom:1px solid #CCCCCC; padding:8px 0px 8px 0px; text-align:left;background: #DEE8F2;font-size: 14px; +} +#Pos a:link { + text-decoration: none; + color:#000; +} +#Pos a:visited { + text-decoration: none; +} +#Pos a:hover { + color: #ff6600; text-decoration: underline; +} +#Pos a:active { + color:#60F; text-decoration: none +} + +#Content { + width:100%; + background-color:#FFFFFF; + font-family:"Arial,Helvetica,sans-serif"; +} +#Content #Title{ margin-top:15px;text-align:center; font-size:20px; font-weight:bold; color:#222222;} +#Content #info{ margin-top:10px;text-align:center; font-size:12px;color:#333333;} +#Content #NewsContent{ margin:20px; padding:5px 20px 30px 20px;text-align:left; font-size:14px;color:#222222; border-top:1px solid #CCCCCC; line-height:20px;}; +/***************** 文章显示页面样式定义 end ********************************************************************************/ + + +/***************** 搜索显示页面样式定义 ************************************************************************************/ + +#sTitle1{ margin:0;width:auto; height:18px; border-bottom:1px solid #CCCCCC; padding:8px 0px 8px 0px; text-align:left;background:url(../images/title.gif) #DEE8F2 left no-repeat;} +#gjss{ margin:0;width:100%; height:18px;background:#DEE8F2; border-bottom:1px solid #CCCCCC;text-align:left;padding:8px 0 8px 0px; background:url(../images/title.gif) #DEE8F2 left no-repeat;} +#stFont{font-family: "Arial,Helvetica,sans-serif";font-size: 14px; color:#333333; font-weight:600;} + +/***************** 高级搜索表单样式定义 *****************/ +#HSearch { margin:0;width:240px;height:200px; padding:0 0 4px 0; text-align:left;} +#HSearch select,input{ + vertical-align:middle; + height:25px; + line-height:25px; +} +#HSearch .sbutton { font-size:12px;height:30px;} +#HSearch .sSelect { width:144px;height:30px;} +#HSearch .sText { width:140px;} +#HSearch span{ font-size:12px; color:#333333; height:22px; width:80px; padding:15px 0 5px 10px; text-align:right;} +#HSearch .sForm{ height:200px; width:240px; text-align:center;} + +/***************** 文章列表显示样式定义 *****************/ +#News {margin:0;width:700px;padding:10px 0px 10px; text-align:left;} +#News ul {margin:0; padding:8px 0 8px;font-size:14px;color:#333333;text-decoration:none; text-align:left;} +#News li { list-style-type:none; padding:4px 0px 4px 10px; height:20px} +#News span{padding:0 0 0 6px; font-size:12px;color:#1f3a87;} /*时间显示样式*/ +#News li img{border-style:none;} + + +/**************** 信息提示字体样式定义 *****************/ +#F3{font-family: "Arial,Helvetica,sans-serif";font-size: 14px; color:#bc2931;} +/**************** 线条样式定义 **********************/ +#Line { padding-left:10px; height:1px;} +#L2{ margin: 5px 10px 5px 10px;width:96%; height:1px; border-bottom:1px dotted #CCCCCC;} + +/**************** 文章链接样式定义 ************************/ +#News A:link { COLOR: #333333; TEXT-DECORATION: none; font-size: 14px;} +#News A:visited {COLOR: #83006f; TEXT-DECORATION: none;font-size: 14px;} +#News A:active {COLOR: #bc2931; TEXT-DECORATION: none; font-size: 14px;} +#News A:hover {COLOR: #bc2931; TEXT-DECORATION: underline; font-size: 14px;} +/***************** 搜索显示页面样式定义 end********************************************************************************/ +.red_normal{color:#236fab; font-weight:normal;} + diff --git a/template/j2cms_com/css/ShowList.css b/template/j2cms_com/css/ShowList.css new file mode 100644 index 0000000..f9ea2e1 --- /dev/null +++ b/template/j2cms_com/css/ShowList.css @@ -0,0 +1,81 @@ +@charset "utf-8"; +/* CSS Document */ +body{ + background-color:#f5e5cf; + } +/*-table和td使用框贺出现效果--------------------------------------------------------------------------------------*/ +TABLE { + BORDER-TOP-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-COLLAPSE: collapse; BORDER-RIGHT-WIDTH: 0px; border-spacing: collapse +} +TD { + PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FONT-SIZE: 13px; PADDING-BOTTOM: 0px; COLOR: #333; LINE-HEIGHT: 150%; PADDING-TOP: 0px; +} +/*----------------------------------------------------------------------------------------*/ +.newsList{/*放文章的框架格式*/ + margin:0px; + width: 590px; + height:390px; + border: 0; +} +.newsList img {/*文章栏框架说明图*/ + margin:3px 195px 3px 3px; +} +.newsList strong{/*文章栏“更多”链接*/ + font-size: 12px; +} +.newsList ul {/*文章栏*/ + width:500px; + height:210px; + list-style: none; + padding-left:40px; +} +.newsList li {/*文章条目*/ + width:480px; + height:18px; + background-color:#63C; + border-bottom-color: #993300; + border-bottom-style:dotted; + border-bottom-width:1px; + background:url(../images/arrow.gif) no-repeat; + margin-bottom:8px; + font-size: 14px; +} +.newsList li a,#informpart a,#link a{/*文章条目,友情链接,以及重要通知栏目链接*/ + text-decoration:none; + color:#000000; + font-size: 12px; +} +.newsList li a:hover,#informpart a:hover,#link a:hover{/*文章条目,友情链接,以及重要通知栏目链接在鼠标经过时的样子*/ + color:#C33; + text-decoration: none; + + font-weight:bold; + +} +.newsList a,#link a strong,#link a span{/*文章栏,以及友情链接栏中”更多“链接*/ + text-decoration:none; + color:#900; + font-size: 18px; +} +.newsList a:hover {/*”更多“链接在鼠标经过时的样子*/ + text-decoration:underline; +} + + +a:link { + color:#00F; text-decoration: none +} +a:visited { + color: #333333; text-decoration: none +} +a:active { + color:#60F; text-decoration: none +} +a:hover { + color: #ff6600; text-decoration: underline; +} +.red_bold{color:#F00; font-weight:bold;} +.red_normal{color:#F00; font-weight:normal;} + + + diff --git a/template/j2cms_com/css/ShowNews.css b/template/j2cms_com/css/ShowNews.css new file mode 100644 index 0000000..536dfeb --- /dev/null +++ b/template/j2cms_com/css/ShowNews.css @@ -0,0 +1,68 @@ +@charset "utf-8"; +/* CSS Document */ +body{ + background-image:url(../images/menu_bg.jpg); + background-attachment:fixed; + } + +#left {/*页面左边*/ + float:left; + width:266px; + height:600px; + z-index:2; + background-color:#FFF; +} + +#main1 {/*内部链接页面*/ + float:left; + width:727px; + border-width: 0px; +} + + +/***************** 文章显示页面样式定义 *****************/ +#ShowNews { + /* + width:100%; + margin:0px 1px 0 auto; + */ + margin:0;width:100%; height:100%; background:#ffffff; border:1px solid #959595; + } + +#Pos { + /* + float:left; + padding-top:3px; + width:auto; + height:23px; + border:1px solid #959595; + font-size:14px; + */ + margin:0;width:auto; height:18px; border-bottom:1px solid #959595; padding:8px 0px 8px 0px; text-align:left;background: #DEE8F2; +} +#Pos a:link { + text-decoration: none; + color:#000; +} +#Pos a:visited { + text-decoration: none; +} +#Pos a:hover { + color: #ff6600; text-decoration: underline; +} +#Pos a:active { + color:#60F; text-decoration: none +} + +#Content { + width:100%; + background-color:#FFFFFF; + font-family:"Arial,Helvetica,sans-serif"; +} +#Content #Title{ margin-top:15px;text-align:center; font-size:20px; font-weight:bold; color:#222222;} +#Content #info{ margin-top:10px;text-align:center; font-size:12px;color:#333333;} +#Content #NewsContent{ margin:20px; padding:5px 20px 30px 20px;text-align:left; font-size:14px;color:#222222; border-top:1px solid #959595; line-height:20px;}; +/***************** 文章显示页面样式定义 end *****************/ + + + diff --git a/template/j2cms_com/css/base.css b/template/j2cms_com/css/base.css new file mode 100644 index 0000000..8b1e016 --- /dev/null +++ b/template/j2cms_com/css/base.css @@ -0,0 +1,139 @@ +@charset "utf-8"; + +/* + @名称: base + @功能: 重设浏览器默认样式 +*/ + +/* 防止用户自定义背景颜色对网页的影响,添加让用户可以自定义字体 */ +html{ + color:#000;background:#fff; + -webkit-text-size-adjust: 100%; + -ms-text-size-adjust: 100%; +} + +/* 内外边距通常让各个浏览器样式的表现位置不同 */ +body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td,hr,button,article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section { + margin:0;padding:0; +} + +/* 重设 HTML5 标签, IE 需要在 js 中 createElement(TAG) */ +article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section { + display:block; +} + +/* HTML5 媒体文件跟 img 保持一致 */ +audio,canvas,video { + display: inline-block;*display: inline;*zoom: 1; +} + +/* 要注意表单元素并不继承父级 font 的问题 */ +body,button,input,select,textarea{ + font:12px/1.5 tahoma,arial,\5b8b\4f53; +} +input,select,textarea{ + font-size:100%; +} + +/* 去掉各Table cell 的边距并让其边重合 */ +table{ + border-collapse:collapse;border-spacing:0; +} + +/* IE bug fixed: th 不继承 text-align*/ +th{ + text-align:inherit; +} + +/* 去除默认边框 */ +fieldset,img{ + border:0; +} + +/* ie6 7 8(q) bug 显示为行内表现 */ +iframe{ + display:block; +} + +/* 去掉 firefox 下此元素的边框 */ +abbr,acronym{ + border:0;font-variant:normal; +} + +/* 一致的 del 样式 */ +del { + text-decoration:line-through; +} + +address,caption,cite,code,dfn,em,th,var { + font-style:normal; + font-weight:500; +} + +/* 去掉列表前的标识, li 会继承 */ +ol,ul { + list-style:none; +} + +/* 对齐是排版最重要的因素, 别让什么都居中 */ +caption,th { + text-align:left; +} + +/* 来自yahoo, 让标题都自定义, 适应多个系统应用 */ +h1,h2,h3,h4,h5,h6 { + font-size:100%; + font-weight:500; +} + +q:before,q:after { + content:''; +} + +/* 统一上标和下标 */ +sub, sup { + font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; +} +sup {top: -0.5em;} +sub {bottom: -0.25em;} + + + +/* 让链接在 hover 状态下显示下划线 */ +a:hover { + text-decoration:underline; +} + +/* 默认不显示下划线,保持页面简洁 */ +ins,a { + text-decoration:none; +} + +/* 清理浮动 */ +.fn-clear:after { + visibility:hidden; + display:block; + font-size:0; + content:" "; + clear:both; + height:0; +} +.fn-clear { + zoom:1; /* for IE6 IE7 */ +} + +/* 隐藏, 通常用来与 JS 配合 */ +body .fn-hide { + display:none; +} + +/* 设置内联, 减少浮动带来的bug */ +.fn-left,.fn-right { + display:inline; +} +.fn-left { + float:left; +} +.fn-right { + float:right; +} \ No newline at end of file diff --git a/template/j2cms_com/css/cddh.css b/template/j2cms_com/css/cddh.css new file mode 100644 index 0000000..79a600e --- /dev/null +++ b/template/j2cms_com/css/cddh.css @@ -0,0 +1,47 @@ +@charset "utf-8"; +/* CSS Document */ +/*菜单导航*/ +/*------------------------------------------------top-------------------*/ + +#top{ + width:1000px; + height:25px; + +} + +#top ul{ + float:left; + height:25px; + width:1000px; + background:url(../images/0002.jpg) repeat-x ; +} +#top ul li{ + float:left; + font-size:0; + line-height:0; + LIST-STYLE-TYPE: none; +} +#top ul li a{ + display:block; + padding:1px 25px; + font:bold 12px/23px Arial, Helvetica, sans-serif; + /* + color:#6C6C6C; + */ + color:#fff; +} +#top ul li a:hover{ + color:#fff; + background-color:#236fab; + font-size:15px; +} +#top ul li a.hover{ + display:block; + font:bold Arial, Helvetica, sans-serif; + color:#fff; + text-decoration:none; + cursor:text; +} +/*------------------------------------------------top--------------------*/ + + diff --git a/template/j2cms_com/css/common.css b/template/j2cms_com/css/common.css new file mode 100644 index 0000000..c0f08c3 --- /dev/null +++ b/template/j2cms_com/css/common.css @@ -0,0 +1,61 @@ +@charset "utf-8"; +/* CSS Document */ +.all-IE{property:value\9;} +:root .IE-9{property:value\0/;} +.gte-IE-8{property:value\0;} +.lte-IE-7{*property:value;} +.IE-7{+property:value;} +.IE-6{_property:value;} +.not-IE{property//:value;} +@-moz-document url-prefix() { .firefox{property:value;} } +@media all and (-webkit-min-device-pixel-ratio:0) { .webkit{property:value;} } +@media all and (-webkit-min-device-pixel-ratio:10000),not all and (-webkit-min-device-pixel-ratio:0) { .opera{property:value;} } +@media screen and (max-device-width: 480px) { .iphone-or-mobile-s-webkit{property:value;} } + + + +*{padding:0;margin:0} + +body{/*浏览器整个主体*/ + + + BACKGROUND-COLOR: white; + /* + background:url(../images/bg_0.gif); + */ + font-size:12px; +} + +#container{/*页面主体*/ + width: 1000px; + z-index:5; + margin-left:auto; + margin-right:auto; +} +.banner{/*页面头部图片*/ +/* float:left; + + width:1000px; + height:150px; +*/ +} + +#main {/*页面主体部分(放置页面链接)*/ + float:left; + margin-left:auto; + margin-right:auto; + width:1000px; + height:auto; + z-index:2; + border: solid 1px #ffffff; + +} + +.copyright{ + margin:0; + clear:both; + float:left; + width:1000px; +} + + diff --git a/template/j2cms_com/css/foot.css b/template/j2cms_com/css/foot.css new file mode 100644 index 0000000..b8ec54d --- /dev/null +++ b/template/j2cms_com/css/foot.css @@ -0,0 +1,36 @@ +@charset "utf-8"; +/* CSS Document */ +*{padding:0;margin:0} + +#foot {/*页脚*/ + clear:both; + width:1000px; + z-index:2; + height:60px; + font-size:14px; + /*background-image:url(../images/bg_copyright.gif);*/ + background-color:#236fab; +} +#foot #content{ + float:left; + width:100%; + text-align:center; + margin:3px 0 0 0; + height:57px; + background-image:url(../images/bg_1.gif); + background-repeat:repeat-x; + } +#foot span{/*底部版权字格式*/ + font-family:"Arial,Helvetica,sans-serif"; + font-weight: lighter; +} + +a:link {color:#000;text-decoration:none;} /* 未访问的链接 */ +a:visited {color:#000;text-decoration:none;} /* 已访问的链接 */ +a:hover {color:#F00;} /* 鼠标移动到链接上 */ +a:active {color: #0000FF} /* 选定的链接 */ + + + + + diff --git a/template/j2cms_com/css/head.css b/template/j2cms_com/css/head.css new file mode 100644 index 0000000..342be20 --- /dev/null +++ b/template/j2cms_com/css/head.css @@ -0,0 +1,21 @@ +@charset "utf-8"; +/* CSS Document */ +*{padding:0;margin:0} + + +#head {/*页面头部*/ + margin:0px auto 0px auto; + float:left; + width:1000px; + height:185px; +} +.banner{/*页面头部图片*/ + float:left; + width:1000px; + height:160px; + background-image:url(../images/cs/1.jpg); + background-repeat:no-repeat; +} + + + diff --git a/template/j2cms_com/css/index.css b/template/j2cms_com/css/index.css new file mode 100644 index 0000000..daf5198 --- /dev/null +++ b/template/j2cms_com/css/index.css @@ -0,0 +1,221 @@ +@charset "utf-8"; +/* CSS Document */ +body{ + + } +/*------------------------------------------------------------------------------------------------------------------*/ +#main-left {/*页面主要内容左边部分*/ + float:left; + margin-bottom:3px; + z-index:2; + width: 710px; +} +#main-center {/*页面主要内容左边上部*/ + float:left; + margin:0; + margin-bottom:2px; + width:1000px; + height:auto; + z-index:2; +} + +#imageNews {/*页面主要内容左边部分FLASH图片文章*/ + float:left; + margin:0 2px 2px 0; + width:350px; + height:260px; + z-index:2; + border: solid 1px #CCCCCC; + +} +#latestNews {/*栏目切换模块*/ + float:left; + width:350px; + height:260px; + margin:0 2px 0 2px; + background-image:url(../images/systemInfo0.jpg); + background-repeat:no-repeat; + z-index:2; + border: solid 1px #CCCCCC; +} +#latestNewsBanner{ + float:left; + width:99%; + height:21px; + margin:0 2px 0 2px; + + border-bottom: #236fab solid 3px; + font:bold 14px/23px Arial, Helvetica, sans-serif; +} +#latestNews ul {/*文章栏*/ + margin:auto auto auto 20px; + padding:0px; + width:95%; +} + +#latestNews li{ + list-style: none; + display: block; + width: 95%; + height:auto; + line-height: 25px; + + border-bottom: #236fab dotted 1px; + + } + + +#systemIntroduce {/*系统简介*/ + float:left; + width:287px; + height:260px; + z-index:2; + border: solid 1px #CCCCCC; +} +#systemIntroduce-content{ + float:left; + border: solid 1px #CCCCCC; + padding:8px; + font:14px bold; + border:0px; + color:#1f3a87; + } + + +/*--------------------------------------------------------------------rgb(183,183,183----*/ +.channel{/*放文章的框架格式*/ + float:left; + margin:0px 3px 3px 0px; + width: 350px; + height: 170px; + border: solid 1px #CCCCCC; + +} +.channelName +{ + float:left; + width:100%; + height:20px; + text-align:left; + border-bottom: 2.5px solid #cad7df; + padding-top:5px; + font-size: 14px; + font-weight:bold; + background-image:url(../images/title-bg.gif); +} +.channel img {/*文章栏框架说明图*/ + margin:5px 195px 15px 5px; + background-color:#CCC; +} +.newsMore{/*文章栏“更多”链接*/ + float:left; + text-align:right; + font-size: 12px; +} +.channel ul {/*文章栏*/ + margin:auto auto auto 20px; + padding:0px; + width:330px; + list-style-type: none; + +} + +.channel li{ + float:left; + list-style-type: none; + list-style: none; + overflow:hidden + display: block; + width: 320px; + height:auto; + line-height: 25px; + text-indent: 25px; + border-bottom: #236fab dotted 1px; + background:url(../images/arrow5.gif) left no-repeat ; + } +.li1{ + background:url(../images/arrow2.gif) left no-repeat; + + } +.li2{ + background:url(../images/hot.gif) left no-repeat; + + } + + +.channel li a,#informpart a,#link a{/*文章条目,友情链接,以及重要通知栏目链接*/ + text-decoration:none; + + color:#333333; + + + font-size: 12px; +} +.channel li a:hover,#informpart a:hover,#link a:hover{/*文章条目,友情链接,以及重要通知栏目链接在鼠标经过时的样子*/ + color:#F30; + text-decoration: none; + font-size: 12px; +} +.channel a,#link a strong,#link a span{/*文章栏,以及友情链接栏中”更多“链接*/ + text-decoration:none; + color:#900; + font-size: 18px; +} +.channel a:hover {/*”更多“链接在鼠标经过时的样子*/ + text-decoration:underline; +} +.channel span{padding:0 ; font-size:12px;color:#1f3a87;} /*时间显示样式*/ +.newgif{ + margin-top:-20px; + margin-right:0; + } +.newfont{ + color:#F00; + font-family:Verdana, Geneva, sans-serif; + font-size:12px; + font-weight:bold; + } + + +.rigth_title{ + float:left; + width:99%; + background-image:url(../images/title-bg.gif); + font: bold 14px "Arial,Helvetica,sans-serif"; + text-align:justify; + padding:2px 0 2px 2px; + color:#000000; + } + + +#ITservice{ + float:left; + margin:0px 0px 2px 0; + width:287px; + height:170px; + border: solid 1px #CCCCCC; +} +#ITservice-content{ + float:left; + padding:20px; + font:20px bold; + border:0px; +} + +#systemAd{/*类型客户*/ + float:left; + margin:2px 0 0 0; + width:100%; + border: solid 0px #CCCCCC; + } + +#Google_fun {/*类似Google特色效果*/ + float:left; + margin:12px 0; + width:100%; + z-index:2; + border: solid 0px #CCCCCC; +} + + + diff --git a/template/j2cms_com/css/register.css b/template/j2cms_com/css/register.css new file mode 100644 index 0000000..d1fa9ff --- /dev/null +++ b/template/j2cms_com/css/register.css @@ -0,0 +1,10 @@ +@CHARSET "UTF-8"; +.registerInput{ + height:30px; width:200px +} +.inputErrorStyle{ + height:30px; width:200px +} +.errorStyle{ + color:#B10000; font-size: 12px; +} \ No newline at end of file diff --git a/template/j2cms_com/css/tagChange.css b/template/j2cms_com/css/tagChange.css new file mode 100644 index 0000000..f24dad4 --- /dev/null +++ b/template/j2cms_com/css/tagChange.css @@ -0,0 +1,42 @@ +@charset "utf-8"; +/* CSS Document */ +BODY { + PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FONT-SIZE: 12px; PADDING-BOTTOM: 0px; MARGIN: 0px auto; COLOR: black; +} +.dis { + DISPLAY: block +} +.undis { + DISPLAY: none +} +#cntR { + WIDTH: 302px +} +#NewsTop { height:200px; + CLEAR: both; MARGIN-BOTTOM: 6px;TEXT-ALIGN: center +} +#NewsTop P { + FLOAT: left; LINE-HEIGHT: 21px +} +#NewsTop P.topTit { + FONT-WEIGHT: bold; WIDTH: 117px +} +#NewsTop P.topC0 { + BACKGROUND: #dcdcdc; BORDER-LEFT: #f2f2f2 1px solid; WIDTH: 91px; CURSOR: pointer +} +#NewsTop P.topC1 { + BACKGROUND: #c2130e; BORDER-LEFT: #f2f2f2 1px solid; WIDTH: 92px; COLOR: #fff +} +#NewsTop #NewsTop_tit { + BORDER-BOTTOM: #c2130e 3px solid; HEIGHT: 21px +} +#NewsTop #NewsTop_cnt { + PADDING-LEFT: 32px; BACKGROUND: url(../images/1-10.gif) no-repeat 12px 5px; LINE-HEIGHT: 23px; PADDING-TOP: 1px; HEIGHT: 300px; TEXT-ALIGN: left +} +#NewsTop #NewsTop_cnt A { + COLOR: #666; TEXT-DECORATION: none +} +#NewsTop #NewsTop_cnt A:hover { + COLOR: #c2130e; TEXT-DECORATION: underline +} + diff --git a/template/j2cms_com/css/tpxw.css b/template/j2cms_com/css/tpxw.css new file mode 100644 index 0000000..e7f9b92 --- /dev/null +++ b/template/j2cms_com/css/tpxw.css @@ -0,0 +1,32 @@ +@charset "utf-8"; +/* CSS Document */ +#picSlider { + BORDER-RIGHT: red 0px solid; BORDER-TOP: red 0px solid; BORDER-LEFT: red 0px solid; WIDTH: 357px; BORDER-BOTTOM: red 0px solid; HEIGHT: 299px; + FONT-SIZE: 12px; COLOR: #993300; LINE-HEIGHT: 180%; FONT-FAMILY: Arial,Helvetica,sans-serif; BACKGROUND-COLOR: white +} +#n_list { + BORDER-RIGHT: red 0px solid; BORDER-TOP: red 0px solid; BORDER-LEFT: red 0px solid; WIDTH: 357px; BORDER-BOTTOM: red 0px solid; HEIGHT: 299px +} +#picSlider DL { + PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FILTER: alpha(opacity=100); PADDING-BOTTOM: 0px; MARGIN: 0px; OVERFLOW: hidden; PADDING-TOP: 0px; HEIGHT: 299px; opacity: 1 +} +#picSlider DL DT { + PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; OVERFLOW: hidden; PADDING-TOP: 0px; HEIGHT: 277px +} +#picSlider DL DD { + PADDING-RIGHT: 0px; PADDING-LEFT: 20px; BACKGROUND: #fff; PADDING-BOTTOM: 0px; MARGIN: 0px; COLOR: #000; PADDING-TOP: 0px; TEXT-ALIGN: center +} +#picSlider IMG { + BORDER-TOP-STYLE: none; BORDER-RIGHT-STYLE: none; BORDER-LEFT-STYLE: none; BORDER-BOTTOM-STYLE: none +} +#picContorl { + FILTER: alpha(opacity=50); MARGIN: 256px 0px 0px; WIDTH: 357px; POSITION: absolute; HEIGHT: 20px; TEXT-ALIGN: right; opacity: 0.5; -moz-opacity: 0.5 +} +#picContorl SPAN { + PADDING-RIGHT: 3px; PADDING-LEFT: 3px; BACKGROUND: silver; PADDING-BOTTOM: 3px; MARGIN: 0px 3px; CURSOR: pointer; COLOR: #000; LINE-HEIGHT: 20px; PADDING-TOP: 3px +} +#picContorl SPAN.slect { + COLOR: #ffffff; BACKGROUND-COLOR: red +} + + diff --git a/template/j2cms_com/error.html b/template/j2cms_com/error.html new file mode 100644 index 0000000..5b979e7 --- /dev/null +++ b/template/j2cms_com/error.html @@ -0,0 +1,36 @@ + + + + + + +<@s.text name="errorMessage"/>-${C.name} + + +
    + <#include "head.html" encoding="UTF-8"> +
    +
    + <#include "left.html" encoding="UTF-8"> +
    +
    +
    +
     <@s.text name="index"/> + + <@s.text name="errorMessage"/> +
    +
    +
    +
    +
    +
    + +
    + +
    + + + + \ No newline at end of file diff --git a/template/j2cms_com/flash/imageNews.swf b/template/j2cms_com/flash/imageNews.swf new file mode 100644 index 0000000..bb12187 Binary files /dev/null and b/template/j2cms_com/flash/imageNews.swf differ diff --git a/template/j2cms_com/foot.html b/template/j2cms_com/foot.html new file mode 100644 index 0000000..462d38f --- /dev/null +++ b/template/j2cms_com/foot.html @@ -0,0 +1,16 @@ + + + + + + + diff --git a/template/j2cms_com/head.html b/template/j2cms_com/head.html new file mode 100644 index 0000000..cb6a0a9 --- /dev/null +++ b/template/j2cms_com/head.html @@ -0,0 +1,22 @@ + + + + + + diff --git a/template/j2cms_com/images/0002.jpg b/template/j2cms_com/images/0002.jpg new file mode 100644 index 0000000..d73ece9 Binary files /dev/null and b/template/j2cms_com/images/0002.jpg differ diff --git a/template/j2cms_com/images/1-10.gif b/template/j2cms_com/images/1-10.gif new file mode 100644 index 0000000..b16b6ec Binary files /dev/null and b/template/j2cms_com/images/1-10.gif differ diff --git a/template/j2cms_com/images/Title.gif b/template/j2cms_com/images/Title.gif new file mode 100644 index 0000000..01af81e Binary files /dev/null and b/template/j2cms_com/images/Title.gif differ diff --git a/template/j2cms_com/images/arrow.gif b/template/j2cms_com/images/arrow.gif new file mode 100644 index 0000000..5b94a07 Binary files /dev/null and b/template/j2cms_com/images/arrow.gif differ diff --git a/template/j2cms_com/images/arrow1.gif b/template/j2cms_com/images/arrow1.gif new file mode 100644 index 0000000..1b3409e Binary files /dev/null and b/template/j2cms_com/images/arrow1.gif differ diff --git a/template/j2cms_com/images/arrow10.gif b/template/j2cms_com/images/arrow10.gif new file mode 100644 index 0000000..a2faef3 Binary files /dev/null and b/template/j2cms_com/images/arrow10.gif differ diff --git a/template/j2cms_com/images/arrow2.gif b/template/j2cms_com/images/arrow2.gif new file mode 100644 index 0000000..5ede68c Binary files /dev/null and b/template/j2cms_com/images/arrow2.gif differ diff --git a/template/j2cms_com/images/arrow22.gif b/template/j2cms_com/images/arrow22.gif new file mode 100644 index 0000000..5d6db7b Binary files /dev/null and b/template/j2cms_com/images/arrow22.gif differ diff --git a/template/j2cms_com/images/arrow3.gif b/template/j2cms_com/images/arrow3.gif new file mode 100644 index 0000000..1772894 Binary files /dev/null and b/template/j2cms_com/images/arrow3.gif differ diff --git a/template/j2cms_com/images/arrow4.gif b/template/j2cms_com/images/arrow4.gif new file mode 100644 index 0000000..c9b5804 Binary files /dev/null and b/template/j2cms_com/images/arrow4.gif differ diff --git a/template/j2cms_com/images/arrow5.gif b/template/j2cms_com/images/arrow5.gif new file mode 100644 index 0000000..4698947 Binary files /dev/null and b/template/j2cms_com/images/arrow5.gif differ diff --git a/template/j2cms_com/images/arrow8.gif b/template/j2cms_com/images/arrow8.gif new file mode 100644 index 0000000..1772894 Binary files /dev/null and b/template/j2cms_com/images/arrow8.gif differ diff --git a/template/j2cms_com/images/arrow_01.gif b/template/j2cms_com/images/arrow_01.gif new file mode 100644 index 0000000..a929bde Binary files /dev/null and b/template/j2cms_com/images/arrow_01.gif differ diff --git a/template/j2cms_com/images/bg.gif b/template/j2cms_com/images/bg.gif new file mode 100644 index 0000000..ac1ab04 Binary files /dev/null and b/template/j2cms_com/images/bg.gif differ diff --git a/template/j2cms_com/images/bg_0.gif b/template/j2cms_com/images/bg_0.gif new file mode 100644 index 0000000..505f67a Binary files /dev/null and b/template/j2cms_com/images/bg_0.gif differ diff --git a/template/j2cms_com/images/bg_1.gif b/template/j2cms_com/images/bg_1.gif new file mode 100644 index 0000000..01fa437 Binary files /dev/null and b/template/j2cms_com/images/bg_1.gif differ diff --git a/template/j2cms_com/images/bg_2.gif b/template/j2cms_com/images/bg_2.gif new file mode 100644 index 0000000..084a3e9 Binary files /dev/null and b/template/j2cms_com/images/bg_2.gif differ diff --git a/template/j2cms_com/images/bg_copyright.gif b/template/j2cms_com/images/bg_copyright.gif new file mode 100644 index 0000000..fbe1a97 Binary files /dev/null and b/template/j2cms_com/images/bg_copyright.gif differ diff --git a/template/j2cms_com/images/content_bg.gif b/template/j2cms_com/images/content_bg.gif new file mode 100644 index 0000000..efaaeba Binary files /dev/null and b/template/j2cms_com/images/content_bg.gif differ diff --git a/template/j2cms_com/images/content_down.gif b/template/j2cms_com/images/content_down.gif new file mode 100644 index 0000000..5e32006 Binary files /dev/null and b/template/j2cms_com/images/content_down.gif differ diff --git a/template/j2cms_com/images/content_up.gif b/template/j2cms_com/images/content_up.gif new file mode 100644 index 0000000..4103521 Binary files /dev/null and b/template/j2cms_com/images/content_up.gif differ diff --git a/template/j2cms_com/images/cs/1.jpg b/template/j2cms_com/images/cs/1.jpg new file mode 100644 index 0000000..c00b981 Binary files /dev/null and b/template/j2cms_com/images/cs/1.jpg differ diff --git a/template/j2cms_com/images/denglu.gif b/template/j2cms_com/images/denglu.gif new file mode 100644 index 0000000..8e76661 Binary files /dev/null and b/template/j2cms_com/images/denglu.gif differ diff --git a/template/j2cms_com/images/dot/tuen.gif b/template/j2cms_com/images/dot/tuen.gif new file mode 100644 index 0000000..3b593a5 Binary files /dev/null and b/template/j2cms_com/images/dot/tuen.gif differ diff --git a/template/j2cms_com/images/downicon.gif b/template/j2cms_com/images/downicon.gif new file mode 100644 index 0000000..dd74dee Binary files /dev/null and b/template/j2cms_com/images/downicon.gif differ diff --git a/template/j2cms_com/images/error.jpg b/template/j2cms_com/images/error.jpg new file mode 100644 index 0000000..6d39c5d Binary files /dev/null and b/template/j2cms_com/images/error.jpg differ diff --git a/template/j2cms_com/images/footbg.gif b/template/j2cms_com/images/footbg.gif new file mode 100644 index 0000000..84d1e76 Binary files /dev/null and b/template/j2cms_com/images/footbg.gif differ diff --git a/template/j2cms_com/images/footbg2.gif b/template/j2cms_com/images/footbg2.gif new file mode 100644 index 0000000..409a8df Binary files /dev/null and b/template/j2cms_com/images/footbg2.gif differ diff --git a/template/j2cms_com/images/google_toolbar.png b/template/j2cms_com/images/google_toolbar.png new file mode 100644 index 0000000..4eacf2c Binary files /dev/null and b/template/j2cms_com/images/google_toolbar.png differ diff --git a/template/j2cms_com/images/hot.gif b/template/j2cms_com/images/hot.gif new file mode 100644 index 0000000..757d4f7 Binary files /dev/null and b/template/j2cms_com/images/hot.gif differ diff --git a/template/j2cms_com/images/item_icon2.gif b/template/j2cms_com/images/item_icon2.gif new file mode 100644 index 0000000..69ae309 Binary files /dev/null and b/template/j2cms_com/images/item_icon2.gif differ diff --git a/template/j2cms_com/images/li.gif b/template/j2cms_com/images/li.gif new file mode 100644 index 0000000..a0ba519 Binary files /dev/null and b/template/j2cms_com/images/li.gif differ diff --git a/template/j2cms_com/images/linkbg1.jpg b/template/j2cms_com/images/linkbg1.jpg new file mode 100644 index 0000000..f57b56c Binary files /dev/null and b/template/j2cms_com/images/linkbg1.jpg differ diff --git a/template/j2cms_com/images/linkbg2.jpg b/template/j2cms_com/images/linkbg2.jpg new file mode 100644 index 0000000..7f602e2 Binary files /dev/null and b/template/j2cms_com/images/linkbg2.jpg differ diff --git a/template/j2cms_com/images/login_button.jpg b/template/j2cms_com/images/login_button.jpg new file mode 100644 index 0000000..bf76a44 Binary files /dev/null and b/template/j2cms_com/images/login_button.jpg differ diff --git a/template/j2cms_com/images/logn_btn01.gif b/template/j2cms_com/images/logn_btn01.gif new file mode 100644 index 0000000..7048620 Binary files /dev/null and b/template/j2cms_com/images/logn_btn01.gif differ diff --git a/template/j2cms_com/images/logn_btn02.gif b/template/j2cms_com/images/logn_btn02.gif new file mode 100644 index 0000000..ae4df41 Binary files /dev/null and b/template/j2cms_com/images/logn_btn02.gif differ diff --git a/template/j2cms_com/images/logn_btn03.gif b/template/j2cms_com/images/logn_btn03.gif new file mode 100644 index 0000000..8c3fbc1 Binary files /dev/null and b/template/j2cms_com/images/logn_btn03.gif differ diff --git a/template/j2cms_com/images/marquee/1.jpg b/template/j2cms_com/images/marquee/1.jpg new file mode 100644 index 0000000..c8f4cf7 Binary files /dev/null and b/template/j2cms_com/images/marquee/1.jpg differ diff --git a/template/j2cms_com/images/marquee/2.jpg b/template/j2cms_com/images/marquee/2.jpg new file mode 100644 index 0000000..8886bdd Binary files /dev/null and b/template/j2cms_com/images/marquee/2.jpg differ diff --git a/template/j2cms_com/images/marquee/3.jpg b/template/j2cms_com/images/marquee/3.jpg new file mode 100644 index 0000000..0ce4df2 Binary files /dev/null and b/template/j2cms_com/images/marquee/3.jpg differ diff --git a/template/j2cms_com/images/marquee/4.jpg b/template/j2cms_com/images/marquee/4.jpg new file mode 100644 index 0000000..68cfbad Binary files /dev/null and b/template/j2cms_com/images/marquee/4.jpg differ diff --git a/template/j2cms_com/images/more.gif b/template/j2cms_com/images/more.gif new file mode 100644 index 0000000..efbcc42 Binary files /dev/null and b/template/j2cms_com/images/more.gif differ diff --git a/template/j2cms_com/images/navigationbg.jpg b/template/j2cms_com/images/navigationbg.jpg new file mode 100644 index 0000000..94f4128 Binary files /dev/null and b/template/j2cms_com/images/navigationbg.jpg differ diff --git a/template/j2cms_com/images/new.gif b/template/j2cms_com/images/new.gif new file mode 100644 index 0000000..bb18bf9 Binary files /dev/null and b/template/j2cms_com/images/new.gif differ diff --git a/template/j2cms_com/images/news.gif b/template/j2cms_com/images/news.gif new file mode 100644 index 0000000..5ede68c Binary files /dev/null and b/template/j2cms_com/images/news.gif differ diff --git a/template/j2cms_com/images/phone_icon.gif b/template/j2cms_com/images/phone_icon.gif new file mode 100644 index 0000000..98abe8d Binary files /dev/null and b/template/j2cms_com/images/phone_icon.gif differ diff --git a/template/j2cms_com/images/phone_icon1.gif b/template/j2cms_com/images/phone_icon1.gif new file mode 100644 index 0000000..393ab4d Binary files /dev/null and b/template/j2cms_com/images/phone_icon1.gif differ diff --git a/template/j2cms_com/images/pos.gif b/template/j2cms_com/images/pos.gif new file mode 100644 index 0000000..4d4b38a Binary files /dev/null and b/template/j2cms_com/images/pos.gif differ diff --git a/template/j2cms_com/images/pos1.gif b/template/j2cms_com/images/pos1.gif new file mode 100644 index 0000000..071df55 Binary files /dev/null and b/template/j2cms_com/images/pos1.gif differ diff --git a/template/j2cms_com/images/qq.gif b/template/j2cms_com/images/qq.gif new file mode 100644 index 0000000..1f4f49d Binary files /dev/null and b/template/j2cms_com/images/qq.gif differ diff --git a/template/j2cms_com/images/qq_online.gif b/template/j2cms_com/images/qq_online.gif new file mode 100644 index 0000000..ce9fcfd Binary files /dev/null and b/template/j2cms_com/images/qq_online.gif differ diff --git a/template/j2cms_com/images/search.bmp b/template/j2cms_com/images/search.bmp new file mode 100644 index 0000000..55b3fb3 Binary files /dev/null and b/template/j2cms_com/images/search.bmp differ diff --git a/template/j2cms_com/images/search.gif b/template/j2cms_com/images/search.gif new file mode 100644 index 0000000..68877c6 Binary files /dev/null and b/template/j2cms_com/images/search.gif differ diff --git a/template/j2cms_com/images/spec.gif b/template/j2cms_com/images/spec.gif new file mode 100644 index 0000000..6bef702 Binary files /dev/null and b/template/j2cms_com/images/spec.gif differ diff --git a/template/j2cms_com/images/suc.jpg b/template/j2cms_com/images/suc.jpg new file mode 100644 index 0000000..6df71ca Binary files /dev/null and b/template/j2cms_com/images/suc.jpg differ diff --git a/template/j2cms_com/images/tbg2.gif b/template/j2cms_com/images/tbg2.gif new file mode 100644 index 0000000..944c26c Binary files /dev/null and b/template/j2cms_com/images/tbg2.gif differ diff --git a/template/j2cms_com/images/tbg3.gif b/template/j2cms_com/images/tbg3.gif new file mode 100644 index 0000000..dcdffc4 Binary files /dev/null and b/template/j2cms_com/images/tbg3.gif differ diff --git a/template/j2cms_com/images/tbg4.gif b/template/j2cms_com/images/tbg4.gif new file mode 100644 index 0000000..59a81b6 Binary files /dev/null and b/template/j2cms_com/images/tbg4.gif differ diff --git a/template/j2cms_com/images/tbg5.gif b/template/j2cms_com/images/tbg5.gif new file mode 100644 index 0000000..fbf2c08 Binary files /dev/null and b/template/j2cms_com/images/tbg5.gif differ diff --git a/template/j2cms_com/images/tbg6.gif b/template/j2cms_com/images/tbg6.gif new file mode 100644 index 0000000..bc5fb54 Binary files /dev/null and b/template/j2cms_com/images/tbg6.gif differ diff --git a/template/j2cms_com/images/tbg6.jpg b/template/j2cms_com/images/tbg6.jpg new file mode 100644 index 0000000..0c24dcb Binary files /dev/null and b/template/j2cms_com/images/tbg6.jpg differ diff --git a/template/j2cms_com/images/tel.gif b/template/j2cms_com/images/tel.gif new file mode 100644 index 0000000..441b4e2 Binary files /dev/null and b/template/j2cms_com/images/tel.gif differ diff --git a/template/j2cms_com/images/title-bg.gif b/template/j2cms_com/images/title-bg.gif new file mode 100644 index 0000000..9a47fad Binary files /dev/null and b/template/j2cms_com/images/title-bg.gif differ diff --git a/template/j2cms_com/images/title-bg1.gif b/template/j2cms_com/images/title-bg1.gif new file mode 100644 index 0000000..9a47fad Binary files /dev/null and b/template/j2cms_com/images/title-bg1.gif differ diff --git a/template/j2cms_com/images/title-bg2.jpg b/template/j2cms_com/images/title-bg2.jpg new file mode 100644 index 0000000..713a422 Binary files /dev/null and b/template/j2cms_com/images/title-bg2.jpg differ diff --git a/template/j2cms_com/images/titlebg.jpg b/template/j2cms_com/images/titlebg.jpg new file mode 100644 index 0000000..2422758 Binary files /dev/null and b/template/j2cms_com/images/titlebg.jpg differ diff --git a/template/j2cms_com/images/top_nav_bg.gif b/template/j2cms_com/images/top_nav_bg.gif new file mode 100644 index 0000000..393ab4d Binary files /dev/null and b/template/j2cms_com/images/top_nav_bg.gif differ diff --git a/template/j2cms_com/index.html b/template/j2cms_com/index.html new file mode 100644 index 0000000..0cf4600 --- /dev/null +++ b/template/j2cms_com/index.html @@ -0,0 +1,116 @@ + + + + +${(C.fullName)!"J2CMS"} + + + + + + + + + +
    + <#include "/head.html" parse=false encoding="UTF-8"> +
    +
    +
    +
    + +
    +
    +
    +
     最新动态
    + <#if latestArticles?? > + <#list latestArticles as a> +
  • [${a.channel.name!""}]${a.name!""} + [${a.releaseDate!""}]
  • + + + +
    + +
    +
     系统简介
    +
    + ${C.introduce!""} +
    +
    + +
    + + +
    + + +<#if channelArticleMaps??> +<#list channelArticleMaps as channelArticleMap> +
    + <#list channelArticleMap?keys as channelName > +
      ${channelName}
    +
    +
      + <#assign articles=channelArticleMap[channelName] > + <#if articles??> + <#list articles as articleBean> +
    • ${articleBean.name!""} + [${articleBean.releaseDate!""}]
    • + + +
    +
    + +
    + + + + +
    + + + +
    +
     服务与支持
    +
    + QQ 点击与我会话  + 点击与我会话 +

    + 电话${C.mobile!""}
    +
    +
    + + +
    +
     典型案例
    +
    + <#include "picad.html" encoding="UTF-8"> +
    +
    + + + +
    + + + +
    + + + \ No newline at end of file diff --git a/template/j2cms_com/js/cddh.js b/template/j2cms_com/js/cddh.js new file mode 100644 index 0000000..24040e1 --- /dev/null +++ b/template/j2cms_com/js/cddh.js @@ -0,0 +1,37 @@ +// JavaScript Document 菜单导航 + + var previoustab = "sub_1"; + tempobj="sub_1_li"; + function showsub(obj) + { + document.all(tempobj).className=""; + document.all(obj+"_li").className="liover"; + document.all(obj).style.display="block"; + if(obj!=previoustab) + { + document.getElementById(previoustab).style.display = "none"; + previoustab = obj; + tempobj=obj+"_li"; + } + + } + + function SetHome(obj,vrl)//设置为主页 + { + try + { + obj.style.behavior='url(#default#homepage)';obj.setHomePage(vrl); + } + catch(e){ + if(window.netscape) { + try { + netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect"); + } + catch (e) { + alert("此操作被浏览器拒绝!\n请在浏览器地址栏输入“about:config”并回车\n然后将[signed.applets.codebase_principal_support]设置为'true'"); + } + var prefs = Components.classes['@mozilla.org/preferences-service;1'].getService(Components.interfaces.nsIPrefBranch); + prefs.setCharPref('browser.startup.homepage',vrl); + } + } + } diff --git a/template/j2cms_com/js/flashImg.js b/template/j2cms_com/js/flashImg.js new file mode 100644 index 0000000..54c8a66 --- /dev/null +++ b/template/j2cms_com/js/flashImg.js @@ -0,0 +1,11 @@ +function CreateFlash(idad, swfurl, wad, had, vs){ +var str = ""; +str += ""; +str += ""; +str += ""; +str += ''; +str += ""; +str += ""; +str += ""; +document.write(str); +} \ No newline at end of file diff --git a/template/j2cms_com/js/setHeight.js b/template/j2cms_com/js/setHeight.js new file mode 100644 index 0000000..52c85f4 --- /dev/null +++ b/template/j2cms_com/js/setHeight.js @@ -0,0 +1,11 @@ +//设置高度 + +function alertHeight(){ + + var divH1 = document.getElementById("left"); + var divH2 = document.getElementById("main1"); + var allHeight= divH1.clientHeight > divH2.clientHeight ? divH1.clientHeight:divH2.clientHeight; + divH1.style.height=allHeight + 'px'; + divH2.style.height=allHeight + 'px'; +} +window.onload=alertHeight; \ No newline at end of file diff --git a/template/j2cms_com/js/tpxw.js b/template/j2cms_com/js/tpxw.js new file mode 100644 index 0000000..c54e5fa --- /dev/null +++ b/template/j2cms_com/js/tpxw.js @@ -0,0 +1,56 @@ +//图片文章 +//轮换播放开始 +var picNum=0; +function initPicSlider(d) { + var p=document.getElementById(d); + var dts=p.getElementsByTagName("dt"); + var t=""; + for(var i=0;i"+(i+1)+""; + } + p.innerHTML="
    "+t+"
    "+p.innerHTML; + setInterval("setAlpha()",50); + setInterval("playPic()",3000); +} +function setTargetPic(Num) { + var p=document.getElementById("picSlider"); + var dts=p.getElementsByTagName("dt"); + var dds=p.getElementsByTagName("dd"); + var pc=document.getElementById("picContorl"); + spans=pc.getElementsByTagName("span"); + picNum=dts.length; + for(var i=0;i=picNum) { + tNum=0; + } + setTargetPic(tNum); + tNum++; +} +window.onload=function() {initPicSlider("picSlider");} + +//轮换播放结束 \ No newline at end of file diff --git a/template/j2cms_com/left.html b/template/j2cms_com/left.html new file mode 100644 index 0000000..7474a8b --- /dev/null +++ b/template/j2cms_com/left.html @@ -0,0 +1,22 @@ + +
           高级搜索
    +
    +
    +
    + + + + + + + +
    + 关键字: + +
    + +
    + +
    +
    + diff --git a/template/j2cms_com/login.html b/template/j2cms_com/login.html new file mode 100644 index 0000000..f75df7d --- /dev/null +++ b/template/j2cms_com/login.html @@ -0,0 +1,128 @@ + + + +${C.name}管理中心登陆 + + + + + + + + + + + + + + + + +
    + + + + + +
    + + + + + +
    + + + +
    + + \ No newline at end of file diff --git a/template/j2cms_com/picad.html b/template/j2cms_com/picad.html new file mode 100644 index 0000000..870aae1 --- /dev/null +++ b/template/j2cms_com/picad.html @@ -0,0 +1,90 @@ + + + + + + + + +
    +
    +
    + +
    +
    +
    +
    + + \ No newline at end of file diff --git a/template/j2cms_com/register.html b/template/j2cms_com/register.html new file mode 100644 index 0000000..ea3c3ef --- /dev/null +++ b/template/j2cms_com/register.html @@ -0,0 +1,89 @@ + + + + + + +注册-${C.name} + + + +
    +<#include "head.html" encoding="UTF-8"> +
    + + + + + +
    +
    + + + + + + + + + + + + + + + +
    用户名: + <#if message1??>${message1} +
    密码: + <#if message2??>${message2} +
     
    +
    +
    + + +
    + +
    + + + + + diff --git a/template/j2cms_com/single.html b/template/j2cms_com/single.html new file mode 100644 index 0000000..707622b --- /dev/null +++ b/template/j2cms_com/single.html @@ -0,0 +1,36 @@ + + + + + + +${entity.name!""}-${(C.name)!"J2CMS"} + + +
    + <#include "/head.html" parse=false encoding="UTF-8"> +
    +
    + <#include "/left.html" parse=false encoding="UTF-8"> +
    +
    +
    +
     首页 + + ${entity.name!""} +
    +
    +
    ${(entity.content)!""}
    +
    +
    +
    + +
    + +
    + + + + \ No newline at end of file diff --git a/template/j2cms_com/tagChange.html b/template/j2cms_com/tagChange.html new file mode 100644 index 0000000..cb19ff0 --- /dev/null +++ b/template/j2cms_com/tagChange.html @@ -0,0 +1,46 @@ +
    +

    关注焦点

    + +

    浏览最多

    +

    评论最多

    +
    +
    + + + <#if mostVisitArticles?? > + <#list mostVisitArticles as a> + ${a.name}
    + + +
    + + <#if mostCommentArticles?? > + <#list mostCommentArticles as a> + ${a.name}
    + + +
    + + +
    + +
    \ No newline at end of file