<?
$sql="select t_logo,t_title,t_seo from admin_infos";
$query=mysql_query($sql);
$row=mysql_fetch_array($query);
$t_logo = htmlspecialchars($row['t_logo']);
$t_title = htmlspecialchars($row['t_title']);
$t_seo = htmlspecialchars($row['t_seo']);
?>
<h1 align="center" style="background:#d7e3f3; padding:5px;">网 站 基 本 信 息 管 理</h1>
<hr />

<p><h3>修改网站首页LOGO</h3></p>
<form action="inc/admin_change.php?type=change_logo" method="post">
  <p>
  LOGO地址:
  <input type="text" name="logo" style="width:300px" value="<?=$t_logo?>" />
  <input type="submit" value="确定修改" />
  </p>
</form>
<br />
<hr />


<p><h3>修改网站名称</h3></p>
<form action="inc/admin_change.php?type=change_title" method="post">
  <p>
  网站名称:
  <input type="text" name="title" style="width:200px" value="<?=$t_title?>" />
  SEO关键词:
  <input type="text" name="seo" style="width:250px" value="<?=$t_seo?>" />
  <input type="submit" value="确定修改" />
  </p>
</form>
<br />
<hr />


<p><h3>修改管理员密码</h3></p>
<form action="inc/admin_change.php?type=change_pass" method="post">
  <p>
  原密码:
  <input type="password" name="pass" />
  新密码:
  <input type="password" name="new_pass" />
  重复新密码:
  <input type="password" name="re_new_pass" />
  <input type="submit" value="确定修改" />
  </p>
</form>
<br />
<hr />
