用PHP和MSSQL开发的sspace商城系统

源代码在线查看: memcp_editstore.tpl.php

软件大小: 478 K
上传用户: ABC258369000
关键词: sspace MSSQL PHP 商城
下载地址: 免注册下载 普通下载 VIP

相关代码

				
				
				function checkdata(theform)
				{
					if (theform.spname.value == "" || theform.spname.value.length > "50")
					{
						alert("");
						theform.spname.focus();
						return false; 
					}
					if (theform.keyword.value == "" || theform.keyword.value.length > "12") 
					{
						alert("");
						theform.keyword.focus();
						return false; 
					}
					if (theform.cid.value == "0" || isNaN(theform.cid.value) ) 
					{
						alert("");
						theform.cid.focus();
						return false; 
					}
					
					if (theform.spcount.value == "" || isNaN(theform.spcount.value) ) 
					{
						alert("");
						theform.spcount.focus();
						return false; 
					}
					
					if (theform.price_market.value == "" || isNaN(theform.price_market.value) ) 
					{
						alert("");
						theform.price_market.focus();
						return false; 
					}
					if (theform.price_member.value == "" || isNaN(theform.price_member.value) ) 
					{
						alert("");
						theform.price_member.focus();
						return false; 
					}
					if (theform.price_vip.value == "" || isNaN(theform.price_vip.value) ) 
					{
						alert("");
						theform.price_vip.focus();
						return false; 
					}
					
					
					if (theform.context.value == "") 
					{
						alert("");
						theform.context.focus();
						return false; 
					}
					else 
					{ 
						theform.Submit.disabled = true;
						return true;
					}
				}
				
								
				
				
				
				
				(*)
								 > 
				
				
				 (*)
								 
				
				
				 				
				
				
				
				
				
				
				 (*)
				
				
				
				
				
				
				 
								
				
				 (*)
								
				
				
				
								
				
				 (*)
								
				
				
				 (*)
								
				
				
				 (*)
								
				
				
				 (*)
				 |  |  |  |  |  | 
				
				
				 |  |  |  |  | 
				
				
				
				
				
				
				
				
												
				
				              
				
				
				
				
																
				
				
				
				
				
				
				
				
							

相关资源