
            global $reefless, $rlSmarty;
            $reefless -> loadClass("ListingStatus", null, "listing_status");
            global $rlListingStatus;
            $ls_listings = $rlListingStatus -> getRecentlySoldListings( "listings", "10", "4", "sold", "latest" );
            $rlSmarty -> assign_by_ref( "ls_listings", $ls_listings );
            $sold = "sold";
            $rlSmarty -> assign_by_ref( "ls_key", $sold );
            $rlSmarty -> display( RL_PLUGINS . "listing_status" . RL_DS . "recently_sold.block.tpl" );
        