File: //www/wwwroot/hz.xxlht.com/tianjia.php
<style>
body,p,ul,li,dl,dt{padding:0px;margin:0px}
.houtai_main{width:1100px;margin:0 auto;border:1px solid #eee;}
.houtai_main ul{list-style-type:none ;border-left:1px solid #eee;}
.houtai_main ul {float:left; border-right:1px solid #eee;border-bottom:1px solid #eee;overflow: hidden; }
.houtai_main ul li{width:100%;height:45px;border-bottom:1px solid #eee;line-height:45px}
.houtai_main ul li a{display:block;width:30%;float:left;}
.drul{width:84%;font-size:22px}
.houtai_main dl{ float:left}
.houtai_main dl dt{width:100%;border:1px solid #eee;}
input{font-size:14px}
.tijiaomain{margin:0 auto;width:800px;padding-top:0px}
.tijiao{height:50px;width:800px;margin:30px auto 0px;color:#fff;border:0px;background: #44c9f1;font-size:20px;border-radius:40px}
</style>
<style type="text/css">
.clear {
clear: both
}
.RadioStyle input {
display: none
}
.RadioStyle {padding:5px}
.RadioStyle label {
border: 1px solid #c3c3c3;
padding: 2px 10px 2px 5px;
line-height: 28px;
min-width: 80px;
text-align: center;
float: left;
margin: 2px;
border-radius: 4px;
font-size:16px;
}
.RadioStyle input:checked + label {
background: url(images/ico_checkon.svg) no-repeat right bottom;
background-size: 21px 21px;
background: #44c9f1;
color: #fff;
}
.default{margin-left:20px}
</style>
<form action="tianjia_post.php" method="POST" id="form" >
<li style="display:none"><input type="text" name="typeid" value="68"></li>
<li style="display:none"><input type="text" name="channel" value="10"></li>
<div class="houtai_main">
<ul style="width:15%;text-align:center">
<li style="background: #44c9f1;display:none">管理员id</li>
<li style="background: #44c9f1;">域名</li>
<li style="height:200px;line-height:190px;background: #44c9f1;">状态(点击挑选)</li>
<li style="background: #44c9f1;">限制地区(点击挑选)</li>
</ul>
<ul class="drul">
<li style="display:none"><input type="text" name="admin_id" value=" "></li>
<li><input type="text" name="title" class="drul" style="font-size:14px;height:28px;margin-left:20px"></li>
<li style="height:190px">
<div class="RadioStyle" style="margin-left:20px;margin-top:10px">
<div class="Block PaddingL">
<input type="radio" name="zhuantai" id="1" value="1" />
<label for="1">1.关闭状态(网站关闭状态)</label><br>
<input type="radio" name="zhuantai" id="2" value="2" />
<label for="2">2.审核状态(电脑端手机端都显示审核页面)</label><br>
<input type="radio" name="zhuantai" id="3" value="3" />
<label for="3">3.推广状态不限制地区(电脑显示审核页面,手机显示推广页面)</label><br>
<input type="radio" name="zhuantai" id="4" value="4"/>
<label for="4">4.推广状态限制地区(选择指定地区的手机端显示推广页面,其他都是审核页)</label>
</div>
</div>
</li>
<li>
<div class="RadioStyle">
<div class="Block PaddingL">
<input type="checkbox" id="tw" name="diqu[]" value="tw" />
<label for="tw">台湾</label>
<input type="checkbox" id="hk" name="diqu[]" value="hk"/>
<label for="hk">香港</label>
<input type="checkbox" id="om" name="diqu[]" value="om" />
<label for="om">澳门</label>
<input type="checkbox" id="xjp" name="diqu[]" value="xjp" />
<label for="xjp">新加坡</label>
<input type="checkbox" id="mlxy" name="diqu[]" value="mlxy" />
<label for="mlxy">马来西亚</label>
</div>
</div>
</li>
</ul>
<div style='clear:both'></div>
<dl style="width:30%">
<dt style="text-align:center;height:40px;line-height:40px;background: #44c9f1;">客服号码</dt>
<dt>
<table id="tb" style="width:95%;margin-top:10px;margin-left:20px">
<tr><td><input id="St0" type="text" name="kefu[]" style="width:80%;margin-right:10px"><input type="button" value="删除" onclick="deleteitem(this);"></td></tr>
</table><!-- 在这个页面上加表单 -->
<input name="button" type="button" onclick='additem("tb")' value="添加客服号" style="margin-left:22px;margin-top:5px;margin-bottom:20px"/>
</dt>
</dl>
<dl style="width:66%">
<dt style="text-align:center;height:40px;line-height:40px;background: #44c9f1;">客服链接</dt>
<dt>
<table id="tbtb" style="width:96%;margin-top:10px;margin-left:20px">
<tr><td><input id="St0" type="text" name="kflj[]" style="width:85%;margin-right:10px"><input type="button" value="删除" onclick="deleteitembb(this);"></td></tr>
</table><!-- 在这个页面上加表单 -->
<input name="button" type="button" onclick='additembb("tbtb")' value="添加客服号的链接" style="margin-left:22px;margin-top:5px;margin-bottom:20px"/>
</dt>
</dl>
<div style='clear:both'></div>
<ul style="width:15%;text-align:center">
<li style="background: #44c9f1;background: #44c9f1;"><a target="_blank" href="tg.html" style="width:100%;text-align:center;color:#000;text-decoration: none;">审核页(点击挑选)</a></li>
<li style="background: #44c9f1;"><a target="_blank" href="tg.html" style="width:100%;text-align:center;color:#000;text-decoration: none;">推广页(点击挑选)</a></li>
<li style="height:140px;line-height:140px;background: #44c9f1;">统计代码</li>
</ul>
<ul class="drul">
<li style="">
<select name="sh" class="default">
<option value="1" >第1个审核页</option>
<option value="2">第2个审核页</option>
<option value="3">第3个审核页</option>
<option value="4">第4个审核页</option>
<option value="5">第5个审核页</option>
<option value="6">第6个审核页</option>
<option value="7">第7个审核页</option>
<option value="8">第8个审核页</option>
<option value="9">第9个审核页</option>
<option value="10">第10个审核页</option>
</select>
</li>
<li >
<select name="tg" class="default">
<option value="1" >第1个推广页</option>
<option value="2">第2个推广页</option>
<option value="3">第3个推广页</option>
<option value="4">第4个推广页</option>
<option value="5">第5个推广页</option>
<option value="6">第6个推广页</option>
<option value="7">第7个推广页</option>
<option value="8">第8个推广页</option>
</select>
</li>
<li style="height:100px;padding:20px; "> <textarea cols="20" name="tongji" style="width:90%;height:100px;"> </textarea></li>
<ul>
<div style='clear:both'></div>
</div>
<div style='clear:both'></div>
<div class="tijiaomain"><button class="tijiao" type="submit" > 添加提交 </button></div>
</form>
<!--增加的客服的js-->
<script language="javascript" type="text/javascript">
var count=0 ;
function additem(id)
{
var row,cell,str;
row = document.getElementById(id).insertRow();
if(row != null )
{
cell = row.insertCell();
cell.innerHTML="<input id=\"kefu"+count+"\" type=\"text\" name=\"kefu"+"[]"+"\" value= \"\" style=\"width:80%;margin-right:10px\"><input type=\"button\" value=\"删除\" onclick=\'deleteitem(this);\'>";
}
}
function deleteitem(obj)
{
var curRow = obj.parentNode.parentNode;
tb.deleteRow(curRow.rowIndex);
}
function getsub()
{
var re="";
for (var i = 0 ;i<count;i++)
{
re += document.getElementsByName("St")[0].value;
}
document.getElementById("Hidden1").value=re;
}
</script>
<script language="javascript" type="text/javascript">
var count=0 ;
function additembb(id)
{
var rowbb,cell,str;
rowbb = document.getElementById(id).insertRow();
if(rowbb != null )
{
cell = rowbb.insertCell();
cell.innerHTML="<input id=\"kefu"+count+"\" type=\"text\" name=\"kflj"+"[]"+"\" value= \"\" style=\"width:85%;margin-right:10px\"><input type=\"button\" value=\"删除\" onclick=\'deleteitembb(this);\'>";
}
}
function deleteitembb(objbb)
{
var curRow = objbb.parentNode.parentNode;
tbtb.deleteRow(curRow.rowIndex);
}
function getsubb()
{
var rebb="";
for (var i = 0 ;i<count;i++)
{
rebb += document.getElementsByName("St")[0].value;
}
document.getElementById("Hidden1").value=rebb;
}
</script>
<!--增加的客服的js-->