'; echo ''; echo 'https://' . $_SERVER['HTTP_X_ORIGINAL_HOST'] . '/hodnoceni/0.9'; echo 'https://' . $_SERVER['HTTP_X_ORIGINAL_HOST'] . '/pobocky/0.9'; echo 'https://' . $_SERVER['HTTP_X_ORIGINAL_HOST'] . '/zarizeni/0.9'; $sql = "SELECT * FROM v3_category WHERE visible = 1"; $result = $conn->query($sql); if ($result->num_rows > 0) { while ($row = $result->fetch_assoc()) { $visible = getVisibleStatusCategory($row['id']); if ($visible != 0) { echo 'https://' . $_SERVER['HTTP_X_ORIGINAL_HOST'] . '/' . $row['url'] . '/0.8'; } } } $sql = "SELECT * FROM v3_article WHERE active = 1"; $result = $conn->query($sql); if ($result->num_rows > 0) { while ($row = $result->fetch_assoc()) { echo 'https://' . $_SERVER['HTTP_X_ORIGINAL_HOST'] . '/' . $row['url'] . '/0.7'; } } $sql = "SELECT * FROM v3_product WHERE visible = 1 AND typeProduct = 0 LIMIT 2000"; $result = $conn->query($sql); if ($result->num_rows > 0) { while ($row = $result->fetch_assoc()) { $visible = getVisibleStatusCategory($row['mainCategoryFK']); if ($visible != 0) { echo 'https://' . $_SERVER['HTTP_X_ORIGINAL_HOST'] . '/' . $row['urlProduct'] . '/0.6'; } } } echo '';