- 1 Ağu 2007
- 5,470
- 41
FORUMHOME templatesinde bulun ;
altına şunları ekleyin.
Not: forum açılışı 25.07.2005 olarak gecıyor sız kendınıze göre bu tarıhı değiştirin...
Kod:
[FONT=Courier New]<div><phrase 1="member.php?$session[sessionurl]u=$newuserid" 2="$newusername">$vbphrase[welcome_to_our_newest_member_x]</phrase></div[/FONT][/B][/COLOR][COLOR=white][B][FONT=Courier New]>
</div> [/FONT]
altına şunları ekleyin.
Kod:
[FONT=Courier New]div[/FONT][/B][/COLOR][FONT=Courier New][COLOR=white][B]>
<script language="JavaScript1.2"[/B][/COLOR][/FONT][FONT=Courier New][COLOR=white][B]>
function setcountup(theyear,themonth,theday[/B][/COLOR][/FONT][FONT=Courier New][COLOR=white][B]){
yr=theyear;mo=themonth;da=[/B][/COLOR][/FONT][FONT=Courier New][COLOR=white][B]theday
[/B][/COLOR][/FONT][FONT=Courier New][COLOR=white][B]}
[/B][/COLOR][/FONT][FONT=Courier New][COLOR=white][B]//////////CONFIGURE THE countup SCRIPT HERE//////////////////
//STEP 1: Configure the date to count up from, in the format year, month, day:
//This date should be less than today
setcountup(2005,07,25[/B][/COLOR][/FONT][FONT=Courier New][COLOR=white][B])
[/B][/COLOR][/FONT][FONT=Courier New][COLOR=white][B]//STEP 2: Configure text to be attached to count up
var displaymessage=[/B][/COLOR][/FONT][FONT=Courier New][COLOR=white][B]"(her saniye büyüyoruz)"
[/B][/COLOR][/FONT][FONT=Courier New][COLOR=white][B]//STEP 3: Configure the below 5 variables to set the width, height, background color, and text style of the countup area
var countupwidth=[/B][/COLOR][/FONT][FONT=Courier New][COLOR=white][B]'95%'
var countupheight='20px' [/B][/COLOR][/FONT][FONT=Courier New][COLOR=white][B]//applicable only in NS4
var countupbgcolor=[/B][/COLOR][/FONT][FONT=Courier New][COLOR=white][B]'alt1'
var opentags=[/B][/COLOR][/FONT][FONT=Courier New][COLOR=white][B]'<span class="smallfont">'
var closetags=[/B][/COLOR][/FONT][FONT=Courier New][COLOR=white][B]'</span>'
[/B][/COLOR][/FONT][FONT=Courier New][COLOR=white][B]//////////DO NOT EDIT PASS THIS LINE//////////////////
var montharray=new Array("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"[/B][/COLOR][/FONT][FONT=Courier New][COLOR=white][B])
var crosscount=[/B][/COLOR][/FONT][FONT=Courier New][COLOR=white][B]''
function start_countup[/B][/COLOR][/FONT][FONT=Courier New][COLOR=white][B](){
if (********.layers[/B][/COLOR][/FONT][FONT=Courier New][COLOR=white][B])
********.countupnsmain.visibility=[/B][/COLOR][/FONT][FONT=Courier New][COLOR=white][B]"show"
else if (********.all||********.getElementById[/B][/COLOR][/FONT][FONT=Courier New][COLOR=white][B])
crosscount=********.getElementById&&!********.all?********.getElementById("countupie") : [/B][/COLOR][/FONT][FONT=Courier New][COLOR=white][B]countupie
countup[/B][/COLOR][/FONT][FONT=Courier New][COLOR=white][B]()
}
if (********.all||********.getElementById[/B][/COLOR][/FONT][FONT=Courier New][COLOR=white][B])
********.write('<span id="countupie" style="width:'+countupwidth+'; background-color:'+countupbgcolor+'"></span>'[/B][/COLOR][/FONT][FONT=Courier New][COLOR=white][B])
window.onload=[/B][/COLOR][/FONT][FONT=Courier New][COLOR=white][B]start_countup
function countup[/B][/COLOR][/FONT][FONT=Courier New][COLOR=white][B](){
var today=new Date[/B][/COLOR][/FONT][FONT=Courier New][COLOR=white][B]()
var todayy=today.getYear[/B][/COLOR][/FONT][FONT=Courier New][COLOR=white][B]()
if (todayy < 1000[/B][/COLOR][/FONT][FONT=Courier New][COLOR=white][B])
todayy+=[/B][/COLOR][/FONT][FONT=Courier New][COLOR=white][B]1900
var todaym=today.getMonth[/B][/COLOR][/FONT][FONT=Courier New][COLOR=white][B]()
var todayd=today.getDate[/B][/COLOR][/FONT][FONT=Courier New][COLOR=white][B]()
var todayh=today.getHours[/B][/COLOR][/FONT][FONT=Courier New][COLOR=white][B]()
var todaymin=today.getMinutes[/B][/COLOR][/FONT][FONT=Courier New][COLOR=white][B]()
var todaysec=today.getSeconds[/B][/COLOR][/FONT][FONT=Courier New][COLOR=white][B]()
var todaystring=montharray[todaym]+" "+todayd+", "+todayy+" "+todayh+":"+todaymin+":"+[/B][/COLOR][/FONT][FONT=Courier New][COLOR=white][B]todaysec
paststring=montharray[mo-1]+" "+da+", "+[/B][/COLOR][/FONT][FONT=Courier New][COLOR=white][B]yr
dd=Date.parse(todaystring)-Date.parse(paststring[/B][/COLOR][/FONT][FONT=Courier New][COLOR=white][B])
dday=Math.floor(dd/(60*60*1000*24)*1[/B][/COLOR][/FONT][FONT=Courier New][COLOR=white][B])
dhour=Math.floor((dd%(60*60*1000*24))/(60*60*1000)*1[/B][/COLOR][/FONT][FONT=Courier New][COLOR=white][B])
dmin=Math.floor(((dd%(60*60*1000*24))%(60*60*1000))/(60*1000)*1[/B][/COLOR][/FONT][FONT=Courier New][COLOR=white][B])
dsec=Math.floor((((dd%(60*60*1000*24))%(60*60*1000))%(60*1000))/1000*1[/B][/COLOR][/FONT][FONT=Courier New][COLOR=white][B])
if (********.layers[/B][/COLOR][/FONT][FONT=Courier New][COLOR=white][B]){
********.countupnsmain.********.countupnssub.********.write(opentags+dday+ " gün, "+dhour+" saat, "+dmin+" dakika ve "+dsec+" saniyedir sizlerleyiz... "+displaymessage+closetags[/B][/COLOR][/FONT][FONT=Courier New][COLOR=white][B])
********.countupnsmain.********.countupnssub.********.close[/B][/COLOR][/FONT][FONT=Courier New][COLOR=white][B]()
}
else if (********.all||********.getElementById[/B][/COLOR][/FONT][FONT=Courier New][COLOR=white][B])
crosscount.innerHTML=opentags+dday+ " gün, "+dhour+" saat, "+dmin+" dakika ve "+dsec+" saniye "+displaymessage+[/B][/COLOR][/FONT][FONT=Courier New][COLOR=white][B]closetags
setTimeout("countup()",1000[/B][/COLOR][/FONT][FONT=Courier New][COLOR=white][B])
}
[/B][/COLOR][/FONT][COLOR=white][B][FONT=Courier New]</script>
<ilayer id="countupnsmain" width=&{countupwidth}; height=&{countupheight}; bgColor=&{countupbgcolor}; visibility=hide><layer id="countupnssub" width=&{countupwidth}; height=&{countupheight}; left=0 top=0></layer></ilayer></div>[/FONT]
Not: forum açılışı 25.07.2005 olarak gecıyor sız kendınıze göre bu tarıhı değiştirin...