[function bugsistemikur]
if !(<db.connected>)
db.connect
endif
db.execute "create table if not exists bugtracker_sys (id int unsigned not null auto_increment primary key,bildiren text,tarih text,bugisim text,bugaciklama text,bugonem text,bugdurum text)";
db.close
[function f_bugbildir]
connectdb
db.execute "insert bugtracker_sys values (null, '<addslashes <src.uid>>','<addslashes <serv.rtime>>','<argv[0]>','<argv[1]>','<argv[2]>','Bekliyor');"
src.sys_normal Bildirdiğiniz hata kayıt altına alındı.Çok teşekkür ederiz.
db.close
[plevel 5]
bugtracker
[function bugtracker]
connectdb
db.query "select * from bugtracker_sys;"
if (<db.row.numrows> < 1)
src.sys_error Hata bildirimi yok.
return 1
endif
if (<src.account.plevel> > 5)
ctag0.dialogindex 0
sdialog d_bugtracker
endif
db.close
[dialog d_bugtracker]
150, 100
PAGE 0
makebg 0,0,521,310
dhtmlgump 80 20 300 30 0 0 <def.bfont_lred>Hata Bildirimleri
dhtmlgump 50 40 300 30 0 0 <def.bfont_lred>İsim
dhtmlgump 120 40 300 30 0 0 <def.bfont_lred>Tarih
dhtmlgump 290 40 300 30 0 0 <def.bfont_lred>Açıklama
dhtmlgump 370 40 300 30 0 0 <def.bfont_lred>Durum
dhtmlgump 430 40 300 30 0 0 <def.bfont_lred>Önem
connectdb
if strmatch('<src.account.name>','skell') || strmatch('<src.account.name>','slothere') || strmatch('<src.account.name>','neran')
db.query "select * from bugtracker_sys order by tarih desc limit <eval <ctag0.dialogindex>>,<eval <ctag0.dialogindex>+7>";
else
db.query "select * from bugtracker_sys where bugdurum = 'Bekliyor' order by tarih desc limit <eval <ctag0.dialogindex>>,<eval <ctag0.dialogindex>+7>";
endif
for x 0 6
if <db.row.<dlocal.x>.bildiren>
local.y ((<dlocal.x>*20)+55)
ref1=<addslashes <db.row.<dlocal.x>.bildiren>>
button 20 <eval <local.y>> 2714 2715 1 0 <eval <db.row.<dlocal.x>.id>+10>
dhtmlgump 50 <dlocal.y> 300 30 0 0 <def.bfont_white><ref1.name>
dhtmlgump 120 <dlocal.y> 300 30 0 0 <def.bfont_white><addslashes <db.row.<dlocal.x>.tarih>>
dhtmlgump 290 <dlocal.y> 300 30 0 0 <def.bfont_white><addslashes <db.row.<dlocal.x>.bugisim>>
dhtmlgump 370 <dlocal.y> 300 30 0 0 <qval strmatch('<db.row.<dlocal.x>.bugdurum>','Bekliyor') ?<def.bfont_lred>:<def.bfont_white>><addslashes <db.row.<dlocal.x>.bugdurum>>
dhtmlgump 430 <dlocal.y> 300 30 0 0 <qval strmatch('<db.row.<dlocal.x>.bugonem>','-') ?<def.bfont_lred>Belirlenmemiş:<def.bfont_white><addslashes <db.row.<dlocal.x>.bugonem>>>
endif
endfor
db.close
db.connect
db.query "select * from bugtracker_sys;"
if (<eval <db.row.numrows>> > <eval <ctag0.dialogindex>+7>)
button 60 230 2714 2715 1 0 99999998
dhtmlgump 80 230 550 30 0 0 <def.BFONT_lred> İleri
endif
if (<ctag0.dialogindex> > 6)
button 60 250 2714 2715 1 0 99999999
dhtmlgump 80 250 580 30 0 0 <def.BFONT_lred> Geri
endif
db.close
[dialog d_bugtracker button]
on=0
ctag0.dialogindex 0
on=99999998
if (<src.ctag0.dialgindex> == 0)
ctag0.dialogindex 7
else
ctag0.dialogindex +=7
endif
sdialog d_bugtracker
on=99999999
if <ctag0.dialogindex> > 0
ctag0.dialogindex -=7
endif
sdialog d_bugtracker
return 1
on 1 99999997
ctag.bugid <eval (<argn1>-10)>
ctag.dialogindex 0
sdialog d_bugayrinti
[dialog d_bugayrinti]
150, 100
PAGE 0
makebg 0,0,341,310
connectdb
db.query "select * from bugtracker_sys where id = '<eval <ctag.bugid>>' limit 1"
ref1=<addslashes <db.row.0.bildiren>>
dhtmlgump 90 *10 300 30 0 0 <def.BFONT_SIZE7> <def.BFONT_lrED> Hata Bildirim
dhtmlgump 30 *25 300 30 0 0 <def.BFONT_white>İsim: <def.bfont_lred><ref1.name>
dhtmlgump 30 *25 300 30 0 0 <def.BFONT_white>Tarih: <def.bfont_lred><db.row.0.tarih>
dhtmlgump 20 *25 300 100 1 1 <def.BFONT_white><def.bfont_lred><db.row.0.bugaciklama>
dhtmlgump 70 *110 100 100 0 0 <def.BFONT_lred> Durum Belirle
button 20 *25 2714 2715 1 0 1
dhtmlgump 45 *0 100 100 0 0 <def.BFONT_white>Çok acil
button 20 *25 2714 2715 1 0 2
dhtmlgump 45 *0 100 100 0 0 <def.BFONT_white>Önemli
button 20 *25 2714 2715 1 0 3
dhtmlgump 45 *0 100 100 0 0 <def.BFONT_white>Normal
if strmatch('<src.account.name>','skell') || strmatch('<src.account.name>','slothere') || strmatch('<src.account.name>','neran')
button 200 210 2714 2715 1 0 4
dhtmlgump 225 210 100 100 0 0 <def.BFONT_lred>Düzeltildi
button 200 235 2714 2715 1 0 6
dhtmlgump 225 235 100 100 0 0 <def.BFONT_lred>Sil
endif
button 200 260 2714 2715 1 0 5
dhtmlgump 225 260 100 100 0 0 <def.BFONT_lred>Hatalı Bildirim(jail)
db.close
[dialog d_bugayrinti button]
on 1 3
db.connect
ref1=<addslashes <db.row.0.bildiren>>
db.execute "update bugtracker_sys set bugonem='<def.acil<dargn>>' where id='<eval <ctag.bugid>>'"
on 4
db.connect
ref1=<addslashes <db.row.0.bildiren>>
db.execute "update bugtracker_sys set bugdurum='Düzeltildi' where id='<eval <ctag.bugid>>'"
ref1.notice Bildirdiğiniz <db.row.0.bugisim> isimli hata düzeltilmiştir.Teşekkür ederiz.
on 5
/// CEZAAA
on=6
db.connect
db.execute "delete from bugtracker_sys where id='<eval <ctag.bugid>>';"
[defname bug]
acil1 Çok acil
acil2 Önemli
acil3 Normal
Total votes: 0
Bulunamadı.
Ultima Online 4 gün önce
Sunucular 1 hafta önce
Duyurular 3 hafta önce
Sphere Scripting 3 hafta önce
Ultima Online 3 hafta önce
Sunucular 4 hafta önce
Diğer Oyunlar 1 ay önce
Sunucular 1 ay önce
Ultima Online 1 ay önce
Sunucular 1 ay önce
Ultima Online 1 ay önce
Ultima Online 2 ay önce
2024-10-31 22:47
2024-10-14 17:45
2024-09-26 14:21
2024-07-08 22:50
2024-07-08 22:34
2024-06-19 22:05
2024-06-01 02:19
2024-05-31 21:17
Yorumlar (0)