Advertisement
Guest User

old

a guest
Jun 23rd, 2017
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 2.26 KB | None | 0 0
  1. <?php
  2. error_reporting(0);
  3. session_start();
  4. require_once("../config.php");
  5. require_once("fungsi.php");
  6. $data = $_SESSION['titan'];
  7.    $point = mysql_query("select * from instagram where idnya='".$data['id']."'");
  8.    $point = mysql_fetch_array($point);
  9.    $point = $point['point'];
  10.    if($point < 1){
  11.     echo json_encode(array('result' => 0, 'content' => '<div class="text-center"><b style="color:red;">Maaf , Point Panel Kamu Sudah Habis</b></div><div class="text-align:left">Terima kasih telah mempercaya kami , Point Anda Telah Habis mohon tunggu pukul 00:00 WIB untuk reset point seperti semula jangan lupa berkunjung lagi ke Jombsgram.us .</div>'));
  12.   exit();
  13. } else {
  14. $random = rand(7,14);
  15. $getawal = proccess(5, $data['useragent'], 'users/'.$data['id'].'/info', $data['cookies']);
  16. $getawal = json_decode($getawal[1]);
  17. $follawal = $getawal->user->follower_count;
  18.     $get1 = mysql_query("SELECT * FROM instagram order by rand() limit $random");
  19.     while($get = mysql_fetch_array($get1)){
  20.     $cookies = $get['cookies'];
  21.     $useragent = $get['useragent'];
  22.     $follow = proccess(8, $useragent, 'friendships/create/'.$data['id'].'/', $cookies, hook('{"user_id":"'.$data['id'].'"}'));
  23.     $follow = json_decode($follow[8]);
  24.     $akhir = proccess(1, $data['useragent'], 'users/'.$data['id'].'/info', $data['cookies']);
  25.     $akhir = json_decode($akhir[1]);
  26.     $follakhir = $akhir->user->follower_count;
  27.   }
  28.   if($follawal == $follakhir){
  29.   echo json_encode(array('result' => 0, 'content' => '<div class="text-center"><b style="color:red;">Maaf , Pastikan Instagram Kamu Tidak Di Kunci/Private , Silahkan Cek Instagram Anda lalu submit ulang panel followers.</div>'));
  30. } else {
  31.   mysql_query("update instagram set point=point-1 where idnya='".$data['id']."'");
  32.   $point1 = mysql_query("select * from instagram where idnya='".$data['id']."'");
  33.   $point1 = mysql_fetch_array($point1);
  34.   $point1 = $point1['point'];
  35.   echo json_encode(array('result' => 1 , 'content' => '<div class="text-center"><b style="color:green;">Hasil Panel Penambah Followers+</b></div><hr><div class="text-align:left"><i class="fa fa-users"></i> Followers Awal: <b>'.$follawal.'</b><br><br><i class="fa fa-users"></i> Followers Akhir: <b>'.$follakhir.'</b><hr></div>' , 'point' => ''.$point1.''));
  36. }
  37. }
  38. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement