<!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>
