Rafa23Alzira Posted May 16, 2013 Report Share Posted May 16, 2013 Buenas, alguien que entienda de php sería tan amable de hacerme 2 favores, el primero es más esencial el 2 ya da un poco más igual: 1- Tengo un ranking de personajes, pero mi web no lo incluye de gremios, sería tan amable de con el de personajes hacer otro para gremios, si también quiere ponerle una pestañita a la miniatura del top que sale en el index para que puedas elegir gremio o personaje. 2- Contador de personajes online, en 24h, cuentas registradas y gremios. Si me hacen el favor mejor, si me cobran no puedo dar gran cosa, poneros en contacto conmigo por aquí o skype. Gracias de antemano. Nekchokeno 1 Quote Link to comment Share on other sites More sharing options...
Metin2Sparda Posted May 16, 2013 Report Share Posted May 16, 2013 <center> <div class="online-statistik" style="font-size:14px; color:#38322f; float:center;"> <div id="status-top"></div> <div id="status-main"> <?php echo '<table style="border-spacing:0px;border-collapse:inherit;"><tbody>'; $result1 = mysql_fetch_assoc(mysql_query("SELECT COUNT(id) AS count FROM player.player WHERE DATE_SUB(NOW(), INTERVAL 12 MINUTE) < last_play")); $result2 = mysql_fetch_assoc(mysql_query("SELECT COUNT(id) AS count FROM player.player WHERE DATE_SUB(NOW(), INTERVAL 24 HOUR) < last_play")); echo '<tr style="height:20px;line-height:20px;"><td>Personajes Online:</td><td><span style="color:#8A4B08;">'.$result1['count'].'</span></td>'; echo '<tr style="height:20px;line-height:20px;"><td>Personajes Online (24h):</td><td><span style="color:#8A4B08;">'.$result2['count'].'</span></td>'; mysql_select_db("account"); $accs = mysql_query("SELECT * from account"); $accszahl = mysql_num_rows($accs); mysql_select_db("player"); $chars = mysql_query("SELECT * from player"); $charanzahl = mysql_num_rows($chars); mysql_select_db("player"); $gilden = mysql_query("SELECT * from guild"); $gildenanzahl = mysql_num_rows($gilden); echo '<tr style="height:20px;line-height:20px;"><td>Cuentas:</td><td><span style="color:#8A4B08;">'.$accszahl.'</span></td>'; echo '<tr style="height:20px;line-height:20px;"><td>Personajes:</td><td><span style="color:#8A4B08;">'.$charanzahl.'</span></td>'; echo '<tr style="height:20px;line-height:20px;"><td>Gremios:</td><td><span style="color:#8A4B08;">'.$gildenanzahl.'</span></td>'; echo '<tr style="height:20px;line-height:20px;"><td>Rate Exp</td><td><span style="color:#8A4B08;">x1000</span></td>'; echo '<tr style="height:20px;line-height:20px;"><td>Rate Yang</td><td><span style="color:#8A4B08;">x250</span></td>'; echo '<tr style="height:20px;line-height:20px;"><td>Rate Drop</td><td><span style="color:#8A4B08;">x200 </span></td>'; echo '</table></tbody>'; ?> </div> <div id="status-footer"></div> <div id="status-top"></div> <div id="status-main"> </div> <div id="status-footer"></div> <div onclick="reloadstatistik()" class="refresh_btn">»<a style="cursor:pointer; color:#8A4B08; font-size:11px;">Actualizar</a></div> </div></center> trae personajes contador de j etc Quote Link to comment Share on other sites More sharing options...
Rafa23Alzira Posted May 16, 2013 Author Report Share Posted May 16, 2013 <center> <div class="online-statistik" style="font-size:14px; color:#38322f; float:center;"> <div id="status-top"></div> <div id="status-main"> <?php echo '<table style="border-spacing:0px;border-collapse:inherit;"><tbody>'; $result1 = mysql_fetch_assoc(mysql_query("SELECT COUNT(id) AS count FROM player.player WHERE DATE_SUB(NOW(), INTERVAL 12 MINUTE) < last_play")); $result2 = mysql_fetch_assoc(mysql_query("SELECT COUNT(id) AS count FROM player.player WHERE DATE_SUB(NOW(), INTERVAL 24 HOUR) < last_play")); echo '<tr style="height:20px;line-height:20px;"><td>Personajes Online:</td><td><span style="color:#8A4B08;">'.$result1['count'].'</span></td>'; echo '<tr style="height:20px;line-height:20px;"><td>Personajes Online (24h):</td><td><span style="color:#8A4B08;">'.$result2['count'].'</span></td>'; mysql_select_db("account"); $accs = mysql_query("SELECT * from account"); $accszahl = mysql_num_rows($accs); mysql_select_db("player"); $chars = mysql_query("SELECT * from player"); $charanzahl = mysql_num_rows($chars); mysql_select_db("player"); $gilden = mysql_query("SELECT * from guild"); $gildenanzahl = mysql_num_rows($gilden); echo '<tr style="height:20px;line-height:20px;"><td>Cuentas:</td><td><span style="color:#8A4B08;">'.$accszahl.'</span></td>'; echo '<tr style="height:20px;line-height:20px;"><td>Personajes:</td><td><span style="color:#8A4B08;">'.$charanzahl.'</span></td>'; echo '<tr style="height:20px;line-height:20px;"><td>Gremios:</td><td><span style="color:#8A4B08;">'.$gildenanzahl.'</span></td>'; echo '<tr style="height:20px;line-height:20px;"><td>Rate Exp</td><td><span style="color:#8A4B08;">x1000</span></td>'; echo '<tr style="height:20px;line-height:20px;"><td>Rate Yang</td><td><span style="color:#8A4B08;">x250</span></td>'; echo '<tr style="height:20px;line-height:20px;"><td>Rate Drop</td><td><span style="color:#8A4B08;">x200 </span></td>'; echo '</table></tbody>'; ?> </div> <div id="status-footer"></div> <div id="status-top"></div> <div id="status-main"> </div> <div id="status-footer"></div> <div onclick="reloadstatistik()" class="refresh_btn">»<a style="cursor:pointer; color:#8A4B08; font-size:11px;">Actualizar</a></div> </div></center> trae personajes contador de j etc Como te dije por skype, busco adaptar la mía, no otro script de otra página. Quote Link to comment Share on other sites More sharing options...
Seru Posted May 16, 2013 Report Share Posted May 16, 2013 Si quieres yo te ayudo cuando me pilles on xD Quote Link to comment Share on other sites More sharing options...
rango Posted May 16, 2013 Report Share Posted May 16, 2013 rango1251 (Te Intento AYudar Enemigo) Quote Link to comment Share on other sites More sharing options...
fuuton97 Posted May 17, 2013 Report Share Posted May 17, 2013 Si me pasas tu script de index, te haré la script y te la adapto, puedes envíarme Mp al foro, o ami skype: fuuton97. Con gusto de ayudo. Quote Link to comment Share on other sites More sharing options...
Rafa23Alzira Posted May 17, 2013 Author Report Share Posted May 17, 2013 Si me pasas tu script de index, te haré la script y te la adapto, puedes envíarme Mp al foro, o ami skype: fuuton97. Con gusto de ayudo. Mañana te envio, gracias Quote Link to comment Share on other sites More sharing options...
rarrav26 Posted August 3, 2013 Report Share Posted August 3, 2013 <center> <div class="online-statistik" style="font-size:14px; color:#38322f; float:center;"> <div id="status-top"></div> <div id="status-main"> <?php echo '<table style="border-spacing:0px;border-collapse:inherit;"><tbody>'; $result1 = mysql_fetch_assoc(mysql_query("SELECT COUNT(id) AS count FROM player.player WHERE DATE_SUB(NOW(), INTERVAL 12 MINUTE) < last_play")); $result2 = mysql_fetch_assoc(mysql_query("SELECT COUNT(id) AS count FROM player.player WHERE DATE_SUB(NOW(), INTERVAL 24 HOUR) < last_play")); echo '<tr style="height:20px;line-height:20px;"><td>Personajes Online:</td><td><span style="color:#8A4B08;">'.$result1['count'].'</span></td>'; echo '<tr style="height:20px;line-height:20px;"><td>Personajes Online (24h):</td><td><span style="color:#8A4B08;">'.$result2['count'].'</span></td>'; mysql_select_db("account"); $accs = mysql_query("SELECT * from account"); $accszahl = mysql_num_rows($accs); mysql_select_db("player"); $chars = mysql_query("SELECT * from player"); $charanzahl = mysql_num_rows($chars); mysql_select_db("player"); $gilden = mysql_query("SELECT * from guild"); $gildenanzahl = mysql_num_rows($gilden); echo '<tr style="height:20px;line-height:20px;"><td>Cuentas:</td><td><span style="color:#8A4B08;">'.$accszahl.'</span></td>'; echo '<tr style="height:20px;line-height:20px;"><td>Personajes:</td><td><span style="color:#8A4B08;">'.$charanzahl.'</span></td>'; echo '<tr style="height:20px;line-height:20px;"><td>Gremios:</td><td><span style="color:#8A4B08;">'.$gildenanzahl.'</span></td>'; echo '<tr style="height:20px;line-height:20px;"><td>Rate Exp</td><td><span style="color:#8A4B08;">x1000</span></td>'; echo '<tr style="height:20px;line-height:20px;"><td>Rate Yang</td><td><span style="color:#8A4B08;">x250</span></td>'; echo '<tr style="height:20px;line-height:20px;"><td>Rate Drop</td><td><span style="color:#8A4B08;">x200 </span></td>'; echo '</table></tbody>'; ?> </div> <div id="status-footer"></div> <div id="status-top"></div> <div id="status-main"> </div> <div id="status-footer"></div> <div onclick="reloadstatistik()" class="refresh_btn">»<a style="cursor:pointer; color:#8A4B08; font-size:11px;">Actualizar</a></div> </div></center> trae personajes contador de j etc No funcionará aunque él introduzca ése código en su web porque en el css no tiene esos id creados, 0 conocimiento php. Rafa23Alzira, si todavía no pudieron ayudarte con esto para tu web, agregame a Skype (nick en la firma) y yo te lo soluciono en el momento. Saludos. Quote Link to comment Share on other sites More sharing options...
Sëths Posted August 1, 2016 Report Share Posted August 1, 2016 Mira mi ultimo post, te puede servir para lo que quieres hacer Debes iniciar sesión para ver el contenido del enlace en esta publicación. Quote Link to comment Share on other sites More sharing options...
PanchoElMaraca Posted August 2, 2016 Report Share Posted August 2, 2016 Mira mi ultimo post, te puede servir para lo que quieres hacer Debes iniciar sesión para ver el contenido del enlace en esta publicación. Esto es del 2013 Quote Link to comment Share on other sites More sharing options...
Sëths Posted August 2, 2016 Report Share Posted August 2, 2016 Ya me he dado cuenta xD sorry Quote Link to comment Share on other sites More sharing options...
colcrt Posted August 3, 2016 Report Share Posted August 3, 2016 te creo ese script en base en el que tienes y lo implemento si quieres todo por $6 usd si algo avisame por skype: colcrt1 muchos ya me conocen por aqui y pueden dar fe de muy buen trabajo y lo cumplido que soy, saludos Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.