Fix errors
This commit is contained in:
parent
30ae0642db
commit
9ae0112ceb
@ -294,7 +294,7 @@ if (isset($_GET['set']) OR isset($_POST['set'])){
|
|||||||
|
|
||||||
<?
|
<?
|
||||||
} else {
|
} else {
|
||||||
$data = db::c()->query('SELECT `id`,`img`,`name` FROM `ashop` WHERE `count` > 0 AND `razdel` = ?i AND `ecost` > 0 ORDER by `ecost` ASC', $_GET['otdel']);
|
$data = db::c()->query('SELECT `id`,`img`,`name` FROM `ashop` WHERE `count` > 0 AND `razdel` = "?s" AND `ecost` > 0 ORDER by `ecost` ASC', $_GET['otdel']);
|
||||||
while ($row = $data->fetch_assoc()) {
|
while ($row = $data->fetch_assoc()) {
|
||||||
if ($i == 0) {
|
if ($i == 0) {
|
||||||
$i = 1;
|
$i = 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user