PHP Classes

File: htdocs/welcome.php

Recommend this page to a friend!
  Classes of ask sa sa   PHP LDAP admin   htdocs/welcome.php   Download  
File: htdocs/welcome.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP LDAP admin
Perform operations to administer a LDAP server
Author: By
Last change:
Date: 1 year ago
Size: 798 bytes
 

Contents

Class file image Download
<?php
/**
 * Show a simple welcome page.
 *
 * @package phpLDAPadmin
 * @subpackage Page
 */

/**
 */

require './common.php';

echo
'<div style="text-align: center;">';
echo
'<br /><br />';
printf('<img src="%s/logo.png" title="%s" alt="%s" />',IMGDIR,_('phpLDAPadmin logo'),_('phpLDAPadmin logo'));
echo
'<br /><br />';
echo
_('Use the menu to the left to navigate');
echo
'<br /><br />';

if (
$_SESSION[APPCONFIG]->isCommandAvailable('cmd','oslinks')) {
   
printf('<a href="%s" onclick="target=\'_blank\';">%s</a>',get_href('credits'),_('Credits'));
   
printf(' | <a href="%s" onclick="target=\'_blank\';">%s</a>',get_href('documentation'),_('Documentation'));
   
printf(' | <a href="%s" onclick="target=\'_blank\';">%s</a>',get_href('donate'),_('Donate'));
    echo
'<br /><br />';
}

echo
'</div>';
?>