<?php /* Smarty version Smarty-3.0.8, created on 2015-01-08 14:35:33
         compiled from "D:\www\possystem/tpl\config.html" */ ?>
<?php /*%%SmartyHeaderCode:1972554ae2535e16e26-74693001%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'a0c21d096e714863641d236a658735b3bac611bb' => 
    array (
      0 => 'D:\\www\\possystem/tpl\\config.html',
      1 => 1420698931,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '1972554ae2535e16e26-74693001',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<!DOCTYPE HTML>
<html>
<head>
	<meta http-equiv="content-type" content="text/html" />
    <meta name="author" content="梦想瞬智网络科技技术支持" />
	<title>系统设置</title>
<link rel="stylesheet" href="./css/bootstrap.min.css"/>
<link rel="stylesheet" href="./css/bootstrap-theme.min.css"/>
<link href="http://www.kindsoft.net/ke4/themes/default/default.css" rel="stylesheet" type="text/css" />
<script src="./js/jquery.min.js"></script>
<script src="./js/bootstrap.min.js"></script>
<script src="./js/jquery-1.8.3.js"></script>
<script type="text/javascript" src="./js/xheditor-1.1.14-zh-cn.js"></script> 
    <script src="./kindeditor/kindeditor.js" charset="gb2312"></script>
    <script src="./kindeditor/lang/zh_CN.js" charset="gb2312"></script>
        		<script>
			KindEditor.ready(function(K) {
				var uploadbutton = K.uploadbutton({
					button : K('#uploadButton')[0],
					fieldName : 'imgFile',
					url : 'php/upload_json.php?dir=file',
					afterUpload : function(data) {
						if (data.error === 0) {
							var url = K.formatUrl(data.url, 'absolute');
							K('#url').val(url);
						} else {
							alert(data.message);
						}
					},
					afterError : function(str) {
						alert('自定义错误信息: ' + str);
					}
				});
				uploadbutton.fileBox.change(function(e) {
					uploadbutton.submit();
				});
			});
		</script>
</head>
<body>
<div style="margin-top:10px;width: 98%;margin-left: auto;margin-right: auto;">
<div style="height: 35;line-height: 35px;background: #E4EEFA;margin-bottom: 10px;"><b><span style="margin-left: 10px;font-family: 微软雅黑;font-size: 18px;">网站配置</span></b></div>
<form action="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['spUrl'][0][0]->__template_spUrl(array('c'=>'main','a'=>'configgo'),$_smarty_tpl);?>
" method="POST" class="form-inline">
<table class="table  table-bordered">
  <tbody>
           <tr>
      <td style="width: 200px;">网站名：</td>
      <td><input type="text" name="cf_title" value="<?php echo $_smarty_tpl->getVariable('config')->value['cf_title'];?>
" style="width: 550px;"/></td>
    </tr>
                     <tr>
      <td style="width: 200px;">网站关键词：</td>
      <td><input type="text" name="cf_keyword" value="<?php echo $_smarty_tpl->getVariable('config')->value['cf_keyword'];?>
" style="width: 550px;"/></td>
    </tr>
    <tr>
      <td style="width: 200px;">网站描述：</td>
      <td><input type="text" name="cf_description" value="<?php echo $_smarty_tpl->getVariable('config')->value['cf_description'];?>
" style="width: 550px;"/></td>
    </tr>
     <tr>
      <td style="width: 200px;">网站LOGO：</td>
      <td><input type="text" id="url" value="<?php echo $_smarty_tpl->getVariable('config')->value['cf_logo'];?>
" readonly="readonly" name="cf_logo" style="width: 550px;"/> <input type="button" id="uploadButton" value="上传图片"/></td>
    </tr>
         <tr>
      <td style="width: 200px;">网站版权：</td>
      <td><textarea name="cf_bq" rows="10" cols="100" class="xheditor {upImgUrl:'upload.php'}"><?php echo $_smarty_tpl->getVariable('config')->value['cf_bq'];?>
</textarea></td>
    </tr>
  </tbody>
</table>
<p style="text-align: center"><input type="submit" value="确认修改" class="btn"/>&nbsp;&nbsp;&nbsp;&nbsp;<input type="reset" value="取消重填" class="btn"/></p>
</form>
</div>
</body>
</html>