type == 9) redirect("/".encode_asset_name($item->name)."-place?id=".$item->id); $ownsAsset = SESSION && Catalog::OwnsAsset(SESSION["user"]["id"], $item->id); $isCreator = SESSION && $item->creator == SESSION["user"]["id"]; $isAdmin = Users::IsAdmin(); if($_SERVER['REQUEST_URI'] != "/".encode_asset_name($item->name)."-item?id=".$item->id) redirect("/".encode_asset_name($item->name)."-item?id=".$item->id); PageBuilder::$Config['title'] = Polygon::FilterText($item->name).", ".vowel(Catalog::GetTypeByNum($item->type))." by ".$item->username; PageBuilder::$Config["AppAttributes"]["data-asset-id"] = $item->id; PageBuilder::AddMetaTag("og:description", Polygon::FilterText($item->description)); PageBuilder::AddMetaTag("og:image", Thumbnails::GetAsset($item)); if(Users::IsAdmin()) PageBuilder::AddResource(PageBuilder::$PolygonScripts, "/js/polygon/admin/asset-moderation.js"); PageBuilder::AddResource(PageBuilder::$PolygonScripts, "/js/polygon/item.js"); PageBuilder::AddResource(PageBuilder::$PolygonScripts, "/js/3D/ThumbnailView.js"); PageBuilder::AddResource(PageBuilder::$PolygonScripts, "/js/3D/ThreeDeeThumbnails.js"); PageBuilder::BuildHeader(); ?>
Creator: =$item->username?>
Created: =timeSince($item->created)?>
Updated: =timeSince($item->updated)?>
=nl2br(Polygon::FilterText($item->description))?>
This audio is a MIDI and cannot be played back in a browser, but will work ingame
Price: =$item->price?' '.$item->price:'FREE'?>
sale) { ?>(=$item->sales_total?> sold)
Commentary
Come and share your thoughts about it!
$content