} ?> </tbody> </table><br /> <a href="#" id="add-key" class="btn btn-warning"><span>Add Another Key</span></a> </div><!--/api keys--> <br /> <input type="submit" class="btn btn-sucess" /> <?php echo form_close(); ?> </div> <?php echo asset::js('module::jquery.history.js'); ?> <script type="text/javascript"> $(document).ready(function () { $('#add-key').click(function () { key = random_string(40); $(this).parent().children('table').children('tbody').append('<tr><td><?php echo form_input(array('name' => 'new_key_note[]', 'value' => '', 'class' => 'txt small')); ?> </td>' + '<td>' + key + '<input type="hidden" name="new_key[]" value="' + key + '" /></td>' + '<td><?php echo format_date(now());
echo $referral['id']; ?> </strong> <p><?php echo $referral['forename']; ?> <?php echo $referral['surname']; ?> </p> <a class="button stats-view" href="/crm/ppi/referral/<?php echo $referral['id']; ?> " title="View Referral">View</a> </li> <?php } ?> </ul> </section> </article> </section> </article> <?php echo asset::js('ppi-referrals.js');
</table> <!-- Change Client Details Dialog Box --> <!-- -------------------------------- --> <div id="Change-Client-Details"> <form id="Change-Client-Details-Form"> <input type="hidden" name="ClientID" id="ClientID" value="" /> <input type="hidden" name="RequestID" id="RequestID" value="" /> <input type="hidden" name="Field" id="Field" value="" /> <input type="hidden" name="CompanyID" id="CompanyID" value="" /> <table> <tr> <td width="200">Select Field to Approve:</td> <td id="Field-List" style="text-align: left;"></td> </tr> <tr> <td>Old Value:</td> <td id="Old-Value" align="left"></td> </tr> <tr> <td>New Value:</td> <td id="New-Value" align="left"></td> </tr> </table> </form> </div> <?php echo asset::js('client-area.js');