<?php

/*
Letzlink Release 1.4.1
(C) Jean Schumacher 2007 - 2011.
This free software is released under CC GNU - GPL2 ( General Public License )
Your are completely free to use it, alter or change it or to distribute it
as log you are in accordance with the GNU - GPL2 license which is distributed
along with this software.
More information can be found at http://www.creativecommons.org/licenses/GPL/2.0
Attention: The software was mainly developed to be run on localhost or LAN Systems.
If you run it on public accessible areas, this may be a security risk, especially
if the software is not protected with appropriate software to limit access.
Please report any bug to bugs@rootserver.lu
*/


$check_personal = 'Personal/link.php';
$check_business = 'Business/link.php';
$check_software = 'Software/link.php';
$check_other = 'Other/link.php';

if (is_writeable($check_personal)) {

$personal = "<table width= 300><tr><td>The Personal Category is writeable</td> <td><img src= images/green.gif></td></tr></table>";


} else {

$personal ="<table width= 300><tr><td>The Personal Category is <b>NOT</b> writeable</td> <td><img src = images/red.gif></td></tr></table>";

}

//

if (is_writeable($check_business)) {

$business ="<table width= 300><tr><td>The Business Category is writeable</td> <td><img src= images/green.gif ></td></tr></table>";

} else {

$business ="<table width= 300><tr><td>The Business Category is <b>NOT</b> writeable</td> <td><img src = images/red.gif></td></tr></table>";

}

//


if (is_writeable($check_software)) {

$software ="<table width= 300><tr><td>The Software Category is writeable</td> <td><img src= images/green.gif ></td></tr></table>";

} else {

$software ="<table width= 300><tr><td>The Software Category is <b>NOT</b> writeable</td> <td><img src = images/red.gif></td></tr></table>";

}

//

if (is_writeable($check_other)) {

$other ="<table width= 300><tr><td>The Other Category is writeable</td> <td><img src= images/green.gif ></td></tr></table>";

} else {

$other ="<table width= 300><tr><td>The Other Category is <b>NOT</b> writeable</td> <td><img src = images/red.gif></td></tr></table>";

}


?>

<html>
<head>

<link rel="stylesheet" type="text/css" href="style.css">


</head>

<bodY>


<div align="center">

<br>
<br>
<br>
<br>

<?php print $personal; ?> <br>
<?php print $business; ?> <br>
<?php print $software; ?> <br>
<?php print $other; ?> <br>

</body>
</html>



