Es gibt ja immer noch die möglichkeit von Bots.
Beiträge von xDesertx
- 
					
- 
					Hey, ich bins nochmal. 
 Ich habe es jetzt überarbeitet habe aber jetzt ein neues Problem:
 So ist es Richtig, 
 Aber wenn ich Scrolle: Code: 
 Startseite:PHP
 Alles anzeigen<?php $titel = "Startseite"; $query = 'SELECT * FROM `ucp_blog` ORDER BY `id` ASC LIMIT 3'; $anzahl=0; $body .= ' <div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main" style="top: 30px;"> <h1 class="page-header"> Startseite </h1>'; foreach ($handle -> query($query) as $row) { $body .= ' <h2> <a href="#">'. $row['titel']. '</a> </h2> <p class="lead"> <small>Geschrieben von <a href="index.php">'.$row['writer'].'</a></small> </p> <p><span class="glyphicon glyphicon-time"></span> '.$row['writer'].'</p> <p>'. $row['text'] .'</p> <a class="btn btn-primary" href="#">Mehr <span class="glyphicon glyphicon-chevron-right"></span></a> <hr>'; $anzahl++; } $body .= '</div>'; ?>Navigation: HTML
 Alles anzeigen<div class="col-sm-3 col-md-2 sidebar"> <ul class="nav nav-sidebar"> <li class="active"><a href="#">Overview <span class="sr-only">(current)</span></a></li> <li><a href="#">Reports</a></li> <li><a href="#">Analytics</a></li> <li><a href="#">Export</a></li> </ul> <ul class="nav nav-sidebar"> <li><a href="">Nav item</a></li> <li><a href="">Nav item again</a></li> <li><a href="">One more nav</a></li> <li><a href="">Another nav item</a></li> <li><a href="">More navigation</a></li> </ul> <ul class="nav nav-sidebar"> <li><a href="">Nav item again</a></li> <li><a href="">One more nav</a></li> <li><a href="">Another nav item</a></li> </ul> </div>Und hier meine CSS-Datei: CSS
 Alles anzeigen.sidebar { display: none; } @media (min-width: 768px) { .sidebar { position: fixed; top: 200px; bottom: 0; left: 0; z-index: 1000; display: block; padding: 20px; overflow-x: hidden; overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */ background-color: #f5f5f5; border-right: 1px solid #eee; } } /* Sidebar navigation */ .nav-sidebar { margin-right: -21px; /* 20px padding + 1px border */ margin-bottom: 20px; margin-left: -20px; } .nav-sidebar > li > a { padding-right: 20px; padding-left: 20px; } .nav-sidebar > .active > a, .nav-sidebar > .active > a:hover, .nav-sidebar > .active > a:focus { color: #fff; background-color: #428bca; }
- 
					Danke für deine Antwort, 
 habe es schonmal in eine Reihe bekommen aber die Tabelle ist nun in der rechten Ecke. PHP PHP
 Alles anzeigen$body .= '<div class="mainContainer">'; //Ganz am Anfang meiner ersten Datei. $body .= '<div class="content" style="opacity: 0.96; float: left; width: 100%;">'; .mainContainer { display:table; float:right; } .mainContainer #content { display:table-cell; } .leftNavi { width: 200px; height: 500px; background-color:#232323; float:left; } .leftNavi .nav-header { color: #FFFFFF; font-size: 15px; font-style:italic; } .leftNavi .nav-tabs.nav-stacked > li > a { border: 0; border-bottom: 1px solid #232323; } .leftNavi .nav-tabs.nav-stacked > li > a:hover { background-color: #2c2c2c; color: #fff; border-bottom-color: #232323; }
- 
					Heyho Com, 
 Undzwar ich Code zurzeit ein SA:MP UCP und kriege zwei Elemente nicht nebeneinander, überall sonst gehts.
 Hier ein Screenshot: Code: PHP
 Alles anzeigen<?php $result = $handle->query("SELECT * FROM users"); $gesamte_anzahl = $result->rowCount(); $ergebnisse_pro_seite = 10; $gesamt_seiten = ceil($gesamte_anzahl/$ergebnisse_pro_seite); if (empty($_GET['seite_nr'])) { $seite = 1; } else { $seite = $_GET['seite_nr']; if ($seite > $gesamt_seiten) { $seite = 1; } } $limit = ($seite*$ergebnisse_pro_seite)-$ergebnisse_pro_seite; $query = "SELECT * FROM users LIMIT $limit, $ergebnisse_pro_seite"; $anzahl=0; $body .= '<div style="opacity: 0.96; margin-left: 200px; padding-left: 50px; width: 100%; float:right;" >'; $body .= '<table class="table"> <tr> <th>#</th> <th>Username</th> <th>Adminlevel</th> <th>Level</th> <th>Geld | Bank</th> </tr> '; foreach ($handle -> query($query) as $row) { $body .= " <tr> <th scope="row">".$row['id']."</th> <td>".$row['Name']."</td> <td>".$row['AdminLevel']."</td> <td>".$row['Level']."</td> <td>".$row['Money']." | ". $row['Bank']."</td> </tr> "; $anzahl++; } $body .= '</table>'; $body .= '<ul class="pagination">'; if($seite > 1) { $backward = $seite-1; $body .= '<li> <a href="index.php?page=adminpanel&cmd=playerlist&seite_nr='.$backward.'" aria-label="Previous"> <span aria-hidden="true">«</span> </a> </li>'; } else $body .= '<li class="disabled"> <a href="#" aria-label="Previous"> <span aria-hidden="true">«</span> </a> </li>'; for ($i=1; $i<=$gesamt_seiten; ++$i) { if ($seite == $i) { $body .= '<li class="disabled"><a href="index.php?page=adminpanel&cmd=playerlist&seite_nr='.$i.'">'.$i.'</a></li>'; } else { $body .= '<li><a href="index.php?page=adminpanel&cmd=playerlist&seite_nr='.$i.'">'.$i.'</a></li>'; } } if($seite < $gesamt_seiten) { $forward = $seite+1; $body .= '<li> <a href="index.php?page=adminpanel&cmd=playerlist&seite_nr='.$forward.'" aria-label="Next"> <span aria-hidden="true">»</span> </a> </li>'; } else $body .= '<li class="disabled"> <a href="#" aria-label="Next"> <span aria-hidden="true">»</span> </a> </li>'; $body .= '</div></div></div>'; ?>Und hier das andere noch was: PHP
 Alles anzeigen$body .= '<div class="leftNavi"><ul class="nav nav-tabs nav-stacked">'; $body .= '<li class="nav-header" style="margin-left: 15px; margin-top: 5px;">Navigation</li>'; if(isset($_SESSION['name'])) { $body .= '<li role="presentation"><a href="#">Profil</a></li>'; if($results['AdminLevel'] > 0) { $body .= '<li role="presentation"><a href="index.php?page=adminpanel&cmd=playerlist">Spielerliste</a></li>'; } } else { echo '<li role="presentation" class="active"><a href="index.php?page=login">Anmelden</a></li>'; } $body .= ' <li role="presentation"><a href="#">Nachrichten</a></li> </ul></div>';
- 
					Hey leute, 
 ich würde gerne mal ein Design für WBB 4 Erstellen,
 und bräuchte optimale größen(Sidepanel, mainpanel...)
 Vielen dank im vorraus!
- 
					
- 
					Vielen dank, habe ich wohl übersehen ^^. 
- 
					Hey leute, 
 ich scripte zuzeit ein Script mit Mysql R39-3, und jetzt ist mit was aufgefallen,
 es gibt einmal mysql_tquery und mysql_pquery, was ist der unterschied zwischen diesen beiden Funktionen?
- 
					Hey, mir ist ein kleiner Fehler aufgefallen undzwar beim Speichern, speicherst die Tode als deaths aber die Spalte heißt death.Du hast überall diesen Fehler gemachtFail, Bin wohl Müde.    //Edit 2: Abgesehen davon, super Tutorial! //Edit 2: Abgesehen davon, super Tutorial!
- 
					Benötige genau 4,50€, 
 wäre nett wenn die mir jemand geben kann.
- 
					Hat jemand nen Euro für mich übrig? 
 Fals ja, bitte per PN senden, danke.
- 
					Deine Fehler wurden zu 99,99% von einem Klammerfehler ausgelöst, 
 Kopiere mal dein Script in Notepad++ und zähle alle {
 und dann alle }.
 Wenn du diese Zahlen vergleichst, und diese ungleich sind hast du zu 100% einen Klammerfehler.
- 
					Jeffry, mein problem ist das ich keine Ahnung von R39-2 habe  
- 
					Ist schon aktiv: 
 [15:10:33] CMySQLHandler::Query(INSERT INTO `joinlog` (playername, ip) VALUES ('xDesertx', '127.0.0.1')) - Successfully executed.
 [15:10:33] >> mysql_query( Connection handle: 1 )
 [15:10:33] CMySQLHandler::Query(SELECT * FROM `bans` WHERE (`playername`='xDesertx' OR `ip`='127.0.0.1')) - Successfully executed.
 [15:10:33] >> mysql_store_result( Connection handle: 1 )
 [15:10:33] CMySQLHandler::StoreResult() - Result was stored.
 [15:10:33] >> mysql_num_rows( Connection handle: 1 )
 [15:10:33] CMySQLHandler::NumRows() - Returned 1 row(s)
 [15:10:33] >> mysql_retrieve_row( Connection handle: 1 )
 [15:10:33] >> mysql_fetch_field_row( Connection handle: 1 )//edit: 
 Zur Information: auf Linux gehts 
- 
					public OnPlayerConnect(playerid) { 
 ResetPlayerWeaponsEx(playerid);
 SetPlayerColor(playerid, COLOR_WHITE);
 GetPlayerName(playerid, Spieler[playerid][pName], MAX_PLAYER_NAME);
 new ip[16], query[128];
 GetPlayerIp(playerid, ip, 16);
 mysql_real_escape_string(ip, ip);
 mysql_real_escape_string(Spieler[playerid][pName], Spieler[playerid][pName]);
 format(query, 128, "INSERT INTO `joinlog` (playername, ip) VALUES ('%s', '%s')", Spieler[playerid][pName], ip);
 mysql_query(query);format(query, 128, "SELECT * FROM `bans` WHERE (`playername`='%s' OR `ip`='%s')", Spieler[playerid][pName], ip); 
 mysql_query(query);
 mysql_store_result();
 if(mysql_num_rows()!=0) {
 new pnames[MAX_PLAYER_NAME], string[1024], ip2[16], reason[60], admin[MAX_PLAYER_NAME], am[30], timebisentban, timebisentban2[60];
 while(mysql_retrieve_row())
 {
 mysql_fetch_field_row(pnames, "playername");
 mysql_fetch_field_row(admin, "von");
 mysql_fetch_field_row(am, "am");
 mysql_fetch_field_row(ip2, "ip");
 mysql_fetch_field_row(reason, "grund");
 mysql_fetch_field_row(timebisentban2, "time");
 timebisentban=strval(timebisentban2);
 if(timebisentban==0) {
 format(string, 1024, ""COLOR_HEX_RED"Sie wurden am %s Permanent ausgeschlossen!"COLOR_HEX_GREY1"\n\nBenutzername: "COLOR_HEX_GREEN"%s\n"COLOR_HEX_GREY1"deine damalige IP: "COLOR_HEX_GREEN"%s\n"COLOR_HEX_GREY1"Deine Jetzige IP:"COLOR_HEX_GREEN"%s\n"COLOR_HEX_GREY1"Ausfuehrender Admin: "COLOR_HEX_GREEN"%s\n"COLOR_HEX_GREY1" \
 Grund: "COLOR_HEX_GREEN"%s"COLOR_HEX_GREY1"\n\nBei einem Fehlban melde dich bitte im Forum.", am, pnames, ip2, ip, admin, reason);
 ShowPlayerDialog(playerid, DIALOG_ALLINONE, DIALOG_STYLE_MSGBOX, "Sie sind Gebannt!",string, "", "");
 } else {
 if(timebisentban > gettime()) {
 format(string, 1024, ""COLOR_HEX_RED"Sie sind noch für %d Minuten ausgeschlossen!"COLOR_HEX_GREY1"\n\nBenutzername: "COLOR_HEX_GREEN"%s\n"COLOR_HEX_GREY1"deine damalige IP: "COLOR_HEX_GREEN"%s\n"COLOR_HEX_GREY1"Deine Jetzige IP:"COLOR_HEX_GREEN"%s\n"COLOR_HEX_GREY1"Ausfuehrender Admin: "COLOR_HEX_GREEN"%s\n"COLOR_HEX_GREY1" \
 Grund: "COLOR_HEX_GREEN"%s"COLOR_HEX_GREY1"\n\nBei einem Fehlban melde dich bitte im Forum.", timebisentban/1000-gettime(), pnames, ip2, ip, admin, reason);
 ShowPlayerDialog(playerid, DIALOG_ALLINONE, DIALOG_STYLE_MSGBOX, "Sie sind Gebannt!",string, "", "");
 } else {
 format(string, 128, "DELETE FROM `bans` WHERE (`playername`='%s' OR `ip`='%s')", Spieler[playerid][pName], ip2);
 mysql_query(string);
 }
 }
 KickEx(playerid);
 }
 }
 mysql_free_result();
 return 1;
 }
- 
					Heyho Breafish, 
 ich habe ein kleines Problem, wenn ich diese MySQL funktion aufrufe, schließt sich der Server ohne vorwarnung:
 mysql_fetch_field_row
 Konsole:ZitatAlles anzeigenSA-MP Dedicated Server 
 ----------------------
 v0.3z, (C)2005-2014 SA-MP Team[14:56:30] filterscripts = "" (string) 
 [14:56:30]
 [14:56:30] Server Plugins
 [14:56:30] --------------
 [14:56:30] Loading plugin: mysql
 [14:56:30]> MySQL plugin R6-2 successfully loaded. [14:56:30] Loaded. 
 [14:56:30] Loading plugin: sscanf
 [14:56:30][14:56:30] =============================== [14:56:30] sscanf plugin loaded. [14:56:30] Version: 2.8.1 [14:56:30] (c) 2012 Alex "Y_Less" Cole [14:56:30] =============================== [14:56:30] Loaded. 
 [14:56:30] Loading plugin: crashdetect
 [14:56:30] CrashDetect v4.15 is OK.
 [14:56:30] Loaded.
 [14:56:30] Loaded 3 plugins.[14:56:30] 
 [14:56:30] Filterscripts
 [14:56:30] ---------------
 [14:56:30] Loaded 0 filterscripts.[14:56:30] <-| [MYSQL] Verbindung zur Datenbank wurde erfolgreich hergestellt! 
 [14:56:43] ----------------------------------
 [14:56:43] Script wird gestartet
 [14:56:43] ----------------------------------[14:56:43] Number of vehicle models: 7 
 [15:09:17] Incoming connection: 127.0.0.1:57187
 [15:09:17] [join] xDesertx has joined the server (0:127.0.0.1)
 [15:09:27] [part] xDesertx has left the server (0:2)
 [15:10:33] Incoming connection: 127.0.0.1:49351
 [15:10:33] [join] xDesertx has joined the server (0:127.0.0.1)
 [15:10:33] [debug] Server crashed while executing GTA-Eastside.amx
 [15:10:33] [debug] AMX backtrace:
 [15:10:33] [debug] #0 native mysql_fetch_field_row () from mysql.DLL
 [15:10:33] [debug] #1 00014db0 in public SSCANF_OnPlayerConnect (0) from GTA-Eastside.amx
 [15:10:33] [debug] #2 00000300 in public OnPlayerConnect (0) from GTA-Eastside.amx
 [15:10:33] [debug] Native backtrace:
 [15:10:33] [debug] #0 7443b9f0 in ?? () from C:\WINDOWS\WinSxS\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.8387_none_5094ca96bcb6b2bb\MSVCR90.dll
 [15:10:33] [debug] #1 10009abe in ?? () from plugins\mysql.DLL
 [15:10:33] [debug] #2 100067e3 in ?? () from plugins\mysql.DLL
 [15:10:33] [debug] #3 004010b6 in ?? () from samp-server.exe
 [15:10:33] [debug] #4 73cd62da in ?? () from plugins\crashdetect.DLL
 [15:10:33] [debug] #5 73cd8b38 in ?? () from plugins\crashdetect.DLL
 [15:10:33] [debug] #6 73cd09c7 in ?? () from plugins\crashdetect.DLL
 [15:10:33] [debug] #7 73cd632a in ?? () from plugins\crashdetect.DLL
 [15:10:33] [debug] #8 0046cc20 in ?? () from samp-server.exe
 [15:10:33] [debug] #9 00465f3f in ?? () from samp-server.exe
 [15:10:33] [debug] #10 00493b36 in ?? () from samp-server.exe
 [15:10:33] [debug] #11 00469089 in ?? () from samp-server.exe
 [15:10:33] [debug] #12 00307ff0 in ?? ()Mit Crashdetect plugin  
 Meine Software:
 Windows 8.1 Pro (64x)Ich hoffe ihr könnt mir helfen. 
- 
					
- 
					ICh überlege gerade dieses Plugin zutesten: 
 http://forum.sa-mp.com/showthread.php?t=171598Habe aber eben wenig Erfahrung...  
- 
					@He3lixxx, 
 Nein kann man nicht Verstehe das nicht, wie kann ich damit zum SA:MP Server informationen schicken? 
- 
					Da fragst du mich was^^ 
 Arbeite nicht soviel mit Geldtextdraws.
 Vermute sogar das, dass es nicht geht, ausser mit Timers, und das ist dann recht ressourcenfressend.
 
		 
		
		
	
