<?php
	!defined('IN_MANAGE') && exit('Access Denied!');
?>
<!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" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<link href="admin/template/images/tm_right.css" type="text/css" rel="stylesheet" />
<link href="statics/ui-jquery/jquery-ui.css" type="text/css" rel="stylesheet" />
<title>网站后台管理</title>
<script language="javascript" src="statics/ui-jquery/jquery-1.8.3.js"></script>
<script language="javascript" src="statics/ui-jquery/jquery-ui.js"></script>
<script language="javascript" src="admin/template/images/tm-core.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$("#timedf").val('<?php echo $settings['timedf'];?>');
});
</script>
</head>

<body>
	<div class="top-tips">
		<div class="tips-wrap">
			<div class="title">基本信息</div>
			设置网站的一些基本信息。
		</div>
	</div>
	<form action="" method="post" name="myform" enctype="multipart/form-data">
	<input type="hidden" name="do_submit" value="1" />
	<input type="hidden" name="setting[lang]" value="<?php echo $la_site['lang'];?>" />
	<?php if(SITETYPE){?><input type="hidden" name="setting[siteurl]" value="<?php echo $la_site['siteurl'];?>" /><?php }?>
	<table class="table-wrap" cellpadding="0" cellspacing="0">
		<?php if(SITETYPE==0){?>
		<tr>
			<td bgcolor="#EFF7FF" class="tb-name">网站域名<span>*</span></td>
			<td><input type="text" title="请输入您的网站域名" value="<?php echo $settings['siteurl'];?>" name="setting[siteurl]" class="input-txt" size="45" /></td>
			<td class="tb-tips">请输入您的网站域名</td>
		</tr>
		<?php }?>
		<tr>
			<td bgcolor="#EFF7FF" class="tb-name">网站名称<span>*</span></td>
			<td><input type="text" title="请输入您的网站名称" value="<?php echo $settings['sitename'];?>" name="setting[sitename]" class="input-txt" size="45" /></td>
			<td class="tb-tips">请输入您的网站名称</td>
		</tr>
		<tr>
			<td bgcolor="#EFF7FF" class="tb-name">网站标题<span>*</span></td>
			<td><input type="text" title="请输入您的网站标题" value="<?php echo $settings['sitetitle'];?>" name="setting[sitetitle]" class="input-txt" size="45" /></td>
			<td class="tb-tips">请输入您的网站标题</td>
		</tr>
		<tr>
			<td bgcolor="#EFF7FF"  class="tb-name">网站关键词<span>*</span></td>
			<td><input type="text" class="input-txt" name="setting[keywords]" value="<?php echo $settings['keywords'];?>" size="55" /></td>
			<td class="tb-tips">请输入您的网站关键词</td>
		</tr>
		<tr>
			<td bgcolor="#EFF7FF" class="tb-name">网站描述<span>*</span></td>
			<td><textarea class="input-txtarea" name="setting[description]" cols="55" rows="4"><?php echo $settings['description'];?></textarea></td>
			<td class="tb-tips">请输入您的网站描述</td>
		</tr>
		<tr>
			<td bgcolor="#EFF7FF" class="tb-name">网站LOGO<span>*</span></td>
			<td><?php echo imagebutton('setting','logo',$settings['logo']);?></td>
			<td class="tb-tips">支持 .Gif/.Png/.Jpg 格式</td>
		</tr>
		<tr>
			<td bgcolor="#EFF7FF" class="tb-name">网站模板<span>*</span></td>
			<td><?php echo $tlp_name;?></td>
			<td class="tb-tips">请选择您的网站模板</td>
		</tr>
		
		
		<tr>
			<td bgcolor="#EFF7FF" class="tb-name">联系电话<span>*</span></td>
			<td><input type="text" class="input-txt" name="setting[telephone]" value="<?php echo $settings['telephone'];?>" size="45" /></td>
			<td class="tb-tips">请输入您的联系电话</td>
		</tr>
		
		<tr>
			<td bgcolor="#EFF7FF" class="tb-name">联系人<span>*</span></td>
			<td><input type="text" class="input-txt" name="setting[linkman]" value="<?php echo $settings['linkman'];?>" size="25" /></td>
			<td class="tb-tips">请输入您的公司联系人</td>
		</tr>
		
		<tr>
			<td bgcolor="#EFF7FF" class="tb-name">地址<span>*</span></td>
			<td><input type="text" class="input-txt" name="setting[address]" value="<?php echo $settings['address'];?>" size="45" /></td>
			<td class="tb-tips">请输入您的地址</td>
		</tr>
		
		<tr>
			<td bgcolor="#EFF7FF" class="tb-name">版权信息<span>*</span></td>
			<td><textarea class="input-txtarea" name="setting[copyright]" cols="55" rows="4"><?php echo $settings['copyright'];?></textarea></td>
			<td class="tb-tips">请输入您的网站版权信息</td>
		</tr>
		<tr>
			<td colspan="3" class="save-td"><input type="submit" class="save-btn" value="保存设置" /></td>
		</tr>
	</table>
	</form>
</body>
</html>
