📄 showwl[1].txt
字号:
<HTML>
<HEAD>
<META http-equiv="Content-Type" content="text/html; charset=GB2312">
<META http-equiv="Content-Style-Type" content="text/css">
<LINK href="../theme/vote.css" rel="stylesheet" type="text/css">
<TITLE>用户问卷调查</TITLE>
<script language="javascript">
function prev(){
myform.direction.value="prev";
myform.submit();
}
function next(){
myform.direction.value="next";
if(checkItem()) {
myform.submit();
}
}
function submitit(){
myform.direction.value="submit";
if(checkItem()) {
myform.submit();
}
}
function disableIt(obj){
obj.disabled = true;
}
function ableIt(obj){
obj.disabled = false;
}
function checkIt(mutiflag,obj,str){
var checkFlag = false;
var startPos,endPos;
if(mutiflag==0){
//处理单选的情况
obj.value=str;
}else if(mutiflag==1){
//处理多选的情况
eval("checkFlag=myform.checkoptn"+str+".checked;");
if(obj.value.indexOf(str+",")==-1 && checkFlag){
//将该编号加入到选择字符串
if(obj.value==0) obj.value="";
obj.value = "" + obj.value;
obj.value = obj.value + str +",";
}else if(obj.value.indexOf(str+",")!=-1 && !checkFlag){
//将该编号从选择字符串中剔除
if(obj.value.length==(str.length+1)) {
obj.value=0;
return;
}
startPos = obj.value.indexOf(str+",");
endPos = startPos + str.length + 1;
obj.value = obj.value.substring(0,startPos) + obj.value.substring(endPos,obj.value.length);
}
}
}
//Trim,参数String
function trim(myStr)
{
var pos1=-1;
var pos2=-1;
for(var i=0;i<myStr.length;i++){
if(myStr.charAt(i)!=' ' && pos1<0) pos1=i;
if(myStr.charAt(myStr.length-i-1)!=' ' && pos2<0) pos2=myStr.length-i;
}
if(pos1<0 || pos2 <0) return("");
return(myStr.substring(pos1,pos2));
}
function checkItem(){
var checkValue=0;
var checkType=0;
for(var i=0;i<myform.itemlength.value;i++){
if (i != 2) {
eval("checkValue=myform.checkitem"+i+".value;");
} else {
checkValue = 1;
}
eval("checkType=myform.checkitemtype"+i+".value;");
if(checkType==2 && checkValue=="other"){
eval("checkValue=myform.comment"+i+".value;");
if(checkValue==null || trim(checkValue)==""){
alert("请您将调查问卷填写完全!\n谢谢!");
return (false);
}
}else if(checkType==2 && checkValue=="input"){
eval("checkValue=myform.comment"+i+".value;");
if(checkValue==null || trim(checkValue)==""){
alert("请您将调查问卷填写完全!\n谢谢!");
return (false);
}
}else if(checkType==3&& checkValue==0){
eval("checkValue=myform.comment"+i+".value;");
if(checkValue==null || trim(checkValue)==""){
alert("请您将调查问卷填写完全!\n谢谢!");
return (false);
}
}else if(checkValue==0){
alert("请您将调查问卷填写完全!\n谢谢!");
return (false);
}
}
return (true);
}
</script>
</HEAD>
<BODY>
<table width="80%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="154"><a href="http://www.baidu.com"><img src="http://www.baidu.com/img/logo-yy.gif" border="0"></a></td>
<td width="596" valign="bottom"><table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td class="Header">用户问卷调查</td>
</tr>
</table></td>
</tr>
</table>
<br>
<form name="myform" method="post" action="showwl.jsp" onsubmit="return checkItem();">
<input type=hidden name="direction" id="direction" value=""><table width="80%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr><td class="Title"><strong>百度无线调查</strong><br><Br><font color=red><b>请注意:回答此问卷的用户务必也是<u><font color=blue>手机</font></u>或者<u><font color=blue>小灵通</font></u>的使用者,谢谢!</font></b><br><br>尊敬的百度用户,您好!请您抽出几分钟的宝贵时间来完成此份关于手机上网情况的调查问卷。我们将从回答完整的网友中抽取<font color=red>2</font>位获得我们的大奖:<font color=blue><u>苹果iPod MP3</font></u>。另外,还会抽出<font color=red>10</font>位幸运网友获得<font color=blue><u>价值百元的百度纪念品</font></u>。<br><br>圣诞、新年将至,千万不要错过获得大奖的机会呀!</td></tr></table><table width="80%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#D3DDF0">
<tr><td class="Subject"><b>Q1. 请问您的手机是什么品牌的?<font color=blue>(手机优先,如果您没有手机,小灵通也可以。如果您的手机多于一部,请写您使用最多的那一部)</font><br></b><input type='hidden' value=0 id='checkitem0' name='checkitem0'><input type='hidden' value=0 id='checkitemtype0'><br><input type=radio name=item[1665] value=6161 onclick="checkIt(0,myform.checkitem0,'1')"> 摩托罗拉 <input type=radio name=item[1665] value=6162 onclick="checkIt(0,myform.checkitem0,'1')"> 诺基亚 <br><input type=radio name=item[1665] value=6163 onclick="checkIt(0,myform.checkitem0,'1')"> 三星 <input type=radio name=item[1665] value=6164 onclick="checkIt(0,myform.checkitem0,'1')"> 索尼爱立信<br><input type=radio name=item[1665] value=6165 onclick="checkIt(0,myform.checkitem0,'1')"> 西门子 <input type=radio name=item[1665] value=6166 onclick="checkIt(0,myform.checkitem0,'1')"> 多普达 <br><input type=radio name=item[1665] value=6167 onclick="checkIt(0,myform.checkitem0,'1')"> 松下 <input type=radio name=item[1665] value=6168 onclick="checkIt(0,myform.checkitem0,'1')"> NEC <br><input type=radio name=item[1665] value=6169 onclick="checkIt(0,myform.checkitem0,'1')"> 三菱 <input type=radio name=item[1665] value=6170 onclick="checkIt(0,myform.checkitem0,'1')"> LG <br><input type=radio name=item[1665] value=6171 onclick="checkIt(0,myform.checkitem0,'1')"> 联想 <input type=radio name=item[1665] value=6172 onclick="checkIt(0,myform.checkitem0,'1')"> TCL <br><input type=radio name=item[1665] value=6173 onclick="checkIt(0,myform.checkitem0,'1')"> 海尔 <input type=radio name=item[1665] value=6174 onclick="checkIt(0,myform.checkitem0,'1')"> 厦新 <br><input type=radio name=item[1665] value=6175 onclick="checkIt(0,myform.checkitem0,'1')"> 波导 <input type=radio name=item[1665] value=6176 onclick="checkIt(0,myform.checkitem0,'1')"> 康佳 <br><input type=radio name=item[1665] value=6177 onclick="checkIt(0,myform.checkitem0,'1')"> 迪比特 <input type=radio name=item[1665] value=6178 onclick="checkIt(0,myform.checkitem0,'1')"> UT斯达康 <br><input type=radio name=item[1665] value=6179 onclick="checkIt(0,myform.checkitem0,'1')"> 不同于上述的其他品牌 </td></tr>
<tr><td class="Subject"><b>Q3. 您是:<br></b><input type='hidden' value=0 id='checkitem1' name='checkitem1'><input type='hidden' value=0 id='checkitemtype1'><br><input type=radio name=item[1667] value=6186 onclick="checkIt(0,myform.checkitem1,'1')"> 全球通用户<br><input type=radio name=item[1667] value=6187 onclick="checkIt(0,myform.checkitem1,'1')"> 动感地带用户<br><input type=radio name=item[1667] value=6188 onclick="checkIt(0,myform.checkitem1,'1')"> 神州行用户<br><input type=radio name=item[1667] value=6189 onclick="checkIt(0,myform.checkitem1,'1')"> 联通GSM用户<br><input type=radio name=item[1667] value=6190 onclick="checkIt(0,myform.checkitem1,'1')"> 联通如意通用户<br><input type=radio name=item[1667] value=6191 onclick="checkIt(0,myform.checkitem1,'1')"> 联通CDMA用户<br><input type=radio name=item[1667] value=6192 onclick="checkIt(0,myform.checkitem1,'1')"> 小灵通用户<br><input type=radio name=item[1667] value=6193 onclick="checkIt(0,myform.checkitem1,'1')"> 不知道<br></td></tr>
<tr><td class="Subject"><b>Q4. 请问您的手机是否具有下述的这些功能?<font color=blue>[请注意:即使有些功能您没有使用过,但是如果您的手机具备此功能,也请勾选]</font> <br></b><input type='hidden' value=0 id='checkitem2' name='checkitem2'><input type='hidden' value=1 id='checkitemtype2'><br><input type=checkbox name=optn[6194] value=6194 id="checkoptn6194" onclick="checkIt(1,myform.checkitem2,'6194')"> 彩色屏幕<br><input type=checkbox name=optn[6195] value=6195 id="checkoptn6195" onclick="checkIt(1,myform.checkitem2,'6195')"> 彩信:可以发送和接收图像、声音片段、视频短片等多媒体内容<br><input type=checkbox name=optn[6196] value=6196 id="checkoptn6196" onclick="checkIt(1,myform.checkitem2,'6196')"> WWW上网<br><input type=checkbox name=optn[6197] value=6197 id="checkoptn6197" onclick="checkIt(1,myform.checkitem2,'6197')"> WAP上网<br><input type=checkbox name=optn[6198] value=6198 id="checkoptn6198" onclick="checkIt(1,myform.checkitem2,'6198')"> 电子邮件:通过移动电子邮件发送和接收较长的信息<br><input type=checkbox name=optn[6199] value=6199 id="checkoptn6199" onclick="checkIt(1,myform.checkitem2,'6199')"> 摄像头<br><input type=checkbox name=optn[6201] value=6201 id="checkoptn6201" onclick="checkIt(1,myform.checkitem2,'6201')"> MP3播放器<br><input type=checkbox name=optn[6202] value=6202 id="checkoptn6202" onclick="checkIt(1,myform.checkitem2,'6202')"> 配备数据线,可以从电脑向手机传送图片、音乐和程序等<br><input type=checkbox name=optn[6452] value=6452 id="checkoptn6452" onclick="checkIt(1,myform.checkitem2,'6452')"> 智能手机<br><input type=checkbox name=optn[6453] value=6453 id="checkoptn6453" onclick="checkIt(1,myform.checkitem2,'6453')"> 支持Java<br></td></tr>
<tr><td class="Subject"><b>Q5. 您手机的上网功能开通了吗?<br></b><input type='hidden' value=0 id='checkitem3' name='checkitem3'><input type='hidden' value=0 id='checkitemtype3'><br><input type=radio name=item[1669] value=6203 onclick="checkIt(0,myform.checkitem3,'1')"> 根本不能上网<br><input type=radio name=item[1669] value=6204 onclick="checkIt(0,myform.checkitem3,'1')"> 开通了/ 现在可以用<br><input type=radio name=item[1669] value=6205 onclick="checkIt(0,myform.checkitem3,'1')"> 没有开通<br><input type=radio name=item[1669] value=6451 onclick="checkIt(0,myform.checkitem3,'1')"> 开通过,后来取消了<br><input type=radio name=item[1669] value=6461 onclick="checkIt(0,myform.checkitem3,'1')"> 不太清楚,不太确定<br></td></tr>
</table>
<input type="hidden" name="pbid" value=0><input type="hidden" name="id" value=202><table width="80%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#D3DDF0"><tr align="center"><td class="Submit">
<input type="button" name="submit2" value="下一步" onclick="javascript:next()"><!-- <input type="button" name="view" value="返 回" onclick="window.location='../admin/index.jsp'">-->
<input type="hidden" name="itemlength" id="itemlength" value=4></td></tr>
</form></table>
<br>
<br>
<br>
</div>
</body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -