PageRenderTime 33ms CodeModel.GetById 16ms app.highlight 13ms RepoModel.GetById 1ms app.codeStats 0ms

/source/gl/show1/f/test.html

http://prosporous.googlecode.com/
HTML | 198 lines | 175 code | 23 blank | 0 comment | 0 complexity | 81e938d0dd410fa5192adab3c5fc00ce MD5 | raw file
  1<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2<html>
  3<head>
  4<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  5<title>????????</title>
  6<link rel="stylesheet" type="text/css" href="/Plug-in/ext/resources/css/ext-all.css" />
  7    <script type="text/javascript" src="/Plug-in/ext/adapter/ext/ext-base.js"></script>
  8    <script type="text/javascript" src="/Plug-in/ext/ext-all.js"></script><script type="text/javascript">
  9	Ext.BLANK_IMAGE_URL = '/Plug-in/ext/resources/images/default/s.gif';
 10	</script>
 11<link rel="stylesheet" type="text/css" href="../css/main.css" />
 12<script type="text/javascript" src="/Plug-in/fck/fckeditor.js"></script>
 13<script type="text/javascript" src="/Plug-in/kind/kindeditor.js"></script>
 14<style type="text/css">
 15.x-date-menu > ul{
 16display: inline;
 17}
 18.x-date-menu > ul li{
 19display: inline;
 20}
 21.hang {
 22	background: #D1DDEF;
 23	border-top:1px dotted #B5B8C8;
 24	border-bottom:1px dotted #B5B8C8;
 25}
 26
 27</style>
 28<script language="javascript">
 29Ext.onReady(function(){
 30Ext.QuickTips.init();
 31Ext.form.Field.prototype.msgTarget = 'side';
 32var form = new Ext.form.FormPanel({
 33				renderTo:Ext.getBody(),
 34				bodyStyle:'padding:5px',
 35				labelWidth:55,
 36				border:false,
 37				autoScroll:true,
 38				labelAlign:'right',
 39				buttunAlign:'left',
 40				plain:true,
 41				frame:true,
 42        items:[{
 43        	xtype:'fieldset',
 44            title: '??',
 45            autoHeight:true,
 46            bodyStyle:'padding:10px;',
 47            layout:'form',
 48            items:[
 49            {
 50						xtype:'hidden',
 51			            name: 'id',
 52			            value:'9'
 53		    },{
 54						xtype:'hidden',
 55			            name: 'tid',
 56			            value:'14'
 57		    },{
 58						xtype:'hidden',
 59			            name: 'gid',
 60			            value:'127'
 61		    },{
 62						xtype:'hidden',
 63			            name: 'lg',
 64			            value:'zh'
 65		    },
 66            				{xtype:"textarea",id:'205',value:"<p>0,Rssssssssss<span style=\"color: #ff0000\">ssssssss</span>sssssssss<img alt=\"\" src=\"/plug-in/fck/editor/images/smiley/msn/tounge_smile.gif\" />sssssssssssssssss</p><p>&nbsp;</p><p>&nbsp;</p><p>ssss</p>",width:800,height:200,fieldLabel:'sssss',listeners:{focus:function(f){var myMask = new Ext.LoadMask(Ext.getBody(), {msg:'???'});myMask.show();var w=f.getSize();fckEditor = new FCKeditor('sssss') ;fckEditor.Height=200;fckEditor.Width=800;fckEditor.SkinPath = '/Plug-in/fck/editor/skins/silver/' ;fckEditor.BasePath = '/plug-in/fck/' ;fckEditor.Config['ToolbarStartExpanded'] = true;fckEditor.ReplaceTextarea() ;myMask.hide();}},name: 'sssss'}
 67            ,				{
 68							xtype: 'textfield',
 69							value:"&nbsp;wwwwwwwwwwwwwww",
 70							fieldLabel:'??',
 71							grow:true,
 72							id:'204',
 73							width:'200px',
 74							
 75							
 76							
 77							name: 'subtitle'
 78							}
 79            ,				{
 80							xtype: 'textfield',
 81							value:"<p>wwww<span style=\"",
 82							fieldLabel:'??',
 83							grow:true,
 84							id:'201',
 85							width:'580px',
 86							
 87							
 88							
 89							name: 'title'
 90							}
 91            ,				{
 92							xtype: 'textfield',
 93							value:"4",
 94							fieldLabel:'?',
 95							grow:true,
 96							id:'198',
 97							width:'400px',
 98							
 99							
100							
101							name: 'sortid'
102							}
103							,				{xtype:"textarea",id:'content',value:"<p>d41d8cd</p>>98f0<img alt=\"\" src=\"/plug-in/fck/editor/images/smiley/msn/teeth_smile.gif\" />7e</p>",width:800,height:260,fieldLabel:'??xcxcv',listeners:{render:function(f){try{KE.show({id : 'content',width :'800px',height : '260px',filterMode : false});}catch(err){};}},name: 'content'}
104            ,				{
105							xtype: 'textfield',
106							value:"1273622400",
107							fieldLabel:'????',
108							grow:true,
109							id:'203',
110							width:'300px',
111							
112							
113							
114							name: 'pubtime'
115							}
116            ,				{
117							xtype: 'textfield',
118							value:"",
119							fieldLabel:' ??',
120							grow:true,
121							id:'199',
122							width:'300px',
123							
124							
125							
126							name: 'cataid'
127							}
128            ,				{
129							xtype: 'textfield',
130							fieldLabel:'??',
131							inputType: 'file',
132							id:'207',
133							width:'150',
134							
135							name: 'hd'
136							},{html:'<div style="float:left;width:300px;" align=center><a href="#"><img src="/uplods/pic/"></a></div>'}
137            ,				{xtype: 'textarea',value:"zh",fieldLabel:'????',grow:true,id:'200',width:'300px',name: 'lg'}
138            ,				{
139							xtype: 'textfield',
140							value:"/uploads/2010-05-12/",
141							fieldLabel:'??12',
142							grow:true,
143							id:'206',
144							width:'300px',
145							
146							
147							
148							name: 'pic1'
149							}
150                        ]
151        }],
152		buttons: [{
153			xtype:'button',
154            text: '??',
155            handler:function (){
156								if(form.form.isValid()){
157								try{var fckobj_temp = FCKeditorAPI.GetInstance('sssss');
158										 fckobj_temp.UpdateLinkedField();}catch(err){
159														};KE.util.setData('content');
160								form.form.doAction('submit',{
161									url:'i.php',
162									method:'POST',
163									params:{op:'save'},
164									waitMsg:'????....',
165									success:function(form,action){
166											if (action.result.msg=='ok') {
167												Ext.Msg.confirm('??','??!????????',function(a){
168													if(a=='yes'){
169													 parent.gridrefresh();
170													parent.Ext.getCmp('adddata14').close();
171													}
172												});
173
174											} else {
175												Ext.Msg.alert('??',action.result.msg);
176												Ext.get('username').select();
177											}
178									 }
179									 ,
180									 //?????????
181									 failure:function(){
182											Ext.Msg.alert('??','???????');
183									 }
184								})};
185							}
186        },{
187        	xtype:'button',
188            text: '??'
189        }]
190
191
192});
193});
194</script>
195</head>
196<body>
197</body>
198</html>