guest clothing
This commit is contained in:
parent
7a4c188b38
commit
5851021b0c
Binary file not shown.
|
After Width: | Height: | Size: 201 KiB |
|
|
@ -1,5 +1,5 @@
|
|||
<?php
|
||||
|
||||
// OLD JOIN SCRIPT DO NOT USE //
|
||||
header("content-type:text/plain");
|
||||
|
||||
$username = addslashes($_GET["username"]);
|
||||
|
|
|
|||
|
|
@ -1,12 +1,23 @@
|
|||
@php
|
||||
header("content-type:text/plain");
|
||||
$userId = addslashes($_GET["userId"]);
|
||||
$headcolor = 11;
|
||||
if (userId == 0)
|
||||
{
|
||||
$headcolor = 2;
|
||||
$leftarmcolor = 1003;
|
||||
$leftlegcolor = 1003;
|
||||
$rightarmcolor = 1003;
|
||||
$rightlegcolor = 1003;
|
||||
$torsocolor = 1003;
|
||||
}
|
||||
else {
|
||||
$headcolor = 11;
|
||||
$leftarmcolor = 11;
|
||||
$leftlegcolor = 1003;
|
||||
$rightarmcolor = 11;
|
||||
$rightlegcolor = 1003;
|
||||
$torsocolor = 1003;
|
||||
}
|
||||
//TODO: add avatar system
|
||||
@endphp
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
|
|
|
|||
|
|
@ -2,13 +2,23 @@
|
|||
header("content-type:application/xml");
|
||||
ob_start();
|
||||
$userId = addslashes($_GET["userId"]);
|
||||
$hat1 = 300;
|
||||
$hat2 = 0;
|
||||
$hat3 = 0;
|
||||
$shirt = 0;
|
||||
$pants = 0;
|
||||
$shirtgraphic = 303;
|
||||
$face = 0;
|
||||
if ($userId == 0) {
|
||||
$hat1 = 300;
|
||||
$hat2 = 0;
|
||||
$hat3 = 0;
|
||||
$shirt = 400;
|
||||
$pants = 0;
|
||||
$shirtgraphic = 0;
|
||||
$face = 0;
|
||||
} else {
|
||||
$hat1 = 300;
|
||||
$hat2 = 0;
|
||||
$hat3 = 0;
|
||||
$shirt = 0;
|
||||
$pants = 0;
|
||||
$shirtgraphic = 303;
|
||||
$face = 0;
|
||||
}
|
||||
//TODO: add catalog + avatar system
|
||||
@endphp
|
||||
http://morblox.us/Asset/BodyColors.ashx?userId=@php echo $userId @endphp;http://morblox.us/asset/?id=@php echo $hat1 @endphp;http://morblox.us/asset/?id=@php echo $hat2 @endphp;http://morblox.us/asset/?id=@php echo $hat3 @endphp;http://morblox.us/asset/?id=@php echo $shirt @endphp;http://morblox.us/asset/?id=@php echo $pants @endphp;http://morblox.us/asset/?id=@php echo $shirtgraphic @endphp;http://morblox.us/asset/?id=@php echo $face @endphp
|
||||
|
|
@ -30,4 +30,4 @@ echo "Copy failed.";
|
|||
$textbox = ($id . "+" . $width[1] . "+" . $height[1] );
|
||||
header("Location: http://www.morblox.us/stamper/icons/{$textbox}");
|
||||
exit();
|
||||
@endphp
|
||||
@endphp
|
||||
Loading…
Reference in New Issue