spermer_co Posted October 12, 2006 Report Share Posted October 12, 2006 Vajadziigs plugins kursh skaita cik katrs admins ir nobanojis cilveekus intereses peec un sastaada top5 kautvai txt failaa. meginaju atrast amxmodx.org nesanaaca Link to comment Share on other sites More sharing options...
_GIBOX_ Posted October 12, 2006 Report Share Posted October 12, 2006 man shkiet tas naw plugins... Link to comment Share on other sites More sharing options...
Kavacky Posted October 12, 2006 Report Share Posted October 12, 2006 Katram datubāzē esošajam adminam izvelc atbilstošos banus un skaiti, cik banu ir. Link to comment Share on other sites More sharing options...
|2.v_o Posted October 12, 2006 Report Share Posted October 12, 2006 varbūt noskaidrosim GIGN lielāko banotāju Link to comment Share on other sites More sharing options...
ANALGINS Posted October 13, 2006 Report Share Posted October 13, 2006 kadreiz bila zem servera monitora saraksts ar top baneriem, un ja nemaldos nr1. bija neviens cits ka worm Link to comment Share on other sites More sharing options...
siruss Posted October 14, 2006 Report Share Posted October 14, 2006 Man gan liekas ka tas bija kads cits, bet jaa worm`s tur pabija diezgan.. Es personigi gign.lv serveri nekad nesmu banots un ceshos to ari nepanakt, bet ja spele iet tad iet un sakarigi admini to redz, bet runajot par to top5 vnk uzliec amx_banus un visa maksla divi vienā. Gan bani un vari vieglak sekot lidzi banotajiem... Pamaciba šeit Link to comment Share on other sites More sharing options...
Fragrancer Posted October 15, 2006 Report Share Posted October 15, 2006 Šini gadijuma tev jataiosa php&mysql scriptu, kas tadu infu iegust no datubazes peec COUNT principa ..... Link to comment Share on other sites More sharing options...
samuray Posted October 15, 2006 Report Share Posted October 15, 2006 kadreiz bila zem servera monitora saraksts ar top baneriem, un ja nemaldos nr1. bija neviens cits ka worm pirmais bija jerrico Link to comment Share on other sites More sharing options...
LiL_Netii Posted October 15, 2006 Report Share Posted October 15, 2006 Tak elementaari uztaisiit Panem kaa piemeeru kvai kaadu top 10 scriptu no visiem tiem e107 utt! Link to comment Share on other sites More sharing options...
BINLADENS Posted August 13, 2007 Report Share Posted August 13, 2007 Njaa Netii tev jau viegli teikt ka nav probleemu taadu uztaisiit Tu jau uz pc i dziivu sievieti uztaisiitu! Link to comment Share on other sites More sharing options...
lazda2 Posted August 13, 2007 Report Share Posted August 13, 2007 (edited) Karoce !!! Pamaaciiba: 1. Tew vajadziigs amxbans ( 5.0 ) Pamaaciiba te !! 2. kad ir uztaisiits tad mapee www/amxbans uztaisi failu admintop.php var arii savaadaaku!! (peec izveelees) 3. admintop.php raksti so ieksaa!! <style type="text/css"> /*-------------admintop---------------*/ #admintop { font-size: 15px; color: #B22222; } #admintop td{ border: dotted; border-width: 1 0 0 0; padding-right: 20px; } #admintop th{ text-align: left; } </style> <?php echo "<table id='admintop'> <tr> <th>Admins</th> <th>Bani</th> </tr>"; $con = mysql_connect("mysql_hosts","mysql_useris","mysql_parole"); if (!$con) { die('Could not connect: ' . mysql_error()); } mysql_select_db("amxbans", $con); $result = mysql_query("SELECT count(*), admin_nick FROM amx_bans GROUP BY admin_nick ORDER BY count(*) DESC LIMIT 5"); // DESC LIMIT 5 noziimee, ka vinjsh paraadiis 5 aktiivaakos while($row = mysql_fetch_array($result)) { $admins = $row['admin_nick']; $skaits = $row['count(*)']; echo "<tr> <td>$admins</td> <td>$skaits</td> </tr>"; } mysql_close($con); ?> </table> editeejam mysql_hosts : labojam uz localhost mysql_useris : labojam uz juusu datubaazes useri mysql_parole : labojam uz datubaazes usera paroli 4. taalaak Veram ciet un saglabaajam!! 5.Varam paaarbaudiit vai straadaa! http://localhost/amxbans/admintop.php (tacu ja datubaazee nebuus neviena bana tad nekas neraadiisies) 6. Ja gribi lai atveras mazaa skaistaa lodzinaa tad dari taa 6.1 Atver failu ban_list.php mapee www/amxbans 6.2 Un pasaa apakasaa iekopee so ( var arii gaugsaa: peec izveeles) <html> <head> <script type="text/javascript"> function linkTo(y) { var x=window.open("admintop.php","","scrollbars=yes,width=275,height=200") x.location.hash=y } </script> </head> <body> <h1 align="center"><big><input type="button" value="Admintop" onclick="linkTo(0)"></big></h1> </body> </html> 6.3 Veram ciet un saglabaajam P.s sito taisiiju pats atskirsies no citiem web ( atveersies uzspiezot uz pogas ) 7. itkaa viss gatavs!! Ieej http://localhost/amxbans un skaties!!! 8. Ja gribi lai mazais lodzins buute veel skaistaaks vari uzlikt tam bacgraud kraasu vai kaadu bildi fonaa!!! 8.1 Dari taa!! Atkal atver admintop.php un apaksaaa iekopee so! 8.2.1 Fona bilde: <body background="links_uz_tavu_bildi"> </body> 8.2.2 Bet ieveero bildes izmeerus ja taa buus par lielu vai par mazu tad nebuus diezko smuki!! 8.2.3 Ieteicamie bildes izmeeri platums 275pix augstims200pix 8.3.1 Backgraund kraasa: <html> <body bgcolor="#d0d0d0"> </body> </html> 8.3.2 Kraasu var nomainiit nomainot #d0d0d0 pret kaadu no sejienes Tas arii viss vari priecaaties !! Edited August 13, 2007 by lazda2 Link to comment Share on other sites More sharing options...
ashais13 Posted August 13, 2007 Report Share Posted August 13, 2007 Nu gan atraki!! butu apskatijies kad sis topiks tika uzsakts Link to comment Share on other sites More sharing options...
lazda2 Posted August 13, 2007 Report Share Posted August 13, 2007 Es nezinu kur binladens sito izraka be pamaaciibu izveidoju!!! Link to comment Share on other sites More sharing options...
ashais13 Posted August 13, 2007 Report Share Posted August 13, 2007 Nu labi ka vismaz ierakstiji kko noderigu Newis vel ko jautaji!! Link to comment Share on other sites More sharing options...
the. EwiL Posted August 13, 2007 Report Share Posted August 13, 2007 tikko uzmeistaroju viss iet Link to comment Share on other sites More sharing options...
ChiganS Posted August 13, 2007 Report Share Posted August 13, 2007 (edited) man gan nē ! =[[ Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in C:\AppServ\www\top-banotaji.php on line 36 EDIT: šitā rindiņa laikam --- while($row = mysql_fetch_array($result)) EDIT2: ja jums savādāks nosaukums ir amxbaniem tad jāizlabo arī šī rindiņa mysql_select_db("*******", $con); Edited August 13, 2007 by ChiganS Link to comment Share on other sites More sharing options...
jerrico Posted August 17, 2007 Report Share Posted August 17, 2007 man tieshi tas pats raadas... domaaju ak ka man buus banu top5 Link to comment Share on other sites More sharing options...
lambda Posted August 21, 2007 Report Share Posted August 21, 2007 32 rindā jānomaina datubāzes nosaukums: mysql_select_db("amxbans", $con); Šajā gadījumā no amxbans uz to kura ir tev. Link to comment Share on other sites More sharing options...
razery Posted June 20, 2008 Report Share Posted June 20, 2008 mysql_select_db("amxbans", $con); Šajā gadījumā no amxbans uz to kura ir tev. Nu man jau arī ir amxbans DB, taču tik un taa radaaas tas stulbais errrors. Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in c:\program files\appserv\www\amxbans\admintop.php on line 36 Admins Bani Link to comment Share on other sites More sharing options...
hakeris132 Posted June 20, 2008 Report Share Posted June 20, 2008 tnx sitas man nodereja Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now