<? defined('ROOT_PHPLEFT') or exit(require '../../../404.php');?>
<!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=gbk"/>
 <link href="css/main.css" type="text/css" rel="stylesheet"> 
 <script type="text/javascript" src="<?=PL_URL?>js/common.js"></script>
    <script type="text/javascript">
function check() {
	
		if($('url').value == '') {
    msg('网址不能为空','curl','right_r');
		return false;
	}
	
}
	</script>
</head>

<body>
<div class="tpis"><img src="images/icos.gif" align="absmiddle"/>当前位置：基础设置 > 基本设置</div>
<form id="form" action="?file=post_center&post=indexset" method="post" onsubmit="return check();">
<table class="usertableborder bb" cellspacing="1" cellpadding="3" width="100%" align="center"
        border="0">
        <tr>
            <th colspan="3">
                网站设置</th>
        </tr>
        <tr>
            <td width="135" height="30" class="text" style="padding-right:10px; text-align:right"><strong>网站名称</strong></td>
            <td width="367" height="30"><input name="set[webname]" type="text" id="webname" value="<?=$set['webname']?>" size="23"></td>
            <td height="30"></td>
        </tr>
         <tr>
            <td width="135" height="30" class="text" style="padding-right:10px; text-align:right"><strong>网站首页标题</strong></td>
            <td width="367" height="30"><input name="set[title]" type="text" id="title" value="<?=$set['title']?>" size="40"></td>
            <td width="472" height="30">&nbsp;</td>
        </tr>
        <tr>
            <td height="30" class="text" style="padding-right:10px; text-align:right"><strong>网站网址</strong></td>
            <td height="30">              <input name="config[url]" type="text" id="url" value="<?=PL_URL?>" size="30">          </td>
            <td height="30"><span id="curl">绝对地址例如安装到xxx目录下 http://www.phpleft.com/xxx/</span></td>
        </tr>
                
        <tr>
            <td height="30" class="text" style="padding-right:10px; text-align:right"><strong>SEO关键词</strong></td>
            <td height="30"><input name="set[keywords]" type="text" id="set[keywords]" value="<?=$set['keywords']?>" size="40"></td>
            <td height="30">&nbsp;</td>
        </tr>
        <tr>
            <td height="30" class="text" style="padding-right:10px; text-align:right"><strong>网站描述</strong></td>
            <td><textarea name="set[description]" id="set[description]" cols="50" rows="8"><?=$set['description']?></textarea></td>
            <td height="30">&nbsp;</td>
        </tr>
         <tr>
            <td height="30" class="text" style="padding-right:10px; text-align:right"><strong>首页是否生成html</strong></td>
            <td height="30"><input name="config[htmlis]" type="radio" id="radio" value="1" class="no"<? if( $PL_CFG['htmlis']==1) {?> checked<? }?>>
            是&nbsp;  <input name="config[htmlis]" type="radio" id="radio" class="no" value="0"<? if( $PL_CFG['htmlis']==0) {?> checked<? }?>>
            否 </td>
            <td height="30">&nbsp;</td>
        </tr>
         <tr>
            <td height="30" class="text" style="padding-right:10px; text-align:right"><strong>生成格式</strong></td>
            <td height="30"><select name="config[html]">
              <option value=".html"<? if( $PL_CFG['html']=='.html') {?> selected<? }?>>.html</option>
              <option value=".htm"<? if( $PL_CFG['html']=='.htm') {?> selected<? }?>>.htm</option>
              <option value=".shtml"<? if( $PL_CFG['html']=='.shtml') {?> selected<? }?>>.shtml</option>
            </select>           </td>
            <td height="30">改动后需要手动删除原来的所有文件后缀！不必要时请勿随便更改</td>
        </tr>
       
        <tr>
          <td height="30" class="text" style="padding-right:10px; text-align:right"></td>
            <td height="30"><input type="submit" name="button" id="button" value=" 确 认 " class="ok"></td>
            <td height="30">&nbsp;</td>
        </tr>
       
    </table>
</form>
    
    
</body>
</html>
