61,817
社区成员




con=DB.ReturnConn();
title=Int32.Parse(Request.QueryString["t"].ToString());
voteoptin=DB.CR(title,con);
voteoptin=voteoptin.Replace("\"","'");
titleName= DB.voteTitle(title,con);
titleCount= DB.titleCount(title,con);
Response.Write("document.write(\"<form id=Form1 action=voteMain.aspx>\");");
Response.Write("document.write(\"<div align=left>\");");
Response.Write("document.write(\"<table border=0 cellspacing=1 cellpadding=3 bgcolor=#ffffff>\");");
Response.Write("document.write(\"<tr>\");");
Response.Write("document.write(\"<td nowrap><b>"+titleName+"</b></td>\");");
Response.Write("document.write(\"</tr>\");");
Response.Write("document.write(\"<tr>\");");
Response.Write("document.write(\"<td nowrap>"+voteoptin+"</td>\");");
Response.Write("document.write(\"</tr>\");");
Response.Write("document.write(\"<tr>\");");
Response.Write("document.write(\"<td nowrap><input type=submit value=投上一票 BackColor=White></td>\");");
Response.Write("document.write(\"</tr>\");");
Response.Write("document.write(\"<tr>\");");
Response.Write("document.write(\"<td nowrap><A onclick=javascript:window.open('result.aspx?t="+title+"','','width=402,height=200,top=300,left=350,resizable=yes,scrollbars=no,status=no,toolbar=no,menubar=no,location=no'); href=# >查看结果</A></td>\");");
Response.Write("document.write(\"</tr>\");");
Response.Write("document.write(\"<tr>\");");
Response.Write("document.write(\"<td nowrap>共有<font color=#ff0000>"+titleCount+"</font>人参加</td>\");");
Response.Write("document.write(\"</tr>\");");
Response.Write("document.write(\"<input type=hidden value="+Request["t"]+" name=t id=t>\");");
Response.Write("document.write(\"<input type=hidden value="+Request["s"]+" name=s id=s>\");");
Response.Write("document.write(\"</table>\");");
Response.Write("document.write(\"</div>\");");
Response.Write("document.write(\"</form>\");");