Krishaaa Posted June 15, 2008 Report Share Posted June 15, 2008 Meklēju meklētāja Top Admins pamāciba nevaru atrast, varbūt esmu paslrējis garām, kāds nevar iedot linku? Taisu pēc vienas pamācibas bet tur nekas nestrādā. Paldies! Link to comment Share on other sites More sharing options...
tipa elvis Posted June 15, 2008 Report Share Posted June 15, 2008 (edited) ta ir mana pamaciba <?php ############################ # uber pro # # script by duplets, visit # # http://cs.hackers.lv # # # ############################ // Ievadam datus, lai varam sakonekteeties pie mysql DB mysql_connect("localhost", "root", "pass") or die(mysql_error()); mysql_select_db("amxbans") or die(mysql_error()); // Panjemam visus datus no noteiktaas tabulas shajaa gadijumaa amx_amxadmins $result = mysql_query("SELECT * FROM amx_amxadmins") or die(mysql_error()); echo "<table border='1'>"; echo "<tr> <th>Admins</th> <th>Pieejamie flagi</th> </tr>"; while($row = mysql_fetch_array( $result )) { // Izvadam datus aaraa no tabulas echo "<tr><td>"; if ($row['username'] > 1) { echo "". $row['nickname'] ." (". $row['username'] .")"; } else { echo $row['username']; } echo "</td><td>"; echo $row['access']; echo "</td></tr>"; } echo "</table>"; ?> veidotajs DUPLETS + nakosreiz mekle labak es ierakstiju servha AMX ADMINS UN OTRAJA LAPA ATRADA! Ups parpratu tavu domu <style type="text/css"> /*-------------admintop---------------*/ #tops { font-size: 15px; color: #red; } #tops td{ border: dotted; border-width: 1 0 0 0; padding-right: 20px; } #tops th{ text-align: left; } </style> <?php echo "<table id='tops'> <tr> <th>Admins</th> <th>Bani</th> </tr>"; $con = mysql_connect("hosts","lietotajvards","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 10"); // 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); ?> Edited June 15, 2008 by tipa elvis Link to comment Share on other sites More sharing options...
kept Posted June 15, 2008 Report Share Posted June 15, 2008 tad tu i ēzels ka nevarēji atrast! Visit My Website tipa elvis, ja tā ir tava pamācība, tad kādēļ zem viņas rakstīts, ka viņu veidoja duplets nevis tu? Link to comment Share on other sites More sharing options...
tipa elvis Posted June 15, 2008 Report Share Posted June 15, 2008 tadel ka pamacibu taisiju es! bet skriptu iedeva duplets. Mana pamaciba bija uzraktiti vairaki varianti par amx admins! Link to comment Share on other sites More sharing options...
kept Posted June 15, 2008 Report Share Posted June 15, 2008 bet skriptu iedeva duplets. Mana pamaciba bija uzraktiti vairaki varianti par amx admins! aha, pasaki vēl ka tu to otro arī pats taisīji, tu vienkārši uzspiedi uz linka ko es iedevu, un tad tur ļevi nokopēji codu, pat neielikot speciālajos tagos..ēzels#2 Link to comment Share on other sites More sharing options...
tipa elvis Posted June 15, 2008 Report Share Posted June 15, 2008 (edited) tu loh** nesi. Pasaki man to vietu kur es teicu ka skripti ir mani ? piekam es editoeju savu postu pirms tu iedevi to linku uz adresi! Edited June 15, 2008 by tipa elvis Link to comment Share on other sites More sharing options...
Krishaaa Posted June 15, 2008 Author Report Share Posted June 15, 2008 <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> Atveras sitais kad uztaisiju pec pamacibas + protams tos ilzaboju msql bet spiezos admintop atveras kods. Link to comment Share on other sites More sharing options...
tipa elvis Posted June 15, 2008 Report Share Posted June 15, 2008 tev laikam html vebs taisi nevis ***.php bet ****.html Link to comment Share on other sites More sharing options...
SaS^MAN Posted June 15, 2008 Report Share Posted June 15, 2008 Un kaada jeega ir no shitaa "TOP ADMINS", tjipa kursh tur krutaaks vecis, ar visvairaak nobanotaajiem chuvakiem? Link to comment Share on other sites More sharing options...
tipa elvis Posted June 15, 2008 Report Share Posted June 15, 2008 es tada veida redzu kurs ir aktivaks admins. Tadejadi kurs nebano nevienu no tada nav jega un es tadu metu ara no adminu listes. Kas gribes tas penjems! Ka redzi ir jau kads gribetajs! Link to comment Share on other sites More sharing options...
kept Posted June 15, 2008 Report Share Posted June 15, 2008 piekam es editoeju savu postu pirms tu iedevi to linku uz adresi! o rly? un nesauc mani par loh**, tu mazgadīgais āmar! Es nekur neredzu ka tur kaut kas līdzinātos pamācībai, tam scriptam jau iekšā ir viss sarakstīts kur kā jābūt. Un ja gribi vēl teikt ka tas biji tu kas rakstīja pamācību tad būtu scripted by duplets tutorialized by tipo_elvis, tākā mēs visi gribam būtu kruti zem citu pamācībām un scriptiem...scid scid beng beng nigga! Link to comment Share on other sites More sharing options...
tipa elvis Posted June 15, 2008 Report Share Posted June 15, 2008 Es pec ta vel editeju Uztaisiju to pamacibu tiem kas vispar neko nesaprot,mana paamciba bija detalizeta,un bishki izlabota ,taja radija gan admina niku gan flegus gan ip adresi (to es pats uztaisju lai visu kopa rada) Nenologsu ka skripts ir dupleta ,un tiesi tadel sava posta baigas uzraktiju ka skripts pieder dupletam. Un spriezot pec tava teksta ,un centibas pieradit ka tev ir taisniba (tur kur ta nav) es varu secinat ka tev pasam ir ne vairak ka 10 gadi Sorry par offtopic! Link to comment Share on other sites More sharing options...
KukuliiC* Posted June 15, 2008 Report Share Posted June 15, 2008 o rly? un nesauc mani par loh**, tu mazgadīgais āmar! Es nekur neredzu ka tur kaut kas līdzinātos pamācībai, tam scriptam jau iekšā ir viss sarakstīts kur kā jābūt. Un ja gribi vēl teikt ka tas biji tu kas rakstīja pamācību tad būtu scripted by duplets tutorialized by tipo_elvis, tākā mēs visi gribam būtu kruti zem citu pamācībām un scriptiem...scid scid beng beng nigga! haha gl elvi Link to comment Share on other sites More sharing options...
tipa elvis Posted June 15, 2008 Report Share Posted June 15, 2008 (edited) Nu gan gudri , izlasiji manu ieprieksejo postu? Es to pirmo postu editeju kadas 10 reizes! Es uzskatu ka so topicu var slegt ,jo te jau viss sak aizziet spama!+ topika autors sanjema atbildi Edited June 15, 2008 by tipa elvis 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