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


echo ("					<li><a href=\"http://mm2mm.sourceforge.net\" target=\"_blank\"><i>mm2mm</i>-".$lang['homepage']."</a></li>
");

// Spracheinstellung BEGIN
{
$handle = opendir ($config['LanguageFolder']);
$count = 0;
while ($file = readdir ($handle)) {
	$extension = explode('.',$file);
	if (isset($extension[1])) {
		$file = $extension[0];
		$extension = $extension[1];
		} else {
		$file = " ";
		$extension = "";
		}
	if (empty($file[0])) $file = " ";
	if ( ( $file != "." ) AND ( $file != ".." ) AND ( $file[0] != "." ) AND ( $extension == "php" ) ) $count++;
	}

if ( $count > 1 ) {
	echo ("					<li>
");
	$handle = opendir ($config['LanguageFolder']);
	while ($file = readdir ($handle)) {
		$extension = explode('.',$file);
		if (isset($extension[1])) {
			$file = $extension[0];
			$extension = $extension[1];
			} else {
			$file = " ";
			$extension = "";
			}
		if (empty($file[0])) $file = " ";
		if ( ( $file != "." ) AND ( $file != ".." ) AND ( $file[0] != "." ) AND ( $extension == "php" ) ) {
			require ($config['LanguageFolder']."/".$file.".php");
			echo ("						");
			echo ("<input type=\"radio\" name=\"language\" value=\"".$file."\"");
			$language_name = $config['langname'];
			if ( $file == $language ) echo (" checked");
			echo (">".$language_name."<br>
");
			if ( $config['debug_messages'] == true )
				echo ("<li>\$file = ".$file."<br>\$extension = ".$extension."<br>\$language_name = ".$language_name."</li>");
			}
		}
	require ($config['LanguageFolder']."/".$language.".php");
	closedir($handle);
	echo ("						<input type=\"submit\" name=\"reload\" value=\"".$lang['resume']."\">
					</li>
");
	}
// Spracheinstellung END
}

if ( ( $html401valid == true ) OR ( $css21valid == true ) )
echo ("					<li>
");
if ( $html401valid == true )
echo ("						<img src=\"".$config['StyleFolder']."/".$config['StyleName']."/images/valid-html401-blue.png\" alt=\"Valid HTML 4.01 Transitional\" height=\"31\" width=\"88\">
");
if ( $css21valid == true )
echo ("						<img src=\"".$config['StyleFolder']."/".$config['StyleName']."/images/vcss-blue.gif\" alt=\"CSS 2.1 ist valide!\" height=\"31\" width=\"88\">
");
if ( ( $html401valid == true ) OR ( $css21valid == true ) )
echo ("					</li>
");
if ( $config['htmlcomm'] == true ) echo ("<!-- footer.php END -->
");
?>
Return current item: Multimedia2Multimedia