-
Notifications
You must be signed in to change notification settings - Fork 0
/
Place.aspx.php
1685 lines (1350 loc) · 72.8 KB
/
Place.aspx.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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?php
include_once $_SERVER['DOCUMENT_ROOT'].'/config/main.php';
if (!isset($_GET["placeId"])){
exit('Place id not set');
}
if(!(int)$_GET["placeId"]){
exit('DO NOT TRY EVER TO MAKE SQL INJECTION KIDS, THIS MUST BE A LESSION');
}
if (isset($_GET["placeId"]))
{
/* define('DB_SERVER', 'localhost');
define('DB_USERNAME', 'rblx15');
define('DB_PASSWORD', 'A*yBH]mXYNC14]ed');
define('DB_NAME', 'rblx15');
$con = mysqli_connect(DB_SERVER, DB_USERNAME, DB_PASSWORD, DB_NAME);
$query = mysqli_query($con,'select gameName,gameDesc,port,gameIp,owner from games where gameId="'.$_GET['placeId'].'"');
$row = mysqli_fetch_array($query); */
$FindGames = $pdo->prepare('select * from games where gameId="'.(int)$_GET['placeId'].'"');
$FindGames->execute();
$row = $FindGames->fetch(PDO::FETCH_ASSOC);
$Find1 = $pdo->prepare('select * from users where userid="'.$row['ownerid'].'"');
$Find1->execute();
$creator = $Find1->fetch(PDO::FETCH_ASSOC);
}
if(!$row)
{
exit("place doesnt exist");
}
?>
<!DOCTYPE html>
<!--[if IE 8]><html class="ie8" ng-app="robloxApp"><![endif]-->
<!--[if gt IE 8]><!-->
<html>
<!--<![endif]-->
<head>
<!-- MachineID: WEB219 -->
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="X-UA-Compatible" content="IE=edge,requiresActiveX=true"/>
<meta name="author" content="ROBLOX Corporation"/>
<meta name="description" content="User-generated MMO gaming site for kids, teens, and adults. Players architect their own worlds. Builders create free online games that simulate the real world. Create and play amazing 3D games. An online gaming cloud and distributed physics engine."/>
<meta name="keywords" content="free games, online games, building games, virtual worlds, free mmo, gaming cloud, physics engine"/>
<meta name="apple-itunes-app" content="app-id=431946152"/>
<title><?php echo $row['gameName']; ?>, a Free Game by <?php echo $creator['username']; ?> - ROBLOX</title>
<link rel="icon" type="image/vnd.microsoft.icon" href="/favicon.ico"/>
<link href="//fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,500,600,700" rel="stylesheet" type="text/css">
<link rel="stylesheet" href="/CSS/Base/CSS/leanbase___e457f3b30a24742f0b81021a7cb26907_m.css"/>
<link rel="stylesheet" href="/CSS/Base/CSS/page___f301aaa420b42e171ae803bef66c4307_m.css"/>
<script type="text/javascript" src="//ajax.aspnetcdn.com/ajax/4.0/1/MicrosoftAjax.js"></script>
<script type="text/javascript">window.Sys || document.write("<script type='text/javascript' src='/js/Microsoft/MicrosoftAjax.js'><\/script>")</script>
<script type="text/javascript" src="//ajax.aspnetcdn.com/ajax/jQuery/jquery-1.11.1.min.js"></script>
<script type="text/javascript">window.jQuery || document.write("<script type='text/javascript' src='/js/jquery/jquery-1.11.1.js'><\/script>")</script>
<script type="text/javascript" src="//ajax.aspnetcdn.com/ajax/jquery.migrate/jquery-migrate-1.2.1.min.js"></script>
<script type="text/javascript">window.jQuery || document.write("<script type='text/javascript' src='/js/jquery/jquery-migrate-1.2.1.js'><\/script>")</script>
<script type="text/javascript" src="/rbxcdn_js/35442da4b07e6a0ed6b085424d1a52cb.js"></script>
<script type="text/javascript">
$(function () {
Roblox.JSErrorTracker.initialize({ 'suppressConsoleError': true});
});
</script>
<script src="https://cdn.gigya.com/js/gigya.js?apiKey=3_OsvmtBbTg6S_EUbwTPtbbmoihFY5ON6v6hbVrTbuqpBs7SyF_LQaJwtwKJ60sY1p"></script>
<meta property="al:ios:url" content="robloxmobile://placeID=1818"/>
<meta property="al:ios:app_store_id" content="431946152"/>
<meta property="al:ios:app_name" content="Roblox Mobile"/>
<meta property="al:web:should_fallback" content="false"/>
<meta property="og:type" content="game"/>
<meta property="og:site_name" content="ROBLOX"/>
<meta property="og:url" content="https://www.rb14.us.to/games/1818/<?php echo $row['gameName']; ?>"/>
<meta property="og:title" content="<?php echo $row['gameName']; ?>"/>
<meta property="og:description" content="The classic ROBLOX level is back!"/>
<meta property="og:image" content="/Render.png"/>
<meta property="og:image:width" content="500"/>
<meta property="og:image:height" content="280"/>
<meta property="fb:app_id" content="190191627665278"/>
<meta property="twitter:card" content="summary_large_image"/>
<meta property="twitter:site" content="@ROBLOX"/>
<meta property="twitter:app:country" content="US"/>
<meta property="twitter:app:name:iphone" content="ROBLOX Mobile"/>
<meta property="twitter:app:id:iphone" content="431946152"/>
<meta property="twitter:app:url:iphone" content="robloxmobile://placeID=1818"/>
<meta property="twitter:app:name:ipad" content="ROBLOX Mobile"/>
<meta property="twitter:app:id:ipad" content="431946152"/>
<meta property="twitter:app:url:ipad" content="robloxmobile://placeID=1818"/>
<meta property="twitter:app:name:googleplay" content="ROBLOX"/>
<meta property="twitter:app:id:googleplay" content="com.roblox.client"/>
<script>
// TODO: we will refactor Ads refresh code and get rid of this hack code next sprint
RobloxAds = {};
RobloxAds.showAdCallback = function (slotId) {
var gutterAdsEnabled = false;
if (gutterAdsEnabled) {
return true;
}
var defaultWidth = 970;
var skyscraperWidth = 160;
var leaderboardWidth = 728;
var minWidthIncludeOneAd = defaultWidth + skyscraperWidth + 12 * 2;
var minWidthIncludeLeaderboard = leaderboardWidth;
var currentWidth = $(window).width();
if (currentWidth < minWidthIncludeLeaderboard) {
return false;
} else if (slotId.indexOf("_Left_160x600") > 0 && currentWidth < minWidthIncludeOneAd) {
return false;
}
return true;
}
</script>
<!--[if lt IE 9]>
<script src="//oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="//oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-11419793-1']);
_gaq.push(['_setCampSourceKey', 'rbx_source']);
_gaq.push(['_setCampMediumKey', 'rbx_medium']);
_gaq.push(['_setCampContentKey', 'rbx_campaign']);
_gaq.push(['_setDomainName', 'rb14.us.to']);
_gaq.push(['b._setAccount', 'UA-486632-1']);
_gaq.push(['b._setCampSourceKey', 'rbx_source']);
_gaq.push(['b._setCampMediumKey', 'rbx_medium']);
_gaq.push(['b._setCampContentKey', 'rbx_campaign']);
_gaq.push(['b._setDomainName', 'rb14.us.to']);
_gaq.push(['b._setCustomVar', 1, 'Visitor', 'Anonymous', 2]);
_gaq.push(['b._trackPageview']);
_gaq.push(['c._setAccount', 'UA-26810151-2']);
_gaq.push(['c._setDomainName', 'rb14.us.to']);
(function() {
var ga = document.createElement('script');
ga.type = 'text/javascript';
ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'https://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(ga, s);
})();
</script>
<div id="roblox-linkify" data-enabled="true" data-regex="(https?\:\/\/)?(?:www\.)?([a-z0-9\-]{2,}\.)*((m|de|www|web|api|blog|wiki|help|corp|polls|bloxcon|developer)\.roblox\.com|robloxlabs\.com)((\/[A-Za-z0-9-+&@#\/%?=~_|!:,.;]*)|(\b|\s))" data-regex-flags="gm"></div>
<script type="text/javascript">
$(function() {
if (Roblox.EventStream) {
Roblox.EventStream.InitializeEventStream(null, 8, "https://public.ecs.rb14.us.to/www/e.png");
}
});
</script>
</head>
<body>
<div id="fb-root"></div>
<div class="wrap no-gutter-ads">
<?php
pageBuilder::buildHeader();
?>
<div class="content">
<div id="Leaderboard-Abp" class="abp leaderboard-abp">
<iframe allowtransparency="true" frameborder="0" height="110" scrolling="no" src="https://www.rb14.us.to/userads/1" width="728" data-js-adtype="iframead"></iframe>
</div>
<div class="row page-content ">
<div class="col-xs-12 section game-main-content">
<div class="game-thumb-container">
<script>
var Roblox = Roblox || {};
Roblox.Carousel = function () {
var carouselId = "#rbx-carousel";
var checkedForVideo = false;
var initialize = function () {
// set up carousel
$(carouselId).carousel({
interval: 5000,
pause: "hover"
});
// bindings
$(carouselId).on("slide.bs.carousel", function () {
// pause ALL the videos
if(rbxplayer && rbxplayer.length > 0) {
var rbxplayerlen = rbxplayer.length;
for(var i = 0; i < rbxplayerlen; i++) {
Roblox.Carousel.pauseVideoAtIndex(i);
}
}
$(carouselId).carousel('cycle');
});
// hide controls when there's only one slide
if ($(carouselId+ " .carousel-indicators li").length < 2) {
$(carouselId).find(".carousel-control, .carousel-indicators").css("display", "none");
}
Roblox.Carousel.setUpYouTubeAPI();
// retry thumbnails in carousel
$(function () {
$("#rbx-carousel .item span").loadRobloxThumbnails();
});
}
var setUpYouTubeAPI = function () {
var tag = document.createElement('script');
tag.src = "https://www.youtube.com/iframe_api";
var firstScriptTag = document.getElementsByTagName('script')[0];
firstScriptTag.parentNode.insertBefore(tag, firstScriptTag);
}
var toggleVideo = function (state) {
var div = $('.flex-video');
if(div.length > 0){
var iframe = div.find('iframe')[0].contentWindow;
var func = state == 'hide' ? 'pauseVideo' : 'playVideo';
iframe.postMessage('{"event":"command","func":"' + func + '","args":""}', '*');
}
}
var pauseVideoAtIndex = function (idx) {
if (rbxplayer && rbxplayer.length > 0) {
try {
rbxplayer[idx].pauseVideo();
} catch (e) {
// tried to pause before player was ready
}
} else {
return false;
}
}
var playVideoAtIndex = function (idx) {
if(rbxplayer && rbxplayer.length > 0) {
rbxplayer[idx].playVideo();
} else {
return false;
}
}
var checkForVideo = function () {
if(checkedForVideo) {
return false;
}
var carousel = $(carouselId);
carousel.find('.item').each(function (idx, val) {
if ($(val).find('.flex-video').length > 0) {
carousel.carousel(idx);
carousel.carousel("pause");
Roblox.Carousel.playVideoAtIndex(0);
checkedForVideo = true;
return false; // stop
} else {
return true; // keep going
}
});
}
var onPlayerReady = function () {
// This first moment get the video and auto-play it
Roblox.Carousel.checkForVideo();
}
var onPlayerPlaying = function () {
// We are playing the video. Stop the carousel.
var carousel = $(carouselId);
carousel.carousel("pause");
}
return {
initialize: initialize,
toggleVideo: toggleVideo,
checkForVideo: checkForVideo,
setUpYouTubeAPI: setUpYouTubeAPI,
onPlayerReady: onPlayerReady,
onPlayerPlaying: onPlayerPlaying,
pauseVideoAtIndex: pauseVideoAtIndex,
playVideoAtIndex: playVideoAtIndex
}
}();
// For YouTube API. Must be global.
var rbxplayer = [];
function onYouTubeIframeAPIReady() {
var carouselId = "#rbx-carousel";
$(carouselId).find(".flex-video").each(function (idx, el) {
youTubeId = $(el).find("iframe").attr("id");
rbxplayer[rbxplayer.length] = new YT.Player(youTubeId, {});
});
// listen for postMessage from YouTube
$(window).on("message", function (e) {
var originalData = e.originalEvent.data;
// data is not JSON
if (originalData.charAt(0) != "{") {
return ;
}
var data = $.parseJSON(originalData);
if (data.event == "onReady") {
Roblox.Carousel.onPlayerReady();
}
if(data.event == "infoDelivery" && data.info.playerState && data.info.playerState == 1) {
Roblox.Carousel.onPlayerPlaying();
}
});
}
$(document).ready(function () {
Roblox.Carousel.initialize();
});
</script>
<div id="rbx-carousel" class="rbx-carousel carousel slide" data-ride="carousel">
<!-- Indicators -->
<ol class="carousel-indicators">
<li data-target="#rbx-carousel" data-slide-to="0" class="active"></li>
</ol>
<!-- Wrapper for slides -->
<div class="carousel-inner" role="listbox">
<div class="item active">
<span><img class="CarouselThumb" src="/rbxcdn_img/04baeb33ef66ef1395cd5464309fece6.jpg"/></span> <div class="carousel-caption">
</div>
</div>
</div>
<!-- Controls -->
<a class="left carousel-control" href="#rbx-carousel" role="button" data-slide="prev">
<span class="glyphicon glyphicon-chevron-left rbx-icon-carousel-left" aria-hidden="true"></span>
<span class="sr-only">Previous</span>
</a>
<a class="right carousel-control" href="#rbx-carousel" role="button" data-slide="next">
<span class="glyphicon glyphicon-chevron-right rbx-icon-carousel-right" aria-hidden="true"></span>
<span class="sr-only">Next</span>
</a>
</div>
</div>
<div class="game-calls-to-action">
<div id="game-context-menu">
<a class="rbx-menu-item" data-toggle="popover" data-bind="game-context-menu" data-original-title="" title="" data-viewport=".game-calls-to-action">
<i class="rbx-icon-more"></i>
</a>
<div class="rbx-popover-content" data-toggle="game-context-menu">
<ul class="rbx-dropdown-menu" role="menu">
<li>
<div class="VisitButton VisitButtonEdit" placeid="1818" data-universeid="0" data-allowupload="true">
<a>Edit</a>
</div>
</li>
</ul>
</div>
</div>
<script>
$(function() {
$("#game-context-menu ").on("click", ".rbx-context-menu-shutdown-all", function (evt) {
evt.preventDefault();
var placeId = $(this).data("place-id");
$("#game-context-menu").find(".rbx-menu-item").popover('hide');
Roblox.GenericConfirmation.open({
titleText: "Shut Down Game",
bodyContent: "Are you sure you want to shut down this game?",
onAccept: function () {
$.post("/Games/shutdown-all-instances?placeId=", {
placeId:placeId
}, function(data) {
//alert(data);
});
},
acceptColor: Roblox.GenericConfirmation.blue,
acceptText: "Yes",
declineText: "No",
allowHtmlContentInBody: true
});
});
$("#game-context-menu").on("click", ".VisitButtonBuildPH", function (evt) {
$("#game-context-menu").find(".rbx-menu-item").popover('hide');
var el = $(this);
var placeId = el.attr("placeid");
var universeId = el.data("universeid");
var allowUpload = el.data("allowupload") ? true : false;
Roblox.GameLauncher.buildGameInStudio(placeId, universeId, allowUpload);
});
$("#game-context-menu").on("click", ".VisitButtonEditPH", function (evt) {
$("#game-context-menu").find(".rbx-menu-item").popover('hide');
var el = $(this);
var placeId = el.attr("placeid");
var universeId = el.data("universeid");
var allowUpload = el.data("allowupload") ? true : false;
Roblox.GameLauncher.editGameInStudio(placeId, universeId, allowUpload);
});
});
</script>
<h1 class="game-name" title="<?php echo $row['gameName']; ?>"><?php echo $row['gameName']; ?></h1>
<h4 class="game-creator"><a class="rbx-link" href="https://www.rb14.us.to/User.aspx?ID=<?php echo $row['ownerid']; ?>"><?php echo $creator['username']; ?></a></h4>
<div class="game-play-buttons" data-autoplay="false">
<div id="MultiplayerVisitButton" class="VisitButton VisitButtonPlay" placeid="1818" data-action="play" data-is-membership-level-ok="true">
<a class="rbx-btn-primary-lg" href="<?php echo 'trsblx-player-rb14:1+launchmode:play+gameinfo:'; if(isset($_COOKIE['_ROBLOSECURITY'])){ echo $_COOKIE['_ROBLOSECURITY']; }else{ echo '0'; } echo '+launchtime:17020401369379+placelauncherurl:http%3A%2F%2Fwww.rb14.us.to%2FGame%2FPlaceLauncher.ashx%3FplaceId%3D'.(int)$_GET['placeId'].'+browsertrackerid:197870394468' ?>">Play</a>
</div>
<script type="text/javascript">
Roblox = Roblox || {};
Roblox.BCUpsellModal = function () {
var resources = {
//<sl:translate>
title: "Builders Club Only",
body: "This is a premium feature only available to our Builders Club members.",
accept: "Upgrade Now"
//</sl:translate>
};
var open = function () {
var options = {
titleText: Roblox.BCUpsellModal.Resources.title,
bodyContent: Roblox.BCUpsellModal.Resources.body,
footerText: "",
acceptText: Roblox.BCUpsellModal.Resources.accept,
declineText: Roblox.Resources.GenericConfirmation.No,
acceptColor: Roblox.GenericConfirmation.green,
onAccept: function () { window.location.href = '/Upgrades/BuildersClubMemberships.aspx'; },
imageUrl: 'https://images.rbxcdn.com/43ac54175f3f3cd403536fedd9170c10.png'
};
Roblox.GenericConfirmation.open(
options
);
};
return {
open: open,
Resources:resources
};
} ();
</script>
<script type="text/javascript">
var play_placeId = 1818;
function redirectPlaceLauncherToLogin() {
location.href = "/login/default.aspx?ReturnUrl=" + encodeURIComponent("/games/1818/<?php echo $row['gameName']; ?>");
}
function redirectPlaceLauncherToRegister() {
location.href = "/login/NewAge.aspx?ReturnUrl=" + encodeURIComponent("/games/1818/<?php echo $row['gameName']; ?>");
}
function fireEventAction(action) {
RobloxEventManager.triggerEvent('rbx_evt_popup_action', { action: action });
}
$(function () { $('.VisitButtonPlay').click(function () {play_placeId=$(this).attr('placeid');Roblox.CharacterSelect.placeid = play_placeId;Roblox.CharacterSelect.show();});$('#game-context-menu').on('click touchstart','.VisitButtonBuild', function () {RobloxLaunch._GoogleAnalyticsCallback = function() { var isInsideRobloxIDE = 'website'; if (Roblox && Roblox.Client && Roblox.Client.isIDE && Roblox.Client.isIDE()) { isInsideRobloxIDE = 'Studio'; };GoogleAnalyticsEvents.FireEvent(['Plugin Location', 'Launch Attempt', isInsideRobloxIDE]);GoogleAnalyticsEvents.FireEvent(['Plugin', 'Launch Attempt', 'Build']);EventTracker.fireEvent('GameLaunchAttempt_Unknown', 'GameLaunchAttempt_Unknown_Plugin'); if (typeof Roblox.GamePlayEvents != 'undefined') { Roblox.GamePlayEvents.SendClientStartAttempt(null, play_placeId); } }; play_placeId = (typeof $(this).attr('placeid') === 'undefined') ? play_placeId : $(this).attr('placeid'); Roblox.Client.WaitForRoblox(function() { window.location = '/Login/Default.aspx?ReturnUrl=http%3a%2f%2fwww.rb14.us.to%2fgames%2f1818%2f<?php echo $row['gameName']; ?>' }); return false;});$('#game-context-menu').on('click touchstart','.VisitButtonEdit', function () {RobloxLaunch._GoogleAnalyticsCallback = function() { var isInsideRobloxIDE = 'website'; if (Roblox && Roblox.Client && Roblox.Client.isIDE && Roblox.Client.isIDE()) { isInsideRobloxIDE = 'Studio'; };GoogleAnalyticsEvents.FireEvent(['Plugin Location', 'Launch Attempt', isInsideRobloxIDE]);GoogleAnalyticsEvents.FireEvent(['Plugin', 'Launch Attempt', 'Edit']);EventTracker.fireEvent('GameLaunchAttempt_Unknown', 'GameLaunchAttempt_Unknown_Plugin'); if (typeof Roblox.GamePlayEvents != 'undefined') { Roblox.GamePlayEvents.SendClientStartAttempt(null, play_placeId); } }; play_placeId = (typeof $(this).attr('placeid') === 'undefined') ? play_placeId : $(this).attr('placeid'); Roblox.Client.WaitForRoblox(function() { RobloxLaunch.StartGame('https://www.rb14.us.to//Game/edit.ashx?PlaceID='+play_placeId+'&upload=', 'edit.ashx', 'https://www.rb14.us.to//Login/Negotiate.ashx', 'FETCH', true) }); return false;});$('.VisitButtonPersonalServer').click(function () {play_placeId=$(this).attr('placeid');Roblox.CharacterSelect.placeid = play_placeId;Roblox.CharacterSelect.show();});$(document).on('CharacterSelectLaunch', function (event, genderTypeID) { if (genderTypeID == 3) { var isInsideRobloxIDE = 'website'; if (Roblox && Roblox.Client && Roblox.Client.isIDE && Roblox.Client.isIDE()) { isInsideRobloxIDE = 'Studio'; };GoogleAnalyticsEvents.FireEvent(['Plugin Location', 'Launch Attempt', isInsideRobloxIDE]);GoogleAnalyticsEvents.FireEvent(['Plugin', 'Launch Attempt', 'Play']);EventTracker.fireEvent("GameLaunchAttempt_Unknown", "GameLaunchAttempt_Unknown_Plugin"); } else { var isInsideRobloxIDE = 'website'; if (Roblox && Roblox.Client && Roblox.Client.isIDE && Roblox.Client.isIDE()) { isInsideRobloxIDE = 'Studio'; };GoogleAnalyticsEvents.FireEvent(['Plugin Location', 'Launch Attempt', isInsideRobloxIDE]);GoogleAnalyticsEvents.FireEvent(['Plugin', 'Launch Attempt', 'Play']);EventTracker.fireEvent("GameLaunchAttempt_Unknown", "GameLaunchAttempt_Unknown_Plugin"); }play_placeId = (typeof $(this).attr('placeid') === 'undefined') ? play_placeId : $(this).attr('placeid'); Roblox.Client.WaitForRoblox(function() { RobloxLaunch.RequestGame('PlaceLauncherStatusPanel', play_placeId, genderTypeID); }); return false;});}());;
</script>
<script type="text/javascript">
$(function() {
Roblox.PlaceItemPurchase = new Roblox.ItemPurchase(function (obj) {
$(".PurchaseButton[data-item-id="+ obj.AssetID +"]").each(function (index, htmlElem) {
$("#rbx-place-purchase-required").hide();
$("#MultiplayerVisitButton").show();
});
});
if("False".toLowerCase() == "true") {
$(function () {
$("#rbx-place-purchase-required").on("click", function(e) {
Roblox.PlaceItemPurchase.openPurchaseVerificationView(this);
return false;
});
});
}
});
</script>
</div>
<ul class="share-rate-favorite">
<li class="favorite-button-container rbx-tooltip" data-toggle="tooltip" title="" data-original-title="Add this game to favorites">
<a>
<span class="rbx-icon-favorite " data-toggle-url="/favorite/toggle" data-assetid="1818" data-isguest="False">
</span>
<span title="53,728">53K+</span>
</a>
</li>
<script type="text/javascript">
//<sl:translate>
Roblox = Roblox || {};
Roblox.Resources = Roblox.Resources || {};
Roblox.Resources.FavoriteButton = {
AddToFavorites: "Add to favorites",
RemoveFromFavorites: "Remove from favorites"
};
//</sl:translate>
Roblox.FavoriteButton = Roblox.FavoriteButton || {};
var isCurrentlyFavorited = false;
Roblox.FavoriteButton.initialTooltip = isCurrentlyFavorited ? Roblox.Resources.FavoriteButton.RemoveFromFavorites : Roblox.Resources.FavoriteButton.AddToFavorites;
</script>
<li class="voting-panel body" data-asset-id="1818" data-total-up-votes="1284" data-total-down-votes="110" data-vote-modal="" data-user-authenticated="False">
<div class="loading"></div>
<div class="vote-summary">
<div class="voting-details">
<div class="users-vote ">
<div class="upvote">
<span class="rbx-icon-like "></span>
<span id="vote-up-text" class="vote-text">1,284</span>
</div>
<div class="downvote">
<span id="vote-down-text" class="vote-text">110</span>
<span class="rbx-icon-dislike "></span>
</div>
</div>
</div>
<div class="visual-container">
<div class="background"></div>
<div class="percent"></div>
</div>
</div>
</li>
<script>
$(function () {
Roblox.Voting.Initialize();
Roblox.Voting.Resources = {
//<sl:translate>
emailVerifiedTitle: "Verify Your Email",
emailVerifiedMessage: "You must verify your email before you can vote. You can verify your email on the <a href='/my/account?confirmemail=1'>Account</a> page.",
playGameTitle: "Play Game",
playGameMessage: "You must play the game before you can vote on it.",
useModelTitle: "Use Model",
useModelMessage: "You must use this model before you can vote on it.",
installPluginTitle: "Install Plugin",
installPluginMessage: "You must install this plugin before you can vote on it.",
buyGamePassTitle: "Buy Game Pass",
buyGamePassMessage: "You must own this game pass before you can vote on it.",
floodCheckThresholdMetTitle: "Slow Down",
floodCheckThresholdMetMessage: "You're voting too quickly. Come back later and try again.",
unknownProblemTitle: "Something Broke",
unknownProblemMessage: "There was an unknown problem voting. Please try again.",
guestUserTitle: "Login to Vote",
guestUserMessage: "<div>You must login to vote.</div> <div>Please <a href='/'>login or register</a> to continue.</div>",
accept: "Verify",
decline: "Cancel",
login: "Login"
//<sl:translate>
};
});
</script>
<li class="social-media-share">
<i class="rbx-icon-share" id="rbx-share-btn" data-viewport=".page-content" data-bind="rbx-share-btn-regular-size-content"></i>
<div id="rbx-share-container" data-toggle="rbx-share-btn-regular-size-content">
<div class="share-container-inner">
<p class="catchy-title">
Share with your friends
<span class="rbx-icon-moreinfo"></span>
</p>
<div id="gigya-target"></div>
<input class="copy-to-clipboard form-control rbx-input-field" type="text" value="https://www.rb14.us.to/games/1818/view" readonly="true"/>
<div class="catchy-title-tooltip-hover">Share ROBLOX with your friends and earn ROBUX every time they make a purchase.</div>
</div>
</div>
<script>
//TODO we will get rid of this when Facebook fixes their problem
var facebookScraped = false;
function facebookScrapeBugWorkaround(url) {
if (!facebookScraped) {
$.getJSON("https://graph.facebook.com/",
{
id: url,
scrape: true
}, function (data) { facebookScraped = true; });
}
}
$("#rbx-share-btn").on("click", function () {
facebookScrapeBugWorkaround("https://www.rb14.us.to/games/1818/view");
socialShareButtons = [
{
'provider': "Facebook",
'enableCount': "true",
'iconImgUp': "https://images.rbxcdn.com/4799659a1367d6c6e235b5986cb9b6b9.png"
},
{
'provider': "Twitter",
'enableCount': "true",
'iconImgUp': "https://images.rbxcdn.com/d75e7a07fd4db793d79060cc5976cb29.png"
},
{
'provider': "Googleplus",
'enableCount': "true",
'iconImgUp': "https://images.rbxcdn.com/ee4b20b19bbaac5eb7c5e2c46a750c5c.png"
}];
Roblox.Social.presentShareDialog("ROBLOX: " + "<?php echo $row['gameName']; ?>", "https://www.rb14.us.to/games/1818/view", "https://t0.rbxcdn.com/60c04edf493a550af2759df941101bbf");
});
</script>
</li><!-- .social-media-share -->
</ul><!-- .share-rate-favorite-->
</div>
</div>
<div class="col-xs-12 rbx-tabs-horizontal">
<ul id="horizontal-tabs" class="nav nav-tabs" role="tablist">
<li id="tab-about" class="rbx-tab active">
<a class="rbx-tab-heading" href="#about">
<span class="rbx-lead">About</span>
</a>
</li>
<li id="tab-developer-store" class="rbx-tab">
<a class="rbx-tab-heading" href="#developer-store">
<span class="rbx-lead">Developer Store</span>
</a>
</li>
<li id="tab-leaderboards" class="rbx-tab">
<a class="rbx-tab-heading" href="#leaderboards">
<span class="rbx-lead">Leaderboards</span>
</a>
</li>
<li id="tab-game-instances" class="rbx-tab">
<a class="rbx-tab-heading" href="#game-instances">
<span class="rbx-lead">Game Instances</span>
</a>
</li>
</ul>
<div class="tab-content rbx-tab-content">
<div class="tab-pane active" id="about">
<div class="section game-about-container">
<h3>Description</h3>
<p class="game-description linkify">The classic ROBLOX level is back!</p>
<ul class="game-stats-container">
<li class="game-stat">
<p class="stat-title">Visits</p>
<p class="rbx-lead" title="2,856,734">2M+</p>
</li>
<li class="game-stat">
<p class="stat-title">Created</p>
<p class="rbx-lead">4/30/2007</p>
</li>
<li class="game-stat">
<p class="stat-title">Updated</p>
<p class="rbx-lead">7/1/2013</p>
</li>
<li class="game-stat">
<p class="stat-title">Max Players</p>
<p class="rbx-lead">8</p>
</li>
<li class="game-stat">
<p class="stat-title">Genre</p>
<p><a class="rbx-lead rbx-link" href="https://www.rb14.us.to/games?GenreFilter=1">All</a></p>
</li>
<li class="game-stat">
<p class="stat-title">Allowed Gear types</p>
<p class="rbx-lead stat-gears">
<span class="rbx-icon-nogear" data-toggle="tooltip" data-original-title="No Gear Allowed"></span>
</p>
</li>
</ul>
<div class="game-stat-footer">
<span class="game-report-abuse"><a class="rbx-text-danger" href="https://www.rb14.us.to/abusereport/asset?id=1818&RedirectUrl=%2fgames%2f1818%2f<?php echo $row['gameName']; ?>">Report Abuse</a></span>
</div>
</div>
<div class="section">
<div id="AjaxCommentsContainer" class="comments-container" data-asset-id="1818" data-total-collection-size="" data-is-user-authenticated="False">
<h3>Comments</h3>
<div class="AddAComment">
<div class="comment-form">
<div class="Avatar roblox-avatar-image" data-user-id="-1" data-image-size="small"></div>
<form class="rbx-form-horizontal ng-pristine ng-valid" role="form">
<div class="rbx-form-group">
<textarea class="form-control rbx-input-field rbx-comment-input blur" placeholder="Write a comment!" rows="1"></textarea>
<div class="rbx-comment-msgs">
<span class="rbx-comment-error rbx-text-danger"></span>
<span class="rbx-comment-count rbx-text-notes"></span>
</div>
</div>
<button type="button" class="rbx-btn-secondary-sm rbx-post-comment">Post Comment</button>
</form>
</div>
<div class="comments vlist">
</div>
<div class="comments-item-template">
<div class="comment-item list-item">
<div class="comment-user list-header">
<div class="Avatar" data-user-id="comment-author-id" data-image-size="small"></div>
</div>
<div class="comment-body list-body">
<strong>username</strong>
<p class="comment-content list-content"> text </p>
<span class="rbx-text-notes">4 hours ago</span>
</div>
<div class="comment-controls">
<a class="rbx-comment-report-link" href="https://www.rb14.us.to/abusereport/comment?id=%CommentID&redirectUrl=%PageURL" title="Report Abuse"><span class="rbx-icon-flag"></span></a>
</div>
</div>
</div>
</div>
</div>
<div id="AjaxCommentsMoreButtonContainer">
<button type="button" class="rbx-btn-control-sm rbx-comments-see-more hidden">See More</button>
</div>
</div>
<script>
$(document).ready(function () {
rb14.us.toments.Resources = {
//<sl:translate>
defaultMessage: 'Write a comment!',
noCommentsFound: 'No comments found.',
moreComments: 'More comments',
sorrySomethingWentWrong: 'Sorry, something went wrong.',
charactersRemaining: ' characters remaining',
emailVerifiedABTitle: 'Verify Your Email',
emailVerifiedABMessage: "You must verify your email before you can comment. You can verify your email on the <a href='/my/account?confirmemail=1'>Account</a> page.",
linksNotAllowedTitle: 'Links Not Allowed',
linksNotAllowedMessage: 'Comments should be about the item or place on which you are commenting. Links are not permitted.',
accept: 'Verify',
decline: 'Cancel',
tooManyCharacters: 'Too many characters!',
tooManyNewlines: 'Too many newlines!'
//</sl:translate>
};
rb14.us.toments.Limits =
[
{
limit: '10',
character: "\n",
message: rb14.us.toments.Resources.tooManyNewlines
},
{
limit: '200',
character: undefined,
message: rb14.us.toments.Resources.tooManyCharacters
}
];
rb14.us.toments.FilterIsEnabled = true;
rb14.us.toments.FilterRegex = "(([a-zA-Z0-9-]+\\.[a-zA-Z]{2,4}[:\\#/\?]+)|([a-zA-Z0-9]\\.[a-zA-Z0-9-]+\\.[a-zA-Z]{2,4}))";
rb14.us.toments.FilterCleanExistingComments = false ;
rb14.us.toments.initialize();
});
</script>
<div id="my-recommended-games" class="col-xs-12 container-list games-detail">
<div class="container-header">
<h3>Recommended Games</h3>
</div>
<ul class="hlist game-list">
<li class="list-item game">
<a href="https://www.rb14.us.to/games/refer?RecommendationType=1&RecommendationSourceId=1818&PlaceId=19549795&Position=1&PageType=Recommendation&Autoplay=False" class="game-item">
<span class="game-thumb"><img class="" src="https://t6.rbxcdn.com/f3dbff423995cb7574414a58ffb0308f"/></span>
<span class="rbx-title rbx-text-overflow">Call of Robloxia 5 - Roblox at War</span>
<span class="rbx-text-notes rbx-font-sm">518 Online</span>
</a>
</li>
<li class="list-item game">
<a href="https://www.rb14.us.to/games/refer?RecommendationType=1&RecommendationSourceId=1818&PlaceId=11235413&Position=2&PageType=Recommendation&Autoplay=False" class="game-item">
<span class="game-thumb"><img class="" src="https://t1.rbxcdn.com/16b3adfebccf6bbdbf26094170da64c7"/></span>
<span class="rbx-title rbx-text-overflow">What am I Drawing? (NEW!) [GRAND OPENING]</span>
<span class="rbx-text-notes rbx-font-sm">54 Online</span>
</a>
</li>
<li class="list-item game">
<a href="https://www.rb14.us.to/games/refer?RecommendationType=1&RecommendationSourceId=1818&PlaceId=153850&Position=3&PageType=Recommendation&Autoplay=False" class="game-item">
<span class="game-thumb"><img class="" src="https://t7.rbxcdn.com/60403de8925cdc960857dfe6478b72c9"/></span>
<span class="rbx-title rbx-text-overflow">WWII: Battle For Carentan</span>
<span class="rbx-text-notes rbx-font-sm">3 Online</span>
</a>
</li>
<li class="list-item game">
<a href="https://www.rb14.us.to/games/refer?RecommendationType=1&RecommendationSourceId=1818&PlaceId=85697719&Position=4&PageType=Recommendation&Autoplay=False" class="game-item">
<span class="game-thumb"><img class="" src="https://t3.rbxcdn.com/5ce538e52e85c3451a754b79b2ec940c"/></span>
<span class="rbx-title rbx-text-overflow">Kingdom Life™ II [Textured Hats!]</span>
<span class="rbx-text-notes rbx-font-sm">156 Online</span>
</a>
</li>
</ul>
</div>
</div>
<div class="tab-pane developer-store" id="developer-store">
<p><strong>This game does not sell any virtual items or power-ups.</strong></p>
<script>
$(function () {
Roblox.GamePassJSData = { };
Roblox.GamePassJSData.PlaceID = 1818;
var purchaseConfirmationCallback = function (obj) {
var originalContainer = $('.PurchaseButton[data-item-id=' + obj.AssetID + ']').parent('.rbx-caption');
originalContainer.find('.rbx-purchased').hide();
originalContainer.find('.rbx-item-buy').show();
};
Roblox.GamePassItemPurchase = new Roblox.ItemPurchase(purchaseConfirmationCallback);
$("#developer-store #rbx-game-passes").on("click", ".PurchaseButton", function (e) {
Roblox.PlaceProductPromotionItemPurchase.openPurchaseVerificationView($(this));
});
$("#developer-store #rbx-game-passes .btn-more").on("click", function (e) {
$("#rbx-game-passes #rbx-passes-container").toggleClass("collapsed");
});
});
</script>
<input name="__RequestVerificationToken" type="hidden" value="AjLhQN1df71rMUIz0ewQWOA5hM-vOl1QqXqcEcYbN7qgKVaLjzqOot-pFkd-1ACXVzsfZWHI6DcU76zCBRCC7yS5iaQ1"/>
<script>
// From DisplayProductPromotions
$(function() {
Roblox.PlaceProductPromotion.Resources = {
//<sl:translate>
anErrorOccurred: 'An error occurred, please try again.'
, youhaveAdded: "You have added "
, toYourGame: " to your game, "
, youhaveRemoved: "You have removed "
, fromYourGame: " from your game."
, ok: "OK"
, success: "Success!"
, error: "Error"
, sorryWeCouldnt: "Sorry, we couldn't remove the item from your game. Please try again."
, notForSale: "This item is not for sale."
, rent: "Rent"
//<sl:translate>
};
var purchaseConfirmationCallback = function (obj) {
var originalContainer = $('.PurchaseButton[data-item-id=' + obj.AssetID + ']').parent('.rbx-caption');
originalContainer.find('.rbx-purchased').hide();
originalContainer.find('.rbx-item-buy').show();
};
Roblox.PlaceProductPromotionItemPurchase = new Roblox.ItemPurchase(purchaseConfirmationCallback);
Roblox.PlaceProductPromotion.PlaceID = 1818;
$("#developer-store").on("click", ".rbx-icon-delete", function(e) {
var promoId = $(this).data('delete-promotion-id');
Roblox.PlaceProductPromotion.DeleteGear(promoId);
});
$("#developer-store #rbx-game-gear").on("click", ".PurchaseButton", function (e) {
Roblox.PlaceProductPromotionItemPurchase.openPurchaseVerificationView($(this));
});
$("#developer-store #rbx-game-gear .btn-more").on("click", function (e) {
$("#rbx-game-gear .rbx-gear-container").toggleClass("collapsed");
});
});
</script>
<div id="DeleteProductPromotionModal" class="PurchaseModal">
<div id="simplemodal-close" class="simplemodal-close">
<a></a>
</div>
<div class="titleBar" style="text-align: center">
</div>
<div class="PurchaseModalBody">
<div class="PurchaseModalMessage">
<div class="PurchaseModalMessageImage">
<div class="thumbs-up-green">
</div>
</div>
<div class="PurchaseModalMessageText">
</div>
</div>