<!--#include file="../prohead.asp"-->
<script Language="JavaScript"> 
function info(mylink)
{
window.open(mylink,'','top=50,left=120,width=495,height=310,scrollbars=yes')
}
function FormCheck() 
{ 
var check=true;
for(var i=0;i<document.Form1.url.length;i++){
if (document.Form1.url[i].checked) {
check=false;
break;
} 
}
if (check){
alert("请选择网站模版样式！");
document.Form1.url[1].focus();
return false;
}
return true; 
document.Form1.submit()
} 
</script>

<%
dim totalPut 
dim CurrentPage
dim TotalPages
dim i,j
MaxPerPage=9
if Chkrequest(request("page")) then
currentPage=request("page")
else
currentPage=1
end if
dim rs
dim sql
set rs=server.createobject("adodb.recordset") 
sql="select * from mod"
rs.open sql,conn,1,1 
if rs.eof and rs.bof then 
response.write "<p align='center'>对不起，没有任何信息！</a></p>" 
else 
totalPut=rs.recordcount 
if currentpage<1 then 
currentpage=1 
end if 
if (currentpage-1)*MaxPerPage>totalput then 
if (totalPut mod MaxPerPage)=0 then 
currentpage= totalPut \ MaxPerPage 
else 
currentpage= totalPut \ MaxPerPage + 1 
end if 
end if 
if currentPage=1 then 
showContent totalput,MaxPerPage
showpage totalput,MaxPerPage,"webmod.asp"
else 
if (currentPage-1)*MaxPerPage<totalPut then 
rs.move (currentPage-1)*MaxPerPage 
dim bookmark 
bookmark=rs.bookmark 
showContent totalput,MaxPerPage
showpage totalput,MaxPerPage,"webmod.asp"
else 
currentPage=1 
showContent totalput,MaxPerPage
showpage totalput,MaxPerPage,"webmod.asp"
end if 
end if 
rs.close 
end if 
set rs=nothing
sub showContent (totalput,MaxPerPage)
%>
<TABLE cellSpacing=0 cellPadding=0 width=778 border=0>
  <TBODY>
  <TR>
    <TD vAlign=top align=middle width=150>
      <SCRIPT LANGUAGE='JavaScript' SRC='../images/left.js' TYPE='text/javascript'></script>

      <TABLE cellSpacing=0 cellPadding=0 width=150 border=0>
        <TBODY>
        <TR>
          <TD vAlign=top align=middle width=150 
          background=../images/leftmanu_bg.gif>
            <TABLE cellSpacing=0 cellPadding=0 width=150 border=0>
              <TBODY>
              <TR>
                <TD width=150 
                  background=../images/leftmanu_topbg.gif><IMG height=30 
                  src="../images/leftmanu_top.gif" 
              width=150></TD></TR></TBODY></TABLE>
            <TABLE cellSpacing=0 cellPadding=0 width=150 border=0>
              <TBODY>
              <TR>
                <TD class=leftmenu1 
                onclick="location.href='../index.asp'"><IMG 
                  height=18 src="../images/leftmanu_home.gif" width=16 
                  align=absMiddle> 商务助手首页</TD></TR><TR>
                <TD class=leftmenu1 
                onclick=javascript:menu_display(table1,img1);><IMG id=img1 
                  height=16 src="../images/fold_2.gif" width=16 
                  align=absMiddle> 发布商业信息</TD></TR>
              <TBODY id=table1><!-- 正常情况下  -->
              <TR>
                      <TD class=leftmenu2><IMG src="../images/plus.gif"> <A 
                  class=linkstyle2 
                  href="../tradeinfo/add_info.asp">发布供求信息</A> </TD>
                    </TR><!-- 正常情况下  -->
              <TR>
                      <TD class=leftmenu2><IMG src="../images/plus.gif"> <A 
                  class=linkstyle2 
                  href="../tradeinfo/edit.asp">管理供求信息</A> </TD>
                    </TR><!-- 正常情况下  -->
			  <TR>
                      <TD class=leftmenu2><IMG src="../images/plus.gif"> <A 
                  class=linkstyle2 
                  href="../productshow/add_product.asp">发布产品信息</A> </TD>
                    </TR><!-- 正常情况下  -->
			   <TR>

                      <TD class=leftmenu2><IMG src="../images/plus.gif"> 

					  <A 

                  class=linkstyle2 

                  href="../productshow/edit.asp">管理产品信息</A></TD>

                    </TR><!-- 正常情况下  --><TR>
                      <TD class=leftmenu2><IMG src="../images/plus.gif"> <A 
                  class=linkstyle2 
                  href="../modify/modify_mine.asp">展会信息管理</A> </TD>
                    </TR>



              



              <TR>
                      <TD class=leftmenu2><IMG src="../images/plus.gif"> <A 
                  class=linkstyle2 
                  href="../corporation/company_edit.asp">公司介绍</A></TD>
                    </TR><!-- 正常情况下  -->
					<TR>
                      <TD class=leftmenu2><IMG src="../images/plus.gif"> <A 
                  class=linkstyle2 
                  href="../bizre/index.asp">商贸通档案</A></TD>
                    </TR><!-- 正常情况下  --></TBODY>
              <TBODY>
              <TR>
                <TD class=leftmenu1 onclick=menu_display(table2,img2)><IMG 
                  id=img2 height=16 src="../images/fold_2.gif" width=16 
                  align=absMiddle> 查看商业往来</TD></TR>
              <TBODY id=table2><!-- 正常情况下  -->
               <TR>
                      <TD class=leftmenu2><IMG src="../images/plus.gif"> <A 
                  class=linkstyle2 
                  href="../getprice/receivemessagelist.asp">我收到的留言</A> </TD>
                    </TR>
              <TR>
                      <TD class=leftmenu2><IMG src="../images/plus.gif"> <A 
                  class=linkstyle2 
                  href="../getprice/sendmessagelist.asp">我发出的留言</A> </TD>
                    </TR>
					              <TR>
                      <TD class=leftmenu2><IMG src="../images/plus.gif"> <A 
                  class=linkstyle2 
                  href="../getprice/sendnewmessage.asp">发新留言</A> </TD>
                    </TR><!-- 正常情况下  -->
              <TR>
                      <TD class=leftmenu2><IMG src="../images/plus.gif"> <A 
                  class=linkstyle2 
                  href="../myemail/index.asp">我订阅的信息</A></TD>
                    </TR><!-- 正常情况下  -->
              <TR>

                      <TD class=leftmenu2><IMG src="../images/plus.gif"> <A 

                  class=linkstyle2 

                  href="../myfriend/index.asp">我的商业伙伴</A> </TD>

                    </TR><TR>

                      <TD class=leftmenu2><IMG src="../images/plus.gif"> <A 

                  class=linkstyle2 

                  href="../trust/index.asp">会员评价</A> </TD>

                    </TR></TBODY>
              
              <TR>
                    <TD class=leftmenu1 onclick=menu_display(table3,img3)><IMG 
                  id=img3 height=16 src="../images/fold_1.gif" width=14 
                  align=absMiddle> 我的会员资料</TD>
                  </TR>
              <TBODY id=table3 style="DISPLAY: none"><!-- 正常情况下  -->
              <TR>
                      <TD class=leftmenu2><IMG src="../images/plus.gif"> <A 
                  class=linkstyle2 
                  href="../modify/modify_info.asp">修改注册信息</A> </TD>
                    </TR><!-- 正常情况下  -->
              <TR>
                      <TD class=leftmenu2><IMG src="../images/plus.gif"> <A 
                  class=linkstyle2 
                  href="../modify/modify_pass.asp">修改密码</A> </TD>
                    </TR><!-- 正常情况下  -->
                    <TD class=leftmenu1 onclick=menu_display(table4,img4)><IMG 
                  id=img4 height=16 src="../images/fold_1.gif" width=14 
                  align=absMiddle> 我的自助网站</TD>
                  </TR>
              <TBODY id=table4 style="DISPLAY: none">
              <TR>
                   <TD class=leftmenu3 height=29><IMG src="../images/minus.gif"> 
					  <A 
                  class=linkstyle3 
                  href="webmod.asp"><STRONG>网站模板选择</STRONG></a> <IMG src="../images/now.gif"></TD>
                    </TR>
              <TR>
                      <TD class=leftmenu2><IMG src="../images/plus.gif"> <A 
                  class=linkstyle2 
                  href="cimg_add.asp?id=<%=session("id")%>">上传公司图片</A> </TD>
                    </TR>
              <TR>
                      <TD class=leftmenu2><IMG src="../images/plus.gif"> <A 
                  class=linkstyle2 
                  href="../feedback/contact_edit.asp?id=<%=session("id")%>">客户反馈管理</A></TD>
                    
                    </TR>
              <TR>
                      <TD class=leftmenu2><IMG src="../images/plus.gif"> <A 
                  class=linkstyle2 
                  href="../work/work.asp">发布招聘信息</A></TD>
                    </TR>
			  <TR>
                      <TD class=leftmenu2><IMG src="../images/plus.gif"> <A 
                  class=linkstyle2 
                  href="../work/edit.asp">管理招聘信息</A></TD>
                    </TR>
              <TR>
                      <TD class=leftmenu2><IMG src="../images/plus.gif"> <A 
                  class=linkstyle2 
                  href="../../companyweb.asp" 
                  target=_blank>浏览我的网站</A></TD>
                    </TR></TBODY>
              <TBODY>
              <TR>
                <TD class=leftmenu1 
                onclick="javascript:window.open('../../help/index.asp')"><IMG 
                  id=img5 src="../images/leftmenu_help.gif" 
                  align=absMiddle> 帮助</TD></TR></TBODY></TABLE>
            <IMG height=6 
            src="../images/leftmanu_bottom.gif" width=150><BR><BR>
            
            <!--#include file="../guestsubmit.asp"-->
            <BR><BR></TD></TR>
        </TABLE><BR><BR><BR></TD>
    <TD 
    style="BACKGROUND-POSITION: right 50%; BACKGROUND-IMAGE: url(i../mages/bg1.gif); BACKGROUND-REPEAT: repeat-y; BACKGROUND-COLOR: #ffffff" 
    vAlign=top align=middle width=628>
      <TABLE cellSpacing=0 cellPadding=0 width=628 border=0>
        <TBODY>
        <TR>
          <TD width=459><IMG height=30 
            src="../images/leftmanu_top1.gif" width=459></TD>
          <TD vAlign=top width=141 
          background=../images/top_nav_bg2.gif></TD>
          <TD width=28><IMG height=30 src="../images/top_nav_5.gif" 
            width=28></TD></TR></TBODY></TABLE><BR>
      <TABLE cellSpacing=0 cellPadding=0 width=578 border=0>
        <TBODY>
        <TR>
              <TD><IMG height=32 src="../images/webmod.gif" width=578 
            border=0></TD>
            </TR></TBODY></TABLE>
      <TABLE class=content_border cellSpacing=0 cellPadding=0 width=578 
border=0>
        <TBODY>
        <TR>
          <TD align=middle>
		  
<FORM method="POST" action="mod_save.asp" name="Form1" onsubmit="return FormCheck();">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber10" height="216">
<tr>
<FONT face=宋体>
<TD style="font-family: 宋体; font-size: 9pt; line-height: 13pt; letter-spacing: 0pt" colspan="3" width="100%" height="42">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber12">
<tr>
<TD align=left height="25" width="241">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="108%" id="AutoNumber4" height="24">
<tr>
<td width="100%" height="24" style="color: #000; font-family: 宋体; font-size: 12px" background="../images/bg12.gif">
 <b>&nbsp;网站模版选择</B></td>
</tr>
</table>
</TD>
</tr>
</table>
</TD>
</FONT>
</tr>
<tr>
<FONT face=宋体>
<%do while not rs.eof%>
<TD height="1" style="font-family: 宋体; font-size: 9pt; line-height: 13pt; letter-spacing: 0pt" width="183">
<center>
<TABLE border=2 borderColorDark=#660000 
borderColorLight=#660000 cellPadding=0 cellSpacing=0 
height=90 width=160 style="border-collapse: collapse; font-family:宋体; font-size:9pt" bordercolor="#111111">
<TBODY>
<TR>
<TD align=middle height=77 
onmouseout="this.style.backgroundColor =''" 
onmouseover="this.style.backgroundColor ='#0033FF'" width="158" style="font-family: 宋体; font-size: 9pt; line-height: 13pt; letter-spacing: 0pt">
<FONT face=宋体>
<a href="javascript:info(&quot;<%=rs("src")%>&quot;)">
<IMG border=0 height=110 
src="<%=rs("src")%>" 
style="CURSOR: hand" width=150></a></FONT></TD></TR>
<TR bgColor=#c33313>
<TD align=middle height=22 width="158" style="font-family: 宋体; font-size: 9pt; line-height: 13pt; letter-spacing: 0pt">
<INPUT class=f11 name=url type=radio value="company/<%=rs("typename")%>/index.asp?id=<%=session("id")%>"><a href="javascript:info(&quot;<%=rs("src")%>&quot;)" style="text-decoration: none"><font color="#F2F2F2"><%=rs("type1")%></font></a></TD></TR></TBODY></TABLE>
</center>

<TABLE style="font-family: 宋体; font-size: 9pt">
<TBODY>
<TR>
<TD align=middle height=8 style="font-family: 宋体; font-size: 9pt; line-height: 13pt; letter-spacing: 0pt"></TD></TR></TBODY></TABLE>
<TD height="1" style="font-family: 宋体; font-size: 9pt; line-height: 13pt; letter-spacing: 0pt" width="174">

<TABLE align="center" border=2 borderColorDark=#660000 
borderColorLight=#660000 cellPadding=0 cellSpacing=0 
height=90 width=160 style="border-collapse: collapse; font-family:宋体; font-size:9pt" bordercolor="#111111">
<TBODY>
<%rs.movenext %>
<TR>
<TD align=middle height=77 
onmouseout="this.style.backgroundColor =''" 
onmouseover="this.style.backgroundColor ='#0033FF'" style="font-family: 宋体; font-size: 9pt; line-height: 13pt; letter-spacing: 0pt" width="155">
<FONT face=宋体>
<a href="javascript:info(&quot;<%=rs("src")%>&quot;)">
<IMG border=0 height=110 
src="<%=rs("src")%>" 
style="CURSOR: hand" width=150></a></FONT></TD></TR>
<TR bgColor=#c33313>
<TD align=middle height=22 style="font-family: 宋体; font-size: 9pt; line-height: 13pt; letter-spacing: 0pt"> 
<FONT face=宋体>
<INPUT class=f11 name=url type=radio value="company/<%=rs("typename")%>/index.asp?id=<%=session("id")%>"><a href="javascript:info(&quot;<%=rs("src")%>&quot;)" style="text-decoration: none"><font color="#F2F2F2"><%=rs("type1")%></font></a>
</FONT>
</TD></TR></TBODY></TABLE>

<TABLE style="font-family: 宋体; font-size: 9pt">
<TBODY>
<TR>
<TD align=middle height=8 style="font-family: 宋体; font-size: 9pt; line-height: 13pt; letter-spacing: 0pt"></TD></TR></TBODY></TABLE></TD>
<TD height="1" style="font-family: 宋体; font-size: 9pt; line-height: 13pt; letter-spacing: 0pt" width="181">

<TABLE align="center" border=2 borderColorDark=#660000 
borderColorLight=#800000 cellPadding=0 cellSpacing=0 
height=90 width=160 style="border-collapse: collapse; font-family:宋体; font-size:9pt" bordercolor="#111111">
<TBODY>
<%rs.movenext %>
<TR>
<TD align=middle height=77 
onmouseout="this.style.backgroundColor =''" 
onmouseover="this.style.backgroundColor ='#0033FF'" style="font-family: 宋体; font-size: 9pt; line-height: 13pt; letter-spacing: 0pt">
<FONT face=宋体>
<a href="javascript:info(&quot;<%=rs("src")%>&quot;)">
<IMG border=0 height=110 
src="<%=rs("src")%>" 
style="CURSOR: hand" width=150></a></FONT>
</TD></TR>
<TR bgColor=#c33313>
<TD align=middle height=22 style="font-family: 宋体; font-size: 9pt; line-height: 13pt; letter-spacing: 0pt"> 
<FONT face=宋体>
<INPUT class=f11 name=url type=radio value="company/<%=rs("typename")%>/index.asp?id=<%=session("id")%>"><a href="javascript:info(&quot;<%=rs("src")%>&quot;)" style="text-decoration: none"><font color="#F2F2F2"><%=rs("type1")%></font></a>
</FONT>
</TD></TR></TBODY></TABLE>

<TABLE style="font-family: 宋体; font-size: 9pt">
<TBODY>
<TR>
<TD align=middle height=8 style="font-family: 宋体; font-size: 9pt; line-height: 13pt; letter-spacing: 0pt"></TD></TR></TBODY></TABLE></TD>
</FONT>
</tr>
<% x=x+3
if x>=MaxPerPage then exit do
rs.movenext 
loop 
rszs.close 
set rszs=nothing 
%>
<tr>
<%
END SUB
Function showpage(totalnumber,maxperpage,filename) 
dim n 
if totalnumber mod maxperpage=0 then 
n= totalnumber \ maxperpage 
else 
n= totalnumber \ maxperpage+1 
end if 
if CurrentPage<2 then 
response.write "<center>" 
response.write "<table border=0 width=97% cellspacing=0 cellpadding=0>" 
response.write "<tr height=10>"
response.write "<td align=left>"
response.write "共<font color=#CC3300><b>"&n&"</b></font>页&nbsp;第<font color=#CC3300><b>"&CurrentPage&"</b></font>页&nbsp;共有<font color=#CC3300><b>"&totalnumber&"</b></font>个网站模板</td>" 
response.write "<td align=right>"
response.write "【最前页】【上一页】" 
else
response.write "<center>" 
response.write "<table border=0 width=97% cellspacing=0 cellpadding=0>"
response.write "<tr height=10>"
response.write "<td align=left>"
response.write "共<font color=#CC3300><b>"&n&"</b></font>页&nbsp;第<font color=#CC3300><b>"&CurrentPage&"</b></font>页&nbsp;共有<font color=#CC3300><b>"&totalnumber&"</b></font>个网站模板</td>" 
response.write "<td align=right>"
response.write "【<a href="&filename&"?page=1>最前页</a>】" 
response.write "【<a href="&filename&"?page="&CurrentPage-1&">上一页</a>】&nbsp;" 
end if 
if n-currentpage<1 then 
response.write "【下一页】【最后页】" 
else 
response.write "【<a href="&filename&"?page="&(CurrentPage+1)&">" 
response.write "下一页</a>】【<a href="&filename&"?page="&n&">最后页</a>】" 
end if 
response.write "</td>"
response.write "</tr>"
response.write "</table>"
end function
rs.close 
set rs=nothing
%>
</tr>
<tr>
<TD height="1" style="font-family: 宋体; font-size: 9pt; line-height: 13pt; letter-spacing: 0pt" colspan="3" width="100%">
<FONT face=宋体>
<p align="center">
<br>
<input type="button" value="返回" onclick=javascript:history.go(-1)>
<input type="submit" value="下一步&gt;&gt;"></FONT></TD>
</tr>
</table></form><BR>
   
            <BR><BR></TD></TR></TBODY></TABLE></TD></TR>
  </TABLE><IMG 
height=10 src="../images/bottom.gif" width=778><BR>
<!--#include file="../end.asp"-->
<%

conn.close
set conn=nothing
%>