public function popupRadio() { $AC = anyC::get("UPnP"); $AC->addAssocV3("UPnPAVTransport", "=", "1"); $I = new HTMLInput("radioSelection", "select", BPS::getProperty("mUPnPGUI", "lastStation", "0")); $I->setOptions($AC, "UPnPName", "Abspielgerät auswählen"); echo $I; $AC = anyC::get("UPnPRadioStation"); $I = new HTMLInput("radioStation", "select", BPS::getProperty("mUPnPGUI", "lastStation", "0")); $I->setOptions($AC, "UPnPRadioStationName", "Sender auswählen"); echo $I; $B = new Button("Play", "play", "touch"); $B->rmePCR("mUPnP", "-1", "playRadio", array("\$j('select[name=radioSelection]').val()", "\$j('select[name=radioStation]').val()")); $B->style("display:inline-block;width:30%;"); echo $B; $B = new Button("Stop", "stop", "touch"); $B->rmePCR("mUPnP", "-1", "stopRadio", array("\$j('select[name=radioSelection]').val()", "\$j('select[name=radioStation]').val()")); $B->style("display:inline-block;width:30%;"); echo $B; }