+ <a href=\"" . $row[2] . "\">". $row[1] . "</a>";
+ echo "<form class=\"moveForm\" action=\"" . $_SERVER['REQUEST_URI'] . "\" method=\"post\">";
+ echo "<input type=\"hidden\" name=\"movedSiteId\" value=\"" . $row[0] . "\">";
+ echo "<select class=\"form-select moveSelect\" name=\"newCateId\">";
+ echo "<option></option>";
+ $tableName = 'categories';
+ $columnScheme = "id,name";
+ $whereValue = "1=1";
+ $result2 = dbQuery($connection, $tableName, $columnScheme, $whereValue);
+ if ( ! is_null($result2) ) {
+ while ( $row2 = mysqli_fetch_row($result2) ) {
+ echo "<option value=\"" . $row2[0] . "\">" . $row2[1] . "</option>";
+ }
+ }
+ echo "</select>";
+ echo "<button type=\"submit\" class=\"btn btn-warning moveButton\">Przenieś</button>";
+ echo "</form>";
+ echo "</li>";