Utf8 convert
This commit is contained in:
@@ -15,7 +15,7 @@ if($u->error!='')
|
||||
echo '<font color="red"><b>'.$u->error.'</b></font><br>';
|
||||
}
|
||||
$vu = array(0,0,0,0,0,0,0);
|
||||
//Àáèëêè $item_dark
|
||||
//Абилки $item_dark
|
||||
$item_dark = array(
|
||||
"" => array(
|
||||
//array(4398,1,0,0,0,'useOnLogin=1|onlyOne=1|oneType=37|noremont=1|musor=1|tr_align=3|sudba='.$u->info['login'].'|srok=86400|nosale=1|sudba=1',1),
|
||||
@@ -33,15 +33,15 @@ $vi = array(
|
||||
?>
|
||||
<table width="100%">
|
||||
<tr>
|
||||
<center><h3>Òåìíàÿ Ñèëà ñ íàìè, ñîáðàò <?=$u->microLogin($u->info['id'],1)?></center></h3>
|
||||
<td width="150" align="right"><input type="button" class="btn" value="Îáíîâèòü" onclick="location='main.php?3_panel=1';" /> </div> <input type="button" class="btn" value="Âåðíóòüñÿ" onclick="location='main.php';" /></td>
|
||||
<center><h3>Темная Сила с нами, собрат <?=$u->microLogin($u->info['id'],1)?></center></h3>
|
||||
<td width="150" align="right"><input type="button" class="btn" value="Обновить" onclick="location='main.php?3_panel=1';" /> </div> <input type="button" class="btn" value="Вернуться" onclick="location='main.php';" /></td>
|
||||
|
||||
</table>
|
||||
<center><p><b>Àáèëêè:</b><br /><small>(×òîáû çàáðàòü ïðåäìåò ïðîñòî íàæìèòå íà åãî èçîáðàæåíèå)</small></p>
|
||||
<center><p><b>Абилки:</b><br /><small>(Чтобы забрать предмет просто нажмите на его изображение)</small></p>
|
||||
<p>
|
||||
<?
|
||||
$i = 0; $seet = '';
|
||||
$vnr = array(0 => 'íà ñåãîäíÿ',1 => ' âñåãî');
|
||||
$vnr = array(0 => 'на сегодня',1 => ' всего');
|
||||
while($i < count($item_dark[$dark_panel])) {
|
||||
if($item_dark[$dark_panel][$i][1]>0) {
|
||||
$itm = mysql_fetch_array(mysql_query('SELECT * FROM `items_main` WHERE `id` = "'.$item_dark[$dark_panel][$i][0].'" LIMIT 1'));
|
||||
@@ -60,13 +60,13 @@ $vi = array(
|
||||
if($item_dark[$dark_panel][6]>0) {
|
||||
}
|
||||
$u->addAction(time(),'dark_itm'.$itm['id'],'');
|
||||
echo '<font color="red">Ïðåäìåò "<b>'.$itm['name'].'</b>" ïåðåìåùåí ê Âàì â èíâåíòàðü!</font><br><br>';
|
||||
echo '<font color="red">Предмет "<b>'.$itm['name'].'</b>" перемещен к Вам в инвентарь!</font><br><br>';
|
||||
}
|
||||
}
|
||||
$seet0 = '';
|
||||
//Âûâîä ïðåäìåòîâ
|
||||
//Вывод предметов
|
||||
$seet0 .= '<img '.$vix.' title="'.$itm['name'].'
|
||||
(Îñòàëîñü '.$vnr[$item_dark[$i][4]].': '.($item_dark[$dark_panel][$i][1]-$vix).' øò.)" src="https://'.$c['img'].'/i/items/'.$itm['img'].'"> ';
|
||||
(Осталось '.$vnr[$item_dark[$i][4]].': '.($item_dark[$dark_panel][$i][1]-$vix).' шт.)" src="https://'.$c['img'].'/i/items/'.$itm['img'].'"> ';
|
||||
if($item_dark[$dark_panel][$i][1]-$vix > 0) {
|
||||
$seet0 = '<a href="main.php?3_panel=1&take_item_dark_panel='.$itm['id'].'">'.$seet0.'</a>';
|
||||
}else{
|
||||
|
||||
Reference in New Issue
Block a user