91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

資源簡介

PHP+MYSQL+Dreamweaver網站建設經典案例,經典案例

資源截圖

代碼片段和文件信息

“““
FCKeditor?-?The?text?editor?for?internet
Copyright?(C)?2003-2005?Frederico?Caldeira?Knabben

Licensed?under?the?terms?of?the?GNU?Lesser?General?Public?License:
http://www.opensource.org/licenses/lgpl-license.php

For?further?information?visit:
http://www.fckeditor.net/

“Support?Open?Source?software.?What?about?a?donation?today?“

File?Name:?fckeditor.py
This?is?the?integration?file?for?Python.

File?Authors:
Andrew?Liu?(andrew@liuholdings.com)
“““

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=\“no\“?scrolling=\“no\“>rame>“?%?(
self.InstanceName
link
self.Width
self.Height

else:
if?(self.Width.find(“%%“)? WidthCSS?=?“%spx“?%?self.Width
else:
WidthCSS?=?self.Width
if?(self.Height.find(“%%“)? 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

def?IsCompatible(self):
if?(os.environ.has_key(“HTTP_USER_AGENT“)):
sAgent?=?os.environ.get(“HTTP_USER_AGENT“?““)
else:

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件???????9293??2006-08-24?23:32??PHP+MYSQL+Dreamweaver網站建設經典案例\10\admin.php

?????文件???????1270??2006-08-20?23:36??PHP+MYSQL+Dreamweaver網站建設經典案例\10\config.php

?????文件????????622??2006-08-23?01:14??PHP+MYSQL+Dreamweaver網站建設經典案例\10\createTable.sql

?????文件???????3903??2006-08-17?23:39??PHP+MYSQL+Dreamweaver網站建設經典案例\10\db.php

?????文件???????2015??2006-08-17?23:39??PHP+MYSQL+Dreamweaver網站建設經典案例\10\emoticons\a.gif

?????文件???????1644??2006-08-17?23:39??PHP+MYSQL+Dreamweaver網站建設經典案例\10\emoticons\b.gif

?????文件????????176??2006-08-17?23:39??PHP+MYSQL+Dreamweaver網站建設經典案例\10\emoticons\bigsmile-smiley.gif

?????文件????????159??2006-08-17?23:39??PHP+MYSQL+Dreamweaver網站建設經典案例\10\emoticons\blue-smiley.gif

?????文件???????1579??2006-08-17?23:39??PHP+MYSQL+Dreamweaver網站建設經典案例\10\emoticons\c.gif

?????文件???????2465??2006-08-17?23:39??PHP+MYSQL+Dreamweaver網站建設經典案例\10\emoticons\d.gif

?????文件????????154??2006-08-17?23:39??PHP+MYSQL+Dreamweaver網站建設經典案例\10\emoticons\default.gif

?????文件????????131??2006-08-17?23:39??PHP+MYSQL+Dreamweaver網站建設經典案例\10\emoticons\exclamation.gif

?????文件????????157??2006-08-17?23:39??PHP+MYSQL+Dreamweaver網站建設經典案例\10\emoticons\happy-smiley.gif

?????文件????????965??2006-08-17?23:39??PHP+MYSQL+Dreamweaver網站建設經典案例\10\emoticons\laughing-smiley.gif

?????文件????????144??2006-08-17?23:39??PHP+MYSQL+Dreamweaver網站建設經典案例\10\emoticons\question.gif

?????文件????????160??2006-08-17?23:39??PHP+MYSQL+Dreamweaver網站建設經典案例\10\emoticons\sad-smiley.gif

?????文件????????151??2006-08-17?23:39??PHP+MYSQL+Dreamweaver網站建設經典案例\10\emoticons\thumbsdown.gif

?????文件????????149??2006-08-17?23:39??PHP+MYSQL+Dreamweaver網站建設經典案例\10\emoticons\thumbsup.gif

?????文件????????184??2006-08-17?23:39??PHP+MYSQL+Dreamweaver網站建設經典案例\10\emoticons\wink-smiley.gif

?????文件???????2155??2006-08-19?00:04??PHP+MYSQL+Dreamweaver網站建設經典案例\10\flat.php

?????文件????????782??2006-08-17?23:39??PHP+MYSQL+Dreamweaver網站建設經典案例\10\forum.css

?????文件???????3505??2006-08-23?17:30??PHP+MYSQL+Dreamweaver網站建設經典案例\10\index.php

?????文件???????7777??2006-08-24?17:51??PHP+MYSQL+Dreamweaver網站建設經典案例\10\post.php

?????文件???????3151??2006-08-19?00:04??PHP+MYSQL+Dreamweaver網站建設經典案例\10\thread.php

?????文件?????????59??2006-08-17?23:39??PHP+MYSQL+Dreamweaver網站建設經典案例\10\tree-blank.gif

?????文件?????????73??2006-08-17?23:39??PHP+MYSQL+Dreamweaver網站建設經典案例\10\tree-end.gif

?????文件?????????91??2006-08-17?23:39??PHP+MYSQL+Dreamweaver網站建設經典案例\10\tree-join.gif

?????文件?????????75??2006-08-17?23:39??PHP+MYSQL+Dreamweaver網站建設經典案例\10\tree-vert.gif

?????文件???????5619??2006-08-24?01:23??PHP+MYSQL+Dreamweaver網站建設經典案例\10\view.php

?????文件???????4582??2006-08-15?01:19??PHP+MYSQL+Dreamweaver網站建設經典案例\11\addrbook.php

............此處省略1198個文件信息

評論

共有 條評論