一个很好的论坛系统jsp+mysql


(因为太大分三部分)请解压到一个文件夹
资源截图
代码片段和文件信息
“““
FCKeditor - The text editor for Internet - http://www.fckeditor.net
Copyright (C) 2003-2007 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 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

Html += “

return Html

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件       5670  2007-06-20 13:08  blogadminad.jsp

     文件       8129  2007-10-12 23:21  blogadminlog_list.jsp

     文件       4615  2006-10-18 17:09  blogadmincache.jsp

     文件       4536  2007-06-15 16:45  blogadminconfig_m.jsp

     文件        624  2006-01-21 17:38  blogadminCVSEntries

     文件         16  2006-01-21 17:17  blogadminCVSRepository

     文件         34  2006-01-21 17:17  blogadminCVSRoot

     文件       2062  2006-01-21 16:08  blogadmindefault.css

     文件      15096  2007-10-10 21:27  blogadmindesktop_setup.jsp

     文件       7054  2007-02-26 09:37  blogadmindir_bottom.jsp

     文件        639  2006-10-18 11:06  blogadmindir_frame.jsp

     文件       6169  2007-02-26 09:37  blogadmindir_top.jsp

     文件       1013  2006-10-18 15:23  blogadminframe.jsp

     文件      24921  2007-10-12 17:40  blogadminhome.jsp

     文件       8317  2007-10-10 20:55  blogadminhome_img.jsp

     文件       2044  2006-01-21 16:08  blogadminimagesadmin.css

     文件        102  2006-01-21 16:08  blogadminimagesal_body_bg.gif

     文件        681  2006-01-21 16:08  blogadminimagesal_body_right.gif

     文件        106  2006-01-21 16:08  blogadminimagesal_end_bg.gif

     文件       1695  2006-10-20 17:45  blogadminimagesal_end_end.gif

     文件        707  2006-01-21 16:08  blogadminimagesal_end_left.gif

     文件       3813  2006-01-21 16:08  blogadminimagesal_end_right.gif

     文件       2823  2006-01-21 16:08  blogadminimagesal_password.gif

     文件       4874  2006-01-21 16:08  blogadminimagesal_top.gif

     文件       3180  2006-01-21 16:08  blogadminimagesal_username.gif

     文件         74  2006-01-21 16:08  blogadminimagesarrow.gif

     文件        105  2006-01-21 16:08  blogadminimagesarrow_white.gif

     文件         60  2006-01-21 16:08  blogadminimagesox_bg.gif

     文件        146  2006-01-21 16:08  blogadminimagesox_bottom.gif

     文件         46  2006-01-21 16:08  blogadminimagesox_topbg.gif

............此处省略2831个文件信息

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

发表评论

评论列表(条)