-
Notifications
You must be signed in to change notification settings - Fork 0
/
desktop.php
52 lines (36 loc) · 1.27 KB
/
desktop.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<?php
include "config.php";
// include "access.php";
?>
<!DOCTYPE html>
<html>
<head>
<title>SMFB - Desktop</title>
<!-- meta -->
<meta charset="utf-8">
<!-- css -->
<link rel="stylesheet" href="css/reset.css">
<link rel="stylesheet" href="css/desktop.css">
<!-- js -->
<script type="text/javascript" src="js/jquery/jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="js/swfobject/swfobject.js"></script>
<script type="text/javascript">
$(document).ready(function() {
var flashvars = {};
flashvars.target = "<?php echo $path; ?>service/target.php";
flashvars.highscore = "<?php echo $path; ?>service/highscore.php";
var params = {};
params.menu = "false";
params.allowfullscreen = "true";
params.allowscriptaccess = "always";
var attributes = {};
attributes.id = "swf";
attributes.name = "swf";
swfobject.embedSWF("swf/target.swf", "swf", "100%", "100%", "10.1", "swf/playerProductInstall.swf", flashvars, params, attributes);
});
</script>
</head>
<body>
<div id="swf"></div>
</body>
</html>