Пример #1
0
    $output = "";
    $returnvalue = "";
    if (exec($command, $output, $returnvalue)) {
        ?>
					<SCRIPT LANGUAGE=JAVASCRIPT><!--\
						s = document.getElementById("status");
						s.innerHTML = '<nobr><?php 
        echo word("Status: updating tags...");
        ?>
</nobr>';
						-->
					</SCRIPT>
					<?php 
        flushdisplay();
        // Now we need to get the meta data from the orginal file so we can write it to the new file
        $tMeta = new jzMediaTrack($track->getPath("String"));
        $meta = $tMeta->getMeta();
        // Now let's write this
        $jzSERVICES->setTagData($newPath, $meta);
        ?>
					<SCRIPT LANGUAGE=JAVASCRIPT><!--\
						p = document.getElementById("path");
						o = document.getElementById("oldname");
						n = document.getElementById("newname");
						s = document.getElementById("status");
						p.innerHTML = '<?php 
        echo word("Complete!");
        ?>
';
						o.innerHTML = '&nbsp;';
						n.innerHTML = '&nbsp;';