ok

Mini Shell

Direktori : /proc/thread-self/root/proc/self/root/home2/selectio/www/salemgovtitialumni.in/
Upload File :
Current File : //proc/thread-self/root/proc/self/root/home2/selectio/www/salemgovtitialumni.in/id-cart-content.php

<?php 
$htmldata="";

$htmldata.='<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.1/font/bootstrap-icons.css">';
include("dashboard/admin/inc/config.php");
ini_set('memory_limit', '-1');
session_start();



    $i = 0; 
        
    $statement_member = $pdo->prepare("SELECT * FROM tbl_member where id = ".$_GET['id']);
    $statement_member->execute();
    $member_result = $statement_member->fetchAll(PDO::FETCH_ASSOC); 
    $total_member = $statement_member -> rowCount();
	$date = date('Y-m-d');
	
	

	
	 if($total_member>0){
	     
	        $profile_img = (isset($member_result[0]['profile']) && !empty($member_result[0]['profile']) ? 'https://salemgovtitialumni.in/'.$member_result[0]['profile'] : 'https://salemgovtitialumni.in/image/user.jpg');
	     
	     
    	     $htmldata.='<div style="width: 100%;background-image: url(https://salemgovtitialumni.in/image/Dummy_id_card.jpeg);height: 100%;background-repeat: no-repeat;background-size: contain;">

	        <img src="'.$profile_img.'" alt="" style="margin-top: 17.4%;margin-left: 28.6%;height:290px;width:248px;object-fit:contain " >
	        
	        
	        
	         <table  style="width: 100%; margin-top: -2%;" >
	                
	                <tr>
	                    <td style="padding-left: 45%;font-size:28px; color:red;font-weight: 600; position:fixed;" >'.$member_result[0]['blood_group'].'</td>
	                    <td style="padding-left: 55%;font-size:28px; color:blue;font-weight: 600;">'.$member_result[0]['business'].'</td>
	                </tr>
	        </table>

	        <table style="width: 100%;line-height: 36px;text-align:center;padding-top: 5%;margin-bottom: -28%;padding-right:7%;">
	            <tr>
	                <td style="font-family: Arial Bold ;font-size:30px; color:blue;font-weight: 600;">'.ucwords($member_result[0]['name']).'</td>
	            </tr>
	             <tr>
	                <td style="font-size:30px; color:red;font-weight: 600;">'.$member_result[0]['phone_no'].'</td>
	            </tr>
	           
	        </table>
	        
        	     
	         <table style="table-layout:fixed;width: 100%; padding-top: 15.5%; padding-left: 32%; line-height: 47px;" >
	            <tr>
	                <td style="font-size:22px; color:blue;font-weight: 600;">
	                    '.$member_result[0]['trade'].' / '.$member_result[0]['training'].'
	                </td>
	            </tr>
	            
	            <tr>
	                <td style="font-size:22px; color:blue;font-weight: 600;" >
	                    '.$member_result[0]['business'].'
	                </td>
	            </tr>
	            
	            <tr>
	                <td style="font-size:22px; color:blue;font-weight: 600;" >
                        '.wordwrap($member_result[0]['permanent_address'],40, "<br>\n", true).'
	                </td>
	            </tr>
	         </table>

	     </div>';

$download_name = "GOVT ITI ID CARD ".$member_result[0]['name'];

// echo $htmldata;
 }else { $htmldata='<center>No Record Found</center>';}
 
 
?>

Zerion Mini Shell 1.0