Code Duplication    Length = 10-10 lines in 2 locations

class/todatauri.php 2 locations

@@ 178-187 (lines=10) @@
175
		$dom_resources_ol = $dom->createElement('ol');
176
		$dom_resources_ol->setAttribute('id', 'fwolf_todatauri_info_resources_list');
177
		$dom_resources_ol->setAttribute('style', 'display: none;');
178
		foreach ($this->mGetOk as $val)
179
		{
180
			$val = htmlspecialchars($val);
181
			$a = $dom->createElement('a', $val);
182
			$a->setAttribute('href', $val);
183
			$li = $dom->createElement('li', '√: ');
184
			//$li = $dom->createElement('li', $val);
185
			$li->appendChild($a);
186
			$dom_resources_ol->appendChild($li);
187
		}
188
		foreach ($this->mGetFailed as $val)
189
		{
190
			$val = htmlspecialchars($val);
@@ 188-197 (lines=10) @@
185
			$li->appendChild($a);
186
			$dom_resources_ol->appendChild($li);
187
		}
188
		foreach ($this->mGetFailed as $val)
189
		{
190
			$val = htmlspecialchars($val);
191
			$a = $dom->createElement('a', $val);
192
			$a->setAttribute('href', $val);
193
			$li = $dom->createElement('li', '×: ');
194
			//$li = $dom->createElement('li', $val);
195
			$li->appendChild($a);
196
			$dom_resources_ol->appendChild($li);
197
		}
198
		$dom_info_ul->appendChild($dom_resources_ol);
199
		if ($this->mCliMode)
200
			echo "[Done ] Resources: √: " . count($this->mGetOk) . ", ×: " . count($this->mGetFailed) . ".\n";