LSB_conan
01-01-2004, 08:12
lúc ở diễn đàn này ...
có rát nhiều nguyowì mún có một cái forum nhưng lại ko biết làm ... và cả một trang web nữa ...
để phục vụ nhu cầu hiện nay đệ xin chỉ đẫn máy huynh vài điều hen .,..
bì này tui viế rất rõ nếu mấy vị ko hỉu nữa thì tui chịu thua lun đó ...Trước tiên tôi xin nói một chút hen ...
Hiẹn nay nhu cầu làm một cái diễn đàn đang rất phổ biến trên mạng hiện nay .
Nhưng bạn cần có một diễn đàn thạt ngon để có thể giao lưu học hỏi chứ gì mà bạn không có host , và không rãnh để up lên chứ gì ?
Để khắc phục điều này rất dễ mình xin được chỉ dẫn các bạn một vài điều như sau:
Trước tiên bạn vào trang này hen:
http://www.bbfree.com/
được chứ . Tìm đến chữ register được chứ lị ...
và đăng kí một cái ...
thủ tục đăng kí như sau:
Your Name: tên của bạn . ví dụ như : nguyen van A.
Your Email Address: nhập email của bạn vào ( nhớ email thật hen ).
Your New Forum URL:
(choose from different prefixes) bạn sẽ thấy hàng này : http://www.bbfree.com/ và một ô trông chứ gì cái này thì bạn hãy đánh vào tên diễn đàn mình cần tạo chẳng hạn như :
http://www.bbfree.com/truonglop/
được chưa nhỉ tiếp sau đó :
I agree that I am at least 13 years of age, or have my parents permission to join.
I have read, and will abide by the terms of service set forth by BBFree.com
đánh dấu vào 2 ô vuông đó được chứ nhỉ ...
và click vào chữ continue . clap clap thế là xong giai đoạn 1 .
Tiếp theo là giai đoạn 2: bạn sẽ thấy như thế này :
Please Confirm Your Details, and Click Register Forum
Your Name: sda
Your Email Address: [email protected]
Your New Forum's URL: http://www.bbfree.com/hic/
window may take 10 to 30 seconds, click ONLY once
==>click here to register forum<==
Important: When Your Installation is Complete
Follow this Link to Set Your Administration Username and Password
Thank you for being BBFree.com Member # 7599
click vào chữ:==>click here to register forum<== và sau đó click vào tiếp:
Follow this Link to Set Your Administration Username and Password
nhớ là cái chữ Follow this link đó nghen .
clap clap xong gùi đó:
tiếp sau đó tới giai đoạn 3:
Clack vào proceed>> được chứ..
tiếp theo là giai đoạn 4:
Username : tên admin
Password : mật khẩu của admin
Retype your password : nhập lại mật khẩu.
Email Address : email của bạn.
xong xuôi bạn clickk vào chữ proceed>> .
thế là xong giai đoạn 4 .
chà mệt qúe nghĩ một tí đã gùi post tiếp ... ke ke.
Tiếp theo hen tới giai đoạn 5:
CLICK HERE TO CONTINUE : click vào đó đi .
Đến các giai đoạn khác cũng vậy cứ nhấp vào cái như click here ...
thế là xong gòi
À quên giai đoạn cuối cùng bạn sẽ thấy chữ click here login thì phải tui ko nhớ rõ nữa.
và đăng nhập vào diễn đàn .
xong gùi đó bạn đã có 1 cái forum rùi đó .
Tiếp theo là chèn bộ gõ vào hen :
vào admin cp : nhập vào tên admin cp và mật khẩu tiếp sau đó tìm tới Skins & Templates ==>|-- Board Wrappers==>edit . vào đó tahy toàn bộ bằg cái nì :
chà đoạn code này do tui tự nghxi ra đó đầy đủ luôn đó ... cho điểm hen L:
[code:1:efa960fba0]<html>
<script language="JavaScript">
<!-- Mouse attack Script [email protected]
var speed=20,divTop=0,divLeft=0,angle=0,ypos=0,xpos=0, amount=13;
if (document.layers){
for (i = 0; i < amount; i++)
{document.write('<layer name=nsa'+i+' top=0 left=0 width='+i/3+' height='+i/3+' bgcolor=#ffffff></layer>');}
window.captureEvents(Event.MOUSEMOVE);
function nsMouse(evnt){
xpos=evnt.pageX;ypos=evnt.pageY;
}
window.onMouseMove = nsMouse;
}
else if (document.all){
document.write('<div style="position:absolute;top:0px;left:0px">');
document.write('<div style="position:relative">');
for (i = 0; i < amount; i++)
{document.write('<div id=k style="position:absolute;top:0px;left:0px;width:'+ i/3+';height:'+i/3+';background:#ffffff;font-size:'+i/3+'"></div>')}
document.write('</div></div>');
function iMouse(){xpos=event.x;ypos=document.body.scrollTop +event.y}
document.onmousemove = iMouse;
}
function getAngle(){
Y = ypos - divTop;X = xpos - divLeft;angle = Math.round(Math.atan2(Y,X) * 180/Math.PI);
if (angle < 0)angle += 360;
}
function bomb(){
if (document.layers){
Yscroll=window.pageYOffset;
ybase=Math.round(Math.random()*window.innerHeight) ;xbase=Math.round(Math.random()*window.innerWidth) ;
yybase=window.innerHeight-10;xxbase=window.innerWidth-10;
}
else if (document.all){
Yscroll=document.body.scrollTop;
ybase=Math.round(Math.random()*window.document.bod y.offsetHeight);xbase=Math.round(Math.random()*win dow.document.body.offsetWidth);
xxbase=window.document.body.offsetWidth-10;yybase=window.document.body.offsetHeight-10;
}
if ((xbase > 10 && xbase < xxbase) && (ybase > 10 && ybase < yybase))
bomb();
else
{
if ((divLeft > xpos-speed/1.5) && (divLeft < xpos+speed/1.5) && (divTop >= ypos-speed/1.5) && (divTop <= ypos+speed/1.5))
{divTop=ybase+Yscroll;divLeft=xbase}
y = Math.round(speed*Math.sin(angle*Math.PI/180));x = Math.round(speed*Math.cos(angle*Math.PI/180));
divTop+=y;divLeft+=x;
getAngle();
T=setTimeout('bomb()',20);
}
}
function Split(){
Clrs=new Array('fff000','ffffff','ffa500')
var ntscp=document.layers,msie=document.all;
if (document.layers){
for (i = 0; i < amount; i++)
{
if (i < amount-1)
{ntscp['nsa'+i].top=ntscp['nsa'+(i+1)].top;ntscp[' nsa'+i].left=ntscp['nsa'+(i+1)].left}
else
{ntscp['nsa'+i].top=divTop;ntscp['nsa'+i].left=div Left}
}
}
else if (document.all){
for (i = 0; i < amount; i++)
{
if (i < amount-1)
{msie.k.style.top=msie.k[i+1].style.top;msie.k.sty le.left=msie.k[i+1].style.left}
else
{msie.k.style.top=divTop;msie.k.style.left=divLeft }
}
}
for (i=0; i < amount-1; i++)
{
for (n=0; n < Clrs.length; n++)
{var x=Math.round(Math.random()*n)}
if (document.layers){ntscp['nsa'+i].bgColor=Clrs[x ]}
else if (document.all){msie.k.style.background=Clrs[x]}
}
setTimeout("Split()",20);
}
function StArT(){bomb();Split()}
window.onload=StArT;
//-->
</script>
<STYLE>
<!--
#jesse TD{ font-size: 30; font-family: Impact; visibility: hidden; filter:blendTrans(duration=.50)}
-->
</STYLE>
<script LANGUAGE="JavaScript">
<!--
// This code can be reused as long as the above copyright notice is maintained
var timerList = new Array
function Timeline() {
this.list = new Array
this.max = 0
this.index = timerList.length
this.counter = 0
this.loopCount = 0
timerList[this.index] = this
this.add = Timeline_Add;
this.run = Timeline_Run;
this.running = false
if (arguments[0]==null)
this.loop = 1
else
this.loop = arguments[0]
}
function Timeline_Add(ms, fn) {
if (this.list[ms]==null)
this.list[ms] = new Array
var idx = this.list[ms].length
this.list[ms][idx] = new Object
var item = this.list[ms][idx]
item.fn = fn
if (ms>this.max)
this.max = ms
var args = new Array
for (var i=2; i < arguments.length; i++)
args[i-2] = arguments
item.args = args
}
function Timeline_Run() {
this.running = true
for (var item in this.list[this.counter])
this.list[this.counter][item].fn(this.list[this.co unter][item].args)
if (this.counter>=this.max) {
if (this.loop>0)
this.loopCount++
this.counter = 0
}
var next = 100
this.counter+=100
while ((this.counter<this.max) && (this.list[this.counter]==null)) {
this.counter+=100
next += 100
}
if ((this.counter<=this.max) && ((this.loop==0) || ((this.loopCount<this.loop) && (this.loop>0))) )
this.timerID = setTimeout("timerList["+this.index+"].run()",next)
else
this.running=false
}
// -->
</SCRIPT>
<TABLE ID=jesse><TR>
<TD ID="let1">E</TD>
<TD ID="let2">-</TD>
<TD ID="let3">B</TD>
<TD ID="let4">O</TD>
<TD ID="let5">O/TD>
<TD ID="let6">K/TD>
<TD ID="let7">S</TD>
<TD ID="let8"></TD>
<TD ID="let9">V/TD>
<TD ID="let10">N/TD>
</TR></TABLE>
<script>
var jesseDemo = new Timeline(3)
function show_letter(args) {
args[0].filters[0].apply()
args[0].style.visibility = "visible"
args[0].filters[0].play()
}
function hide_letter(args) {
args[0].filters[0].apply()
args[0].style.visibility = "hidden"
args[0].filters[0].play()
}
function runJesse() {
// This loop adds 11 actions to the demo Timeline
// that each occur 200 milliseconds apart
if (!jesseDemo.running) {
jesseDemo.loopCount = 0
jesseDemo.run()
}
}
</SCRIPT>
<script>
for (var i = 1; i <= 10 i++) {
jesseDemo.add( (i*500),show_letter,document.all["let"+i])
}
for (var i=1; i <= 10 i++)
jesseDemo.add( (i*500) + (11*500),hide_letter, document.all["let"+i])
</SCRIPT>
<head>
<title><% TITLE %></title>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<% GENERATOR %>
<% CSS %>
<% JAVASCRIPT %>
</head>
<body>
<span id="theText" style="width:100%">
<h2 align="center"><font color="#FFFF00">DIEN DAN TUOI MONG MO XIN CHAO DON CAC BAN</font></h2>
</span>
<hr size="1" color="#000000">
<script>
<!--
//range of glowing
var from = 3;
var to = 5;
//speed of pulsing
var delay = 10;
//color of glow, name or RGB value (example:'#00FF00')
var glowColor = "red";
//NO MORE EDITING!!!
var i = to;
var j = 0;
//can be called here or whenever you want the text to start pulsing
textPulseDown();
function textPulseUp()
{
if (!document.all)
return
if (i < to)
{
theText.style.filter = "Glow(Color=" + glowColor + ", Strength=" + i + ")";
i++;
theTimeout = setTimeout('textPulseUp()',delay);
return 0;
}
if (i = to)
{
theTimeout = setTimeout('textPulseDown()',delay);
return 0;
}
}
function textPulseDown()
{
if (!document.all)
return
if (i > from)
{
theText.style.filter = "Glow(Color=" + glowColor + ", Strength=" + i + ")";
i--;
theTimeout = setTimeout('textPulseDown()',delay);
return 0;
}
if (i = from)
{
theTimeout = setTimeout('textPulseUp()',delay);
return 0;
}
}
//-->
</script>
<script language="JavaScript1.2">
var Ymax=8; //MAX # OF PIXEL STEPS IN THE "X" DIRECTION
var Xmax=8; //MAX # OF PIXEL STEPS IN THE "Y" DIRECTION
var Tmax=10000; //MAX # OF MILLISECONDS BETWEEN PARAMETER CHANGES
var floatimages=new Array();
floatimages[0]='style_images/<#IMG_DIR#>/anh.gif';
floatimages[1]='style_images/<#IMG_DIR#>/hinh.gif';
var NS4 = (navigator.appName.indexOf("Netscape")>=0 && parseFloat(navigator.appVersion) >= 4 && parseFloat(navigator.appVersion) < 5)? true : false;
var IE4 = (document.all)? true : false;
var NS6 = (parseFloat(navigator.appVersion) >= 5 && navigator.appName.indexOf("Netscape")>=0 )? true: false;
var wind_w, wind_h, t='', IDs=new Array();
for(i=0; i<floatimages.length; i++){
t+=(NS4)?'<layer name="pic'+i+'" visibility="hide" width="10" height="10"><a href="javascript:hidebutterfly()">' : '<div id="pic'+i+'" style="position:absolute; visibility:hidden;width:10px; height:10px"><a href="javascript:hidebutterfly()">';
t+='<img src="'+floatimages[i]+'" name="p'+i+'" border="0">';
t+=(NS4)? '</a></layer>':'</a></div>';
}
document.write(t);
function moveimage(num){
if(getidleft(num)+IDs[num].W+IDs[num].Xstep >= wind_w+getscrollx())IDs[num].Xdir=false;
if(getidleft(num)-IDs[num].Xstep<=getscrollx())IDs[num].Xdir=true;
if(getidtop(num)+IDs[num].H+IDs[num].Ystep >= wind_h+getscrolly())IDs[num].Ydir=false;
if(getidtop(num)-IDs[num].Ystep<=getscrolly())IDs[num].Ydir=true;
moveidby(num, (IDs[num].Xdir)? IDs[num].Xstep : -IDs[num].Xstep , (IDs[num].Ydir)? IDs[num].Ystep: -IDs[num].Ystep);
}
function getnewprops(num){
IDs[num].Ydir=Math.floor(Math.random()*2)>0;
IDs[num].Xdir=Math.floor(Math.random()*2)>0;
IDs[num].Ystep=Math.ceil(Math.random()*Ymax);
IDs[num].Xstep=Math.ceil(Math.random()*Xmax)
setTimeout('getnewprops('+num+')', Math.floor(Math.random()*Tmax));
}
function getscrollx(){
if(NS4 || NS6)return window.pageXOffset;
if(IE4)return document.body.scrollLeft;
}
function getscrolly(){
if(NS4 || NS6)return window.pageYOffset;
if(IE4)return document.body.scrollTop;
}
function getid(name){
if(NS4)return document.layers[name];
if(IE4)return document.all[name];
if(NS6)return document.getElementById(name);
}
function moveidto(num,x,y){
if(NS4)IDs[num].moveTo(x,y);
if(IE4 || NS6){
IDs[num].style.left=x+'px';
IDs[num].style.top=y+'px';
}}
function getidleft(num){
if(NS4)return IDs[num].left;
if(IE4 || NS6)return parseInt(IDs[num].style.left);
}
function getidtop(num){
if(NS4)return IDs[num].top;
if(IE4 || NS6)return parseInt(IDs[num].style.top);
}
function moveidby(num,dx,dy){
if(NS4)IDs[num].moveBy(dx, dy);
if(IE4 || NS6){
IDs[num].style.left=(getidleft(num)+dx)+'px';
IDs[num].style.top=(getidtop(num)+dy)+'px';
}}
function getwindowwidth(){
if(NS4 || NS6)return window.innerWidth;
if(IE4)return document.body.clientWidth;
}
function getwindowheight(){
if(NS4 || NS6)return window.innerHeight;
if(IE4)return document.body.clientHeight;
}
function init(){
wind_w=getwindowwidth();
wind_h=getwindowheight();
for(i=0; i<floatimages.length; i++){
IDs[i]=getid('pic'+i);
if(NS4){
IDs[i].W=IDs[i].document.images["p"+i].width;
IDs[i].H=IDs[i].document.images["p"+i].height;
}
if(NS6 || IE4){
IDs[i].W=document.images["p"+i].width;
IDs[i].H=document.images["p"+i].height;
}
getnewprops(i);
moveidto(i , Math.floor(Math.random()*(wind_w-IDs[i].W)), Math.floor(Math.random()*(wind_h-IDs[i].H)));
if(NS4)IDs[i].visibility = "show";
if(IE4 || NS6)IDs[i].style.visibility = "visible";
startfly=setInterval('moveimage('+i+')',Math.floor (Math.random()*100)+100);
}}
function hidebutterfly(){
for(i=0; i<floatimages.length; i++){
if (IE4)
eval("document.all.pic"+i+".style.visibility='hidd en'")
else if (NS6)
document.getElementById("pic"+i).style.visibility= 'hidden'
else if (NS4)
eval("document.pic"+i+".visibility='hide'")
clearInterval(startfly)
}
}
if (NS4||NS6||IE4){
window.onload=init;
window.onresize=function(){ wind_w=getwindowwidth(); wind_h=getwindowheight(); }
}
</script>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" /> <script src='http://hocsinhonline.com/diendan/html/viettype.js'></script>
<% GENERATOR %>
<div id="ipbwrapper">
<% BOARD HEADER %>
<% NAVIGATION %>
<% BOARD %>
<% STATS %>
<% COPYRIGHT %>
<center><p><span style="width:400;heght:100;text-align:center;font-family:Times New Roman;font-size:12pt;color:#00ff00;
font-weight:bold;Filter:Glow(Color=#ff0000,strength=5"> .::Edited And Developed By NTT_CONAN (conan)::. </span>
</p></center>
</div><script language="JavaScript">
song = new Array()
var x = 0;
song[1] = "http://resources.bravenet.com/audio/audioclips/classic_hard_rock/eighteen.mid";
song[2] = "http://resources.bravenet.com/audio/audioclips/classic_hard_rock/ob-la-di-ob-la-da.mid";
song[3] = "http://resources.bravenet.com/audio/audioclips/classic_hard_rock/space_oddity.mid";
song[4] = "http://resources.bravenet.com/audio/audioclips/classic_hard_rock/theletter.mid";
song[5] = "http://resources.bravenet.com/audio/audioclips/classic_hard_rock/fireball.mid";
song[6] = "http://resources.bravenet.com/audio/audioclips/classic_hard_rock/playme.mid";
song[7] = "http://resources.bravenet.com/audio/audioclips/classic_hard_rock/foxylady.mid";
function prev(x){
if (x>1){
x--;
document.midi.typein.value= x;
document.location.href= song[x];
}
}
function next(x){
var max= song.length;
if (x<max){
x++;
document.midi.typein.value= x;
document.location.href=song [x];
}
}
function go(x){
if (x != 0){
document.location.href=song[x];
}
}
function begin(){
document.location.href=song [1];
}
function end(){
x=song.length-1;
document.location.href=song [x];
}
function cls(){
document.midi.typein.value="Type In Song Number";
}
// Done Hiding -->
</script>
<body bgcolor="#ffffff" onload="cls()">
Enter the name of the song you would like to hear from this list.
<ul type="disc">
<li> 1.)Alice Cooper -Eighteen</li>
<li> 2.)The Beatles -Ob-la-di</li>
<li> 3.)David Bowie -Space Oddity</li>
<li> 4.)Joe Cocker -The Letter</li>
<li> 5.)Deep Purple -Fireball</li>
<li> 6.)Neil Diamond -Play Me</li>
<li> 7.)Jimmy Hendrix -Foxy Lady</li></ul>
<form name="midi">
<input name="typein" type="text" size="25" align="top"><br>
<!-- You can change the size of the textbox if you need-->
<input type="button" value="|<<" onclick="begin()">
<input type="button" value="<<" onclick="prev(document.midi.typein.value)">
<input type="button" value="PLAY" onclick="go(document.midi.typein.value)">
<input type="button" value=">>" onclick="next(document.midi.typein.value)">
<input type="button" value=">>|" onclick="end()">
</form>
Daily Random Jukebox
Code:
<html>
<head>
</head>
<BODY>
This script will allow you to setup a Random MIDI Jukebox that plays a random MIDI each day
<!-- INSTALLATION OF CHANGE MIDI BY DAY -->
<!-- Step 1 add the script below to your page -->
<!-- Step 2 edit the midi names and paths to use your own files -->
<script LANGUAGE="JavaScript">
<!-- hiding
page=new Date();
if (page.getDate() == 1)
document.write("<embed src='http://resources.bravenet.com/audio/audioclips/classic_hard_rock/radarlove.mid' width='145' height='60' autostart='true' volume='50'>");
if (page.getDate() == 2)
document.write("<embed src='http://resources.bravenet.com/audio/audioclips/classic_hard_rock/dontstop.mid width='145' height='60' autostart='true' volume='50'>");
if (page.getDate() == 3)
document.write("<embed src='http://resources.bravenet.com/audio/audioclips/classic_hard_rock/likearollinstone.mid' width='145' height='60' autostart='true' volume='50'>");
if (page.getDate() == 4)
document.write("<embed src='http://resources.bravenet.com/audio/audioclips/classic_hard_rock/sweetcaroline.mid' width='145' height='60' autostart='true' volume='50'>");
if (page.getDate() == 5)
document.write("<embed src='http://resources.bravenet.com/audio/audioclips/classic_hard_rock/woodstock.mid' width='145' height='60' autostart='true' volume='50'>");
if (page.getDate() == 6)
document.write("<embed src='http://resources.bravenet.com/audio/audioclips/classic_hard_rock/smokeonthewater.mid' width='145' height='60' autostart='true' volume='50'>");
if (page.getDate() == 7)
document.write("<embed src='http://resources.bravenet.com/audio/audioclips/classic_hard_rock/greenriver.mid' width='145' height='60' autostart='true' volume='50'>");
if (page.getDate() == 8)
document.write("<embed src='http://resources.bravenet.com/audio/audioclips/classic_hard_rock/albatross.mid' width='145' height='60' autostart='true' volume='50'>");
if (page.getDate() == 9)
document.write("<embed src='http://resources.bravenet.com/audio/audioclips/classic_hard_rock/satinthepark.mid' width='145' height='60' autostart='true' volume='50'>");
if (page.getDate() == 10)
document.write("<embed src='http://resources.bravenet.com/audio/audioclips/classic_hard_rock/sufraget.mid' width='145' height='60' autostart='true' volume='50'>");
if (page.getDate() == 11)
document.write("<embed src='http://resources.bravenet.com/audio/audioclips/classic_hard_rock/ironmen.mid' width='145' height='60' autostart='true' volume='50'>");
if (page.getDate() == 12)
document.write("<embed src='http://resources.bravenet.com/audio/audioclips/classic_hard_rock/blackbird.mid' width='145' height='60' autostart='true' volume='50'>");
if (page.getDate() == 13)
document.write("<embed src='http://resources.bravenet.com/audio/audioclips/classic_hard_rock/letitride.mid' width='145' height='60' autostart='true' volume='50'>");
if (page.getDate() == 14)
document.write("<embed src='http://resources.bravenet.com/audio/audioclips/classic_hard_rock/hellsbells.mid' width='145' height='60' autostart='true' volume='50'>");
if (page.getDate() == 15)
document.write("<embed src='http://resources.bravenet.com/audio/audioclips/folk_music/banjoreel.mid' width='145' height='60' autostart='true' volume='50'>");
if (page.getDate() == 16)
document.write("<embed src='http://resources.bravenet.com/audio/audioclips/pop_music/glycerine.mid' width='145' height='60' autostart='true' volume='50'>");
if (page.getDate() == 17)
document.write("<embed src='http://resources.bravenet.com/audio/audioclips/pop_music/margaritaville.mid' width='145' height='60' autostart='true' volume='50'>");
if (page.getDate() == 18)
document.write("<embed src='http://resources.bravenet.com/audio/audioclips/pop_music/could_this_be_love.mid' width='145' height='60' autostart='true' volume='50'>");
if (page.getDate() == 19)
document.write("<embed src='http://resources.bravenet.com/audio/audioclips/jazz_blues/fridaynightatthecadillacclub.mid' width='145' height='60' autostart='true' volume='50'>");
if (page.getDate() == 20)
ddocument.write("<embed src='http://resources.bravenet.com/audio/audioclips/jazz_blues/eyesofthemind.mid' width='145' height='60' autostart='true' volume='50'>");
if (page.getDate() == 21)
document.write("<embed src='http://resources.bravenet.com/audio/audioclips/jazz_blues/afroblue.mid' width='145' height='60' autostart='true' volume='50'>");
if (page.getDate() == 22)
document.write("<embed src='http://resources.bravenet.com/audio/audioclips/jazz_blues/romanticwarrior.mid' width='145' height='60' autostart='true' volume='50'>");
if (page.getDate() == 23)
document.write("<embed src='http://resources.bravenet.com/audio/audioclips/country_music/oldflame.mid' width='145' height='60' autostart='true' volume='50'>");
if (page.getDate() == 24)
document.write("<embed src='http://resources.bravenet.com/audio/audioclips/country_music/theriver.mid' width='145' height='60' autostart='true' volume='50'>");
if (page.getDate() == 25)
document.write("<embed src='http://resources.bravenet.com/audio/audioclips/country_music/iwalktheline.mid' width='145' height='60' autostart='true' volume='50'>");
if (page.getDate() == 26)
document.write("<embed src='http://resources.bravenet.com/audio/audioclips/country_music/shesgotyou.mid' width='145' height='60' autostart='true' volume='50'>");
if (page.getDate() == 27)
document.write("<embed src='http://resources.bravenet.com/audio/audioclips/pop_music/manicmonday.mid' width='145' height='60' autostart='true' volume='50'>");
if (page.getDate() == 28)
document.write("<embed src='http://resources.bravenet.com/audio/audioclips/pop_music/stomach_vs_heart.mid' width='145' height='60' autostart='true' volume='50'>");
if (page.getDate() == 29)
document.write("<embed src='http://resources.bravenet.com/audio/audioclips/pop_music/funfunfun.mid' width='145' height='60' autostart='true' volume='50'>");
if (page.getDate() == 30)
document.write("<embed src='http://resources.bravenet.com/audio/audioclips/pop_music/fightforyourright.mid' width='145' height='60' autostart='true' volume='50'>");
if (page.getDate() == 31)
document.write("<embed src='http://resources.bravenet.com/audio/audioclips/pop_music/allthesmallthings.mid' width='145' height='60' autostart='true' volume='50'>");
page=new Date();
var months = new Array(13);
months[1] = "January";
months[2] = "February";
months[3] = "March";
months[4] = "April";
months[5] = "May";
months[6] = "June";
months[7] = "July";
months[8] = "August";
months[9] = "September";
months[10] = "October";
months[11] = "November";
months[12] = "December";
var dateObj = new Date()
var lmonth = months[dateObj.getMonth() + 1]
var fyear = "" + dateObj.getYear()
var date = dateObj.getDate()
document.write("<br>" + lmonth + " " + date + ", " + fyear)
//done hiding -->
</SCRIPT>
<DIV id=dot0
style="HEIGHT: 55px; POSITION: absolute; VISIBILITY: hidden; WIDTH: 55px">
<DD><IMG height=55 src="bocau.gif" width=55> </DD></DIV>
<DIV id=dot1 style="HEIGHT: 55px; POSITION: absolute; WIDTH: 55px">
<DD><IMG height=55 src="bocau.gif" width=55> </DD></DIV>
<DIV id=dot2 style="HEIGHT: 55px; POSITION: absolute; WIDTH:55px">
<DD><IMG height=55 src="bocau.gif" width=55> </DD></DIV>
<DIV id=dot3 style="HEIGHT: 55px; POSITION: absolute; WIDTH: 55px">
<DD><IMG height=55 src="bocau.gif" width=55> </DD></DIV>
<DIV id=dot4 style="HEIGHT: 55px; POSITION: absolute; WIDTH: 55px">
<DD><IMG height=55 src="bocau.gif" width=55> </DD></DIV>
<DIV id=dot5 style="HEIGHT: 55px; POSITION: absolute; WIDTH: 55px">
<DD><IMG height=55 src="bocau.gif" width=55> </DD></DIV>
<DIV id=dot6 style="HEIGHT: 55px; POSITION: absolute; WIDTH:55px">
<DD><IMG height=55 src="bocau.gif" width=55> </DD></DIV>
<script language=JavaScript>
<!-- http:baongoc.net.tf
var nDots = 7;
if (document.all&&window.print)
document.body.style.cssText="overflow-x:hidden;overflow-y:scroll"
var Xpos = 0;
var Ypos = 0;
// fixed time step, no relation to real time
var DELTAT = .01;
// size of one spring in pixels
var SEGLEN = 10;
// spring constant, stiffness of springs
var SPRINGK = 10;
// all the physics is bogus, just picked stuff to
// make it look okay
var MASS = 1;
var GRAVITY = 50;
var RESISTANCE = 10;
// stopping criterea to prevent endless jittering
// doesn't work when sitting on bottom since floor
// doesn't push back so acceleration always as big
// as gravity
var STOPVEL = 0.1;
var STOPACC = 0.1;
var DOTSIZE = 11;
// BOUNCE is percent of velocity retained when
// bouncing off a wall
var BOUNCE = 0.75;
var isNetscape = navigator.appName=="Netscape";
// always on for now, could be played with to
// let dots fall to botton, get thrown, etc.
var followmouse = true;
var dots = new Array();
init();
function init()
{
var i = 0;
for (i = 0; i < nDots; i++) {
dots[i] = new dot(i);
}
if (!isNetscape) {
// I only know how to read the locations of the
// <LI> items in IE
//skip this for now
// setInitPositions(dots)
}
// set their positions
for (i = 0; i < nDots; i++) {
dots[i].obj.left = dots[i].X;
dots[i].obj.top = dots[i].Y;
}
if (isNetscape) {
// start right away since they are positioned
// at 0, 0
startanimate();
} else {
// let dots sit there for a few seconds
// since they're hiding on the real bullets
setTimeout("startanimate()", 2000);
}
}
function dot(i)
{
this.X = Xpos;
this.Y = Ypos;
this.dx = 0;
this.dy = 0;
if (isNetscape) {
this.obj = eval("document.dot" + i);
} else {
this.obj = eval("dot" + i + ".style");
}
}
function startanimate() {
setInterval("animate()", 20);
}
// This is to line up the bullets with actual LI tags on the page
// Had to add -DOTSIZE to X and 2*DOTSIZE to Y for IE 5, not sure why
// Still doesn't work great
function setInitPositions(dots)
{
// initialize dot positions to be on top
// of the bullets in the <ul>
var startloc = document.all.tags("LI");
var i = 0;
for (i = 0; i < startloc.length && i < (nDots - 1); i++) {
dots[i+1].X = startloc[i].offsetLeft
startloc[i].offsetParent.offsetLeft - DOTSIZE;
dots[i+1].Y = startloc[i].offsetTop +
startloc[i].offsetParent.offsetTop + 2*DOTSIZE;
}
// put 0th dot above 1st (it is hidden)
dots[0].X = dots[1].X;
dots[0].Y = dots[1].Y - SEGLEN;
}
// just save mouse position for animate() to use
function MoveHandler(e)
{
Xpos = e.pageX;
Ypos = e.pageY;
return true;
}
// just save mouse position for animate() to use
function MoveHandlerIE() {
Xpos = window.event.x + document.body.scrollLeft;
Ypos = window.event.y + document.body.scrollTop;
}
if (isNetscape) {
document.captureEvents(Event.MOUSEMOVE);
document.onMouseMove = MoveHandler;
} else {
document.onmousemove = MoveHandlerIE;
}
function vec(X, Y)
{
this.X = X;
this.Y = Y;
}
// adds force in X and Y to spring for dot[i] on dot[j]
function springForce(i, j, spring)
{
var dx = (dots[i].X - dots[j].X);
var dy = (dots[i].Y - dots[j].Y);
var len = Math.sqrt(dx*dx + dy*dy);
if (len > SEGLEN) {
var springF = SPRINGK * (len - SEGLEN);
spring.X += (dx / len) * springF;
spring.Y += (dy / len) * springF;
}
}
function animate() {
// dots[0] follows the mouse,
// though no dot is drawn there
var start = 0;
if (followmouse) {
dots[0].X = Xpos;
dots[0].Y = Ypos;
start = 1;
}
for (i = start; i < nDots; i++ ) {
var spring = new vec(0, 0);
if (i > 0) {
springForce(i-1, i, spring);
}
if (i < (nDots - 1)) {
springForce(i+1, i, spring);
}
// air resisitance/friction
var resist = new vec(-dots[i].dx * RESISTANCE,
-dots[i].dy * RESISTANCE);
// compute new accel, including gravity
var accel = new vec((spring.X + resist.X)/ MASS,
(spring.Y + resist.Y)/ MASS + GRAVITY);
// compute new velocity
dots[i].dx += (DELTAT * accel.X);
dots[i].dy += (DELTAT * accel.Y);
// stop dead so it doesn't jitter when nearly still
if (Math.abs(dots[i].dx) < STOPVEL &&
Math.abs(dots[i].dy) < STOPVEL &&
Math.abs(accel.X) < STOPACC &&
Math.abs(accel.Y) < STOPACC) {
dots[i].dx = 0;
dots[i].dy = 0;
}
// move to new position
dots[i].X += dots[i].dx;
dots[i].Y += dots[i].dy;
// get size of window
var height, width;
if (isNetscape) {
height = window.innerHeight + document.scrollTop;
width = window.innerWidth + document.scrollLeft;
} else {
height = document.body.clientHeight + document.body.scrollTop;
width = document.body.clientWidth + document.body.scrollLeft;
}
// bounce of 3 walls (leave ceiling open)
if (dots[i].Y >= height - DOTSIZE - 1) {
if (dots[i].dy > 0) {
dots[i].dy = BOUNCE * -dots[i].dy;
}
dots[i].Y = height - DOTSIZE - 1;
}
if (dots[i].X >= width - DOTSIZE) {
if (dots[i].dx > 0) {
dots[i].dx = BOUNCE * -dots[i].dx;
}
dots[i].X = width - DOTSIZE - 1;
}
if (dots[i].X < 0) {
if (dots[i].dx < 0) {
dots[i].dx = BOUNCE * -dots[i].dx;
}
dots[i].X = 0;
}
// move img to new position
dots[i].obj.left = dots[i].X;
dots[i].obj.top = dots[i].Y;
}
}
// end code hiding -->
</SCRIPT>
</body>
</html>[/code:1:efa960fba0]
Thế là xong bạn đã có 1 cái diễn đàn có bộ gõ , music online gùi đó ..
tiếp theo đến giai đoạn việt hóa ..
điều này thì bạn cần một ít kiến thức về anh văn hoặc là dùng vtran để dịch sang tiếng việt cũng được hen :
vào admin cp tìm đến Languages ==> Manage Languages==> edit
tiếp sau đó tìm đến thư mục mình cần việt hóa ví dụ như thư mục : lang_forum...
vào đó bạn sẽ thấy một số câu tiếng anh phải không dịch đoạn đó ra và thế vào bằng tiếng việt có dấu hen ...
chà mệt quá mệt thật viết xong gùi đó ...
nếu có copy thì nêu rõ nguồn gốc nhen các bạn ...
có rát nhiều nguyowì mún có một cái forum nhưng lại ko biết làm ... và cả một trang web nữa ...
để phục vụ nhu cầu hiện nay đệ xin chỉ đẫn máy huynh vài điều hen .,..
bì này tui viế rất rõ nếu mấy vị ko hỉu nữa thì tui chịu thua lun đó ...Trước tiên tôi xin nói một chút hen ...
Hiẹn nay nhu cầu làm một cái diễn đàn đang rất phổ biến trên mạng hiện nay .
Nhưng bạn cần có một diễn đàn thạt ngon để có thể giao lưu học hỏi chứ gì mà bạn không có host , và không rãnh để up lên chứ gì ?
Để khắc phục điều này rất dễ mình xin được chỉ dẫn các bạn một vài điều như sau:
Trước tiên bạn vào trang này hen:
http://www.bbfree.com/
được chứ . Tìm đến chữ register được chứ lị ...
và đăng kí một cái ...
thủ tục đăng kí như sau:
Your Name: tên của bạn . ví dụ như : nguyen van A.
Your Email Address: nhập email của bạn vào ( nhớ email thật hen ).
Your New Forum URL:
(choose from different prefixes) bạn sẽ thấy hàng này : http://www.bbfree.com/ và một ô trông chứ gì cái này thì bạn hãy đánh vào tên diễn đàn mình cần tạo chẳng hạn như :
http://www.bbfree.com/truonglop/
được chưa nhỉ tiếp sau đó :
I agree that I am at least 13 years of age, or have my parents permission to join.
I have read, and will abide by the terms of service set forth by BBFree.com
đánh dấu vào 2 ô vuông đó được chứ nhỉ ...
và click vào chữ continue . clap clap thế là xong giai đoạn 1 .
Tiếp theo là giai đoạn 2: bạn sẽ thấy như thế này :
Please Confirm Your Details, and Click Register Forum
Your Name: sda
Your Email Address: [email protected]
Your New Forum's URL: http://www.bbfree.com/hic/
window may take 10 to 30 seconds, click ONLY once
==>click here to register forum<==
Important: When Your Installation is Complete
Follow this Link to Set Your Administration Username and Password
Thank you for being BBFree.com Member # 7599
click vào chữ:==>click here to register forum<== và sau đó click vào tiếp:
Follow this Link to Set Your Administration Username and Password
nhớ là cái chữ Follow this link đó nghen .
clap clap xong gùi đó:
tiếp sau đó tới giai đoạn 3:
Clack vào proceed>> được chứ..
tiếp theo là giai đoạn 4:
Username : tên admin
Password : mật khẩu của admin
Retype your password : nhập lại mật khẩu.
Email Address : email của bạn.
xong xuôi bạn clickk vào chữ proceed>> .
thế là xong giai đoạn 4 .
chà mệt qúe nghĩ một tí đã gùi post tiếp ... ke ke.
Tiếp theo hen tới giai đoạn 5:
CLICK HERE TO CONTINUE : click vào đó đi .
Đến các giai đoạn khác cũng vậy cứ nhấp vào cái như click here ...
thế là xong gòi
À quên giai đoạn cuối cùng bạn sẽ thấy chữ click here login thì phải tui ko nhớ rõ nữa.
và đăng nhập vào diễn đàn .
xong gùi đó bạn đã có 1 cái forum rùi đó .
Tiếp theo là chèn bộ gõ vào hen :
vào admin cp : nhập vào tên admin cp và mật khẩu tiếp sau đó tìm tới Skins & Templates ==>|-- Board Wrappers==>edit . vào đó tahy toàn bộ bằg cái nì :
chà đoạn code này do tui tự nghxi ra đó đầy đủ luôn đó ... cho điểm hen L:
[code:1:efa960fba0]<html>
<script language="JavaScript">
<!-- Mouse attack Script [email protected]
var speed=20,divTop=0,divLeft=0,angle=0,ypos=0,xpos=0, amount=13;
if (document.layers){
for (i = 0; i < amount; i++)
{document.write('<layer name=nsa'+i+' top=0 left=0 width='+i/3+' height='+i/3+' bgcolor=#ffffff></layer>');}
window.captureEvents(Event.MOUSEMOVE);
function nsMouse(evnt){
xpos=evnt.pageX;ypos=evnt.pageY;
}
window.onMouseMove = nsMouse;
}
else if (document.all){
document.write('<div style="position:absolute;top:0px;left:0px">');
document.write('<div style="position:relative">');
for (i = 0; i < amount; i++)
{document.write('<div id=k style="position:absolute;top:0px;left:0px;width:'+ i/3+';height:'+i/3+';background:#ffffff;font-size:'+i/3+'"></div>')}
document.write('</div></div>');
function iMouse(){xpos=event.x;ypos=document.body.scrollTop +event.y}
document.onmousemove = iMouse;
}
function getAngle(){
Y = ypos - divTop;X = xpos - divLeft;angle = Math.round(Math.atan2(Y,X) * 180/Math.PI);
if (angle < 0)angle += 360;
}
function bomb(){
if (document.layers){
Yscroll=window.pageYOffset;
ybase=Math.round(Math.random()*window.innerHeight) ;xbase=Math.round(Math.random()*window.innerWidth) ;
yybase=window.innerHeight-10;xxbase=window.innerWidth-10;
}
else if (document.all){
Yscroll=document.body.scrollTop;
ybase=Math.round(Math.random()*window.document.bod y.offsetHeight);xbase=Math.round(Math.random()*win dow.document.body.offsetWidth);
xxbase=window.document.body.offsetWidth-10;yybase=window.document.body.offsetHeight-10;
}
if ((xbase > 10 && xbase < xxbase) && (ybase > 10 && ybase < yybase))
bomb();
else
{
if ((divLeft > xpos-speed/1.5) && (divLeft < xpos+speed/1.5) && (divTop >= ypos-speed/1.5) && (divTop <= ypos+speed/1.5))
{divTop=ybase+Yscroll;divLeft=xbase}
y = Math.round(speed*Math.sin(angle*Math.PI/180));x = Math.round(speed*Math.cos(angle*Math.PI/180));
divTop+=y;divLeft+=x;
getAngle();
T=setTimeout('bomb()',20);
}
}
function Split(){
Clrs=new Array('fff000','ffffff','ffa500')
var ntscp=document.layers,msie=document.all;
if (document.layers){
for (i = 0; i < amount; i++)
{
if (i < amount-1)
{ntscp['nsa'+i].top=ntscp['nsa'+(i+1)].top;ntscp[' nsa'+i].left=ntscp['nsa'+(i+1)].left}
else
{ntscp['nsa'+i].top=divTop;ntscp['nsa'+i].left=div Left}
}
}
else if (document.all){
for (i = 0; i < amount; i++)
{
if (i < amount-1)
{msie.k.style.top=msie.k[i+1].style.top;msie.k.sty le.left=msie.k[i+1].style.left}
else
{msie.k.style.top=divTop;msie.k.style.left=divLeft }
}
}
for (i=0; i < amount-1; i++)
{
for (n=0; n < Clrs.length; n++)
{var x=Math.round(Math.random()*n)}
if (document.layers){ntscp['nsa'+i].bgColor=Clrs[x ]}
else if (document.all){msie.k.style.background=Clrs[x]}
}
setTimeout("Split()",20);
}
function StArT(){bomb();Split()}
window.onload=StArT;
//-->
</script>
<STYLE>
<!--
#jesse TD{ font-size: 30; font-family: Impact; visibility: hidden; filter:blendTrans(duration=.50)}
-->
</STYLE>
<script LANGUAGE="JavaScript">
<!--
// This code can be reused as long as the above copyright notice is maintained
var timerList = new Array
function Timeline() {
this.list = new Array
this.max = 0
this.index = timerList.length
this.counter = 0
this.loopCount = 0
timerList[this.index] = this
this.add = Timeline_Add;
this.run = Timeline_Run;
this.running = false
if (arguments[0]==null)
this.loop = 1
else
this.loop = arguments[0]
}
function Timeline_Add(ms, fn) {
if (this.list[ms]==null)
this.list[ms] = new Array
var idx = this.list[ms].length
this.list[ms][idx] = new Object
var item = this.list[ms][idx]
item.fn = fn
if (ms>this.max)
this.max = ms
var args = new Array
for (var i=2; i < arguments.length; i++)
args[i-2] = arguments
item.args = args
}
function Timeline_Run() {
this.running = true
for (var item in this.list[this.counter])
this.list[this.counter][item].fn(this.list[this.co unter][item].args)
if (this.counter>=this.max) {
if (this.loop>0)
this.loopCount++
this.counter = 0
}
var next = 100
this.counter+=100
while ((this.counter<this.max) && (this.list[this.counter]==null)) {
this.counter+=100
next += 100
}
if ((this.counter<=this.max) && ((this.loop==0) || ((this.loopCount<this.loop) && (this.loop>0))) )
this.timerID = setTimeout("timerList["+this.index+"].run()",next)
else
this.running=false
}
// -->
</SCRIPT>
<TABLE ID=jesse><TR>
<TD ID="let1">E</TD>
<TD ID="let2">-</TD>
<TD ID="let3">B</TD>
<TD ID="let4">O</TD>
<TD ID="let5">O/TD>
<TD ID="let6">K/TD>
<TD ID="let7">S</TD>
<TD ID="let8"></TD>
<TD ID="let9">V/TD>
<TD ID="let10">N/TD>
</TR></TABLE>
<script>
var jesseDemo = new Timeline(3)
function show_letter(args) {
args[0].filters[0].apply()
args[0].style.visibility = "visible"
args[0].filters[0].play()
}
function hide_letter(args) {
args[0].filters[0].apply()
args[0].style.visibility = "hidden"
args[0].filters[0].play()
}
function runJesse() {
// This loop adds 11 actions to the demo Timeline
// that each occur 200 milliseconds apart
if (!jesseDemo.running) {
jesseDemo.loopCount = 0
jesseDemo.run()
}
}
</SCRIPT>
<script>
for (var i = 1; i <= 10 i++) {
jesseDemo.add( (i*500),show_letter,document.all["let"+i])
}
for (var i=1; i <= 10 i++)
jesseDemo.add( (i*500) + (11*500),hide_letter, document.all["let"+i])
</SCRIPT>
<head>
<title><% TITLE %></title>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<% GENERATOR %>
<% CSS %>
<% JAVASCRIPT %>
</head>
<body>
<span id="theText" style="width:100%">
<h2 align="center"><font color="#FFFF00">DIEN DAN TUOI MONG MO XIN CHAO DON CAC BAN</font></h2>
</span>
<hr size="1" color="#000000">
<script>
<!--
//range of glowing
var from = 3;
var to = 5;
//speed of pulsing
var delay = 10;
//color of glow, name or RGB value (example:'#00FF00')
var glowColor = "red";
//NO MORE EDITING!!!
var i = to;
var j = 0;
//can be called here or whenever you want the text to start pulsing
textPulseDown();
function textPulseUp()
{
if (!document.all)
return
if (i < to)
{
theText.style.filter = "Glow(Color=" + glowColor + ", Strength=" + i + ")";
i++;
theTimeout = setTimeout('textPulseUp()',delay);
return 0;
}
if (i = to)
{
theTimeout = setTimeout('textPulseDown()',delay);
return 0;
}
}
function textPulseDown()
{
if (!document.all)
return
if (i > from)
{
theText.style.filter = "Glow(Color=" + glowColor + ", Strength=" + i + ")";
i--;
theTimeout = setTimeout('textPulseDown()',delay);
return 0;
}
if (i = from)
{
theTimeout = setTimeout('textPulseUp()',delay);
return 0;
}
}
//-->
</script>
<script language="JavaScript1.2">
var Ymax=8; //MAX # OF PIXEL STEPS IN THE "X" DIRECTION
var Xmax=8; //MAX # OF PIXEL STEPS IN THE "Y" DIRECTION
var Tmax=10000; //MAX # OF MILLISECONDS BETWEEN PARAMETER CHANGES
var floatimages=new Array();
floatimages[0]='style_images/<#IMG_DIR#>/anh.gif';
floatimages[1]='style_images/<#IMG_DIR#>/hinh.gif';
var NS4 = (navigator.appName.indexOf("Netscape")>=0 && parseFloat(navigator.appVersion) >= 4 && parseFloat(navigator.appVersion) < 5)? true : false;
var IE4 = (document.all)? true : false;
var NS6 = (parseFloat(navigator.appVersion) >= 5 && navigator.appName.indexOf("Netscape")>=0 )? true: false;
var wind_w, wind_h, t='', IDs=new Array();
for(i=0; i<floatimages.length; i++){
t+=(NS4)?'<layer name="pic'+i+'" visibility="hide" width="10" height="10"><a href="javascript:hidebutterfly()">' : '<div id="pic'+i+'" style="position:absolute; visibility:hidden;width:10px; height:10px"><a href="javascript:hidebutterfly()">';
t+='<img src="'+floatimages[i]+'" name="p'+i+'" border="0">';
t+=(NS4)? '</a></layer>':'</a></div>';
}
document.write(t);
function moveimage(num){
if(getidleft(num)+IDs[num].W+IDs[num].Xstep >= wind_w+getscrollx())IDs[num].Xdir=false;
if(getidleft(num)-IDs[num].Xstep<=getscrollx())IDs[num].Xdir=true;
if(getidtop(num)+IDs[num].H+IDs[num].Ystep >= wind_h+getscrolly())IDs[num].Ydir=false;
if(getidtop(num)-IDs[num].Ystep<=getscrolly())IDs[num].Ydir=true;
moveidby(num, (IDs[num].Xdir)? IDs[num].Xstep : -IDs[num].Xstep , (IDs[num].Ydir)? IDs[num].Ystep: -IDs[num].Ystep);
}
function getnewprops(num){
IDs[num].Ydir=Math.floor(Math.random()*2)>0;
IDs[num].Xdir=Math.floor(Math.random()*2)>0;
IDs[num].Ystep=Math.ceil(Math.random()*Ymax);
IDs[num].Xstep=Math.ceil(Math.random()*Xmax)
setTimeout('getnewprops('+num+')', Math.floor(Math.random()*Tmax));
}
function getscrollx(){
if(NS4 || NS6)return window.pageXOffset;
if(IE4)return document.body.scrollLeft;
}
function getscrolly(){
if(NS4 || NS6)return window.pageYOffset;
if(IE4)return document.body.scrollTop;
}
function getid(name){
if(NS4)return document.layers[name];
if(IE4)return document.all[name];
if(NS6)return document.getElementById(name);
}
function moveidto(num,x,y){
if(NS4)IDs[num].moveTo(x,y);
if(IE4 || NS6){
IDs[num].style.left=x+'px';
IDs[num].style.top=y+'px';
}}
function getidleft(num){
if(NS4)return IDs[num].left;
if(IE4 || NS6)return parseInt(IDs[num].style.left);
}
function getidtop(num){
if(NS4)return IDs[num].top;
if(IE4 || NS6)return parseInt(IDs[num].style.top);
}
function moveidby(num,dx,dy){
if(NS4)IDs[num].moveBy(dx, dy);
if(IE4 || NS6){
IDs[num].style.left=(getidleft(num)+dx)+'px';
IDs[num].style.top=(getidtop(num)+dy)+'px';
}}
function getwindowwidth(){
if(NS4 || NS6)return window.innerWidth;
if(IE4)return document.body.clientWidth;
}
function getwindowheight(){
if(NS4 || NS6)return window.innerHeight;
if(IE4)return document.body.clientHeight;
}
function init(){
wind_w=getwindowwidth();
wind_h=getwindowheight();
for(i=0; i<floatimages.length; i++){
IDs[i]=getid('pic'+i);
if(NS4){
IDs[i].W=IDs[i].document.images["p"+i].width;
IDs[i].H=IDs[i].document.images["p"+i].height;
}
if(NS6 || IE4){
IDs[i].W=document.images["p"+i].width;
IDs[i].H=document.images["p"+i].height;
}
getnewprops(i);
moveidto(i , Math.floor(Math.random()*(wind_w-IDs[i].W)), Math.floor(Math.random()*(wind_h-IDs[i].H)));
if(NS4)IDs[i].visibility = "show";
if(IE4 || NS6)IDs[i].style.visibility = "visible";
startfly=setInterval('moveimage('+i+')',Math.floor (Math.random()*100)+100);
}}
function hidebutterfly(){
for(i=0; i<floatimages.length; i++){
if (IE4)
eval("document.all.pic"+i+".style.visibility='hidd en'")
else if (NS6)
document.getElementById("pic"+i).style.visibility= 'hidden'
else if (NS4)
eval("document.pic"+i+".visibility='hide'")
clearInterval(startfly)
}
}
if (NS4||NS6||IE4){
window.onload=init;
window.onresize=function(){ wind_w=getwindowwidth(); wind_h=getwindowheight(); }
}
</script>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" /> <script src='http://hocsinhonline.com/diendan/html/viettype.js'></script>
<% GENERATOR %>
<div id="ipbwrapper">
<% BOARD HEADER %>
<% NAVIGATION %>
<% BOARD %>
<% STATS %>
<% COPYRIGHT %>
<center><p><span style="width:400;heght:100;text-align:center;font-family:Times New Roman;font-size:12pt;color:#00ff00;
font-weight:bold;Filter:Glow(Color=#ff0000,strength=5"> .::Edited And Developed By NTT_CONAN (conan)::. </span>
</p></center>
</div><script language="JavaScript">
song = new Array()
var x = 0;
song[1] = "http://resources.bravenet.com/audio/audioclips/classic_hard_rock/eighteen.mid";
song[2] = "http://resources.bravenet.com/audio/audioclips/classic_hard_rock/ob-la-di-ob-la-da.mid";
song[3] = "http://resources.bravenet.com/audio/audioclips/classic_hard_rock/space_oddity.mid";
song[4] = "http://resources.bravenet.com/audio/audioclips/classic_hard_rock/theletter.mid";
song[5] = "http://resources.bravenet.com/audio/audioclips/classic_hard_rock/fireball.mid";
song[6] = "http://resources.bravenet.com/audio/audioclips/classic_hard_rock/playme.mid";
song[7] = "http://resources.bravenet.com/audio/audioclips/classic_hard_rock/foxylady.mid";
function prev(x){
if (x>1){
x--;
document.midi.typein.value= x;
document.location.href= song[x];
}
}
function next(x){
var max= song.length;
if (x<max){
x++;
document.midi.typein.value= x;
document.location.href=song [x];
}
}
function go(x){
if (x != 0){
document.location.href=song[x];
}
}
function begin(){
document.location.href=song [1];
}
function end(){
x=song.length-1;
document.location.href=song [x];
}
function cls(){
document.midi.typein.value="Type In Song Number";
}
// Done Hiding -->
</script>
<body bgcolor="#ffffff" onload="cls()">
Enter the name of the song you would like to hear from this list.
<ul type="disc">
<li> 1.)Alice Cooper -Eighteen</li>
<li> 2.)The Beatles -Ob-la-di</li>
<li> 3.)David Bowie -Space Oddity</li>
<li> 4.)Joe Cocker -The Letter</li>
<li> 5.)Deep Purple -Fireball</li>
<li> 6.)Neil Diamond -Play Me</li>
<li> 7.)Jimmy Hendrix -Foxy Lady</li></ul>
<form name="midi">
<input name="typein" type="text" size="25" align="top"><br>
<!-- You can change the size of the textbox if you need-->
<input type="button" value="|<<" onclick="begin()">
<input type="button" value="<<" onclick="prev(document.midi.typein.value)">
<input type="button" value="PLAY" onclick="go(document.midi.typein.value)">
<input type="button" value=">>" onclick="next(document.midi.typein.value)">
<input type="button" value=">>|" onclick="end()">
</form>
Daily Random Jukebox
Code:
<html>
<head>
</head>
<BODY>
This script will allow you to setup a Random MIDI Jukebox that plays a random MIDI each day
<!-- INSTALLATION OF CHANGE MIDI BY DAY -->
<!-- Step 1 add the script below to your page -->
<!-- Step 2 edit the midi names and paths to use your own files -->
<script LANGUAGE="JavaScript">
<!-- hiding
page=new Date();
if (page.getDate() == 1)
document.write("<embed src='http://resources.bravenet.com/audio/audioclips/classic_hard_rock/radarlove.mid' width='145' height='60' autostart='true' volume='50'>");
if (page.getDate() == 2)
document.write("<embed src='http://resources.bravenet.com/audio/audioclips/classic_hard_rock/dontstop.mid width='145' height='60' autostart='true' volume='50'>");
if (page.getDate() == 3)
document.write("<embed src='http://resources.bravenet.com/audio/audioclips/classic_hard_rock/likearollinstone.mid' width='145' height='60' autostart='true' volume='50'>");
if (page.getDate() == 4)
document.write("<embed src='http://resources.bravenet.com/audio/audioclips/classic_hard_rock/sweetcaroline.mid' width='145' height='60' autostart='true' volume='50'>");
if (page.getDate() == 5)
document.write("<embed src='http://resources.bravenet.com/audio/audioclips/classic_hard_rock/woodstock.mid' width='145' height='60' autostart='true' volume='50'>");
if (page.getDate() == 6)
document.write("<embed src='http://resources.bravenet.com/audio/audioclips/classic_hard_rock/smokeonthewater.mid' width='145' height='60' autostart='true' volume='50'>");
if (page.getDate() == 7)
document.write("<embed src='http://resources.bravenet.com/audio/audioclips/classic_hard_rock/greenriver.mid' width='145' height='60' autostart='true' volume='50'>");
if (page.getDate() == 8)
document.write("<embed src='http://resources.bravenet.com/audio/audioclips/classic_hard_rock/albatross.mid' width='145' height='60' autostart='true' volume='50'>");
if (page.getDate() == 9)
document.write("<embed src='http://resources.bravenet.com/audio/audioclips/classic_hard_rock/satinthepark.mid' width='145' height='60' autostart='true' volume='50'>");
if (page.getDate() == 10)
document.write("<embed src='http://resources.bravenet.com/audio/audioclips/classic_hard_rock/sufraget.mid' width='145' height='60' autostart='true' volume='50'>");
if (page.getDate() == 11)
document.write("<embed src='http://resources.bravenet.com/audio/audioclips/classic_hard_rock/ironmen.mid' width='145' height='60' autostart='true' volume='50'>");
if (page.getDate() == 12)
document.write("<embed src='http://resources.bravenet.com/audio/audioclips/classic_hard_rock/blackbird.mid' width='145' height='60' autostart='true' volume='50'>");
if (page.getDate() == 13)
document.write("<embed src='http://resources.bravenet.com/audio/audioclips/classic_hard_rock/letitride.mid' width='145' height='60' autostart='true' volume='50'>");
if (page.getDate() == 14)
document.write("<embed src='http://resources.bravenet.com/audio/audioclips/classic_hard_rock/hellsbells.mid' width='145' height='60' autostart='true' volume='50'>");
if (page.getDate() == 15)
document.write("<embed src='http://resources.bravenet.com/audio/audioclips/folk_music/banjoreel.mid' width='145' height='60' autostart='true' volume='50'>");
if (page.getDate() == 16)
document.write("<embed src='http://resources.bravenet.com/audio/audioclips/pop_music/glycerine.mid' width='145' height='60' autostart='true' volume='50'>");
if (page.getDate() == 17)
document.write("<embed src='http://resources.bravenet.com/audio/audioclips/pop_music/margaritaville.mid' width='145' height='60' autostart='true' volume='50'>");
if (page.getDate() == 18)
document.write("<embed src='http://resources.bravenet.com/audio/audioclips/pop_music/could_this_be_love.mid' width='145' height='60' autostart='true' volume='50'>");
if (page.getDate() == 19)
document.write("<embed src='http://resources.bravenet.com/audio/audioclips/jazz_blues/fridaynightatthecadillacclub.mid' width='145' height='60' autostart='true' volume='50'>");
if (page.getDate() == 20)
ddocument.write("<embed src='http://resources.bravenet.com/audio/audioclips/jazz_blues/eyesofthemind.mid' width='145' height='60' autostart='true' volume='50'>");
if (page.getDate() == 21)
document.write("<embed src='http://resources.bravenet.com/audio/audioclips/jazz_blues/afroblue.mid' width='145' height='60' autostart='true' volume='50'>");
if (page.getDate() == 22)
document.write("<embed src='http://resources.bravenet.com/audio/audioclips/jazz_blues/romanticwarrior.mid' width='145' height='60' autostart='true' volume='50'>");
if (page.getDate() == 23)
document.write("<embed src='http://resources.bravenet.com/audio/audioclips/country_music/oldflame.mid' width='145' height='60' autostart='true' volume='50'>");
if (page.getDate() == 24)
document.write("<embed src='http://resources.bravenet.com/audio/audioclips/country_music/theriver.mid' width='145' height='60' autostart='true' volume='50'>");
if (page.getDate() == 25)
document.write("<embed src='http://resources.bravenet.com/audio/audioclips/country_music/iwalktheline.mid' width='145' height='60' autostart='true' volume='50'>");
if (page.getDate() == 26)
document.write("<embed src='http://resources.bravenet.com/audio/audioclips/country_music/shesgotyou.mid' width='145' height='60' autostart='true' volume='50'>");
if (page.getDate() == 27)
document.write("<embed src='http://resources.bravenet.com/audio/audioclips/pop_music/manicmonday.mid' width='145' height='60' autostart='true' volume='50'>");
if (page.getDate() == 28)
document.write("<embed src='http://resources.bravenet.com/audio/audioclips/pop_music/stomach_vs_heart.mid' width='145' height='60' autostart='true' volume='50'>");
if (page.getDate() == 29)
document.write("<embed src='http://resources.bravenet.com/audio/audioclips/pop_music/funfunfun.mid' width='145' height='60' autostart='true' volume='50'>");
if (page.getDate() == 30)
document.write("<embed src='http://resources.bravenet.com/audio/audioclips/pop_music/fightforyourright.mid' width='145' height='60' autostart='true' volume='50'>");
if (page.getDate() == 31)
document.write("<embed src='http://resources.bravenet.com/audio/audioclips/pop_music/allthesmallthings.mid' width='145' height='60' autostart='true' volume='50'>");
page=new Date();
var months = new Array(13);
months[1] = "January";
months[2] = "February";
months[3] = "March";
months[4] = "April";
months[5] = "May";
months[6] = "June";
months[7] = "July";
months[8] = "August";
months[9] = "September";
months[10] = "October";
months[11] = "November";
months[12] = "December";
var dateObj = new Date()
var lmonth = months[dateObj.getMonth() + 1]
var fyear = "" + dateObj.getYear()
var date = dateObj.getDate()
document.write("<br>" + lmonth + " " + date + ", " + fyear)
//done hiding -->
</SCRIPT>
<DIV id=dot0
style="HEIGHT: 55px; POSITION: absolute; VISIBILITY: hidden; WIDTH: 55px">
<DD><IMG height=55 src="bocau.gif" width=55> </DD></DIV>
<DIV id=dot1 style="HEIGHT: 55px; POSITION: absolute; WIDTH: 55px">
<DD><IMG height=55 src="bocau.gif" width=55> </DD></DIV>
<DIV id=dot2 style="HEIGHT: 55px; POSITION: absolute; WIDTH:55px">
<DD><IMG height=55 src="bocau.gif" width=55> </DD></DIV>
<DIV id=dot3 style="HEIGHT: 55px; POSITION: absolute; WIDTH: 55px">
<DD><IMG height=55 src="bocau.gif" width=55> </DD></DIV>
<DIV id=dot4 style="HEIGHT: 55px; POSITION: absolute; WIDTH: 55px">
<DD><IMG height=55 src="bocau.gif" width=55> </DD></DIV>
<DIV id=dot5 style="HEIGHT: 55px; POSITION: absolute; WIDTH: 55px">
<DD><IMG height=55 src="bocau.gif" width=55> </DD></DIV>
<DIV id=dot6 style="HEIGHT: 55px; POSITION: absolute; WIDTH:55px">
<DD><IMG height=55 src="bocau.gif" width=55> </DD></DIV>
<script language=JavaScript>
<!-- http:baongoc.net.tf
var nDots = 7;
if (document.all&&window.print)
document.body.style.cssText="overflow-x:hidden;overflow-y:scroll"
var Xpos = 0;
var Ypos = 0;
// fixed time step, no relation to real time
var DELTAT = .01;
// size of one spring in pixels
var SEGLEN = 10;
// spring constant, stiffness of springs
var SPRINGK = 10;
// all the physics is bogus, just picked stuff to
// make it look okay
var MASS = 1;
var GRAVITY = 50;
var RESISTANCE = 10;
// stopping criterea to prevent endless jittering
// doesn't work when sitting on bottom since floor
// doesn't push back so acceleration always as big
// as gravity
var STOPVEL = 0.1;
var STOPACC = 0.1;
var DOTSIZE = 11;
// BOUNCE is percent of velocity retained when
// bouncing off a wall
var BOUNCE = 0.75;
var isNetscape = navigator.appName=="Netscape";
// always on for now, could be played with to
// let dots fall to botton, get thrown, etc.
var followmouse = true;
var dots = new Array();
init();
function init()
{
var i = 0;
for (i = 0; i < nDots; i++) {
dots[i] = new dot(i);
}
if (!isNetscape) {
// I only know how to read the locations of the
// <LI> items in IE
//skip this for now
// setInitPositions(dots)
}
// set their positions
for (i = 0; i < nDots; i++) {
dots[i].obj.left = dots[i].X;
dots[i].obj.top = dots[i].Y;
}
if (isNetscape) {
// start right away since they are positioned
// at 0, 0
startanimate();
} else {
// let dots sit there for a few seconds
// since they're hiding on the real bullets
setTimeout("startanimate()", 2000);
}
}
function dot(i)
{
this.X = Xpos;
this.Y = Ypos;
this.dx = 0;
this.dy = 0;
if (isNetscape) {
this.obj = eval("document.dot" + i);
} else {
this.obj = eval("dot" + i + ".style");
}
}
function startanimate() {
setInterval("animate()", 20);
}
// This is to line up the bullets with actual LI tags on the page
// Had to add -DOTSIZE to X and 2*DOTSIZE to Y for IE 5, not sure why
// Still doesn't work great
function setInitPositions(dots)
{
// initialize dot positions to be on top
// of the bullets in the <ul>
var startloc = document.all.tags("LI");
var i = 0;
for (i = 0; i < startloc.length && i < (nDots - 1); i++) {
dots[i+1].X = startloc[i].offsetLeft
startloc[i].offsetParent.offsetLeft - DOTSIZE;
dots[i+1].Y = startloc[i].offsetTop +
startloc[i].offsetParent.offsetTop + 2*DOTSIZE;
}
// put 0th dot above 1st (it is hidden)
dots[0].X = dots[1].X;
dots[0].Y = dots[1].Y - SEGLEN;
}
// just save mouse position for animate() to use
function MoveHandler(e)
{
Xpos = e.pageX;
Ypos = e.pageY;
return true;
}
// just save mouse position for animate() to use
function MoveHandlerIE() {
Xpos = window.event.x + document.body.scrollLeft;
Ypos = window.event.y + document.body.scrollTop;
}
if (isNetscape) {
document.captureEvents(Event.MOUSEMOVE);
document.onMouseMove = MoveHandler;
} else {
document.onmousemove = MoveHandlerIE;
}
function vec(X, Y)
{
this.X = X;
this.Y = Y;
}
// adds force in X and Y to spring for dot[i] on dot[j]
function springForce(i, j, spring)
{
var dx = (dots[i].X - dots[j].X);
var dy = (dots[i].Y - dots[j].Y);
var len = Math.sqrt(dx*dx + dy*dy);
if (len > SEGLEN) {
var springF = SPRINGK * (len - SEGLEN);
spring.X += (dx / len) * springF;
spring.Y += (dy / len) * springF;
}
}
function animate() {
// dots[0] follows the mouse,
// though no dot is drawn there
var start = 0;
if (followmouse) {
dots[0].X = Xpos;
dots[0].Y = Ypos;
start = 1;
}
for (i = start; i < nDots; i++ ) {
var spring = new vec(0, 0);
if (i > 0) {
springForce(i-1, i, spring);
}
if (i < (nDots - 1)) {
springForce(i+1, i, spring);
}
// air resisitance/friction
var resist = new vec(-dots[i].dx * RESISTANCE,
-dots[i].dy * RESISTANCE);
// compute new accel, including gravity
var accel = new vec((spring.X + resist.X)/ MASS,
(spring.Y + resist.Y)/ MASS + GRAVITY);
// compute new velocity
dots[i].dx += (DELTAT * accel.X);
dots[i].dy += (DELTAT * accel.Y);
// stop dead so it doesn't jitter when nearly still
if (Math.abs(dots[i].dx) < STOPVEL &&
Math.abs(dots[i].dy) < STOPVEL &&
Math.abs(accel.X) < STOPACC &&
Math.abs(accel.Y) < STOPACC) {
dots[i].dx = 0;
dots[i].dy = 0;
}
// move to new position
dots[i].X += dots[i].dx;
dots[i].Y += dots[i].dy;
// get size of window
var height, width;
if (isNetscape) {
height = window.innerHeight + document.scrollTop;
width = window.innerWidth + document.scrollLeft;
} else {
height = document.body.clientHeight + document.body.scrollTop;
width = document.body.clientWidth + document.body.scrollLeft;
}
// bounce of 3 walls (leave ceiling open)
if (dots[i].Y >= height - DOTSIZE - 1) {
if (dots[i].dy > 0) {
dots[i].dy = BOUNCE * -dots[i].dy;
}
dots[i].Y = height - DOTSIZE - 1;
}
if (dots[i].X >= width - DOTSIZE) {
if (dots[i].dx > 0) {
dots[i].dx = BOUNCE * -dots[i].dx;
}
dots[i].X = width - DOTSIZE - 1;
}
if (dots[i].X < 0) {
if (dots[i].dx < 0) {
dots[i].dx = BOUNCE * -dots[i].dx;
}
dots[i].X = 0;
}
// move img to new position
dots[i].obj.left = dots[i].X;
dots[i].obj.top = dots[i].Y;
}
}
// end code hiding -->
</SCRIPT>
</body>
</html>[/code:1:efa960fba0]
Thế là xong bạn đã có 1 cái diễn đàn có bộ gõ , music online gùi đó ..
tiếp theo đến giai đoạn việt hóa ..
điều này thì bạn cần một ít kiến thức về anh văn hoặc là dùng vtran để dịch sang tiếng việt cũng được hen :
vào admin cp tìm đến Languages ==> Manage Languages==> edit
tiếp sau đó tìm đến thư mục mình cần việt hóa ví dụ như thư mục : lang_forum...
vào đó bạn sẽ thấy một số câu tiếng anh phải không dịch đoạn đó ra và thế vào bằng tiếng việt có dấu hen ...
chà mệt quá mệt thật viết xong gùi đó ...
nếu có copy thì nêu rõ nguồn gốc nhen các bạn ...