5 Latest updates...
upload_file() 1 month
upload_image() 1 month
stripfilename() 1 month
image_exists() 1 month
filename_exists() 1 month
Login
Username

Password



Not a member yet?
Click here to register.

Forgotten your password?
Request a new one here.
Sponsors
Shoutbox
You must login to post a message.

29/06/2010
Nice work m8 Grin

30/05/2010
Just updated the site to latest version of v7.01 Smile

26/03/2010
shoutbox spam removed.

26/02/2010
Fixed!

26/02/2010
Ereg alert in fusion_functions/i
ncludes/inc.functi
ons.php !

User Options
Function - showcopyright (PHP-Fusion 7.00)
<< showbanners showcounter >>
showcopyright - Displays the PHP-Fusion copyright

Description

showcopyright ( [ string $class ] )

This function will display the PHP-Fusion copyright with it's link to the Official PHP-Fusion Support Site and the AGPL license which is the license PHP-Fusion is distributed under.

Parameters

class

This is an optional parameter. If the parameter is given it will add a "class" attribute to the link.

Return Values

This function will return a string containing the copyright of PHP-Fusion.

Example#1 Show Copyright

Download Example  PHP
  1. <?php
  2. if (!$license) { echo "<br /><br />\n".showcopyright(); }
  3.  
  4. ?>

If the variable $licence is not true, the copyright will be shown

Output to Example#1

<br /><br />
Powered by <a href='http://www.php-fusion.co.uk>PHP-Fusion</a> v7.01.00 copyright &copy; 2002 - 2010 by Nick Jones.<br />
Released as free software without warranties under <a href='http://www.fsf.org/licensing/licenses/agpl-3.0.html'>GNU Affero GPL</a> v3.\n

Example#2 Show Copyright with the attribute class in the copyright link

Download Example  PHP
  1. <?php
  2. if (!$license) { echo "<br /><br />\n".showcopyright("my-copyright-class"); }
  3.  
  4. ?>

If the variable $licence is not true, the copyright will be shown. The attribute class with the name "my-copyright-class" will be added to the links.

Output to Example#2

<br /><br />
Powered by <a href='http://www.php-fusion.co.uk class='my-copyright-class'>PHP-Fusion</a> v7.01.00 copyright &copy; 2002 - 2010 by Nick Jones.<br />
Released as free software without warranties under <a href='http://www.fsf.org/licensing/licenses/agpl-3.0.html' class='my-copyright-class'>GNU Affero GPL</a> v3.\n
Note

You are not allowed to remove the copyright of PHP-Fusion. Read the PHP-Fusion Licensing Page on the main site and the AGPL Licence for more information.

Was this helpful?

Back to all functions...
Comments
No Comments have been Posted.
Post Comment
Please Login to Post a Comment.