基于java的物品交换平台的设计与实现


包含数据库文件使用SQLSever,可能细节做得不完美,但网站功能齐全,
资源截图
代码片段和文件信息
“““
FCKeditor - The text editor for Internet - http://www.fckeditor.net
Copyright (C) 2003-2008 Frederico Caldeira Knabben

== BEGIN LICENSE ==

Licensed under the terms of any of the following licenses at your
choice:

 - GNU General Public License Version 2 or later (the “GPL“)
   http://www.gnu.org/licenses/gpl.html

 - GNU Lesser General Public License Version 2.1 or later (the “LGPL“)
   http://www.gnu.org/licenses/lgpl.html

 - Mozilla Public License Version 1.1 or later (the “MPL“)
   http://www.mozilla.org/MPL/MPL-1.1.html

== END LICENSE ==

This is the integration file for Python.
“““

import cgi
import os
import re
import string

def escape(text replace=string.replace):
    “““Converts the special characters ‘<‘ ‘>‘ and ‘&‘.

    RFC 1866 specifies that these characters be represented
    in HTML as < > and & respectively. In Python
    1.5 we use the new string.replace() function for speed.
    “““
    text = replace(text ‘&‘ ‘&‘) # must be done 1st
    text = replace(text ‘<‘ ‘<‘)
    text = replace(text ‘>‘ ‘>‘)
    text = replace(text ‘“‘ ‘"‘)
    text = replace(text “‘“ ‘‘‘)
    return text

# The FCKeditor class
class FCKeditor(object):
def __init__(self instanceName):
self.InstanceName = instanceName
self.basePath = ‘/fckeditor/‘
self.Width = ‘100%‘
self.Height = ‘200‘
self.ToolbarSet = ‘Default‘
self.Value = ‘‘;

self.Config = {}

def Create(self):
return self.CreateHtml()

def CreateHtml(self):
HtmlValue = escape(self.Value)
Html = ““

if (self.IsCompatible()):
File = “fckeditor.html“
link = “%seditor/%s?InstanceName=%s“ % (
self.basePath
File
self.InstanceName

if (self.ToolbarSet is not None):
link += “&Toolbar=%s“ % self.ToolbarSet

# Render the linked hidden field
Html += “yle=“display:none“ />“ % (
self.InstanceName
self.InstanceName
HtmlValue


# Render the configurations hidden field
Html += “yle=“display:none“ />“ % (
self.InstanceName
self.GetConfigFieldString()


# Render the editor iframe
Html += “rame id=“%s\__frame“ src=“%s“ width=“%s“ height=“%s“ frameborder=“0“ scrolling=“no“>rame>“ % (
self.InstanceName
link
self.Width
self.Height

else:
if (self.Width.find(“%%“) < 0):
WidthCSS = “%spx“ % self.Width
else:
WidthCSS = self.Width
if (self.Height.find(“%%“) < 0):
HeightCSS = “%spx“ % self.Height
else:
HeightCSS = self.Height

Html += “yle=“width: %s; height: %s;“ wrap=“virtual“>%s“ % (
self.InstanceName
WidthCSS
HeightCSS
HtmlValue

return Html

def IsCom

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2017-04-20 21:57  新建文件夹
     文件     2031616  2017-04-20 21:57  新建文件夹db_c2c_Data.MDF
     文件     3211264  2017-04-20 21:57  新建文件夹db_c2c_Log.LDF
     目录           0  2017-04-20 21:52  新建文件夹ershou
     文件        5186  2011-03-19 02:43  新建文件夹ershou.classpath
     目录           0  2011-03-30 22:44  新建文件夹ershou.myeclipse
     文件         529  2011-03-19 03:51  新建文件夹ershou.myhibernatedata
     文件         291  2011-03-19 03:51  新建文件夹ershou.mymetadata
     文件        1634  2011-03-19 03:51  新建文件夹ershou.project
     目录           0  2017-04-20 21:52  新建文件夹ershou.settings
     文件         145  2011-03-26 00:18  新建文件夹ershou.settingsorg.eclipse.core.resources.prefs
     文件         330  2010-07-16 17:19  新建文件夹ershou.settingsorg.eclipse.jdt.core.prefs
     文件         273  2011-03-04 16:54  新建文件夹ershou.springBeans
     目录           0  2017-04-20 21:52  新建文件夹ershouadmin
     目录           0  2017-04-20 21:52  新建文件夹ershouadmincatelog
     文件        3008  2017-04-20 20:03  新建文件夹ershouadmincatelogcatelogAdd.jsp
     文件        3153  2017-04-20 20:03  新建文件夹ershouadmincatelogcatelogMana.jsp
     目录           0  2017-04-20 21:52  新建文件夹ershouadmingonggao
     文件        2979  2017-04-20 20:03  新建文件夹ershouadmingonggaogonggaoAdd.jsp
     文件        1134  2017-04-20 20:03  新建文件夹ershouadmingonggaogonggaoDetail.jsp
     文件        3040  2017-04-20 20:03  新建文件夹ershouadmingonggaogonggaoMana.jsp
     目录           0  2017-04-20 21:52  新建文件夹ershouadmingoods
     文件        3966  2017-04-20 20:03  新建文件夹ershouadmingoodsgoodsManaByAd.jsp
     目录           0  2017-04-20 21:52  新建文件夹ershouadminindex
     文件         762  2017-04-20 20:03  新建文件夹ershouadminindex.jsp
     文件        2812  2017-04-20 20:03  新建文件夹ershouadminindexadminAdd.jsp
     文件        2945  2017-04-20 20:03  新建文件夹ershouadminindexadminManage.jsp
     文件        2573  2017-04-20 20:03  新建文件夹ershouadminindexsysPro.jsp
     目录           0  2017-04-20 21:52  新建文件夹ershouadminjs
     文件         981  2017-04-20 20:03  新建文件夹ershouadminjslist_nav.js
     目录           0  2017-04-20 21:52  新建文件夹ershouadminliuyan
............此处省略2143个文件信息

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。

发表评论

评论列表(条)