예제 #1
0
    function footer($node = false)
    {
        global $jinzora_url, $this_pgm, $version, $allow_lang_choice, $this_page, $web_root, $root_dir, $allow_theme_change, $cms_mode, $jinzora_skin, $show_loggedin_level, $allow_interface_choice, $jz_lang_file, $shoutcast, $sc_refresh, $sc_host, $sc_port, $sc_password, $url_seperator, $jukebox, $show_jinzora_footer, $hide_pgm_name, $media_dir, $img_sm_logo, $show_page_load_time, $allow_speed_choice, $img_play, $img_random_play, $img_playlist, $config_version, $jzUSER, $allow_style_choice, $jzSERVICES;
        $display = new jzDisplay();
        // First let's make sure they didn't turn the footer off
        if ($show_jinzora_footer) {
            ?>
				<table width="100%" cellpadding="5" cellspacing="0" border="0">
					<tr>
						<td align="center" valign="top">
							<table width="100%" cellpadding="5" cellspacing="0" border="0">
								<tr>
				   					<td class="jz_block_td" align="center" width="25%">&nbsp;
										<?php 
            if ($allow_interface_choice == "true") {
                $display->interfaceDropdown();
            }
            if ($allow_interface_choice == "true" && $allow_style_choice == "true") {
                echo '&nbsp;';
            }
            if ($allow_style_choice == "true") {
                $display->styleDropdown();
            }
            ?>
									</td>
									<td class="jz_block_td" align="center" width="50%">
										&raquo; Powered by Jinzora <?php 
            echo $config_version;
            ?>
 &laquo;
									</td>
									<td class="jz_block_td" align="center" width="25%">&nbsp;
										<?php 
            if ($jzUSER->getSetting("admin") == true && $node !== false) {
                $display->mediaManagementDropdown($node);
                echo "&nbsp;";
                $display->systemToolsDropdown($node);
            }
            ?>
									</td>
								</tr>
							</table>
						</td>
					</tr>
				</table></td></tr></table>
				<a name="pageBottom"></a>
				<?php 
        }
        $jzSERVICES->cmsClose();
    }