[ Index ] |
|
Code source de PHP NUKE 7.9 |
1 <?php 2 3 /************************************************************************/ 4 /* PHP-NUKE: Web Portal System */ 5 /* =========================== */ 6 /* */ 7 /* Copyright (c) 2005 by Francisco Burzi */ 8 /* http://phpnuke.org */ 9 /* */ 10 /* This program is free software. You can redistribute it and/or modify */ 11 /* it under the terms of the GNU General Public License as published by */ 12 /* the Free Software Foundation; either version 2 of the License. */ 13 /************************************************************************/ 14 15 // To have the Copyright window work in your module just fill the following 16 // required information and then copy the file "copyright.php" into your 17 // module's directory. It's all, as easy as it sounds ;) 18 19 $author_name = "chatserv"; 20 $author_user_email = "chatserv@nukeresources.com"; 21 $author_homepage = "http://www.nukeresources.com"; 22 $license = "GNU/GPL"; 23 $download_location = "http://www.nukeresources.com/downloads.html"; 24 $module_version = ""; 25 $module_description = "phpBB port for PHP-Nuke"; 26 27 // DO NOT TOUCH THE FOLLOWING COPYRIGHT CODE. YOU'RE JUST ALLOWED TO CHANGE YOUR "OWN" 28 // MODULE'S DATA (SEE ABOVE) SO THE SYSTEM CAN BE ABLE TO SHOW THE COPYRIGHT NOTICE 29 // FOR YOUR MODULE/ADDON. PLAY FAIR WITH THE PEOPLE THAT WORKED CODING WHAT YOU USE!! 30 // YOU ARE NOT ALLOWED TO MODIFY ANYTHING ELSE THAN THE ABOVE REQUIRED INFORMATION. 31 // AND YOU ARE NOT ALLOWED TO DELETE THIS FILE NOR TO CHANGE ANYTHING FROM THIS FILE IF 32 // YOU'RE NOT THIS MODULE'S AUTHOR. 33 34 function show_copyright() { 35 global $author_name, $author_user_email, $author_homepage, $license, $download_location, $module_version, $module_description; 36 if ($author_name == "") { $author_name = "N/A"; } 37 if ($author_user_email == "") { $author_user_email = "N/A"; } 38 if ($author_homepage == "") { $author_homepage = "N/A"; } 39 if ($license == "") { $license = "N/A"; } 40 if ($download_location == "") { $download_location = "N/A"; } 41 if ($module_version == "") { $module_version = "N/A"; } 42 if ($module_description == "") { $module_description = "N/A"; } 43 $module_name = basename(dirname(__FILE__)); 44 $module_name = eregi_replace("_", " ", $module_name); 45 echo "<html>\n" 46 ."<body bgcolor=\"#F6F6EB\" link=\"#363636\" alink=\"#363636\" vlink=\"#363636\">\n" 47 ."<title>$module_name: Copyright Information</title>\n" 48 ."<font size=\"2\" color=\"#363636\" face=\"Verdana, Helvetica\">\n" 49 ."<center><b>Module Copyright © Information</b><br>" 50 ."$module_name module for <a href=\"http://phpnuke.org\" target=\"new\">PHP-Nuke</a><br><br></center>\n" 51 ."<img src=\"../../images/arrow.gif\" border=\"0\"> <b>Module's Name:</b> $module_name<br>\n" 52 ."<img src=\"../../images/arrow.gif\" border=\"0\"> <b>Module's Version:</b> $module_version<br>\n" 53 ."<img src=\"../../images/arrow.gif\" border=\"0\"> <b>Module's Description:</b> $module_description<br>\n" 54 ."<img src=\"../../images/arrow.gif\" border=\"0\"> <b>License:</b> $license<br>\n" 55 ."<img src=\"../../images/arrow.gif\" border=\"0\"> <b>Author's Name:</b> $author_name<br>\n" 56 ."<img src=\"../../images/arrow.gif\" border=\"0\"> <b>Author's Email:</b> $author_user_email<br><br>\n" 57 ."<center>[ <a href=\"$author_homepage\" target=\"new\">Author's HomePage</a> | <a href=\"$download_location\" target=\"new\">Module's Download</a> | <a href=\"javascript:void(0)\" onClick=javascript:self.close()>Close</a> ]</center>\n" 58 ."</font>\n" 59 ."</body>\n" 60 ."</html>"; 61 } 62 63 show_copyright(); 64 65 ?>
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Sun Apr 1 11:11:59 2007 | par Balluche grâce à PHPXref 0.7 |