<?php
if ( $config['htmlcomm'] == true ) echo ("<!-- parameter_output.php BEGIN -->
");
{
if ( $_POST['destination_media'] == "provide_video" ) {
if ( $config['debug_messages'] == true ) echo ("Ich lade: \"parameter_output_video.php\"<br>");
require ("parameter_output_video.php");
}
if ( $_POST['destination_media'] == "provide_image" ) {
if ( $config['debug_messages'] == true ) echo ("Ich lade: \"provide_image.php\"<br>");
require ("parameter_output_image.php");
}
if ( $_POST['destination_media'] == "provide_imageaudio" ) {
if ( $config['debug_messages'] == true ) echo ("Ich lade: \"provide_imageaudio.php\"<br>");
require ("parameter_output_imageaudio.php");
}
if ( $_POST['destination_media'] == "provide_audio" ) {
if ( $config['debug_messages'] == true ) echo ("Ich lade: \"provide_audio.php\"<br>");
require ("parameter_output_audio.php");
}
if ( $_POST['destination_media'] == "provide_videoaudio" ) {
if ( $config['debug_messages'] == true ) echo ("Ich lade: \"provide_videoaudio.php\"<br>");
require ("parameter_output_videoaudio.php");
}
}
/*
echo (" ".$function_destination_lang['choice_video_audio']."<br>
<input type=\"radio\" name=\"destination_pictureframe_audio_video\" value=\"video\"");
if ( $destination_pictureframe_audio_video == "video" ) {
echo (" checked");
$destination_pictureframe_video = true;
}
echo ("> ".$function_destination_lang['video']."<br>
<input type=\"radio\" name=\"destination_pictureframe_audio_video\" value=\"audio\"");
if ( $destination_pictureframe_audio_video == "audio" ) {
echo (" checked");
$destination_pictureframe_audio = true;
}
echo ("> ".$function_destination_lang['audio']."<br>
<input type=\"radio\" name=\"destination_pictureframe_audio_video\" value=\"videoaudio\"");
if ( $destination_pictureframe_audio_video == "videoaudio" ) {
echo (" checked");
$destination_pictureframe_video = true;
$destination_pictureframe_audio = true;
}
echo ("> ".$function_destination_lang['videoaudio']."<br>
");
if ( $destination_pictureframe_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_pictureframe_video_format\" value=\"curtain\"");
if ( $destination_pictureframe_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_pictureframe_video_format\" value=\"cut\"");
if ( $destination_pictureframe_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_pictureframe_video_format\" value=\"149\"");
if ( $destination_pictureframe_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_pictureframe_video_format\" value=\"stretch\"");
if ( $destination_pictureframe_video_format == "stretch" ) echo " checked";
echo (">
</td>
<td align=\"left\">
".$function_destination_lang['video_adjustment_stretch_help']."
</td>
</tr>
</table>
");
if ( $destination_pictureframe_video_format == "" ) $ready2go_destination = false; else $ready2go_destination = true;
}
}
}
if ( $destination_pictureframe_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 != "" ) $ready2go_destination = true;
}
*/
$convert['mkdir'] = false;
if ( $ready2go_destination == true ) {
$ready2go_destination = false;
$destination_path = $_POST['destination_media'];
$destination_path = explode('_',$destination_path);
$destination_path = $destination_path[1];
if ( count($function_destination_config[$destination_path]['write']) > 1 ) {
$count = 1;
echo (" <br>
".$lang['choice_dest_path']."
<table border=\"0\">
");
while ( $count <= count($function_destination_config[$destination_path]['write']) ) {
echo (" <tr>
<td><input type=\"radio\" name=\"destpath\" value=\"".$count."\"");
if ( $destpath == $count ) {
echo (" checked");
$convert['mkdir'] = ($destpath);
}
echo ("></td>
<td>".$function_destination_config[$destination_path]['write'][$count]['name']."</td>
</tr>
");
$count++;
}
echo (" </table>
");
} else {
$convert['mkdir'] = $function_destination_config[$destination_path]['write'][1]['path'];
}
}
if ( $config['debug_messages'] == true ) echo $destpath;
if ( $convert['mkdir'] != false )
$ready2go_destination = true;
if ( $config['htmlcomm'] == true ) echo ("<!-- parameter_output.php END -->
");
?>