<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file="conn.asp"-->
<%if session("admin")<>"yes" then response.Redirect "msg.asp?id=2" end if%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>千纸鹤网络-动画频道</title>
<link href="main.css" rel="stylesheet" type="text/css">
</head>


<body topmargin="0">

<table width="760" height="518" border="0" align="center" cellpadding="0" cellspacing="0" background="images/bga.gif">
  <tr> 
    <td height="26" colspan="2" valign="middle">--&gt;<strong><font color="#CC6699">管理中心</font></strong></td>
  </tr>
  <tr> 
    <td width="178" valign="top"> 
      <table width="176" height="20" border="0" cellpadding="0" cellspacing="0">
        <tr> 
          <td width="11" height="20" background="images/bg_bar.gif"><img src="images/bg_bar.gif" width="10" height="21"></td>
          <td width="10" align="center" background="images/bg_bar.gif"><strong><img src="images/buy_icon.gif" width="5" height="5"></strong><font color="#FF0000">&nbsp;</font></td>
          <td width="155" background="images/bg_bar.gif"><strong>动画管理</strong></td>
        </tr>
      </table>
      <table width="176" height="143" border="1" cellpadding="0" cellspacing="0" bordercolor="#CCCCCC">
        <tr> 
          <td height="102" colspan="2" align="center" valign="top" bordercolor="#E8E8E8"> 
            <table width="100%" height="144" border="0" cellpadding="0" cellspacing="0">
              <tr> 
                <td height="25" align="center"><img src="images/box2_icon.gif" width="4" height="6"></td>
                <td height="25" valign="middle"><strong>添加动画</strong></td>
              </tr>
              <tr> 
                <td height="25" align="center"><img src="images/box2_icon.gif" width="4" height="6"></td>
                <td height="25" valign="middle"><strong>修改删除</strong></td>
              </tr>
              <tr> 
                <td height="25" align="center"><img src="images/box2_icon.gif" width="4" height="6"></td>
                <td height="25" valign="middle"><strong>增加分类</strong></td>
              </tr>
              <tr> 
                <td height="25" align="center"><img src="images/box2_icon.gif" width="4" height="6"></td>
                <td height="25" valign="middle"><strong>更改密码</strong></td>
              </tr>
              <tr> 
                <td width="29" height="25" align="center"><img src="images/box2_icon.gif" width="4" height="6"></td>
                <td width="143" height="25" valign="middle"><strong><a href="admin_save.asp?id=5">退出管理</a></strong></td>
              </tr>
            
            </table></td>
        </tr>
      </table>
      <table width="178" height="0" border="0" cellpadding="0" cellspacing="0">
        <tr> 
          <td><img src="images/blank.gif" width="5" height="10"></td>
        </tr>
      </table>
      <table width="176" height="20" border="0" cellpadding="0" cellspacing="0">
        <tr> 
          <td width="11" height="20" background="images/bg_bar.gif"><img src="images/bg_bar.gif" width="10" height="21"></td>
          <td width="10" align="center" background="images/bg_bar.gif"><strong><img src="images/buy_icon.gif" width="5" height="5"></strong><font color="#FF0000">&nbsp;</font></td>
          <td width="155" background="images/bg_bar.gif"><strong>其它管理</strong></td>
        </tr>
      </table>
      <table width="176" height="0" border="1" cellpadding="0" cellspacing="0" bordercolor="#CCCCCC">
        <tr> 
          <td colspan="2" align="center" valign="top" bordercolor="#E8E8E8"> <table width="100%" height="100" border="0" cellpadding="0" cellspacing="0">
              <tr> 
                <td height="25" align="center"><img src="images/box2_icon.gif" width="4" height="6"></td>
                <td height="25" valign="middle">　</td>
              </tr>
              <tr> 
                <td height="25" align="center"><img src="images/box2_icon.gif" width="4" height="6"></td>
                <td height="25" valign="middle">　</td>
              </tr>
              <tr> 
                <td height="25" align="center"><img src="images/box2_icon.gif" width="4" height="6"></td>
                <td height="25" valign="middle">　</td>
              </tr>
         
              <tr> 
                <td width="29" height="25" align="center"><img src="images/box2_icon.gif" width="4" height="6"></td>
                <td width="143" height="25" valign="middle">　</td>
              </tr>
             
            </table></td>
        </tr>
      </table></td>
    <td width="582" valign="top"> 
      <table width="580" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr> 
          <td width="10" background="images/bg_bar.gif"><img src="images/bg_bar.gif" width="10" height="21"></td>
          <td width="19" background="images/bg_bar.gif"><img src="images/t_else5.gif" width="19" height="19"></td>
          <td width="96" background="images/bg_bar.gif"><a href="list.asp?path=1"><strong>超级闪客秀</strong></a></td>
          <td width="19" background="images/bg_bar.gif"><img src="images/t_else5.gif" width="19" height="19"></td>
          <td width="94" background="images/bg_bar.gif"><strong><a href="list.asp?path=2">MV男歌手</a></strong></td>
          <td width="19" background="images/bg_bar.gif"><img src="images/t_else5.gif" width="19" height="19"></td>
          <td width="94" background="images/bg_bar.gif"><strong><a href="list.asp?path=3">MV女歌手</a></strong></td>
          <td width="19" background="images/bg_bar.gif"><img src="images/t_else5.gif" width="19" height="19"></td>
          <td width="95" background="images/bg_bar.gif"><strong><a href="list.asp?path=4">动画短片</a></strong></td>
          <td width="19" background="images/bg_bar.gif"><img src="images/t_else5.gif" width="19" height="19"></td>
          <td width="96" background="images/bg_bar.gif"><strong><a href="list.asp?path=5">FLASH游戏</a></strong></td>
        </tr>
        <tr> 
          <td colspan="11"><img src="images/blank.gif" width="5" height="8"></td>
        </tr>
      </table>
      <form name="form1" method="post" action="admin_save.asp?id=1">
        <table width="550" height="0" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr> 
            <td height="7" colspan="4"><img src="images/h_top.gif" width="550" height="7"></td>
          </tr>
          <tr> 
            <td width="7" height="0" rowspan="2" background="images/h_l.gif"><img src="images/h_l.gif" width="7" height="33"></td>
            <td width="19" height="5" bgcolor="#FFFFFF"><img src="images/item.gif" width="19" height="19"> 
            </td>
            <td width="517" bgcolor="#FFFFFF"><strong>动画管理-=&gt;<font color="#9966CC">添加</font></strong></td>
            <td width="7" height="0" rowspan="2" background="images/h_r.gif"><img src="images/h_r.gif" width="7" height="6"></td>
          </tr>
          <tr> 
            <td height="0" colspan="2"><table width="100%" height="158" border=1 align="center" cellpadding=3 cellspacing=0 
      bordercolorlight=#84b6de bordercolordark=#ffffff bgcolor=#ffffff >
                <tr> 
                  <td width="17%" height="26" align="right">名字：</td>
                  <td colspan="2"><input name="name" type="text" id="name" size="50" maxlength="50"></td>
                </tr>
                <tr> 
                  <td height="26" align="right" valign="top">图片地址：</td>
                  <td height="26" colspan="2" valign="top">
                  <input name="img" type="text" id="img" size="50"></td>
                </tr>
                <tr> 
                  <td height="26" align="right" valign="top">文件地址：</td>
                  <td height="26" colspan="2" valign="top"><input name="http" type="text" id="http" size="50"></td>
                </tr>
                <tr> 
                  <td height="13" align="right" valign="top">类别： </td>
                  <td height="13" colspan="2" valign="top"> <select name="pathid" id="pathid">
                      <option value="1" selected>超级闪客秀</option>
                      <option value="2"> MV男歌手 </option>
                      <option value="3"> MV女歌手 </option>
                      <option value="4"> 动画短片 </option>
                      <option value="5"> FLASH游戏 </option>
                    </select></td>
                </tr>
                <tr> 
                  <td height="13" align="right" valign="top">作者：</td>
                  <td width="38%" height="13" valign="top"><input name="marker" type="text" id="marker" value="来源网路" size="25" maxlength="50"></td>
                  <td width="45%" valign="top">Email:
                    <input name="markermail" type="text" id="markermail" value="没有找到" size="20"></td>
                </tr>
                <tr> 
                  <td height="13" align="right" valign="top">大小：</td>
                  <td height="13" colspan="2" valign="top">
                  <input name="size" type="text" id="size" value="1000" size="10">
                    k</td>
                </tr>
                <tr> 
                  <td height="13" align="right" valign="top">简介：</td>
                  <td height="13" colspan="2" valign="top"><textarea name="txt" cols="50" rows="5" id="txt">一个从网上找到的动画~</textarea></td>
                </tr>
                <tr> 
                  <td height="13" align="right" valign="top">是否推荐：</td>
                  <td height="13" colspan="2" valign="top">
                  <input type="radio" name="showhot" value="1" checked>
                    是 
                    <input name="showhot" type="radio" value="0">
                    否 </td>
                </tr>
                <tr align="center"> 
                  <td height="13" colspan="3" valign="top"><input type="submit" name="Submit" value="提交"></td>
                </tr>
              </table></td>
          </tr>
          <tr> 
            <td height="7" colspan="4"><img src="images/h_down.gif" width="550" height="7"></td>
          </tr>
        </table>
      </form>
      
      <form name="form2" method="post" action="admin_save.asp?id=2">
        <table width="550" height="0" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr> 
            <td height="7" colspan="4"><img src="images/h_top.gif" width="550" height="7"></td>
          </tr>
          <tr> 
            <td width="7" height="0" rowspan="2" background="images/h_l.gif"><img src="images/h_l.gif" width="7" height="33"></td>
            <td width="19" height="5" bgcolor="#FFFFFF"><img src="images/item.gif" width="19" height="19"> 
            </td>
            <td width="517" bgcolor="#FFFFFF"><strong>动画管理-=&gt;<font color="#9966CC">删除</font></strong></td>
            <td width="7" height="0" rowspan="2" background="images/h_r.gif"><img src="images/h_r.gif" width="7" height="6"></td>
          </tr>
          <tr> 
            <td height="0" colspan="2"><table width="100%" height="41" border=1 align="center" cellpadding=3 cellspacing=0 
      bordercolorlight=#84b6de bordercolordark=#ffffff bgcolor=#ffffff >
                <tr> 
                  <td width="14%" height="26" align="right">编号：</td>
                  <td width="86%"><input name="id" type="text" id="id" size="50" maxlength="50"></td>
                </tr>
                <tr align="center"> 
                  <td height="13" colspan="2" valign="top"><input type="submit" name="Submit2" value="提交"></td>
                </tr>
              </table></td>
          </tr>
          <tr> 
            <td height="7" colspan="4"><img src="images/h_down.gif" width="550" height="7"></td>
          </tr>
        </table>
      </form>
      <form name="form3" method="post" action="admin.asp?sort=marktwo">
        <table width="550" height="0" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr> 
            <td height="7" colspan="4"><img src="images/h_top.gif" width="550" height="7"></td>
          </tr>
          <tr> 
            <td width="7" height="0" rowspan="2" background="images/h_l.gif"><img src="images/h_l.gif" width="7" height="33"></td>
            <td width="19" height="5" bgcolor="#FFFFFF"><img src="images/item.gif" width="19" height="19"> 
            </td>
            <td width="517" bgcolor="#FFFFFF"><strong>动画管理-=&gt;<font color="#9966CC">修改</font></strong></td>
            <td width="7" height="0" rowspan="2" background="images/h_r.gif"><img src="images/h_r.gif" width="7" height="6"></td>
          </tr>
          <tr> 
            <td height="0" colspan="2"><table width="100%" height="41" border=1 align="center" cellpadding=3 cellspacing=0 
      bordercolorlight=#84b6de bordercolordark=#ffffff bgcolor=#ffffff >
                <tr> 
                  <td width="14%" height="26" align="right">编号：</td>
                  <td width="86%"><input name="id" type="text" id="id" size="50" maxlength="50"></td>
                </tr>
                <tr align="center"> 
                  <td height="13" colspan="2" valign="top"><input type="submit" name="Submit22" value="提交"></td>
                </tr>
              </table></td>
          </tr>
          <tr> 
            <td height="7" colspan="4"><img src="images/h_down.gif" width="550" height="7"></td>
          </tr>
        </table>
      </form>
<%
'如果是修改
if request.QueryString("sort")="marktwo" then
flashid=request.form("id")
Set rs = Server.CreateObject("ADODB.Recordset")
strSQL = "select * from flash where id like '"&flashid&"';"
rs.open strsql,strCon,1,3
%>
      <form name="form4" method="post" action="admin_save.asp?id=3">
        <table width="550" height="0" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr> 
            <td height="7" colspan="4"><img src="images/h_top.gif" width="550" height="7"></td>
          </tr>
          <tr> 
            <td width="7" height="0" rowspan="2" background="images/h_l.gif"><img src="images/h_l.gif" width="7" height="33"></td>
            <td width="19" height="5" bgcolor="#FFFFFF"><img src="images/item.gif" width="19" height="19"> 
            </td>
            <td width="517" bgcolor="#FFFFFF"><strong>动画管理-=&gt;<font color="#9966CC">修改二</font></strong></td>
            <td width="7" height="0" rowspan="2" background="images/h_r.gif"><img src="images/h_r.gif" width="7" height="6"></td>
          </tr>
          <tr> 
            <td height="0" colspan="2"><table width="100%" height="182" border=1 align="center" cellpadding=3 cellspacing=0 
      bordercolorlight=#84b6de bordercolordark=#ffffff bgcolor=#ffffff >
                <tr> 
                  <td width="13%" height="26" align="right">名字：</td>
                  <td colspan="2"><input name="name" type="text" id="name3" value="<%=rs("name")%>" size="50" maxlength="50"></td>
                </tr>
                <tr> 
                  <td height="26" align="right" valign="top">图片地址：</td>
                  <td height="26" colspan="2" valign="top"><input name="img" type="text" id="img3" value="<%=rs("img")%>" size="50" maxlength="50"></td>
                </tr>
                <tr> 
                  <td height="26" align="right" valign="top">文件地址：</td>
                  <td height="26" colspan="2" valign="top"><input name="http" type="text" id="http3" value="<%=rs("http")%>" size="50" maxlength="50"></td>
                </tr>
                <tr> 
                  <td height="13" align="right" valign="top">类别： </td>
                  <td height="13" colspan="2" valign="top"> <select name="pathid" id="pathid">
                      <option value="1" selected>超级闪客秀</option>
                      <option value="2"> MV男歌手 </option>
                      <option value="3"> MV女歌手 </option>
                      <option value="4"> 动画短片 </option>
                      <option value="5"> FLASH游戏 </option>
                    </select></td>
                </tr>
                <tr> 
                  <td height="13" align="right" valign="top">作者：</td>
                  <td width="41%" height="13" valign="top"><input name="marker" type="text" id="marker3" value="<%=rs("marker")%>" size="25" maxlength="50"></td>
                  <td width="46%" valign="top">Email: 
                    <input name="markermail" type="text" id="markermail" value="<%=rs("markermail")%>" size="20"></td>
                </tr>
                <tr> 
                  <td height="13" align="right" valign="top">大小：</td>
                  <td height="13" colspan="2" valign="top"><input name="size" type="text" id="size3" value="<%=rs("size")%>" size="10">
                    k</td>
                </tr>
                <tr> 
                  <td height="13" align="right" valign="top">简介：</td>
                  <td height="13" colspan="2" valign="top"><textarea name="txt" cols="50" rows="5" id="textarea2"><%=rs("txt")%></textarea></td>
                </tr>
                <tr> 
                  <td height="13" align="right" valign="top">是否推荐：</td>
                  <td height="13" colspan="2" valign="top">
                  <input type="radio" name="showhot" value="1" checked>
                    是 
                    <input name="showhot" type="radio" value="0">
                    否 
                    <input name="id" type="hidden" id="id" value="<%=rs("id")%>"></td>
                </tr>
                <tr align="center"> 
                  <td height="13" colspan="3" valign="top"><input type="submit" name="Submit3" value="提交"></td>
                </tr>
              </table></td>
          </tr>
          <tr> 
            <td height="7" colspan="4"><img src="images/h_down.gif" width="550" height="7"></td>
          </tr>
        </table>
      </form>
<%end if%>
	  </td>
  </tr>
</table>
      <div align="center">
        <center>
      <table width="761" height="20" border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111">
        <tr> 
          <td width="761" height="20" background="images/bg_bar.gif">
          　</td>
        </tr>
      </table>

        </center>
</div>

</body>
</html>