Location: PHPKode > projects > ZenTrack - project/bug tracking software > zentrack_2.6.4/www/contacts.php
<?
  /*
  **  
  **  
  **  Contacts list
  **
  */
  
  include("contact_header.php");

  // security measure
  if( $login_level < $zen->getSetting('level_contacts') ) {
    print "Illegal access.  You do not have permission to access contacts.";
    exit;
  }

  switch ($overview) {
    case "company":
        $tabel = "ZENTRACK_COMPANY"; 
        $title = "title";
        $page_section = tr("Contact list - Company");
        $ie = NULL;
        break;
    case "external":
        $tabel = "ZENTRACK_EMPLOYEE"; 
        $title = "lname"; 
        $page_section = tr("Contact list - Persons Extern");
        $ie = 1;
        break;
    case "internal":
        $tabel = "ZENTRACK_EMPLOYEE";
        $title = "lname";  
        $page_section = tr("Contact list - Persons Intern");
        $ie = 2;
        break;
    default:
        $tabel = "ZENTRACK_COMPANY"; 
        $title = "title";
        $overview = "company";
        $ie = NULL;
        $page_section = tr("Contact list - Company");
	  }
	   

  $expand_contacts = 1;
  include("$libDir/nav.php");
		
  include("$templateDir/contactView.php");

  include("$libDir/footer.php");
?>
Return current item: ZenTrack - project/bug tracking software