Баг в админке
This commit is contained in:
parent
8afc54c323
commit
85c8c0edbd
@ -143,7 +143,7 @@ if ($_POST['sbr_par']) {
|
||||
<?php
|
||||
// $aligns = mysql_query("SELECT * FROM `aligns` ORDER BY `align`");
|
||||
// while($row = mysql_fetch_array($aligns)) {
|
||||
$aligns = (db::c()->query('SELECT * FROM `aligns` ORDER BY `align`'))->fetch_assoc_array();
|
||||
$aligns = db::c()->query('SELECT * FROM `aligns` ORDER BY `align`')->fetch_assoc_array();
|
||||
while ($aligns) {
|
||||
echo "<tr class=row onclick='document.all.im.value=\"{$row['img']}\"; document.all.ali.value=\"{$row['align']}\"; document.all.txt.value=\"{$row['name']}\";'><td><img src='i/{$row['img']}'></td><td>{$row['align']}</td><td>{$row['name']}</td></tr>";
|
||||
} ?>
|
||||
|
Loading…
Reference in New Issue
Block a user