A luminescent and photothermic carbon-based nanomaterial composed of a carbonized polymer core and polymer cross-linked chains: a promising nanocarrier for effective thermo-/photo-induced drug release activity.