| CODE |
| <script language="javascript" type="text/javascript"> <!-- /* Automatic Welcome PM Originally by MKII */ appearFrom = ["Admin", 1] msgTitle = "Welcome to the Forum" msgContents = "Insert text here.\n" + "You can use BB code if it is enabled.\n" + "You cannot use return, instead use the backslash and n you see at the end of these lines.\n" + "Make sure that each line ends with a + (except for the last one)" home = "http://"+location.hostname home += location.pathname.match(/\/[^\/]+\//) ? "/" + location.pathname.substr(1).substr(0, location.pathname.substr(1).indexOf("/") + 1) : location.pathname + "/" home += "index.php?" if(document.forms['REG']) document.forms['REG'].onsubmit = function() { if(!Validate()) return false document.cookie = "newMember=1; expires=" + new Date("1/1/2010").toGMTString() return true } userLinks = document.getElementById("userlinks") userName = userLinks.getElementsByTagName("A")[0].innerHTML.replace(/<[^>]+>/g, "") if(userLinks.innerHTML.match("Logged in")&&document.cookie.match("newMember=1")) { document.cookie = "newMember=0; expires=" + new Date().toGMTString() document.write("<iframe src='" + home + "act=Msg&CODE=4&MODE=1&entered_name=" + escape(userName) + "&msg_title=" + escape(msgTitle) + "&Post=" + escape(msgContents) + "' style='display:none'></iframe>") alert("You have a new personal message from "+ appearFrom[0]) } if(location.href.match(/act=Msg&CODE=0*1/)) { td = document.getElementsByTagName("TD") for(i = 0; i < td.length; i++) if(td[i].innerHTML.replace(/<[^>]+>/g, "") == msgTitle) { a = td[i + 1].getElementsByTagName("A") a[0].href = home + "showuser=" + appearFrom[1] a[0].innerHTML = appearFrom[0] a[1].href = a[1].href.replace(/MID=\d+/, "MID=" + appearFrom[1]) } } if(location.href.match(/MSID=\d+/)) { b = document.getElementsByTagName("B") for(i = 0; i < b.length; i++) if(b[i].innerHTML == msgTitle && b[i].parentNode.className == "postdetails") { td = document.getElementsByTagName("TD") for(n = 0; n < td.length; n++) if((td[n].className == "post1") && td[n].width != "100%") { a = td[n - 2].getElementsByTagName("A")[0] if(a.innerHTML.replace(/<[^>]+>/g,"") != userName) break a.href = home + "showuser=" + appearFrom[1] a.innerHTML = appearFrom[0] div = td[n + 1].getElementsByTagName("DIV") for(x = 0; x < div.length; x++) if(div[x].className == "signature") div[x].removeNode(true) a = td[n + 3].getElementsByTagName("A") for(x = 0; x < a.length; x++) if(a[x].href.match(/MID=\d+/)) a[x].href = a[x].href.replace(/MID=\d+/, "MID=" + appearFrom[1]) td[n + 1].colSpan = "2" td[n].removeNode(true) break } break } } //--> </script> |
| QUOTE |
| appearFrom = ["Admin", 1] msgTitle = "Welcome to the Forum" msgContents = "Insert text here.\n" + "You can use BB code if it is enabled.\n" + "You cannot use return, instead use the backslash and n you see at the end of these lines.\n" + "Make sure that each line ends with a + (except for the last one)" |
| CODE |
| Thanks For Joining! Enjoy Your Membership! Dont forget to read the rules!\n" + |
| QUOTE |
| <a href="The Website Address"><img src="Website Affiliate Link"></a> |
| CODE |
| <SCRIPT TYPE="text/javascript"> //Copyright of Zelnen tables = document.getElementsByTagName("TABLE"); for (t=0; t<tables.length; t++){ if (tables[t].getElementsByTagName("td")[0].className == "pformstrip"){ var titlerow = document.createElement("tr"); var otherrow = document.createElement("tr"); var titlecell = document.createElement("td"); titlecell.setAttribute("class", "pformstrip"); titlecell.setAttribute("colspan", 2); titlecell.innerHTML = "Affiliates"; // Row Title var imgcell = document.createElement("td"); imgcell.setAttribute('class', 'row2'); imgcell.setAttribute('width', '5%'); imgcell.setAttribute('valign', 'middle'); var image = document.createElement("img"); image.setAttribute('src', 'http://209.85.62.23/style_images/1/stats.gif'); //Image URL var infocell = document.createElement("td"); infocell.setAttribute('class', 'row4'); infocell.setAttribute('width', '95%'); infocell.setAttribute('align', 'left'); infocell.innerHTML = "<marquee scrollamount=4 onMouseover="this.scrollamount=0" onMouseout="this.scrollamount=4"> <a href="The Website Address"><img src="Website Affiliate Link"></a> </marquee>"; // Row Content. Make sure you escape double-quotes with a backslash. titlerow.appendChild(titlecell); tables[t].appendChild(titlerow); imgcell.appendChild(image); otherrow.appendChild(imgcell); otherrow.appendChild(infocell); tables[t].appendChild(otherrow); } } </SCRIPT> |
| QUOTE |
| ('src', 'http://209.85.62.23/style_images/1/stats.gif'); //Image URL |