--- /dev/null
+<?php\r
+\r
+/**\r
+ * Name: Mah Jongg\r
+ * Description: Ancient Chinese puzzle game that never gets old.\r
+ * Version: 1.0\r
+ * Author: Holger Froese\r
+ */\r
+\r
+\r
+function mahjongg_install() {\r
+ register_hook('app_menu', 'addon/mahjongg/mahjongg.php', 'mahjongg_app_menu');\r
+}\r
+\r
+function mahjongg_uninstall() {\r
+ unregister_hook('app_menu', 'addon/mahjongg/mahjongg.php', 'mahjongg_app_menu');\r
+\r
+}\r
+\r
+function mahjongg_app_menu($a,&$b) {\r
+ $b['app_menu'][] = '<div class="app-title"><a href="mahjongg">Beer Monster</a></div>';\r
+}\r
+\r
+\r
+function mahjongg_module() {}\r
+\r
+function mahjongg_content(&$a) {\r
+\r
+$baseurl = $a->get_baseurl() . '/addon/mahjongg';\r
+\r
+$o .= <<< EOT\r
+<br><br>\r
+<p align="left">\r
+<embed src="addon/mahjongg/mahjongg.swf" quality="high" bgcolor="#FFFFFF" width="800" height="600" name="mahjongg" align="middle" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />\r
+<br><br>\r
+<b>Simply locate the matching tiles and find a way to clear them from the board as quickly as possible.\r
+A timer at the top of the screen keeps track of how you are doing.</b><br>\r
+</p>\r
+EOT;\r
+\r
+return $o;\r
+}
\ No newline at end of file