Code Search for Developers
 
 
  

footer.php from Group-Office groupware at Krugle


Show footer.php syntax highlighted

<?php
require_once('../../Group-Office.php');
$GO_SECURITY->authenticate();
$charset= isset($charset) ? $charset : 'UTF-8';
$htmldirection= isset($htmldirection) ? $htmldirection : 'ltr';
header('Content-Type: text/html; charset='.$charset);

$getadmin = isset( $_GET['admin'] ) ? $_GET['admin'] : false;
$adminmodules = false;
?>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $charset; ?>">
	<script language="javascript" type="text/javascript" src="<?php echo $GO_CONFIG->host; ?>javascript/common.js"></script>
  <link href="<?php echo $GO_THEME->theme_url.'css/common.css'; ?>" rel="stylesheet" type="text/css" />
  <?php require($GO_CONFIG->control_path.'fixpng.inc'); ?>
</head>
<body style="padding:0px;margin:0px;" dir="<?php echo $htmldirection; ?>">
<table border="0" cellpadding="0" cellspacing="0" width="100%" height="100%" class="FooterBar">
  <tr>
    <td>
      <table border="0">
			<tr>
			<?php			
			$modules = $GO_MODULES->get_modules_with_locations($getadmin);
			while ( $module = array_shift( $modules ) )
			{
				
			  if ( $adminmodules ||
			       ( $GO_SECURITY->has_permission( $GO_SECURITY->user_id, $module['acl_read'] ) ||
			         $GO_SECURITY->has_permission( $GO_SECURITY->user_id, $module['acl_write'] ) ||
			         $GO_SECURITY->has_admin_permission( $GO_SECURITY->user_id ) ) ) {
			         	
			    $GO_THEME->load_module_theme($module['id']);
			    $GO_THEME->images[$module['id']] = isset($GO_THEME->images[$module['id']]) ? $GO_THEME->images[$module['id']] : $GO_THEME->images['unknown'];
			    
			    
			    
			    //require language file to obtain module name in the right language
			    $language_file = $GO_LANGUAGE->get_language_file($module['id']);
			    if(file_exists($language_file))
			    {
			    	require_once($language_file);
			    }
			    $lang_var = isset($lang_modules[$module['id']]) ? $lang_modules[$module['id']] : $module['id'];
				?>
				  <td class="ModuleIcons" align="center" valign="top" nowrap>
				    <a target="main" id="<?php echo $module['id']; ?>" href="<?php echo $module['url']; ?>">
				      <img src="<?php echo $GO_THEME->images[$module['id']]; ?>" border="0" width="32" height="32" />
				      <br />
				      <?php echo $lang_var; ?>
				    </a>
				  </td>
				<?php
			  }  
			}
			if ( $GO_SECURITY->has_admin_permission( $GO_SECURITY->user_id ) ) {
			?>
				  <td class="ModuleIcons" align="center" valign="top" nowrap>
				    <a target="footer" href="<?php echo $GO_THEME->theme_url.'footer.php?admin='.!$getadmin; ?>">
				    	<?php
				    	if($getadmin)
				    	{
				    		?>
				      	<img src="<?php echo $GO_THEME->images['close']; ?>" border="0" width="32" height="32" />
				      	<br />
				      	<?php echo $cmdClose; 
				    	}else
				    	{
				    		?>
				      	<img src="<?php echo $GO_THEME->images['admin']; ?>" border="0" width="32" height="32" />
				      	<br />
				      	<?php echo $menu_admin; 
				    	}
				    	?>	      	
				    </a>
				  </td>
			<?php
			}
			?>
				</tr>
      </table>
    </td>
    <td align="right">
      <a target="main" href="<?php echo $GO_CONFIG->host; ?>about.php" title="<?php echo $menu_about; ?>">
				<img src="<?php echo $GO_THEME->images['go_header']; ?>" border="0" style="margin-right:20px;" />
      </a>
    </td>
  </tr>
</table>
</body>
</html>




See more files for this project here

Group-Office groupware

Group-Office is a powerfull modular Internet/Intranet application framework. It features calendaring, project management, e-mail, tasks, addressbook, file management.

Project homepage: http://sourceforge.net/projects/group-office
Programming language(s): JavaScript,Pascal,PHP
License: other

  css/
    addressbook.css
    billing.css
    calendar.css
    checker.css
    cms.css
    common.css
    email.css
    filesystem.css
    framework.css
    gallery.css
    htmlarea.css
    jscalendar.css
    overlib.css
    projects.css
    recepten.css
    style.css
    summary.css
    todos.css
  images/
    16x16/
      administration.png
      arrow_down.gif
      arrow_up.gif
      connect_established.png
      gnome-logout.png
      gnome-windows.png
      gtk-add.png
      gtk-close.png
      gtk-delete.png
      gtk-save.png
      icon-help.png
      icon-search.png
      search_addressbook.png
      stock-disconnect.png
    22x22/
      gnome-windows.png
    filetypes/
      ascii.png
      binary.png
      cdbo_list.png
      cdimage.png
      cdtrack.png
      colorscm.png
      colorset.png
      core.png
      deb.png
      doc.png
      document.png
      document2.png
      dvi.png
      empty.png
      empty2.png
      empty_ascii.png
      encrypted.png
      exec_wine.png
      file_locked.png
      file_temporary.png
      font.png
      font_bitmap.png
      font_truetype.png
      font_type1.png
      gf.png
      html.png
      image.png
      image2.png
      images.png
      info.png
      java_src.png
      karbon.png
      kmultiple.png
      kugardata.png
      log.png
      mail.png
      make.png
      man.png
      message.png
      metafont.png
      midi.png
      mime-cdr.png
      mime-colorset.png
      mime-postscript.png
      mime-resource.png
      mime-template_source.png
      mime.png
      mime_ascii.png
      mime_empty.png
      mime_koffice.png
      mozilla_doc.png
      netscape.png
      netscape_doc.png
      pdf-document.png
      pdf.png
      php.png
      pk.png
      postscript.png
      ps.png
      quicktime.png
      readme.png
      real.png
      real_doc.png
      recycled.png
      rpm.png
      shellscript.png
      soffice.png
      sound.png
      source.png
      source_c.png
      source_cpp.png
      source_f.png
      source_h.png
      source_j.png
      source_java.png
      source_l.png
      source_moc.png
      source_o.png
      source_p.png
      source_pl.png
      source_py.png
      source_s.png
      source_y.png
      spreadsheet.png
      tar.png
      tex.png
      tgz.png
      trash.png
      txt.png
      txt2.png
      unknown.png
      vcalendar.png
      vcard.png
      vectorgfx.png
      video.png
      widget_doc.png
      wordprocessing.png
      zip.png
    GOCOM.gif
    blank.gif
    block-bg.gif
    hd-sprite.gif
  sounds/
    reminder.swf
    reminder.wav
  filetypes.inc
  footer.inc
  footer.php
  frames.inc
  header.inc
  header.php
  images.inc
  page_footer.inc
  page_footer_html.inc
  page_header.inc
  page_header_html.inc
  sounds.inc