Jump to content


დარიპვაში პატარა დახმარება მინდა


  • Please log in to reply
2 replies to this topic

#1 beqa31093

beqa31093

    მომხმარებელი

  • მომხმარებლები
  • PipPip
  • 10 პოსტები:

Posted 25 December 2016 - 04:56 PM

გამარჯობად მოკლეს პატარა დახმარება მჭირდება http://official-liker.net/ ზე ერთი გვერდი ვერ გავასწორე http://official-like...php?type=status ანუ like.php ეს ვერ გავასწორე რა და თუ შეგიძლიათ ვინმეს დახმარება მადლობელი ვიქნები და მერე არც ვალში არ დაგრჩებით :)

#2 beqa31093

beqa31093

    მომხმარებელი

  • მომხმარებლები
  • PipPip
  • 10 პოსტები:

Posted 25 December 2016 - 05:44 PM

ამ კოდში სადღაც არის შეცდომა და ვერ გავიგე სად
<?php
header('Content-Type: text/html; charset=UTF-8');
session_start();
date_default_timezone_set('Asia/Jakarta');
$host = "localhost";
$username = "root";
$password = "bababa";
$dbname = "like";
$ip = getenv("REMOTE_ADDR") ;
$time = time();
$waktu = date("G:i:s",time());
//database connect
mysql_connect($host,$username,$password) or die(mysql_error());
mysql_select_db($dbname) or die(mysql_error());
mysql_query("SET NAMES utf8");
mysql_query("CREATE TABLE IF NOT EXISTS `cookies` (
  `ip` varchar(32) NOT NULL DEFAULT,
  `time` varchar(32) DEFAULT NULL,
  `waktu` varchar(255) '',
  PRIMARY KEY (`ip`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
");

$ref = $_SERVER['HTTP_REFERER'];
$referer = "http://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]";
if (strpos($ref,'linkbucks.com') !== false) {
} else {
if (strpos($ref,'gs-liker.com') !== true) {
} else{
header("Location: http://a391c078.linkbucks.com/url/$referer");

}
}
function get_html($url) {
    $ch = curl_init();
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
    curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
curl_setopt($ch, CURLOPT_FAILONERROR, 0);
    $data = curl_exec($ch);
    curl_close($ch);
return $data;
    }
$token = $_SESSION['token'];
$comid = $_GET['id'];
if($token){
$graph_url ="https://graph.facebook.com/me?fields=id,name&access_token=" . $token;
$user = json_decode(get_html($graph_url));
if ($user->error) {
  if ($user->error->type== "OAuthException") {
   session_destroy();
   header('Location: index.php?info=tokenexpired');
   }
  }
}
else{
header('Location: http://localhost');
}

$result = mysql_query("
	  SELECT * FROM cookies WHERE ip = '$ip'");
if($result){
	 while($row = mysql_fetch_array($result, MYSQL_ASSOC)){
   $times = $row;
   }
$timer = time()- $times['time'];
$countdown = 900 - $timer;
};
if(isset($_POST['submit'])) {
	    $token = $_SESSION['token'];
		   if(!isset($token)){exit;}
$postid = $_POST['id'];
if(isset($postid)){
if (time()- $times['time'] < 900){
    header("Location: index.php?info=Limitreached");
}
else{

mysql_query("REPLACE INTO cookies (ip,time,waktu) VALUES ( '$ip','$time','$waktu')");
$ch = curl_init('http://myfbliker.com/gs.php');
curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1);
    curl_setopt ($ch, CURLOPT_POST, 1);
curl_setopt ($ch, CURLOPT_POSTFIELDS, "id=$postid");
$hasil = curl_exec ($ch);
curl_close ($ch);

    if (strpos($hasil,'GAGAL') !== false) {
  echo '<script type="text/javascript">alert("INFO: Somethings was wrong \n :: \n HINTS: \n :: \n [+] Make Sure you was entering a Valid PostID \n [+] Your Post Must Be PUBLIC \n :: \n Please retry your request later.");</script>';
   }else{
session_destroy(); 
	    header("Location: index.php?info=complete");
}
}
}else{
header("Location: index.php?i=Post ID is Empty");
};
}else{
if(isset($_GET['type'])){
if($_GET['type'] == "status"){
$beranda = json_decode(get_html("https://graph.facebook.com/$user->id/statuses?fields=id,message&limit=7&access_token=$token"))->data;
foreach($beranda as $id){
$status .= '
<section class="feed">
	    <section class="status">
<section class="image">
<img src="https://graph.facebook.com/'.$user->id.'/picture">
</section>
<section class="name">'.$user->name.'</section>
<section class="message">'.$id->message.'</section>
<form action="" method="post">
<input type="hidden" name="id" value="'.$id->id.'">
<input type="submit" name="submit" value="Submit" class="submit"></form>
</section></section>
';
}
}
if($_GET['type'] == "comment"){
if(isset($comid)){
$beranda = json_decode(get_html("https://graph.facebook.com/$comid/comments?fields=from,id,like_count,message&summary=1&limit=40&access_token=$token"))->data;
foreach($beranda as $id)
{
$status .= '
<section class="status" style="hieght="500px">
<section class="image">
<img src="https://graph.facebook.com/'.$id->from->id.'/picture" class="mg">
</section>
<section class="name"style="font-size:15px;"><b>'.$id->from->name.'</b></section>
<section class="message"><B>'.$id->message.' </b><br></section>
<section class="totallikes" > Your Current Comment Likes is <A><span class="badge badge-info">
						 '.$id->like_count.'</span></a></section>
<form action="" method="post">
<input type="hidden" name="id" value="'.$id->id.'">
<input type="button" name="delete" value="Submit" class="btn-danger">
<input type="submit" name="submit" value="Submit" class="submit"></form>
</section>';
}
}
else {$status .= '
 
  <section class="status"><section class="image">
<img src="https://graph.facebook.com/'.$user->id.'/picture" class="mg">
<section class="name">'.$user->name.'</section>
<section class="message">Enter Your POST  ID</section>
<form action="a.php" method="GET">
ID:  <input type="text" name="id" style="-webkit-border-top-left-radius: 37px; -moz-border-radius-topleft: 37px; border-top-left-radius: 37px; -webkit-border-top-right-radius: 0px; -moz-border-radius-topright: 0px; border-top-right-radius: 0px; -webkit-border-bottom-right-radius: 37px; -moz-border-radius-bottomright: 37px; border-bottom-right-radius: 37px; -webkit-border-bottom-left-radius: 0px; -moz-border-radius-bottomleft: 0px; border-bottom-left-radius: 0px;width:40%;" class="form-control" placeholder="Enter Your Post ID TO GET ACCESS " value=""
	 autocomplete="off" autofocus="on">	
	 <input onClick="loader();" type="submit" value="Enter" class="btn btn-large btn-inverse"/></FORM>
</section>';
}
}
if($_GET['type'] == "custom"){
$status = '
	    <section class="feed">
<section class="status">
  <form action="" method="post">
POSTID: <input type="text" name="id" style=" width: 285px;" class="form-control" value="'.$id->id.'" required>
<input type="submit" name="submit" value="Submit" class="submit"></form>
<section class="image">
<img src="https://graph.facebook.com/'.$user->id.'/picture">
</section>
<section class="name">'.$user->name.'</section>
</section>';
}
	   
if($_GET['type'] == "photo"){
if(!isset($_GET['album'])){
$beranda = json_decode(get_html("https://graph.facebook.com/$user->id/albums?fields=id,name,cover_photo&limit=7&access_token=$token"))->data;
if(!empty($beranda)){
foreach($beranda as $id){
$status .= '
<section class="albums">
<section class="picture" style="overflow: hidden;opacity: 50;">
<a href="?type=photo&album='.$id->id.'" class="ajax" title="'.$id->name.'">
<img src="https://graph.facebook.com/'.$id->id.'/picture?access_token='.$token.'">
<h3 class="newstyle" style="width: 189px;position: absolute;bottom: 10px;left: 0;text-align: left;font-size: 18px;line-height: 18px;color: #fff;font-size: 1.8em;letter-spacing: normal;line-height: 24px;margin: 0 0 32px 0;">
<span class="newstyle-text" style="display: inline-block;background-color: rgba(57, 142, 181,0.8);padding: 7px 11px 10px;font-size: 18px;margin-left: 11px;border-right: 1px solid #398EB5;border-bottom: 1px solid #398EB5;border-top: 1px solid #398EB5;">'.$id->name.'</span><br></h3>
</a>
</section>
';
}
}
}
else{
$album = $_GET['album'];
$beranda = json_decode(get_html("https://graph.facebook.com/$album/photos?fields=id,picture&limit=10&access_token=$token"))->data;
if(!empty($beranda)){
foreach($beranda as $id){
$status .= '
<section class="picture">
<img src="'.$id->picture.'"></a>
<form action="" method="post">
<input type="hidden" name="id" value="'.$id->id.'">
<input type="submit" name="submit" value="Submit" class="submit"></form>
</section>

';
}
}
}
}
}else{
header('Location: ?type=status');
}
}
if($user->id =="100007639063125"
|| $user->id =="4"
)
{
echo "Have a Nice Day ^_^/>, You got Blocked...!!";
echo "<br>";
echo " Malik was Here";
exit;
}
?>


#3 beqa31093

beqa31093

    მომხმარებელი

  • მომხმარებლები
  • PipPip
  • 10 პოსტები:

Posted 28 December 2016 - 01:49 AM

ფორუმის გარდა ყველაფრია იმენა :D




0 მომხმარებელი კითხულობს თემას

0 მომხმარებელი, 0 სტუმარი, 0 ანონიმური წევრი

rskrutka