<?php include '../database.php'; ?>
<style type="text/css">
   body{margin-left: 0px;	margin-top: 0px;	margin-right: 0px;	margin-bottom: 0px;	background-color: #F8F9FA;}
</style>
<script src="../js/jquery.js" type="text/javascript"></script>
<script src="../js/inputdanji.js" type="text/javascript"></script>
<link href="../css/skin.css" rel="stylesheet" type="text/css" />
<body>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td width="17" height="29" valign="top" background="../images/mail_leftbg.gif"><img src="../images/left-top-right.gif" width="17" height="29" /></td>
    <td width="935" height="29" valign="top" background="../images/content-bg.gif"><table width="100%" height="31" border="0" cellpadding="0" cellspacing="0" class="left_topbg" id="table2">
      <tr>
        <td height="31"><div class="titlebt">基本设置</div></td>
      </tr>
    </table></td>
    <td width="16" valign="top" background="../images/mail_rightbg.gif"><img src="../images/nav-right-bg.gif" width="16" height="29" /></td>
  </tr>
  <tr>
    <td height="71" valign="middle" background="../images/mail_leftbg.gif">&nbsp;</td>
    <td valign="top" bgcolor="#F7F8F9"><table width="100%" height="138" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td height="13" valign="top">&nbsp;</td>
      </tr>
      <tr>
        <td valign="top"><table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr>
            <td class="left_txt">当前位置：基本设置</td>
          </tr>
          <tr>
            <td height="20"><table width="100%" height="1" border="0" cellpadding="0" cellspacing="0" bgcolor="#CCCCCC">
              <tr>
                <td></td>
              </tr>
            </table></td>
          </tr>
          <tr>
            <td><table width="100%" height="55" border="0" cellpadding="0" cellspacing="0">
              <tr>
                <td width="10%" height="55" valign="middle"><img src="../images/title.gif" width="54" height="55"></td>
                <td width="90%" valign="top"><span class="left_txt2">在这里，您可以根据您的网站要求，修改设置网站的</span><span class="left_txt3">基本参数</span><br>
                          <span class="left_txt2">包括</span><span class="left_txt3">网站名称，网址，网站备案号，联系方式，关键词</span><span class="left_txt2">。 </span></td>
              </tr>
            </table></td>
          </tr>
          <tr>
            <td>&nbsp;</td>
          </tr>
          <tr>
            <td><table width="100%" height="31" border="0" cellpadding="0" cellspacing="0" class="nowtable">
              <tr>
                <td class="left_bt2">&nbsp;&nbsp;&nbsp;&nbsp;系统参数设置</td>
              </tr>
            </table></td>
          </tr>
          <tr>
            <td>
            	<table width="100%" border="0" cellspacing="0" cellpadding="0" id="idtable">
			        <form name="idform1" id="idform1" method="POST" action="../submit_form_process.php?id=<?=$defaultxinxi[0]?>" enctype="multipart/form-data">
              <tr>
                <td width="20%" height="30" align="right" bgcolor="#f2f2f2" class="left_txt2">设定网站名称：</td>
                <td width="3%" bgcolor="#f2f2f2">&nbsp;</td>
                <td width="32%" height="30" bgcolor="#f2f2f2">
                	<input name="inputuser" type="text" id="inputuser" size="30" value="<?=$defaultxinxi[1]?>"/>
                </td>
                <td width="45%" height="30" bgcolor="#f2f2f2" class="left_txt">网站名称</td>
              </tr>
              <tr>
                <td width="20%" height="30" align="right" bgcolor="#f2f2f2" class="left_txt2">设置网站logo：</td>
                <td width="3%" bgcolor="#f2f2f2">&nbsp;</td>
                <td width="32%" height="30" bgcolor="#f2f2f2">
                	<input type='text' name='textlogo' id='textlogo' size="30" value="<?=$defaultxinxi[10]?>"/> <input type='button' value='浏览...' />
                   <input type="file" name="fileField" id="fileField" style=" position:absolute;top:250px;left:500px;width:70px;filter:alpha(opacity:0);opacity: 0;" onchange="document.getElementById('textlogo').value=this.value"/>             
                </td>
                <td width="45%" height="30" bgcolor="#f2f2f2" class="left_txt">网站logo</td>
              </tr>
              <tr>
                <td width="20%" height="30" align="right" bgcolor="#f2f2f2" class="left_txt2">设定网站标题：</td>
                <td width="3%" bgcolor="#f2f2f2">&nbsp;</td>
                <td width="32%" height="30" bgcolor="#f2f2f2"><input name="inputtitle" type="text" id="inputtitle" size="30" value="<?=$defaultxinxi[2]?>"/></td>
                <td width="45%" height="30" bgcolor="#f2f2f2" class="left_txt">网站标题</td>
              </tr>
              <tr>
                <td height="30" align="right" bgcolor="#f2f2f2" class="left_txt2">关键词设置为： </td>
                <td bgcolor="#f2f2f2">&nbsp;</td>
                <td height="30" bgcolor="#f2f2f2"><input type="text" name="inputci" size="30" value="<?=$defaultxinxi[4]?>"/></td>
                <td height="30" bgcolor="#f2f2f2"><span class="left_txt">设置网站的关键词，更容易被搜索引挚找到。</span></td>
              </tr>
              <tr>
                <td height="30" align="right" bgcolor="#f2f2f2" class="left_txt2">网站描述： </td>
                <td bgcolor="#f2f2f2">&nbsp;</td>
                <td height="30" bgcolor="#f2f2f2"><input type="text" name="suofangci" id="suofangci" size="30" value="<?=$defaultxinxi[3]?>"/>&nbsp;<input type="button" id="buttonzoom1" value='缩放'/></td>
                <td height="30" bgcolor="#f2f2f2"><span class="left_txt">网站描述</span></td>
              </tr>
              <tr>
                <td height="30" align="right" class="left_txt2">网站访问地址：</td>
                <td>&nbsp;</td>
                <td height="30"><input type="text" name="website" size="30" value="<?=$defaultxinxi[11]?>"/></td>
                <td height="30" class="left_txt">网站的网址</td>
              </tr>
              <tr>
                <td height="30" align="right" class="left_txt2">数据库服务器：</td>
                <td>&nbsp;</td>
                <td height="30"><input type="text" name="databaseweb" size="30" value="<?=$servername?>"/></td>
                <td height="30" class="left_txt">数据库服务器</td>
              </tr>
              <tr>
                <td height="30" align="right" class="left_txt2">数据库用户名：</td>
                <td>&nbsp;</td>
                <td height="30"><input type="text" name="webuser" size="30" value="<?=$dbusername?>"/></td>
                <td height="30" class="left_txt">数据库用户名</td>
              </tr>
              <tr>
                <td height="30" align="right" class="left_txt2">数据库密码：</td>
                <td>&nbsp;</td>
                <td height="30"><input type="text" name="webpassword" size="30" value="<?=$dbpsw?>"/></td>
                <td height="30" class="left_txt">数据库密码</td>
              </tr>
              <tr>
                <td height="30" align="right" class="left_txt2">数据库名：</td>
                <td>&nbsp;</td>
                <td height="30"><input type="text" name="databaseuser" size="30" value="<?=$dbname?>"/></td>
                <td height="30" class="left_txt">数据库名</td>
              </tr>
              <tr>
                <td height="30" align="right" class="left_txt2">管理员手机号： </td>
                <td>&nbsp;</td>
                <td height="30"><input type="text" name="inputtel" size="30" value="<?=$defaultxinxi[12]?>"/></td>
                <td height="30" class="left_txt">设置网站联系电话</td>
              </tr>
               <tr>
                <td height="30" align="right" bgcolor="#f2f2f2" class="left_txt2">管理员QQ：</td>
                <td bgcolor="#f2f2f2">&nbsp;</td>
                <td height="30" bgcolor="#f2f2f2"><input type="text" name="inputmyqq" size="30" value="<?=$defaultxinxi[13]?>"/></td>
                <td height="30" bgcolor="#f2f2f2" class="left_txt">设置网站客服QQ号</td>
              </tr>
              <tr>
                <td height="30" align="right" bgcolor="#f2f2f2" class="left_txt2">网站备案证号：</td>
                <td bgcolor="#f2f2f2">&nbsp;</td>
                <td height="30" bgcolor="#f2f2f2"><input type="text" name="inputrecord" size="25" value="<?=$defaultxinxi[14]?>"/></td>
                <td height="30" bgcolor="#f2f2f2" class="left_txt">信息产业部备案号</td>
              </tr>
               <tr>
                <td height="17" colspan="4" align="right" ><span id="tijiaoid" style="display:none;"><?=$defaultxinxi[0]?></span></td>
              </tr>
              <tr>
                <td height="17" colspan="4" align="right" >&nbsp;</td>
              </tr>
              <tr>
                <td height="30" align="center" colspan="3" bgcolor="#f2f2f2"><input type="submit" value="完成以上修改" name="uploadb1" /></td><td height="30" align="left"  bgcolor="#f2f2f2"><input type="reset" value="取消设置" name="B12" /></td>
              </tr>
              </form>
            </table></td>
          </tr>
        </table>
         </td>
      </tr>
    </table></td>
    <td background="../images/mail_rightbg.gif">&nbsp;</td>
  </tr>
  <tr>
    <td valign="middle" background="../images/mail_leftbg.gif"><img src="../images/buttom_left2.gif" width="17" height="17" /></td>
      <td height="17" valign="top" background="../images/buttom_bgs.gif"><img src="../images/buttom_bgs.gif" width="17" height="17" /></td>
    <td background="../images/mail_rightbg.gif"><img src="../images/buttom_right2.gif" width="16" height="17" /></td>
  </tr>
</table>

</body>
