parent
1f8896dce4
commit
6e4ee270fb
@ -0,0 +1,35 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<classpath>
|
||||
<classpathentry kind="src" path="src"/>
|
||||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8">
|
||||
<attributes>
|
||||
<attribute name="module" value="true"/>
|
||||
</attributes>
|
||||
</classpathentry>
|
||||
<classpathentry kind="con" path="melibrary.com.genuitec.eclipse.j2eedt.core.MYECLIPSE_JAVAEE_5_CONTAINER"/>
|
||||
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/FCKeditor-2.3.jar"/>
|
||||
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/commons-fileupload-1.2.1.jar"/>
|
||||
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/commons-io-1.3.2.jar"/>
|
||||
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/dwr.jar"/>
|
||||
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/fckeditor-java-core-2.4.1.jar"/>
|
||||
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/javaee.jar"/>
|
||||
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/jspsmartupload.jar"/>
|
||||
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/jstl-1.2.jar"/>
|
||||
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/jtds-1.2.jar"/>
|
||||
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/msbase.jar"/>
|
||||
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/mssqlserver.jar"/>
|
||||
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/msutil.jar"/>
|
||||
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/mysql-connector-java-5.0.4-bin.jar"/>
|
||||
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/slf4j-api-1.5.2.jar"/>
|
||||
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/slf4j-simple-1.5.2.jar"/>
|
||||
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/sqljdbc.jar"/>
|
||||
<classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.web.container"/>
|
||||
<classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.module.container"/>
|
||||
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/mysql-connector-java-8.0.21.jar"/>
|
||||
<classpathentry kind="con" path="org.eclipse.jst.server.core.container/org.eclipse.jst.server.tomcat.runtimeTarget/Apache Tomcat v8.5">
|
||||
<attributes>
|
||||
<attribute name="owner.project.facets" value="jst.web"/>
|
||||
</attributes>
|
||||
</classpathentry>
|
||||
<classpathentry kind="output" path="WebRoot/WEB-INF/classes"/>
|
||||
</classpath>
|
@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<launchConfiguration type="org.eclipse.ant.AntBuilderLaunchConfigurationType">
|
||||
<booleanAttribute key="org.eclipse.ui.externaltools.ATTR_BUILDER_ENABLED" value="false"/>
|
||||
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_DISABLED_BUILDER" value="org.eclipse.wst.common.project.facet.core.builder"/>
|
||||
<mapAttribute key="org.eclipse.ui.externaltools.ATTR_TOOL_ARGUMENTS"/>
|
||||
<booleanAttribute key="org.eclipse.ui.externaltools.ATTR_TRIGGERS_CONFIGURED" value="true"/>
|
||||
</launchConfiguration>
|
@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<launchConfiguration type="org.eclipse.ant.AntBuilderLaunchConfigurationType">
|
||||
<booleanAttribute key="org.eclipse.ui.externaltools.ATTR_BUILDER_ENABLED" value="false"/>
|
||||
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_DISABLED_BUILDER" value="org.eclipse.wst.jsdt.core.javascriptValidator"/>
|
||||
<mapAttribute key="org.eclipse.ui.externaltools.ATTR_TOOL_ARGUMENTS"/>
|
||||
<booleanAttribute key="org.eclipse.ui.externaltools.ATTR_TRIGGERS_CONFIGURED" value="true"/>
|
||||
</launchConfiguration>
|
@ -0,0 +1,8 @@
|
||||
# Default ignored files
|
||||
/shelf/
|
||||
/workspace.xml
|
||||
# Datasource local storage ignored files
|
||||
/../../../../../../:\Users\86184\Desktop\dingcan\.idea/dataSources/
|
||||
/dataSources.local.xml
|
||||
# Editor-based HTTP Client requests
|
||||
/httpRequests/
|
@ -0,0 +1,31 @@
|
||||
<component name="ArtifactManager">
|
||||
<artifact type="exploded-war" name="dingcan:war exploded">
|
||||
<output-path>$PROJECT_DIR$/classes/artifacts/dingcan_war_exploded</output-path>
|
||||
<root id="root">
|
||||
<element id="directory" name="WEB-INF">
|
||||
<element id="directory" name="classes">
|
||||
<element id="module-output" name="dingcan" />
|
||||
</element>
|
||||
<element id="directory" name="lib">
|
||||
<element id="library" level="module" name="FCKeditor-2.3.jar" module-name="dingcan" />
|
||||
<element id="library" level="module" name="commons-fileupload-1.2.1.jar" module-name="dingcan" />
|
||||
<element id="library" level="module" name="commons-io-1.3.2.jar" module-name="dingcan" />
|
||||
<element id="library" level="module" name="dwr.jar" module-name="dingcan" />
|
||||
<element id="library" level="module" name="fckeditor-java-core-2.4.1.jar" module-name="dingcan" />
|
||||
<element id="library" level="module" name="jspsmartupload.jar" module-name="dingcan" />
|
||||
<element id="library" level="module" name="jstl-1.2.jar" module-name="dingcan" />
|
||||
<element id="library" level="module" name="jtds-1.2.jar" module-name="dingcan" />
|
||||
<element id="library" level="module" name="msbase.jar" module-name="dingcan" />
|
||||
<element id="library" level="module" name="mssqlserver.jar" module-name="dingcan" />
|
||||
<element id="library" level="module" name="msutil.jar" module-name="dingcan" />
|
||||
<element id="library" level="module" name="mysql-connector-java-5.0.4-bin.jar" module-name="dingcan" />
|
||||
<element id="library" level="module" name="slf4j-api-1.5.2.jar" module-name="dingcan" />
|
||||
<element id="library" level="module" name="slf4j-simple-1.5.2.jar" module-name="dingcan" />
|
||||
<element id="library" level="module" name="sqljdbc.jar" module-name="dingcan" />
|
||||
<element id="library" level="module" name="mysql-connector-java-8.0.21.jar" module-name="dingcan" />
|
||||
</element>
|
||||
</element>
|
||||
<element id="javaee-facet-resources" facet="dingcan/web/Web" />
|
||||
</root>
|
||||
</artifact>
|
||||
</component>
|
@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="Encoding" defaultCharsetForPropertiesFiles="GBK">
|
||||
<file url="file://$PROJECT_DIR$/src/com/itbaizhan/dao/DB.java" charset="GBK" />
|
||||
<file url="file://$PROJECT_DIR$/src/com/itbaizhan/orm/TAdmin.java" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/src/com/itbaizhan/service/cartService.java" charset="GBK" />
|
||||
<file url="PROJECT" charset="GBK" />
|
||||
</component>
|
||||
</project>
|
@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" project-jdk-name="21" project-jdk-type="JavaSDK">
|
||||
<output url="file://$PROJECT_DIR$/classes" />
|
||||
</component>
|
||||
</project>
|
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ProjectModuleManager">
|
||||
<modules>
|
||||
<module fileurl="file://$PROJECT_DIR$/dingcan.iml" filepath="$PROJECT_DIR$/dingcan.iml" />
|
||||
</modules>
|
||||
</component>
|
||||
</project>
|
@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="VcsDirectoryMappings">
|
||||
<mapping directory="$PROJECT_DIR$/src/com/itbaizhan/action/test" vcs="Git" />
|
||||
</component>
|
||||
</project>
|
@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project-module
|
||||
type="WEB"
|
||||
name="dingcan"
|
||||
id="myeclipse.1495105121066"
|
||||
context-root="/dingcan"
|
||||
j2ee-spec="5.0"
|
||||
archive="dingcan.war">
|
||||
<attributes>
|
||||
<attribute name="webrootdir" value="WebRoot" />
|
||||
</attributes>
|
||||
</project-module>
|
||||
|
@ -0,0 +1,58 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<projectDescription>
|
||||
<name>dingcan</name>
|
||||
<comment></comment>
|
||||
<projects>
|
||||
</projects>
|
||||
<buildSpec>
|
||||
<buildCommand>
|
||||
<name>org.eclipse.wst.jsdt.core.javascriptValidator</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
<buildCommand>
|
||||
<name>org.eclipse.wst.common.project.facet.core.builder</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
<buildCommand>
|
||||
<name>com.genuitec.eclipse.j2eedt.core.WebClasspathBuilder</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
<buildCommand>
|
||||
<name>org.eclipse.jdt.core.javabuilder</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
<buildCommand>
|
||||
<name>com.genuitec.eclipse.j2eedt.core.J2EEProjectValidator</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
<buildCommand>
|
||||
<name>com.genuitec.eclipse.j2eedt.core.DeploymentDescriptorValidator</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
<buildCommand>
|
||||
<name>org.eclipse.wst.validation.validationbuilder</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
<buildCommand>
|
||||
<name>com.genuitec.eclipse.ast.deploy.core.DeploymentBuilder</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
</buildSpec>
|
||||
<natures>
|
||||
<nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
|
||||
<nature>com.genuitec.eclipse.ast.deploy.core.deploymentnature</nature>
|
||||
<nature>com.genuitec.eclipse.j2eedt.core.webnature</nature>
|
||||
<nature>org.eclipse.jdt.core.javanature</nature>
|
||||
<nature>org.eclipse.wst.common.project.facet.core.nature</nature>
|
||||
<nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
|
||||
<nature>org.eclipse.wst.jsdt.core.jsNature</nature>
|
||||
</natures>
|
||||
</projectDescription>
|
@ -0,0 +1,3 @@
|
||||
{
|
||||
"CurrentProjectSetting": null
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
{
|
||||
"ExpandedNodes": [
|
||||
"",
|
||||
"\\.idea",
|
||||
"\\classes",
|
||||
"\\out",
|
||||
"\\src",
|
||||
"\\src\\com",
|
||||
"\\src\\com\\itbaizhan",
|
||||
"\\src\\com\\itbaizhan\\dao"
|
||||
],
|
||||
"SelectedNode": "\\src\\com\\itbaizhan\\dao\\DB.java",
|
||||
"PreviewInSolutionExplorer": false
|
||||
}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,27 @@
|
||||
{
|
||||
"Version": 1,
|
||||
"WorkspaceRootPath": "D:\\dingcan--idea(2)\\dingcan\\",
|
||||
"Documents": [],
|
||||
"DocumentGroupContainers": [
|
||||
{
|
||||
"Orientation": 0,
|
||||
"VerticalTabListWidth": 256,
|
||||
"DocumentGroups": [
|
||||
{
|
||||
"DockedWidth": 200,
|
||||
"SelectedChildIndex": -1,
|
||||
"Children": [
|
||||
{
|
||||
"$type": "Bookmark",
|
||||
"Name": "ST:2:0:{e8b06f52-6d01-11d2-aa7d-00c04f990343}"
|
||||
},
|
||||
{
|
||||
"$type": "Bookmark",
|
||||
"Name": "ST:0:0:{aa2115a1-9712-457b-9047-dbb71ca2cdd2}"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
@ -0,0 +1,62 @@
|
||||
{
|
||||
"Version": 1,
|
||||
"WorkspaceRootPath": "D:\\dingcan--idea(2)\\dingcan\\",
|
||||
"Documents": [
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|D:\\dingcan--idea(2)\\dingcan\\src\\com\\itbaizhan\\dao\\DB.java||{3B902123-F8A7-4915-9F01-361F908088D0}",
|
||||
"RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:src\\com\\itbaizhan\\dao\\DB.java||{3B902123-F8A7-4915-9F01-361F908088D0}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|D:\\dingcan--idea(2)\\dingcan\\.classpath||{FA3CD31E-987B-443A-9B81-186104E8DAC1}",
|
||||
"RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:.classpath||{FA3CD31E-987B-443A-9B81-186104E8DAC1}"
|
||||
}
|
||||
],
|
||||
"DocumentGroupContainers": [
|
||||
{
|
||||
"Orientation": 0,
|
||||
"VerticalTabListWidth": 256,
|
||||
"DocumentGroups": [
|
||||
{
|
||||
"DockedWidth": 200,
|
||||
"SelectedChildIndex": 2,
|
||||
"Children": [
|
||||
{
|
||||
"$type": "Bookmark",
|
||||
"Name": "ST:2:0:{e8b06f52-6d01-11d2-aa7d-00c04f990343}"
|
||||
},
|
||||
{
|
||||
"$type": "Bookmark",
|
||||
"Name": "ST:0:0:{aa2115a1-9712-457b-9047-dbb71ca2cdd2}"
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 0,
|
||||
"Title": "DB.java",
|
||||
"DocumentMoniker": "D:\\dingcan--idea(2)\\dingcan\\src\\com\\itbaizhan\\dao\\DB.java",
|
||||
"RelativeDocumentMoniker": "src\\com\\itbaizhan\\dao\\DB.java",
|
||||
"ToolTip": "D:\\dingcan--idea(2)\\dingcan\\src\\com\\itbaizhan\\dao\\DB.java",
|
||||
"RelativeToolTip": "src\\com\\itbaizhan\\dao\\DB.java",
|
||||
"ViewState": "AgIAAA8AAAAAAAAAAADwvwAAAAAAAAAAAAAAAA==",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.001001|",
|
||||
"WhenOpened": "2024-11-28T11:14:02.114Z",
|
||||
"EditorCaption": ""
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 1,
|
||||
"Title": ".classpath",
|
||||
"DocumentMoniker": "D:\\dingcan--idea(2)\\dingcan\\.classpath",
|
||||
"RelativeDocumentMoniker": ".classpath",
|
||||
"ToolTip": "D:\\dingcan--idea(2)\\dingcan\\.classpath",
|
||||
"RelativeToolTip": ".classpath",
|
||||
"ViewState": "AgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.001001|",
|
||||
"WhenOpened": "2024-11-28T11:13:50.766Z",
|
||||
"EditorCaption": ""
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1,3 @@
|
||||
Manifest-Version: 1.0
|
||||
Class-Path:
|
||||
|
@ -0,0 +1,125 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<FlowViewLayout Version="1.2">
|
||||
<StrutsActivity path="/catelogAction.do" location="650,750" dimension="159,104" />
|
||||
<StrutsActivity path="/goodsAction.do" location="50,950" dimension="154,104" />
|
||||
<StrutsActivity path="/userAction.do" location="1250,450" dimension="141,104" />
|
||||
<StrutsActivity path="/orderAction.do" location="1250,850" dimension="149,104" />
|
||||
<StrutsActivity path="/indexAction.do" location="650,1150" dimension="147,104" />
|
||||
<StrutsActivity path="/buyAction.do" location="50,1350" dimension="137,104" />
|
||||
<StrutsActivity path="msg;6" location="50,50" dimension="149,87" />
|
||||
<StrutsActivity path="success;6" location="950,50" dimension="168,87" />
|
||||
<StrutsActivity path="/admin/catelog/catelogMana.jsp" location="950,850" dimension="222,53" />
|
||||
<StrutsActivity path="/admin/goods/goodsDetailHou.jsp" location="650,950" dimension="236,53" />
|
||||
<StrutsActivity path="/qiantai/goods/goodsByCatelog.jsp" location="50,1150" dimension="241,53" />
|
||||
<StrutsActivity path="/admin/goods/goodsMana.jsp" location="350,950" dimension="212,53" />
|
||||
<StrutsActivity path="/qiantai/goods/goodsDetailQian.jsp" location="350,1150" dimension="242,53" />
|
||||
<StrutsActivity path="/admin/user/userMana.jsp" location="50,350" dimension="186,53" />
|
||||
<StrutsActivity path="/admin/order/orderMana.jsp" location="1250,1050" dimension="202,53" />
|
||||
<StrutsActivity path="/qiantai/index.jsp" location="1250,1250" dimension="132,53" />
|
||||
<StrutsActivity path="/qiantai/order/orderSubmit.jsp" location="950,1450" dimension="212,53" />
|
||||
<StrutsActivity path="/qiantai/order/orderDetail.jsp" location="1250,1450" dimension="205,53" />
|
||||
<StrutsActivity path="/qiantai/order/myorder.jsp" location="650,1350" dimension="189,53" />
|
||||
<StrutsActivity path="/common/msg.jsp" location="350,150" dimension="138,53" />
|
||||
<StrutsActivity path="/common/success.jsp" location="650,150" dimension="157,53" />
|
||||
<StrutsActivity path="/admin/gonggao/gonggaoDetail.jsp" location="650,550" dimension="244,53" />
|
||||
<StrutsActivity path="/qiantai/gonggao/gonggaoDetailQian.jsp" location="50,750" dimension="274,53" />
|
||||
<StrutsActivity path="/admin/gonggao/gonggaoMana.jsp" location="350,550" dimension="244,53" />
|
||||
<StrutsActivity path="/indexPage.jsp" location="350,50" dimension="124,48" />
|
||||
<StrutsActivity path="/login.jsp" location="650,50" dimension="100,48" />
|
||||
<StrutsActivity path="/admin/user/userQuMana.jsp" location="350,350" dimension="203,53" />
|
||||
<StrutsActivity path="/auser/jine/userJine.jsp" location="650,350" dimension="166,53" />
|
||||
<StrutsActivity path="/admin/user/userCunMana.jsp" location="950,450" dimension="208,53" />
|
||||
<StrutsActivity path="/admin/gonggaoMana.jsp" location="50,550" dimension="185,53" />
|
||||
<StrutsActivity path="/admin/gonggao/gonggaoDetailQian.jsp" location="950,650" dimension="271,53" />
|
||||
<StrutsActivity path="/admin/goods/goodsByCatelog.jsp" location="950,1050" dimension="238,53" />
|
||||
<StrutsActivity path="/admin/index/indexMana.jsp" location="950,1250" dimension="198,53" />
|
||||
<StrutsActivity path="/qiantai/buy.jsp" location="350,1350" dimension="122,53" />
|
||||
<StrutsActivity path="/qiantai/denglu/userLogin.jsp" location="50,1550" dimension="203,53" />
|
||||
<StrutsTransition id="msg;6,null,/common/msg.jsp,1" routingType="0">
|
||||
<AutomaticBendpoints>
|
||||
<AbsolutePoint location="0,0" />
|
||||
<AbsolutePoint location="0,0" />
|
||||
</AutomaticBendpoints>
|
||||
</StrutsTransition>
|
||||
<StrutsTransition id="/catelogAction.do,catelogMana,/admin/catelog/catelogMana.jsp,1" routingType="0">
|
||||
<AutomaticBendpoints>
|
||||
<AbsolutePoint location="809,802" />
|
||||
<AbsolutePoint location="1061,802" />
|
||||
<AbsolutePoint location="1061,850" />
|
||||
</AutomaticBendpoints>
|
||||
</StrutsTransition>
|
||||
<StrutsTransition id="/indexAction.do,index,/qiantai/index.jsp,1" routingType="0">
|
||||
<AutomaticBendpoints>
|
||||
<AbsolutePoint location="797,1202" />
|
||||
<AbsolutePoint location="1316,1202" />
|
||||
<AbsolutePoint location="1316,1250" />
|
||||
</AutomaticBendpoints>
|
||||
</StrutsTransition>
|
||||
<StrutsTransition id="/goodsAction.do,goodsDetailHou,/admin/goods/goodsDetailHou.jsp,1" routingType="0">
|
||||
<AutomaticBendpoints>
|
||||
<AbsolutePoint location="204,1018" />
|
||||
<AbsolutePoint location="768,1018" />
|
||||
<AbsolutePoint location="768,1003" />
|
||||
</AutomaticBendpoints>
|
||||
</StrutsTransition>
|
||||
<StrutsTransition id="/buyAction.do,orderDetail,/qiantai/order/orderDetail.jsp,1" routingType="0">
|
||||
<AutomaticBendpoints>
|
||||
<AbsolutePoint location="118,1402" />
|
||||
<AbsolutePoint location="0,0" />
|
||||
</AutomaticBendpoints>
|
||||
</StrutsTransition>
|
||||
<StrutsTransition id="/goodsAction.do,goodsDetailQian,/qiantai/goods/goodsDetailQian.jsp,1" routingType="0">
|
||||
<AutomaticBendpoints>
|
||||
<AbsolutePoint location="127,1054" />
|
||||
<AbsolutePoint location="127,1069" />
|
||||
<AbsolutePoint location="471,1069" />
|
||||
<AbsolutePoint location="471,1150" />
|
||||
</AutomaticBendpoints>
|
||||
</StrutsTransition>
|
||||
<StrutsTransition id="/userAction.do,userMana,/admin/user/userMana.jsp,1" routingType="0">
|
||||
<AutomaticBendpoints>
|
||||
<AbsolutePoint location="1250,518" />
|
||||
<AbsolutePoint location="143,518" />
|
||||
<AbsolutePoint location="143,403" />
|
||||
</AutomaticBendpoints>
|
||||
</StrutsTransition>
|
||||
<StrutsTransition id="/goodsAction.do,goodsByCatelog,/qiantai/goods/goodsByCatelog.jsp,1" routingType="0">
|
||||
<AutomaticBendpoints>
|
||||
<AbsolutePoint location="97,1054" />
|
||||
<AbsolutePoint location="97,1150" />
|
||||
</AutomaticBendpoints>
|
||||
</StrutsTransition>
|
||||
<StrutsTransition id="/orderAction.do,orderMana,/admin/order/orderMana.jsp,1" routingType="0">
|
||||
<AutomaticBendpoints>
|
||||
<AbsolutePoint location="1324,954" />
|
||||
<AbsolutePoint location="1324,1050" />
|
||||
</AutomaticBendpoints>
|
||||
</StrutsTransition>
|
||||
<StrutsTransition id="/buyAction.do,myorder,/qiantai/order/myorder.jsp,1" routingType="0">
|
||||
<AutomaticBendpoints>
|
||||
<AbsolutePoint location="187,1418" />
|
||||
<AbsolutePoint location="714,1418" />
|
||||
<AbsolutePoint location="714,1403" />
|
||||
</AutomaticBendpoints>
|
||||
</StrutsTransition>
|
||||
<StrutsTransition id="success;6,null,/common/success.jsp,1" routingType="0">
|
||||
<AutomaticBendpoints>
|
||||
<AbsolutePoint location="0,0" />
|
||||
<AbsolutePoint location="0,0" />
|
||||
</AutomaticBendpoints>
|
||||
</StrutsTransition>
|
||||
<StrutsTransition id="/goodsAction.do,goodsMana,/admin/goods/goodsMana.jsp,1" routingType="0">
|
||||
<AutomaticBendpoints>
|
||||
<AbsolutePoint location="204,988" />
|
||||
<AbsolutePoint location="350,988" />
|
||||
</AutomaticBendpoints>
|
||||
</StrutsTransition>
|
||||
<StrutsTransition id="/buyAction.do,orderSubmit,/qiantai/order/orderSubmit.jsp,1" routingType="0">
|
||||
<AutomaticBendpoints>
|
||||
<AbsolutePoint location="118,1454" />
|
||||
<AbsolutePoint location="118,1476" />
|
||||
<AbsolutePoint location="950,1476" />
|
||||
</AutomaticBendpoints>
|
||||
</StrutsTransition>
|
||||
</FlowViewLayout>
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,61 @@
|
||||
<%@ page language="java" pageEncoding="UTF-8"%>
|
||||
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
|
||||
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
|
||||
<%@ page isELIgnored="false" %>
|
||||
|
||||
<%
|
||||
String path = request.getContextPath();
|
||||
%>
|
||||
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="pragma" content="no-cache" />
|
||||
<meta http-equiv="cache-control" content="no-cache" />
|
||||
<meta http-equiv="expires" content="0" />
|
||||
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3" />
|
||||
<meta http-equiv="description" content="This is my page" />
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="<%=path %>/css/base.css" />
|
||||
|
||||
<script language="javascript">
|
||||
function c()//判断是否有菜品类别信息输入
|
||||
{
|
||||
if(document.formAdd.name.value=="")
|
||||
{
|
||||
alert("请输入类别名称");
|
||||
return false;
|
||||
}
|
||||
|
||||
document.formAdd.submit();//输入菜品类别信息,提交
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body leftmargin="2" topmargin="9" background='<%=path %>/img/allbg.gif'>
|
||||
<form action="<%=path %>/catelog?type=catelogAdd" name="formAdd" method="post">
|
||||
<table width="98%" border="0" cellpadding="2" cellspacing="1" bgcolor="#D1DDAA" align="center" style="margin-top:8px">
|
||||
<tr bgcolor="#E7E7E7">
|
||||
<td height="14" colspan="4" background="<%=path %>/img/tbg.gif"> </td>
|
||||
</tr>
|
||||
<tr align='center' bgcolor="#FFFFFF" height="22">
|
||||
<td width="25%" bgcolor="#FFFFFF" align="right">
|
||||
类别名称:
|
||||
</td>
|
||||
<td width="75%" bgcolor="#FFFFFF" align="left">
|
||||
<input type="text" name="name" size="40"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr align='center' bgcolor="#FFFFFF" height="22">
|
||||
<td width="25%" bgcolor="#FFFFFF" align="right">
|
||||
|
||||
</td>
|
||||
<td width="75%" bgcolor="#FFFFFF" align="left">
|
||||
<input type="button" value="提交" onclick="c()"/>
|
||||
<input type="reset" value="重置"/>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,62 @@
|
||||
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
|
||||
<%@ page isELIgnored="false" %>
|
||||
<%@ taglib uri="http://java.fckeditor.net" prefix="FCK"%>
|
||||
|
||||
<%
|
||||
String path = request.getContextPath();
|
||||
%>
|
||||
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<base target="_self"/>
|
||||
<meta http-equiv="pragma" content="no-cache" />
|
||||
<meta http-equiv="cache-control" content="no-cache" />
|
||||
<meta http-equiv="expires" content="0" />
|
||||
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3" />
|
||||
<meta http-equiv="description" content="This is my page" />
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="<%=path %>/css/base.css" />
|
||||
|
||||
<script language="javascript">
|
||||
function c()//无内容提示请输入回复内容
|
||||
{
|
||||
if(document.formAdd.huifu.value=="")
|
||||
{
|
||||
alert("请输入回复内容");
|
||||
return false;
|
||||
}
|
||||
|
||||
document.formAdd.submit();//有内容将内容提交
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body leftmargin="2" topmargin="9" background='<%=path %>/img/allbg.gif'>
|
||||
<form action="<%=path %>/liuyan?type=liuyanHuifu" name="formAdd" method="post">
|
||||
<table width="98%" align="center" border="0" cellpadding="4" cellspacing="1" bgcolor="#CBD8AC" style="margin-bottom:8px">
|
||||
<tr bgcolor="#EEF4EA">
|
||||
<td colspan="3" background="<%=path %>/img/wbg.gif" class='title'><span>信息交流</span></td>
|
||||
</tr>
|
||||
<tr align='center' bgcolor="#FFFFFF" onMouseMove="javascript:this.bgColor='red';" onMouseOut="javascript:this.bgColor='#FFFFFF';" height="22">
|
||||
<td width="25%" bgcolor="#FFFFFF" align="right">
|
||||
回复内容:
|
||||
</td>
|
||||
<td width="75%" bgcolor="#FFFFFF" align="left">
|
||||
<input type="text" name="huifu" size="80"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr align='center' bgcolor="#FFFFFF" onMouseMove="javascript:this.bgColor='red';" onMouseOut="javascript:this.bgColor='#FFFFFF';" height="22">
|
||||
<td width="25%" bgcolor="#FFFFFF" align="right">
|
||||
|
||||
</td>
|
||||
<td width="75%" bgcolor="#FFFFFF" align="left">
|
||||
<input type="hidden" name="id" value="<%=request.getParameter("id") %>"/> <!-- 获得id属性 -->
|
||||
<input type="button" value="提交" onclick="c()"/> <!-- 触发之前定义的是否有内容的判断 -->
|
||||
<input type="reset" value="重置"/>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,21 @@
|
||||
<%@ page language="java" import="java.util.*" pageEncoding="ISO-8859-1"%>
|
||||
<%
|
||||
String path = request.getContextPath();
|
||||
%>
|
||||
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
|
||||
<meta http-equiv="pragma" content="no-cache">
|
||||
<meta http-equiv="cache-control" content="no-cache">
|
||||
<meta http-equiv="expires" content="0">
|
||||
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
|
||||
<meta http-equiv="description" content="This is my page">
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
welcome. <br>
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,23 @@
|
||||
<%@ page language="java" pageEncoding="UTF-8"%>
|
||||
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
|
||||
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
|
||||
<%@ page isELIgnored="false" %>
|
||||
<%
|
||||
String path = request.getContextPath();
|
||||
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
|
||||
%>
|
||||
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="pragma" content="no-cache">
|
||||
<meta http-equiv="cache-control" content="no-cache">
|
||||
<meta http-equiv="expires" content="0">
|
||||
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
|
||||
<meta http-equiv="description" content="This is my page">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div style="color: green;" align="left">${requestScope.msg}</div> <!-- 返回的request作用域里面的msg属性的值 -->
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,23 @@
|
||||
<%@ page language="java" pageEncoding="UTF-8"%>
|
||||
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
|
||||
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
|
||||
<%@ page isELIgnored="false" %>
|
||||
<%
|
||||
String path = request.getContextPath();
|
||||
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
|
||||
%>
|
||||
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="pragma" content="no-cache">
|
||||
<meta http-equiv="cache-control" content="no-cache">
|
||||
<meta http-equiv="expires" content="0">
|
||||
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
|
||||
<meta http-equiv="description" content="This is my page">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<center>通过验证,登录成功</center>
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,288 @@
|
||||
* {
|
||||
font-size: 12px;
|
||||
font-family: "宋体";
|
||||
}
|
||||
|
||||
td { line-height: 1.5; }
|
||||
|
||||
body {
|
||||
font-size: 12px;
|
||||
line-height: 1.5;
|
||||
font-family: "宋体";
|
||||
}
|
||||
|
||||
form,h1,h2,h3,ul,ol,div{ margin: 0; padding:0;}
|
||||
|
||||
td,th,div {
|
||||
word-break:break-all;
|
||||
word-wrap:break-word;
|
||||
}
|
||||
|
||||
b,strong {
|
||||
color:#666600;
|
||||
}
|
||||
|
||||
li,dd {
|
||||
list-style-type:none; margin:0px; padding:0px;
|
||||
}
|
||||
|
||||
input[type=button]{
|
||||
background-color: #F1F8B4;
|
||||
}
|
||||
|
||||
h1 { color:#171B16; font-size:130%; font-weight:bold; }
|
||||
h2 { color:#171B16; font-size:115%; font-weight:bold; }
|
||||
h3 { color:#171B16; font-size:100%; font-weight:bold;}
|
||||
|
||||
a:link { font-size: 9pt; color: #000000; text-decoration: none; font-family: ""宋体""; }
|
||||
a:visited{ font-size: 9pt; color: #000000; text-decoration: none; font-family: ""宋体""; }
|
||||
a:hover {color: red; font-family: ""宋体"";}
|
||||
a img { border-style:none; }
|
||||
|
||||
b a {
|
||||
color:#666600;
|
||||
}
|
||||
strong a {
|
||||
color:#666600;
|
||||
}
|
||||
|
||||
a b{
|
||||
color:#666600;
|
||||
}
|
||||
a strong{
|
||||
color:#666600;
|
||||
}
|
||||
|
||||
input { border: 1px solid #ababab; }
|
||||
/*.a为类名*/
|
||||
.pubinputs {
|
||||
height: 22px;
|
||||
width:250px;
|
||||
padding:4px 3px 2px 3px;
|
||||
border-width:1px;
|
||||
border-style:solid;
|
||||
border-color:#999999 #dddddd #dddddd #999999;
|
||||
}
|
||||
|
||||
.iptxt {
|
||||
height:22px;
|
||||
padding:4px 3px 2px 3px;
|
||||
border-width:1px;
|
||||
border-style:solid;
|
||||
border-color:#999999 #dddddd #dddddd #999999;
|
||||
}
|
||||
|
||||
.alltxt {
|
||||
padding:4px 3px 2px 3px;
|
||||
border-width:1px;
|
||||
border-style:solid;
|
||||
border-color:#999999 #dddddd #dddddd #999999;
|
||||
}
|
||||
|
||||
.pubinput {
|
||||
height: 24px;
|
||||
width:250px;
|
||||
padding-top:3px;
|
||||
padding-bottom:0px;
|
||||
}
|
||||
.pubinputl {
|
||||
height: 24px;
|
||||
width:350px;
|
||||
padding-top:3px;
|
||||
padding-bottom:0px;
|
||||
}
|
||||
|
||||
.np {
|
||||
border:none;
|
||||
}
|
||||
|
||||
.linerow{border-bottom: 1px solid #ACACAC;}
|
||||
|
||||
.coolbg {
|
||||
border-right: 1px solid #ACACAC;
|
||||
border-bottom: 1px solid #ACACAC;
|
||||
background-color: #F1F8B4;
|
||||
padding:2px;
|
||||
padding-right:5px;
|
||||
padding-left:5px;
|
||||
background: url(allbtbg2.gif) #EFF7D0;
|
||||
cursor:pointer;
|
||||
}
|
||||
|
||||
.coolbg2 {
|
||||
border: 1px solid #000000;
|
||||
background-color: #DFDDD2;
|
||||
height:18px
|
||||
}
|
||||
|
||||
.ll {
|
||||
border-right: 2px solid #ACACAC;
|
||||
border-bottom: 2px solid #ACACAC;
|
||||
background-color: #E6E6E6
|
||||
}
|
||||
|
||||
.bline {border-bottom: 1px dotted #BCBCBC; height:28px; background-color: #FFFFFF;}
|
||||
#uploadfield{float:left;}
|
||||
.bline2 {border-bottom: 1px solid #BCBCBC;}
|
||||
|
||||
.coolbt {
|
||||
border-left: 1px solid #EFEFEF;
|
||||
border-top: 1px solid #EFEFEF;
|
||||
border-right: 1px solid #ACACAC;
|
||||
border-bottom: 1px solid #ACACAC;
|
||||
background-color: #E4F7D7;
|
||||
cursor:pointer;
|
||||
}
|
||||
|
||||
.coolbt2 {
|
||||
border-left: 1px solid #EFEFEF;
|
||||
border-top: 1px solid #EFEFEF;
|
||||
border-right: 1px solid #ACACAC;
|
||||
border-bottom: 1px solid #ACACAC;
|
||||
background-color: #F7FCDA
|
||||
}
|
||||
|
||||
.coolbg3 {
|
||||
border: 1px solid #BDC5B4;
|
||||
background-color: #DFDDD2;
|
||||
height:20px;
|
||||
width:140px;
|
||||
text-align:right;
|
||||
}
|
||||
|
||||
.coolbg61 {
|
||||
line-height:26px;
|
||||
width:380px;
|
||||
border-top:1px solid #BDC5B4;
|
||||
border-left:1px solid #BDC5B4;
|
||||
border-right:1px solid #BDC5B4;
|
||||
height:26px;
|
||||
text-align:right;
|
||||
background-color: #E7F3B1;
|
||||
}
|
||||
|
||||
.coolbg62 {
|
||||
border: 1px solid #BDC5B4;
|
||||
background-color: #F8FDF0;
|
||||
height:300px;
|
||||
width:380px;
|
||||
padding:5px;
|
||||
}
|
||||
|
||||
.coolbg4 {
|
||||
border-bottom: 1px solid #C9CFC1;
|
||||
background-color: #EDEBE5;
|
||||
height:20px;
|
||||
width:190px;
|
||||
text-align:right;
|
||||
}
|
||||
|
||||
.coolbg5 {
|
||||
border-top: 1px solid #BDC5B4;
|
||||
background-color: #EDEBE5;
|
||||
font-size:1pt;
|
||||
height:6px;
|
||||
width:190px;
|
||||
}
|
||||
|
||||
.dlg {
|
||||
border: 2px solid #749F4D;
|
||||
background-color: #F0FAEB;
|
||||
padding: 2px;
|
||||
width: 360px;
|
||||
line-height:160%;
|
||||
}
|
||||
|
||||
.dlgws {
|
||||
border: 2px solid #749F4D;
|
||||
background-color: #F0FAEB;
|
||||
padding: 2px;
|
||||
width: 280px;
|
||||
line-height:160%;
|
||||
}
|
||||
.dlgws div {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.dlgTesttitle {
|
||||
border: 2px solid #749F4D;
|
||||
background-color: #F0FAEB;
|
||||
padding: 2px;
|
||||
width: 200px;
|
||||
line-height:150%;
|
||||
}
|
||||
|
||||
#_mysource{ z-index:5000; }
|
||||
#_mywriter{ z-index:6000; }
|
||||
|
||||
.option1{ background-color: #DCECA6; }
|
||||
.option2{ background-color: #F7FBD2; }
|
||||
.option3{ background-color: #FFFFFF; }
|
||||
|
||||
.ininput{
|
||||
width:96%;
|
||||
height:20px;
|
||||
border:1px solid #ffffff;
|
||||
}
|
||||
|
||||
.nbt{
|
||||
padding: 1px;
|
||||
background-image:url('allbtbg.gif');
|
||||
background-color:#ffffff;
|
||||
border:1px solid #A5AF83;
|
||||
}
|
||||
|
||||
.tdt{
|
||||
padding-left: 6px;
|
||||
}
|
||||
|
||||
.waitpage
|
||||
{
|
||||
top:0;
|
||||
left:0;
|
||||
filter:Alpha(opacity=70);
|
||||
-moz-opacity:0.7;
|
||||
position:absolute;
|
||||
z-index:10000;
|
||||
}
|
||||
|
||||
.divpre
|
||||
{
|
||||
filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(sizingMethod=scale);
|
||||
}
|
||||
|
||||
.autoinput {
|
||||
padding-left:3px;
|
||||
width:90%;
|
||||
height:22px
|
||||
}
|
||||
|
||||
.bodytitle
|
||||
{
|
||||
margin:auto;
|
||||
height:28px;
|
||||
border:1px dotted #BFD67C;
|
||||
background:url('wbg.gif');
|
||||
margin-bottom:6px;
|
||||
width:98%;
|
||||
font-weight:bold;
|
||||
}
|
||||
.bodytitle div
|
||||
{
|
||||
float:left
|
||||
}
|
||||
.bodytitletxt
|
||||
{
|
||||
padding-left:6px;
|
||||
line-height:28px;
|
||||
}
|
||||
.tbtitle td{ padding:3px; }
|
||||
|
||||
.tblist td{
|
||||
background:#FFFFFF;
|
||||
padding:6px;
|
||||
}
|
||||
.tblist td.tbsname{
|
||||
background:#F9FFE6;
|
||||
padding:6px;
|
||||
}
|
@ -0,0 +1,110 @@
|
||||
/* CSS Document */
|
||||
|
||||
body{
|
||||
padding:0px;
|
||||
margin:0px;
|
||||
font-size:12px;
|
||||
}
|
||||
/*==========TOP页面设置==========*/
|
||||
.top_tab{
|
||||
background-image:url(/dingcan/images/top_01.gif);
|
||||
background-repeat:repeat-x;
|
||||
height:90px;
|
||||
width:100%;
|
||||
}
|
||||
.top_logo{
|
||||
width:197px;
|
||||
background-image:url(/dingcan/images/top_02.gif);
|
||||
}
|
||||
.top_tex{
|
||||
background:url(/dingcan/images/top_03.gif) no-repeat;
|
||||
}
|
||||
.top_r{
|
||||
width:361px;
|
||||
background:url(/dingcan/images/top_05.gif) no-repeat;
|
||||
}
|
||||
/*==========右侧页面(主内容显示部分)设置==========*/
|
||||
.right_body{
|
||||
padding-left:5px;
|
||||
padding-right:5px;
|
||||
}
|
||||
.right_font{
|
||||
font-size:13px;
|
||||
cursor:hand;
|
||||
}
|
||||
/*==========所有的图片相关连接全部写在CSS,这样是为了制作多颜色版本==========*/
|
||||
.cont_tab{
|
||||
background-color:#4374A3;
|
||||
}
|
||||
.cont_tab_l{
|
||||
background-image:url(/dingcan/images/r_14.gif);
|
||||
background-repeat:no-repeat;
|
||||
width:12px;
|
||||
height:13px;
|
||||
}
|
||||
.cont_tab_m{
|
||||
background-image:url(/dingcan/images/r_16.gif);
|
||||
background-repeat:repeat-x;
|
||||
height:13px;
|
||||
}
|
||||
.cont_tab_r{
|
||||
background-image:url(/dingcan/images/r_14_r.gif);
|
||||
background-repeat:no-repeat;
|
||||
width:12px;
|
||||
height:13px;
|
||||
}
|
||||
.cont_tab_bl{
|
||||
background-image:url(/dingcan/images/r_24.gif);
|
||||
background-repeat:no-repeat;
|
||||
width:12px;
|
||||
height:13px;
|
||||
}
|
||||
.cont_tab_bm{
|
||||
background-image:url(/dingcan/images/r_29.gif);
|
||||
background-repeat:repeat-x;
|
||||
height:13px;
|
||||
}
|
||||
.cont_tab_br{
|
||||
background-image:url(/dingcan/images/r_24_r.gif);
|
||||
background-repeat:no-repeat;
|
||||
width:12px;
|
||||
height:13px;
|
||||
}
|
||||
/*==========LEFT页面设置==========*/
|
||||
.left_b_m{
|
||||
line-height:13px;
|
||||
font-size:1px;
|
||||
}
|
||||
.left_mid{
|
||||
padding-left:2px;
|
||||
padding-right:1px;
|
||||
}
|
||||
.menu_first_img{
|
||||
background-image:url(/dingcan/images/l_b_05.gif);
|
||||
background-repeat:no-repeat;
|
||||
}.menu_second_img{
|
||||
background-image:url(/dingcan/images/l_b_03.gif);
|
||||
background-repeat:no-repeat;
|
||||
}
|
||||
.mouse{
|
||||
cursor:hand;
|
||||
width:176px;
|
||||
height:29px;
|
||||
line-height:29px;
|
||||
|
||||
}
|
||||
.left{
|
||||
background-image:url(/dingcan/images/menu_26.gif);
|
||||
height:29px;
|
||||
padding-bottom:4px;
|
||||
}
|
||||
/*==========Foot==========*/
|
||||
#foot{
|
||||
background-color:#4374A3;
|
||||
height:17px;
|
||||
font-size:12px;
|
||||
color:#ffffff;
|
||||
letter-spacing:3px;
|
||||
text-align:center;
|
||||
padding-top:3px;
|
||||
}
|
@ -0,0 +1,42 @@
|
||||
/* CSS Document */
|
||||
|
||||
body{
|
||||
margin:0px;
|
||||
padding:50px 0px 0px 0px;
|
||||
background-color:#5c86ad;
|
||||
font-size:12px;
|
||||
color:#133B61;
|
||||
}
|
||||
/*indexÒ³ÃæCSSÉèÖÃ*/
|
||||
.tab1{
|
||||
background-image:url(/dingcan/images/dx_01.gif);
|
||||
background-repeat:no-repeat;
|
||||
height:160px;
|
||||
width:708px;
|
||||
}
|
||||
.tab2{
|
||||
background-image:url(/dingcan/images/dx_02.gif);
|
||||
background-repeat:no-repeat;
|
||||
width:273px;
|
||||
height:200px;
|
||||
padding-left:335px;
|
||||
padding-right:90px;
|
||||
font-size:12px;
|
||||
letter-spacing: 3px;
|
||||
color:#18345A;
|
||||
padding-top:10px;
|
||||
}
|
||||
.tab3{
|
||||
background-image:url(/dingcan/images/dx_03.gif);
|
||||
background-repeat:no-repeat;
|
||||
width:708px;
|
||||
height:216px;
|
||||
}
|
||||
.id{
|
||||
height:18px;
|
||||
border:1px solid #255FAD;
|
||||
filter: Alpha(Opacity=60);
|
||||
}
|
||||
input:hover{
|
||||
background-color:#A0D1FF;
|
||||
}
|
@ -0,0 +1,424 @@
|
||||
|
||||
/*
|
||||
Design by Free CSS Templates
|
||||
http://www.freecsstemplates.org
|
||||
Released for free under a Creative Commons Attribution 2.5 License
|
||||
*/
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
background: url(/dingcan/images/img01.jpg) repeat-x left top;
|
||||
font-family: Arial, Helvetica, sans-serif;
|
||||
font-size: 12px;
|
||||
color: #66665E;
|
||||
}
|
||||
|
||||
h1, h2, h3 {
|
||||
margin: 0;
|
||||
text-transform: uppercase;
|
||||
font-family: "Trebuchet MS", Georgia, "Times New Roman", Times, serif;
|
||||
font-weight: normal;
|
||||
color: #0C95C9;
|
||||
}
|
||||
|
||||
h1 { font-size: 44px; }
|
||||
|
||||
h2 { font-size: 18px; }
|
||||
|
||||
h3 { }
|
||||
|
||||
p, ul, ol {
|
||||
margin-top: 0;
|
||||
line-height: 240%;
|
||||
text-align: justify;
|
||||
}
|
||||
|
||||
ul, ol { }
|
||||
|
||||
blockquote { }
|
||||
|
||||
a { color: #0C95C9; }
|
||||
|
||||
a:hover { text-decoration: none; }
|
||||
|
||||
a img {
|
||||
border: none;
|
||||
}
|
||||
|
||||
img.left {
|
||||
float: left;
|
||||
margin: 7px 30px 0 0;
|
||||
}
|
||||
|
||||
img.right {
|
||||
float: right;
|
||||
margin: 7px 0 0 30px;
|
||||
}
|
||||
|
||||
hr { display: none; }
|
||||
|
||||
.list1 {
|
||||
}
|
||||
|
||||
.list1 li {
|
||||
float: left;
|
||||
line-height: normal;
|
||||
}
|
||||
|
||||
.list1 li img {
|
||||
margin: 0 30px 30px 0;
|
||||
}
|
||||
|
||||
.list1 li.alt img {
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
#wrapper {
|
||||
}
|
||||
|
||||
/* Header */
|
||||
|
||||
#header-wrapper {
|
||||
}
|
||||
|
||||
#header {
|
||||
width: 920px;
|
||||
height: 45px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
/* Menu */
|
||||
|
||||
#menu {
|
||||
float: left;
|
||||
width: 540px;
|
||||
height: 45px;
|
||||
}
|
||||
|
||||
#menu ul {
|
||||
margin: 0;
|
||||
padding: 10px 0px 0px 5px;
|
||||
list-style: none;
|
||||
line-height: normal;
|
||||
}
|
||||
|
||||
#menu li {
|
||||
display: block;
|
||||
float: left;
|
||||
}
|
||||
|
||||
#menu a {
|
||||
display: block;
|
||||
float: left;
|
||||
margin-right: 3px;
|
||||
padding: 3px 8px 2px 8px;
|
||||
text-decoration: none;
|
||||
text-transform: capitalize;
|
||||
font-family: Arial, Helvetica, sans-serif;
|
||||
font-size: 12px;
|
||||
color: #FFFFFF;
|
||||
}
|
||||
|
||||
#menu a:hover { text-decoration: underline; }
|
||||
|
||||
#menu .current_page_item a {
|
||||
height: 20px;
|
||||
background: #FEC200 url(/dingcan/images/img02.jpg) repeat-x left top;
|
||||
color: #FFFFFF;
|
||||
}
|
||||
|
||||
#menu .first {
|
||||
background: none;
|
||||
}
|
||||
/* Search */
|
||||
|
||||
#search {
|
||||
float: right;
|
||||
width: 305px;
|
||||
height: 45px;
|
||||
}
|
||||
|
||||
#search form {
|
||||
float: right;
|
||||
margin: 0;
|
||||
padding: 12px 30px 0 0;
|
||||
}
|
||||
|
||||
#search fieldset {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border: none;
|
||||
}
|
||||
|
||||
#search input {
|
||||
float: left;
|
||||
font: 12px Georgia, "Times New Roman", Times, serif;
|
||||
border: none;
|
||||
}
|
||||
|
||||
#search-text {
|
||||
width: 135px;
|
||||
height: 18px;
|
||||
padding: 3px 0 0 5px;
|
||||
border: 1px solid #333333;
|
||||
background: #ECF9E4;
|
||||
color: #000000;
|
||||
}
|
||||
|
||||
#search-submit {
|
||||
height: 21px;
|
||||
margin-left: 10px;
|
||||
padding: 0px 5px;
|
||||
background: #000000;
|
||||
color: #FFFFFF;
|
||||
}
|
||||
|
||||
/* Page */
|
||||
|
||||
#page {
|
||||
width: 920px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
#page-bgtop {
|
||||
padding-top: 30px;
|
||||
}
|
||||
|
||||
/** LOGO */
|
||||
|
||||
#logo {
|
||||
width: 860px;
|
||||
height: 134px;
|
||||
margin: 0 auto;
|
||||
background: url(/dingcan/images/img04.jpg) no-repeat right top;
|
||||
}
|
||||
|
||||
#logo h1, #logo p {
|
||||
margin: 0px;
|
||||
line-height: normal;
|
||||
text-transform: lowercase;
|
||||
font-weight: normal;
|
||||
color: #FFFFFF;
|
||||
}
|
||||
|
||||
#logo p {
|
||||
text-transform: lowercase;
|
||||
font-size: 10px;
|
||||
}
|
||||
|
||||
#logo h1 {
|
||||
padding-top: 54px;
|
||||
font-size: 34px;
|
||||
}
|
||||
|
||||
#logo a {
|
||||
text-decoration: none;
|
||||
color: #FFFFFF;
|
||||
}
|
||||
|
||||
/* Content */
|
||||
|
||||
#content {
|
||||
float: right;
|
||||
width: 658px;
|
||||
padding-top: 10px;
|
||||
padding-right: 30px;
|
||||
}
|
||||
|
||||
/* ·¢ËÍ */
|
||||
|
||||
.post {
|
||||
background: url(/dingcan/images/img07.jpg) repeat-x left bottom;
|
||||
margin-bottom: 25px;
|
||||
}
|
||||
|
||||
.post .title {
|
||||
height: 30px;
|
||||
color: #549900;
|
||||
}
|
||||
|
||||
.post .title a {
|
||||
text-decoration: none;
|
||||
color: #585D60;
|
||||
}
|
||||
|
||||
.post .date {
|
||||
}
|
||||
|
||||
.post .meta {
|
||||
margin-top: -10px;
|
||||
padding: 2px 30px 2px 16px;
|
||||
background: url(/dingcan/images/img03.gif) no-repeat left 8px;
|
||||
font-family: Arial, Helvetica, sans-serif;
|
||||
font-weight: normal;
|
||||
font-size: 10px;
|
||||
color: #66665E;
|
||||
}
|
||||
|
||||
.post .meta span {
|
||||
display: block;
|
||||
margin-top: -10px;
|
||||
}
|
||||
|
||||
.post .meta a { }
|
||||
|
||||
.post .entry {
|
||||
padding: 10px 0;
|
||||
}
|
||||
|
||||
.post .links {
|
||||
margin: 0 250px 0 0;
|
||||
padding: 0 0 0 0px;
|
||||
}
|
||||
|
||||
.post .links .comments {
|
||||
}
|
||||
|
||||
.post .links .permalink {
|
||||
padding-left: 17px;
|
||||
}
|
||||
|
||||
/* ²à±ßÀ¸ */
|
||||
|
||||
#sidebar {
|
||||
float: left;
|
||||
width: 177px;
|
||||
padding-left: 22px;
|
||||
font-family: Arial, Helvetica, sans-serif;
|
||||
font-size: 11px;
|
||||
color: #585D60;
|
||||
}
|
||||
|
||||
#sidebar ul {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
line-height: normal;
|
||||
}
|
||||
|
||||
#sidebar li {
|
||||
margin-bottom: 30px;
|
||||
padding: 0 0 10px 0px;
|
||||
}
|
||||
|
||||
#sidebar li ul {
|
||||
}
|
||||
|
||||
#sidebar li li {
|
||||
margin: 0;
|
||||
padding: 7px 10px 10px 7px;
|
||||
background: url(/dingcan/images/img07.jpg) repeat-x left bottom;
|
||||
}
|
||||
|
||||
#sidebar p {
|
||||
margin: 0;
|
||||
padding: 0px 10px;
|
||||
}
|
||||
|
||||
#sidebar h2 {
|
||||
height: 26px;
|
||||
margin: 0 0 10px 0px;
|
||||
padding: 12px 0 2px 7px;
|
||||
text-transform: capitalize;
|
||||
font-size: 18px;
|
||||
font-weight: normal;
|
||||
color: #464F54;
|
||||
}
|
||||
|
||||
|
||||
#sidebar p {
|
||||
line-height: 200%;
|
||||
}
|
||||
#sidebar a {
|
||||
text-align: left;
|
||||
text-decoration: none;
|
||||
font-weight: normal;
|
||||
color: #585D60;
|
||||
}
|
||||
|
||||
/* ÈÕÀú */
|
||||
|
||||
#calendar {
|
||||
}
|
||||
|
||||
#calendar caption {
|
||||
padding-bottom: 5px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
#calendar table {
|
||||
width: 100%;
|
||||
border-collapse: collapse;
|
||||
border-bottom: 1px solid #24130F;
|
||||
border-left: 1px solid #24130F;
|
||||
border-right: 1px solid #24130F;
|
||||
}
|
||||
|
||||
#calendar thead th {
|
||||
padding: 5px 0;
|
||||
text-align: center;
|
||||
border-top: 1px solid #24130F;
|
||||
border-left: 1px solid #24130F;
|
||||
background: #24130F;
|
||||
}
|
||||
|
||||
#calendar tbody td {
|
||||
padding: 5px 0;
|
||||
text-align: center;
|
||||
border-top: 1px solid #24130F;
|
||||
border-left: 1px solid #24130F;
|
||||
border-bottom: 1px solid #24130F;
|
||||
}
|
||||
|
||||
#calendar tfoot td {
|
||||
padding: 5px;
|
||||
border-left: 1px solid #24130F;
|
||||
border-bottom: 1px solid #24130F;
|
||||
}
|
||||
|
||||
#calendar tfoot #next {
|
||||
border-top: 1px solid #24130F;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
#calendar tfoot #prev {
|
||||
border-top: 1px solid #24130F;
|
||||
}
|
||||
|
||||
#calendar .pad {
|
||||
border-bottom: 1px solid #24130F;
|
||||
}
|
||||
|
||||
#calendar #today {
|
||||
background: #24130F;
|
||||
}
|
||||
|
||||
/* Footer */
|
||||
|
||||
#footer {
|
||||
width: 920px;
|
||||
height: 49px;
|
||||
margin: 0 auto;
|
||||
padding-top: 50px;
|
||||
}
|
||||
|
||||
#footer-bgcontent {
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
height: 99px;
|
||||
background: #394144;
|
||||
}
|
||||
|
||||
#footer p {
|
||||
margin: 0;
|
||||
text-align: center;
|
||||
line-height: normal;
|
||||
text-transform: uppercase;
|
||||
font-size: 10px;
|
||||
color: #FFFFFF;
|
||||
}
|
||||
|
||||
#footer a {
|
||||
color: #E5FFC4;
|
||||
}
|
@ -0,0 +1,38 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<!--
|
||||
* 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 ==
|
||||
-->
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>FCKeditor - Documentation</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<style type="text/css">
|
||||
body { font-family: arial, verdana, sans-serif }
|
||||
p { margin-left: 20px }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<h1>
|
||||
FCKeditor Documentation</h1>
|
||||
<p>
|
||||
You can find the official documentation for FCKeditor online, at <a href="http://docs.fckeditor.net/">
|
||||
http://docs.fckeditor.net/</a>.</p>
|
||||
</body>
|
||||
</html>
|
After Width: | Height: | Size: 595 B |
@ -0,0 +1,172 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
||||
<!--
|
||||
* 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 sample "Find" plugin window.
|
||||
-->
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<meta content="noindex, nofollow" name="robots">
|
||||
<script type="text/javascript">
|
||||
|
||||
var oEditor = window.parent.InnerDialogLoaded() ;
|
||||
|
||||
function OnLoad()
|
||||
{
|
||||
// Whole word is available on IE only.
|
||||
if ( oEditor.FCKBrowserInfo.IsIE )
|
||||
document.getElementById('divWord').style.display = '' ;
|
||||
|
||||
// First of all, translate the dialog box texts.
|
||||
oEditor.FCKLanguageManager.TranslatePage( document ) ;
|
||||
|
||||
window.parent.SetAutoSize( true ) ;
|
||||
}
|
||||
|
||||
function btnStat(frm)
|
||||
{
|
||||
document.getElementById('btnFind').disabled =
|
||||
( document.getElementById('txtFind').value.length == 0 ) ;
|
||||
}
|
||||
|
||||
function ReplaceTextNodes( parentNode, regex, replaceValue, replaceAll )
|
||||
{
|
||||
for ( var i = 0 ; i < parentNode.childNodes.length ; i++ )
|
||||
{
|
||||
var oNode = parentNode.childNodes[i] ;
|
||||
if ( oNode.nodeType == 3 )
|
||||
{
|
||||
var sReplaced = oNode.nodeValue.replace( regex, replaceValue ) ;
|
||||
if ( oNode.nodeValue != sReplaced )
|
||||
{
|
||||
oNode.nodeValue = sReplaced ;
|
||||
if ( ! replaceAll )
|
||||
return true ;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if ( ReplaceTextNodes( oNode, regex, replaceValue ) )
|
||||
return true ;
|
||||
}
|
||||
}
|
||||
return false ;
|
||||
}
|
||||
|
||||
function GetRegexExpr()
|
||||
{
|
||||
if ( document.getElementById('chkWord').checked )
|
||||
var sExpr = '\\b' + document.getElementById('txtFind').value + '\\b' ;
|
||||
else
|
||||
var sExpr = document.getElementById('txtFind').value ;
|
||||
|
||||
return sExpr ;
|
||||
}
|
||||
|
||||
function GetCase()
|
||||
{
|
||||
return ( document.getElementById('chkCase').checked ? '' : 'i' ) ;
|
||||
}
|
||||
|
||||
function Ok()
|
||||
{
|
||||
if ( document.getElementById('txtFind').value.length == 0 )
|
||||
return ;
|
||||
|
||||
if ( oEditor.FCKBrowserInfo.IsIE )
|
||||
FindIE() ;
|
||||
else
|
||||
FindGecko() ;
|
||||
}
|
||||
|
||||
var oRange = null ;
|
||||
|
||||
function FindIE()
|
||||
{
|
||||
if ( oRange == null )
|
||||
oRange = oEditor.FCK.EditorDocument.body.createTextRange() ;
|
||||
|
||||
var iFlags = 0 ;
|
||||
|
||||
if ( chkCase.checked )
|
||||
iFlags = iFlags | 4 ;
|
||||
|
||||
if ( chkWord.checked )
|
||||
iFlags = iFlags | 2 ;
|
||||
|
||||
var bFound = oRange.findText( document.getElementById('txtFind').value, 1, iFlags ) ;
|
||||
|
||||
if ( bFound )
|
||||
{
|
||||
oRange.scrollIntoView() ;
|
||||
oRange.select() ;
|
||||
oRange.collapse(false) ;
|
||||
oLastRangeFound = oRange ;
|
||||
}
|
||||
else
|
||||
{
|
||||
oRange = null ;
|
||||
alert( oEditor.FCKLang.DlgFindNotFoundMsg ) ;
|
||||
}
|
||||
}
|
||||
|
||||
function FindGecko()
|
||||
{
|
||||
var bCase = document.getElementById('chkCase').checked ;
|
||||
var bWord = document.getElementById('chkWord').checked ;
|
||||
|
||||
// window.find( searchString, caseSensitive, backwards, wrapAround, wholeWord, searchInFrames, showDialog ) ;
|
||||
oEditor.FCK.EditorWindow.find( document.getElementById('txtFind').value, bCase, false, false, bWord, false, false ) ;
|
||||
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body onload="OnLoad()" scroll="no" style="OVERFLOW: hidden">
|
||||
<div align="center">
|
||||
This is my Plugin!
|
||||
</div>
|
||||
<table cellSpacing="3" cellPadding="2" width="100%" border="0">
|
||||
<tr>
|
||||
<td nowrap>
|
||||
<label for="txtFind" fckLang="DlgMyReplaceFindLbl">Find what:</label>
|
||||
</td>
|
||||
<td width="100%">
|
||||
<input id="txtFind" onkeyup="btnStat(this.form)" style="WIDTH: 100%" tabIndex="1" type="text">
|
||||
</td>
|
||||
<td>
|
||||
<input id="btnFind" style="WIDTH: 100%; PADDING-RIGHT: 5px; PADDING-LEFT: 5px" disabled
|
||||
onclick="Ok();" type="button" value="Find" fckLang="DlgMyFindFindBtn">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="bottom" colSpan="3">
|
||||
<input id="chkCase" tabIndex="3" type="checkbox"><label for="chkCase" fckLang="DlgMyReplaceCaseChk">Match
|
||||
case</label>
|
||||
<br>
|
||||
<div id="divWord" style="DISPLAY: none">
|
||||
<input id="chkWord" tabIndex="4" type="checkbox"><label for="chkWord" fckLang="DlgMyReplaceWordChk">Match
|
||||
whole word</label>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
After Width: | Height: | Size: 326 B |
@ -0,0 +1,135 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
||||
<!--
|
||||
* 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 sample "Replace" plugin window.
|
||||
-->
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<meta content="noindex, nofollow" name="robots">
|
||||
<script type="text/javascript">
|
||||
|
||||
var oEditor = window.parent.InnerDialogLoaded() ;
|
||||
|
||||
function OnLoad()
|
||||
{
|
||||
// First of all, translate the dialog box texts
|
||||
oEditor.FCKLanguageManager.TranslatePage( document ) ;
|
||||
|
||||
window.parent.SetAutoSize( true ) ;
|
||||
}
|
||||
|
||||
function btnStat(frm)
|
||||
{
|
||||
document.getElementById('btnReplace').disabled =
|
||||
document.getElementById('btnReplaceAll').disabled =
|
||||
( document.getElementById('txtFind').value.length == 0 ) ;
|
||||
}
|
||||
|
||||
function ReplaceTextNodes( parentNode, regex, replaceValue, replaceAll, hasFound )
|
||||
{
|
||||
for ( var i = 0 ; i < parentNode.childNodes.length ; i++ )
|
||||
{
|
||||
var oNode = parentNode.childNodes[i] ;
|
||||
if ( oNode.nodeType == 3 )
|
||||
{
|
||||
var sReplaced = oNode.nodeValue.replace( regex, replaceValue ) ;
|
||||
if ( oNode.nodeValue != sReplaced )
|
||||
{
|
||||
oNode.nodeValue = sReplaced ;
|
||||
if ( ! replaceAll )
|
||||
return true ;
|
||||
hasFound = true ;
|
||||
}
|
||||
}
|
||||
|
||||
hasFound = ReplaceTextNodes( oNode, regex, replaceValue, replaceAll, hasFound ) ;
|
||||
if ( ! replaceAll && hasFound )
|
||||
return true ;
|
||||
}
|
||||
|
||||
return hasFound ;
|
||||
}
|
||||
|
||||
function GetRegexExpr()
|
||||
{
|
||||
if ( document.getElementById('chkWord').checked )
|
||||
var sExpr = '\\b' + document.getElementById('txtFind').value + '\\b' ;
|
||||
else
|
||||
var sExpr = document.getElementById('txtFind').value ;
|
||||
|
||||
return sExpr ;
|
||||
}
|
||||
|
||||
function GetCase()
|
||||
{
|
||||
return ( document.getElementById('chkCase').checked ? '' : 'i' ) ;
|
||||
}
|
||||
|
||||
function Replace()
|
||||
{
|
||||
var oRegex = new RegExp( GetRegexExpr(), GetCase() ) ;
|
||||
ReplaceTextNodes( oEditor.FCK.EditorDocument.body, oRegex, document.getElementById('txtReplace').value, false ) ;
|
||||
}
|
||||
|
||||
function ReplaceAll()
|
||||
{
|
||||
var oRegex = new RegExp( GetRegexExpr(), GetCase() + 'g' ) ;
|
||||
ReplaceTextNodes( oEditor.FCK.EditorDocument.body, oRegex, document.getElementById('txtReplace').value, true ) ;
|
||||
window.parent.Cancel() ;
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body onload="OnLoad()" scroll="no" style="OVERFLOW: hidden">
|
||||
<div align="center">
|
||||
This is my Plugin!
|
||||
</div>
|
||||
<table cellSpacing="3" cellPadding="2" width="100%" border="0">
|
||||
<tr>
|
||||
<td noWrap><label for="txtFind" fckLang="DlgMyReplaceFindLbl">Find what:</label>
|
||||
</td>
|
||||
<td width="100%"><input id="txtFind" onkeyup="btnStat(this.form)" style="WIDTH: 100%" tabIndex="1" type="text">
|
||||
</td>
|
||||
<td><input id="btnReplace" style="WIDTH: 100%" disabled onclick="Replace();" type="button"
|
||||
value="Replace" fckLang="DlgMyReplaceReplaceBtn">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td vAlign="top" nowrap><label for="txtReplace" fckLang="DlgMyReplaceReplaceLbl">Replace
|
||||
with:</label>
|
||||
</td>
|
||||
<td vAlign="top"><input id="txtReplace" style="WIDTH: 100%" tabIndex="2" type="text">
|
||||
</td>
|
||||
<td><input id="btnReplaceAll" disabled onclick="ReplaceAll()" type="button" value="Replace All"
|
||||
fckLang="DlgMyReplaceReplAllBtn">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td vAlign="bottom" colSpan="3"> <input id="chkCase" tabIndex="3" type="checkbox"><label for="chkCase" fckLang="DlgMyReplaceCaseChk">Match
|
||||
case</label>
|
||||
<br>
|
||||
<input id="chkWord" tabIndex="4" type="checkbox"><label for="chkWord" fckLang="DlgMyReplaceWordChk">Match
|
||||
whole word</label>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue