一个简单的网站后台怎么做?(有图的)

双人鱼XKQ 发布于 2013/05/21 16:35
阅读 14K+
收藏 1

这个网站的后台的这里怎么做?

我是将这个页面弄成一个类。

然后从后台读取这个类对应的表中的记录。

然后在前台的页面中显示出来。

然后我不明白的是,在网页的内容修改之后,将他的样式也修改了,

如字体变大,或者是字体的颜色等等。。。。

怎么讲它也保存呢?

我觉得应该是修改前台页面的样式了。

可这个是怎么实现的呢?

谢谢回答!!

加载中
0
u
uniquesql
这个html编辑器不用你自己实现吧。它说白了就是个文本框。比如你输入hello,存入数据库就是hello,你把颜色变成红色,就是相当于输入了<font color=red>hello</font>你的程序不需要变动。只是存到数据库表中的内容变长了。多了些html标签而已。。
双人鱼XKQ
双人鱼XKQ
回复 @uniquesql 那么怎么讲这个设置的样式 如<font size="3" >测试〈/font>保存呢? 在哪里保存呢? 找不到啊?
u
uniquesql
你想多了。比如在JSP页面上直接取出来就行了 <%=blog.getContent()%>。。 或者EL表达式 ${blog.content} 浏览器会自动渲染这些html标记。。
daishunchao
daishunchao
回复 @追逐梦想 : 就当字符串一样读取即可,不用考虑太多
双人鱼XKQ
双人鱼XKQ
那么前台是怎么读取的呢? 这个是个值啊,怎么会反映到页面上呢?
0
zzylmt
zzylmt
文字内容保存的是html样式的~~~~~~~~~~~~~~
双人鱼XKQ
双人鱼XKQ
就是将这个页面中的设置样式一起保存了吧,然后就是怎么讲保存的样式反应到页面上呢?
0
用户已屏蔽
用户已屏蔽
你发的这个是。。。。 phpweb 生成的企业站 后台的吧
用户已屏蔽
用户已屏蔽
@追逐梦想 哦,呵呵。可能我猜错了
双人鱼XKQ
双人鱼XKQ
呃,好像不是啊,就是一个网站的后台,有个Html编辑器
0
Beyond-Bit
Beyond-Bit
归结到底,数据都放到database即可!修改数据库!page取得就是数据库数据!
双人鱼XKQ
双人鱼XKQ
回复 @Beyond-Bit : 谢谢!
Beyond-Bit
Beyond-Bit
@追逐梦想 设计复杂的,不是一般的难!你简单点,就是把你想变得东西放到数据库,比如:背景颜色你可以放到数据!要修改的时候后台读取,修改!save数据库!页面加载读取数据库即可!
双人鱼XKQ
双人鱼XKQ
嗯,这个我明白了,但是我不知道怎么讲数据放到数据库中啊。
0
双人鱼XKQ
双人鱼XKQ
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

<meta content="IE=7.0000" http-equiv="X-UA-Compatible">
<title></title>
<link rel="stylesheet" type="text/css" href="css/style(2).css">
<script type="text/javascript" src="js/base(2).js"></script>
<script type="text/javascript" src="js/page.js"></script>
</head>
<body marginheight="0">
	<s:iterator value="companyInfo" var="companyInfo">
		<form id="modiPageForm" enctype="multipart/form-data" method="post"
			name="form"
			action="companyInfoAction_findCompanyInfoById?companyInfoId=<s:property value="#companyInfo.companyInfoId"/>">
			<div class="formzone">
				<div class="namezone">网页内容编辑</div>
				<div class="tablezone">
					<table style="BORDER-COLLAPSE: collapse" cellspacing="0"
						cellpadding="2" width="100%" align="center" border="0">
						<tbody>
							<tr>
								<td height="30" align="center">自定序号</td>
								<td height="30"><input class="input" style="WIDTH: 25px"
									maxlength="9"
									value="<s:property value="#companyInfo.companyInfoId"/>"
									name="companyInfo.companyInfoId">
								</td>
							</tr>
							<tr>
								<td height="30" align="center">网页分组</td>
								<td height="30"><select id="groupid"
									name="companyInfo.webPageGroup">
										<s:if test="#companyInfo.webPageGroup==1">
											<option selected="true" value="1">公司简介</option>
											<option value="22">联系我们</option>
										</s:if>
										<s:else>
											<option value="1">公司简介</option>
											<option selected="true" value="22">联系我们</option>
										</s:else>
								</select></td>
							</tr>
							<tr>
								<td height="30" align="center">排版方式</td>
								<td height="30"><select id="modiselmodle"
									name="companyInfo.typeSetMethod">
										<s:if test="#companyInfo.typeSetMethod==1">
											<option selected="true" value="1">独立自定义排版</option>
											<option value="0">共享分组的排版</option>
										</s:if>
										<s:else>
											<option value="1">独立自定义排版</option>
											<option selected="true" value="0">共享分组的排版</option>
										</s:else>
								</select>
								</td>
							</tr>
							<tr id="tr_fold">
								<td height="30" align="center">网页文件</td>
								<td height="30"><input id="pagefolder" class="input"
									maxlength="30"
									value="<s:property value="#companyInfo.webPageDocument"/>"
									name="companyInfo.webPageDocument"> .PHP</td>
							</tr>
							<tr>
								<td height="30" width="100" align="center">网页标题</td>
								<td height="30"><input id="title" class="input"
									maxlength="200" size="36"
									value="<s:property value="#companyInfo.webPageTitle"/>"
									name="companyInfo.webPageTitle"> <font color="#ff0000">*</font>
								</td>
							</tr>
							<tr>
								<td height="30" align="center">主题图片</td>
								<td height="30"><input id="jpg" class="input" size="50"
									type="file" name="jpg"></td>
							</tr>
							<tr>
								<td height="30" width="100" align="center">网页内容</td>
								<td height="30"><input type="hidden"
									value="<s:property value="#companyInfo.webPageContent"/>"
									name="body"> <script type="text/javascript"
										src="js/KindEditor.js"></script> <script
										type="text/javascript">
            var editor = new KindEditor("editor");
            editor.hiddenName = "body";
            editor.editorWidth = "700px";
            editor.editorHeight = "350px";
            editor.skinPath = "img/";
			editor.uploadPath = "../../kedit/upload_cgi/upload.php";
			editor.imageAttachPath="page/pics/";
            editor.iconPath = "img/";
            editor.show();
            function KindSubmit() {
	          editor.data();
            }
             </script>
									<div style="font-family:Courier New;">
										<div
											style="width:700px;;border:1px solid #DDDDDD;background-color:#EFEFEF">
											<table cellpadding="0" cellspacing="0" border="0" height="26">
												<tbody>
													<tr>
														<td style="padding:2px;"><img id="KE_SOURCE"
															src="img/source.gif" alt="视图转换" title="视图转换"
															align="absmiddle"
															style="border:1px solid #EFEFEF;cursor:pointer;height:20px;"
															onclick="javascript:KindExecute(&#39;KE_SOURCE&#39;);"
															onmouseover="javascript:this.style.border=&#39;1px solid #AAAAAA&#39;;"
															onmouseout="javascript:this.style.border=&#39;1px solid #EFEFEF&#39;;">
														</td>
														<td style="padding:2px;"><img id="KE_PREVIEW"
															src="img/preview.gif" alt="预览" title="预览"
															align="absmiddle"
															style="border:1px solid #EFEFEF;cursor:pointer;height:20px;"
															onclick="javascript:KindExecute(&#39;KE_PREVIEW&#39;);"
															onmouseover="javascript:this.style.border=&#39;1px solid #AAAAAA&#39;;"
															onmouseout="javascript:this.style.border=&#39;1px solid #EFEFEF&#39;;">
														</td>
														<td style="padding:2px;"><img id="KE_ZOOM"
															src="img/zoom.gif" alt="显示比例" title="显示比例"
															align="absmiddle"
															style="border:1px solid #EFEFEF;cursor:pointer;height:20px;"
															onclick="javascript:KindExecute(&#39;KE_ZOOM&#39;);"
															onmouseover="javascript:this.style.border=&#39;1px solid #AAAAAA&#39;;"
															onmouseout="javascript:this.style.border=&#39;1px solid #EFEFEF&#39;;">
														</td>
														<td style="padding:2px;"><img id="KE_PRINT"
															src="img/print.gif" alt="打印" title="打印" align="absmiddle"
															style="border:1px solid #EFEFEF;cursor:pointer;height:20px;"
															onclick="javascript:KindExecute(&#39;KE_PRINT&#39;);"
															onmouseover="javascript:this.style.border=&#39;1px solid #AAAAAA&#39;;"
															onmouseout="javascript:this.style.border=&#39;1px solid #EFEFEF&#39;;">
														</td>
														<td style="padding:2px;"><img id="KE_UNDO"
															src="img/undo.gif" alt="回退" title="回退" align="absmiddle"
															style="border:1px solid #EFEFEF;cursor:pointer;height:20px;"
															onclick="javascript:KindExecute(&#39;KE_UNDO&#39;);"
															onmouseover="javascript:this.style.border=&#39;1px solid #AAAAAA&#39;;"
															onmouseout="javascript:this.style.border=&#39;1px solid #EFEFEF&#39;;">
														</td>
														<td style="padding:2px;"><img id="KE_REDO"
															src="img/redo.gif" alt="前进" title="前进" align="absmiddle"
															style="border: 1px solid rgb(239, 239, 239); cursor: pointer; height: 20px;"
															onclick="javascript:KindExecute(&#39;KE_REDO&#39;);"
															onmouseover="javascript:this.style.border=&#39;1px solid #AAAAAA&#39;;"
															onmouseout="javascript:this.style.border=&#39;1px solid #EFEFEF&#39;;">
														</td>
														<td style="padding:2px;"><img id="KE_CUT"
															src="img/cut.gif" alt="剪切" title="剪切" align="absmiddle"
															style="border: 1px solid rgb(239, 239, 239); cursor: pointer; height: 20px;"
															onclick="javascript:KindExecute(&#39;KE_CUT&#39;);"
															onmouseover="javascript:this.style.border=&#39;1px solid #AAAAAA&#39;;"
															onmouseout="javascript:this.style.border=&#39;1px solid #EFEFEF&#39;;">
														</td>
														<td style="padding:2px;"><img id="KE_COPY"
															src="img/copy.gif" alt="复制" title="复制" align="absmiddle"
															style="border: 1px solid rgb(239, 239, 239); cursor: pointer; height: 20px;"
															onclick="javascript:KindExecute(&#39;KE_COPY&#39;);"
															onmouseover="javascript:this.style.border=&#39;1px solid #AAAAAA&#39;;"
															onmouseout="javascript:this.style.border=&#39;1px solid #EFEFEF&#39;;">
														</td>
														<td style="padding:2px;"><img id="KE_PASTE"
															src="img/paste.gif" alt="粘贴" title="粘贴" align="absmiddle"
															style="border:1px solid #EFEFEF;cursor:pointer;height:20px;"
															onclick="javascript:KindExecute(&#39;KE_PASTE&#39;);"
															onmouseover="javascript:this.style.border=&#39;1px solid #AAAAAA&#39;;"
															onmouseout="javascript:this.style.border=&#39;1px solid #EFEFEF&#39;;">
														</td>
														<td style="padding:2px;"><img id="KE_SELECTALL"
															src="img/selectall.gif" alt="全选" title="全选"
															align="absmiddle"
															style="border:1px solid #EFEFEF;cursor:pointer;height:20px;"
															onclick="javascript:KindExecute(&#39;KE_SELECTALL&#39;);"
															onmouseover="javascript:this.style.border=&#39;1px solid #AAAAAA&#39;;"
															onmouseout="javascript:this.style.border=&#39;1px solid #EFEFEF&#39;;">
														</td>
														<td style="padding:2px;"><img id="KE_JUSTIFYLEFT"
															src="img/justifyleft.gif" alt="左对齐" title="左对齐"
															align="absmiddle"
															style="border:1px solid #EFEFEF;cursor:pointer;height:20px;"
															onclick="javascript:KindExecute(&#39;KE_JUSTIFYLEFT&#39;);"
															onmouseover="javascript:this.style.border=&#39;1px solid #AAAAAA&#39;;"
															onmouseout="javascript:this.style.border=&#39;1px solid #EFEFEF&#39;;">
														</td>
														<td style="padding:2px;"><img id="KE_JUSTIFYCENTER"
															src="img/justifycenter.gif" alt="居中" title="居中"
															align="absmiddle"
															style="border:1px solid #EFEFEF;cursor:pointer;height:20px;"
															onclick="javascript:KindExecute(&#39;KE_JUSTIFYCENTER&#39;);"
															onmouseover="javascript:this.style.border=&#39;1px solid #AAAAAA&#39;;"
															onmouseout="javascript:this.style.border=&#39;1px solid #EFEFEF&#39;;">
														</td>
														<td style="padding:2px;"><img id="KE_JUSTIFYRIGHT"
															src="img/justifyright.gif" alt="右对齐" title="右对齐"
															align="absmiddle"
															style="border:1px solid #EFEFEF;cursor:pointer;height:20px;"
															onclick="javascript:KindExecute(&#39;KE_JUSTIFYRIGHT&#39;);"
															onmouseover="javascript:this.style.border=&#39;1px solid #AAAAAA&#39;;"
															onmouseout="javascript:this.style.border=&#39;1px solid #EFEFEF&#39;;">
														</td>
														<td style="padding:2px;"><img id="KE_JUSTIFYFULL"
															src="img/justifyfull.gif" alt="两端对齐" title="两端对齐"
															align="absmiddle"
															style="border:1px solid #EFEFEF;cursor:pointer;height:20px;"
															onclick="javascript:KindExecute(&#39;KE_JUSTIFYFULL&#39;);"
															onmouseover="javascript:this.style.border=&#39;1px solid #AAAAAA&#39;;"
															onmouseout="javascript:this.style.border=&#39;1px solid #EFEFEF&#39;;">
														</td>
														<td style="padding:2px;"><img id="KE_NUMBEREDLIST"
															src="img/numberedlist.gif" alt="编号" title="编号"
															align="absmiddle"
															style="border:1px solid #EFEFEF;cursor:pointer;height:20px;"
															onclick="javascript:KindExecute(&#39;KE_NUMBEREDLIST&#39;);"
															onmouseover="javascript:this.style.border=&#39;1px solid #AAAAAA&#39;;"
															onmouseout="javascript:this.style.border=&#39;1px solid #EFEFEF&#39;;">
														</td>
														<td style="padding:2px;"><img id="KE_UNORDERLIST"
															src="img/unorderedlist.gif" alt="项目符号" title="项目符号"
															align="absmiddle"
															style="border:1px solid #EFEFEF;cursor:pointer;height:20px;"
															onclick="javascript:KindExecute(&#39;KE_UNORDERLIST&#39;);"
															onmouseover="javascript:this.style.border=&#39;1px solid #AAAAAA&#39;;"
															onmouseout="javascript:this.style.border=&#39;1px solid #EFEFEF&#39;;">
														</td>
														<td style="padding:2px;"><img id="KE_INDENT"
															src="img/indent.gif" alt="减少缩进" title="减少缩进"
															align="absmiddle"
															style="border: 1px solid rgb(239, 239, 239); cursor: pointer; height: 20px;"
															onclick="javascript:KindExecute(&#39;KE_INDENT&#39;);"
															onmouseover="javascript:this.style.border=&#39;1px solid #AAAAAA&#39;;"
															onmouseout="javascript:this.style.border=&#39;1px solid #EFEFEF&#39;;">
														</td>
														<td style="padding:2px;"><img id="KE_OUTDENT"
															src="img/outdent.gif" alt="增加缩进" title="增加缩进"
															align="absmiddle"
															style="border: 1px solid rgb(239, 239, 239); cursor: pointer; height: 20px;"
															onclick="javascript:KindExecute(&#39;KE_OUTDENT&#39;);"
															onmouseover="javascript:this.style.border=&#39;1px solid #AAAAAA&#39;;"
															onmouseout="javascript:this.style.border=&#39;1px solid #EFEFEF&#39;;">
														</td>
														<td style="padding:2px;"><img id="KE_SUBSCRIPT"
															src="img/subscript.gif" alt="下标" title="下标"
															align="absmiddle"
															style="border: 1px solid rgb(239, 239, 239); cursor: pointer; height: 20px;"
															onclick="javascript:KindExecute(&#39;KE_SUBSCRIPT&#39;);"
															onmouseover="javascript:this.style.border=&#39;1px solid #AAAAAA&#39;;"
															onmouseout="javascript:this.style.border=&#39;1px solid #EFEFEF&#39;;">
														</td>
														<td style="padding:2px;"><img id="KE_SUPERSCRIPT"
															src="img/superscript.gif" alt="上标" title="上标"
															align="absmiddle"
															style="border: 1px solid rgb(239, 239, 239); cursor: pointer; height: 20px;"
															onclick="javascript:KindExecute(&#39;KE_SUPERSCRIPT&#39;);"
															onmouseover="javascript:this.style.border=&#39;1px solid #AAAAAA&#39;;"
															onmouseout="javascript:this.style.border=&#39;1px solid #EFEFEF&#39;;">
														</td>
														<td style="padding:2px;"><img id="KE_DATE"
															src="img/date.gif" alt="日期" title="日期" align="absmiddle"
															style="border: 1px solid rgb(239, 239, 239); cursor: pointer; height: 20px;"
															onclick="javascript:KindExecute(&#39;KE_DATE&#39;);"
															onmouseover="javascript:this.style.border=&#39;1px solid #AAAAAA&#39;;"
															onmouseout="javascript:this.style.border=&#39;1px solid #EFEFEF&#39;;">
														</td>
														<td style="padding:2px;"><img id="KE_TIME"
															src="img/time.gif" alt="时间" title="时间" align="absmiddle"
															style="border: 1px solid rgb(239, 239, 239); cursor: pointer; height: 20px;"
															onclick="javascript:KindExecute(&#39;KE_TIME&#39;);"
															onmouseover="javascript:this.style.border=&#39;1px solid #AAAAAA&#39;;"
															onmouseout="javascript:this.style.border=&#39;1px solid #EFEFEF&#39;;">
														</td>
													</tr>
												</tbody>
											</table>
											<table cellpadding="0" cellspacing="0" border="0" height="26">
												<tbody>
													<tr>
														<td style="padding:2px;"><img id="KE_TITLE"
															src="img/title.gif" alt="标题" title="标题" align="absmiddle"
															style="border:1px solid #EFEFEF;cursor:pointer;height:20px;"
															onclick="javascript:KindExecute(&#39;KE_TITLE&#39;);"
															onmouseover="javascript:this.style.border=&#39;1px solid #AAAAAA&#39;;"
															onmouseout="javascript:this.style.border=&#39;1px solid #EFEFEF&#39;;">
														</td>
														<td style="padding:2px;"><img id="KE_FONTNAME"
															src="img/font.gif" alt="字体" title="字体" align="absmiddle"
															style="border:1px solid #EFEFEF;cursor:pointer;height:20px;"
															onclick="javascript:KindExecute(&#39;KE_FONTNAME&#39;);"
															onmouseover="javascript:this.style.border=&#39;1px solid #AAAAAA&#39;;"
															onmouseout="javascript:this.style.border=&#39;1px solid #EFEFEF&#39;;">
														</td>
														<td style="padding:2px;"><img id="KE_FONTSIZE"
															src="img/fontsize.gif" alt="文字大小" title="文字大小"
															align="absmiddle"
															style="border:1px solid #EFEFEF;cursor:pointer;height:20px;"
															onclick="javascript:KindExecute(&#39;KE_FONTSIZE&#39;);"
															onmouseover="javascript:this.style.border=&#39;1px solid #AAAAAA&#39;;"
															onmouseout="javascript:this.style.border=&#39;1px solid #EFEFEF&#39;;">
														</td>
														<td style="padding:2px;"><img id="KE_TEXTCOLOR"
															src="img/textcolor.gif" alt="文字颜色" title="文字颜色"
															align="absmiddle"
															style="border: 1px solid rgb(239, 239, 239); cursor: pointer; height: 20px;"
															onclick="javascript:KindExecute(&#39;KE_TEXTCOLOR&#39;);"
															onmouseover="javascript:this.style.border=&#39;1px solid #AAAAAA&#39;;"
															onmouseout="javascript:this.style.border=&#39;1px solid #EFEFEF&#39;;">
														</td>
														<td style="padding:2px;"><img id="KE_BGCOLOR"
															src="img/bgcolor.gif" alt="文字背景" title="文字背景"
															align="absmiddle"
															style="border: 1px solid rgb(239, 239, 239); cursor: pointer; height: 20px;"
															onclick="javascript:KindExecute(&#39;KE_BGCOLOR&#39;);"
															onmouseover="javascript:this.style.border=&#39;1px solid #AAAAAA&#39;;"
															onmouseout="javascript:this.style.border=&#39;1px solid #EFEFEF&#39;;">
														</td>
														<td style="padding:2px;"><img id="KE_BOLD"
															src="img/bold.gif" alt="粗体" title="粗体" align="absmiddle"
															style="border: 1px solid rgb(239, 239, 239); cursor: pointer; height: 20px;"
															onclick="javascript:KindExecute(&#39;KE_BOLD&#39;);"
															onmouseover="javascript:this.style.border=&#39;1px solid #AAAAAA&#39;;"
															onmouseout="javascript:this.style.border=&#39;1px solid #EFEFEF&#39;;">
														</td>
														<td style="padding:2px;"><img id="KE_ITALIC"
															src="img/italic.gif" alt="斜体" title="斜体"
															align="absmiddle"
															style="border: 1px solid rgb(239, 239, 239); cursor: pointer; height: 20px;"
															onclick="javascript:KindExecute(&#39;KE_ITALIC&#39;);"
															onmouseover="javascript:this.style.border=&#39;1px solid #AAAAAA&#39;;"
															onmouseout="javascript:this.style.border=&#39;1px solid #EFEFEF&#39;;">
														</td>
														<td style="padding:2px;"><img id="KE_UNDERLINE"
															src="img/underline.gif" alt="下划线" title="下划线"
															align="absmiddle"
															style="border: 1px solid rgb(239, 239, 239); cursor: pointer; height: 20px;"
															onclick="javascript:KindExecute(&#39;KE_UNDERLINE&#39;);"
															onmouseover="javascript:this.style.border=&#39;1px solid #AAAAAA&#39;;"
															onmouseout="javascript:this.style.border=&#39;1px solid #EFEFEF&#39;;">
														</td>
														<td style="padding:2px;"><img id="KE_STRIKE"
															src="img/strikethrough.gif" alt="删除线" title="删除线"
															align="absmiddle"
															style="border: 1px solid rgb(239, 239, 239); cursor: pointer; height: 20px;"
															onclick="javascript:KindExecute(&#39;KE_STRIKE&#39;);"
															onmouseover="javascript:this.style.border=&#39;1px solid #AAAAAA&#39;;"
															onmouseout="javascript:this.style.border=&#39;1px solid #EFEFEF&#39;;">
														</td>
														<td style="padding:2px;"><img id="KE_REMOVE"
															src="img/removeformat.gif" alt="删除格式" title="删除格式"
															align="absmiddle"
															style="border: 1px solid rgb(239, 239, 239); cursor: pointer; height: 20px;"
															onclick="javascript:KindExecute(&#39;KE_REMOVE&#39;);"
															onmouseover="javascript:this.style.border=&#39;1px solid #AAAAAA&#39;;"
															onmouseout="javascript:this.style.border=&#39;1px solid #EFEFEF&#39;;">
														</td>
														<td style="padding:2px;"><img id="KE_IMAGE"
															src="img/image.gif" alt="图片" title="图片" align="absmiddle"
															style="border: 1px solid rgb(239, 239, 239); cursor: pointer; height: 20px;"
															onclick="javascript:KindExecute(&#39;KE_IMAGE&#39;);"
															onmouseover="javascript:this.style.border=&#39;1px solid #AAAAAA&#39;;"
															onmouseout="javascript:this.style.border=&#39;1px solid #EFEFEF&#39;;">
														</td>
														<td style="padding:2px;"><img id="KE_FLASH"
															src="img/flash.gif" alt="Flash" title="Flash"
															align="absmiddle"
															style="border:1px solid #EFEFEF;cursor:pointer;height:20px;"
															onclick="javascript:KindExecute(&#39;KE_FLASH&#39;);"
															onmouseover="javascript:this.style.border=&#39;1px solid #AAAAAA&#39;;"
															onmouseout="javascript:this.style.border=&#39;1px solid #EFEFEF&#39;;">
														</td>
														<td style="padding:2px;"><img id="KE_MEDIA"
															src="img/media.gif" alt="Windows Media Player"
															title="Windows Media Player" align="absmiddle"
															style="border:1px solid #EFEFEF;cursor:pointer;height:20px;"
															onclick="javascript:KindExecute(&#39;KE_MEDIA&#39;);"
															onmouseover="javascript:this.style.border=&#39;1px solid #AAAAAA&#39;;"
															onmouseout="javascript:this.style.border=&#39;1px solid #EFEFEF&#39;;">
														</td>
														<td style="padding:2px;"><img id="KE_REAL"
															src="img/real.gif" alt="Real Player" title="Real Player"
															align="absmiddle"
															style="border:1px solid #EFEFEF;cursor:pointer;height:20px;"
															onclick="javascript:KindExecute(&#39;KE_REAL&#39;);"
															onmouseover="javascript:this.style.border=&#39;1px solid #AAAAAA&#39;;"
															onmouseout="javascript:this.style.border=&#39;1px solid #EFEFEF&#39;;">
														</td>
														<td style="padding:2px;"><img id="KE_LAYER"
															src="img/layer.gif" alt="层" title="层" align="absmiddle"
															style="border:1px solid #EFEFEF;cursor:pointer;height:20px;"
															onclick="javascript:KindExecute(&#39;KE_LAYER&#39;);"
															onmouseover="javascript:this.style.border=&#39;1px solid #AAAAAA&#39;;"
															onmouseout="javascript:this.style.border=&#39;1px solid #EFEFEF&#39;;">
														</td>
														<td style="padding:2px;"><img id="KE_TABLE"
															src="img/table.gif" alt="表格" title="表格" align="absmiddle"
															style="border:1px solid #EFEFEF;cursor:pointer;height:20px;"
															onclick="javascript:KindExecute(&#39;KE_TABLE&#39;);"
															onmouseover="javascript:this.style.border=&#39;1px solid #AAAAAA&#39;;"
															onmouseout="javascript:this.style.border=&#39;1px solid #EFEFEF&#39;;">
														</td>
														<td style="padding:2px;"><img id="KE_SPECIALCHAR"
															src="img/specialchar.gif" alt="特殊字符" title="特殊字符"
															align="absmiddle"
															style="border: 1px solid rgb(239, 239, 239); cursor: pointer; height: 20px;"
															onclick="javascript:KindExecute(&#39;KE_SPECIALCHAR&#39;);"
															onmouseover="javascript:this.style.border=&#39;1px solid #AAAAAA&#39;;"
															onmouseout="javascript:this.style.border=&#39;1px solid #EFEFEF&#39;;">
														</td>
														<td style="padding:2px;"><img id="KE_HR"
															src="img/hr.gif" alt="横线" title="横线" align="absmiddle"
															style="border:1px solid #EFEFEF;cursor:pointer;height:20px;"
															onclick="javascript:KindExecute(&#39;KE_HR&#39;);"
															onmouseover="javascript:this.style.border=&#39;1px solid #AAAAAA&#39;;"
															onmouseout="javascript:this.style.border=&#39;1px solid #EFEFEF&#39;;">
														</td>
														<td style="padding:2px;"><img id="KE_ICON"
															src="img/emoticons.gif" alt="笑脸" title="笑脸"
															align="absmiddle"
															style="border:1px solid #EFEFEF;cursor:pointer;height:20px;"
															onclick="javascript:KindExecute(&#39;KE_ICON&#39;);"
															onmouseover="javascript:this.style.border=&#39;1px solid #AAAAAA&#39;;"
															onmouseout="javascript:this.style.border=&#39;1px solid #EFEFEF&#39;;">
														</td>
														<td style="padding:2px;"><img id="KE_LINK"
															src="img/link.gif" alt="创建超级连接" title="创建超级连接"
															align="absmiddle"
															style="border: 1px solid rgb(239, 239, 239); cursor: pointer; height: 20px;"
															onclick="javascript:KindExecute(&#39;KE_LINK&#39;);"
															onmouseover="javascript:this.style.border=&#39;1px solid #AAAAAA&#39;;"
															onmouseout="javascript:this.style.border=&#39;1px solid #EFEFEF&#39;;">
														</td>
														<td style="padding:2px;"><img id="KE_UNLINK"
															src="img/unlink.gif" alt="删除超级连接" title="删除超级连接"
															align="absmiddle"
															style="border: 1px solid rgb(239, 239, 239); cursor: pointer; height: 20px;"
															onclick="javascript:KindExecute(&#39;KE_UNLINK&#39;);"
															onmouseover="javascript:this.style.border=&#39;1px solid #AAAAAA&#39;;"
															onmouseout="javascript:this.style.border=&#39;1px solid #EFEFEF&#39;;">
														</td>
													</tr>
												</tbody>
											</table>
										</div>
										<div id="KindEditorIframe"
											style="width:700px;height:350px;border:1px solid #DDDDDD;border-top:0;">
											<iframe name="KindEditorForm" id="KindEditorForm"
												frameborder="0"
												style="width:698px;height:347px;padding:0;margin:0;border:0;"></iframe>
										</div>
										<div id="KindEditTextarea"
											style="width:700px;height:350px;border:1px solid #DDDDDD;background-color:#FFFFFF;border-top:0;display:none;">
											<textarea name="KindCodeForm" id="KindCodeForm"
												style="width:698px;height:347px;padding:0;margin:0;border:0;font-size:12px;line-height:16px;font-family:Courier New;background-color:#FFFFFF;"
												onclick="javascirit:parent.KindDisableMenu();"></textarea>
										</div>
										<div id="menuDiv" style="display: none;"></div>
									</div>
									<div style="font-family:Courier New;">


										<div id="KindEditTextarea"
											style="width:700px;height:350px;border:1px solid #DDDDDD;background-color:#FFFFFF;border-top:0;display:none;">
											<textarea name="KindCodeForm" id="KindCodeForm"
												style="width:698px;height:347px;padding:0;margin:0;border:0;font-size:12px;line-height:16px;font-family:Courier New;background-color:#FFFFFF;"
												onclick="javascirit:parent.KindDisableMenu();"></textarea>
										</div>
										<div id="menuDiv"></div>
									</div> <input type="hidden" value="2" name="step"> <input
									type="hidden" value="1" name="id"> <input
									id="old_groupid" type="hidden" value="1" name="old_groupid">
									<input id="old_pagefolder" type="hidden" value="company"
									name="old_pagefolder"></td>
							</tr>
							<tr>
								<td height="30" align="center">内容摘要</td>
								<td height="30"><textarea id="memo" class="textarea"
										style="WIDTH: 500px" rows="3"
										name="companyInfo.contentSummary">
										<s:property value="#companyInfo.contentSummary" />
									</textarea>
								</td>
							</tr>
						</tbody>
					</table>
				</div>
				<div class="adminsubmit">
					<input onclick="KindSubmit();" class="button" type="submit"
						value="提交" name="submit">
				</div>
			</div>
		</form>
	</s:iterator>

</body>
</html>
0
欣儿
欣儿
果然好简单的后台啊
0
明月惊鹊
明月惊鹊
看起来你用一个开源的cms就可以了,你最多搞搞模板。O(∩_∩)O哈哈~
0
小白小霸王
小白小霸王
每次看到你的问题 我都好迷茫
0
小白小霸王
小白小霸王
你该换个方法去学习 比如先搞清楚一些基础概念
双人鱼XKQ
双人鱼XKQ
还有就是像开车,先学会怎么开这个车,然后再研究车的构造,进而改造让车跑得更快,耗油更少...等等.... 不然等我先研究车的构造,然后再学开车,等死也学不会了。 这样反而对于我比较快些,记得也牢!而且是实践出来的真理啊!实践出真理嘛!
双人鱼XKQ
双人鱼XKQ
我的学习方法是先搞出来东西,在去研究基础概念。 就像一个别人的项目,先实现了,然后再看代码。谢谢你的建议。
0
王阿觉
王阿觉
有前途的妹纸,加油
返回顶部
顶部