Location: PHPKode > projects > Nukequiz > html/modules/Nukequiz/copyright.php
<?php
/*****************************************************************/
/* Nukequiz (tm)    v 3.1.0                                		 */
/* By: Kissoftware (hide@address.com)      		     */
/* http://www.kissoftware.org.uk                           		 */
/* http://www.kissoftware.co.uk                       		     */
/* Copyright © 2003-2008 by Kissoftware         				 */
/* See Docs For Information & Credits                 			 */
/* For More information Visit Forums Or The Online Help Manual	 */
/*****************************************************************/
// To have the Copyright window work in your module just fill the following
// required information and then copy the file "copyright.php" into your
// module's directory. It's all, as easy as it sounds ;)
// NOTE: in $download_location PLEASE give the direct download link to the file!!!
$author_name = "lippylion";
$author_email = "support[at]kissoftware[dot]org[dot]uk";
$author_homepage = "http://www.kissoftware.org.uk/";
$license = "Copyright 2003 - 2008";
$download_location = "http://www.kissoftware.org.uk/";
$module_version = "3.0.0";
$module_description = "Quiz Module With Multiple Functions";
// DO NOT TOUCH THE FOLLOWING COPYRIGHT CODE. YOU'RE JUST ALLOWED TO CHANGE YOUR "OWN"
// MODULE'S DATA (SEE ABOVE) SO THE SYSTEM CAN BE ABLE TO SHOW THE COPYRIGHT NOTICE
// FOR YOUR MODULE/ADDON. PLAY FAIR WITH THE PEOPLE THAT WORKED CODING WHAT YOU USE!!
// YOU ARE NOT ALLOWED TO MODIFY ANYTHING ELSE THAN THE ABOVE REQUIRED INFORMATION.
// AND YOU ARE NOT ALLOWED TO DELETE THIS FILE NOR TO CHANGE ANYTHING FROM THIS FILE IF
// YOU'RE NOT THIS MODULE'S AUTHOR.
function show_copyright() {
global $author_name, $author_email, $author_homepage, $license, $download_location, $module_version, $module_description;
if ($author_name == "") { $author_name = "N/A"; }
if ($author_email == "") { $author_email = "N/A"; }
if ($author_homepage == "") { $author_homepage = "N/A"; }
if ($license == "") { $license = "N/A"; }
if ($download_location == "") { $download_location = "N/A"; }
if ($module_version == "") { $module_version = "N/A"; }
if ($module_description == "") { $module_description = "N/A"; }
$module_name = basename(dirname(__FILE__));
$module_name = eregi_replace("_", " ", $module_name);
echo "<html>"
."<body bgcolor='#FFFFCC' link='#363636' alink='#363636' vlink='#363636'>"
."<title>$module_name: Copyright Information</title>"
."<font size='1' color='#363636' face='Verdana, Helvetica'>"
."<center><b>Module Copyright &copy; Information</b><br>"
."$module_name module for <a href='http://phpnuke.org' target='new'>PHP-Nuke</a><br><br></center>"
."<b>&nbsp;&loz;&nbsp;Module's Name:</b> $module_name<br>"
."<b>&nbsp;&loz;&nbsp;Module's Version:</b> $module_version<br>"
."<b>&nbsp;&loz;&nbsp;Module's Description:</b> $module_description<br>"
."<b>&nbsp;&loz;&nbsp;License:</b> $license<br>"
."<b>&nbsp;&loz;&nbsp;Author's Name:</b> $author_name<br>"
."<b>&nbsp;&loz;&nbsp;Author's Email:</b> $author_email<br><br>"
."<center>[ <a href='$author_homepage' target='_blank'>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> ]"
. "<br><br><img src=\"images/kissoftware.png\"><br></center>"
."</font>"
."</body>"
."</html>";
}
show_copyright();
?>
Return current item: Nukequiz