<?php if (!defined('APP_PATH')) exit;?><!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>
<script src="http://127.0.0.5/magic/Data/Public/js/jquery.js"></script>
<script src="http://127.0.0.5/Data/Public/editor/kindeditor-min.js"></script>
<link href="http://127.0.0.5/Data/Public/editor/themes/default/default.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="http://127.0.0.5/Data/Public/editor/lang/zh_CN.js"></script>
<script src="http://127.0.0.5/magic/Data/Public/js/main.js"></script>
<link href="http://127.0.0.5/magic/Data/Public/css/style.css" rel="stylesheet"/>
</head>
<body>

<div class="place">
	<span>位置：</span>
	<ul class="placeul">
		<li><a href="/">首页</a></li>
		<li><a href="#">系统设置</a></li>
		<li><a href="#">网站信息</a></li>
	</ul>
</div>
<div class="formbody">
	<div id="usual1" class="usual"> 
		<div class="itab">
			<ul> 
				<li class="selected">基本信息</li> 
				<li>公司信息</li> 
			</ul>
		</div>
		<iframe id="blank" name="blank"  style="display:none"></iframe>
		<form method="post" target="blank" action="?r=setting-index-save">	
		<table border="0" cellspacing="0" cellpadding="0" class="forminfo">
		<tr><td colspan="2">
		<div class="tabson" style="display:block">
			<table border="0" cellspacing="0" cellpadding="0" width="100%" height="100%" >
			<tr>
				<td width="120"  align="right">站点标题：</td><td><input type="text" name="title" value="<?php echo $site['title'];?>" class="insty" size="50"></td><td width="200" align="center">&#123$site.title&#125</td>
			</tr>
			<tr>
				<td align="right">站点副标题：</td><td><input type="text" name="subhead" value="<?php echo $site['subhead'];?>" class="insty" size="50"></td><td  align="center">&#123$site.subhead&#125</td>
			</tr>
			<tr>
				<td align="right">站点网址：</td><td><input type="text" name="url" value="<?php echo $site['url'];?>" class="insty" size="50"></td><td  align="center">&#123$site.url&#125</td>
			</tr>
			<tr>
				<td align="right" >LOGO：</td><td>
				<table border="0" cellspacing="0" cellpadding="0" width="90%" align="left" height="100%">
					<tr>
						<td width="480" style="border:none;" align="left"><input type="text" name="logo" id="logo" class="insty" size="40" value="<?php echo $site['logo'];?>" >&nbsp;&nbsp;<input type="button" id="upload" plugin="image" name="logo" view="true" value="选择图片"  class="scbtn7"/>&nbsp;&nbsp;</td><td style="border:none;" ><img src="<?php if( $site['logo']!=''){ ?><?php echo $site['logo'];?><?php }else{ ?>http://127.0.0.5/magic/Data/Public/images/pview.gif<?php }?>" id="logo_view" onload="if(this.width>200){this.width=200;};if(this.height>100){this.height=100;};"></td>
					</tr>
				</table>
				<td  align="center">&#123$site.logo&#125</td>
				</tr >
				<tr>
					<td align="right">站点关键词：</td><td><textarea name="keywords" rows="3" cols="100" class="textinput "><?php echo $site['keywords'];?></textarea></td><td  align="center">&#123$site.keywords&#125</td>
				</tr>
				<tr>
					<td align="right">站点描述：</td><td><textarea name="description" rows="3" cols="100" class="textinput "><?php echo $site['description'];?></textarea></td><td  align="center">&#123$site.description&#125</td>
				</tr>
				<tr>
					<td align="right">版权信息：</td><td><textarea name="copyright" rows="3" cols="100" class="textinput "><?php echo $site['copyright'];?></textarea></td><td  align="center">&#123$site.copyright&#125</td>
				</tr>
				<tr>
					<td align="right">统计代码：</td><td><textarea name="statistics" rows="3" cols="100" class="textinput "><?php echo $site['statistics'];?></textarea></td><td  align="center">&#123$site.statistics&#125</td>
				</tr>
			</table>
		</div>

		<div class="tabson">
			<table border="0" cellspacing="0" cellpadding="0" width="100%" height="100%" >
				<tr>
					<td width="120" align="right">公司名称：</td><td><input type="text" name="comname" value="<?php echo $site['comname'];?>" class="insty" size="50"></td><td width="240" align="center">&#123$site.comname&#125</td>
				</tr>
				<tr>
					<td align="right">公司地址：</td><td><input type="text" name="address" value="<?php echo $site['address'];?>" class="insty" size="50"></td><td  align="center">&#123$site.address&#125</td>
				</tr>
				<tr>
					<td align="right">公司联系人：</td><td><input type="text" name="contacts" value="<?php echo $site['contacts'];?>" class="insty" size="50"></td><td  align="center">&#123$site.contacts&#125</td>
				</tr>
				<tr>
					<td align="right">固定/座机号码：</td><td><input type="text" name="tel" value="<?php echo $site['tel'];?>" class="insty" size="50"></td><td  align="center">&#123$site.tel&#125</td>
				</tr>
				<tr>
					<td align="right">手机号码：</td><td><input type="text" name="mobile" value="<?php echo $site['mobile'];?>" class="insty" size="50"></td><td  align="center">&#123$site.mobile&#125</td>
				</tr>
				<tr>
					<td align="right">腾讯QQ：</td><td><input type="text" name="qq" value="<?php echo $site['qq'];?>" class="insty" size="50"></td><td  align="center">&#123$site.qq&#125</td>
				</tr>
				<tr>
					<td align="right">微信：</td><td><input type="text" name="wechat" value="<?php echo $site['wechat'];?>" class="insty" size="50"></td><td  align="center">&#123$site.wechat&#125</td>
				</tr>
				<tr>
					<td align="right">传真号码：</td><td><input type="text" name="fax" value="<?php echo $site['fax'];?>" class="insty" size="50"></td><td  align="center">&#123$site.fax&#125</td>
				</tr>
				<tr>
					<td align="right">电子邮箱：</td><td><input type="text" name="email" value="<?php echo $site['email'];?>" class="insty" size="50"></td><td  align="center">&#123$site.email&#125</td>
				</tr>
			</table>
		</div>
		</form>
		<tr>
		<td width="100" height="40" align="right"></td><td><input type="submit" class="scbtn1" value="保存">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="reset" value="重置" class="scbtn4"></td>
	</tr>
	</table>
	</div>
</div>
</body>
</html>
