HEX
Server: nginx/1.28.1
System: Linux 10-41-63-61 6.8.0-31-generic #31-Ubuntu SMP PREEMPT_DYNAMIC Sat Apr 20 00:40:06 UTC 2024 x86_64
User: www (1001)
PHP: 7.4.33
Disabled: passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv
Upload Files
File: //www/备份的/fuwufei.xxlht.com1/ht/xiugai.php
 <?php
 
 
 
include_once('connect.php'); 
$sql = "SELECT * from  houtai_archives where aid ='".$_GET['aid']."'";
//$results = $mysqli->query("SELECT * from wangzhan where id = ".$_GET['id'].")";
//$detail = $results->fetch_array();


$query=$mysqli->query($sql); 
$detail= $query->fetch_array(); 

$aid=$detail['aid'];
$title=$detail['title'];
$zhuantai=$detail['zhuantai'];
$diqu=$detail['diqu'];
$sh=$detail['sh'];
$tg=$detail['tg'];
$tongji=$detail['tongji'];
$kefu = json_decode($detail['kefu'], true);
$kflj = json_decode($detail['kflj'], true);



?>
 <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="detail_post.php" method="POST" id="form" >
<div class="houtai_main">
 
 <ul style="width:15%;text-align:center">
<li style="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="aid" value="<?php echo $aid; ?>"  class="drul" ></li>
<li><input type="text" name="title" value="<?php echo $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"  <?php if($detail['zhuantai']==1) echo("checked");?>/>
        <label for="1">1.关闭状态(网站关闭状态)</label><br>
        <input type="radio" name="zhuantai" id="2" value="2"  <?php if($detail['zhuantai']==2) echo("checked");?>/>
        <label for="2">2.审核状态(电脑端手机端都显示审核页面)</label><br>
        <input type="radio" name="zhuantai" id="3"  value="3"  <?php if($detail['zhuantai']==3) echo("checked");?>/>
        <label for="3">3.推广状态不限制地区(电脑显示审核页面,手机显示推广页面)</label><br>
        <input type="radio" name="zhuantai" id="4" value="4"  <?php if($detail['zhuantai']==4) echo("checked");?>/>
        <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"  <?php if(strpos($detail['diqu'],'tw')!==false) echo("checked");?>/>
        <label for="tw">台湾</label>
        <input type="checkbox" id="hk" name="diqu[]" value="hk"  <?php if(strpos($detail['diqu'],'hk')!==false) echo("checked");?>/>
        <label for="hk">香港</label>
        <input type="checkbox" id="om" name="diqu[]" value="om"  <?php if(strpos($detail['diqu'],'om')!==false) echo("checked");?> />
        <label for="om">澳门</label>
        <input type="checkbox" id="xjp"  name="diqu[]" value="xjp"   <?php if(strpos($detail['diqu'],'xjp')!==false) echo("checked");?> />
        <label for="xjp">新加坡</label>
		<input type="checkbox" id="mlxy" name="diqu[]" value="mlxy"   <?php if(strpos($detail['diqu'],'mlxy')!==false) echo("checked");?> />
        <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">
		 <?php
		                                    if (isset($kefu)) {
		                                        foreach ($kefu as $v) {
		                                            ?>
		      <tr><td><input id="St0" type="text" name="kefu[]" value="<?php echo $v; ?>" style="width:80%;margin-right:10px"><input type="button" value="删除" onclick="deleteitem(this);"></td></tr>            
		       <?php }
		} ?>
 
	</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">
		 <?php
		                                    if (isset($kflj)) {
		                                        foreach ($kflj as $kflj) {
		                                            ?>
		      <tr><td><input id="St0" type="text" name="kflj[]" value="<?php echo $kflj; ?>"  style="width:85%;margin-right:10px"><input type="button" value="删除" onclick="deleteitembb(this);"></td></tr>            
		     <?php }
		} ?>
  </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="<?php echo $sh; ?>">第<?php echo $sh; ?>个审核页</option>
		  <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="<?php echo $tg; ?>">第<?php echo $tg; ?>个推广页</option>
		  <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;"><?php echo $tongji; ?></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-->