예제 #1
0
    function footer($node = false)
    {
        global $root_dir, $jinzora_skin, $img_check, $img_check_none, $jzUSER, $version, $jinzora_url, $show_page_load_time, $allow_lang_choice, $allow_style_choice, $allow_interface_change, $image_dir, $jzSERVICES, $jzUSER, $cms_mode, $allow_theme_change;
        if ($node === false) {
            $node = new jzMediaNode();
        }
        $display = new jzDisplay();
        ?>
			<table width="100%" cellspacing="0" cellpadding="0"><tr height="2" style="background-image: url('<?php 
        echo $image_dir;
        ?>
row-spacer.gif');"><td width="100%"></td></tr></table>
			<table width="100%" cellspacing="0" cellpadding="1">
				<tr class="and_head1">
					<td width="50%">
						<?php 
        if ($allow_interface_change == "true") {
            $display->interfaceDropdown();
        }
        ?>
					</td>
					<td width="50%" align="right">
						<?php 
        // Now let's show the admin tools
        if ($allow_lang_choice == "true") {
            $display->languageDropdown();
        } else {
            if ($jzUSER->getSetting('admin')) {
                $display->systemToolsDropdown($node);
            }
        }
        ?>
					</td>
				</tr>
				<tr>
					    <td>
					    <?php 
        if ($allow_style_choice == "true") {
            $display->styleDropdown();
        }
        ?>
							</td>
							    <td align="right">
							    <?php 
        if ($jzUSER->getSetting('admin') && $allow_lang_choice == "true") {
            $display->systemToolsDropdown($node);
        } else {
            echo '&nbsp;';
        }
        ?>
							</td>
							    
			</table>
			
			
			<table width="100%" cellspacing="0" cellpadding="0"><tr height="2" style="background-image: url('<?php 
        echo $image_dir;
        ?>
row-spacer.gif');"><td width="100%"></td></tr></table>				
			<table width="100%" cellspacing="0" cellpadding="3">
				<tr class="and_head1">
					<td width="100%" align="center">
						<?php 
        if ($cms_mode == "false") {
            $display->loginLink();
        }
        if ($jzUSER->getSetting('edit_prefs') !== false) {
            if ($cms_mode == "false") {
                echo " | ";
            }
            //echo " - ";
            $display->popupLink("preferences");
        }
        ?>
						<br><br>
						powered by <a href="<?php 
        echo $jinzora_url;
        ?>
">Jinzora</a> version <?php 
        echo $version;
        ?>
						<br><br>
						<?php 
        if ($show_page_load_time == "true" and $_SESSION['jz_load_time'] != "") {
            // Ok, let's get the difference
            $diff = round(microtime_diff($_SESSION['jz_load_time'], microtime()), 3);
            echo '<br><span class="jz_artistDesc">' . word("generated in") . ": " . $diff . " " . word("seconds") . "</span>&nbsp;<br><br>";
        }
        ?>
					</td>
				</tr>
			</table>
			<table width="100%" cellspacing="0" cellpadding="0"><tr height="2" style="background-image: url('<?php 
        echo $image_dir;
        ?>
row-spacer.gif');"><td width="100%"></td></tr></table>
			</td></tr></table>
			<?php 
        $jzSERVICES->cmsClose();
    }
예제 #2
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();
    }