Advertisement
Guest User

New Chat.php

a guest
May 30th, 2015
452
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 28.11 KB | None | 0 0
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
  2. "http://www.w3.org/TR/html4/loose.dtd">
  3. <html>
  4. <head>
  5. <META http-equiv="Content-Type" content="text/html; charset=UTF-8">
  6. <meta property="xat:bot" content="1510151" />
  7. <meta property="og:title" content="<?php print $chat[0]['name']; ?> chat group" />
  8. <meta property="og:description" content="Obtine Ajutor cu si despre xat." />
  9. <meta property="og:type" content="website" />
  10. <meta property="og:url" content="<?php print $chat[0]['name']; ?>" />
  11. <meta property="og:image" content="/tema/images/xatblk.png" />
  12. <meta property="og:site_name" content="xat.com" />
  13. <meta property="fb:admins" content="562601872" />
  14. <script type="text/javascript">
  15. //<![CDATA[
  16. try{if (!window.CloudFlare) {var CloudFlare=[{verbose:0,p:0,byc:0,owlid:"cf",bag2:1,mirage2:0,oracle:0,paths:{cloudflare:"/cdn-cgi/nexp/dok2v=88e434a982/"},atok:"0debc295324a9a09ed533e125f1d04e4",petok:"bf979068a0ba7c2a4ba4702f516f45b70ea2aedf-1411733561-1800",zone:"xat.com",rocket:"0",apps:{}}];CloudFlare.push({"apps":{"ape":"6e16b7c19e03167a2d23f83f73db1075"}});!function(a,b){a=document.createElement("script"),b=document.getElementsByTagName("script")[0],a.async=!0,a.src="//ajax.cloudflare.com/cdn-cgi/nexp/dok2v=97fb4d042e/cloudflare.min.js",b.parentNode.insertBefore(a,b)}()}}catch(e){};
  17. //]]>
  18. </script>
  19. <STYLE type=text/css>
  20. <?php print $chat[0]['cssxat']; ?>
  21. </STYLE>
  22. </script>
  23. <STYLE type=text/css>
  24. body,td,th {
  25. font-family: Helvetica, Arial, sans-serif;
  26. color: #FFFFFF;
  27. margin-left: 0px;
  28. margin-top: 0px;
  29. margin-right: 0px;
  30. margin-bottom: 0px;
  31. }
  32. body {
  33. background-color: #000000; BACKGROUND-POSITION: Center; BACKGROUND-ATTACHMENT: fixed; BACKGROUND-IMAGE: url(<?php print $chat[0]['outter']; ?>)}a:link,a:visited{color: #FFFFFF !important}
  34. !important}h2{color: #FFFFFF !important}embed{box-shadow: 0px 0px 80px <?php print $chat[0]['button']; ?>}*{cursor:url(),auto}embed{;}
  35.  
  36. }
  37. P {
  38. FONT-SIZE: 0.8em;
  39. }
  40. A:link {text-decoration: none; color:#FFFFFF}
  41. A:visited {text-decoration: none; color:#FFFFFF}
  42. A:hover {text-decoration: underline; color:#FFFFFF}
  43. A:active {text-decoration: none; color:#FFFFFF}
  44.  
  45. .foot { FONT-SIZE: 0.9em;}
  46.  
  47. .vbmenu_control
  48. {
  49. color: #FFFFFF;
  50. font: bold 11px tahoma, verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
  51. padding: 0px 0px 0px 0px;
  52. white-space: nowrap;
  53. border-top:none;
  54. border-bottom: 1px solid #a3a3a3;
  55. }
  56.  
  57. .vbmenu_control_o
  58. {
  59. border-top:none;
  60. border-bottom: 1px solid #a3a3a3;
  61. }
  62.  
  63. .vbmenu_control_t
  64. {
  65. background: transparent url(/images/menuback.gif) center center repeat-x;
  66. border-bottom: 1px solid #a3a3a3;
  67. border-top: 1px solid #a3a3a3;
  68. }
  69. .vbmenu_control_os
  70. {
  71. border-top:none;
  72. border-bottom: 1px solid #000000;
  73. }
  74.  
  75. .vbmenu_control_ts
  76. {
  77. background: transparent url(/images/menuback.gif) center center repeat-x;
  78. border-bottom: 1px solid #000000;
  79. border-top: 1px solid #a3a3a3;
  80. }
  81.  
  82. H2
  83. {
  84. padding:0;
  85. line-height:14px;
  86. margin:0;
  87. font-size:14px;
  88. text-align:left;
  89. vertical-align:middle;
  90. margin-bottom:4px;
  91. margin-top:-1px;
  92. }
  93. H1
  94. {
  95. padding:0;
  96. line-height:51px;
  97. margin:0;
  98. text-align:left;
  99. vertical-align:bottom;
  100. font-size:37px;
  101. margin-bottom:-3px;
  102. font-weight:bold;
  103. }
  104. .btext
  105. {
  106. text-align:center;
  107. font-size:10px;
  108. }
  109. .btext2
  110. {
  111. text-align:left;
  112. font-size:10px;
  113. }
  114.  
  115. </STYLE>
  116. <title><?php print $chat[0]['name']; ?> chat group - <?php print $chat[0]['desc'];?> </title>
  117. <LINK REL="SHORTCUT ICON" href="http://xat.com/web_gear/chat/icon.ico">
  118. <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.1/jquery.min.js"></script>
  119. <script language="JavaScript"><!--
  120. function jumpScroll() {
  121. window.scroll(0,566);
  122. }
  123. function jsGo(str) {
  124. window.location.href = 'http://<?php echo $config->info['server_domain']; ?>/' + clean(str) +'?p=0&ss=3';
  125. }
  126. function ReopenIm()
  127. {
  128. ClearMedia();
  129. divId=document.getElementById('control');
  130. divId.innerHTML='';
  131. divId.style.display="none";
  132. divId = document.getElementById('msgr');
  133. if(divId)
  134. divId.style.display="inline";
  135. }
  136.  
  137. function ClearAll()
  138. {
  139. ClearControl();
  140. ClearMedia();
  141. }
  142.  
  143. function ClearMedia()
  144. {
  145. divId=document.getElementById('media');
  146. divId.innerHTML='';
  147. }
  148. function OpenSmilies()
  149. {
  150. divId=document.getElementById('media');
  151. divId.innerHTML='<embed src="http://<?php echo $config->info['server_domain']; ?>/web_gear/flash/smilies.swf?b4" quality="high" wmode="transparent" flashvars="cn=<?php print $core->cn ?>" width="425" height="600" name=smilies align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" />';
  152. ClearControl();
  153. createCookie("LastApp", 30006, 31);
  154. return 1;
  155. }
  156. function FlashDbg(s)
  157. {
  158. alert ("FlashDbg:"+s);
  159. return 1;
  160. }
  161.  
  162. function OpenDoodle()
  163. {
  164. divId=document.getElementById('media');
  165. divId.innerHTML='<embed src="http://<?php echo $config->info['server_domain']; ?>/web_gear/flash/doodle.swf?a12" quality="high" bgcolor="#000000" flashvars="cn=<?php print $core->cn ?>" width="425" height="600" name="doodle" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" wmode="transparent" />';
  166. ClearControl();
  167. createCookie("LastApp", 10000, 31);
  168. return 1;
  169. }
  170. function OpenUniverse()
  171. {
  172. divId=document.getElementById('media');
  173. divId.innerHTML='<embed src="http://xat.com/web_gear/flash/universe.swf?d0" quality="high bgcolor="#000000" flashvars="id=62861290&l=en" width="425" height="540" name="universe" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" /><div style="background-color:#000000; font-size:10px"><table border="0" width="425"><tr><td>The xat universe shows a live view of the public chat groups on xat. To visit a chat group click on its planet, you can navigate around by clicking on empty space and zoom in and out by clicking on the magnifying glass and moving it up and down. Click <a href="http://xat.com/universe.html?id=62861290">here for more</a>.</td></tr></table></div>';
  174. ClearControl();
  175. return 1;
  176. }
  177.  
  178. function OpenGame(id)
  179. {
  180. if(id == 30006)
  181. {
  182. OpenSmilies();
  183. return 1;
  184. }
  185. if(id == 30010)
  186. {
  187. OpenUniverse();
  188. return 1;
  189. }
  190. divId=document.getElementById('media');
  191. if(id != 20034)
  192. createCookie("LastApp", id, 31);
  193. var w = 425;
  194. if(id&1) w=600;
  195.  
  196. divId.innerHTML='<embed src="http://<?php echo $config->info['server_domain']; ?>/web_gear/flash/'+id+'.swf?AA7fg" quality="high" wmode="transparent" flashvars="cn=<?php print $core->cn ?>" width="'+w+'" height="600" name="app" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" />';
  197. ClearControl();
  198. return 1;
  199. }
  200.  
  201. function OpenAyah(obj)
  202. {
  203. var divId=document.getElementById('media');
  204. var e = '<iframe width=400 height=600 src=http://xat.com/web_gear/chat/AreYouaHuman.php?';
  205. var keys = {type:"type", s:"s", i:"i", k:"k", t:"t", r:"roomid"};
  206. for (var key in keys)
  207. e += key + "=" + parseInt(obj[keys[key]]) + "&";
  208. e += "</iframe>";
  209. divId.innerHTML=e;
  210. ClearControl();
  211. return 1;
  212. }
  213.  
  214. function ClearControl()
  215. {
  216. divId=document.getElementById('control');
  217. divId.innerHTML='';
  218. divId.style.display="none";
  219. divId = document.getElementById('msgr');
  220. if(divId)
  221. divId.style.display="none";
  222. createCookie("LastApp", 0, 1);
  223. }
  224. function SetControl()
  225. {
  226. ClearControl();
  227. divId=document.getElementById('control');
  228. divId.style.display="inline";
  229. if(divId.innerHTML.length < 10)
  230. divId.innerHTML='<embed src="http://<?php echo $config->info['server_domain']; ?>/web_gear/flash/media.swf?b44" quality="high" wmode="transparent" flashvars="cn=<?php print $core->cn ?>&id=62861290&md=0" width="425" height="131" name="media" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" />';
  231. }
  232. function OpenMedia(str, nocook) {
  233. if(str != 0 && str.indexOf("youtube.com") == -1)
  234. {
  235. str = clean(str);
  236. }
  237. var divId=document.getElementById('media');
  238. divId.innerHTML='<table bgcolor="#000000" border="0" width="425" height="355"><tr><td style="padding:30px">When Members put a <a href="http://youtube.com" target="_blank">YouTube</a>, <a href="http://veoh.com" target="_blank">Veoh</a>, <a href="http://photobucket.com" target="_blank">Photobucket</a>, <a href="http://vids.myspace.com" target="_blank">MySpace Video</a> or <a href="http://live.yahoo.com" target="_blank">Yahoo Live</a> link in the chat box the video thumbnail will appear on everyones player. Each person can click on the thumbnail to start the video.<BR><BR>To watch videos together, Moderators can press the broadcast button and the video will start on everyones player at the same time.<BR><BR>If you are watching a video and do not want to view broadcasts press the lock (key) button.</td></tr></table>';
  239. divId=document.getElementById('control');
  240. var la = 10001;
  241. if(nocook == 1)
  242. la = readCookie("LastApp")
  243. if(str==0)
  244. SetControl();
  245. else
  246. {
  247. ClearControl();
  248. divId.innerHTML='<embed src="http://<?php echo $config->info['server_domain']; ?>/web_gear/flash/media.swf?b44" quality="high" wmode="transparent" flashvars="cn=<?php print $core->cn ?>&id=62861290&md='+str+'" width="425" height="131" name="media" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" />';
  249. divId.style.display="inline";
  250. }
  251. createCookie("LastApp", la, 31);
  252. return 1;
  253. }
  254. function OpenByN(n) {
  255. if(n == 10001) OpenMedia(0);
  256. if(n == 10000) OpenDoodle();
  257. if(n >= 20000) OpenGame(n);
  258. if(n.charAt(0) == '{')
  259. {
  260. var obj = JSON.parse(n);
  261. OpenAyah(obj);
  262. }
  263. return 1;
  264. }
  265. function GetEmbed(vid)
  266. {
  267. vid = clean(vid);
  268. embed = '<embed type="application/x-shockwave-flash" allowFullScreen="true" bgcolor="#000000" ';
  269.  
  270. if(vid.substr(0,2) == "$U")
  271. { embed += 'src="http://ustream.tv/flash/live/'+ vid.substr(2) +'" flashvars="autoplay=true&brand=embed"';
  272. w = 416; h = 340; }
  273. else if(vid.substr(0,2) == "$L")
  274. { embed += 'src="http://cdn.livestream.com/grid/LSPlayer.swf?channel='+ vid.substr(2) +'&amp;color=0xe7e7e7&amp;autoPlay=true&amp;mute=false" width="560" height="340" allowScriptAccess="always" ';
  275. w = 560; h = 340; }
  276. else if(vid.substr(0,2) == "$Y")
  277. { embed += 'src="http://live.yahoo.com/swf/player/'+ vid.substr(2) +'"';
  278. w = 412; h = 363; }
  279. else if(vid.substr(0,2) == "$G")
  280. { embed += 'src="http://video.google.com/googleplayer.swf?docId='+ vid.substr(2) +'&hl=en-GB&autoplay=true"'; w = 400; h = 326; }
  281. else if(vid.substr(0,2) == "$O")
  282. { embed += 'src="http://www.mogulus.com/grid/PlayerV2.swf?channel='+ vid.substr(2) +'&externalInterface=false&backgroundColor=0xffffff&color=0x333333&showviewers=false&on=true&initialVolume=10&chatEnabled=false"'; w = 454; h = 389; }
  283. else if(vid.substr(0,2) == "$M")
  284. { embed += 'src="http://lads.myspace.com/videos/vplayer.swf" flashvars="m='+ vid.substr(2) +'&v=2&type=video&a=1"'; w = 430; h = 346; }
  285. else if(vid.substr(0,2) == "$V")
  286. { embed += 'src="http://www.veoh.com/videodetails2.swf?permalinkId='+ vid.substr(2) +'&id=anonymous&player=videodetailsembedded&videoAutoPlay=1"'; w = 450; h = 438; }
  287. else if(vid.substr(0,2) == "$P")
  288. {
  289. vid = vid.substr(2);
  290. var sp = vid.split(",");
  291. var w=425, h=355;
  292. if(sp[2] > 0 && sp[3] > 0)
  293. {
  294. w = sp[2];
  295. h = sp[3];
  296. }
  297. url = 'http://'+sp[0]+'.photobucket.com/'+sp[1];
  298. embed ='<a href="'+url+'" target="_blank"><img src="'+url+'" width="'+w+'" height="'+h+'" border="0"></a>';
  299. return embed;
  300. }
  301. else
  302. { embed += 'src="https://www.youtube.com/v/'+ vid + '&rel=0&color1=0xd6d6d6&color2=0xf0f0f0&border=0&autoplay=1"'; w=425; h=355; }
  303. embed += ' width="'+w+'" height="'+h+'" />' ;
  304.  
  305. return embed;
  306. }
  307.  
  308. function StartMedia(arg) {
  309. if(arg.substring(0,1) == 'L')
  310. window.location.href = arg.substring(1);
  311. else
  312. {
  313. if(arg.substring(0,9) == 'xatxatxat') arg = 'L'+arg.substring(9);
  314. divId=document.getElementById('media');
  315. divId.innerHTML = GetEmbed(arg);
  316. }
  317. return 1;
  318. }
  319. function clean(str)
  320. {
  321. var bad=/[\?\{\}\"<>\&:]/;
  322.  
  323. if (bad.test(str))
  324. return "";
  325. return str;
  326. }
  327. function createCookie(name,value,days) {
  328. if (days) {
  329. var date = new Date();
  330. date.setTime(date.getTime()+(days*24*60*60*1000));
  331. var expires = "; expires="+date.toGMTString();
  332. }
  333. else var expires = "";
  334. document.cookie = name+"="+value+expires+"; path=/";
  335. }
  336.  
  337. function readCookie(name) {
  338. var nameEQ = name + "=";
  339. var ca = document.cookie.split(';');
  340. for(var i=0;i < ca.length;i++) {
  341. var c = ca[i];
  342. while (c.charAt(0)==' ') c = c.substring(1,c.length);
  343. if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
  344. }
  345. return null;
  346. }
  347.  
  348. function GoPoll()
  349. {
  350.  
  351. if(readCookie("Poll") != 4)
  352. {
  353. createCookie("Poll",4,7)
  354. OpenGame(30002);
  355. createCookie("LastApp", 0, 1);
  356. }
  357. else
  358. {/*
  359. if(readCookie("MySpaceAd") != 1)
  360. {
  361. createCookie("MySpaceAd",1,1)
  362. divId=document.getElementById('media');
  363. divId.innerHTML='<embed src="http://i79.photobucket.com/albums/j131/chrisrixon/ads/UGCad.swf" quality="high" width="400" height="550" name="media" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" />';
  364. // divId.innerHTML='<a href="http://community.xat.com/showthread.php?t=3040"><img src="http://i79.photobucket.com/albums/j131/chrisrixon/bk/xat_shirt.jpg" width="400" height="400" border="0" /></a>';
  365. //ClearControl();
  366.  
  367.  
  368. // OpenGame(30000);
  369. }
  370. */
  371. }
  372.  
  373. }
  374.  
  375. function GoLast()
  376. {
  377. var n;
  378. DoLang();
  379. if((n = readCookie("LastApp")))
  380. {
  381. OpenByN(n);
  382. }
  383. else
  384. GoPoll();
  385. }
  386.  
  387. uname='<?php print $chat[0]['name']; ?>';
  388.  
  389. function DoReplace(id, from, to)
  390. {
  391. var i = document.getElementById(id).innerHTML;
  392. i = i.replace(from, to);
  393. i = i.replace(from, to);
  394. document.getElementById(id).innerHTML = i;
  395. }
  396. function DoLang()
  397. {
  398. var l = readCookie('lang');
  399. var h = 0;
  400. var t = 0;
  401. switch(l)
  402. {
  403. case 'es' : h = 'Ayuda'; t = 'Cambio'; break;
  404. case 'pt' : h = 'Ajuda'; t = 'Troca'; break;
  405. case 'it' : h = 'Aiuto'; t = 'Baratto'; break;
  406. case 'tr' : h = 'Yardim'; break;
  407. case 'fr' : h = 'Aide'; t = 'Commerce'; break;
  408. case 'sq' : h = 'Ndim'; break;
  409. case 'ro' : h = 'Ajutor'; t = 'Comert'; break;
  410. case 'th' : h = 'Chuai'; break;
  411. }
  412. if(h !== 0) { DoReplace('help', 'Help', h); }
  413. if(t !== 0) { DoReplace('trade', 'Trade', t); }
  414. }
  415.  
  416. function getXY( id , X)
  417. {
  418. var i = 0;
  419. while( id != null ) {
  420. if(X)
  421. i += id.offsetTop;
  422. else
  423. i += id.offsetLeft;
  424. id = id.offsetParent;
  425. }
  426. return i;
  427. }
  428.  
  429. function DoGsmilies()
  430. {
  431. var divId=document.getElementById ('desc');
  432. //var y = getXY(divId, 1);
  433. var x = getXY(divId, 0);
  434. divId=document.getElementById('gsmiles');
  435. divId.style.visibility="visible";
  436. //divId.style.top = y+"px";
  437. divId.style.left = x+"px";
  438. }
  439. //-->
  440. </script>
  441. </head>
  442. <body onLoad="javascript:GoLast();"
  443. topmargin="0" leftmargin="0">
  444. <table background="" height="51" width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#000000" style="filter: alpha (opacity=90)">
  445. <tr>
  446. <td width="138" align="center" valign="top" rowspan="2"><a href="#"><IMG border=0 height=54 alt="xat - Get Connected..." src="/tema/images/xatblk0cc1.png" width=160 longDesc=Ixat></a></td>
  447. <td height="49" width="2000" rowspan="2" valign="bottom">
  448. <!-- google_ad_section_start -->
  449. <h1>&nbsp;<?php print $chat[0]['name']; ?></h1></td>
  450. <!-- google_ad_section_end -->
  451. <!-- google_ad_section_start(weight=ignore) -->
  452. <td width="40" valign="bottom"><div align="center"><a href="/chats"><img src="http://xat.com/images/b_groups.gif" width="32" height="32" border="0"></a></div></td>
  453. <td width="40" valign="bottom"><div align="center"><a href="/twitter"><img src="http://xat.com/images/b_news.gif" width="32" height="32" border="0"></a></div></td>
  454. <td width="40" valign="bottom"><div align="center"><a href="/GetPowers"><img src="http://xat.com/images/b_store.gif" width="32" height="32" border="0"></a></div></td>
  455. <td width="40" valign="bottom"><div align="center" id="tradeb"><a href="http://xat.com/Trade_"><img src="http://xat.com/images/b_trade.gif" width="32" height="32" border="0"></a></div></td>
  456. <td width="40" valign="bottom"><div align="center" id="helpb"><a href="http://xat.com/Help_"><img src="http://xat.com/images/b_help.gif" width="32" height="32" border="0"></a></div></td>
  457. </td>
  458. </tr>
  459. <tr>
  460. <td valign="top"><div class="btext"><a href="/chats">Groups</a></div></td>
  461. <td valign="top"><div class="btext"><a href="/twitter">News</a></div></td>
  462. <td valign="top"><div class="btext"><a href="/powers">Store</a></div></td>
  463. <td valign="top"><a href="/Trade"><div id="trade" class="btext">Trade</div></a></td>
  464. <td valign="top"><a href="/Lobby"><div id="help" class="btext">Help</div></a></td>
  465. </tr>
  466. </tbody></table>
  467. <table width="100%" height="10" border="0" cellpadding="0" cellspacing="0" bgcolor="#000000" style="filter: alpha (opacity=90)">
  468. <tbody><tr><td width="70"></td><td valign="top">
  469.  
  470. <!-- google_ad_section_end -->
  471. <!-- google_ad_section_start -->
  472. <h2> <?php print $chat[0]['desc']; ?><span id="desc" ></span></h2>
  473. <!-- google_ad_section_end -->
  474. <!-- google_ad_section_start(weight=ignore) -->
  475. </td>
  476. </tr>
  477. </table>
  478. <div style="height: 16px"></div>
  479. <table width="100%" border="0" cellpadding="0" cellspacing="0" ><tr>
  480. <td align="left" valign="top" width="2%" rowspan="1">
  481. <a href="/<?php print $chat[0]['name']; ?>?p=0&ss=1"
  482. onclick="javascript:ClearControl();OpenGame(30004);return false">
  483. <img src="http://xat.com/images/tgrid.png" border="0" title="Grid of online users pictures"/></a><BR>
  484. <div style="height:8px"></div>
  485. <a href="web_gear/flash/media.swf?b44"
  486. onclick="javascript:ClearControl();OpenMedia();return false">
  487. <img src="http://xat.com/images/tplayer.png" border="0" title="Broadcast YouTube Videos"/></a>
  488. <div style="height:8px"></div>
  489. <a href="<?php print $chat[0]['name']; ?>?p=0&ss=2"
  490. onclick="javascript:ClearControl();OpenDoodle();return false">
  491. <img src="http://xat.com/images/tdoodle.png" border="0" title="Draw pictures with your friends!"/></a>
  492. <div style="height:8px"></div>
  493. <a href="/web_gear/flash/20034.swf?9U6Gr"
  494. onclick="javascript:ClearControl();OpenGame(20034);return false">
  495. <img src="http://xat.com/images/ttranslate.png" border="0" title="Trade/Comert"/></a><BR>
  496. <div style="height:8px"></div>
  497. <a embed src="web_gear/app/10002.swf?9U6Gr" quality="high" wmode="transparent" flashvars="cn=102114" width="425" height="600" name="app" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" onclick="javascript:ClearControl();OpenGame(10002);return false" />
  498. <img src="http://xat.com/images/tgames.png" border="0" title="Play a game!"/></a>
  499. <div style="height:8px"></div>
  500. <a href="<?php print $chat[0]['name']; ?>?p=0&ss=2"
  501. onclick="javascript:ClearControl();OpenGame(60004);return false">
  502. <img src="http://ixaat12.zapto.org:8090/prev/cycle2.png" border="0" title="Draw pictures with your friends!"/></a>
  503. <div style="height:8px"></div>
  504. <a href="/web_gear/flash/smilies.swf?b4" title="Lots more smilies"
  505. onclick="javascript:ClearControl();OpenSmilies();return false">
  506. <img src="http://xat.com/images/tsmilies.png" border="0"/></a>
  507. <div style="height:8px"></div>
  508. <a href="<?php print $chat[0]['name']; ?>?p=0&ss=0" title="Close..."
  509. onclick="javascript:ClearControl();ClearMedia();return false">
  510. <img src="http://xat.com/images/tclose.png" border="0" /></a>
  511.  
  512. <div style="height:8px"></div>
  513. </td><td align="left" valign="top" width="1%" rowspan="1">&nbsp;</td>
  514. <td align="center">
  515. <div id="media">
  516.  
  517. </div>
  518. <div id="control">
  519. </div></td>
  520. <td align="left" valign="top" width="0%">&nbsp;</td>
  521. <td align="center">
  522. <br><br>
  523. <div class="block c1" style='text-align:center'>
  524. <?php print $core->getEmbed( $chat[ 0 ][ 'name' ], False, 728, 486 ); ?>
  525. </div>
  526. <center></center>
  527.  
  528. <div style="padding-top:24px"></div><script>
  529. var adverts=[], adindex, adids=[], adxi=0;
  530. var adx = [
  531. ["doodleracead", "http://web.xat.com/games_chat.php"],
  532. ["snakeracead", "http://web.xat.com/games_chat.php"],
  533. ["matchracead", "http://web.xat.com/games_chat.php"],
  534. ["spacewarad", "http://web.xat.com/games_chat.php"]
  535. ];
  536.  
  537. adx = [
  538. ["xatAd", "http://xat.com/web_gear/chat/GetPowers.php"]
  539. ];
  540.  
  541.  
  542.  
  543. $(document).ready(function() { adinit(); });
  544.  
  545. function readCookie(name) {
  546. var nameEQ = name + "=";
  547. var ca = document.cookie.split(";");
  548. for(var i=0;i < ca.length;i++) {
  549. var c = ca[i];
  550. while (c.charAt(0)==" ") c = c.substring(1,c.length);
  551. if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
  552. }
  553. return null;
  554. }
  555.  
  556. function adreadCookie(name) {
  557. var lang;
  558. lang = readCookie("lang");
  559. if(lang.length!=2) lang = readCookie("Language");
  560. lang = lang.replace(new RegExp( "[^a-z]", "g" ), "");
  561. if(lang.length!=2) return null;
  562. return lang;
  563. }
  564.  
  565. function adinit()
  566. {
  567. adindex=0;
  568. var c = new Date();
  569. c = parseInt((c.getTime() + 30000) / 60000);
  570. $.getJSON("http://xat.com/json/adverts.php?c="+c, function(o) {
  571. if(o) o = o[adreadCookie("Language")];
  572. if(o) adverts = scramble(o);
  573. adx = scramble(adx);
  574. adnew();
  575. setInterval(function() { adnew(); }, 60000);
  576. });
  577. }
  578.  
  579. function scramble(o)
  580. {
  581. for(var j, x, i = o.length; i; j = parseInt(Math.random() * i), x = o[--i], o[i] = o[j], o[j] = x);
  582. return o;
  583. }
  584.  
  585. function GoAd(n) {
  586. window.location = adx[n][1];
  587. }
  588.  
  589. function adnew()
  590. {
  591. var i, s;
  592. for(i=0; i<adids.length; i++)
  593. {
  594. var j = adindex>>1;
  595. if((adindex&1)==0 && adverts[j] && adverts[j]["group"])
  596. s='<a href="http://xat.com/'+adverts[j]["group"]+'"><img border="0" src="http://'+adverts[j]["adimg"]+'" width="728" height="90" /></a>';
  597. else
  598. {
  599. j = adxi % adx.length;
  600. s='<div onmousedown="GoAd('+j+');"><embed wmode="transparent" src="http://xat.com/images/ads/'+adx[j][0]+'.swf?b8" quality="high" flashvars="" width="728" height="90" align="middle" allowscriptaccess="sameDomain" type="application/x-shockwave-flash" /></div>';
  601. adxi++;
  602. }
  603. $(adids[i]).html(s);
  604. adindex++;
  605. if(adindex >= (adverts.length*2)) adindex=parseInt(Math.random() * 2);
  606. }
  607. }
  608. </script>
  609. <script>
  610. adids.push("#"+"GoAd2_419100257");
  611. </script>
  612. <div id="GoAd2_419100257" align="center" style="width:728;height:90">
  613. </div>
  614. </td><td width="2%">&nbsp;</td></tr>
  615. </table>
  616.  
  617. <br>
  618.  
  619. <table width="100%" height="30" border="0" cellpadding="2" cellspacing="0" bgcolor="#000000" style="filter: alpha (opacity=90)" class="btext2">
  620. <tr>
  621. <td width="10">&nbsp;</td>
  622. <td><iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fxat.com%2FRadioMangano&amp;layout=button_count&amp;show_faces=false&amp;width=1&amp;action=like&amp;font=arial&amp;colorscheme=light&amp;height=21&amp;ref=xat_RadioManhano" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:100px; height:21px;" allowTransparency="true"></iframe></td>
  623.  
  624. <td><a href="http://twitter.com/share" class="twitter-share-button" data-url="http://xat.com/Ajutor" data-text="Join me for a chat at my xat" data-count="horizontal" data-via="xat">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></td>
  625.  
  626. <td><a href="#" title="Put this chat group on your page!">
  627. <img src="http://xat.com/images/i_put.gif" width="14" height="14" border="0"></a></td>
  628. <td><a href="/embed" title="Put this chat group on your page!">
  629. Embed</a></td>
  630. <td width="10">&nbsp;</td>
  631.  
  632. <td width="100%">&nbsp;</td>
  633. <td><a href="/edit">
  634. <img src="http://xat.com/images/i_edit.gif" width="11" height="13" border="0"></a></td>
  635. <td><a href="/edit">
  636. Edit</a></td><td></td>
  637. <td width="10">&nbsp;</td>
  638.  
  639. <td><a href="#">
  640. <img src="http://xat.com/images/i_edit.gif" width="11" height="13" border="0"></a></td>
  641. <td><a href="/events">Events</a></td>
  642. <td width="10">&nbsp;</td>
  643. <td><a href="#" title="Send owner feedback">
  644. <img src="http://xat.com/images/i_message.gif" width="16" height="11" border="0"></a></td>
  645. <td><a href="/message" title="Send owner feedback">
  646. Message</a></td><td></td>
  647.  
  648. <td><a href="#">
  649. <img src="http://xat.com/images/i_inapp.gif" width="14" height="14" border="0"></a></td>
  650. <td><a href="#"> Inappropriate</a></td>
  651. <td width="10">&nbsp;</td>
  652.  
  653. <td width="10">&nbsp;</td>
  654.  
  655. </tbody></table>
  656.  
  657. <div style="height: 16px"></div>
  658.  
  659. <table
  660. cellpadding="0" cellspacing="0" border="0" width="100%" height="24" >
  661. <tr class="vbmenu_control">
  662. <td class="vbmenu_control_o" height="23" width="16">&nbsp;</td>
  663.  
  664. <td class="vbmenu_control_os" height="23" width="8"><img height="24" width="8" src="http://xat.com/images/TabL.png"></td>
  665. <td class="vbmenu_control_ts"
  666. height="23" width="13%" align="center"><a href="#" ><font style="text-decoration:underline"><?php print $chat[0]['name']; ?></font></a></td>
  667. <td class="vbmenu_control_os" height="23" width="8"><img height="24" width="8" src="http://xat.com/images/TabR.png"></td>
  668. <td class="vbmenu_control_o" height="23" width="4">&nbsp;</td>
  669.  
  670. <td class="vbmenu_control_o">&nbsp;</td></tr>
  671. <tr height="10" style="background-color:#000000"><td colspan="27"></td><tr>
  672. </table>
  673. <div style="height: 3px"></div>
  674. <center>
  675. <table border="0">
  676. <tr>
  677. <td height="100%"><div align="center"><?php print $chat[0]['embedxat']; ?></div></td>
  678. </tr>
  679. </table>
  680. </center>
  681.  
  682.  
  683. <br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
  684.  
  685.  
  686.  
  687.  
  688.  
  689.  
  690.  
  691. <!-- google_ad_section_end -->
  692. <TABLE bgColor=#000000 width="100%" border=0 cellpadding="0" cellspacing="0">
  693. <TBODY>
  694.  
  695. <!-- google_ad_section_start -->
  696. <tr><td class="foot" align=center><?php print $chat[0]['desc']; ?></td></tr>
  697. <!-- google_ad_section_end -->
  698.  
  699. <TR><TD align=center>
  700. <strong style="font-size:11px;color: #C00000;">Note: the content above does not come from . Please be cautious before installing apps.</strong></td></tr>
  701.  
  702. <TR >
  703. <TD class="foot" align=center>&copy;2015 <?php echo $config->info['ixatname']; ?> <A
  704. </TR>
  705. <script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
  706. </script>
  707. <script type="text/javascript">
  708. _uacct = "UA-1813155-1";
  709. urchinTracker();
  710. </script>
  711. </TBODY>
  712. </TABLE>
  713. <textarea style="display:none" name="GigMail" id="GigMail">
  714. <BR>
  715. <BR>
  716. <BR>
  717. <BR>
  718. <BR>
  719. </textarea>
  720. </body>
  721. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement