+++ /dev/null
-Description:\r
-\r
-Shoot the targets with your sniper rifle!\r
-\r
-Instructions:\r
-\r
-Use your mouse to aim and shoot. Press R or Shift to Reload Press Space to use your Scope.\r
-\r
-Dimensions:\r
-\r
-620x480
\ No newline at end of file
+++ /dev/null
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">\r
-<head>\r
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />\r
-<title>hotshotsniper</title>\r
-</head>\r
-<body bgcolor="#000000">\r
-<!--url's used in the movie-->\r
-<!--text used in the movie-->\r
-<!-- saved from url=(0013)about:internet -->\r
-<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="620" height="480" id="hotshotsniper" align="middle">\r
-<param name="allowScriptAccess" value="sameDomain" />\r
-<param name="movie" value="hotshotsniper.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#000000" /><embed src="hotshotsniper.swf" quality="high" bgcolor="#000000" width="620" height="480" name="hotshotsniper" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />\r
-</object>\r
-</body>\r
-</html>\r
+++ /dev/null
-<?php
-
-/**
- * Demo addon for adding various types of Flash games to Friendica.
- * In this case we're using "Hot Shot Sniper" by FlashGames247
- *
- * Name: Sniper
- * Description: Basic demonstration of flash game addons for Friendica
- * Version: 1.0
- * Author: Mike Macgirvin <http://macgirvin.com/profile/mike>
- */
-use Friendica\Core\Hook;
-use Friendica\DI;
-
-function sniper_install() {
- Hook::register('app_menu', 'addon/sniper/sniper.php', 'sniper_app_menu');
-}
-
-function sniper_app_menu($a,&$b) {
- $b['app_menu'][] = '<div class="app-title"><a href="sniper">Hot Shot Sniper</a></div>';
-}
-
-
-function sniper_module() {}
-
-function sniper_content(&$a) {
-
-$baseurl = DI::baseUrl()->get() . '/addon/sniper';
-
-$o .= <<< EOT
-<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="620" height="480" id="hotshotsniper" align="middle">
-<param name="allowScriptAccess" value="sameDomain" />
-<param name="movie" value="$baseurl/hotshotsniper.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#000000" /><embed src="$baseurl/hotshotsniper.swf" quality="high" bgcolor="#000000" width="620" height="480" name="hotshotsniper" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
-</object>
-EOT;
-
-return $o;
-}