0 ORDER BY FIELD(vrstni_red, $order)"); $max = mysqli_num_rows($sql1); $counter = 0; $sum = 0; $spremenljivkaParams = new enkaParameters($row['params']); $gridWidth = (($spremenljivkaParams->get('gridWidth') > 0) ? $spremenljivkaParams->get('gridWidth') : 30); while ($row1 = mysqli_fetch_array($sql1)) { $naslov = Language::getInstance()->srv_language_vrednost($row1['id']); if ($naslov != '') $row1['naslov'] = $naslov; // Datapiping $row1['naslov'] = Helper::dataPiping($row1['naslov']); $sql2 = sisplet_query("SELECT text FROM srv_data_text" . get('db_table') . " WHERE vre_id='$row1[id]' AND usr_id='" . get('usr_id') . "' AND loop_id $loop_id"); $row2 = mysqli_fetch_array($sql2); //preverjanje skritega vprasanja(-2) $row2['text'] != -2 ? $text = $row2['text'] : $text = ''; echo '