SALES PD PHOTO SECTION REPORT&APPLICANT TYPE LIVE ISSUE
This commit is contained in:
parent
1ce0466257
commit
00f0cb23b8
@ -9077,7 +9077,7 @@ public function getCompaniesListsFromGeneralFormRawJSON_post()
|
||||
$custom_log_info = '###Payload Size - '. (int) $_SERVER['CONTENT_LENGTH'].' ###saveApplicantFromGeneralForm - PDID - ('. $records['fk_pd_id'] .') - ' . date('Y-m-d H:i:s A');
|
||||
log_message('ERROR',$custom_log_info);
|
||||
|
||||
$applicant_type = $records['is_applicant'] ? 0 : ($records['is_person_met'] ? 3 : '');
|
||||
$applicant_type = ($records['is_person_met'] ? 3 : ($records['is_applicant'] ? 0 : ''));//3 - person met,0 - co applicant
|
||||
$applicant_details = array('fk_pd_id' => $records['fk_pd_id'],'applicant_name' => trim($records['applicant_name']),'applicant_title_name' => $records['applicant_title_name'],'applicant_type' => $applicant_type );
|
||||
//print_r($applicant_details);
|
||||
if($records['pd_co_applicant_id'] == "" || $records['pd_co_applicant_id'] == null)
|
||||
@ -9087,14 +9087,20 @@ public function getCompaniesListsFromGeneralFormRawJSON_post()
|
||||
}
|
||||
else
|
||||
{
|
||||
if($applicant_type == 0)
|
||||
|
||||
//pull applicant details from master
|
||||
$curret_applicant_type = $this->PD_Model->selectCustomRecords(array('*'),array('pd_co_applicant_id' => $records['pd_co_applicant_id']),PDAPPLICANTSDETAILS);
|
||||
//print_r($curret_applicant_type);//die();
|
||||
if($curret_applicant_type[0]['applicant_type'] == 1)
|
||||
{
|
||||
unset($applicant_details['applicant_type']);
|
||||
}
|
||||
//print_r($applicant_details);die();
|
||||
$applicant_id = $this->PD_Model->updateRecords($applicant_details,PDAPPLICANTSDETAILS,array('pd_co_applicant_id' => $records['pd_co_applicant_id']));
|
||||
$current_operation = 2;// 2 means UPDATE
|
||||
}
|
||||
//echo $current_operation.$applicant_id;die();
|
||||
//echo $current_operation.$applicant_id;
|
||||
//die();
|
||||
if($records['is_person_met'])
|
||||
{
|
||||
$img_data = array();
|
||||
|
||||
@ -189,7 +189,7 @@ class Sales_PD_Controller extends REST_Controller {
|
||||
|
||||
|
||||
//$json_data = (json_decode($sales_pd_data[0]['pd_json'],true));
|
||||
//satellite_image::getSatelliteImage($sales_pd_id,2);
|
||||
satellite_image::getSatelliteImage($sales_pd_id,2);
|
||||
$all_section_data = $this->Sales_PD_Model->selectCustomRecords(array('*'),array('sales_pd_id' => $sales_pd_id,'isactive' => 1),SALESPD_SECTION_DATA);
|
||||
// print_r($this->db->last_query());die();
|
||||
$view_data['master'] = $sales_pd_data;
|
||||
@ -724,165 +724,58 @@ class Sales_PD_Controller extends REST_Controller {
|
||||
$records = $this->post('records');
|
||||
$section_data = array();
|
||||
|
||||
if($records['section_id'] != 9)
|
||||
{
|
||||
|
||||
$section_data = $this->Sales_PD_Model->selectCustomRecords(array('*'),array('sales_pd_id' => $records['sales_pd_id'],'isactive' => 1,'section_id' => $records['section_id']),SALESPD_SECTION_DATA);
|
||||
//print_r( json_decode($section_data[0]['section_data'],true));
|
||||
}
|
||||
else
|
||||
{
|
||||
$image_order = array('selfie_with_person_met','approach_to_pd_location','name_board_seen','stock_image','workplace_interior_image');
|
||||
$images = $this->Sales_PD_Model->selectCustomRecords(array('*'),array('fk_sales_pd_id' => $records['sales_pd_id'],'img_name !=' => 'satellite','isactive' => 1),SALEPD_DOCS);
|
||||
//print_r($images);die();
|
||||
|
||||
$photo_names = array('selfie_with_person_met' => 'Selfie with person met','approach_to_pd_location' => 'Approach to pd location','name_board_seen' => 'Name board seen', 'stock_image' => 'Stock image','workplace_interior_image' => 'Workplace interior image');
|
||||
|
||||
|
||||
$questions = array();
|
||||
$questions_group = array();
|
||||
|
||||
foreach ($photo_names as $photo_key => $photo_value)
|
||||
//print_r( json_decode($section_data[0]['section_data'],true));die();
|
||||
if($records['section_id'] == 9)
|
||||
{
|
||||
if(count($images))
|
||||
$all_sales_pd_images = $this->Sales_PD_Model->selectCustomRecords(array('*'),array('fk_sales_pd_id' => $records['sales_pd_id'],'img_name !=' => 'satellite','isactive' => 1),SALEPD_DOCS);
|
||||
//print_r($all_sales_pd_images);die();
|
||||
$photo_questions = (json_decode(($section_data[0]['section_data']),true));
|
||||
// print_r($photo_questions);
|
||||
foreach ($photo_questions['questions'] as $key => $value)
|
||||
{
|
||||
// foreach ($images as $key => $value)
|
||||
// {
|
||||
|
||||
//check current photo is exist in images array
|
||||
//print_r($photo_key);
|
||||
$is_exist = false;
|
||||
$exist_data = array();
|
||||
if(isset($value['answer_value']) && $value['answer_value'] && !$value['is_repeatable'])
|
||||
{
|
||||
$selfie = $this->Sales_PD_Model->selectCustomRecords(array('*'),array('fk_sales_pd_id' => $records['sales_pd_id'],'img_name' => 'selfie_with_person_met','isactive' => 1),SALEPD_DOCS);
|
||||
if(count($selfie))
|
||||
{
|
||||
// $photo_questions['questions'][$key]['answer_value'] = $selfie[0]['img'];
|
||||
$photo_questions['questions'][$key]['answer_value'] = "CHNAGED";
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
//$question = [];
|
||||
foreach ($images as $key => $value)
|
||||
foreach ($value['questions_group'] as $v_key => $individual_value)
|
||||
{
|
||||
if($photo_key == $value['img_name'])
|
||||
//print_r($individual_value);die();
|
||||
if($individual_value['questions'][0]['answer_value'])
|
||||
{
|
||||
$is_exist = true;
|
||||
$exist_data[] = array('img_name' => $value['img_name'],'img' => $value['img']);
|
||||
// unset($images[$key]);
|
||||
// break;
|
||||
}
|
||||
//iterate all_sales_pd_images to get one
|
||||
foreach ($all_sales_pd_images as $img_key => $img_value)
|
||||
{
|
||||
if($individual_value['questions'][0]['question_key'] == $img_value['img_name'])
|
||||
{
|
||||
//$photo_questions['questions'][$key]['questions_group'][$v_key]['questions'][0]['answer_value'] = $img_value['img'];
|
||||
$photo_questions['questions'][$key]['questions_group'][$v_key]['questions'][0]['answer_value'] = "CHANGED";
|
||||
unset($all_sales_pd_images[$img_key]);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
// echo $is_exist;
|
||||
// echo '<br>';
|
||||
if($is_exist)
|
||||
{
|
||||
// echo "YESPART";
|
||||
// echo '<br>';
|
||||
foreach ($exist_data as $exist_data_key => $exist_data_value)
|
||||
{
|
||||
|
||||
|
||||
$question['is_repeatable'] = "";
|
||||
$question['group_title'] = null;
|
||||
$question['answer_value'] = $exist_data_value['img'];
|
||||
//$question['answer_value'] = "IMG";
|
||||
$question['question'] = $photo_names [ $exist_data_value['img_name'] ];
|
||||
$question['question_key'] = $exist_data_value['img_name'];
|
||||
$question['type'] = 6;
|
||||
$question['validations'] = [];
|
||||
$question['raw_validations'] = [];
|
||||
$question['api_properties'] = null;
|
||||
$question['answers'] = null;
|
||||
$question['onchange_properties'] = null;
|
||||
if($exist_data_value['img_name'] == 'selfie_with_person_met')
|
||||
{
|
||||
$questions[] = $question;
|
||||
}
|
||||
else
|
||||
{
|
||||
$questions[ $photo_names [ $exist_data_value['img_name'] ] ] ['is_repeatable'] = 1;
|
||||
$questions[ $photo_names [ $exist_data_value['img_name'] ] ] ['group_title'] = $photo_names [ $exist_data_value['img_name'] ];
|
||||
$questions[ $photo_names [ $exist_data_value['img_name'] ] ] ['group_type'] = 6;
|
||||
$questions[ $photo_names [ $exist_data_value['img_name'] ] ] ['questions_group'][0]['questions'][] = $question;
|
||||
}
|
||||
}
|
||||
$exist_data = array();
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
// echo "NOPART";
|
||||
// echo '<br>';
|
||||
// print_r($questions);
|
||||
$question['is_repeatable'] = "";
|
||||
$question['group_title'] = null;
|
||||
$question['answer_value'] = '';
|
||||
//$question['answer_value'] = "IMG";
|
||||
$question['question'] = $photo_value;
|
||||
$question['question_key'] =$photo_key;
|
||||
$question['type'] = 6;
|
||||
$question['validations'] = [];
|
||||
$question['raw_validations'] = [];
|
||||
$question['api_properties'] = null;
|
||||
$question['answers'] = null;
|
||||
$question['onchange_properties'] = null;
|
||||
if($photo_key == 'selfie_with_person_met')
|
||||
{
|
||||
//echo 'SELFIE';
|
||||
$questions[] = $question;
|
||||
}
|
||||
else
|
||||
{
|
||||
$questions[ $photo_names [ $value['img_name'] ] ] ['is_repeatable'] = 1;
|
||||
$questions[ $photo_names [ $value['img_name'] ] ] ['group_title'] = $photo_value;
|
||||
$questions[ $photo_names [ $value['img_name'] ] ] ['group_type'] = 6;
|
||||
$questions[ $photo_names [ $value['img_name'] ] ] ['questions_group'][0]['questions'][] = $question;
|
||||
}
|
||||
//break;
|
||||
// print_r($questions);
|
||||
// die();
|
||||
}
|
||||
|
||||
//}
|
||||
}
|
||||
else
|
||||
{
|
||||
$question['is_repeatable'] = "";
|
||||
$question['group_title'] = null;
|
||||
$question['answer_value'] = '';
|
||||
//$question['answer_value'] = "IMG";
|
||||
$question['question'] = $photo_value;
|
||||
$question['question_key'] =$photo_key;
|
||||
$question['type'] = 6;
|
||||
$question['validations'] = [];
|
||||
$question['raw_validations'] = [];
|
||||
$question['api_properties'] = null;
|
||||
$question['answers'] = null;
|
||||
$question['onchange_properties'] = null;
|
||||
if($photo_key == 'selfie_with_person_met')
|
||||
{
|
||||
$questions[] = [];
|
||||
}
|
||||
else
|
||||
{
|
||||
$questions[ $photo_key ] ['is_repeatable'] = 1;
|
||||
$questions[ $photo_key ] ['group_title'] = $photo_value;
|
||||
$questions[ $photo_key ] ['group_type'] = 6;
|
||||
$questions[ $photo_key ] ['questions_group'][0]['questions'][] = [];
|
||||
}
|
||||
}
|
||||
}
|
||||
//die();
|
||||
$photo_questions = json_encode($photo_questions);
|
||||
$section_data[0]['section_data'] = $photo_questions;
|
||||
}
|
||||
|
||||
$temp['questions'] = array_values($questions);
|
||||
//print_r($questions);die();
|
||||
|
||||
$temp['section_id'] = 9;
|
||||
$temp['section_name'] = 'Photography';
|
||||
$temp['onsubmit'] = '';
|
||||
$temp['sales_pd_id'] = $records['sales_pd_id'];
|
||||
|
||||
//print_r($temp);die();
|
||||
$temp2['section_data'] = json_encode($temp);
|
||||
|
||||
$temp2['id'] = null;
|
||||
$temp2['sales_pd_id'] = $records['sales_pd_id'];
|
||||
$temp2['section_id'] = $records['section_id'];
|
||||
$temp2['status'] = '1';
|
||||
$section_data[] = $temp2;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
if($section_data)
|
||||
{
|
||||
@ -904,7 +797,7 @@ class Sales_PD_Controller extends REST_Controller {
|
||||
|
||||
public function testAPISalesPD_post()
|
||||
{
|
||||
PDALERTS::sendSalesPDMail($this,2);die();
|
||||
//PDALERTS::sendSalesPDMail($this,2);die();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@ -4655,19 +4655,22 @@ if($total_no_of_business > 0) {
|
||||
|
||||
|
||||
<?php
|
||||
// ########################### End disclaimer start #########################################
|
||||
|
||||
// ########################### End disclaimer start #########################################
|
||||
echo "<p>";
|
||||
$footer_lender_stamp = MYUTIL::dispatchDisclaimer($lender_disclaimer,3);
|
||||
if(isset($footer_lender_stamp))
|
||||
{
|
||||
//$footer_lender_disclaimer = MYUTIL::dispatchDisclaimer($lender_disclaimer,3);
|
||||
echo '<p align="right"><img height="200" width="200" src="https://pdgenie.com/logo/stamps/'.$footer_lender_stamp['disclaimer'].'" /></p>';
|
||||
}
|
||||
|
||||
$footer_lender_disclaimer = MYUTIL::dispatchDisclaimer($lender_disclaimer,2);
|
||||
|
||||
if(isset($footer_lender_disclaimer))
|
||||
{
|
||||
echo '<br><br><br><br><br><br><p align="center"><i>'. $footer_lender_disclaimer['disclaimer'] .'</i></p>';
|
||||
echo '<p align="center"><i>'. $footer_lender_disclaimer['disclaimer'] .'</i></p>';
|
||||
}
|
||||
else
|
||||
{
|
||||
$footer_lender_disclaimer = MYUTIL::dispatchDisclaimer($lender_disclaimer,3);
|
||||
echo '<p align="right"><img height="200" width="200" src="https://pdgenie.com/logo/stamps/'.$footer_lender_disclaimer['disclaimer'].'" /></p>';
|
||||
}
|
||||
echo "</p>";
|
||||
|
||||
// ########################### End disclaimer end #########################################
|
||||
?>
|
||||
|
||||
@ -650,37 +650,41 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
|
||||
echo '<div id="page_break"></div>';
|
||||
echo '<p><strong>Person(s) Met:</strong> </p>';
|
||||
echo '<div style="border: 1px solid #0191ed;">';
|
||||
foreach($person_met_data as $pk => $person)
|
||||
if(count($person_met_data))
|
||||
{
|
||||
$display_for_person_met =$person['relations'] != "" ? substr_replace($person['relations'],'.',strrpos($person['relations'],','),1) : '';
|
||||
|
||||
$person_met_details = $person['name'];
|
||||
$person_met_details .= ($display_for_person_met != "" ? ' - ' . $display_for_person_met :'');
|
||||
echo '<p>'.$person_met_details.'</p>';
|
||||
|
||||
//if($display_for_person_met != "" || $display_for_person_met != null){
|
||||
echo '<br><br>';
|
||||
//}
|
||||
if($person['photo'])
|
||||
//echo '<div style="border: 1px solid #0191ed;">';
|
||||
|
||||
foreach($person_met_data as $pk => $person)
|
||||
{
|
||||
echo '<img src="'.$person['photo'].'" width="300" height="200" alt=""/>';
|
||||
}
|
||||
echo ' ';
|
||||
if($person['id_proof'])
|
||||
{
|
||||
echo '<img src="'.$person['id_proof'].'" width="300" height="200" alt=""/>';
|
||||
}
|
||||
|
||||
//echo count($person_met_data) != ($pk+1)? '<hr>':'';
|
||||
|
||||
$display_for_person_met =$person['relations'] != "" ? substr_replace($person['relations'],'.',strrpos($person['relations'],','),1) : '';
|
||||
|
||||
$person_met_details = $person['name'];
|
||||
$person_met_details .= ($display_for_person_met != "" ? ' - ' . $display_for_person_met :'');
|
||||
echo '<p>'.$person_met_details.'</p>';
|
||||
|
||||
//if($display_for_person_met != "" || $display_for_person_met != null){
|
||||
echo '<br><br>';
|
||||
//}
|
||||
// if($person['photo'])
|
||||
// {
|
||||
// echo '<img src="'.$person['photo'].'" width="300" height="200" alt=""/>';
|
||||
// }
|
||||
// echo ' ';
|
||||
// if($person['id_proof'])
|
||||
// {
|
||||
// echo '<img src="'.$person['id_proof'].'" width="300" height="200" alt=""/>';
|
||||
// }
|
||||
|
||||
//echo count($person_met_data) != ($pk+1)? '<hr>':'';
|
||||
|
||||
|
||||
}
|
||||
//echo '</div>';
|
||||
}
|
||||
echo '</div>';
|
||||
echo '<br>';
|
||||
?>
|
||||
|
||||
<br>
|
||||
<!-- <br> -->
|
||||
|
||||
<p contenteditable="true"><b>Loan Applicants:</b></p>
|
||||
<table class="scorecard_table">
|
||||
@ -799,29 +803,29 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
//$business_assets_details = json_decode($pd_processed_forms[22][0]['processed_json'],true);
|
||||
//print_r($business_assets_details);die();
|
||||
|
||||
$address_images = $pd_images[5];
|
||||
//print_r($address_images);die();
|
||||
$pd_location_approach_img_url = '';
|
||||
$pd_location_approach_img_location = '';
|
||||
$pd_location_approach_img_date = '';
|
||||
// $address_images = $pd_images[5];
|
||||
// //print_r($address_images);die();
|
||||
// $pd_location_approach_img_url = '';
|
||||
// $pd_location_approach_img_location = '';
|
||||
// $pd_location_approach_img_date = '';
|
||||
|
||||
foreach ($address_images as $address_image_key => $address_image_value) {
|
||||
if($address_image_value['is_show_report'] == 1)
|
||||
{
|
||||
$pd_location_approach_img_url = isset($address_image_value['doc_url']) ? $address_image_value['doc_url']: '';
|
||||
//$pd_location_approach_img_location = $address_image_value['location'];
|
||||
//$pd_location_approach_img_date = date('Y/m/d h:s:i A',$address_image_value['createdon']);
|
||||
break;
|
||||
}
|
||||
}
|
||||
// foreach ($address_images as $address_image_key => $address_image_value) {
|
||||
// if($address_image_value['is_show_report'] == 1)
|
||||
// {
|
||||
// $pd_location_approach_img_url = isset($address_image_value['doc_url']) ? $address_image_value['doc_url']: '';
|
||||
// //$pd_location_approach_img_location = $address_image_value['location'];
|
||||
// //$pd_location_approach_img_date = date('Y/m/d h:s:i A',$address_image_value['createdon']);
|
||||
// break;
|
||||
// }
|
||||
// }
|
||||
|
||||
$name_board_seen_img_url = '';
|
||||
// $name_board_seen_img_url = '';
|
||||
|
||||
|
||||
//echo $name_board_seen_img_url;die();
|
||||
//print_r($address_images);die();
|
||||
?>
|
||||
<div id="page_break"></div>
|
||||
<!-- <div id="page_break"></div> -->
|
||||
<p><b>PD LOCATION</b></p>
|
||||
|
||||
<p><?php
|
||||
@ -851,27 +855,27 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
}
|
||||
|
||||
echo '<br><br><b> GPS Coordinates of location where PD Visit was done : </b>'.$pd_master_details[0]['start_location'];
|
||||
echo '<br><br>';
|
||||
// echo '<br><br>';
|
||||
?>
|
||||
<?php
|
||||
$satellite_url = '';
|
||||
if(isset($pd_images['common_images']) && count($pd_images['common_images']))
|
||||
{
|
||||
foreach($pd_images['common_images'] as $com_key => $com_value)
|
||||
{
|
||||
if($com_value['pd_document_title'] == 'satellite')
|
||||
{
|
||||
$satellite_url = $com_value['doc_url'];break;
|
||||
}
|
||||
}
|
||||
}
|
||||
// $satellite_url = '';
|
||||
// if(isset($pd_images['common_images']) && count($pd_images['common_images']))
|
||||
// {
|
||||
// foreach($pd_images['common_images'] as $com_key => $com_value)
|
||||
// {
|
||||
// if($com_value['pd_document_title'] == 'satellite')
|
||||
// {
|
||||
// $satellite_url = $com_value['doc_url'];break;
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
|
||||
?>
|
||||
|
||||
|
||||
<img border="3" src = "<?php echo $satellite_url;?>" alt=" Satellite Image of location of Where PD was Done" style="width:100%;height:300px;border-color:#0191ed" /><br><br><br>
|
||||
<!-- <img border="3" src = "<?php echo $satellite_url;?>" alt=" Satellite Image of location of Where PD was Done" style="width:100%;height:300px;border-color:#0191ed" /><br><br><br> -->
|
||||
|
||||
<?php if($pd_location_approach_img_url != "" ) {?>
|
||||
<!-- <?php if($pd_location_approach_img_url != "" ) {?>
|
||||
<table>
|
||||
<thead>
|
||||
<tr> <th>PD Location Approach</th> </tr>
|
||||
@ -883,8 +887,8 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
</tr>
|
||||
<tr> <td><?php echo $pd_location_approach_img_location .'<br>'.$pd_location_approach_img_date; ?></td> <td> </td> </tr>
|
||||
</table>
|
||||
<?php } ?>
|
||||
<div id="page_break"></div>
|
||||
<?php } ?> -->
|
||||
<!-- <div id="page_break"></div> -->
|
||||
<br><p><b>Location Summary</b></p>
|
||||
<?php
|
||||
|
||||
@ -1148,7 +1152,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
|
||||
echo "Applicant has total work experience of ". $employeement_data['how_long_month']." years.</p>";
|
||||
|
||||
echo $employeement_data['total_business_previous_experience'] ? ("<p>Previously, applicant : ".$employeement_data['total_business_previous_experience']) : '';
|
||||
echo $employeement_data['total_business_previous_experience'] ? ("<p>Previously, applicant ".$employeement_data['total_business_previous_experience']) : '';
|
||||
|
||||
echo $employeement_data['was_met'] == 'no'? "<p>No one was met at the visited premises who could confirm the employment details of loan applicant. </p>":"<p>During PD visit, ".$employeement_data['name_person_met'].' ( '. ($employeement_data['others_person_met'] ? $employeement_data['others_person_met'] : $employeement_data['designation_person_met_master']) .' ) was met at the visited premises.';
|
||||
|
||||
@ -1931,13 +1935,13 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
{
|
||||
//echo count($pd_images['common_images']);
|
||||
//print_r($pd_images['common_images']);
|
||||
foreach ($pd_images['common_images'] as $key => $value)
|
||||
{
|
||||
if($value['img_type'] == 1 || $value['img_type'] == 2 || $value['pd_document_title'] == 'satellite')
|
||||
{
|
||||
unset($pd_images['common_images'][$key]);
|
||||
}
|
||||
}
|
||||
// foreach ($pd_images['common_images'] as $key => $value)
|
||||
// {
|
||||
// if($value['img_type'] == 1 || $value['img_type'] == 2 || $value['pd_document_title'] == 'satellite')
|
||||
// {
|
||||
// unset($pd_images['common_images'][$key]);
|
||||
// }
|
||||
// }
|
||||
//echo count($pd_images['common_images']);
|
||||
// print_r($pd_images['common_images']);
|
||||
$pd_images['common_images'] = array_values($pd_images['common_images']);
|
||||
@ -1971,17 +1975,21 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
|
||||
<?php
|
||||
// ########################### End disclaimer start #########################################
|
||||
$footer_lender_disclaimer = MYUTIL::dispatchDisclaimer($lender_disclaimer,2);
|
||||
echo "<p>";
|
||||
$footer_lender_stamp = MYUTIL::dispatchDisclaimer($lender_disclaimer,3);
|
||||
if(isset($footer_lender_stamp))
|
||||
{
|
||||
//$footer_lender_disclaimer = MYUTIL::dispatchDisclaimer($lender_disclaimer,3);
|
||||
echo '<p align="right"><img height="200" width="200" src="https://pdgenie.com/logo/stamps/'.$footer_lender_stamp['disclaimer'].'" /></p>';
|
||||
}
|
||||
|
||||
$footer_lender_disclaimer = MYUTIL::dispatchDisclaimer($lender_disclaimer,2);
|
||||
|
||||
if(isset($footer_lender_disclaimer))
|
||||
{
|
||||
echo '<br><br><br><br><br><br><p align="center"><i>'. $footer_lender_disclaimer['disclaimer'] .'</i></p>';
|
||||
echo '<p align="center"><i>'. $footer_lender_disclaimer['disclaimer'] .'</i></p>';
|
||||
}
|
||||
else
|
||||
{
|
||||
$footer_lender_disclaimer = MYUTIL::dispatchDisclaimer($lender_disclaimer,3);
|
||||
echo '<p align="right"><img height="200" width="200" src="https://pdgenie.com/logo/stamps/'.$footer_lender_disclaimer['disclaimer'].'" /></p>';
|
||||
}
|
||||
echo "</p>";
|
||||
// ########################### End disclaimer end #########################################
|
||||
?>
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user