" id="datums" /> <table><tr><td> <table border=1 cellspacing=0 cellpadding=2> <tr> <th bgcolor=#7EBF7E> Saņēmēji: </th> <td> <input type="text" name="recipients" value="<?php echo isset($_POST['recipients']) && !strpos($_POST['recipients'], "<") && !strpos($_POST['recipients'], ">") ? addcslashes($_POST['recipients'], '"') : ""; ?> " id="recipients" /> </td> <td> <select name="list" onchange="document.getElementById('recipients').value = this.value;"> <option value=""> </option> <?php while ($list = $MailingList->next()) { ?> <option value="<?php echo $list->list; ?> " <?php if (isset($_POST['list']) && $_POST['list'] == $list->list) { ?> selected="1"<?php } ?> ><?php echo $list->name; ?> </option> <?php