资源简介
【宝葫芦】美容整形医院网站源码功能:
DIV+css布局;
后台支持自定义SEO;
支持电子地图;
支持图片,附件上传;
信息三级分类;
管理员等级设置;
全屏banner图片切换
后台路径:/YouSiteAdmin
用户名:admin 用户密码:123
代码片段和文件信息
“““
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 += ““ % (
self.InstanceName
WidthCSS
HeightCSS
HtmlValue
)
return Html
def IsCom
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 217 2013-12-19 19:55 买空间域名.url
目录 0 2014-04-07 17:58 editor\
目录 0 2014-04-07 17:58 editor\asp\
文件 1741 2012-12-25 19:11 editor\asp\demo.asp
文件 6581 2012-11-11 14:51 editor\asp\file_manager_json.asp
文件 4736 2012-11-11 14:51 editor\asp\JSON_2.0.4.asp
文件 16267 2012-11-11 14:51 editor\asp\UpLoad_Class.asp
文件 3140 2012-11-11 14:51 editor\asp\upload_json.asp
目录 0 2014-04-07 17:58 editor\attached\
目录 0 2014-04-07 17:58 editor\attached\file\
目录 0 2014-04-07 17:58 editor\attached\file\20121225\
文件 879116 2012-12-25 17:18 editor\attached\file\20121225\2012122517180224224.zip
目录 0 2014-04-07 17:58 editor\attached\flash\
文件 37369 2013-06-07 21:39 editor\attached\flash\dt.swf
目录 0 2014-04-07 17:58 editor\attached\image\
目录 0 2014-04-07 17:58 editor\attached\image\20130921\
文件 15978 2013-09-21 09:45 editor\attached\image\20130921\201309210945009999.jpg
文件 15950 2013-09-21 09:45 editor\attached\image\20130921\2013092109450129129.jpg
文件 8442 2013-09-21 09:45 editor\attached\image\20130921\20130921094513351335.jpg
文件 16151 2013-09-21 09:45 editor\attached\image\20130921\20130921094548634863.jpg
文件 9942 2013-09-21 09:45 editor\attached\image\20130921\20130921094560066006.jpg
文件 14267 2013-09-21 09:45 editor\attached\image\20130921\20130921094571237123.jpg
文件 8827 2013-09-21 09:45 editor\attached\image\20130921\20130921094579677967.jpg
文件 10467 2013-09-21 10:02 editor\attached\image\20130921\20130921100218311831.jpg
文件 5443 2013-09-21 10:03 editor\attached\image\20130921\201309211003009797.jpg
文件 8111 2013-09-21 10:03 editor\attached\image\20130921\20130921100310931093.jpg
文件 7073 2013-09-21 10:03 editor\attached\image\20130921\20130921100354695469.jpg
文件 15352 2013-09-21 10:03 editor\attached\image\20130921\20130921100360146014.jpg
文件 14649 2013-09-21 10:03 editor\attached\image\20130921\20130921100375717571.jpg
文件 10317 2013-09-21 10:03 editor\attached\image\20130921\20130921100393809380.jpg
文件 103134 2013-09-23 10:17 editor\attached\image\20130921\20130921101541264126.jpg
............此处省略1095个文件信息
相关资源
- 客客威客系统KPPW 威客网站源码 威客
- 完美电影网站源码
- 最新贷款网站源码
- 千里之行购物网站源码
- 爱情历程网站源码
- 慈善总会网站源码
- A1725威客任务网站源码,带支付宝支付
- 美萍美发管理系统 美容美发理发店管
- 儿童摄影网站源码
- 校友录全网站源码
- 企业网站源码完整版后台可用
- 仿百度百科网站源码
- jtopo网站源码资源(api+demo)
- DJ音乐网站源码
- 汽车美容会员管理系统
- 美萍汽车美容管理标准版2014V5正式版
- 人才招聘网站源码
- 社区卫生服务中学查询机网站源码
- 9u-Xt-.net企业门户网站源码.rar
- z1-k3-net企业门户网站源码非常适合企
- MVC三层架构音乐网站源码
- 一套完整的企业网站源码,带后台
- 最新最全的FLEX++网站源码
- 网上流传很少的宁志红色专题网站源
- O2O订餐系统仿饿了么网站源码+支付宝
- 精品课程网站源码
- 木地板成品网站源码,自带论坛,产
- 企业网站源码企业网站源码企业网站
- 很好的幼儿园网站源码
- 仿新浪抢工长装修招标网站源码老工
评论
共有 条评论