安乐居房产网站源码正式版 二手房源码 房产中介公司网站源码模板


安乐居房产网站源码正式版 二手房源码 房产中介公司网站源码模板
资源截图
代码片段和文件信息
“““
FCKeditor - The text editor for Internet - http://www.fckeditor.net
Copyright (C) 2003-2009 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

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

     文件       1556  2010-12-10 23:18  房产网站源码房产网站源码.htaccess

     文件        134  2011-02-27 03:20  房产网站源码房产网站源码aboutcopyright.php

     文件        127  2011-02-27 03:16  房产网站源码房产网站源码abouthr.php

     文件        130  2011-02-27 03:17  房产网站源码房产网站源码aboutindex.php

     文件       1194  2011-02-27 02:59  房产网站源码房产网站源码aboutpath.inc.php

     文件        130  2011-02-27 03:22  房产网站源码房产网站源码aboutstate.php

     文件        131  2011-02-27 03:17  房产网站源码房产网站源码about reaty.php

     文件      22594  2011-02-25 22:42  房产网站源码房产网站源码ad110.jpg

     文件      57385  2011-02-25 22:42  房产网站源码房产网站源码ad225.jpg

     文件      51059  2011-02-25 22:42  房产网站源码房产网站源码ad1227.jpg

     文件      46971  2011-02-25 22:42  房产网站源码房产网站源码ad280x80_16845435.jpg

     文件      64147  2011-02-25 22:42  房产网站源码房产网站源码ad680X80.jpg

     文件      61665  2011-02-25 22:42  房产网站源码房产网站源码ad99080.gif

     文件      13248  2011-02-25 22:42  房产网站源码房产网站源码ad
zbanner.jpg

    ..A.SH.     21504  2011-03-03 01:12  房产网站源码房产网站源码adThumbs.db

     文件       2479  2011-01-04 10:39  房产网站源码房产网站源码adminadvertiseads.php

     文件       1460  2011-01-04 10:34  房产网站源码房产网站源码adminadvertiseindex.php

     文件        217  2010-03-15 14:27  房产网站源码房产网站源码adminadvertisepath.inc.php

     文件        379  2011-01-21 23:57  房产网站源码房产网站源码adminareas.php

     文件        803  2010-03-15 14:27  房产网站源码房产网站源码adminoroughajax.php

     文件       5081  2011-01-06 14:54  房产网站源码房产网站源码adminoroughcheck.php

     文件       2514  2011-01-29 15:07  房产网站源码房产网站源码adminoroughimagesiaozhu.gif

     文件       2507  2011-01-29 15:11  房产网站源码房产网站源码adminoroughimagesmodify_note.gif

     文件       6665  2011-01-22 02:03  房产网站源码房产网站源码adminoroughindex.php

     文件        240  2010-03-15 14:27  房产网站源码房产网站源码adminoroughpath.inc.php

     文件       2433  2010-03-15 14:27  房产网站源码房产网站源码admincrontaboroughAvg.php

     文件        766  2010-03-15 14:27  房产网站源码房产网站源码admincrontaboroughCombine.php

     文件        738  2010-03-15 14:27  房产网站源码房产网站源码admincrontaboroughHouseNum.php

     文件        583  2010-03-15 14:27  房产网站源码房产网站源码admincrontaboroughPicNum.php

     文件       1297  2010-03-15 14:27  房产网站源码房产网站源码admincrontabrokerA+.php

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

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

发表评论

评论列表(条)