mirror of
https://github.com/islehorse/HISP.git
synced 2025-04-07 05:35:41 +12:00
add ?USER
This commit is contained in:
parent
8e2802052c
commit
d09a92ef9f
1 changed files with 5 additions and 2 deletions
|
@ -168,13 +168,16 @@ function DetectFlashVer(reqMajorVer, reqMinorVer, reqRevision)
|
|||
<script language="JavaScript" type="text/javascript">
|
||||
<!--
|
||||
<?php
|
||||
$user = "";
|
||||
if(isset($_GET['USER'])) { $user = $_GET['USER']; };
|
||||
|
||||
echo("var hasRightVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision);
|
||||
if(hasRightVersion) { // if we've detected an acceptable version
|
||||
var oeTags = '<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\"'
|
||||
+ 'width=\"790\" height=\"500\" id=\"horseisle\" name=\"horseisle\"'
|
||||
+ 'codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab\">'
|
||||
+ '<param name=\"movie\" value=\"horseisle.swf?SERVER=".$server_ip."&PORT=".$server_port."&USER=&2158322\" /><param name=\"loop\" value=\"false\" /><param name=\"menu\" value=\"false\" /><param name=\"quality\" value=\"high\" /><param name=\"scale\" value=\"noscale\" /><param name=\"salign\" value=\"t\" /><param name=\"bgcolor\" value=\"#ffffff\" />'
|
||||
+ '<embed src=\"horseisle.swf?SERVER=".$server_ip."&PORT=".$server_port."&USER=&2158322\" loop=\"false\" menu=\"false\" quality=\"high\" scale=\"noscale\" salign=\"t\" bgcolor=\"#ffffff\" '
|
||||
+ '<param name=\"movie\" value=\"horseisle.swf?SERVER=".$server_ip."&PORT=".$server_port."&USER=".htmlspecialchars($user, ENT_QUOTES)."&2158322\" /><param name=\"loop\" value=\"false\" /><param name=\"menu\" value=\"false\" /><param name=\"quality\" value=\"high\" /><param name=\"scale\" value=\"noscale\" /><param name=\"salign\" value=\"t\" /><param name=\"bgcolor\" value=\"#ffffff\" />'
|
||||
+ '<embed src=\"horseisle.swf?SERVER=".$server_ip."&PORT=".$server_port."&USER=".htmlspecialchars($user, ENT_QUOTES)."&2158322\" loop=\"false\" menu=\"false\" quality=\"high\" scale=\"noscale\" salign=\"t\" bgcolor=\"#ffffff\" '
|
||||
+ 'width=\"790\" height=\"500\" name=\"horseisle\" align=\"top\"'
|
||||
+ 'play=\"true\"'
|
||||
+ 'loop=\"false\"'
|
||||
|
|
Loading…
Add table
Reference in a new issue