prepare("select * from allotee_biodata where regno = '$regno'") ; $sqlallo->execute() ; if($sqlallo->rowcount() > 0) { $addrow = $sqlallo->fetch(pdo::FETCH_ASSOC) ; $custodian = $addrow['custodian'] ; $office = $addrow['allote_office'] ; $phone = $addrow['allote_phone'] ; $email = $addrow['allote_email'] ; $astate = $addrow['state'] ; $lga = $addrow['lga'] ; $nation = $addrow['nationality'] ; $creg = $addrow['company_regno'] ; $mid = $addrow['identification_means'] ; $idno = $addrow['id_no'] ; $adm = $addrow['admin'] ; } //get data from bio data $sqlstal = $DBcon->prepare("select * from stall_details where regno = '$regno'") ; $sqlstal->execute() ; if($sqlstal->rowcount() > 0) { $addro = $sqlstal->fetch(pdo::FETCH_ASSOC) ; $mname = $addro['market'] ; $town = $addro['town'] ; $mlga = $addro['lga'] ; $msection = $addro['market_section'] ; $zone = $addro['zone'] ; $lineno = $addro['line_no'] ; $stallno = $addro['stall_no'] ; $stype = $addro['stall_type'] ; $certno = $addro['alloc_cert_no'] ; $basis = $addro['bas_of_occup'] ; $ansid = $addro['ansid_no'] ; $eno = $addro['en_no'] ; $fmno = $addro['formno'] ; $fmen = $fmno."/".$eno ; } //$pwd = $addros['pwd'] ; //$ans = $addros['ans'] ; //$image = $addros['image'] ; //get data from next of kin $sqln = $DBcon->prepare("select * from nextofkin where regno = '$regno'") ; $sqln->execute() ; if($sqln->rowcount() > 0) { $addron = $sqln->fetch(pdo::FETCH_ASSOC) ; $nkn = $addron['names'] ; $relation = $addron['relationship'] ; $nphone = $addron['phoneno'] ; } //get passport $sqld = $DBcon->prepare("select * from documents where regno = '$regno'") ; $sqld->execute() ; if($sqld->rowcount() > 0) { $addd = $sqld->fetch(pdo::FETCH_ASSOC) ; $image = $addd['image'] ; } { /* //message parameter $senderID ="ANSMAPORTAL"; $mobile = $phone; $messageBody = "Congrat!,Your Stall Digitalisation Excercise is succesful. your Logins: ID: $regno." ; $url = "https://www.bulksmsnigeria.com/api/v1/sms/create"; $apiToken = 'MmgcsjkuDtlloSXw3sZZOwHciYBPst0nKiBPLgwhTKEBQrzP58ixejQhXdPa'; //Pass all Parameters into a array to be submitted to the SendViaPost function as a Single Variable $arr_params = array( 'from' => $senderID, 'to' => $mobile, 'body' => $messageBody, 'api_token' => $apiToken, 'dnd' => 1 ); if(!isset($_GET['reg'])) { sendViaPost($url,$arr_params) ; } */ } // new sms gateway $email = "fortressystem@gmail.com"; $password = "IFYchris27@101"; if($_SESSION['stat']=='Completed') { $message = "Congrat!,Your Stall Digitalisation Excercise is succesful. your Unique Logins: ID: $regno."; } else { $message = "Your Stall Digitalisation Excercise is Pending. your Unique Logins: ID: $regno."; } $sender_name = "Ansmaportal"; $recipients = "$phone"; $forcednd = 1; $data = array("email" => $email, "password" => $password,"message"=>$message, "sender_name"=>$sender_name,"recipients"=>$recipients,"forcednd"=>$forcednd); $data_string = json_encode($data); $ch = curl_init('https://app.multitexter.com/v2/app/sms'); curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "POST"); curl_setopt($ch, CURLOPT_POSTFIELDS, $data_string); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_HTTPHEADER, array('Content-Type: application/json','Content-Length: ' . strlen($data_string))); $result = curl_exec($ch); $res_array = json_decode($result); //print_r($res_array); ?> Print Documents
MARKET NAME
ALLOTEE REGISTRATION NO  
Allotee Names
Identity Means ID No
Form/En No Phone No
Ansid No                               
Nationality State Origin
L.G.A Office Address
STALL DETAILS:
Market Section L.G.A
Zone Line No
Stall No Stall Type
Allocation Certificate No Basis of Occupation
NEXT OF KIN DATA
Names
Phone No RelationShip
       
Note :

You can use this Registration No : () to login to your Personal profile on the site or the app, to perform necessary action.
Thanks Prepared by ()

Click to Print Sample|||| Go Back
Complete Operation