rendered paste body<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><head> <title>{title}</title> <script src='../../../includes/scripts/prototype.js' type='text/javascript'></script> <script src='../../../includes/scripts/jquery.js' type='text/javascript'></script> <script src='../../../includes/scripts/thickbox.js' type='text/javascript'></script> <link rel='stylesheet' href='../../../includes/styles/thickbox.css' type='text/css' media='screen'> <script src='../../../includes/scripts/autoassist.js' type='text/javascript'></script> <link rel='stylesheet' href='../../../includes/styles/autoassist.css' type='text/css' media='screen'> <link rel='stylesheet' href='../../../includes/styles/jscalendar/calendar-fall.css' type='text/css' media='screen'> <script src='../../../includes/scripts/jscalendar/calendar.js' type='text/javascript'></script> <script src='../../../includes/scripts/jscalendar/lang/calendar-en.js' type='text/javascript'></script> <script src='../../../includes/scripts/jscalendar/calendar-setup.js' type='text/javascript'></script> <link rel='stylesheet' href='../../../includes/styles/base.css' type='text/css' media='screen'> <script type="text/javascript" src='main.js'></script></head> <body onload='TB_init()' style='padding:1em'> <div id="content"> <h3>New Order<span class='error'>{error_msg}</span></h3> <form method="POST" action ="process.php" name ="new_order_form" enctype="multipart/form-data" onsubmit="return form_validate();"> <input type="hidden" name="form[order][appraisal_company]"> <input type="hidden" name="form[order][appraisal_branch]"> <input type="hidden" name="form[order][is_online_order]" value="false"> <fieldset style='padding:3px;'> <legend>Delivery/Ordering Information</legend> <div id='company_error' class='error' style='display:{company_error}'>MISSING COMPANY</div> <div id='lenderSelect'> <SELECT name='form[order][lending_company]' id='company_id' onChange=' rmtGetBranches(); if(($F("company_id")=="0")||($F("company_id")=="")) $("#new_branch").hide();else $("#new_branch").show(); if((parseInt($F("company_id"))>0)&&(parseInt($F("branch_id"))>0)) $("#new_lo").show();else $("#new_lo").hide(); getOrderedBy(); getLOs();'></SELECT> <a href="newLender.html?height=400&width=350&" title="New Lender" class="thickbox">New Lender</a> </div> <div id='branch_error' class='error' style='display:{branch_error}'>MISSING BRANCH</div> <div> <div id='branchSelect'> <select name='form[order][lending_branch]' id='branch_id' onchange=' rmtGetBranchInfo();getOrderedBy();getLOs(); if(($F("company_id")=="0")||($F("company_id")=="")) $("#new_branch").hide();else $("#new_branch").show(); if((parseInt($F("company_id"))>0)&&(parseInt($F("branch_id"))>0)) $("#new_lo").show();else $("#new_lo").hide(); getPayment(); '> <option value=''>--Select Branch--</option> </select> </div> <span id='new_branch' style='display:none'><a href="newBranch.php?height=350&width=350" title="New Branch" class="thickbox">New Branch</a></span> </div> <table> <tr><th>Branch Name:</th><td><div id='form_branch_name'>{branch_address1}</div></td></tr> <tr><th>Address1:</th><td><div id='form_branch_address1'>{branch_address1}</div></td></tr> <tr><th>Address2:</th><td><div id='form_branch_address2'>{branch_address2}</div></td></tr> <tr><th>City:</th><td><div id='form_branch_city'>{branch_city}</div></td></tr> <tr><th>State:</th><td><div id='form_branch_state'>{branch_state}</div></td></tr> <tr><th>Zip:</th><td><div id='form_branch_zip'>{branch_zip}</div></td></tr> <tr><th>Phone1:</th><td><div id='form_branch_phone1'>{branch_phone1}</div></td></tr> <tr><th>Phone2:</th><td><div id='form_branch_phone2'>{branch_phone2}</div></td></tr> <tr><th>Fax:</th><td><div id='form_branch_fax'>{branch_fax}</div></td></tr> </table> <table> <tr> <th><span id='ordered_by_error' class='error' style='display:{ordered_by_error}'>INVALID </span>Ordered By</th> <td> <div id='ordered_by_select'><select name='form[order][ordered_by]' id='ordered_by_text'><option value=''>--</option></select></div> </td> </tr> <tr> <th><span id='loan_officer_error' class='error' style='display:{loan_officer_error}'>INVALID </span>Loan Officer</th> <td> <div id='lo_select'><select name='form[order][loan_officer]' id='loan_officer_text'><option value=''>--</option></select></div> <div id='new_lo' style='display:none'><a href="newLo.php?height=300&width=350&" title="New LO" class="thickbox">New LO</a></div> </td> </tr> <tr> <th><div id='edi_email_error'></div>Additional Email</th> <td><input type='text' name='form[order][edi_email]' id='edi_email'></td> </tr> </table> </fieldset> <fieldset> <legend>Property Info</legend> <table> <tr> <th><span id='street_num_error' class='error' style='display:{street_num_error}'>INVALID </span>Street Num*</th> <td><input type='text' id='form_street_num_input' name='form[order][street_num]' maxlength='10'></td> <th>Pre-Dir</th><td><select id='form_pre_dir_input' name='form[order][pre_dir]'></select></td> </tr> <tr> <th><span id='address_error' class='error' style='display:{address1_error}'>INVALID </span>Street Name *</th> <td><input type='text' id='form_address1_input' name='form[order][address1]'></td> <th>Post-Dir</th> <td><select id='form_post_dir_input' name='form[order][post_dir]'></select></td> </tr> <tr> <th>Suffix</th> <td><select id='form_suffix_input' name='form[order][suffix]'></select></td> </tr> <tr> <th>Unit</th><td> <input type='text' id='form_address2_input' name='form[order][address2]'></td> </tr> <tr> <th><span id='city_error' class='error' style='display:{city_error}'>INVALID </span>City*</th> <td><input type='text' id='form_city_input' name='form[order][city]'></td> </tr> <tr> <th><span id='state_error' class='error' style='display:{state_error}'>INVALID</span>State*</th> <td><select id='state_input' name='form[order][state]' onchange='rmtGetCounties()'></select></td> </tr> <tr> <th><span id='county_error' class='error' style='display:{county_error}'>INVALID </span>County*</th> <td><div id='countySelect'><select name='form[order][county]' id='form_county_input'></select></div></td> </tr> <tr> <th><span id='zip_error' class='error' style='display:{zip_error}'>INVALID</span>Zip*</th> <td><input type='text' id='form_zip_input' name='form[order][zip]'></td> </tr> <tr> <th>Bedrooms</th><td><input type='text' id='bedroom_count' name='form[order][bedroom_count]' style='width:35px'></td> <th>Bathrooms</th><td><input type='text' id='bathroom_count' name='form[order][bathroom_count]' style='width:35px'></td> </tr> <tr> <th>SQ FT</th><td><input type='text' id='square_footage' name='form[order][square_footage]' style='width:35px'></td> <th>Lot Size</th><td><input type='text' id='lot_size' name='form[order][lot_size]' style='width:35px'></td> </tr> </table> </fieldset> <fieldset> <legend>Appraisal Information</legend> <table> <tr> <th>Borrower 1 First Name</th> <td><input id='form_borrower1_input' type='text' name='form[order][borrower1]'></td> <th>Last Name</th> <td><input id='form_borrower1_last_name_input' type='text' name='form[order][borrower1_last_name]'></td> </tr> <tr> <th>Borrower 2 First Name</th> <td><input id='form_borrower2_input' type='text' name='form[order][borrower2]'></td> <th>Last Name</th> <td><input id='form_borrower2_last_name_input' type='text' name='form[order][borrower2_last_name]'></td> </tr> <tr><th>Home</th><td><input type='text' name='form[order][phone1]' id='form_phone1_input'></td></tr> <tr><th>Cell</th><td><input type='text' name='form[order][phone2]' id='form_phone2_input'></td></tr> <tr><th>Business</th><td><input type='text' name='form[order][phone3]' id='form_phone3_input'></td><th>Ext</th><td><input type='text' name='form[order][ext3]' id='form_ext3_input'></td></tr> <tr><th>Contact</th><td><input type='text' name='form[order][contact]' id='form_contact_input'></td></tr> <tr><th>Contact Phone 1</th><td><input type='text' name='form[order][contact_number1]' id='form_contact_number1_input'></td></tr> <tr><th>Contact Phone 2</th><td><input type='text' name='form[order][contact_number2]' id='form_contact_number2_input'></td></tr> <tr> <th>Bank</th> <td><input type='text' id='bank_input' name='form[order][bank_id]' onchange='if($F("bank_input") != $F("bank_name")) document.getElementById("bank_id").value="0"; else document.getElementById("bank_id").value=$F("o_bank_id")'> <script type='text/javascript'> Event.observe(window, "load", function() { var aa = new AutoAssist('bank_input', function() { return "remote/autocomplete_banks.php?partial=" + this.txtBox.value; } ); }); </script> <input type='hidden' id='bank_id' value='0'> <input type='hidden' id='o_bank_id' value='0'> <input type='hidden' id='bank_name' value=''> </td> </tr> <tr> <th><span id='appraisal_type_error' class='error' style='display:{appraisal_type_error}'>INVALID </span>Appraisal Type*</th> <td><select name='form[order][appraisal_type]' id='appraisal_type'></select></td></tr> <tr><th><span id='property_type_error' class='error' style='display:{property_type_error}'>INVALID </span>Property Type*</th><td> <select name='form[order][property_type]' id='property_type'></select></td></tr> <tr> <th><span id='priority_error' class='error' style='display:{priority_error}'>INVALID </span>Priority*</th> <td><select name='form[order][priority]' id='priority'></select></td> </tr> <tr><th><span id='lender_estimate_error' class='error' style='display:{lender_estimate_error}'>INVALID </span>Lender Estimate*</th><td><input type='text' id='lender_estimate_input' name='form[order][lender_estimate]' id='form_lender_estimate'></td></tr> <tr><th>Sales Price</th><td><input type='text' id='sales_price_input' name='form[order][sales_price]' id='form_sales_price'></td></tr> </table> </fieldset> <fieldset> <legend>Payment Details</legend> <table> <tr><th><a href='#' onclick='add_fee_box()'>Add Fees</a></th><td colspan='3'><div id='fee_box'></div></td></tr> <tr> <th><span id='payment_type_error' class='error' style='display:{lender_estimate_error}'>INVALID </span>Payment Type</th> <td> <div id='payment_type_div'><select name='form[order][payment_type]' id='payment_type'><optgroup label='Payment Type'></optgroup></select></div> </td> </tr> <tr> <th>Preset</th> <td> <!--<input type='checkbox' id='is_preset_input' name='form[order][is_preset]'>--> <img src='../../images/dlcalendar_1.gif' id="appt_date_trigger"> <input type="text" name="form[order][appt_date]" id="appt_date" readonly style='width:80px'> <select name="form[order][appt_time]" id="appt_time"></select> <div id='calendar_div' style='display:{display_calendar}'> <script type="text/javascript"> Calendar.setup({ inputField : "appt_date", // id of the input field ifFormat : "%m-%d-%Y", // format of the input field //showsTime : true, // will display a time selector button : "appt_date_trigger", // trigger for the calendar (button ID) singleClick : false, // double-click mode step : 1, // show all years in drop-down boxes (instead of every other year as default) firstDay: 1, weekNumbers: false }); </script> </div> </td> </tr> </table> </fieldset> Internal Comments:<br><textarea name='form[internal_comments]' id='internal_comments'></textarea> <br> External Comments:<br><textarea name='form[external_comments]' id='external_comments'></textarea> <br> Lender Comments:<br><textarea name='form[lender_comments]' id='lender_comments'></textarea> <br> <table><caption>Files</caption> <tr><th>Order Form</th><td><input type="file" size="50" accept="application/pdf" name="file[order_form]" id='file0'></td></tr> <tr><th>Bill Approval</th><td><input type="file" size="50" accept="application/pdf" name="file[bill_form]" id='file1'></td></tr> <!-- <tr><th>Property Profile</th><td><input type="file" size="50" accept="application/pdf" name="file[paper_files][0]" id='file2'></td></tr> <tr><th>Comps/Map 1</th><td><input type="file" size="50" accept="application/pdf" name="file[paper_files][1]" id='file3'></td></tr> <tr><th>Comps/Map 2</th><td><input type="file" size="50" accept="application/pdf" name="file[paper_files][2]" id='file4'></td></tr> <tr><th>Comps/Map 3</th><td><input type="file" size="50" accept="application/pdf" name="file[paper_files][3]" id='file5'></td></tr> <tr><th>Comps/Map 4</th><td><input type="file" size="50" accept="application/pdf" name="file[paper_files][4]" id='file6'></td></tr> <tr><th>MISC 1</th><td><input type="file" size="50" accept="application/pdf" name="file[paper_files][5]" id='file7'></td></tr> <tr><th>MISC 2</th><td><input type="file" size="50" accept="application/pdf" name="file[paper_files][6]" id='file8'></td></tr> --> </table> <input type='submit' name='form[action]' value='Add Appraisal Order' onclick='disable_button();' id='submit_button'> </form> </div></body>