<tr> <td><?php echo (CheckForError('Client',$result,'Client')).'<sup>*</sup>';?></td> <td><select name="client" id="currency" class="dropdown"> <option value=""> please select</option> <?php foreach ($clients as $client): ?> <option value='<?php echo $client['id'];?>' <?php if(trim($_POST['client']) == $client['id']) echo"selected = 'selected'" ?>><?php echo $client['name'];?></option> <?php endforeach; ?> </select> </td> </tr> <tr> <td><?php echo (CheckForError('Amount',$result,'Amount')).'<sup>*</sup>';?></td> <td><input class="norm" type="text" name="amount" id="amount" value="<?php echo $_POST['amount']; ?>"/></td> <td><?php echo (CheckForError('Account name',$result,'Name')).'<sup>*</sup>';?></td> <td><input class="norm" type="text" name="aname" id="aname" value="<?php echo $_POST['aname']; ?>"/></td> </tr> <tr> <td>Credit</td> <td><input class="norm" type="text" name="credit" id="credit" value="<?php echo $_POST['credit']; ?>"/></td> <td>Value Date</td> <td><input class="norm" type="text" name="valuec" id="valuec" value="<?php echo $_POST['valuec']; ?>"/></td> </tr> <tr> <td>Debit</td> <td><input class="norm" type="text" name="debit" id="debit" value="<?php echo $_POST['debit']; ?>"/></td>
</div> </label> </td> </tr> <tr> <td width="120px" align="right"> <?php echo CheckForError('Units or Amount',$result,'Units').'<sup>*</sup>'; ?> </td> <td width="100px"> <label> <div class="roundcorner_div"> <input type="text" class="roundcorner_textbox" name="Units2" id="Units2" <?php echo show('Units2'); ?>/></div> </label> </td> <td width="120px" align="right"> <?php echo CheckForError('Units or Amount',$result,'Amount').'<sup>*</sup>'; ?> </td> <td width="100px"> <label> <div class="roundcorner_div"> <input type="text" class="roundcorner_textbox" name="Amount2" id="Amount2" <?php echo show('Amount2'); ?>/></div> </label> </td> </tr> <tr> <td width="120px" align="right"> Custody a/c </td> <td width="100px"> <select name='account2'> <?php foreach($accounts as $account){ ?>
<td align="right">FUND NAME</td> <td colspan="4"> <input class="norm" type="text" size="58" name="Name2" id="Name2" readonly="readonly"<?php echo show('Name2'); ?>/> </td> </tr> <tr> <td align="right"><span style='color:#FF0000'><?php echo CheckForError('UNITS or AMOUNT',$result,'UNIT(S)*').'<sup></sup>'; ?></span> </td> <td> <input class="norm" type="text" name="Units2" id="Units2" <?php echo show('Units2'); ?>/> </td> <td align="right"><span style='color:#FF0000'><?php echo CheckForError('UNITS or AMOUNT',$result,'AMOUNT*').'<sup></sup>'; ?></span> </td> <td> <input class="norm" type="text" name="Amount2" id="Amount2" <?php echo show('Amount2'); ?>/> </td> </tr> <tr> <td align="right"><span style='color:#FF0000'>CUSTODY A/C*</span></td> <td><select name="client" id="client" class="dropdown"> <option value="">select</option> <option value="1">S1-REGULAR</option> <option value='2'>S2-RESTRICTED</option> <option value='3'>S3-U.S. PERSON</option> </select>
<input type="text" class="roundcorner_textbox" name="BIC_Partner" id="BIC_Partner" <?php echo show('BIC_Partner');?>/></div> </label> </td> </tr> <tr> <td align="right"> <?php echo CheckForError(('Custodian incl. BIC'),$result,'CUSTODIAN').'<sup>*</sup>'; ?> </td> <td> <label> <div class="roundcorner_div"> <input type="text" class="roundcorner_textbox" name="Custodian" id="Custodian" <?php echo show('CUSTODIAN');?>/></div> </label> </td> <td align="right"> <?php echo CheckForError(('Custodian incl. BIC'),$result,'BIC CODE').'<sup>*</sup>'; ?> </td> <td> <label> <div class="roundcorner_div"> <input type="text" class="roundcorner_textbox" name="Custodian_BIC" id="Custodian_BIC" <?php echo show('Custodian_BIC');?>/></div> </label> </td> </tr> <tr> <td align="right"> CUSTODY A/C </td> <td> <label> <div class="roundcorner_div">
if(count($result)) { ?> <br/><span id="error">Mandatory fields * are: <?php echo implode($result,',') ?> </span><br/> <?php } ?> <FORM ACTION="" METHOD="post"> <input type="hidden" name="id" value="<?php echo $_POST['id']; ?>"/></td> <div> <fieldset> <legend>User Information</legend> <table class="contab" width="545"> <tr> <td><?php echo (CheckForError('Login',$result,'Login')).'<sup>*</sup>';?></td> <td><input class="norm" type="text" name="login" id="login" value="<?php echo $_POST['login']; ?>"/></td> <td><?php echo (CheckForError('Password',$result,'Password')).'<sup>*</sup>';?></td> <td><input class="norm" type="text" name="password" id="password" value="<?php echo $_POST['password']; ?>"/></td> </tr> <tr> <td>Email</td> <td><input class="norm" type="text" name="email" id="credit" value="<?php echo $_POST['email']; ?>"/></td> <td>Name</td> <td><input class="norm" type="text" name="name" id="valuec" value="<?php echo $_POST['name']; ?>"/></td> </tr> </table> </fieldset> </div> <br/>