Identity Card Processing and Generation System
Submitted by Tywine Klan on Friday, May 6, 2016 - 09:40.
Language
This is Identity Card Processing and Generation System . And, we have a sample source code. You can use this to your future project.
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <link rel="stylesheet" type="text/css" href="css/style_entry.css" />
- <link rel="stylesheet" type="text/css" href="css/style.css" media="screen"/>
- <link rel="stylesheet" type="text/css" href="css/style.css" media="screen"/
- <link rel="stylesheet" type="text/css" href="css/style_entry.css" />
- <link rel="stylesheet" type="text/css" href="css/structure.css"
- <link rel="stylesheet" type="text/css" href="css/menu.css" />
- <link rel="stylesheet" type="text/css" href="css/idcard.css" />
- </head>
- <body>
- <div class="container">
- <div id="content" style="margin-top:0;">
- <div class="navigation" style="font-size:12px;">
- </div>
- <div id="style_informations"
- <div id="textbox">
- <form action="" method="POST">
- </form>
- <?php
- if(isset($_POST['find_stud'])){
- include'dbconn.php';
- $reg=$_POST['reg_no'];
- $srch="SELECT * FROM register WHERE registration_number='$reg'";
- $res_srch=mysql_query($srch);
- $num_srch=mysql_num_rows($res_srch);
- if($num_srch==1){
- $row=mysql_fetch_array($res_srch);
- $studid=$row['rid'];
- $course=$row['course'];
- $checkpayment="SELECT * FROM accounts WHERE student='$studid'";
- $resultcheckpayment=mysql_query($checkpayment);
- $countcheckpayment=mysql_num_rows($resultcheckpayment);
- if($countcheckpayment>=1){
- $rwpayments=mysql_fetch_array($resultcheckpayment);
- $paidamount=$rwpayments['amount'];
- $getrequiredpayment="SELECT * FROM tution WHERE course='$course'";
- $resultgetrequiredpayment=mysql_query($getrequiredpayment);
- $countgetrequiredpayment=mysql_num_rows($resultgetrequiredpayment);
- if($countgetrequiredpayment==1){
- $rwresultgetrequiredpayment=mysql_fetch_array($resultgetrequiredpayment);
- $requiredammount=$rwresultgetrequiredpayment['tution'];
- $percenttut=(60/100)*$requiredammount;
- if($paidamount>=$percenttut){
- /*form full words*/
- $my=array("BEDS"=>'Bachelors of ethics and development studies',"BSCIT"=>'Bachelors of science and information technology',"BSIT"=>'Bachelors of science and information technology','BBAM'=>'Bachelors of business Adminstration','DIT'=>'Diploma in Information technology',
- "CIT"=>'Certificate In Information Technology',
- "DBAM"=>'Diploma In Business Administration');
- echo'
- <div id="idbody" >
- <div class="body">
- <div class="data">
- <div class="details">
- <table style="margin-left:20%;">
- </table>
- </div>
- <div class="pic">
- <img src="uploads/'.$row['image'].'" width="97%" height="97%" style="margin:1.5%;"/>
- </div>
- </div>
- <div class="foot">
- </div>
- </div>
- </div>';
- }else{
- }
- }else{
- echo'No tution details have been added for this course';
- }
- }else{
- }
- }else{
- }
- }else{
- }
- ?>
- </div>
- <footer>
- <div class="copyright">
- <?php include("footer.php");
- ?>
- </div>
- </footer>
- </div>
- </div>
- </body>
- </html>
Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. After downloading it, you will need a program like Winzip to decompress it.
Virus note: All files are scanned once-a-day by SourceCodester.com for viruses, but new viruses come out every day, so no prevention program can catch 100% of them.
FOR YOUR OWN SAFETY, PLEASE:
1. Re-scan downloaded files using your personal virus checker before using it.
2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.
Comments
Add new comment
- Add new comment
- 1494 views