| Server IP : 103.82.32.14 / Your IP : 216.73.217.121 Web Server : Apache/2.2.32 (Unix) mod_ssl/2.2.32 OpenSSL/1.0.1e-fips mod_fcgid/2.3.9 System : Linux cloud.lonmanhoabinh.com 2.6.32-754.35.1.el6.x86_64 #1 SMP Sat Nov 7 12:42:14 UTC 2020 x86_64 User : lonmakmf ( 524) PHP Version : 5.6.30 Disable Function : NONE MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /home/seocabra/public_html/view/ |
Upload File : |
<?php
if(isset($_REQUEST['restore_group']))
{
Update('bot_sever_facebook_join_gr_success', array('thoi_gian_moi' => 0), '`thoi_gian_moi` = "'.$_REQUEST['restore_group'].'"');
Delete('bot_sever_facebook_uid_share_gr', "`time_add` = '".$_REQUEST['restore_group']."'");
$_SESSION['notify'] = "Đã khởi động lại group thành công";
header("Location: get_group_all_sever.php");
exit;
}
if(isset($_REQUEST['shareAllGroupNickPhu']))
{
$row = Select('bot_sever_facebook_sevice', true,'`type_use` = 1');
if($row > 0)
{
$result = Select('bot_sever_facebook_sevice', false,'`type_use` = 1');
while($res = mysqli_fetch_array($result))
{
if($res['die'] == 0)
{
$row_share_gr = Select('bot_sever_facebook_uid_share_gr', true, '`uid` LIKE "'.mysql_escape_mimic($res['url_site']).'"');
if($row_share_gr > 0)
{
$result_gr = Select('bot_sever_facebook_uid_share_gr', false, '`uid` LIKE "'.mysql_escape_mimic($res['url_site']).'"');
mysqli_query($conn, "UPDATE `bot_sever_facebook_uid_share_gr` SET
`number_group` = '".$_REQUEST['number_group_share']."',
`type_share_group` = '".$_REQUEST['type_chia_group']."',
`status_get` = 0,
`status_join_success` = 0,
`number_group_current` = 0,
`number_group_join_success` = 0,
`time_add` = '".time()."',
`notify_get` = 'Đang chờ lệnh'
WHERE `uid` = '".mysql_escape_mimic($res['url_site'])."'
");
}
else
{
Insert('bot_sever_facebook_uid_share_gr', array(
'uid' => mysql_escape_mimic($res['url_site']),
'number_group' => $_REQUEST['number_group_share'],
'time_add' => time(),
'type_share_group' => $_REQUEST['type_chia_group'],
'notify_get' => "Đang chờ lệnh"
));
}
}
}
$_SESSION['notify'] = "Đã thêm thành công";
}
else
{
$_SESSION['notify'] = "Không có nick phụ nào để thêm";
}
header("Location: get_group_all_sever.php");
exit;
}
?>
<script src="http://forumviet.mobi/cdn/jquery.js"></script>
<script >
$(document).ready(function(){
var refreshTitle = setInterval(function() {
$("#table_ajax").load('/ajax/ajax.php');
$("#table_ajax").slideDown("slow");
}, 500);
});
</script>
<div style="margin: 50px;">
<center><h1>Chia nhóm cho nick phụ</h1></center>
<form method="POST">
<table>
<tr>
<td>
Nhập UID nick cần bắn (Yêu cầu chính xác tuyệt đối):
</td>
<td>
<input type="text" name="uid_facebook"/>
</td>
</tr>
<tr>
<td>
Số lượng cần chia:
</td>
<td>
<input type="text" name="number_group_share" style="width: 100px;" value="30"/>
</td>
</tr>
<tr>
<td>
Lựa chọn kiểu chia nhóm:
</td>
<td>
<select name="type_chia_group">
<option value="0">Lấy nhóm mới</option>
<option value="1">Lấy nhóm đã chia cách 30 ngày</option>
<option value="2">Lấy tất cả các nhóm</option>
<option value="3">Lấy các nhóm đã từng chia được cho nick khác</option>
</select>
</td>
</tr>
</table>
<input type="submit" name="submit_share_group" value="Chia nhóm"/>
</form>
<b style="color: red;">Lưu ý: </b>
<ul>
<li>
Cần phải theo dõi nick phụ khi có yêu cầu kết bạn từ nick mới - Sau này có tool sẽ hỗ trợ việc này
</li>
<li>
Thời gian sever nhận được lệnh chia nhóm từ khoảng 1 - 10 giây
</li>
</ul>
</div>
<hr/>
<div style="margin: 50px;">
<center><h1>Trạng thái chia nhóm</h1></center>
<table border="1" style="width: 100%" id="table_ajax">
<tr>
<td style="width: 20%">
<b>UID Nick FAcebook đang được chia</b>
</td>
<td style="width: 30%">
<b>Số lượng group join</b>
</td>
<td style="width: 30%">
<b>Trạng thái hiện tại</b>
</td>
<td style="width: 10%">
<b>Hành động</b>
</td>
<td style="width: 10%">
<b>Thao tác</b>
</td>
</tr>
<?php
$sql_new = 'SELECT * FROM `bot_sever_facebook_uid_share_gr` ORDER BY `bot_sever_facebook_uid_share_gr`.`time_add` DESC LIMIT 7';
$result = mysqli_query($conn, $sql_new);
$row = mysqli_num_rows($result);
if($row > 0)
{
while($res = mysqli_fetch_array($result))
{
?>
<tr>
<td style="width: 20%">
<?php
if(strpos($res['uid'], "."))
{
$url_go = "http://".$res['uid'];
}
else
{
$url_go = "https://mbasic.facebook.com/" . $res['uid'];
}
?>
<a style="color: blue;" href="<?php echo $url_go; ?>"><?php echo $res['uid']; ?></a>
</td>
<td style="width: 30%">
<div>
Đã lướt qua <b style="color: blue; font-size: 20px;"><?php echo $res['number_group_current']; ?></b> / tổng số <b style="color: red; font-size: 20px;"><?php echo $res['number_group']; ?></b> cho phép
</div>
<div>
Hiện đã mời được <b style="color: green; font-size: 20px;"><?php echo $res['number_group_join_success']; ?></b> nhóm vào nick phụ
</div>
</td>
<td style="width: 30%">
<?php
if($res['number_group_current'] == $res['number_group'])
{
echo "Đã thực hiện xong";
}
else
{
echo $res['notify_get'];
}
?>
</td>
<td style="width: 10%">
<?php
if($res['status_current'] == 'none')
{
echo 'Chưa hoạt động';
}
else if($res['status_current'] == 'add_friend_add')
{
echo 'Ấn kết bạn';
}
else if($res['status_current'] == 'add_friend_goto')
{
echo 'Truy cập kết bạn';
}
else if($res['status_current'] == 'add_friend_check')
{
echo 'Kiểm tra kết bạn';
}
else if($res['status_current'] == 'share_group_goto')
{
echo 'Truy cập chia group';
}
else if($res['status_current'] == 'share_group_share')
{
echo 'Ấn chia group';
}
?>
</td>
<td style="width: 10%">
<a href="get_group_all_sever.php?restore_group=<?php echo $res['time_add'] ?>">Delete và Resore</a>
</td>
</tr>
<?php
}
}
?>
</table>
</div>