Location: PHPKode > projects > Multimedia2Multimedia > mm2mm/include/output.php
<?php
if ( $config['htmlcomm'] == true ) echo ("<!-- output.php BEGIN -->
");


require ($config['OutputFolder']."/".$destination."/config.php");

// Wahl ob Video und/oder Audio BEGIN
{
echo ("				".$function_destination_lang['choice_video_audio']."<br>
				<input type=\"radio\" name=\"destination_audio_video\" value=\"video\"");
		if ( $destination_audio_video == "video" ) {
			echo (" checked");
			$destination_video = true;
			}
		echo ("> ".$function_destination_lang['video']."<br>
				<input type=\"radio\" name=\"destination_audio_video\" value=\"audio\"");
		if ( $destination_audio_video == "audio" ) {
			echo (" checked");
			$destination_audio = true;
			}
		echo ("> ".$function_destination_lang['audio']."<br>
				<input type=\"radio\" name=\"destination_audio_video\" value=\"videoaudio\"");
		if ( $destination_audio_video == "videoaudio" ) {
			echo (" checked");
			$destination_video = true;
			$destination_audio = true;
			}
		echo ("> ".$function_destination_lang['videoaudio']."<br>
");
}
// Wahl ob Video und/oder Audio END

// Video-Konfiguration BEGIN
{
if  ( $destination_video == true ) {
	echo ("				<br>
				".$function_destination_lang['video_quality'].":<br>
				<input type=\"radio\" name=\"destination_video_quality\" value=\"low\"");
					if ( $destination_video_quality == "low" ) echo (" checked");
					echo (">".$function_destination_lang['quality_low']."<br>
				<input type=\"radio\" name=\"destination_video_quality\" value=\"mid\"");
					if ( $destination_video_quality == "mid" ) echo (" checked");
					echo (">".$function_destination_lang['quality_mid']."<br>
				<input type=\"radio\" name=\"destination_video_quality\" value=\"hgh\"");
					if ( $destination_video_quality == "hgh" ) echo (" checked");
					echo (">".$function_destination_lang['quality_hgh']."<br>
");
	if ( $destination_video_quality != "" ) $ready2go_destination = true; else $ready2go_destination = false;
	if ( $ready2go_destination == true ) {
		if ( $set_image_format == "169" ) $ready2go_destination = true;
		if ( $set_image_format == "4_3" ) {
			echo ("				<br>
				".$function_destination_lang['video_adjustment'].":
				<table border=\"1\" rules=\"all\">
					<tr>
						<td align=\"center\">
							".$function_destination_lang['video_adjustment_description']."
						</td>
						<td align=\"center\">
							".$function_destination_lang['video_adjustment_thumbnail']."
						</td>
						<td align=\"center\">
							".$function_destination_lang['video_adjustment_choice']."
						</td>
						<td align=\"center\" width=\"200px\">
							".$function_destination_lang['video_adjustment_help']."
						</td>
					</tr>
					<tr>
						<td align=\"center\">
							".$function_destination_lang['video_adjustment_curtain']."
						</td>
						<td>
							<img src=\"".$config['ImagesFolder']."/curtain.png\" alt=\"curtain\">
						</td>
						<td align=\"center\">
							<input type=\"radio\" name=\"destination_video_format\" value=\"curtain\"");
								if ( $destination_video_format == "curtain" ) echo " checked";
							echo (">
						</td>
						<td align=\"left\">
							".$function_destination_lang['video_adjustment_curtain_help']."
						</td>
					</tr>
					<tr>
						<td align=\"center\">
							".$function_destination_lang['video_adjustment_cut']."
						</td>
						<td>
							<img src=\"".$config['ImagesFolder']."/cut.png\" alt=\"cut\">
						</td>
						<td align=\"center\">
							<input type=\"radio\" name=\"destination_video_format\" value=\"cut\"");
								if ( $destination_video_format == "cut" ) echo " checked";
							echo (">
						</td>
						<td align=\"left\">
							".$function_destination_lang['video_adjustment_cut_help']."
						</td>
					</tr>
					<tr>
						<td align=\"center\">
							".$function_destination_lang['video_adjustment_149']."
						</td>
						<td>
							<img src=\"".$config['ImagesFolder']."/149.png\" alt=\"149\">
						</td>
						<td align=\"center\">
							<input type=\"radio\" name=\"destination_video_format\" value=\"149\"");
								if ( $destination_video_format == "149" ) echo " checked";
							echo (">
						</td>
						<td align=\"left\">
							".$function_destination_lang['video_adjustment_149_help']."
						</td>
					</tr>
					<tr>
						<td align=\"center\">
							".$function_destination_lang['video_adjustment_stretch']."
						</td>
						<td>
							<img src=\"".$config['ImagesFolder']."/stretch.png\" alt=\"stretch\">
						</td>
						<td align=\"center\">
							<input type=\"radio\" name=\"destination_video_format\" value=\"stretch\"");
								if ( $destination_video_format == "stretch" ) echo " checked";
							echo (">
						</td>
						<td align=\"left\">
							".$function_destination_lang['video_adjustment_stretch_help']."
						</td>
					</tr>
				</table>
");
			if ( $destination_video_format == "" ) $ready2go_destination = false; else $ready2go_destination = true;
			}
		}
	}
}
// Video-Konfiguration END

// Audio-Konfiguration BEGIN
{
if  ( $destination_audio == true ) {
	$ready2go_destination = false;
	echo ("				<br>
				".$function_destination_lang['audio_quality'].":<br>
				<input type=\"radio\" name=\"destination_audio_quality\" value=\"low\"");
					if ( $destination_audio_quality == "low" ) echo (" checked");
					echo (">".$function_destination_lang['quality_low']."<br>
				<input type=\"radio\" name=\"destination_audio_quality\" value=\"mid\"");
					if ( $destination_audio_quality == "mid" ) echo (" checked");
					echo (">".$function_destination_lang['quality_mid']."<br>
				<input type=\"radio\" name=\"destination_audio_quality\" value=\"hgh\"");
					if ( $destination_audio_quality == "hgh" ) echo (" checked");
					echo (">".$function_destination_lang['quality_hgh']."<br>
");
	if ( ( $destination_audio_quality != "" ) AND ( $destination_video_quality != "" ) ) $ready2go_destination = true;
	}
}
// Audio-Konfiguration END

if ( $config['htmlcomm'] == true ) echo ("<!-- output.php END -->
");
?>
Return current item: Multimedia2Multimedia