<!--#include file="../conn/conn_index.asp"-->
<!--#include file="../inc/char.asp"-->
<!--#include file="../inc/setup.asp"-->
<!--#include file="../inc/sql.asp"-->
<%
	end if

	id=ReplaceBadChar(int(Trim(Request.QueryString("id"))))
	if id="" then
		response.write"<SCRIPT language=JavaScript>alert('对不起，非法操作！');"
		response.write"javascript:window.close();</SCRIPT>"
		response.end 
	end if
	set rs=server.createobject("adodb.recordset")
	sql="select train_subject.*,train.train_name,train_subject_type.type_name from train_subject,train,train_subject_type where train_subject.id="&id&" and train_subject.tid=train.id and train_subject_type.id=train_subject.type_max"
	rs.open sql,conn,1,1
	shengid=rs("province")
	cityid=rs("city")
	areaid=rs("area")
	train_name=rs("train_name")
%>
<!--#include file="../inc/cityname.asp"-->
<!--#include file="../inc/shengname.asp"-->
<!--#include file="../inc/areaname.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>
<link rel="Shortcut Icon" href="/Images/favicon.ico">
<link rel="Bookmark" href="/Images/favicon.ico">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<TITLE><%= homename %>--培训信息--<%= train_name %></TITLE>
<meta name="Keywords" content="<%= webmeta %>">
<meta name="Description" content="<%= webmeta1 %>">
</script>
<style type="text/css">
<!--
.STYLE1 {font-weight: bold}
.mt { padding-top:10px;}
-->
</style>
<link href="/images/train/train.css" rel="stylesheet" type="text/css">
<SCRIPT LANGUAGE="JavaScript">
<!--
function checkuserinfo()
{
    if(document.userinfo.signup_mode.value==""){
		document.userinfo.signup_mode.focus();
    	alert("请选择类型！");
	return false;
  }
    if(document.userinfo.compellation.value=="") {
	document.userinfo.compellation.focus();
    alert("请输入您的姓名！");
	return false;
  }
   if(document.userinfo.phone.value=="") {
	document.userinfo.phone.focus();
    alert("对不起，请填写电话！");
	return false;
  }
   if(document.userinfo.email.value=="") {
	document.userinfo.email.focus();
    alert("对不起，请填写邮件！");
	return false;
  }
}
//-->
</script>
</HEAD>
<BODY topMargin=0 leftmargin="0" rightmargin="0">
<!--#include file="../top.asp"-->
<table width="974" border="0" align="center" cellpadding="4" cellspacing="0">
  <tr>
    <td width="120" height="6"><img src="/images/train/space.gif" width="1" height="1"></td>
  </tr>
</table>
<table width="974" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td width="16" bgcolor="#DDDDDD">&nbsp;</td>
    <td height="22" bgcolor="#DDDDDD"><img src="/images/train/arrow.gif" width="10" height="6">　当前位置： <a href="/train.asp">教育培训</a> &gt;&gt; <a href="index.html">培训机构</a> &gt;&gt; 培训课程</td>
  </tr>
  <tr>
    <td height="10" colspan="2"><img src="/images/train/space.gif" width="1" height="1"></td>
  </tr>
  <tr>
    <td colspan="2"><table width="100%" border="0" cellpadding="0" cellspacing="0" background="/images/train/rectangle_bg.gif">
      <tr>
        <td width="16"><img src="/images/train/rectangle_left.gif" width="9" height="35"></td>
        <td><img src="/images/train/train_bit.gif" width="5" height="15" align="absmiddle"> <%= rs("tsname") %>&nbsp;</td>
        <td width="6"><img src="/images/train/rectangle_right.gif" width="6" height="35"></td>
      </tr>
    </table></td>
  </tr>
</table>
<table width="974" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="8"><img src="/images/train/space.gif" width="1" height="1"></td>
  </tr>
</table>
<table width="974" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td valign="top"><table width="100%" border="0" cellpadding="2" cellspacing="1" bgcolor="#AFAFAF">
      <tr>
        <td bgcolor="#FFFFFF"><table width="96%" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr>
            <td height="26"><table width="100%" height="30" border="0" cellpadding="0" cellspacing="0">
              <tr>
                <td width="15%">发布学校：</td>
                <td><a href="index.html"><%=rs("train_name")%></a>&nbsp;</td>
              </tr>
            </table></td>
          </tr>
          <tr>
            <td height="1" background="/images/train/xuxian.gif"><img src="/images/train/space.gif" width="1" height="1"></td>
          </tr>
          <tr>
            <td><table width="100%" height="26" border="0" cellpadding="0" cellspacing="0">
              <tr>
                <td width="15%">所属类别： </td>
                <td width="35%"><%= rs("type_name") %></td>
                <td width="15%">开课地区：</td>
                <td><%= shengname %>--<%= cityname %>--<%= areaname %></td>
              </tr>
            </table></td>
          </tr>
          <tr>
            <td height="1" background="/images/train/xuxian.gif"><img src="/images/train/space.gif" width="1" height="1"></td>
          </tr>
          <tr>
            <td><table width="100%" height="26" border="0" cellpadding="0" cellspacing="0">
              <tr>
                <td width="15%">发布日期：</td>
                <td width="35%"><%=rs("setup")%>&nbsp;</td>
                <td width="15%">有效日期：</td>
                <td> <%=rs("lasttime")%>
                  &nbsp;</td>
              </tr>
            </table></td>
          </tr>
          <tr>
            <td height="1" background="/images/train/xuxian.gif"><img src="/images/train/space.gif" width="1" height="1"></td>
          </tr>
          <tr>
            <td><table width="100%" height="26" border="0" cellpadding="0" cellspacing="0">
              <tr>
                <td width="15%">课程报价：</td>
                <td width="35%"><%=rs("price")%>&nbsp;</td>
                <td><a href="#signup"><img src="/images/train/baoming.gif" width="74" height="23" border="0"></a> <img src="/images/train/tuijian.gif" width="74" height="23" style="display:none"> </td>
              </tr>
            </table></td>
          </tr>
          <tr>
            <td height="1" background="/images/train/xuxian.gif"><img src="/images/train/space.gif" width="1" height="1"></td>
          </tr>
        </table>
              <br>
              <table width="96%" border="0" align="center" cellpadding="0" cellspacing="0">
                <tr>
                  <td height="26"><img src="/images/train/train_bit.gif" width="5" height="15" align="absmiddle"> 详细信息 </td>
                </tr>
                <tr>
                  <td height="1" background="/images/train/xuxian.gif"><img src="/images/train/space.gif" width="1" height="1"></td>
                </tr>
                <tr>
                  <td height="8"><img src="/images/train/space.gif" width="1" height="1"></td>
                </tr>
                <tr>
                  <td><%=rs("introduction")%></td>
                </tr>
              </table>
          <br>
              <table width="96%" border="0" align="center" cellpadding="0" cellspacing="0">
                <tr>
                  <td height="26"><img src="/images/train/train_bit.gif" width="5" height="15" align="absmiddle"> 适用对象</td>
                </tr>
                <tr>
                  <td height="1" background="/images/train/xuxian.gif"><img src="/images/train/space.gif" width="1" height="1"></td>
                </tr>
                <tr>
                  <td height="8"><img src="/images/train/space.gif" width="1" height="1"></td>
                </tr>
                <tr>
                  <td><%=rs("object")%></td>
                </tr>
              </table>
          <br>
              <table width="96%" border="0" align="center" cellpadding="0" cellspacing="0">
                <tr>
                  <td height="26"><img src="/images/train/train_bit.gif" width="5" height="15" align="absmiddle"> 报名方式 </td>
                </tr>
                <tr>
                  <td height="1" background="/images/train/xuxian.gif"><img src="/images/train/space.gif" width="1" height="1"></td>
                </tr>
                <tr>
                  <td height="8"><img src="/images/train/space.gif" width="1" height="1"></td>
                </tr>
                <tr>
                  <td><%=rs("lxfs")%></td>
                </tr>
            </table></td>
      </tr>
    </table>
        <a name="signup"></a><br>
        <table width="100%" border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="#AFAFAF">
          <tr>
            <td bgcolor="#FFFFFF"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
                <tr>
                  <td><img src="/images/train/zxbaoming.gif" width="100" height="33"></td>
                </tr>
                <tr>
                  <td height="6"><img src="/images/train/spacer.gif" width="1" height="1"></td>
                </tr>
              </table>
			  <form action="/subject_list.asp?action=save" method="post" name="userinfo" onSubmit="return checkuserinfo()">
			  <input name="id" type="hidden" value="<%= id %>">
			  <input name="tid" type="hidden" value="<%= rs("tid") %>">
                <table width="100%" border="0" align="center" cellpadding="2" cellspacing="0">
                  <tr>
                    <td width="20" align="right"><font color="#FF0000">*</font></td>
                    <td width="50">类型：</td>
                    <td><input name="signup_mode" type="radio" value="1" checked>
                      报名
                      <input type="radio" name="signup_mode" value="2">
                      咨询</td>
                  </tr>
                  <tr>
                    <td align="right"><font color="#FF0000">*</font></td>
                    <td>姓名：</td>
                    <td><input name="compellation" type="text" class="INPUT" id="compellation" size="12"></td>
                  </tr>
                  <tr>
                    <td align="right"><font color="#FF0000">*</font></td>
                    <td>电话：</td>
                    <td><input name="phone" type="text" class="INPUT" id="phone"></td>
                  </tr>
                  <tr>
                    <td align="right"><font color="#FF0000">*</font></td>
                    <td>邮件：</td>
                    <td><input name="email" type="text" class="INPUT" id="email"></td>
                  </tr>
                  <tr>
                    <td>&nbsp;</td>
                    <td>地址：</td>
                    <td><input name="address" type="text" class="INPUT" id="address" size="50"></td>
                  </tr>
                  <tr>
                    <td>&nbsp;</td>
                    <td>邮编：</td>
                    <td><input name="postcode" type="text" class="INPUT" id="postcode" size="6"></td>
                  </tr>
                  <tr>
                    <td>&nbsp;</td>
                    <td>备注：</td>
                    <td><textarea name="content" cols="50" rows="6" class="textarea" id="content"></textarea></td>
                  </tr>
                  <tr>
                    <td>&nbsp;</td>
                    <td>&nbsp;</td>
                    <td><input name="imageField" type="image" src="/images/train/submit.gif" width="74" height="23" border="0" style="width:74;height:23;"></td>
                  </tr>
              </table>
			  </form>
		    </td>
          </tr>
      </table></td>
    <td width="6">&nbsp;</td>
    <td width="220" valign="top">
<iframe name="main" src="/subject_list.asp?id=<%= rs("tid") %>" width="220px" scrolling="no" height="805" frameborder="0"  style="text-align:left; padding:0px; margin:0px; border:0px;"></iframe></td>
  </tr>
</table>
<%
	rs.close
	set rs=nothing
%>
<!--#include file="../end.asp"-->
