for ($i = 0; $i < sizeof($models); $i++) {
                                $ret .= '<option value="' . $models[$i] . '">' . $models[$i] . '</option>';
                            }
                            $ret .= '
						</select>
					</td>
				</tr>
				<tr align="center">
					<td colspan="2"><input type="submit" value=" Add new network card " /></td>
				</tr>
				</table>
				</form>';
                        }
                    }
                    $res = $lv->get_domain_object($domName);
                    $dom = $lv->domain_get_info($res);
                    $mem = number_format($dom['memory'] / 1024, 2, '.', ' ') . ' MB';
                    $cpu = $dom['nrVirtCpu'];
                    $state = $lv->domain_state_translate($dom['state']);
                    $id = $lv->domain_get_id($res);
                    $arch = $lv->domain_get_arch($res);
                    $vnc = $lv->domain_get_vnc_port($res);
                    if (!$id) {
                        $id = 'N/A';
                    }
                    if ($vnc <= 0) {
                        $vnc = 'N/A';
                    }
                    echo "<h2>{$domName} - domain information</h2>";
                    echo "<b>Domain type: </b>" . $lv->get_domain_type($domName) . '<br />';
                    echo "<b>Domain emulator: </b>" . $lv->get_domain_emulator($domName) . '<br />';