<?php
include("admin.php");
$rs=mysql_query("SELECT * FROM `dj_setting`");
$rw=mysql_fetch_assoc($rs);

?>
<html>
<head>
<title>新艺点音乐工作室-管理面版  </title>
<meta name="description" content="新艺点音乐工作室">
<meta name="keywords" content="新艺点音乐工作室">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="../images/admin/Css.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
.style1 {color: #FF0000}
-->
</style>
</head>
<body >
<center>
  <table width="100%" border="0" cellspacing="0" cellpadding="0">
    <!--DWLayoutTable-->
    <tr> 
      <td width="992" height="30" background="../images/admin/Mypic_top15.gif"><table width="96%" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr> 
            <td>&nbsp;</td>
          </tr>
        </table></td>
    </tr>
    <tr> 
      <td height="417" valign="top"><table width="100%" border="0" cellspacing="4" cellpadding="0">
          <!--DWLayoutTable-->
          <tr> 
            <td width="984" height="409" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="1" bordercolor="#666666" bgcolor="#666666">
                <!--DWLayoutTable-->
                <tr> 
                  <td width="978" height="26" bordercolor="#666666" bgcolor="#666666"> <table width="96%" border="0" align="center" cellpadding="0" cellspacing="0">
                      <tr> 
                        <td>网站 
                          基本设置</td>
                      </tr>
                  </table></td>
                </tr>
                <tr> 
                  <td height="377" valign="top" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="4" cellpadding="0">
                      <!--DWLayoutTable-->
                      <tr>
                        <td width="970" height="372" valign="top"><table width="100%" border="0" align="center" cellpadding="4" cellspacing="1" bgcolor="#EBEBEB" class="tableoutline">
                            <!--DWLayoutTable-->
                            <form action="admin_setting_ins.php"  method="post" name="setting" onSubmit="return validator(this)">
                              <tr nowrap bgcolor="#F5F5F5" class="firstalt"> 
                                <td colspan="2" bgcolor="#CCCCCC"><strong>网站基本设置<b>：</b></strong></td>
                              </tr>
                              <tr nowrap bgcolor="#FFFFFF" class="firstalt"> 
                                <td width="453"><b>网站标题</b><br></td>
                                <td width="498"> <input name="title_name"  type="text" id="c_app_name2" value="<?=$rw['title_name'];?>" size="35" maxlength="50" valid="required" errmsg="不能为空!"> 
                                  <span id="errMsg_c_app_name" class="errmsg"></span>                                </td>
                              </tr>
                              <tr nowrap bgcolor="#FFFFFF" class="secondalt"> 
                                <td><b>主页地址</b><br>
                                  <font color="#666666">DJ系统主页地址'</font><span class="style1">不带http://</span><font color="#666666">'</font></td>
                                <td> <input name="title_home"  type="text" id="title_home" value="<?=$rw['title_home'];?>" size="35" maxlength="50" valid="required" errmsg="不能为空!"> 
                                  <span id="errMsg_c_app_home" class="errmsg"></span>                                </td>
                              </tr>
                              <tr nowrap bgcolor="#FFFFFF" class="firstalt"> 
                                <td><b>网站描述</b><br>
                                <font color="#666666">网站描述 description</font></td>
                                <td> <input name="title_description"  type="text" id="title_description" value="<?=$rw['title_description'];?>" size="35" maxlength="50" valid="required" errmsg="不能为空!"> 
                                  <span id="errMsg_c_app_dir" class="errmsg"></span>                                </td>
                              </tr>
                              <tr bgcolor="#FFFFFF" class="firstalt"> 
                                <td valign="top"><b>关键字</b><br>
                                  <font color="#666666">关键字 keywords</font></td>
                                <td> <input name="title_keywords"  type="text" id="title_keywords" value="<?=$rw['title_keywords'];?>" size="35" maxlength="100" valid="required"  errmsg="不能为空!"> 
                                  <span id="errMsg_c_app_skin" class="errmsg"></span>                                </td>
                              </tr>
                              <tr nowrap bgcolor="#FFFFFF" class="secondalt"> 
                                <td><b>站长QQ</b><br></td>
                                <td> <input name="title_qq"  type="text" id="title_qq" value="<?=$rw['title_qq'];?>" size="35" maxlength="100" >                                </td>
                              </tr>
                              <tr nowrap bgcolor="#FFFFFF" class="secondalt"> 
                                <td><b>站长</b><br></td>
                                <td> <input name="title_admin"  type="text" id="title_admin" value="<?=$rw['title_admin'];?>" size="35" maxlength="50" >                                </td>
                              </tr>
                              <tr nowrap bgcolor="#FFFFFF" class="secondalt"> 
                                <td><b>站长Email</b><br></td>
                                <td> <input name="title_email"  type="text" id="title_email" value="<?=$rw['title_email'];?>" size="35" maxlength="50" valid="isEmail" errmsg="格式不对!"> 
                                  <span id="errMsg_c_app_email" class="errmsg"></span>                                </td>
                              </tr>
                              <tr nowrap bgcolor="#FFFFFF" class="secondalt"> 
                                <td><strong>版权信息</strong></td>
                                <td> <textarea name="title_num" cols="80" id="title_num" valid="required" errmsg="不能为空!"><?=$rw['title_num'];?></textarea> 
                                  <span id="errMsg_c_list_num" class="errmsg"></span>                                </td>
                              </tr>
                              <tr bgcolor="#F5F5F5" class="tbcat" id="cat"> 
                                <td height="23" valign="top"><strong>备案信息</strong> <br></td>
                                <td rowspan="2" valign="top"> <input name="title_icp"  type="text" id="title_icp" value="<?=$rw['title_icp'];?>" size="35" maxlength="50" valid="required" errmsg="不能为空!"> 
                                <span id="errMsg_c_water_pos" class="errmsg"></span>                                </td>
                              </tr>
                              <tr bgcolor="#F5F5F5" class="tbcat" id="cat">
                                <td height="2"></td>
                              </tr>
                              <tr bgcolor="#F5F5F5" class="tbcat" id="cat">
                                <td height="29" colspan="2" align="center" valign="top"> <input class="bginput" type="submit" name="submit" value=" 提交 " > 
                                  <input class="bginput" type="reset" name="Input" value=" 重置 " >
                                  <input name="id" type="hidden" id="id" value="<?=$rw['id'];?>"></td>
                              </tr>
                            </form>
                        </table></td>
                      </tr>
                                                        </table></td>
                </tr>
                                      </table></td>
          </tr>
                    </table></td>
    </tr>
  </table>
  Powered by: <a href="http://bbs.ewliao.cn" target="_blank">newyidian.com</a> 
</center>
</body>
</html>