Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 7th, 2012  |  syntax: None  |  size: 13.32 KB  |  hits: 13  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2.  
  3. <html>
  4.  
  5. <head>
  6.  
  7.         <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
  8.         <meta name="GENERATOR" content="Microsoft FrontPage 4.0">
  9.         <meta name="ProgId" content="FrontPage.Editor.Document">
  10.         <title>LolerStream</title>
  11.         <meta name="Microsoft Theme" content="none">
  12.        
  13.         <link rel="icon" href="favicon.ico" type="image/x-icon">
  14.         <link rel="SHORTCUT ICON" href="favicon.ico">
  15.        
  16.         <style>
  17.                
  18.                 html {
  19.                        
  20.                         margin: 0;
  21.                         width: 100%;
  22.                         height: 100%;
  23.                        
  24.                 }
  25.                
  26.                 body {
  27.                        
  28.                        
  29.                         margin: 0;
  30.                         width: 100%;
  31.                         height: 100%;
  32.                        
  33.                 }
  34.                
  35.                 div {
  36.                        
  37.                         margin: 0;
  38.                         background-repeat: no-repeat;
  39.                         background-position: center;
  40.                        
  41.                 }
  42.                
  43.                 div#wrapper {
  44.                        
  45.                         background-image: url(http://lolerstream.com/engineerbackground.jpg);
  46.                         background-size: 100%;
  47.                         background-repeat: y-repeat;
  48.                         width: 100%;
  49.                         height: 100%;
  50.                        
  51.                 }
  52.                
  53.                 div#content {
  54.                        
  55.                         background-color:rgba(255,0,0,0.0);
  56.                         display: block;
  57.                         margin-left: auto;
  58.                         margin-right: auto;
  59.                         margin-top: auto;
  60.                         margin-bottom: auto;
  61.                         white-space: nowrap;
  62.                         line-height: 40px;
  63.                         width: 1325px;
  64.                         height: 484px;
  65.                 }
  66.                
  67.                 div#pageheader {
  68.                        
  69.                         display: block;
  70.                         width: 100%;
  71.                         height: 150px;
  72.                         background-image: url(http://lolerstream.com/banner_1.png);
  73.                         background-position: center;
  74.                         text-align: right;
  75.                        
  76.                 }
  77.                
  78.                 div#ts3viewer_901865 {
  79.                        
  80.                         line-height: 40px;
  81.                         display: inline-block;
  82.                         overflow-y: scroll;
  83.                         width: 298px;
  84.                         height: 99%;
  85.                         background-color: #000000;
  86.                        
  87.                 }
  88.                
  89.                 div#ts3v {
  90.                        
  91.                         overflow-x: hidden;
  92.                        
  93.                 }
  94.                
  95.                 div#stream {
  96.                        
  97.                         text-align: right;
  98.                         line-height: 40px;
  99.                         display: inline-block;
  100.                         height: 100%;
  101.                        
  102.                 }
  103.                
  104.                 div#chat {
  105.                        
  106.                         line-height: 40px;
  107.                         display: inline-block;
  108.                         height: 100%;
  109.                        
  110.                 }
  111.                
  112.                 img.optionbuttons {
  113.                        
  114.                         border-width: 0px;
  115.                         cursor: pointer;
  116.                        
  117.                 }
  118.         </style>
  119.        
  120.        
  121.         <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
  122.        
  123.        
  124.         <script type="text/javascript">
  125.                
  126.                 full = 0;
  127.                 screensize = 0;
  128.                 fid="LolerStream2";
  129.                 v_width=720;
  130.                 v_height=480;
  131.                
  132.                
  133.                 $('#smallscreen').live('click',function() {
  134.                
  135.                
  136.                 document.getElementById('content').style.height = '484px';
  137.                 document.getElementById('stream').style.height = '484px';
  138.                 document.getElementById('streamframe').style.height = '480px';
  139.                 v_height = 480;
  140.                 v_width = 720;
  141.                 document.getElementById('stream').style.width = v_width + "px";
  142.                 document.getElementById('streamframe').style.width = v_width + "px";
  143.                 document.getElementById('streamframe').src = 'http://www.limev.com/embed.php?fileid='+ fid +'&vw='+v_width+'&vh='+v_height;
  144.                 document.getElementById('content').style.width = '1325px';
  145.                 document.getElementById('chat').style.height = '480px';
  146.                 document.getElementById('obj_1335940669380').style.height = '480px';
  147.                 document.getElementById('emb_1335940669380').style.height = '480px';
  148.                
  149.                
  150.                 document.getElementById('smallscreen').src = 'smallscreen_lit.png';
  151.                 document.getElementById('largescreen').src = 'largescreen.png';
  152.                 currentimage = 'smallscreen_lit.png';
  153.                
  154.                 screensize = 0;
  155.                
  156.                 return false;
  157.                
  158.                 });
  159.                
  160.                
  161.                 $('#largescreen').live('click',function() {
  162.                        
  163.                        
  164.                         var w=window,d=document,e=d.documentElement,g=d.getElementsByTagName('body')[0],pagewidth=w.innerWidth||e.clientWidth||g.clientWidth,pageheight=w.innerHeight||e.clientHeight||g.clientHeight;
  165.                         headerheight = $('#pageheader').css('height');
  166.                         headerheight = $('#pageheader').css('height').substring(0, headerheight.length - 2);
  167.                        
  168.                         document.getElementById('content').style.height = (99 - ((headerheight/pageheight)*100)).toString() + '%';
  169.                         document.getElementById('stream').style.height = "100%";
  170.  
  171.                        
  172.                        
  173.                         document.getElementById('streamframe').style.height = "100%";
  174.                         v_height = $('#stream').css('height');
  175.                         v_width = v_height.substring(0, v_height.length - 2)*1.5;
  176.                         document.getElementById('stream').style.width = v_width + "px";
  177.                         document.getElementById('streamframe').style.width = v_width + "px";
  178.                         document.getElementById('streamframe').src = 'http://www.limev.com/embed.php?fileid='+ fid +'&vw='+v_width+'px&vh='+v_height;
  179.                         document.getElementById('content').style.width = (parseInt(v_width) + parseInt($('#chat').css('width'))).toString() + 'px';
  180.                        
  181.                         document.getElementById('chat').style.height = '100%';
  182.                         document.getElementById('obj_1335940669380').style.height = '100%';
  183.                         document.getElementById('emb_1335940669380').style.height = '100%';
  184.                        
  185.                         document.getElementById('smallscreen').src = 'smallscreen.png';
  186.                         document.getElementById('largescreen').src = 'largescreen_lit.png';
  187.                         currentimage = 'largescreen_lit.png';
  188.                        
  189.                         screensize = 1;
  190.                        
  191.                         return false;
  192.                        
  193.                 });
  194.                
  195.                
  196.                 $('#fullscreen').live('click',function() {
  197.                        
  198.                         var w=window,d=document,e=d.documentElement,g=d.getElementsByTagName('body')[0],pagewidth=w.innerWidth||e.clientWidth||g.clientWidth,pageheight=w.innerHeight||e.clientHeight||g.clientHeight;
  199.                         chatwidth = $('#chat').css('width');
  200.                         chatwidth = $('#chat').css('width').substring(0, chatwidth.length - 2);
  201.                        
  202.  
  203.                         document.getElementById('content').style.width = '100%';
  204.                         document.getElementById('stream').style.width = (99 - ((chatwidth/pagewidth)*100)).toString() + '%';
  205.                        
  206.                         document.getElementById('streamframe').style.width = "100%";
  207.                         v_width = $('#stream').css('width');
  208.                         v_height = v_width.substring(0, v_width.length - 2)*0.66;
  209.                         document.getElementById('streamframe').style.height = v_height + "px";
  210.                         document.getElementById('stream').style.height = v_height + "px";
  211.                         document.getElementById('streamframe').src = 'http://www.limev.com/embed.php?fileid='+ fid +'&vw='+v_width+'&vh='+v_height+"px";
  212.                        
  213.                         document.getElementById('chat').style.height = v_height+"px";
  214.                         document.getElementById('obj_1335940669380').style.height = v_height+"px";
  215.                         document.getElementById('emb_1335940669380').style.height = v_height+"px";
  216.                         document.getElementById('content').style.height = 'auto';
  217.                        
  218.                        
  219.                         elem = document.getElementById("content");
  220.                         // mozilla proposal
  221.                         //elem.requestFullScreen();
  222.  
  223.                         // Webkit (works in Safari and Chrome Canary)
  224.                         elem.webkitRequestFullScreen();
  225.  
  226.                         // Firefox (works in nightly)
  227.                         //elem.mozRequestFullScreen();
  228.                        
  229.                         // W3C Proposal
  230.                         //elem.requestFullscreen();
  231.  
  232.                        
  233.                         document.getElementById('smallscreen').src = 'smallscreen.png';
  234.                         document.getElementById('largescreen').src = 'largescreen_lit.png';
  235.                        
  236.                         screensize = 2;
  237.                        
  238.                         return false;
  239.                        
  240.                 });
  241.                
  242.                 $(function(){
  243.                         elem = document.getElementById("content");
  244.                         elem.onwebkitfullscreenchange = function () {
  245.                                 if (full == 0){
  246.                                        
  247.                                         full = 1;
  248.                                 } else {
  249.                                         $(function() {
  250.                                                
  251.                                                 document.getElementById('wrapper').style.height = "100%";
  252.                        
  253.                                                 var w=window,d=document,e=d.documentElement,g=d.getElementsByTagName('body')[0],pagewidth=w.innerWidth||e.clientWidth||g.clientWidth,pageheight=w.innerHeight||e.clientHeight||g.clientHeight;
  254.                                                 headerheight = $('#pageheader').css('height');
  255.                                                 headerheight = $('#pageheader').css('height').substring(0, headerheight.length - 2);
  256.                                                
  257.                                                 document.getElementById('content').style.height = (99 - ((headerheight/pageheight)*100)).toString() + '%';
  258.                                                 document.getElementById('stream').style.height = "100%";
  259.  
  260.                                                
  261.                                                
  262.                                                 document.getElementById('streamframe').style.height = "100%";
  263.                                                 v_height = $('#stream').css('height');
  264.                                                 v_width = v_height.substring(0, v_height.length - 2)*1.5;
  265.                                                 document.getElementById('stream').style.width = v_width + "px";
  266.                                                 document.getElementById('streamframe').style.width = v_width + "px";
  267.                                                 document.getElementById('streamframe').src = 'http://www.limev.com/embed.php?fileid='+ fid +'&vw='+v_width+'px&vh='+v_height;
  268.                                                 document.getElementById('content').style.width = (parseInt(v_width) + parseInt($('#chat').css('width'))).toString() + 'px';
  269.                                                
  270.                                                 document.getElementById('chat').style.height = '100%';
  271.                                                 document.getElementById('obj_1335940669380').style.height = '100%';
  272.                                                 document.getElementById('emb_1335940669380').style.height = '100%';
  273.                                                
  274.                                                 document.getElementById('smallscreen').src = 'smallscreen.png';
  275.                                                 document.getElementById('largescreen').src = 'largescreen_lit.png';
  276.                                                
  277.                                                 screensize = 1;
  278.                                                
  279.                                                
  280.                                                 return false;
  281.                                                
  282.                                         });
  283.  
  284.                                        
  285.                                         full = 0;
  286.                                 }
  287.                         }
  288.                 });
  289.                
  290.                
  291.                 $(window).resize(function() {
  292.                        
  293.                         if ($(window).width() <= $("#content").outerWidth() ){
  294.                                
  295.                                 $('#wrapper').css('width', $("#content").outerWidth()+"px");
  296.                                 $('#wrapper').css('height', $("#content").outerHeight()+$("#pageheader").outerHeight()+"px");
  297.                                
  298.                         } else {
  299.                                
  300.                                 document.getElementById('wrapper').style.width = "100%";
  301.                                 document.getElementById('wrapper').style.height = "100%";
  302.                                
  303.                         }
  304.                        
  305.                         if ($(window).height() <= $("#content").outerHeight()+$("#pageheader").outerHeight() ){
  306.                                
  307.                                 $('#wrapper').css('height', $("#content").outerHeight()+$("#pageheader").outerHeight()+"px");
  308.                                
  309.                         } else {
  310.                                
  311.                                 document.getElementById('wrapper').style.width = "100%";
  312.                                 document.getElementById('wrapper').style.height = "100%";
  313.                                
  314.                         }
  315.                        
  316.                        
  317.                 });
  318.                
  319.         </script>
  320.  
  321. </head>
  322.  
  323.  
  324.        
  325. <body>
  326.         <?php
  327.                
  328.                 echo "<b>Your IP Address= " . $_SERVER['REMOTE_ADDR'] . "</b>";
  329.                 $dir = dirname(__FILE__);
  330.                 echo "<b>The Teamspeak path is= " . $dir . "/teamspeak3-server_win64/ts3server_win64.exe</b>";
  331.                
  332.         ?>
  333.        
  334.         <div id="wrapper">
  335.  
  336.                 <div id="pageheader">
  337.                         <?php
  338.                                
  339.                                 $dir = dirname(__FILE__);
  340.                                 if ($_SERVER['REMOTE_ADDR'] == "150.135.211.242" || $_SERVER['REMOTE_ADDR'] == "75.186.88.171"){
  341.                                         echo "<form name ='runteamspeak' method ='POST' action = \"exec('" . $dir . "/teamspeak3-server_win64/ts3server_win64.exe');\">";
  342.                                         echo "<input type='submit' />";
  343.                                         echo "</form>";
  344.                                 }
  345.                                
  346.                         ?>
  347.                         <a href="http://steamcommunity.com/groups/lolerstream" target="_blank"><img id="steamgroup" src="steamgroup.png" onmouseover="currentimage=this.src;this.src='steamgroup_lit.png';" onmouseout="this.src=currentimage" class="optionbuttons"/></a>
  348.                         <img id="smallscreen" src="smallscreen_lit.png" onmouseover="currentimage=$(this).attr('src');src='smallscreen_lit.png';" onmouseout="this.src=currentimage" class="optionbuttons"/>
  349.                         <img id="largescreen" src="largescreen.png" onmouseover="currentimage=$(this).attr('src');this.src='largescreen_lit.png';" onmouseout="this.src=currentimage" class="optionbuttons"/>
  350.                         <img id="fullscreen" src="fullscreen.png" onmouseover="currentimage=$(this).attr('src');this.src='fullscreen_lit.png';" onmouseout="this.src=currentimage" class="optionbuttons"/>
  351.                 </div>
  352.  
  353.                 <div id="content">
  354.                        
  355.                         <div id="ts3viewer_901865">
  356.  
  357.                                 <script type="text/javascript" src="http://static.tsviewer.com/short_expire/js/ts3viewer_loader.js"></script>
  358.  
  359.                                 <script type="text/javascript">
  360.                                         <!--
  361.                                         var ts3v_url_1 = "http://www.tsviewer.com/ts3viewer.php?ID=901865&text=000000&text_size=12&text_family=1&js=1&text_s_color=0000ff&text_s_weight=bold&text_s_style=normal&text_s_variant=normal&text_s_decoration=underline&text_s_color_h=1473e0&text_s_weight_h=bold&text_s_style_h=normal&text_s_variant_h=normal&text_s_decoration_h=underline&text_i_color=525284&text_i_weight=normal&text_i_style=normal&text_i_variant=normal&text_i_decoration=none&text_i_color_h=1473e0&text_i_weight_h=normal&text_i_style_h=normal&text_i_variant_h=normal&text_i_decoration_h=underline&text_c_color=0000ff&text_c_weight=normal&text_c_style=normal&text_c_variant=normal&text_c_decoration=none&text_c_color_h=1473e0&text_c_weight_h=normal&text_c_style_h=normal&text_c_variant_h=normal&text_c_decoration_h=underline&text_u_color=1f2799&text_u_weight=bold&text_u_style=normal&text_u_variant=normal&text_u_decoration=none&text_u_color_h=1473e0&text_u_weight_h=bold&text_u_style_h=normal&text_u_variant_h=normal&text_u_decoration_h=none";
  362.                                         ts3v_display.init(ts3v_url_1, 901865, 100);
  363.                                         -->
  364.                                 </script>
  365.                        
  366.                         </div>
  367.                        
  368.                         <div id="stream">
  369.                        
  370.                                 <script type="text/javascript">
  371.                                        
  372.                                         document.write('<ifr'+'ame src="http://www.limev.com/embed.php?fileid='+ fid +
  373.                                         '&vw='+v_width+'&vh='+v_height+'" id="streamframe" width='+ v_width +' height=' + v_height +
  374.                                         ' scrolling=no frameborder=0 scrolling=no allowtransparency=true ></ifr'+'ame>') ;
  375.                                        
  376.                                 </script>
  377.                        
  378.                         </div>
  379.                        
  380.                         <div id="chat">
  381.                
  382.                                 <object width="300" height="480" id="obj_1335940669380">
  383.                                         <param name="movie" value="http://LolerStream.chatango.com/group"/>
  384.                                         <param name="AllowScriptAccess" VALUE="always"/>
  385.                                         <param name="AllowNetworking" VALUE="all"/>
  386.                                         <param name="AllowFullScreen" VALUE="true"/>
  387.                                         <param name="flashvars" value="cid=1335940669380&b=100&c=666666&d=666666&g=333333&j=333333&k=FFFFFF&l=CCCCCC&m=FFFFFF&s=1&t=0"/>
  388.                                         <embed id="emb_1335940669380" src="http://LolerStream.chatango.com/group" width="300" height="480" allowScriptAccess="always"
  389.                                         allowNetworking="all" type="application/x-shockwave-flash" allowFullScreen="true"
  390.                                         flashvars="cid=1335940669380&b=100&c=666666&d=666666&g=333333&j=333333&k=FFFFFF&l=CCCCCC&m=FFFFFF&s=1&t=0">
  391.                                         </embed>
  392.                                 </object>
  393.  
  394.                         </div>
  395.                        
  396.                 </div>
  397.  
  398.         </div>
  399.  
  400. </body script type="text/javascript">
  401.  
  402. </html>