File: /www/wwwroot/www.twcao.com/062hk/index.php
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-138750842-20"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-138750842-20');
</script>
<?php
include 'conn.php';
$sqlxs = "SELECT * FROM xiao where zhuantai=0 order by cishu asc limit 1 ";
$resultsz = $conn->query($sqlxs);
if ($resultsz->num_rows > 0) {
// 输出数据
while($rowsz = $resultsz->fetch_assoc()) {
$cishu=$rowsz['cishu']+1;
$zongshu=$rowsz['zongshu']+1;
$linehao=$rowsz['linehao'];
$linelj=$rowsz['linelj'];
$dianji=$rowsz['dianji']+1;
$weixin=$rowsz['weixin'];
$id=$rowsz['id'];
//加
$sqlxg ="UPDATE `xiao` SET `cishu` = '" . $cishu. "' ,`zongshu` = '" . $zongshu . "' WHERE `linehao` = '" . $linehao . "'";
if ($conn->query($sqlxg) === TRUE) {
}
//加
echo ' <script type="text/javascript" src="jquery-1.11.1.min.js"></script> <script>
var weixin =["'.$weixin.'"]; //创建line号
var arr_wx =["'.$linehao.'"]; //创建line号
var kfhlja =["'.$linelj.'"]; //创建line号的链接
var wx_index = Math.floor((Math.random() * arr_wx.length));
var wx_weixin = Math.floor((Math.random() * arr_wx.length));
var stxlwx = arr_wx[wx_index];
var weiwei = weixin[wx_weixin];
var kfhljas = kfhlja[wx_index];
function showline() {
window.open(kfhljas);
$.post("https://www.twcao.com/062hk/cv.php",
{
action:"cvcv",
linehao:"'.$linehao.'",
dianji:"'.$dianji.'",
},
function(data,status){
});
}
</script> ';
}
}
$f_info=implode("",file("http://www.twcao.com/062hk/ws.html"));
echo $f_info;
?>