File: /www/wwwroot/www.wopant.com/cc/index.php
<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-KTQQ25B');</script>
<!-- End Google Tag Manager -->
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-KTQQ25B"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
<?php
$servername = "127.0.0.1";
$username = "ccwopantcom";
$password = "zwCakda2bMnHNm4F";
$dbname = "ccwopantcom";
// 创建连接
$conn = new mysqli($servername, $username, $password, $dbname);
// 检测连接
if ($conn->connect_error) {
die("连接失败: " . $conn->connect_error);
}
$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'];
$weixin=$rowsz['weixin'];
// $dianji=$rowsz['dianji']+1;
//加
$sqlxg ="UPDATE `xiao` SET `cishu` = '" . $cishu. "' ,`zongshu` = '" . $zongshu . "' WHERE `linehao` = '" . $linehao . "'";
if ($conn->query($sqlxg) === TRUE) {
}
//加
echo ' <script type="text/javascript" src="https://www.wopant.com/cc/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.wopant.com/cc/cv.php",
{
action:"cvcv",
linehao:"'.$linehao.'",
dianji:"'.$dianji.'",
},
function(data,status){
});
}
</script> ';
}
}
echo '<base href="https://www.tiantianbaofen.com/" /> ';
$f_info=implode("",file("http://www.xxlht.com/tg/tw/bzh/062/"));
echo $f_info;
?>