PHPFusion - tai laisvai platinama nemokama turinio valdymo sistema (TVS), kurios pagalba galite greitai, lengvai ir
patogiai susikurti norimą internetinį puslapį. Plačiau apie sistemą...
Žmogus 2026 Rugs. 27 11:09:17 Įstojimo data: 2006 gruodžio 8 17:12:08
Tai laikas bėga. O dar pamenu pačia pradžia kaip buvo smagu su phpsfusion kurtis tuos puslapius
Galite pagelbeti su kodu, man vis nesigauna padaryti, kad pavyzdziui kreditus skirtu pirmom 3 vietoms. Nes kaip sitam pavyzdyje yra, tai 200 kreditu duoda tik uz 1 vieta. Ivairiai bandziau daryti.
Kodas originalas:
<?php
//////////////////menesio TOP tikrinimas/davimas //////////////////
if(file_get_contents('txt/belekoks_m.txt')!=date('Y.m')) { include_once("config2.php"); $get_tops1=mssql_query("Select Name,Accountid,mrr from Character order by mrr DESC, name DESC"); for($i=0;$i<1;$i++){ $tops1=mssql_fetch_row($get_tops1); $res1=mssql_query("update MEMB_CREDITS set credits=credits+200 where memb___id='$tops1[1]'"); } $fp1=fopen("txt/belekoks_m.txt","w");
//////////////////menesio TOP tikrinimas/davimas //////////////////
if(file_get_contents('txt/belekoks_m.txt')!=date('Y.m')) { include_once("config2.php"); $get_tops1=mssql_query("Select Name,Accountid,mrr from Character order by mrr DESC, name DESC"); for($i=0;$i<1;$i++){ $tops1=mssql_fetch_row($get_tops1); $res1=mssql_query("update MEMB_CREDITS set credits=credits+200 where memb___id='$tops1[1]'"); $res2=mssql_query("update MEMB_CREDITS set credits=credits+100 where memb___id='$tops1[2]'"); } $fp1=fopen("txt/belekoks_m.txt","w");
//////////////////menesio TOP tikrinimas/davimas //////////////////
if(file_get_contents('txt/belekoks_m.txt')!=date('Y.m')) { include_once("config2.php"); $get_tops1=mssql_query("Select Name,Accountid,mrr from Character order by mrr DESC, name DESC LIMIT 3"); while($tops1=mssql_fetch_row($get_tops1)){ $res1=mssql_query("update MEMB_CREDITS set credits=credits+200 where memb___id='$tops1[1]'"); } $fp1=fopen("txt/belekoks_m.txt","w");
//////////////////menesio TOP tikrinimas/davimas //////////////////
if(file_get_contents('txt/belekoks_m.txt')!=date('Y.m')) { include_once("config2.php"); $get_tops1=mssql_query("Select Name,Accountid,mrr from Character order by mrr DESC, name DESC LIMIT 3"); while($tops1=mssql_fetch_row($get_tops1)){ $res1=mssql_query("update MEMB_CREDITS set credits=credits+200 where memb___id='$tops1[1]'"); } $fp1=fopen("txt/belekoks_m.txt","w");