Skip to content
La2Base
Home
DownloadsWikiForumFAQ
Search
ruen
Sign up Login
HomeFilesWikiLogin
  • Home
  • Downloads
  • Wiki
  • FAQ
  • Contact Us
  • About
  • Rules
  • Privacy
  • Terms of Service

© 2026 la2base.com · All rights reserved

ruen
Forum/Web обвязка/[скрипт] у кого есть скрипт для статуса героя
Search

[скрипт] у кого есть скрипт для статуса героя

4 replies195 viewsCurrently viewing: 1
Алексей
Алексей

User

Участник

Posts: 40

На форуме с: 12/21/2007

Репутация: +8

Рейтинг: 0

· 02/25/2009, 03:01 PM

Люди кто можит дать скрипт для мой-виб статус героя буду блогодарен to_become_senile.gif

0
Дима
Дима

User

Бывалый

Posts: 485

На форуме с: 02/23/2009

Репутация: +140

Рейтинг: 0

· 02/26/2009, 02:45 PM

статус героя???
или статистику кто герой на сервере???
если статистику могу дать...

0
Алексей
Алексей

User

Участник

Posts: 40

На форуме с: 12/21/2007

Репутация: +8

Рейтинг: 0

· 02/27/2009, 01:51 PM

всё всем спс сам замудрил скрипт кому нада вот он он для мой виб

Код
<?php
include("module/stat-menu.php");
$sql = mysql_query("SELECT class_id,char_name,count FROM heroes WHERE count >=1 ORDER BY count DESC");
print '
<br><b><center>..:: Статус Героя::..</center></b><br><hr>
<table>
<thead>
<tr >
<th></th>
<th></th>
<th></th>
<th></th>
<th></th>
<th></th>
<th class="sortedColumn"></th>
</tr>
</thead>
<tbody id="TblBdy">
';

$configdb = array(
"host" => "свои данные",
"user" => "свои данные",
"pass" => "свои данные",
"base" => "свои данные",
);

$link = mysql_connect($configdb["host"],$configdb["user"],$configdb["pass"]) or die("MySQL error");
mysql_select_db($configdb["base"],$link);

echo "
<table width=100% border=1>
<td width=100% height=34 colspan=2 align=center class=\"content\" style=\"font-size:20px; font-family:verdana; color:#00ff00;\"><b></b>
</td>
</tr>
<tr>
<td style=\"font-size:12px; border:3px #00ff00 solid;\"><center><b>Имя игрока</b></center></td>
<td style=\"font-size:12px; border:3px #00ff00 solid;\"><center><b>Побед</b></center></td>
<td style=\"font-size:12px; border:3px #00ff00 solid;\"><center><b>скока дней будет героем</b></center></td>
</tr>
";

$activity = mysql_query("SELECT class_id,char_name,count,played  FROM heroes WHERE count >=1  ORDER BY count DESC");



while($row = mysql_fetch_array($activity)) {
echo "<tr><td width=25% align=center>".$row['char_name']."</td>";
echo "<td width=25% align=center>".$row['count']."</td>";
echo "<td width=25% align=center>".$row['played']."</td>";


}

echo "</table>";

mysql_close($link);

?>

0
Дмитрий
Дмитрий

User

Участник

Posts: 92

На форуме с: 11/24/2008

Репутация: +31

Рейтинг: 0

· 02/27/2009, 07:01 PM

А как сделать запрос к классу? Какую именно основу имеет данный персонаж?

everybody lies (c)

0
Topic is closed for replies