PHP Classes

File: phpsecureweb/donate.inc.php

Recommend this page to a friend!
  Classes of Bulent Tezcan   phpsecureweb   phpsecureweb/donate.inc.php   Download  
File: phpsecureweb/donate.inc.php
Role: Application script
Content type: text/plain
Description: a common file
Class: phpsecureweb
Allow users certain rights, login with password.
Author: By
Last change: the image reference has changed to a php file
Date: 21 years ago
Size: 905 bytes
 

Contents

Class file image Download
<?php
   
/*
    * @author Bulent Tezcan. bulent@greenpepper.ca
    */


   
require_once "Security.class.php";

   
$tableClass = $_SESSION["CSS"]."FormTABLE";
   
$DataTD = $_SESSION["CSS"]."DataTD";

   
$serverURL = "http".($_SERVER["HTTPS"]=="on"?"s":"")
                            .
"://".$_SERVER["HTTP_HOST"]
                            .
strrev(strstr(strrev($_SERVER['PHP_SELF']),"/"));

   
$serverURL = substr($serverURL,0,-1);

   
$mySecurity = new Security( );

    if (!
$mySecurity-> isAllowedTo('Show Admin Menu'))
        return
true;

echo <<<HTML
<br><br>
<table class="
$tableClass" cellspacing="1" cellpadding="4" align="center">
<tr>
    <td class="
$DataTD"><i><b>Help us to help you. If you liked this software, please help us.</i></b></td>
    <td class="
$DataTD"><a href="http://www.greenpepper.ca/index.php?link=donate"><img src="./donate.php" border=0 alt="Please help us. Thank you."></a></td>
</tr>
</table>
<br>
HTML;




?>