PDF css fixes : ps
This commit is contained in:
parent
0f6b602f6a
commit
32f94c3505
@ -7,8 +7,9 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
||||
<title></title>
|
||||
<link href="https://fonts.googleapis.com/css?family=Merriweather" rel="stylesheet">
|
||||
<style type="text/css">
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
|
||||
<style type="text/css">
|
||||
|
||||
|
||||
.page_break { page-break-before: always; }
|
||||
#page_break { page-break-before: always; }
|
||||
@ -457,7 +458,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
}
|
||||
|
||||
#ini_table td{
|
||||
word-wrap:break-word
|
||||
word-wrap:break-word;
|
||||
width:50%;
|
||||
}
|
||||
|
||||
@ -708,7 +709,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
//print_r($person_met_data);die();
|
||||
echo '<div id="page_break"></div>';
|
||||
echo '<p><strong>Person(s) Met:</strong> </p>';
|
||||
echo '<div style="border: 1px solid #0191ed;">';
|
||||
echo '<div>';
|
||||
foreach($person_met_data as $pk => $person)
|
||||
{
|
||||
$display_for_person_met =$person['relations'] != "" ? substr_replace($person['relations'],'.',strrpos($person['relations'],','),1) : '';
|
||||
@ -718,6 +719,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
{
|
||||
$person_met_details .= ($display_for_person_met != "" ? ' - ' . $display_for_person_met :'');
|
||||
}
|
||||
if(!empty($person['photo'])){
|
||||
echo '<p>'.$person_met_details.'</p>';
|
||||
|
||||
//if($display_for_person_met != "" || $display_for_person_met != null){
|
||||
@ -734,7 +736,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
echo '</tr>
|
||||
</tbody>
|
||||
</table>';
|
||||
//}
|
||||
}
|
||||
//echo count($person_met_data) != ($pk+1)? '<hr>':'';
|
||||
$ci = $person['compare_image'];
|
||||
if(!empty($ci)){
|
||||
@ -757,14 +759,15 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
$progress_bar_class = 'rcorners_red';
|
||||
}
|
||||
//########################### Percentage Bar Section #########################################
|
||||
echo '<td> <div style="border: 1px solid #000; margin: 1px;padding: 12px">';
|
||||
echo '<div style="display: flex;"><img src="data:image/png;base64,'. $si["base64"].'" alt="'.$si["name"].'" width="50" height="50" align="left">
|
||||
'.$symbol.' <img src="data:image/png;base64,'. $ci_arr_value["base64"].'" alt="'.$ci_arr_value["name"].'" width="50" height="50" align="right"></div> ';
|
||||
echo '<p><span style="float:left;">Similarity</span>
|
||||
<span style="float:right; font-size: 20px;">'.$similarity.' %</span></p> <br><br>';
|
||||
echo '<div style="width: 100% !important; "id="'. $progress_bar_class .'"></div>
|
||||
</div></td>';
|
||||
$check_fc_table++;
|
||||
echo '<td><div style="border: 1px solid #000; margin: 1px;padding: 12px">';
|
||||
echo '<table class="person_table" style="width:100%;" >
|
||||
<tr><td><img src="data:image/png;base64,'. $si["base64"].'" alt="'.$si["name"].'" width="50" height="50" align="left"></td>
|
||||
<td align="center">'.$symbol.'</td>
|
||||
<td><img src="data:image/png;base64,'. $ci_arr_value["base64"].'" alt="'.$ci_arr_value["name"].'" width="50" height="50" align="right"></td></tr>
|
||||
<tr><td colspan="3"><p><span style="float:left;">Similarity</span><span style="float:right; font-size: 20px;">'.$similarity.' %</span></p> </td></tr>
|
||||
<tr><td align="center" colspan="3"><br><div style="width: 100% !important; "id="'. $progress_bar_class .'"></div></td></tr>
|
||||
</table>';
|
||||
echo '</div></td>';
|
||||
//########################### End of Percentage Bar Section #########################################
|
||||
|
||||
}
|
||||
|
||||
@ -7,8 +7,8 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
||||
<title></title>
|
||||
<link href="https://fonts.googleapis.com/css?family=Merriweather" rel="stylesheet">
|
||||
<style type="text/css">
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
|
||||
<style type="text/css">
|
||||
|
||||
.page_break { page-break-before: always; }
|
||||
#page_break { page-break-before: always; }
|
||||
@ -463,7 +463,7 @@ font-weight: bolder;;
|
||||
}
|
||||
|
||||
#ini_table td{
|
||||
word-wrap:break-word
|
||||
word-wrap:break-word;
|
||||
width:50%;
|
||||
}
|
||||
|
||||
@ -715,7 +715,7 @@ font-weight: bolder;;
|
||||
//print_r($person_met_data);die();
|
||||
echo '<div id="page_break"></div>';
|
||||
echo '<p><strong>Person(s) Met:</strong> </p>';
|
||||
echo '<div style="border: 1px solid #0191ed;">';
|
||||
echo '<div>';
|
||||
foreach($person_met_data as $pk => $person)
|
||||
{
|
||||
$display_for_person_met =$person['relations'] != "" ? substr_replace($person['relations'],'.',strrpos($person['relations'],','),1) : '';
|
||||
@ -725,6 +725,7 @@ font-weight: bolder;;
|
||||
{
|
||||
$person_met_details .= ($display_for_person_met != "" ? ' - ' . $display_for_person_met :'');
|
||||
}
|
||||
if(!empty($person['photo'])){
|
||||
echo '<p>'.$person_met_details.'</p>';
|
||||
|
||||
//if($display_for_person_met != "" || $display_for_person_met != null){
|
||||
@ -741,7 +742,7 @@ font-weight: bolder;;
|
||||
echo '</tr>
|
||||
</tbody>
|
||||
</table>';
|
||||
//}
|
||||
}
|
||||
//echo count($person_met_data) != ($pk+1)? '<hr>':'';
|
||||
$ci = $person['compare_image'];
|
||||
if(!empty($ci)){
|
||||
@ -764,14 +765,15 @@ font-weight: bolder;;
|
||||
$progress_bar_class = 'rcorners_red';
|
||||
}
|
||||
//########################### Percentage Bar Section #########################################
|
||||
echo '<td> <div style="border: 1px solid #000; margin: 1px;padding: 12px">';
|
||||
echo '<div style="display: flex;"><img src="data:image/png;base64,'. $si["base64"].'" alt="'.$si["name"].'" width="50" height="50" align="left">
|
||||
'.$symbol.' <img src="data:image/png;base64,'. $ci_arr_value["base64"].'" alt="'.$ci_arr_value["name"].'" width="50" height="50" align="right"></div> ';
|
||||
echo '<p><span style="float:left;">Similarity</span>
|
||||
<span style="float:right; font-size: 20px;">'.$similarity.' %</span></p> <br><br>';
|
||||
echo '<div style="width: 100% !important; "id="'. $progress_bar_class .'"></div>
|
||||
</div></td>';
|
||||
$check_fc_table++;
|
||||
echo '<td><div style="border: 1px solid #000; margin: 1px;padding: 12px">';
|
||||
echo '<table class="person_table" style="width:100%;" >
|
||||
<tr><td><img src="data:image/png;base64,'. $si["base64"].'" alt="'.$si["name"].'" width="50" height="50" align="left"></td>
|
||||
<td align="center">'.$symbol.'</td>
|
||||
<td><img src="data:image/png;base64,'. $ci_arr_value["base64"].'" alt="'.$ci_arr_value["name"].'" width="50" height="50" align="right"></td></tr>
|
||||
<tr><td colspan="3"><p><span style="float:left;">Similarity</span><span style="float:right; font-size: 20px;">'.$similarity.' %</span></p> </td></tr>
|
||||
<tr><td align="center" colspan="3"><br><div style="width: 100% !important; "id="'. $progress_bar_class .'"></div></td></tr>
|
||||
</table>';
|
||||
echo '</div></td>';
|
||||
//########################### End of Percentage Bar Section #########################################
|
||||
|
||||
}
|
||||
@ -779,7 +781,7 @@ font-weight: bolder;;
|
||||
}
|
||||
echo'</tbody></table>';
|
||||
}
|
||||
} // line 711 foreach closed here.
|
||||
} // line 718 foreach closed here.
|
||||
echo '<br>';
|
||||
echo '</div>';
|
||||
?>
|
||||
|
||||
@ -7,8 +7,9 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
||||
<title></title>
|
||||
<link href="https://fonts.googleapis.com/css?family=Merriweather" rel="stylesheet">
|
||||
<style type="text/css">
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
|
||||
<style type="text/css">
|
||||
|
||||
|
||||
.page_break { page-break-before: always; }
|
||||
#page_break { page-break-before: always; }
|
||||
@ -457,7 +458,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
}
|
||||
|
||||
#ini_table td{
|
||||
word-wrap:break-word
|
||||
word-wrap:break-word;
|
||||
width:50%;
|
||||
}
|
||||
|
||||
@ -709,7 +710,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
//print_r($person_met_data);die();
|
||||
echo '<div id="page_break"></div>';
|
||||
echo '<p><strong>Person(s) Met:</strong> </p>';
|
||||
echo '<div style="border: 1px solid #0191ed;">';
|
||||
echo '<div>';
|
||||
foreach($person_met_data as $pk => $person)
|
||||
{
|
||||
$display_for_person_met =$person['relations'] != "" ? substr_replace($person['relations'],'.',strrpos($person['relations'],','),1) : '';
|
||||
@ -719,6 +720,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
{
|
||||
$person_met_details .= ($display_for_person_met != "" ? ' - ' . $display_for_person_met :'');
|
||||
}
|
||||
if(!empty($person['photo'])){
|
||||
echo '<p>'.$person_met_details.'</p>';
|
||||
|
||||
//if($display_for_person_met != "" || $display_for_person_met != null){
|
||||
@ -735,7 +737,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
echo '</tr>
|
||||
</tbody>
|
||||
</table>';
|
||||
//}
|
||||
}
|
||||
//echo count($person_met_data) != ($pk+1)? '<hr>':'';
|
||||
$ci = $person['compare_image'];
|
||||
if(!empty($ci)){
|
||||
@ -758,14 +760,15 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
$progress_bar_class = 'rcorners_red';
|
||||
}
|
||||
//########################### Percentage Bar Section #########################################
|
||||
echo '<td> <div style="border: 1px solid #000; margin: 1px;padding: 12px">';
|
||||
echo '<div style="display: flex;"><img src="data:image/png;base64,'. $si["base64"].'" alt="'.$si["name"].'" width="50" height="50" align="left">
|
||||
'.$symbol.' <img src="data:image/png;base64,'. $ci_arr_value["base64"].'" alt="'.$ci_arr_value["name"].'" width="50" height="50" align="right"></div> ';
|
||||
echo '<p><span style="float:left;">Similarity</span>
|
||||
<span style="float:right; font-size: 20px;">'.$similarity.' %</span></p> <br><br>';
|
||||
echo '<div style="width: 100% !important; "id="'. $progress_bar_class .'"></div>
|
||||
</div></td>';
|
||||
$check_fc_table++;
|
||||
echo '<td><div style="border: 1px solid #000; margin: 1px;padding: 12px">';
|
||||
echo '<table class="person_table" style="width:100%;" >
|
||||
<tr><td><img src="data:image/png;base64,'. $si["base64"].'" alt="'.$si["name"].'" width="50" height="50" align="left"></td>
|
||||
<td align="center">'.$symbol.'</td>
|
||||
<td><img src="data:image/png;base64,'. $ci_arr_value["base64"].'" alt="'.$ci_arr_value["name"].'" width="50" height="50" align="right"></td></tr>
|
||||
<tr><td colspan="3"><p><span style="float:left;">Similarity</span><span style="float:right; font-size: 20px;">'.$similarity.' %</span></p> </td></tr>
|
||||
<tr><td align="center" colspan="3"><br><div style="width: 100% !important; "id="'. $progress_bar_class .'"></div></td></tr>
|
||||
</table>';
|
||||
echo '</div></td>';
|
||||
//########################### End of Percentage Bar Section #########################################
|
||||
|
||||
}
|
||||
@ -773,7 +776,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
}
|
||||
echo'</tbody></table>';
|
||||
}
|
||||
} // line 711 foreach closed here.
|
||||
} // line 712 foreach closed here.
|
||||
echo '<br>';
|
||||
echo '</div>';
|
||||
?>
|
||||
|
||||
@ -716,6 +716,7 @@ if ( isset($pdf) ) {
|
||||
{
|
||||
$person_met_details .= ($display_for_person_met != "" ? ' - ' . $display_for_person_met :'');
|
||||
}
|
||||
if(!empty($person['photo'])){
|
||||
echo '<p>'.$person_met_details.'</p>';
|
||||
|
||||
//if($display_for_person_met != "" || $display_for_person_met != null){
|
||||
@ -732,7 +733,7 @@ if ( isset($pdf) ) {
|
||||
echo '</tr>
|
||||
</tbody>
|
||||
</table>';
|
||||
//}
|
||||
}
|
||||
//echo count($person_met_data) != ($pk+1)? '<hr>':'';
|
||||
$ci = $person['compare_image'];
|
||||
if(!empty($ci)){
|
||||
@ -759,10 +760,9 @@ if ( isset($pdf) ) {
|
||||
echo '<table class="person_table" style="width:100%;" >
|
||||
<tr><td><img src="data:image/png;base64,'. $si["base64"].'" alt="'.$si["name"].'" width="50" height="50" align="left"></td>
|
||||
<td align="center">'.$symbol.'</td>
|
||||
<td><img src="data:image/png;base64,'. $ci_arr_value["base64"].'" alt="'.$ci_arr_value["name"].'" width="50" height="50" align="right"></td>
|
||||
<tr><td align="center" colspan="3"><p><span style="float:left;">Similarity</span>
|
||||
<span style="float:right; font-size: 20px;">'.$similarity.' %</span></p></td></tr>
|
||||
<tr><td align="center" colspan="3"><div style="width: 100% !important; "id="'. $progress_bar_class .'"></div></td></tr>
|
||||
<td><img src="data:image/png;base64,'. $ci_arr_value["base64"].'" alt="'.$ci_arr_value["name"].'" width="50" height="50" align="right"></td></tr>
|
||||
<tr><td colspan="3"><p><span style="float:left;">Similarity</span><span style="float:right; font-size: 20px;">'.$similarity.' %</span></p> </td></tr>
|
||||
<tr><td align="center" colspan="3"><br><div style="width: 100% !important; "id="'. $progress_bar_class .'"></div></td></tr>
|
||||
</table>';
|
||||
echo '</div></td>';
|
||||
//########################### End of Percentage Bar Section #########################################
|
||||
|
||||
@ -7,8 +7,9 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
||||
<title></title>
|
||||
<link href="https://fonts.googleapis.com/css?family=Merriweather" rel="stylesheet">
|
||||
<style type="text/css">
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
|
||||
<style type="text/css">
|
||||
|
||||
|
||||
.page_break { page-break-before: always; }
|
||||
#page_break { page-break-before: always; }
|
||||
@ -456,7 +457,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
}
|
||||
|
||||
#ini_table td{
|
||||
word-wrap:break-word
|
||||
word-wrap:break-word;
|
||||
width:50%;
|
||||
}
|
||||
|
||||
@ -678,6 +679,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
{
|
||||
$person_met_details .= ($display_for_person_met != "" ? ' - ' . $display_for_person_met :'');
|
||||
}
|
||||
if(!empty($person['photo'])){
|
||||
echo '<p>'.$person_met_details.'</p>';
|
||||
|
||||
//if($display_for_person_met != "" || $display_for_person_met != null){
|
||||
@ -694,7 +696,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
echo '</tr>
|
||||
</tbody>
|
||||
</table>';
|
||||
//}
|
||||
}
|
||||
//echo count($person_met_data) != ($pk+1)? '<hr>':'';
|
||||
$ci = $person['compare_image'];
|
||||
if(!empty($ci)){
|
||||
@ -721,10 +723,9 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
echo '<table class="person_table" style="width:100%;" >
|
||||
<tr><td><img src="data:image/png;base64,'. $si["base64"].'" alt="'.$si["name"].'" width="50" height="50" align="left"></td>
|
||||
<td align="center">'.$symbol.'</td>
|
||||
<td><img src="data:image/png;base64,'. $ci_arr_value["base64"].'" alt="'.$ci_arr_value["name"].'" width="50" height="50" align="right"></td>
|
||||
<tr><td align="center" colspan="3"><p><span style="float:left;">Similarity</span>
|
||||
<span style="float:right; font-size: 20px;">'.$similarity.' %</span></p></td></tr>
|
||||
<tr><td align="center" colspan="3"><div style="width: 100% !important; "id="'. $progress_bar_class .'"></div></td></tr>
|
||||
<td><img src="data:image/png;base64,'. $ci_arr_value["base64"].'" alt="'.$ci_arr_value["name"].'" width="50" height="50" align="right"></td></tr>
|
||||
<tr><td colspan="3"><p><span style="float:left;">Similarity</span><span style="float:right; font-size: 20px;">'.$similarity.' %</span></p> </td></tr>
|
||||
<tr><td align="center" colspan="3"><br><div style="width: 100% !important; "id="'. $progress_bar_class .'"></div></td></tr>
|
||||
</table>';
|
||||
echo '</div></td>';
|
||||
//########################### End of Percentage Bar Section #########################################
|
||||
|
||||
@ -10,8 +10,9 @@ $loan_word = $pd_master_details[0]['lender_short_name'] != 'CFPL' ? 'Loan' : 'Fa
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
||||
<title></title>
|
||||
<link href="https://fonts.googleapis.com/css?family=Merriweather" rel="stylesheet">
|
||||
<style type="text/css">
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
|
||||
<style type="text/css">
|
||||
|
||||
|
||||
.page_break { page-break-before: always; }
|
||||
#page_break { page-break-before: always; }
|
||||
@ -459,7 +460,7 @@ $loan_word = $pd_master_details[0]['lender_short_name'] != 'CFPL' ? 'Loan' : 'Fa
|
||||
}
|
||||
|
||||
#ini_table td{
|
||||
word-wrap:break-word
|
||||
word-wrap:break-word;
|
||||
width:50%;
|
||||
}
|
||||
|
||||
@ -719,9 +720,8 @@ if ( isset($pdf) ) {
|
||||
{
|
||||
$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){
|
||||
if(!empty($person['photo'])){
|
||||
echo '<p>'.$person_met_details.'</p>';
|
||||
echo '<br>';
|
||||
echo '<table class="person_table">
|
||||
<tbody>
|
||||
@ -735,7 +735,7 @@ if ( isset($pdf) ) {
|
||||
echo '</tr>
|
||||
</tbody>
|
||||
</table>';
|
||||
//}
|
||||
}
|
||||
//echo count($person_met_data) != ($pk+1)? '<hr>':'';
|
||||
$ci = $person['compare_image'];
|
||||
if(!empty($ci)){
|
||||
@ -762,10 +762,9 @@ if ( isset($pdf) ) {
|
||||
echo '<table class="person_table" style="width:100%;" >
|
||||
<tr><td><img src="data:image/png;base64,'. $si["base64"].'" alt="'.$si["name"].'" width="50" height="50" align="left"></td>
|
||||
<td align="center">'.$symbol.'</td>
|
||||
<td><img src="data:image/png;base64,'. $ci_arr_value["base64"].'" alt="'.$ci_arr_value["name"].'" width="50" height="50" align="right"></td>
|
||||
<tr><td align="center" colspan="3"><p><span style="float:left;">Similarity</span>
|
||||
<span style="float:right; font-size: 20px;">'.$similarity.' %</span></p></td></tr>
|
||||
<tr><td align="center" colspan="3"><div style="width: 100% !important; "id="'. $progress_bar_class .'"></div></td></tr>
|
||||
<td><img src="data:image/png;base64,'. $ci_arr_value["base64"].'" alt="'.$ci_arr_value["name"].'" width="50" height="50" align="right"></td></tr>
|
||||
<tr><td colspan="3"><p><span style="float:left;">Similarity</span><span style="float:right; font-size: 20px;">'.$similarity.' %</span></p> </td></tr>
|
||||
<tr><td align="center" colspan="3"><br><div style="width: 100% !important; "id="'. $progress_bar_class .'"></div></td></tr>
|
||||
</table>';
|
||||
echo '</div></td>';
|
||||
//########################### End of Percentage Bar Section #########################################
|
||||
@ -776,7 +775,7 @@ if ( isset($pdf) ) {
|
||||
echo'</tbody></table>';
|
||||
}
|
||||
} // line 712 foreach closed here.
|
||||
echo '<br>';
|
||||
// echo '<br>';
|
||||
echo '</div>';
|
||||
?>
|
||||
|
||||
|
||||
@ -10,8 +10,9 @@ $loan_word = $pd_master_details[0]['lender_short_name'] != 'CFPL' ? 'Loan' : 'Fa
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
||||
<title></title>
|
||||
<link href="https://fonts.googleapis.com/css?family=Merriweather" rel="stylesheet">
|
||||
<style type="text/css">
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
|
||||
<style type="text/css">
|
||||
|
||||
|
||||
.page_break { page-break-before: always; }
|
||||
#page_break { page-break-before: always; }
|
||||
@ -716,6 +717,7 @@ if ( isset($pdf) ) {
|
||||
{
|
||||
$person_met_details .= ($display_for_person_met != "" ? ' - ' . $display_for_person_met :'');
|
||||
}
|
||||
if(!empty($person['photo'])){
|
||||
echo '<p>'.$person_met_details.'</p>';
|
||||
//if($display_for_person_met != "" || $display_for_person_met != null){
|
||||
echo '<br>';
|
||||
@ -731,7 +733,7 @@ if ( isset($pdf) ) {
|
||||
echo '</tr>
|
||||
</tbody>
|
||||
</table>';
|
||||
//}
|
||||
}
|
||||
//echo count($person_met_data) != ($pk+1)? '<hr>':'';
|
||||
$ci = $person['compare_image'];
|
||||
if(!empty($ci)){
|
||||
@ -754,16 +756,15 @@ if ( isset($pdf) ) {
|
||||
$progress_bar_class = 'rcorners_red';
|
||||
}
|
||||
//########################### Percentage Bar Section #########################################
|
||||
echo '<td><div style="border: 1px solid #000; margin: 1px;padding: 12px">';
|
||||
echo '<table class="person_table" style="width:100%;" >
|
||||
echo '<td><div style="border: 1px solid #000; margin: 1px;padding: 12px">';
|
||||
echo '<table class="person_table" style="width:100%;" >
|
||||
<tr><td><img src="data:image/png;base64,'. $si["base64"].'" alt="'.$si["name"].'" width="50" height="50" align="left"></td>
|
||||
<td align="center">'.$symbol.'</td>
|
||||
<td><img src="data:image/png;base64,'. $ci_arr_value["base64"].'" alt="'.$ci_arr_value["name"].'" width="50" height="50" align="right"></td>
|
||||
<tr><td align="center" colspan="3"><p><span style="float:left;">Similarity</span>
|
||||
<span style="float:right; font-size: 20px;">'.$similarity.' %</span></p></td></tr>
|
||||
<tr><td align="center" colspan="3"><div style="width: 100% !important; "id="'. $progress_bar_class .'"></div></td></tr>
|
||||
<td><img src="data:image/png;base64,'. $ci_arr_value["base64"].'" alt="'.$ci_arr_value["name"].'" width="50" height="50" align="right"></td></tr>
|
||||
<tr><td colspan="3"><p><span style="float:left;">Similarity</span><span style="float:right; font-size: 20px;">'.$similarity.' %</span></p> </td></tr>
|
||||
<tr><td align="center" colspan="3"><br><div style="width: 100% !important; "id="'. $progress_bar_class .'"></div></td></tr>
|
||||
</table>';
|
||||
echo '</div></td>';
|
||||
echo '</div></td>';
|
||||
//########################### End of Percentage Bar Section #########################################
|
||||
|
||||
}
|
||||
|
||||
@ -7,8 +7,9 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
||||
<title></title>
|
||||
<link href="https://fonts.googleapis.com/css?family=Merriweather" rel="stylesheet">
|
||||
<style type="text/css">
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
|
||||
<style type="text/css">
|
||||
|
||||
|
||||
.page_break { page-break-before: always; }
|
||||
#page_break { page-break-before: always; }
|
||||
@ -455,7 +456,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
}
|
||||
|
||||
#ini_table td{
|
||||
word-wrap:break-word
|
||||
word-wrap:break-word;
|
||||
width:50%;
|
||||
}
|
||||
|
||||
@ -677,13 +678,14 @@ 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;">';
|
||||
echo '<div>';
|
||||
foreach($person_met_data as $pk => $person)
|
||||
{
|
||||
$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 :'');
|
||||
if(!empty($person['photo'])){
|
||||
echo '<p>'.$person_met_details.'</p>';
|
||||
|
||||
//if($display_for_person_met != "" || $display_for_person_met != null){
|
||||
@ -700,7 +702,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
echo '</tr>
|
||||
</tbody>
|
||||
</table>';
|
||||
//}
|
||||
}
|
||||
//echo count($person_met_data) != ($pk+1)? '<hr>':'';
|
||||
$ci = $person['compare_image'];
|
||||
if(!empty($ci)){
|
||||
@ -723,14 +725,15 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
$progress_bar_class = 'rcorners_red';
|
||||
}
|
||||
//########################### Percentage Bar Section #########################################
|
||||
echo '<td> <div style="border: 1px solid #000; margin: 1px;padding: 12px">';
|
||||
echo '<div style="display: flex;"><img src="data:image/png;base64,'. $si["base64"].'" alt="'.$si["name"].'" width="50" height="50" align="left">
|
||||
'.$symbol.' <img src="data:image/png;base64,'. $ci_arr_value["base64"].'" alt="'.$ci_arr_value["name"].'" width="50" height="50" align="right"></div> ';
|
||||
echo '<p><span style="float:left;">Similarity</span>
|
||||
<span style="float:right; font-size: 20px;">'.$similarity.' %</span></p> <br><br>';
|
||||
echo '<div style="width: 100% !important; "id="'. $progress_bar_class .'"></div>
|
||||
</div></td>';
|
||||
$check_fc_table++;
|
||||
echo '<td><div style="border: 1px solid #000; margin: 1px;padding: 12px">';
|
||||
echo '<table class="person_table" style="width:100%;" >
|
||||
<tr><td><img src="data:image/png;base64,'. $si["base64"].'" alt="'.$si["name"].'" width="50" height="50" align="left"></td>
|
||||
<td align="center">'.$symbol.'</td>
|
||||
<td><img src="data:image/png;base64,'. $ci_arr_value["base64"].'" alt="'.$ci_arr_value["name"].'" width="50" height="50" align="right"></td></tr>
|
||||
<tr><td colspan="3"><p><span style="float:left;">Similarity</span><span style="float:right; font-size: 20px;">'.$similarity.' %</span></p> </td></tr>
|
||||
<tr><td align="center" colspan="3"><br><div style="width: 100% !important; "id="'. $progress_bar_class .'"></div></td></tr>
|
||||
</table>';
|
||||
echo '</div></td>';
|
||||
//########################### End of Percentage Bar Section #########################################
|
||||
|
||||
}
|
||||
@ -738,7 +741,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
}
|
||||
echo'</tbody></table>';
|
||||
}
|
||||
} // line 711 foreach closed here.
|
||||
} // line 680 foreach closed here.
|
||||
echo '<br>';
|
||||
echo '</div>';
|
||||
?>
|
||||
|
||||
@ -7,8 +7,9 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
||||
<title></title>
|
||||
<link href="https://fonts.googleapis.com/css?family=Merriweather" rel="stylesheet">
|
||||
<style type="text/css">
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
|
||||
<style type="text/css">
|
||||
|
||||
|
||||
.page_break { page-break-before: always; }
|
||||
#page_break { page-break-before: always; }
|
||||
@ -455,7 +456,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
}
|
||||
|
||||
#ini_table td{
|
||||
word-wrap:break-word
|
||||
word-wrap:break-word;
|
||||
width:50%;
|
||||
}
|
||||
|
||||
@ -676,13 +677,14 @@ 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;">';
|
||||
echo '<div>';
|
||||
foreach($person_met_data as $pk => $person)
|
||||
{
|
||||
$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 :'');
|
||||
if(!empty($person['photo'])){
|
||||
echo '<p>'.$person_met_details.'</p>';
|
||||
|
||||
//if($display_for_person_met != "" || $display_for_person_met != null){
|
||||
@ -699,7 +701,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
echo '</tr>
|
||||
</tbody>
|
||||
</table>';
|
||||
//}
|
||||
}
|
||||
//echo count($person_met_data) != ($pk+1)? '<hr>':'';
|
||||
$ci = $person['compare_image'];
|
||||
if(!empty($ci)){
|
||||
@ -722,14 +724,15 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
$progress_bar_class = 'rcorners_red';
|
||||
}
|
||||
//########################### Percentage Bar Section #########################################
|
||||
echo '<td> <div style="border: 1px solid #000; margin: 1px;padding: 12px">';
|
||||
echo '<div style="display: flex;"><img src="data:image/png;base64,'. $si["base64"].'" alt="'.$si["name"].'" width="50" height="50" align="left">
|
||||
'.$symbol.' <img src="data:image/png;base64,'. $ci_arr_value["base64"].'" alt="'.$ci_arr_value["name"].'" width="50" height="50" align="right"></div> ';
|
||||
echo '<p><span style="float:left;">Similarity</span>
|
||||
<span style="float:right; font-size: 20px;">'.$similarity.' %</span></p> <br><br>';
|
||||
echo '<div style="width: 100% !important; "id="'. $progress_bar_class .'"></div>
|
||||
</div></td>';
|
||||
$check_fc_table++;
|
||||
echo '<td><div style="border: 1px solid #000; margin: 1px;padding: 12px">';
|
||||
echo '<table class="person_table" style="width:100%;" >
|
||||
<tr><td><img src="data:image/png;base64,'. $si["base64"].'" alt="'.$si["name"].'" width="50" height="50" align="left"></td>
|
||||
<td align="center">'.$symbol.'</td>
|
||||
<td><img src="data:image/png;base64,'. $ci_arr_value["base64"].'" alt="'.$ci_arr_value["name"].'" width="50" height="50" align="right"></td></tr>
|
||||
<tr><td colspan="3"><p><span style="float:left;">Similarity</span><span style="float:right; font-size: 20px;">'.$similarity.' %</span></p> </td></tr>
|
||||
<tr><td align="center" colspan="3"><br><div style="width: 100% !important; "id="'. $progress_bar_class .'"></div></td></tr>
|
||||
</table>';
|
||||
echo '</div></td>';
|
||||
//########################### End of Percentage Bar Section #########################################
|
||||
|
||||
}
|
||||
@ -737,7 +740,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
}
|
||||
echo'</tbody></table>';
|
||||
}
|
||||
} // line 711 foreach closed here.
|
||||
} // line 679 foreach closed here.
|
||||
echo '<br>';
|
||||
echo '</div>';
|
||||
?>
|
||||
|
||||
@ -7,8 +7,9 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
||||
<title></title>
|
||||
<link href="https://fonts.googleapis.com/css?family=Merriweather" rel="stylesheet">
|
||||
<style type="text/css">
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
|
||||
<style type="text/css">
|
||||
|
||||
|
||||
.page_break { page-break-before: always; }
|
||||
#page_break { page-break-before: always; }
|
||||
@ -455,7 +456,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
}
|
||||
|
||||
#ini_table td{
|
||||
word-wrap:break-word
|
||||
word-wrap:break-word;
|
||||
width:50%;
|
||||
}
|
||||
|
||||
@ -678,13 +679,14 @@ 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;">';
|
||||
echo '<div>';
|
||||
foreach($person_met_data as $pk => $person)
|
||||
{
|
||||
$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 :'');
|
||||
if(!empty($person['photo'])){
|
||||
echo '<p>'.$person_met_details.'</p>';
|
||||
|
||||
//if($display_for_person_met != "" || $display_for_person_met != null){
|
||||
@ -701,7 +703,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
echo '</tr>
|
||||
</tbody>
|
||||
</table>';
|
||||
//}
|
||||
}
|
||||
//echo count($person_met_data) != ($pk+1)? '<hr>':'';
|
||||
$ci = $person['compare_image'];
|
||||
if(!empty($ci)){
|
||||
@ -724,14 +726,15 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
$progress_bar_class = 'rcorners_red';
|
||||
}
|
||||
//########################### Percentage Bar Section #########################################
|
||||
echo '<td> <div style="border: 1px solid #000; margin: 1px;padding: 12px">';
|
||||
echo '<div style="display: flex;"><img src="data:image/png;base64,'. $si["base64"].'" alt="'.$si["name"].'" width="50" height="50" align="left">
|
||||
'.$symbol.' <img src="data:image/png;base64,'. $ci_arr_value["base64"].'" alt="'.$ci_arr_value["name"].'" width="50" height="50" align="right"></div> ';
|
||||
echo '<p><span style="float:left;">Similarity</span>
|
||||
<span style="float:right; font-size: 20px;">'.$similarity.' %</span></p> <br><br>';
|
||||
echo '<div style="width: 100% !important; "id="'. $progress_bar_class .'"></div>
|
||||
</div></td>';
|
||||
$check_fc_table++;
|
||||
echo '<td><div style="border: 1px solid #000; margin: 1px;padding: 12px">';
|
||||
echo '<table class="person_table" style="width:100%;" >
|
||||
<tr><td><img src="data:image/png;base64,'. $si["base64"].'" alt="'.$si["name"].'" width="50" height="50" align="left"></td>
|
||||
<td align="center">'.$symbol.'</td>
|
||||
<td><img src="data:image/png;base64,'. $ci_arr_value["base64"].'" alt="'.$ci_arr_value["name"].'" width="50" height="50" align="right"></td></tr>
|
||||
<tr><td colspan="3"><p><span style="float:left;">Similarity</span><span style="float:right; font-size: 20px;">'.$similarity.' %</span></p> </td></tr>
|
||||
<tr><td align="center" colspan="3"><br><div style="width: 100% !important; "id="'. $progress_bar_class .'"></div></td></tr>
|
||||
</table>';
|
||||
echo '</div></td>';
|
||||
//########################### End of Percentage Bar Section #########################################
|
||||
|
||||
}
|
||||
@ -739,7 +742,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
}
|
||||
echo'</tbody></table>';
|
||||
}
|
||||
} // line 711 foreach closed here.
|
||||
} // line 681 foreach closed here.
|
||||
echo '<br>';
|
||||
echo '</div>';
|
||||
?>
|
||||
|
||||
@ -7,8 +7,8 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
||||
<title></title>
|
||||
<link href="https://fonts.googleapis.com/css?family=Merriweather" rel="stylesheet">
|
||||
<style type="text/css">
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
|
||||
<style type="text/css">
|
||||
|
||||
.page_break { page-break-before: always; }
|
||||
#page_break { page-break-before: always; }
|
||||
@ -454,7 +454,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
}
|
||||
|
||||
#ini_table td{
|
||||
word-wrap:break-word
|
||||
word-wrap:break-word;
|
||||
width:50%;
|
||||
}
|
||||
|
||||
@ -465,12 +465,11 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
padding: 5px;
|
||||
/*margin: 10px;*/
|
||||
}
|
||||
.facecrop { box-sizing: border-box; }
|
||||
.facecrop_row { display: flex; }
|
||||
/* Create three equal columns that sits next to each other */
|
||||
.facecrop_column { flex: 33.33%; padding: 5px;}
|
||||
/* ######### TOOLTIP CSS END ######### */
|
||||
|
||||
/* #########Person Met,FaceCrop Table Styles######### */
|
||||
.person_table { border-collapse: collapse; width: 100%; page-break-inside: avoid; }
|
||||
.person_table td { padding: 8px; }
|
||||
/* #########End of Person Met,FaceCrop Table Styles######### */
|
||||
|
||||
</style>
|
||||
<script type="text/javascript">
|
||||
@ -594,6 +593,17 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
$temp_person_met['photo'] = '';
|
||||
$temp_person_met['id_proof'] = '';
|
||||
$temp_person_met['face_compare'] = '';
|
||||
$temp_person_met['compare_image'] = '';
|
||||
if(!empty($facecrop)){
|
||||
foreach($facecrop as $fc_key => $fc_value)
|
||||
{
|
||||
if($fc_value['co_applicant_id'] == $individual['pd_co_applicant_id']){
|
||||
$temp_person_met['compare_image'] = $fc_value['compare_image'] ;
|
||||
$temp_person_met['source_image'] = $fc_value['source_image'] ;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
foreach($pd_images[18] as $pm_Key => $pm_value)
|
||||
{
|
||||
if( !strcasecmp(trim($applicant_name),trim($pm_value['pd_document_title'])) )
|
||||
@ -664,91 +674,80 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
if(count($person_met_data))
|
||||
{
|
||||
echo '<p><strong>Person(s) Met:</strong> </p>';
|
||||
//echo '<div style="border: 1px solid #0191ed;">';
|
||||
|
||||
echo '<div>';
|
||||
foreach($person_met_data as $pk => $person)
|
||||
{
|
||||
$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 :'');
|
||||
if(!empty($person['photo'])){
|
||||
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>';
|
||||
}
|
||||
$faceimage_url = array();
|
||||
for ($i = 0; $i < count($all_applicant_details); $i++) {
|
||||
if($all_applicant_details[$j]['facemark_image_generated'] == 1){
|
||||
$faceimage_url = $com_value['doc_url'];
|
||||
break;
|
||||
}
|
||||
}
|
||||
if(!empty($faceimage_url)){
|
||||
for ($i = 0; $i < count($faceimage_url); $i++) {
|
||||
echo ' ';
|
||||
echo '<img src="'.$faceimage_url[$i].'" width="300" height="200" alt=""/>';
|
||||
}
|
||||
}
|
||||
?>
|
||||
<?php
|
||||
if(!empty($facecrop)){
|
||||
for ($fc = 0; $fc < count($facecrop); $fc++) {
|
||||
$fc_arr = $facecrop[$fc];
|
||||
$ci = !empty($fc_arr[0]['compare_image']) ? $fc_arr[0]['compare_image'] :array() ;
|
||||
$si = !empty($fc_arr[1]['source_image']) ? $fc_arr[1]['source_image'] : array();
|
||||
|
||||
// ########################### Percentage Bar Section #########################################
|
||||
echo "<h3>Face Comparison</h3>" ;
|
||||
$notequal_mark ='<span style="font-family: DejaVu Sans; sans-serif;"><center>≠</center></span>';
|
||||
$equal_mark ='<span style="font-family: DejaVu Sans; sans-serif;"><center>=</center></span>';
|
||||
for ($i = 0; $i < count($ci); $i++) {
|
||||
$similarity = round($ci[$i]["Similarity"]);
|
||||
$symbol = ($similarity > 50) ? '<center><h1>'.$equal_mark.'</h1></center>': '<center><h1>'.$notequal_mark.'</h1></center>';
|
||||
if ($similarity > 80) { // above 81 green
|
||||
$progress_bar_class = 'rcorners_green';
|
||||
} else if ($similarity <= 80 && $similarity > 60) { // in between 61 to 80 orange
|
||||
$progress_bar_class = 'rcorners_amber';
|
||||
} else if ($similarity <= 60) { // below 60 red
|
||||
$progress_bar_class = 'rcorners_red';
|
||||
}
|
||||
echo '<div class="facecrop_row facecrop">
|
||||
<div class="facecrop_column">
|
||||
<img src="data:image/png;base64,'. $si["base64"].'" alt="'.$si["name"].'" width="50" height="50" align="left">
|
||||
</div>
|
||||
<div class="facecrop_column">'.$symbol.'</div>
|
||||
<div class="facecrop_column">
|
||||
<img src="data:image/png;base64,'. $ci[$i]["base64"].'" alt="'.$ci[$i]["name"].'" width="50" height="50" align="right">
|
||||
</div>
|
||||
</div>';
|
||||
echo'<div style="width: 100%; padding: 0; margin: 7px 0 0 0;">
|
||||
<span style="float: left;">Similarity</span>
|
||||
<span style="float: right;">'.$similarity.' %</span>
|
||||
<div style="clear:both;"></div>
|
||||
</div>';
|
||||
echo '<div style="width: 100% !important; "id="'. $progress_bar_class .'"></div><br>';
|
||||
|
||||
echo '<br>';
|
||||
echo '<table class="person_table">
|
||||
<tbody>
|
||||
<tr>';
|
||||
if($person['photo']){ echo '<td class="customtd"> <img src="'.$person['photo'].'" width="300" height="200" alt=""/> </td>'; }
|
||||
if($person['id_proof']){echo '<td class="customtd"> <img src="'.$person['id_proof'].'" width="300" height="200" alt=""/> </td>'; }
|
||||
echo '</tr>
|
||||
<tr>';
|
||||
if($person['photo']){ echo '<td class="customtd"> '.$person['name'].' Selfie Image </td>'; }
|
||||
if($person['id_proof']){ echo '<td class="customtd"> '.$person['name'].' ID Proof </td>'; }
|
||||
echo '</tr>
|
||||
</tbody>
|
||||
</table>';
|
||||
}
|
||||
// ########################### End of Percentage Bar Section #########################################
|
||||
}
|
||||
}
|
||||
?>
|
||||
//echo count($person_met_data) != ($pk+1)? '<hr>':'';
|
||||
$ci = $person['compare_image'];
|
||||
if(!empty($ci)){
|
||||
$si = $person['source_image'];
|
||||
$notequal_mark ='<span style="font-family: DejaVu Sans; sans-serif;">≠</span>';
|
||||
$equal_mark ='<span style="font-family: DejaVu Sans; sans-serif;">=</span>';
|
||||
echo "<h3>Face Comparison : </h3>";
|
||||
echo '<table class="person_table" style="width:80%;margin-left: auto;margin-right: auto;"><tbody>';
|
||||
$check_fc_table = 0;
|
||||
foreach (array_chunk($ci, 2) as $row) {
|
||||
echo '<tr>';
|
||||
foreach ($row as $ci_arr_value) {
|
||||
$similarity = round($ci_arr_value["Similarity"]);
|
||||
$symbol = ($similarity > 50) ? $equal_mark : $notequal_mark;
|
||||
if ($similarity > 80) { // above 81 green
|
||||
$progress_bar_class = 'rcorners_green';
|
||||
} else if ($similarity <= 80 && $similarity > 60) { // in between 61 to 80 orange
|
||||
$progress_bar_class = 'rcorners_amber';
|
||||
} else if ($similarity <= 60) { // below 60 red
|
||||
$progress_bar_class = 'rcorners_red';
|
||||
}
|
||||
//########################### Percentage Bar Section #########################################
|
||||
echo '<td><div style="border: 1px solid #000; margin: 1px;padding: 12px">';
|
||||
echo '<table class="person_table" style="width:100%;" >
|
||||
<tr><td><img src="data:image/png;base64,'. $si["base64"].'" alt="'.$si["name"].'" width="50" height="50" align="left"></td>
|
||||
<td align="center">'.$symbol.'</td>
|
||||
<td><img src="data:image/png;base64,'. $ci_arr_value["base64"].'" alt="'.$ci_arr_value["name"].'" width="50" height="50" align="right"></td></tr>
|
||||
<tr><td colspan="3"><p><span style="float:left;">Similarity</span><span style="float:right; font-size: 20px;">'.$similarity.' %</span></p> </td></tr>
|
||||
<tr><td align="center" colspan="3"><br><div style="width: 100% !important; "id="'. $progress_bar_class .'"></div></td></tr>
|
||||
</table>';
|
||||
echo '</div></td>';
|
||||
//########################### End of Percentage Bar Section #########################################
|
||||
|
||||
}
|
||||
echo '</tr>';
|
||||
}
|
||||
echo'</tbody></table>';
|
||||
}
|
||||
} // line 709 foreach closed here.
|
||||
echo '<br>';
|
||||
echo '</div>';
|
||||
}
|
||||
|
||||
|
||||
// if($all_applicant_details[$j]['facemark_image_generated'] == 1)
|
||||
|
||||
|
||||
|
||||
?>
|
||||
|
||||
<!-- <br> -->
|
||||
|
||||
<p contenteditable="true"><b>Loan Applicants:</b></p>
|
||||
|
||||
@ -7,8 +7,9 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
||||
<title></title>
|
||||
<link href="https://fonts.googleapis.com/css?family=Merriweather" rel="stylesheet">
|
||||
<style type="text/css">
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
|
||||
<style type="text/css">
|
||||
|
||||
|
||||
.page_break { page-break-before: always; }
|
||||
#page_break { page-break-before: always; }
|
||||
@ -454,7 +455,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
}
|
||||
|
||||
#ini_table td{
|
||||
word-wrap:break-word
|
||||
word-wrap:break-word;
|
||||
width:50%;
|
||||
}
|
||||
|
||||
@ -472,11 +473,15 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
font-size: 14px;
|
||||
font-weight: bolder;;
|
||||
}
|
||||
.facecrop { box-sizing: border-box; }
|
||||
.facecrop_row { display: flex; }
|
||||
/* .facecrop { box-sizing: border-box; }
|
||||
.facecrop_row { display: flex; } */
|
||||
/* Create three equal columns that sits next to each other */
|
||||
.facecrop_column { flex: 33.33%; padding: 5px;}
|
||||
/* .facecrop_column { flex: 33.33%; padding: 5px;} */
|
||||
/* ######### TOOLTIP CSS END ######### */
|
||||
/* #########Person Met,FaceCrop Table Styles######### */
|
||||
.person_table { border-collapse: collapse; width: 100%; page-break-inside: avoid; }
|
||||
.person_table td { padding: 8px; }
|
||||
/* #########End of Person Met,FaceCrop Table Styles######### */
|
||||
|
||||
|
||||
</style>
|
||||
@ -601,6 +606,17 @@ font-weight: bolder;;
|
||||
$temp_person_met['photo'] = '';
|
||||
$temp_person_met['id_proof'] = '';
|
||||
$temp_person_met['face_compare'] = '';
|
||||
$temp_person_met['compare_image'] = '';
|
||||
if(!empty($facecrop)){
|
||||
foreach($facecrop as $fc_key => $fc_value)
|
||||
{
|
||||
if($fc_value['co_applicant_id'] == $individual['pd_co_applicant_id']){
|
||||
$temp_person_met['compare_image'] = $fc_value['compare_image'] ;
|
||||
$temp_person_met['source_image'] = $fc_value['source_image'] ;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
foreach($pd_images[18] as $pm_Key => $pm_value)
|
||||
{
|
||||
if( !strcasecmp(trim($applicant_name),trim($pm_value['pd_document_title'])) )
|
||||
@ -671,100 +687,74 @@ font-weight: bolder;;
|
||||
if(count($person_met_data))
|
||||
{
|
||||
echo '<p><strong>Person(s) Met:</strong> </p>';
|
||||
//echo '<div style="border: 1px solid #0191ed;">';
|
||||
|
||||
echo '<div>';
|
||||
foreach($person_met_data as $pk => $person)
|
||||
{
|
||||
$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 :'');
|
||||
$person_met_details .= ($display_for_person_met != "" ? ' - ' . $display_for_person_met :'');
|
||||
if(!empty($person['photo'])){
|
||||
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 '<br>';
|
||||
echo '<table class="person_table">
|
||||
<tbody>
|
||||
<tr>';
|
||||
if($person['photo']){ echo '<td class="customtd"> <img src="'.$person['photo'].'" width="300" height="200" alt=""/> </td>'; }
|
||||
if($person['id_proof']){echo '<td class="customtd"> <img src="'.$person['id_proof'].'" width="300" height="200" alt=""/> </td>'; }
|
||||
echo '</tr>
|
||||
<tr>';
|
||||
if($person['photo']){ echo '<td class="customtd"> '.$person['name'].' Selfie Image </td>'; }
|
||||
if($person['id_proof']){ echo '<td class="customtd"> '.$person['name'].' ID Proof </td>'; }
|
||||
echo '</tr>
|
||||
</tbody>
|
||||
</table>';
|
||||
}
|
||||
echo ' ';
|
||||
if($person['id_proof'])
|
||||
{
|
||||
echo '<img src="'.$person['id_proof'].'" width="300" height="200" alt=""/>';
|
||||
}
|
||||
if($person['face_compare'])
|
||||
{
|
||||
echo ' ';
|
||||
echo '<img src="'.$person['face_compare'].'" width="300" height="200" alt=""/>';
|
||||
}
|
||||
|
||||
|
||||
//echo count($person_met_data) != ($pk+1)? '<hr>':'';
|
||||
|
||||
|
||||
}
|
||||
//echo '</div>';
|
||||
}
|
||||
$faceimage_url = array();
|
||||
for ($i = 0; $i < count($all_applicant_details); $i++) {
|
||||
if($all_applicant_details[$j]['facemark_image_generated'] == 1){
|
||||
$faceimage_url = $com_value['doc_url'];
|
||||
break;
|
||||
}
|
||||
}
|
||||
if(!empty($faceimage_url)){
|
||||
for ($i = 0; $i < count($faceimage_url); $i++) {
|
||||
echo ' ';
|
||||
echo '<img src="'.$faceimage_url[$i].'" width="300" height="200" alt=""/>';
|
||||
}
|
||||
$ci = $person['compare_image'];
|
||||
if(!empty($ci)){
|
||||
$si = $person['source_image'];
|
||||
$notequal_mark ='<span style="font-family: DejaVu Sans; sans-serif;">≠</span>';
|
||||
$equal_mark ='<span style="font-family: DejaVu Sans; sans-serif;">=</span>';
|
||||
echo "<h3>Face Comparison : </h3>";
|
||||
echo '<table class="person_table" style="width:80%;margin-left: auto;margin-right: auto;"><tbody>';
|
||||
$check_fc_table = 0;
|
||||
foreach (array_chunk($ci, 2) as $row) {
|
||||
echo '<tr>';
|
||||
foreach ($row as $ci_arr_value) {
|
||||
$similarity = round($ci_arr_value["Similarity"]);
|
||||
$symbol = ($similarity > 50) ? $equal_mark : $notequal_mark;
|
||||
if ($similarity > 80) { // above 81 green
|
||||
$progress_bar_class = 'rcorners_green';
|
||||
} else if ($similarity <= 80 && $similarity > 60) { // in between 61 to 80 orange
|
||||
$progress_bar_class = 'rcorners_amber';
|
||||
} else if ($similarity <= 60) { // below 60 red
|
||||
$progress_bar_class = 'rcorners_red';
|
||||
}
|
||||
//########################### Percentage Bar Section #########################################
|
||||
echo '<td><div style="border: 1px solid #000; margin: 1px;padding: 12px">';
|
||||
echo '<table class="person_table" style="width:100%;" >
|
||||
<tr><td><img src="data:image/png;base64,'. $si["base64"].'" alt="'.$si["name"].'" width="50" height="50" align="left"></td>
|
||||
<td align="center">'.$symbol.'</td>
|
||||
<td><img src="data:image/png;base64,'. $ci_arr_value["base64"].'" alt="'.$ci_arr_value["name"].'" width="50" height="50" align="right"></td></tr>
|
||||
<tr><td colspan="3"><p><span style="float:left;">Similarity</span><span style="float:right; font-size: 20px;">'.$similarity.' %</span></p> </td></tr>
|
||||
<tr><td align="center" colspan="3"><br><div style="width: 100% !important; "id="'. $progress_bar_class .'"></div></td></tr>
|
||||
</table>';
|
||||
echo '</div></td>';
|
||||
//########################### End of Percentage Bar Section #########################################
|
||||
|
||||
}
|
||||
echo '</tr>';
|
||||
}
|
||||
echo'</tbody></table>';
|
||||
}
|
||||
} // line 676 foreach closed here.
|
||||
echo '</div>';
|
||||
}
|
||||
echo '<br>';
|
||||
?>
|
||||
<?php
|
||||
if(!empty($facecrop)){
|
||||
for ($fc = 0; $fc < count($facecrop); $fc++) {
|
||||
$fc_arr = $facecrop[$fc];
|
||||
$ci = !empty($fc_arr[0]['compare_image']) ? $fc_arr[0]['compare_image'] :array() ;
|
||||
$si = !empty($fc_arr[1]['source_image']) ? $fc_arr[1]['source_image'] : array();
|
||||
|
||||
// ########################### Percentage Bar Section #########################################
|
||||
echo "<h3>Face Comparison</h3>" ;
|
||||
$notequal_mark ='<span style="font-family: DejaVu Sans; sans-serif;"><center>≠</center></span>';
|
||||
$equal_mark ='<span style="font-family: DejaVu Sans; sans-serif;"><center>=</center></span>';
|
||||
for ($i = 0; $i < count($ci); $i++) {
|
||||
$similarity = round($ci[$i]["Similarity"]);
|
||||
$symbol = ($similarity > 50) ? '<center><h1>'.$equal_mark.'</h1></center>': '<center><h1>'.$notequal_mark.'</h1></center>';
|
||||
$similarity = round($ci[$i]["Similarity"]);
|
||||
if ($similarity > 80) { // above 81 green
|
||||
$progress_bar_class = 'rcorners_green';
|
||||
} else if ($similarity <= 80 && $similarity > 60) { // in between 61 to 80 orange
|
||||
$progress_bar_class = 'rcorners_amber';
|
||||
} else if ($similarity <= 60) { // below 60 red
|
||||
$progress_bar_class = 'rcorners_red';
|
||||
}
|
||||
echo '<div class="facecrop_row facecrop">
|
||||
<div class="facecrop_column">
|
||||
<img src="data:image/png;base64,'. $si["base64"].'" alt="'.$si["name"].'" width="50" height="50" align="left">
|
||||
</div>
|
||||
<div class="facecrop_column">'.$symbol.'</div>
|
||||
<div class="facecrop_column">
|
||||
<img src="data:image/png;base64,'. $ci[$i]["base64"].'" alt="'.$ci[$i]["name"].'" width="50" height="50" align="right">
|
||||
</div>
|
||||
</div>';
|
||||
|
||||
echo'<div style="width: 100%; padding: 0; margin: 7px 0 0 0;">
|
||||
<span style="float: left;">Similarity</span>
|
||||
<span style="float: right;">'.$similarity.' %</span>
|
||||
<div style="clear:both;"></div>
|
||||
</div>';
|
||||
echo '<div style="width: 100% !important; "id="'. $progress_bar_class .'"></div><br>';
|
||||
|
||||
}
|
||||
// ########################### End of Percentage Bar Section #########################################
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
||||
|
||||
<!-- <br> -->
|
||||
|
||||
|
||||
@ -7,8 +7,9 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
||||
<title></title>
|
||||
<link href="https://fonts.googleapis.com/css?family=Merriweather" rel="stylesheet">
|
||||
<style type="text/css">
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
|
||||
<style type="text/css">
|
||||
|
||||
|
||||
.page_break { page-break-before: always; }
|
||||
#page_break { page-break-before: always; }
|
||||
@ -454,7 +455,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
}
|
||||
|
||||
#ini_table td{
|
||||
word-wrap:break-word
|
||||
word-wrap:break-word;
|
||||
width:50%;
|
||||
}
|
||||
|
||||
@ -465,12 +466,12 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
padding: 5px;
|
||||
/*margin: 10px;*/
|
||||
}
|
||||
.facecrop { box-sizing: border-box; }
|
||||
.facecrop_row { display: flex; }
|
||||
/* Create three equal columns that sits next to each other */
|
||||
.facecrop_column { flex: 33.33%; padding: 5px;}
|
||||
/* ######### TOOLTIP CSS END ######### */
|
||||
|
||||
/* ######### TOOLTIP CSS END ######### */
|
||||
/* #########Person Met,FaceCrop Table Styles######### */
|
||||
.person_table { border-collapse: collapse; width: 100%; page-break-inside: avoid; }
|
||||
.person_table td { padding: 8px; }
|
||||
/* #########End of Person Met,FaceCrop Table Styles######### */
|
||||
|
||||
</style>
|
||||
<script type="text/javascript">
|
||||
@ -595,6 +596,17 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
$temp_person_met['photo'] = '';
|
||||
$temp_person_met['id_proof'] = '';
|
||||
$temp_person_met['face_compare'] = '';
|
||||
$temp_person_met['compare_image'] = '';
|
||||
if(!empty($facecrop)){
|
||||
foreach($facecrop as $fc_key => $fc_value)
|
||||
{
|
||||
if($fc_value['co_applicant_id'] == $individual['pd_co_applicant_id']){
|
||||
$temp_person_met['compare_image'] = $fc_value['compare_image'] ;
|
||||
$temp_person_met['source_image'] = $fc_value['source_image'] ;
|
||||
}
|
||||
|
||||
}
|
||||
};
|
||||
foreach($pd_images[18] as $pm_Key => $pm_value)
|
||||
{
|
||||
if( !strcasecmp(trim($applicant_name),trim($pm_value['pd_document_title'])) )
|
||||
@ -665,99 +677,73 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
if(count($person_met_data))
|
||||
{
|
||||
echo '<p><strong>Person Contacted:</strong> </p>';
|
||||
echo '<div style="border: 1px solid #0191ed;">';
|
||||
|
||||
echo '<div>';
|
||||
foreach($person_met_data as $pk => $person)
|
||||
{
|
||||
$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 :'');
|
||||
if(!empty($person['photo'])){
|
||||
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 '<br>';
|
||||
echo '<table class="person_table">
|
||||
<tbody>
|
||||
<tr>';
|
||||
if($person['photo']){ echo '<td class="customtd"> <img src="'.$person['photo'].'" width="300" height="200" alt=""/> </td>'; }
|
||||
if($person['id_proof']){echo '<td class="customtd"> <img src="'.$person['id_proof'].'" width="300" height="200" alt=""/> </td>'; }
|
||||
echo '</tr>
|
||||
<tr>';
|
||||
if($person['photo']){ echo '<td class="customtd"> '.$person['name'].' Selfie Image </td>'; }
|
||||
if($person['id_proof']){ echo '<td class="customtd"> '.$person['name'].' ID Proof </td>'; }
|
||||
echo '</tr>
|
||||
</tbody>
|
||||
</table>';
|
||||
}
|
||||
echo ' ';
|
||||
if($person['id_proof'])
|
||||
{
|
||||
echo '<img src="'.$person['id_proof'].'" width="300" height="200" alt=""/>';
|
||||
}
|
||||
if($person['face_compare'])
|
||||
{
|
||||
echo ' ';
|
||||
echo '<img src="'.$person['face_compare'].'" width="300" height="200" alt=""/>';
|
||||
}
|
||||
|
||||
|
||||
//echo count($person_met_data) != ($pk+1)? '<hr>':'';
|
||||
|
||||
|
||||
}
|
||||
$faceimage_url = array();
|
||||
for ($i = 0; $i < count($all_applicant_details); $i++) {
|
||||
if($all_applicant_details[$j]['facemark_image_generated'] == 1){
|
||||
$faceimage_url = $com_value['doc_url'];
|
||||
break;
|
||||
}
|
||||
}
|
||||
if(!empty($faceimage_url)){
|
||||
for ($i = 0; $i < count($faceimage_url); $i++) {
|
||||
echo ' ';
|
||||
echo '<img src="'.$faceimage_url[$i].'" width="300" height="200" alt=""/>';
|
||||
}
|
||||
}
|
||||
echo '</div>';
|
||||
$ci = $person['compare_image'];
|
||||
if(!empty($ci)){
|
||||
$si = $person['source_image'];
|
||||
$notequal_mark ='<span style="font-family: DejaVu Sans; sans-serif;">≠</span>';
|
||||
$equal_mark ='<span style="font-family: DejaVu Sans; sans-serif;">=</span>';
|
||||
echo "<h3>Face Comparison : </h3>";
|
||||
echo '<table class="person_table" style="width:80%;margin-left: auto;margin-right: auto;"><tbody>';
|
||||
$check_fc_table = 0;
|
||||
foreach (array_chunk($ci, 2) as $row) {
|
||||
echo '<tr>';
|
||||
foreach ($row as $ci_arr_value) {
|
||||
$similarity = round($ci_arr_value["Similarity"]);
|
||||
$symbol = ($similarity > 50) ? $equal_mark : $notequal_mark;
|
||||
if ($similarity > 80) { // above 81 green
|
||||
$progress_bar_class = 'rcorners_green';
|
||||
} else if ($similarity <= 80 && $similarity > 60) { // in between 61 to 80 orange
|
||||
$progress_bar_class = 'rcorners_amber';
|
||||
} else if ($similarity <= 60) { // below 60 red
|
||||
$progress_bar_class = 'rcorners_red';
|
||||
}
|
||||
//########################### Percentage Bar Section #########################################
|
||||
echo '<td><div style="border: 1px solid #000; margin: 1px;padding: 12px">';
|
||||
echo '<table class="person_table" style="width:100%;" >
|
||||
<tr><td><img src="data:image/png;base64,'. $si["base64"].'" alt="'.$si["name"].'" width="50" height="50" align="left"></td>
|
||||
<td align="center">'.$symbol.'</td>
|
||||
<td><img src="data:image/png;base64,'. $ci_arr_value["base64"].'" alt="'.$ci_arr_value["name"].'" width="50" height="50" align="right"></td></tr>
|
||||
<tr><td colspan="3"><p><span style="float:left;">Similarity</span><span style="float:right; font-size: 20px;">'.$similarity.' %</span></p> </td></tr>
|
||||
<tr><td align="center" colspan="3"><br><div style="width: 100% !important; "id="'. $progress_bar_class .'"></div></td></tr>
|
||||
</table>';
|
||||
echo '</div></td>';
|
||||
//########################### End of Percentage Bar Section #########################################
|
||||
|
||||
}
|
||||
echo '</tr>';
|
||||
}
|
||||
echo'</tbody></table>';
|
||||
}
|
||||
} // line 669 foreach closed here.
|
||||
echo '</div>';
|
||||
}
|
||||
echo '<br>';
|
||||
?>
|
||||
<?php
|
||||
if(!empty($facecrop)){
|
||||
for ($fc = 0; $fc < count($facecrop); $fc++) {
|
||||
$fc_arr = $facecrop[$fc];
|
||||
$ci = !empty($fc_arr[0]['compare_image']) ? $fc_arr[0]['compare_image'] :array() ;
|
||||
$si = !empty($fc_arr[1]['source_image']) ? $fc_arr[1]['source_image'] : array();
|
||||
|
||||
// ########################### Percentage Bar Section #########################################
|
||||
echo "<h3>Face Comparison</h3>" ;
|
||||
$notequal_mark ='<span style="font-family: DejaVu Sans; sans-serif;"><center>≠</center></span>';
|
||||
$equal_mark ='<span style="font-family: DejaVu Sans; sans-serif;"><center>=</center></span>';
|
||||
for ($i = 0; $i < count($ci); $i++) {
|
||||
$similarity = round($ci[$i]["Similarity"]);
|
||||
$symbol = ($similarity > 50) ? '<center><h1>'.$equal_mark.'</h1></center>': '<center><h1>'.$notequal_mark.'</h1></center>';
|
||||
if ($similarity > 80) { // above 81 green
|
||||
$progress_bar_class = 'rcorners_green';
|
||||
} else if ($similarity <= 80 && $similarity > 60) { // in between 61 to 80 orange
|
||||
$progress_bar_class = 'rcorners_amber';
|
||||
} else if ($similarity <= 60) { // below 60 red
|
||||
$progress_bar_class = 'rcorners_red';
|
||||
}
|
||||
echo '<div class="facecrop_row facecrop">
|
||||
<div class="facecrop_column">
|
||||
<img src="data:image/png;base64,'. $si["base64"].'" alt="'.$si["name"].'" width="50" height="50" align="left">
|
||||
</div>
|
||||
<div class="facecrop_column">'.$symbol.'</div>
|
||||
<div class="facecrop_column">
|
||||
<img src="data:image/png;base64,'. $ci[$i]["base64"].'" alt="'.$ci[$i]["name"].'" width="50" height="50" align="right">
|
||||
</div>
|
||||
</div>';
|
||||
|
||||
echo'<div style="width: 100%; padding: 0; margin: 7px 0 0 0;">
|
||||
<span style="float: left;">Similarity</span>
|
||||
<span style="float: right;">'.$similarity.' %</span>
|
||||
<div style="clear:both;"></div>
|
||||
</div>';
|
||||
echo '<div style="width: 100% !important; "id="'. $progress_bar_class .'"></div><br>';
|
||||
|
||||
}
|
||||
// ########################### End of Percentage Bar Section #########################################
|
||||
}
|
||||
}
|
||||
?>
|
||||
<!-- <br> -->
|
||||
|
||||
<p contenteditable="true"><b>Loan Applicants:</b></p>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user