<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>空间设置 - 会员中心 - <?php echo $cfg_webname; ?></title>
<link href="templets/style/base.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="templets/js/j.js"></script>
<script type="text/javascript" src='templets/js/main.js'></script>
<script type="text/javascript" src="templets/js/load.js"></script>
<script type="text/javascript" src="templets/js/leftmenu.js"></script>
</head>
<body>
<div id="main">
  <?php include(DEDEMEMBER."/templets/head.htm"); ?>
  <div id="content" class="w960 clearfix">
    <?php include(DEDEMEMBER."/templets/menu.php"); ?>
    <div id="mcpmain">
      <div id="appTab"> 
        <ul>
          <li><a href="mtypes.php">分类管理</a></li>
          <li><a href="flink_main.php">书签管理</a></li>
          <li class="thisTab"><a href="edit_space_info.php"><span>空间设置</span></a></li>
          <li><a href="spaceskin.php">风格选择</a></li>
        </ul>
      </div>
     <form action="edit_space_info.php" method="post" enctype="multipart/form-data" name="form1">
          <input type="hidden" name="dopost" value="save" />
      <div id="mainCp">
        <h3 class="meTitle"><strong>空间设置</strong></h3>
        <div class="postForm">
          <p class="cellBg">
            <label>空间名称：</label>
            <input name="spacename" type="text" id="spacename" value="<?php echo $spacename; ?>" maxlength="100" class="intxt"/>
          </p>
          <p>
            <label>每页文档数：</label>
            <input name="pagesize" type="text" id="pagesize" value="<?php echo $pagesize; ?>" maxlength="100" class="intxt"/>
          </p>
          <p class="cellBg">
            <label>个人签名：</label>
            <textarea name="sign" cols="50" id="sign"><?php echo $sign; ?></textarea> 少于50中文字
          </p>
          <p>
            <label style="width:90px">空间Logo上传：</label>
            <input name="oldspacelogo" type="hidden" value="<?php echo $spacelogo; ?>" />
            <input name="spacelogo" type="file" id="spacelogo" maxlength="100" class="intxt" />
          </p>
          <p class="cellBg" style="height:60px; margin-top:5px">
            <label>原有Logo：</label>
            <?php
      			if($spacelogo!='') $logo = $spacelogo;
     		    else $logo = 'templets/images/mylogo.jpg';
      			echo "<img src='$logo' style='margin-top:5px;width:200px;height: 50px;'/> (规格为：200x50像素)\r\n";
      		?>
            </p>
          <p>
            <label>空间公告：</label>
            <?php GetEditor("spacenews",$spacenews,250,"MemberLit"); ?>
          </p>
          <p class="cellBg">
            <button class="button2" type="submit">更新</button>
            <button class="button2 ml10" type="reset">重设</button>
          </p>
    </div>
      </div>
      </form>
      <!--主操作区域 -->
    </div>
  </div>
<?php include(DEDEMEMBER."/templets/foot.htm"); ?>
</div>
</body>
</html>
