Code Duplication    Length = 6-6 lines in 6 locations

web/index.php 6 locations

@@ 112-117 (lines=6) @@
109
								<tr>
110
									<td class="mdl-data-table__cell--non-numeric" colspan="2" style="text-align: center;"><?= $noun ?> (<?=GeneralDeclension::getDeclension($noun)?> склонение)</td>
111
								</tr>
112
								<?php foreach(array(Cases::IMENIT => 'Именительный', Cases::RODIT => 'Родительный', Cases::DAT => 'Дательный', Cases::VINIT => 'Винительный', Cases::TVORIT => 'Творительный', Cases::PREDLOJ => 'Предложный') as $case => $name): ?>
113
									<tr>
114
										<td class="mdl-data-table__cell--non-numeric"><?=$name?></td>
115
										<td class="mdl-data-table__cell--non-numeric"><?=$cases[$case]?></td>
116
									</tr>
117
								<?php endforeach; ?>
118
							</tbody>
119
						</table>
120
				</td>
@@ 130-135 (lines=6) @@
127
								<tr>
128
									<td class="mdl-data-table__cell--non-numeric" colspan="2" style="text-align: center;"><?=$_POST['noun']?> (<?=GeneralDeclension::getDeclension($noun)?> склонение) во множественном числе</td>
129
								</tr>
130
								<?php foreach(array(Cases::IMENIT => 'Именительный', Cases::RODIT => 'Родительный', Cases::DAT => 'Дательный', Cases::VINIT => 'Винительный', Cases::TVORIT => 'Творительный', Cases::PREDLOJ => 'Предложный') as $case => $name): ?>
131
									<tr>
132
										<td class="mdl-data-table__cell--non-numeric"><?=$name?></td>
133
										<td class="mdl-data-table__cell--non-numeric"><?=$cases[$case]?></td>
134
									</tr>
135
								<?php endforeach; ?>
136
							</tbody>
137
						</table>
138
				</td>
@@ 199-204 (lines=6) @@
196
								<tr>
197
									<td class="mdl-data-table__cell--non-numeric" colspan="2" style="text-align: center;"><?=$geographical_name?></td>
198
								</tr>
199
								<?php foreach(array(Cases::IMENIT => 'Именительный', Cases::RODIT => 'Родительный', Cases::DAT => 'Дательный', Cases::VINIT => 'Винительный', Cases::TVORIT => 'Творительный', Cases::PREDLOJ => 'Предложный') as $case => $name): ?>
200
									<tr>
201
										<td class="mdl-data-table__cell--non-numeric"><?=$name?></td>
202
										<td class="mdl-data-table__cell--non-numeric"><?=$cases[$case]?></td>
203
									</tr>
204
								<?php endforeach; ?>
205
							</tbody>
206
						</table>
207
		<?php endif; ?>
@@ 256-261 (lines=6) @@
253
								<tr>
254
									<td class="mdl-data-table__cell--non-numeric" colspan="2" style="text-align: center;"><?=$name?> (<?=$gender?>)</td>
255
								</tr>
256
								<?php foreach(array(Cases::IMENIT => 'Именительный', Cases::RODIT => 'Родительный', Cases::DAT => 'Дательный', Cases::VINIT => 'Винительный', Cases::TVORIT => 'Творительный', Cases::PREDLOJ => 'Предложный') as $case => $name): ?>
257
									<tr>
258
										<td class="mdl-data-table__cell--non-numeric"><?=$name?></td>
259
										<td class="mdl-data-table__cell--non-numeric"><?=$cases[$case]?></td>
260
									</tr>
261
								<?php endforeach; ?>
262
							</tbody>
263
						</table>
264
		<?php endif; ?>
@@ 314-319 (lines=6) @@
311
								<tr>
312
									<td class="mdl-data-table__cell--non-numeric" colspan="2" style="text-align: center;"><?=$number?></td>
313
								</tr>
314
								<?php foreach(array(Cases::IMENIT => 'Именительный', Cases::RODIT => 'Родительный', Cases::DAT => 'Дательный', Cases::VINIT => 'Винительный', Cases::TVORIT => 'Творительный', Cases::PREDLOJ => 'Предложный') as $case => $name): ?>
315
									<tr>
316
										<td class="mdl-data-table__cell--non-numeric"><?=$name?></td>
317
										<td class="mdl-data-table__cell--non-numeric"><?=$cases[$case]?></td>
318
									</tr>
319
								<?php endforeach; ?>
320
							</tbody>
321
						</table>
322
				</td>
@@ 334-339 (lines=6) @@
331
								<tr>
332
									<td class="mdl-data-table__cell--non-numeric" colspan="2" style="text-align: center;"><?=$number?> (<?=$gender?>)</td>
333
								</tr>
334
								<?php foreach(array(Cases::IMENIT => 'Именительный', Cases::RODIT => 'Родительный', Cases::DAT => 'Дательный', Cases::VINIT => 'Винительный', Cases::TVORIT => 'Творительный', Cases::PREDLOJ => 'Предложный') as $case => $name): ?>
335
									<tr>
336
										<td class="mdl-data-table__cell--non-numeric"><?=$name?></td>
337
										<td class="mdl-data-table__cell--non-numeric"><?=$cases[$case]?></td>
338
									</tr>
339
								<?php endforeach; ?>
340
							</tbody>
341
						</table>
342
				</td>