<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%><!--#include file="../../config.asp" -->
<!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="Content-Type" content="text/html; charset=gb2312" />
<title>问卷调用代码</title>
<link rel="stylesheet" href="../../inc/manage.css" type="text/css">
</head>

<body>
<!--#include file="menu_edit.asp"-->
<%
survey_id=request("survey_id")
survey_name=request("survey_name")
if not isNumeric(survey_id) then
	response.redirect ("index.asp")
end if
%>
<br />
<table width="96%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="28" colspan="2" bgcolor="#C1EBFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td width="90%">　<span class="head_03">问卷调用代码</span></td>
          <td width="10%"><a href="javascript:history.back();">返回</a></td>
        </tr>
      </table></td>
  </tr>
  <tr>
    <td height="8" colspan="2"></td>
  </tr>
  <tr>
    <td height="23" colspan="2" align="left">　　问　　卷：<span style="FONT-SIZE: 14px"><%=survey_name%></span></td>
  </tr>
  <tr>
    <td height="23" colspan="2" align="left">　　问卷地址：<a href="../../survey.asp?id=<%=survey_id%>" target="_blank"><%=WebUrl%>survey.asp?id=<%=survey_id%></a></td>
  </tr>
  <tr>
    <td width="7%" height="30" align="center" bgcolor="#C1EBFF"><span style="FONT-SIZE: 16px"><strong>1</strong></span></td>
    <td width="93%" bgcolor="#EBEBEB">调用方式一:<strong>发送网址</strong></td>
  </tr>
  <tr>
    <td rowspan="2" align="center">&nbsp;</td>
    <td height="42" align="left" valign="middle"><p><strong>说明：</strong>将问卷地址（网址）通过QQ、MSN等工具直接发送给受访者<br />
      <strong>代码：</strong>
      <label></label>
    </p>    </td>
  </tr>
  <tr>
    <td align="left" valign="middle"><label>
      <textarea name="textarea" id="textarea" cols="100" rows="3"><%=WebUrl%>survey.asp?id=<%=survey_id%></textarea>
    </label></td>
  </tr>
  <tr>
    <td height="6" colspan="2" align="center">&nbsp;</td>
  </tr>
  <tr>
    <td height="30" align="center" bgcolor="#C1EBFF"><span style="FONT-SIZE: 16px"><strong>2</strong></span></td>
    <td bgcolor="#EBEBEB">调用方式二:<strong>网址链接</strong></td>
  </tr>
  <tr>
    <td rowspan="2" align="center">&nbsp;</td>
    <td height="42" align="left" valign="middle"><p><strong>说明：</strong>将问卷链接于网页中，如论坛、博客、留言板、百度知道等网页<br />
      <strong>代码：</strong>
      <label></label>
    </p>    </td>
  </tr>
  <tr>
    <td align="left" valign="middle"><label>
      <textarea name="textarea" id="textarea" cols="100" rows="4"><a href='<%=WebUrl%>survey.asp?id=<%=survey_id%>'><%=survey_name%></a></textarea>
    </label></td>
  </tr>
  <tr>
    <td height="6" colspan="2" align="center">&nbsp;</td>
  </tr>
  <tr>
    <td height="30" align="center" bgcolor="#C1EBFF"><span style="FONT-SIZE: 16px"><strong>3</strong></span></td>
    <td bgcolor="#EBEBEB">调用方式三:<strong>嵌入网页</strong></td>
  </tr>
  <tr>
    <td rowspan="2" align="center">&nbsp;</td>
    <td height="42" align="left" valign="middle"><p><strong>说明：</strong>将问卷嵌入网页，使问卷内容成为网页的一部分，如网页页面、博客中<br />
      <strong>代码：</strong>
      <label></label>
    </p>    </td>
  </tr>
  <tr>
    <td align="left" valign="middle"><label>
      <textarea name="textarea" id="textarea" cols="100" rows="4"><iframe src='<%=WebUrl%>survey.asp?id=<%=survey_id%>' frameborder='0' marginheight='0' marginwidth='0' name='Survey_data100' id='Survey_data100' width='100%'></iframe></textarea>
    </label></td>
  </tr>
  <tr>
    <td height="6" colspan="2" align="center">&nbsp;</td>
  </tr>
  <tr>
    <td height="30" align="center" bgcolor="#C1EBFF"><span style="FONT-SIZE: 16px"><strong>4</strong></span></td>
    <td bgcolor="#EBEBEB">调用方式四:<strong>邮件发送</strong></td>
  </tr>
  <tr>
    <td rowspan="2" align="center">&nbsp;</td>
    <td height="42" align="left" valign="middle"><p><strong>说明：</strong>在电子邮件中加入此代码，使用电子邮件群发问卷邮件<br />
      <strong>代码：</strong>
      <label></label>
    </p>    </td>
  </tr>
  <tr>
    <td align="left" valign="middle"><label>
       <textarea name="textarea" id="textarea" cols="100" rows="4"><a href='<%=WebUrl%>survey.asp?id=<%=survey_id%>'><%=survey_name%></a></textarea>
    </label></td>
  </tr>
  <tr>
    <td height="6" colspan="2" align="center">&nbsp;</td>
  </tr>
  <tr>
    <td height="30" align="center" bgcolor="#C1EBFF"><span style="FONT-SIZE: 16px"><strong>5</strong></span></td>
    <td bgcolor="#EBEBEB">调用方式五:<strong>弹出窗口</strong></td>
  </tr>
  <tr>
    <td rowspan="2" align="center">&nbsp;</td>
    <td height="42" align="left" valign="middle"><p><strong>说明：</strong>将此代码放入网页中，实现弹出问卷窗口，此法可能会被浏览器屏蔽<br />
      <strong>代码：</strong>
      <label></label>
    </p>    </td>
  </tr>
  <tr>
    <td align="left" valign="middle"><label>
      <textarea name="textarea" id="textarea" cols="100" rows="5">
<script language='javascript' type='text/javascript'>window.open('<%=WebUrl%>survey.asp?id=<%=survey_id%>','G');</script></textarea>
    </label></td>
  </tr>
  <tr>
    <td height="6" colspan="2" align="center">&nbsp;</td>
  </tr>
</table>
</body>
</html>
