Follow along with the video below to see how to install our site as a web app on your home screen.
Бележка: This feature may not be available in some browsers.

<meta charset="utf-8" />
<form method='post' class='go_form'>
<input type='text' name='csgo_acc' placeholder='Steam CS:GO Account Name' class='form-control' required/><br/>
<input type='button' name='go_submit' id="go_items" value='Изпрати' class='btn btn-success btn-mini' />
</form><br/>
<div class="inner_go"></div>
<div class="go_inventory_show"></div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.0.0-alpha1/jquery.min.js"></script>
<script type="application/javascript">
var limitz = 0; //durji limita na classid-tata
var counter = 0; //broi kolko puti se vurti cikula i sravnqva
var itemid = 0; //sledvashto itemid
var timerId;
var array1 = [];
var array2= [];
$('#go_items').click(function() {
limitz = 0;
counter = 0;
itemid = 0;
$( "#go_items" ).hide();
$( ".inner_go" ).append( "<img src='https://upload.wikimedia.org/wikipedia/en/2/29/Throbber-Loadinfo-292929-ffffff.gif' alt='Зарежда се'/>" )
$(".gointimg").remove();
clearInterval(timerId);
//first to set limit and bullshit :<
$.ajax({
type: 'POST',
async: false,
url: 'ajax_goitems2.php',
data: $('.go_form').serialize(),
dataType: 'json',
success: function (data) {
limitz = data['limit'];// first set the value
array1 = data['array1'];
array2 = data['array2'];
timerId = setInterval(doAjax,1000);
}
});
});
//second to catch items
function doAjax() {
if(counter >= limitz) {
limitz = 0;
counter = 0;
clearInterval(timerId);
$( "#go_items" ).show();
$( ".inner_go" ).hide();
} else {
counter++;
$.ajax({
type: 'POST',
async: false,
url: 'ajax_goitems.php?id='+ itemid,
data: {data1:array1, data2:array2},
dataType: 'json',
success: function (data) {
$( ".inner_go" ).hide();
$('.go_inventory_show').append(data['img']);// first set the value
itemid = data['broika'] + data['info'];
}
});
}
}
</script>
<?php
$itemid = $_GET['id'];
$inventory2 = $_POST['data1'];
$inventory = $_POST['data2'];
if(empty($inventory)) {
return;
}
if(empty($itemid)) {
$counter = 0;
}
$counter++;
$keysteamid = '?key=2A8EBB1540721BDC0230861EAFC9E13A';
$inventory3=$inventory2[$inventory[$itemid]]['classid'];
$urljson3 = json_decode(file_get_contents("https://api.steampowered.com/ISteamEconomy/GetAssetClassInfo/v0001/".$keysteamid."&format=json&language=en&appid=730&class_count=1&classid0=".$inventory3.""),true); //vzimame icon_url ottyk
echo json_encode(array('info' => $counter + $itemid,'broika' => "$broika", 'img'=>'<span class="gointimg" style="text-align:center;display:inline-block;margin-left:5px;margin-right:5px"><img src="https://cdn.steamcommunity.com/economy/image/'.$urljson3['result'][$inventory3]['icon_url'].'" style="max-height:200px;max-width:200px"><br/>'.$urljson3['result'][$inventory3]['market_name'].' #('.$itemid.')</span>')); //broikata
?>
<?php
$steam_acc = $_POST['csgo_acc'];
if(empty($steam_acc)) { return;}
$url = 'https://steamcommunity.com/id/'.$steam_acc.'?xml=1';
$stm = simplexml_load_file($url);
$steamidz= $stm->steamID64;
$keysteamid = '?key=2A8EBB1540721BDC0230861EAFC9E13A';
$json_decode2 = json_decode(file_get_contents("https://steamcommunity.com/id/$steam_acc/inventory/json/730/2/"),true);
$inventory = $json_decode2['rgInventory'];
$inventory2 = array_keys($json_decode2['rgInventory']);
$broika = count($inventory);
echo json_encode(array('limit' => $broika,'array1'=>$inventory,'array2'=>$inventory2)); //broikata
?>
Да бе точно това ще е причината...Просто не са си сложили SSL на API-то.