酒店管理系统的设计与实现包括了前台模块和后台模块,前台模块中可以按照房间的规格、价格来查询房间,用户注册登录后可以选择房间后输入个人信息以及支付押金进行预订。后台模块中可以进行酒店客房基本信息的管理,对注册的用户信息进行管理,对预订客房的客户进行入住操作,入住时需缴纳押金,退房时能自动计算房间的总消费,完成退房后更新房间的状态为空闲。
代码片段和文件信息
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 745 2019-03-25 23:23 酒店管理系统的设计与实现hotel.classpath
文件 552 2019-03-25 23:23 酒店管理系统的设计与实现hotel.externalToolBuildersorg.eclipse.wst.common.project.facet.core.builder (1).launch
文件 548 2019-03-25 23:23 酒店管理系统的设计与实现hotel.externalToolBuildersorg.eclipse.wst.jsdt.core.javascriptValidator (1).launch
文件 288 2020-05-11 10:41 酒店管理系统的设计与实现hotel.mymetadata
文件 2628 2019-03-25 23:23 酒店管理系统的设计与实现hotel.project
文件 500 2019-03-25 23:23 酒店管理系统的设计与实现hotel.settings.jsdtscope
文件 128 2020-05-01 21:06 酒店管理系统的设计与实现hotel.settingscom.genuitec.eclipse.core.prefs
文件 629 2019-03-25 23:23 酒店管理系统的设计与实现hotel.settingsorg.eclipse.jdt.core.prefs
文件 453 2019-03-25 23:23 酒店管理系统的设计与实现hotel.settingsorg.eclipse.wst.common.component
文件 252 2019-03-25 23:23 酒店管理系统的设计与实现hotel.settingsorg.eclipse.wst.common.project.facet.core.xml
文件 49 2019-03-25 23:23 酒店管理系统的设计与实现hotel.settingsorg.eclipse.wst.jsdt.ui.superType.container
文件 6 2019-03-25 23:23 酒店管理系统的设计与实现hotel.settingsorg.eclipse.wst.jsdt.ui.superType.name
文件 415 2019-03-25 23:23 酒店管理系统的设计与实现hotel.springBeans
文件 236 2019-03-25 23:23 酒店管理系统的设计与实现hotelWebRootfckeditoreditorcssehaviorsdisablehandles.htc
文件 822 2019-03-25 23:23 酒店管理系统的设计与实现hotelWebRootfckeditoreditorcssehaviorsshowtableborders.htc
文件 2648 2019-03-25 23:23 酒店管理系统的设计与实现hotelWebRootfckeditoreditorcssfck_editorarea.css
文件 4088 2019-03-25 23:23 酒店管理系统的设计与实现hotelWebRootfckeditoreditorcssfck_internal.css
文件 1696 2019-03-25 23:23 酒店管理系统的设计与实现hotelWebRootfckeditoreditorcssfck_showtableborders_gecko.css
文件 288 2019-03-25 23:23 酒店管理系统的设计与实现hotelWebRootfckeditoreditorcssimageslock_address.png
文件 293 2019-03-25 23:23 酒店管理系统的设计与实现hotelWebRootfckeditoreditorcssimageslock_blockquote.png
文件 229 2019-03-25 23:23 酒店管理系统的设计与实现hotelWebRootfckeditoreditorcssimageslock_div.png
文件 218 2019-03-25 23:23 酒店管理系统的设计与实现hotelWebRootfckeditoreditorcssimageslock_h1.png
文件 220 2019-03-25 23:23 酒店管理系统的设计与实现hotelWebRootfckeditoreditorcssimageslock_h2.png
文件 219 2019-03-25 23:23 酒店管理系统的设计与实现hotelWebRootfckeditoreditorcssimageslock_h3.png
文件 229 2019-03-25 23:23 酒店管理系统的设计与实现hotelWebRootfckeditoreditorcssimageslock_h4.png
文件 236 2019-03-25 23:23 酒店管理系统的设计与实现hotelWebRootfckeditoreditorcssimageslock_h5.png
文件 216 2019-03-25 23:23 酒店管理系统的设计与实现hotelWebRootfckeditoreditorcssimageslock_h6.png
文件 205 2019-03-25 23:23 酒店管理系统的设计与实现hotelWebRootfckeditoreditorcssimageslock_p.png
文件 223 2019-03-25 23:23 酒店管理系统的设计与实现hotelWebRootfckeditoreditorcssimageslock_pre.png
文件 184 2019-03-25 23:23 酒店管理系统的设计与实现hotelWebRootfckeditoreditorcssimagesfck_anchor.gif
............此处省略927个文件信息
“““
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
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 745 2019-03-25 23:23 酒店管理系统的设计与实现hotel.classpath
文件 552 2019-03-25 23:23 酒店管理系统的设计与实现hotel.externalToolBuildersorg.eclipse.wst.common.project.facet.core.builder (1).launch
文件 548 2019-03-25 23:23 酒店管理系统的设计与实现hotel.externalToolBuildersorg.eclipse.wst.jsdt.core.ja
文件 288 2020-05-11 10:41 酒店管理系统的设计与实现hotel.myme
文件 2628 2019-03-25 23:23 酒店管理系统的设计与实现hotel.project
文件 500 2019-03-25 23:23 酒店管理系统的设计与实现hotel.settings.jsdtscope
文件 128 2020-05-01 21:06 酒店管理系统的设计与实现hotel.settingscom.genuitec.eclipse.core.prefs
文件 629 2019-03-25 23:23 酒店管理系统的设计与实现hotel.settingsorg.eclipse.jdt.core.prefs
文件 453 2019-03-25 23:23 酒店管理系统的设计与实现hotel.settingsorg.eclipse.wst.common.component
文件 252 2019-03-25 23:23 酒店管理系统的设计与实现hotel.settingsorg.eclipse.wst.common.project.facet.core.xm
文件 49 2019-03-25 23:23 酒店管理系统的设计与实现hotel.settingsorg.eclipse.wst.jsdt.ui.superType.container
文件 6 2019-03-25 23:23 酒店管理系统的设计与实现hotel.settingsorg.eclipse.wst.jsdt.ui.superType.name
文件 415 2019-03-25 23:23 酒店管理系统的设计与实现hotel.springBeans
文件 236 2019-03-25 23:23 酒店管理系统的设计与实现hotelWebRootfckeditoreditorcssehaviorsdisablehandles.htc
文件 822 2019-03-25 23:23 酒店管理系统的设计与实现hotelWebRootfckeditoreditorcssehaviorsshowtableborders.htc
文件 2648 2019-03-25 23:23 酒店管理系统的设计与实现hotelWebRootfckeditoreditorcssfck_editorarea.css
文件 4088 2019-03-25 23:23 酒店管理系统的设计与实现hotelWebRootfckeditoreditorcssfck_internal.css
文件 1696 2019-03-25 23:23 酒店管理系统的设计与实现hotelWebRootfckeditoreditorcssfck_showtableborders_gecko.css
文件 288 2019-03-25 23:23 酒店管理系统的设计与实现hotelWebRootfckeditoreditorcssimageslock_address.png
文件 293 2019-03-25 23:23 酒店管理系统的设计与实现hotelWebRootfckeditoreditorcssimageslock_blockquote.png
文件 229 2019-03-25 23:23 酒店管理系统的设计与实现hotelWebRootfckeditoreditorcssimageslock_div.png
文件 218 2019-03-25 23:23 酒店管理系统的设计与实现hotelWebRootfckeditoreditorcssimageslock_h1.png
文件 220 2019-03-25 23:23 酒店管理系统的设计与实现hotelWebRootfckeditoreditorcssimageslock_h2.png
文件 219 2019-03-25 23:23 酒店管理系统的设计与实现hotelWebRootfckeditoreditorcssimageslock_h3.png
文件 229 2019-03-25 23:23 酒店管理系统的设计与实现hotelWebRootfckeditoreditorcssimageslock_h4.png
文件 236 2019-03-25 23:23 酒店管理系统的设计与实现hotelWebRootfckeditoreditorcssimageslock_h5.png
文件 216 2019-03-25 23:23 酒店管理系统的设计与实现hotelWebRootfckeditoreditorcssimageslock_h6.png
文件 205 2019-03-25 23:23 酒店管理系统的设计与实现hotelWebRootfckeditoreditorcssimageslock_p.png
文件 223 2019-03-25 23:23 酒店管理系统的设计与实现hotelWebRootfckeditoreditorcssimageslock_pre.png
文件 184 2019-03-25 23:23 酒店管理系统的设计与实现hotelWebRootfckeditoreditorcssimagesfck_anchor.gif
............此处省略927个文件信息
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。
评论列表(条)