<!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=utf-8" />
<title>在线商城后台管理</title>
<link rel="stylesheet" type="text/css" href="view/admin/style/basic.css" />
<link rel="stylesheet" type="text/css" href="view/admin/style/setting.css" />
<link rel="stylesheet" type="text/css" href="view/admin/js/css/jquery-ui.css" />
<script type="text/javascript" src="view/admin/js/basic.js"></script>
<script type="text/javascript" src="view/admin/js/jquery.js"></script>
<script type="text/javascript" src="view/admin/js/jquery-ui.js"></script>
{literal}
<script type="text/javascript">
$(function(){
	$("#list .table_form td").hover(
		function(){
			$(this).children("span").css("color","black");
		},function(){
			$(this).children("span").css("color","#666");
		})
})
function upload_file(url){
	
	$.get(url,{},
	function(data){
		$('#dialog').html(data);
	});
	$('#blurdiv').show();
	$('#blurdiv').height($(document).height());
	$('#dialog').dialog('open');
	$('#dialog').dialog({
		title:'上传文件',
		width:500,
		height:320,
		buttons: {},
		close:function(){$('#blurdiv').hide();$('#dialog').html('');}
	});
}

</script>
{/literal}
</head>
<body>
<h2>系统设置 ->网站基本设置</h2>
<div id="list">
<form action="?a=settingbasic&m=update" method="post" name="contentjs">
  <table width="100%" class="table_form"> 
    <tr>
      <th width="120px">网站名称：</th>
      <td><input type="text" class="input-text" name="site_title" id="site_title"  size="70" value="{$Setting[0]->site_title}" /> 	
<span>站点名称，将显示在浏览器窗口标题等位置</span></td>
    </tr>
    <tr>
      <th width="120px">网站 URL：</th>
      <td><input type="text" class="input-text" name="site_url" id="site_url"  size="50" value="{$Setting[0]->site_url}" /><span>网站 URL，将作为链接显示在页面底部和logo链接</span></td>
    </tr>
     <tr>
      <th width="120px">附加标题：</th>
      <td><input type="text" class="input-text" name="site_titleb" id="site_titleb"  size="50" value="{$Setting[0]->site_titleb}" /><span>针对搜索引擎的SEO关键字设置</span></td>
    </tr>
     <tr>
      <th width="120px">网站关键字：</th>
      <td><textarea name="site_keywords" id="site_keywords" style="width:510px; height:40px; font-size:12px; color:#333333;">{$Setting[0]->site_keywords}</textarea><span>针对搜索引擎的SEO关键字设置</span></td>
    </tr>
     <tr>
      <th width="120px">网站描述：</th>
      <td><textarea name="site_description" id="site_description" style="width:510px; height:60px; font-size:12px; color:#333333;">{$Setting[0]->site_description}</textarea><span>针对搜索引擎的SEO站点描述设置</span></td>
    </tr>
	 <tr>
      <th width="120px">网站logo：</th>
      <td id="up_image">	 
	 	<input type="hidden" name="sourcepath" class="text"/> 
		<input type="text" class="input-text" name="site_logo" class="text" readonly="readonly" value="{$Setting[0]->site_logo}" size=40 /> 
		<input type="button" value="上传缩略图" onclick="centerWindow('?a=upload&m=upfile&width=160&height=120','upfile','400','160')" />
		<img name="pic" src="{$Setting[0]->site_logo}" /> <span style="">（*不能为空，必须是jpg,gif,png，并且200k内）<span style="color:red;">提示：LOGO图片最宽不要超过300px,最高不要超过100px</span></span>
	 	
	  </td>
    </tr>  
	<tr>
      <th width="120px">邮箱：</th>
      <td><input type="text" class="input-text" name="site_email" id="site_email"  size="50" value="{$Setting[0]->site_email}" /></td>
    </tr>
	<tr>
      <th width="120px">联系地址：</th>
      <td><input type="text" class="input-text" name="site_address" id="site_address"  size="50" value="{$Setting[0]->site_address}" /><span>将出现在网站底部</span></td>
    </tr>
	<tr>
      <th width="120px">工作时间：</th>

      <td><input type="text" class="input-text" name="site_worktime" id="site_worktime"  size="50" value="{$Setting[0]->site_worktime}" /></td>
    </tr>
	 <tr>
      <th width="120px">客服QQ：</th>
      <td>
      	<input type="text" class="input-text" name="site_qq" id="site_qq"  size="50" value="{$Setting[0]->site_qq}" /></br>      	
      </td>
    </tr>
	 <tr>
      <th width="120px">备案信息：</th>

      <td><input type="text" class="input-text" name="site_benan" id="site_benan"  size="50" value="{$Setting[0]->site_benan}" /></td>
    </tr>
	<tr>
      <th width="120px"> 客服电话：</th>
      <td><input type="text" class="input-text" name="site_tel" id="site_tel"  size="50" value="{$Setting[0]->site_tel}" /></td>
    </tr>
	<tr>
      <th width="120px">底部版权信息：</th>

      <td><textarea style="width:300px;height:100px;" name="site_copyright">{$Setting[0]->site_copyright}</textarea></td>
    </tr>
	<tr>
      <th width="120px">第三方统计代码：</th>
      <td><textarea style="width:300px;height:100px;" name="site_tongji">{$Setting[0]->site_tongji}</textarea></td>
    </tr>
	<tr>

      <td></td>
      <td><input type="submit" class="button" name="send" value="提交" /></td>
    </tr>
  </table>
 </form>
</div>
<div id="dialog" style="display:none;"><img src="view/admin/images/loading.gif" style="display:block;border:none;margin:0px auto; margin-top:80px;" /></div>
<div style="z-index: 1000; background-color: rgb(0, 0, 0); visibility: visible; display: none; position: absolute; top: 0px; left: 0px; right: 0px; bottom: 0px; width:100%;filter:alpha(opacity=50); opacity: 0.5; -moz-opacity:0.5;" id="blurdiv"></div>
</body>
</html>