<?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/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">QQ客服</li> 
				<li>其他客服</li> 
			</ul>
		</div>
		<iframe id="blank" name="blank"  style="display:none"></iframe>
		<form method="post" target="blank"  action="?r=kefu-index-save&id=<?php echo $kefu['id'];?>">	
		<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" height="60" align="right">显示状态：</td><td style="font-weight:normal;"><input type="radio" <?php if($kefu['status']==0){ ?> checked <?php }?>  name="status" value="0">显示&nbsp;&nbsp;&nbsp;&nbsp;<input type="radio" <?php if($kefu['status']==1){ ?> checked <?php }?>  name="status" value="1">隐藏</td>
		</tr>
		<tr>
			<td width="120" height="60" align="right">显示位置：</td><td style="font-weight:normal;"><input type="radio" <?php if($kefu['position']=='left'){ ?> checked <?php }?>  name="position" value="left">左边&nbsp;&nbsp;&nbsp;&nbsp;<input type="radio" <?php if($kefu['position']=='right'){ ?> checked <?php }?>  name="position" value="right">右边</td>
		</tr>
		<tr>
			<td width="120" height="60" align="right">样式：</td><td style="font-weight:normal;"><input type="radio" <?php if($kefu['skin']=='blue'){ ?> checked <?php }?>  name="skin" value="blue">蓝色&nbsp;&nbsp;&nbsp;&nbsp;<input type="radio" <?php if($kefu['skin']=='gray'){ ?> checked <?php }?>  name="skin" value="gray">灰色&nbsp;&nbsp;&nbsp;&nbsp;<input type="radio" <?php if($kefu['skin']=='yellow'){ ?> checked <?php }?>  name="skin" value="yellow">黄色&nbsp;&nbsp;&nbsp;&nbsp;<input type="radio" <?php if($kefu['skin']=='green'){ ?> checked <?php }?>  name="skin" value="green">橘黄&nbsp;&nbsp;&nbsp;&nbsp;<input type="radio" <?php if($kefu['skin']=='orange'){ ?> checked <?php }?>  name="skin" value="orange">绿色&nbsp;&nbsp;&nbsp;&nbsp;<input type="radio" <?php if($kefu['skin']=='white'){ ?> checked <?php }?>  name="skin" value="white">银白</td>
		</tr>
		<tr>
			<td width="120" height="60" align="right">初始状态：</td><td style="font-weight:normal;"><input type="radio" <?php if($kefu['minStatue']==0){ ?> checked <?php }?>  name="minStatue" value="0">展开&nbsp;&nbsp;&nbsp;&nbsp;<input type="radio" <?php if($kefu['minStatue']==1){ ?> checked <?php }?>  name="minStatue" value="1">合拢</td>
		</tr>
		<tr>
			<td width="120" height="60" align="right">位置：</td><td style="font-weight:normal;">X：<input type="text" name="horizontal" size="5" value="<?php echo $kefu['horizontal'];?>" class="insty">&nbsp;&nbsp;&nbsp;&nbsp;Y：<input type="text" name="vertical" value="<?php echo $kefu['vertical'];?>" size="5" <?php if($kefu['halfTop']=='true'){ ?> disabled <?php }?> class="insty">&nbsp;&nbsp;&nbsp;&nbsp;<input  type="checkbox" name="halfTop" <?php if($kefu['halfTop']=='true'){ ?> checked <?php }?>  value="true" onClick="if(this.checked){vertical.disabled = true;}else{vertical.disabled = false ;}" >垂直居中</td>
		</tr>
		<tr>
			<td width="120" height="60" align="right">关闭按钮：</td><td style="font-weight:normal;"><input type="radio" <?php if($kefu['hideCloseBtn']==0){ ?> checked <?php }?>  name="hideCloseBtn" value="0">显示&nbsp;&nbsp;&nbsp;&nbsp;<input type="radio" <?php if($kefu['hideCloseBtn']==1){ ?> checked <?php }?>  name="hideCloseBtn" value="1">隐藏</td>
		</tr>
		<tr>
			<td width="120" height="80	" align="right"  style="border-bottom:none">Q&nbsp;&nbsp;Q：</td><td style="border-bottom:none"><textarea name="content" rows="4" cols="55" class="textinput" ><?php echo $kefu['content'];?></textarea></td>
		</tr>
		<tr>
			<td width="120" height="55" align="right"></td><td style="font-weight:normal;" valign="top"><cite>客服QQ格式：客服分组|客服名称1:客服QQ1,客服名称2:客服QQ2。如果不使用分组和客服名称可以不用填写。<br>&nbsp;&nbsp;例1：售前咨询|莉莉:8546258,蓉蓉:5625895;售后服务|小王:36947958,小李:65142574<br>&nbsp;&nbsp;例2：854625,5625895,36947958,65142574</cite></td>
		</tr>
		<tr>
			<td width="120" height="60" align="right">客服热线：</td><td style="font-weight:normal;"> <input type="radio" <?php if($kefu['rx_status']==0){ ?> checked <?php }?>  name="rx_status" value="0" onClick="kfrx.disabled = false">显示&nbsp;&nbsp;&nbsp;&nbsp;<input type="radio" <?php if($kefu['rx_status']==1){ ?> checked <?php }?>  name="rx_status" value="1" onClick="kfrx.disabled = true">隐藏</td>
		</tr>
		<tr>
			<td width="120" height="60" align="right" style="border-bottom:none">客服热线：</td><td style="border-bottom:none"><textarea name="kfrx" class="textinput"  rows="3" cols="40" id="kfrx" <?php if($kefu['rx_status']==1){ ?> disabled <?php }?>><?php echo $kefu['kfrx'];?></textarea></td>
		</tr>
		<tr>
			<td width="120" height="60" align="right">留言链接：</td><td style="font-weight:normal;"> <input type="radio" <?php if($kefu['gb_status']==0){ ?> checked <?php }?>  name="gb_status" value="0">显示&nbsp;&nbsp;&nbsp;&nbsp;<input type="radio" <?php if($kefu['gb_status']==1){ ?> checked <?php }?>  name="gb_status" value="1">隐藏</td>
		</tr>
		<tr>
			<td width="120" height="10" align="right"></td><td><cite>多个热线电话之间，请用","分开</cite></td>
		</tr>
		<tr>
			<td width="120" height="60" align="right">调用标签：</td><td style="font-weight:normal;">&#x7b;mac:kefu type='QQ'/&#x7d;</td>
		</tr>
			</table>
		</div>

		<div class="tabson">
			<table border="0" cellspacing="0" cellpadding="0" width="100%" height="100%" >
				<tr>
			<td width="120" height="60" align="right">显示状态：</td><td style="font-weight:normal;"><input type="radio" <?php if($kefu['ot_status']==0){ ?> checked <?php }?>  name="ot_status" value="0">显示&nbsp;&nbsp;&nbsp;&nbsp;<input type="radio" <?php if($kefu['ot_status']==1){ ?> checked <?php }?>  name="ot_status" value="1">隐藏</td>
		</tr>
		<tr>
			<td width="120" height="180" align="right" >客服代码：</td><td ><textarea name="ot_content" class="textinput"  rows="20" cols="100"><?php echo $kefu['ot_content'];?></textarea></td>
		</tr>
		<tr>
			<td width="120" height="60" align="right"  style="border-bottom:none">调用标签：</td><td style="font-weight:normal;border-bottom:none">&#x7b;mac:kefu type='QQ'/&#x7d;</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>
