website/resources/views/client/insertasset.blade.php

28 lines
935 B
PHP

@php
//header("location:" . $file);
$nsets = (int)$_GET["nsets"];
$type = (string)$_GET["type"];
$userid = (int)$_GET["userid"];
$sid = (int)$_GET["sid"];
//http://roblox.com/Game/Tools/InsertAsset.ashx?nsets=20&type=user&userid=11744447
if ($nsets == 20 && $type == "user")
{
header("content-type:text/xml");
$file = "http://morblox.us/stamper/base/{$userid}.xml";
readfile($file);
//
//header("location:" . "http://morblox.us/stamper/base/{$userid}.xml");
}
//http://www.morblox.us/stamper/inseassetcollect.php?sid=433603
if ($sid != 0 && $type == "0")
{
header("content-type:text/xml");
$file = "http://morblox.us/stamper/sid/{$sid}.xml";
readfile($file);
}
if ($nsets) {
header("content-type:text/xml");
$file = "http://morblox.us/stamper/sid/{$sid}.xml";
readfile($file);
}
@endphp