Hoşgeldin Misafir

[MOD] Her Dakika Büyüyoruz

MiRaT

13 Kas 2017
2,077 Mesaj

Aktiflik

Seviye

Deneyim

TIM / GÖREV:
Kod:
############################################################## 
## MOD Başlığı: Her Dakika Büyüyoruz
## MOD Anlatımı:   Bu Mod Sitenizin Kaç Gün, Saat ve Dakikadır
## online olduğunu gösterir. 
## MOD Versiyonu: 1.0.1 
## 
Yükleme Seviyesi: Kolay 
## Yükleme Süresi: 1 Dakika 
## Değiştirilecek Dosyalar: 1 
##   
##   templates/SubSilver/index_body.tpl 
## 
## 
## 
## Dahili Dosyalar: Yok! 
############################################################## 
## Güvenlik İçin : http://www.phpbb.com/mods/downloads/ 
## Modların son versiyonlarını kontrol etmek için... 
## 
## 
############################################################## 
## Yazar Notları: Yok! 
## 
############################################################## 
## Bu Mod'u forumunuza yüklemeden önce lütfen bu mod'u yüklemek
## için değiştireceğiniz tüm dosyaları yedekleyin..! 
##
############################################################## 

# 
#-----[ AÇ ]------------------------------------------ 
# 

templates/SubSilver/index_body.tpl

# 
#-----[ BUL ]------------------------------------------ 
# 

<tr>
   <td align="left" valign="top"><span class="gensmall">{L_ONLINE_EXPLAIN}</span></td>
</tr>
</table>


# 
#-----[ ALTINA EKLE ]------------------------------------------ 
# 

<center> 
<div> 
<b><font color="#000000" face="Tahoma"> 
<script language="JavaScript1.2"> 

function setcountup(theyear,themonth,theday){ 
yr=theyear;mo=themonth;da=theday 
} 
//////////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(01,07,2007) 
//STEP 2: Configure text to be attached to count up 
var displaymessage="(her dakika büyüyoruz)" 
//STEP 3: Configure the below 5 variables to set the width, height, background color, and text style of the countup area 
var countupwidth='95%' 
var countupheight='20px' //applicable only in NS4 
var countupbgcolor='alt1' 
var opentags='<span class="smallfont">' 
var closetags='</span>' 
//////////DO NOT EDIT PASS THIS LINE////////////////// 
var montharray=new Array("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec") 
var crosscount='' 
function start_countup(){ 
if (********.layers) 
********.countupnsmain.visibility="show" 
else if (********.all||********.getElementById) 
crosscount=********.getElementById&&!********.all?********.getElementById("countupie") : countupie 
countup() 
} 
if (********.all||********.getElementById) 
********.write('<span id="countupie" style="width:'+countupwidth+'; background-color:'+countupbgcolor+'"></span>') 
window.onload=start_countup 

function countup(){ 
var today=new Date() 
var todayy=today.getYear() 
if (todayy < 1000) 
todayy+=1900 
var todaym=today.getMonth() 
var todayd=today.getDate() 
var todayh=today.getHours() 
var todaymin=today.getMinutes() 
var todaystring=montharray[todaym]+" "+todayd+", "+todayy+" "+todayh+":"+todaymin
paststring=montharray[mo-1]+" "+da+", "+yr 
dd=Date.parse(todaystring)-Date.parse(paststring) 
dday=Math.floor(dd/(60*60*1000*24)*1) 
dhour=Math.floor((dd%(60*60*1000*24))/(60*60*1000)*1) 
dmin=Math.floor(((dd%(60*60*1000*24))%(60*60*1000))/(60*1000)*1) 
dsec=Math.floor((((dd%(60*60*1000*24))%(60*60*1000))%(60*1000))/1000*1) 
if (********.layers){ 
********.countupnsmain.********.countupnssub.********.write(opentags+dday+ " gün, "+dhour+" saat, "+dmin+" dakikadır sizlerleyiz... "+displaymessage+closetags) 
********.countupnsmain.********.countupnssub.********.close() 
} 
else if (********.all||********.getElementById) 
crosscount.innerHTML=opentags+dday+ " gün, "+dhour+" saat, "+dmin+" dakika  "+displaymessage+closetags 
setTimeout("countup()",1000) 
} 
</script> 
</font></b> 
</center>

# 
#-----[ Tüm Dosyaları Kaydet Ve Kapat! ]------------------------------------------ 
# 
# Son