├── README.md ├── about.php ├── adduser.php ├── adminpanel ├── addCoupon.php ├── adminBus.php ├── adminFlight.php ├── adminTrain.php ├── busTripDelete.php ├── flightTripDelete.php ├── forBarGraph │ ├── Chart.min.js │ ├── busApp.js │ ├── busData.php │ ├── busReport.php │ ├── flightApp.js │ ├── flightData.php │ ├── flightReport.php │ ├── index.php │ ├── jquery.min.js │ ├── trainApp.js │ ├── trainData.php │ └── trainReport.php ├── index.php ├── printAllBusTicket.php ├── printAllFlightTicket.php ├── printAllTrainTicket.php ├── trainTripDelete.php └── userMessage.php ├── bus.php ├── bus1.php ├── busFare.php ├── busSeat.php ├── busTicket.php ├── bus_t_print.php ├── contact.php ├── css ├── mainCSS.css ├── normalize.css └── responsive.css ├── date ├── jquery-ui.css ├── jquery-ui.min.js └── jquery.min.js ├── date_JS ├── jquery-ui.css ├── jquery-ui.js └── jquery.js ├── flight1.php ├── flightFare.php ├── flightSeat.php ├── flightTicket.php ├── flight_t_print.php ├── fpdf ├── FAQ.htm ├── changelog.htm ├── doc │ ├── __construct.htm │ ├── acceptpagebreak.htm │ ├── addfont.htm │ ├── addlink.htm │ ├── addpage.htm │ ├── aliasnbpages.htm │ ├── cell.htm │ ├── close.htm │ ├── error.htm │ ├── footer.htm │ ├── getpageheight.htm │ ├── getpagewidth.htm │ ├── getstringwidth.htm │ ├── getx.htm │ ├── gety.htm │ ├── header.htm │ ├── image.htm │ ├── index.htm │ ├── line.htm │ ├── link.htm │ ├── ln.htm │ ├── multicell.htm │ ├── output.htm │ ├── pageno.htm │ ├── rect.htm │ ├── setauthor.htm │ ├── setautopagebreak.htm │ ├── setcompression.htm │ ├── setcreator.htm │ ├── setdisplaymode.htm │ ├── setdrawcolor.htm │ ├── setfillcolor.htm │ ├── setfont.htm │ ├── setfontsize.htm │ ├── setkeywords.htm │ ├── setleftmargin.htm │ ├── setlinewidth.htm │ ├── setlink.htm │ ├── setmargins.htm │ ├── setrightmargin.htm │ ├── setsubject.htm │ ├── settextcolor.htm │ ├── settitle.htm │ ├── settopmargin.htm │ ├── setx.htm │ ├── setxy.htm │ ├── sety.htm │ ├── text.htm │ └── write.htm ├── font │ ├── courier.php │ ├── courierb.php │ ├── courierbi.php │ ├── courieri.php │ ├── helvetica.php │ ├── helveticab.php │ ├── helveticabi.php │ ├── helveticai.php │ ├── symbol.php │ ├── times.php │ ├── timesb.php │ ├── timesbi.php │ ├── timesi.php │ └── zapfdingbats.php ├── fpdf.css ├── fpdf.php ├── install.txt ├── license.txt ├── makefont │ ├── cp1250.map │ ├── cp1251.map │ ├── cp1252.map │ ├── cp1253.map │ ├── cp1254.map │ ├── cp1255.map │ ├── cp1257.map │ ├── cp1258.map │ ├── cp874.map │ ├── iso-8859-1.map │ ├── iso-8859-11.map │ ├── iso-8859-15.map │ ├── iso-8859-16.map │ ├── iso-8859-2.map │ ├── iso-8859-4.map │ ├── iso-8859-5.map │ ├── iso-8859-7.map │ ├── iso-8859-9.map │ ├── koi8-r.map │ ├── koi8-u.map │ ├── makefont.php │ └── ttfparser.php └── tutorial │ ├── 20k_c1.txt │ ├── 20k_c2.txt │ ├── calligra.php │ ├── calligra.ttf │ ├── calligra.z │ ├── countries.txt │ ├── index.htm │ ├── logo.png │ ├── makefont.php │ ├── tuto1.htm │ ├── tuto1.php │ ├── tuto2.htm │ ├── tuto2.php │ ├── tuto3.htm │ ├── tuto3.php │ ├── tuto4.htm │ ├── tuto4.php │ ├── tuto5.htm │ ├── tuto5.php │ ├── tuto6.htm │ ├── tuto6.php │ ├── tuto7.htm │ └── tuto7.php ├── images ├── admin.jpg ├── biman.jpg ├── booked.png ├── bus.jpg ├── check.png ├── facebook-wrap.png ├── google-wrap.png ├── train.jpg ├── twitter-wrap.png └── uncheck.png ├── index.php ├── login.php ├── logout.php ├── mysqldb.php ├── scripts ├── jquery-1.10.2.min.js └── jquery.validate.min.js ├── signup.php ├── time_JS ├── jquery-1.6.4.min.js ├── jquery-ui-time.css ├── jquery.ptTimeSelect.css └── jquery.ptTimeSelect.js ├── train.php ├── train1.php ├── trainFare.php ├── trainSeat.php ├── trainTicket.php ├── train_t_print.php └── userpanel ├── index.php ├── uinfo_update.php ├── user.php ├── userBus.php ├── userBus1.php ├── userBusFare.php ├── userBusPersonalTicket.php ├── userBusSeat.php ├── userBusTicket.php ├── userBus_t_print.php ├── userFlight1.php ├── userFlightFare.php ├── userFlightPersonalTicket.php ├── userFlightSeat.php ├── userFlightTicket.php ├── userFlight_t_print.php ├── userTrain.php ├── userTrain1.php ├── userTrainFare.php ├── userTrainPersonalTicket.php ├── userTrainSeat.php ├── userTrainTicket.php └── userTrain_t_print.php /about.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Software Project One 5 | 6 | 7 | 8 | 9 |
10 | 14 | 22 |
23 |
24 |

Details Our Project & About Us

25 |

What is Ticke&Travel Management?

27 |

Ticket&Travel management is a specialized business function that balances people need with corporate goals, financial and otherwise. Travel management ensures cost tracking and control, facilitates adherence to corporate travel policies, realizes savings through negotiated discounts, and serves as a valuable information center for employees and managers in times when travel is not as smooth and carefree as it used to be.

But travel management is still misunderstood and undervalued by some corporations today. Therefore, the role of business travel within the corporate structure must be placed in proper context so that its value can be measured and appreciated.

28 |

Our Goal

29 |

The goal of this process is the complete, integrated management of all processes involved in a business trip and the travel expenses incurred. The process includes the entire procedure of requesting and planning a trip, accounting the travel expenses and the correct taxation in "Payroll Accounting" (HR), correct posting of the travel expenses in "Financial Accounting" (FI), and clearing in "Controlling" (CO) or "Funds Management" (FI-FM) according to the allocation-by-cause principle.

30 |

Team 3's

31 |

32 | MD. SAIFUL ISLAM
33 | AIUBian-CSSE
34 | Email: saifulbdjoy@gmail.com
35 | Phone: +8801675094640 36 |

37 |

38 | MD. SHAHIDUL SAHEL
39 | AIUBian-SE
40 | Email: sahel@gmail.com
41 | Phone: +88016XXXXXXXX 42 |

43 |

44 | MD. SHAKIL AHMED
45 | AIUBian-CSSE
46 | Email: shakil@gmail.com
47 | Phone: +88016XXXXXXXX 48 |

49 |
50 |
51 |
52 | 59 |
60 |

Copyright© 2013-2016 by Team 3'S

61 | Facebook Logo 62 | Twitter Logo 63 | GooglePlus Logo 64 |
65 |
66 | 67 | -------------------------------------------------------------------------------- /adminpanel/busTripDelete.php: -------------------------------------------------------------------------------- 1 | " . mysql_error($conn); 14 | } 15 | $usql= "DELETE FROM user_ticket_info WHERE bus_id ='$id'"; 16 | if(!mysql_query($usql)) 17 | { 18 | echo "Error: " . $usql . "
" . mysql_error($conn); 19 | } 20 | $usql= "DELETE FROM seat_info WHERE bus_id ='$id'"; 21 | if(!mysql_query($usql)) 22 | { 23 | echo "Error: " . $usql . "
" . mysql_error($conn); 24 | } 25 | $usql= "DELETE FROM bus_trips WHERE bus_id ='$id'"; 26 | if(!mysql_query($usql)) 27 | { 28 | echo "Error: " . $usql . "
" . mysql_error($conn); 29 | } 30 | 31 | else 32 | { 33 | header('Location: adminBus.php'); 34 | exit(); 35 | } 36 | ?> -------------------------------------------------------------------------------- /adminpanel/flightTripDelete.php: -------------------------------------------------------------------------------- 1 | " . mysql_error($conn); 14 | } 15 | $usql= "DELETE FROM user_ticket_info WHERE flight_id ='$id'"; 16 | if(!mysql_query($usql)) 17 | { 18 | echo "Error: " . $usql . "
" . mysql_error($conn); 19 | } 20 | $usql= "DELETE FROM seat_info WHERE flight_id ='$id'"; 21 | if(!mysql_query($usql)) 22 | { 23 | echo "Error: " . $usql . "
" . mysql_error($conn); 24 | } 25 | $usql= "DELETE FROM flight_trips WHERE flight_id ='$id'"; 26 | if(!mysql_query($usql)) 27 | { 28 | echo "Error: " . $usql . "
" . mysql_error($conn); 29 | } 30 | 31 | else 32 | { 33 | header('Location: adminFlight.php'); 34 | exit(); 35 | } 36 | ?> -------------------------------------------------------------------------------- /adminpanel/forBarGraph/busApp.js: -------------------------------------------------------------------------------- 1 | $(document).ready(function(){ 2 | $.ajax({ 3 | url: "http://localhost/softwareProjectOne/adminpanel/forBarGraph/busData.php", 4 | method: "GET", 5 | success: function(data) { 6 | console.log(data); 7 | var route = []; 8 | var jNumber = []; 9 | 10 | for(var i in data) { 11 | route.push("Route: " + data[i].Route); 12 | jNumber.push(data[i].JourneyNum); 13 | } 14 | 15 | var chartdata = { 16 | labels: route, 17 | datasets : [ 18 | { 19 | label: 'Times', 20 | backgroundColor: 'rgba(0,255,0,1)', 21 | borderColor: 'rgba(255,0,0,1)', 22 | hoverBackgroundColor: 'rgba(255, 0, 0, 1)', 23 | hoverBorderColor: 'rgba(255,0,0,1)', 24 | data: jNumber 25 | } 26 | ] 27 | }; 28 | 29 | var ctx = $("#mycanvas"); 30 | 31 | var barGraph = new Chart(ctx, { 32 | type: "line", 33 | data: chartdata 34 | }); 35 | }, 36 | error: function(data) { 37 | console.log(data); 38 | } 39 | }); 40 | }); 41 | -------------------------------------------------------------------------------- /adminpanel/forBarGraph/busData.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /adminpanel/forBarGraph/busReport.php: -------------------------------------------------------------------------------- 1 | 8 | 9 | 10 | 11 | 12 | Software Project One 13 | 14 | 15 | 21 | 22 | 23 |
24 | 28 | 41 |
42 |
43 |
44 | 45 |
46 |

Figure:   Route Vs HowManyTimes

47 |
48 |

49 |
50 | 57 |
58 |

Copyright© 2013-2016 by Team 3'S

59 | Facebook Logo 60 | Twitter Logo 61 | GooglePlus Logo 62 |
63 |
64 | 65 | 66 | 67 | 68 | -------------------------------------------------------------------------------- /adminpanel/forBarGraph/flightApp.js: -------------------------------------------------------------------------------- 1 | $(document).ready(function(){ 2 | $.ajax({ 3 | url: "http://localhost/softwareProjectOne/adminpanel/forBarGraph/flightData.php", 4 | method: "GET", 5 | success: function(data) { 6 | console.log(data); 7 | var route = []; 8 | var jNumber = []; 9 | 10 | for(var i in data) { 11 | route.push("Route: " + data[i].Route); 12 | jNumber.push(data[i].JourneyNum); 13 | } 14 | 15 | var chartdata = { 16 | labels: route, 17 | datasets : [ 18 | { 19 | label: 'Times', 20 | backgroundColor: 'rgba(0,255,0,1)', 21 | borderColor: 'rgba(255,0,0,1)', 22 | hoverBackgroundColor: 'rgba(255, 0, 0, 1)', 23 | hoverBorderColor: 'rgba(255,0,0,1)', 24 | data: jNumber 25 | } 26 | ] 27 | }; 28 | 29 | var ctx = $("#mycanvas"); 30 | 31 | var barGraph = new Chart(ctx, { 32 | type: "pie", 33 | data: chartdata 34 | }); 35 | }, 36 | error: function(data) { 37 | console.log(data); 38 | } 39 | }); 40 | }); 41 | -------------------------------------------------------------------------------- /adminpanel/forBarGraph/flightData.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /adminpanel/forBarGraph/flightReport.php: -------------------------------------------------------------------------------- 1 | 8 | 9 | 10 | 11 | 12 | Software Project One 13 | 14 | 15 | 21 | 22 | 23 |
24 | 28 | 41 |
42 |
43 |
44 | 45 |
46 |

Figure:   Route Vs HowManyTimes

47 |
48 |

49 |
50 | 57 |
58 |

Copyright© 2013-2016 by Team 3'S

59 | Facebook Logo 60 | Twitter Logo 61 | GooglePlus Logo 62 |
63 |
64 | 65 | 66 | 67 | 68 | -------------------------------------------------------------------------------- /adminpanel/forBarGraph/index.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /adminpanel/forBarGraph/trainApp.js: -------------------------------------------------------------------------------- 1 | $(document).ready(function(){ 2 | $.ajax({ 3 | url: "http://localhost/softwareProjectOne/adminpanel/forBarGraph/trainData.php", 4 | method: "GET", 5 | success: function(data) { 6 | console.log(data); 7 | var route = []; 8 | var jNumber = []; 9 | 10 | for(var i in data) { 11 | route.push("Route: " + data[i].Route); 12 | jNumber.push(data[i].JourneyNum); 13 | } 14 | 15 | var chartdata = { 16 | labels: route, 17 | datasets : [ 18 | { 19 | label: 'Times', 20 | backgroundColor: 'rgba(0,255,0,1)', 21 | borderColor: 'rgba(255,0,0,1)', 22 | hoverBackgroundColor: 'rgba(255, 0, 0, 1)', 23 | hoverBorderColor: 'rgba(255,0,0,1)', 24 | data: jNumber 25 | } 26 | ] 27 | }; 28 | 29 | var ctx = $("#mycanvas"); 30 | 31 | var barGraph = new Chart(ctx, { 32 | type: "bar", 33 | data: chartdata 34 | }); 35 | }, 36 | error: function(data) { 37 | console.log(data); 38 | } 39 | }); 40 | }); 41 | -------------------------------------------------------------------------------- /adminpanel/forBarGraph/trainData.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /adminpanel/forBarGraph/trainReport.php: -------------------------------------------------------------------------------- 1 | 8 | 9 | 10 | 11 | 12 | Software Project One 13 | 14 | 15 | 21 | 22 | 23 |
24 | 28 | 41 |
42 |
43 |
44 | 45 |
46 |

Figure:   Route Vs HowManyTimes

47 |
48 |

49 |
50 | 57 |
58 |

Copyright© 2013-2016 by Team 3'S

59 | Facebook Logo 60 | Twitter Logo 61 | GooglePlus Logo 62 |
63 |
64 | 65 | 66 | 67 | 68 | -------------------------------------------------------------------------------- /adminpanel/index.php: -------------------------------------------------------------------------------- 1 | 8 | 9 | 10 | 11 | Software Project One 12 | 13 | 14 | 15 | 16 |
17 | 21 | 34 |
35 |
36 |
37 | 38 |
39 |
40 |

41 |
42 | 49 |
50 |

Copyright© 2013-2016 by Team 3'S

51 | Facebook Logo 52 | Twitter Logo 53 | GooglePlus Logo 54 |
55 |
56 | 57 | -------------------------------------------------------------------------------- /adminpanel/printAllBusTicket.php: -------------------------------------------------------------------------------- 1 | AddPage(); 20 | 21 | $pdf->SetFont("Arial",'',10); 22 | $pdf->Cell(300,10,"All Tickets of Flight",1,1,"C"); 23 | 24 | $pdf->Cell(23,10,"DOJ",1,0,"C"); 25 | $pdf->Cell(36,10,"Route",1,0,"C"); 26 | $pdf->Cell(36,10,"Time",1,0,"C"); 27 | $pdf->Cell(16,10,"Ticket#",1,0,"C"); 28 | $pdf->Cell(16,10,"Bus#",1,0,"C"); 29 | $pdf->Cell(26,10,"V.Name",1,0,"C"); 30 | $pdf->Cell(24,10,"Seat#",1,0,"C"); 31 | $pdf->Cell(26,10,"Category",1,0,"C"); 32 | $pdf->Cell(18,10,"Fare",1,0,"C"); 33 | $pdf->Cell(25,10,"Name",1,0,"C"); 34 | $pdf->Cell(24,10,"Gender",1,0,"C"); 35 | $pdf->Cell(30,10,"Phone",1,0,"C"); 36 | 37 | while($row = mysql_fetch_array($result)) { 38 | echo $pdf->Cell(24,10,"",2,1,"C"); 39 | echo $pdf->Cell(23,10,$row['jdate'],1,0,"C"); 40 | echo $pdf->Cell(36,10,$row['route'],1,0,"C"); 41 | echo $pdf->Cell(36,10,$row['jtime'],1,0,"C"); 42 | echo $pdf->Cell(16,10,$row['ticket_id'],1,0,"C"); 43 | echo $pdf->Cell(16,10,$row['bus_id'],1,0,"C"); 44 | echo $pdf->Cell(26,10,$row['vehicle_name'],1,0,"C"); 45 | echo $pdf->Cell(24,10,$row['seats'],1,0,"C"); 46 | echo $pdf->Cell(26,10,$row['category'],1,0,"C"); 47 | echo $pdf->Cell(18,10,$row['amount'],1,0,"C"); 48 | echo $pdf->Cell(25,10,$row['user_name'],1,0,"C"); 49 | echo $pdf->Cell(24,10,$row['gender'],1,0,"C"); 50 | echo $pdf->Cell(30,10,$row['phone'],1,0,"C"); 51 | } 52 | $pdf->Cell(300,10,$dateTime,0,0,"R"); 53 | $pdf->Output(); 54 | 55 | ?> -------------------------------------------------------------------------------- /adminpanel/printAllFlightTicket.php: -------------------------------------------------------------------------------- 1 | AddPage(); 21 | 22 | $pdf->SetFont("Arial",'',10); 23 | $pdf->Cell(300,10,"All Tickets of Flight",1,1,"C"); 24 | 25 | $pdf->Cell(23,10,"DOJ",1,0,"C"); 26 | $pdf->Cell(36,10,"Route",1,0,"C"); 27 | $pdf->Cell(36,10,"Time",1,0,"C"); 28 | $pdf->Cell(16,10,"Ticket#",1,0,"C"); 29 | $pdf->Cell(16,10,"Flight#",1,0,"C"); 30 | $pdf->Cell(26,10,"V.Name",1,0,"C"); 31 | $pdf->Cell(24,10,"Seat#",1,0,"C"); 32 | $pdf->Cell(26,10,"Category",1,0,"C"); 33 | $pdf->Cell(18,10,"Fare",1,0,"C"); 34 | $pdf->Cell(25,10,"Name",1,0,"C"); 35 | $pdf->Cell(24,10,"Gender",1,0,"C"); 36 | $pdf->Cell(30,10,"Phone",1,0,"C"); 37 | 38 | while($row = mysql_fetch_array($result)) { 39 | echo $pdf->Cell(24,10,"",2,1,"C"); 40 | echo $pdf->Cell(23,10,$row['jdate'],1,0,"C"); 41 | echo $pdf->Cell(36,10,$row['route'],1,0,"C"); 42 | echo $pdf->Cell(36,10,$row['jtime'],1,0,"C"); 43 | echo $pdf->Cell(16,10,$row['ticket_id'],1,0,"C"); 44 | echo $pdf->Cell(16,10,$row['flight_id'],1,0,"C"); 45 | echo $pdf->Cell(26,10,$row['vehicle_name'],1,0,"C"); 46 | echo $pdf->Cell(24,10,$row['seats'],1,0,"C"); 47 | echo $pdf->Cell(26,10,$row['category'],1,0,"C"); 48 | echo $pdf->Cell(18,10,$row['amount'],1,0,"C"); 49 | echo $pdf->Cell(25,10,$row['user_name'],1,0,"C"); 50 | echo $pdf->Cell(24,10,$row['gender'],1,0,"C"); 51 | echo $pdf->Cell(30,10,$row['phone'],1,0,"C"); 52 | } 53 | $pdf->Cell(300,10,$dateTime,0,0,"R"); 54 | $pdf->Output(); 55 | 56 | ?> -------------------------------------------------------------------------------- /adminpanel/printAllTrainTicket.php: -------------------------------------------------------------------------------- 1 | AddPage(); 20 | 21 | $pdf->SetFont("Arial",'',10); 22 | $pdf->Cell(300,10,"All Tickets of Flight",1,1,"C"); 23 | 24 | $pdf->Cell(23,10,"DOJ",1,0,"C"); 25 | $pdf->Cell(36,10,"Route",1,0,"C"); 26 | $pdf->Cell(36,10,"Time",1,0,"C"); 27 | $pdf->Cell(16,10,"Ticket#",1,0,"C"); 28 | $pdf->Cell(16,10,"Bus#",1,0,"C"); 29 | $pdf->Cell(26,10,"V.Name",1,0,"C"); 30 | $pdf->Cell(24,10,"Seat#",1,0,"C"); 31 | $pdf->Cell(26,10,"Category",1,0,"C"); 32 | $pdf->Cell(18,10,"Fare",1,0,"C"); 33 | $pdf->Cell(25,10,"Name",1,0,"C"); 34 | $pdf->Cell(24,10,"Gender",1,0,"C"); 35 | $pdf->Cell(30,10,"Phone",1,0,"C"); 36 | 37 | while($row = mysql_fetch_array($result)) { 38 | echo $pdf->Cell(24,10,"",2,1,"C"); 39 | echo $pdf->Cell(23,10,$row['jdate'],1,0,"C"); 40 | echo $pdf->Cell(36,10,$row['route'],1,0,"C"); 41 | echo $pdf->Cell(36,10,$row['jtime'],1,0,"C"); 42 | echo $pdf->Cell(16,10,$row['ticket_id'],1,0,"C"); 43 | echo $pdf->Cell(16,10,$row['train_id'],1,0,"C"); 44 | echo $pdf->Cell(26,10,$row['vehicle_name'],1,0,"C"); 45 | echo $pdf->Cell(24,10,$row['seats'],1,0,"C"); 46 | echo $pdf->Cell(26,10,$row['category'],1,0,"C"); 47 | echo $pdf->Cell(18,10,$row['amount'],1,0,"C"); 48 | echo $pdf->Cell(25,10,$row['user_name'],1,0,"C"); 49 | echo $pdf->Cell(24,10,$row['gender'],1,0,"C"); 50 | echo $pdf->Cell(30,10,$row['phone'],1,0,"C"); 51 | } 52 | $pdf->Cell(300,10,$dateTime,0,0,"R"); 53 | $pdf->Output(); 54 | 55 | ?> -------------------------------------------------------------------------------- /adminpanel/trainTripDelete.php: -------------------------------------------------------------------------------- 1 | " . mysql_error($conn); 14 | } 15 | $usql= "DELETE FROM seat_info WHERE flight_id ='$id'"; 16 | if(!mysql_query($usql)) 17 | { 18 | echo "Error: " . $usql . "
" . mysql_error($conn); 19 | } 20 | $usql= "DELETE FROM flight_trips WHERE flight_id ='$id'"; 21 | if(!mysql_query($usql)) 22 | { 23 | echo "Error: " . $usql . "
" . mysql_error($conn); 24 | } 25 | 26 | else 27 | { 28 | header('Location: adminFlight.php'); 29 | exit(); 30 | } 31 | ?> -------------------------------------------------------------------------------- /busTicket.php: -------------------------------------------------------------------------------- 1 | 11 | 12 | 13 | 14 | 15 | 16 | Software Project One 17 | 18 | 19 | 29 | 30 | 31 |
32 | 36 | 44 |
45 |
46 |

Your Ticket Informations

47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 |
Ticket#:
Bus#:
Your Name:
Your Gender:
Your Email:
Your Phone:
Vehicle Name:
Journey Date:
Time:
Route:
Your Seat:
Seat Category:
Fare:
Payment By:
106 |

Print Your Ticket

107 | 108 |
109 |

110 |
111 | 118 |
119 |

Copyright© 2013-2016 by Team 3'S

120 | Facebook Logo 121 | Twitter Logo 122 | GooglePlus Logo 123 |
124 |
125 | 126 | -------------------------------------------------------------------------------- /bus_t_print.php: -------------------------------------------------------------------------------- 1 | AddPage(); 26 | 27 | $pdf->SetFont("Arial","B",10); 28 | $pdf->Cell(190,10,"Your Ticket Information || Flight Ticket",1,1,"C"); 29 | 30 | $pdf->Cell(95,10,"Ticket#: ",1,0,"C"); 31 | $pdf->Cell(95,10,$ticketNum,1,1,"C"); 32 | 33 | $pdf->Cell(95,10,"Bust#: ",1,0,"C"); 34 | $pdf->Cell(95,10,$busId,1,1,"C"); 35 | 36 | $pdf->Cell(95,10,"Name: ",1,0,"C"); 37 | $pdf->Cell(95,10,$getName,1,1,"C"); 38 | 39 | $pdf->Cell(95,10,"Gender: ",1,0,"C"); 40 | $pdf->Cell(95,10,$getGen,1,1,"C"); 41 | 42 | $pdf->Cell(95,10,"Email: ",1,0,"C"); 43 | $pdf->Cell(95,10,$getEmail,1,1,"C"); 44 | 45 | $pdf->Cell(95,10,"Phone: ",1,0,"C"); 46 | $pdf->Cell(95,10,$getPhn,1,1,"C"); 47 | 48 | $pdf->Cell(95,10,"Vehicle Name: ",1,0,"C"); 49 | $pdf->Cell(95,10,$getVehicle,1,1,"C"); 50 | 51 | $pdf->Cell(95,10,"Date-Of-Journey: ",1,0,"C"); 52 | $pdf->Cell(95,10,$getDOJ,1,1,"C"); 53 | 54 | $pdf->Cell(95,10,"Time: ",1,0,"C"); 55 | $pdf->Cell(95,10,$getTime,1,1,"C"); 56 | 57 | $pdf->Cell(95,10,"Route: ",1,0,"C"); 58 | $pdf->Cell(95,10,$getRoute,1,1,"C"); 59 | 60 | $pdf->Cell(95,10,"Seat Number: ",1,0,"C"); 61 | $pdf->Cell(95,10,$getSeats,1,1,"C"); 62 | 63 | $pdf->Cell(95,10,"Seat Category: ",1,0,"C"); 64 | $pdf->Cell(95,10,$getCategory,1,1,"C"); 65 | 66 | $pdf->Cell(95,10,"Total Fare: ",1,0,"C"); 67 | $pdf->Cell(95,10,$getFare,1,1,"C"); 68 | 69 | $pdf->Cell(95,10,"Payment Getway: ",1,0,"C"); 70 | $pdf->Cell(95,10,$getPaymethod,1,1,"C"); 71 | 72 | $pdf->Cell(190,10,$dateTime,0,0,"R"); 73 | $pdf->Output(); 74 | ?> -------------------------------------------------------------------------------- /contact.php: -------------------------------------------------------------------------------- 1 | Error with Message Sending, please send again '; 15 | } 16 | else 17 | $err = '

Send Successfully
Thanks For Being With Us!!!

'; 18 | } 19 | ?> 20 | 21 | 22 | 23 | 24 | Software Project One 25 | 26 | 27 | 28 | 29 |
30 |
31 | 35 | 43 |
44 |

Contact With Us, We Are Friendly.

45 |
46 |
" method="POST"> 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 |
Your Name:
Subject:
Email:
Your Message:
69 |
70 | 71 |
72 |

73 |
74 | 81 |
82 |

Copyright© 2013-2016 by Team 3'S

83 | Facebook Logo 84 | Twitter Logo 85 | GooglePlus Logo 86 |
87 |
88 |
89 | 90 | -------------------------------------------------------------------------------- /css/mainCSS.css: -------------------------------------------------------------------------------- 1 | a{ 2 | text-decoration: none; 3 | } 4 | 5 | header{ 6 | float: left; 7 | margin: 0 0 30px 0; 8 | padding: 5px 0 0 0; 9 | width: 100%; 10 | } 11 | 12 | #logo{ 13 | text-align: center; 14 | margin: 0; 15 | } 16 | h1{ 17 | margin: 15px 0; 18 | font-size: 1.75em; 19 | font-weight: normal; 20 | line-height: 0.8em; 21 | } 22 | h2{ 23 | font-size: 0.75em; 24 | margin: -5px 0 0; 25 | font-weight: normal; 26 | } 27 | 28 | /*********************** 29 | NAVIGATION 30 | ************************/ 31 | 32 | nav{ 33 | text-align: center; 34 | padding: 10px 0; 35 | margin: 20px 0 0; 36 | } 37 | nav ul{ 38 | list-style: none; 39 | margin: 0 10px; 40 | padding: 0; 41 | } 42 | 43 | nav li{ 44 | display: inline-block; 45 | } 46 | 47 | nav a{ 48 | font-weight: 800; 49 | padding: 15px 10px; 50 | } 51 | 52 | 53 | /*********************** 54 | COLOR 55 | ************************/ 56 | 57 | /* site body*/ 58 | body{ 59 | background-color: #fff; 60 | color: #707070; 61 | } 62 | 63 | /* magenda header */ 64 | header{ 65 | background-color: #599a99; 66 | border-color: #6ab47b; 67 | } 68 | /* nav background on mobile */ 69 | nav{ 70 | background-color: coral; 71 | } 72 | 73 | /* logo text */ 74 | h1,h2{ 75 | color: #fff; 76 | } 77 | 78 | /* links color */ 79 | a{ 80 | color: #6ab47b; 81 | } 82 | 83 | /* nav links color */ 84 | nav a,nav a:visited{ 85 | color: #fff; 86 | } 87 | 88 | /* selected nav links color,nav a.selected(for which one is selected) */ 89 | nav a.selected, nav a:hover{ 90 | color: #32673f; 91 | } -------------------------------------------------------------------------------- /css/responsive.css: -------------------------------------------------------------------------------- 1 | @media screen and (min-width: 480px){ 2 | 3 | #primary { 4 | width: 50%; 5 | float: left; 6 | } 7 | #secondary { 8 | width: 40%; 9 | float: right; 10 | } 11 | 12 | } 13 | 14 | @media screen and (min-width: 660px){ 15 | nav{ 16 | background: none; 17 | float: right; 18 | font-size: 1.25em; 19 | margin-right: 5%; 20 | text-align: right; 21 | width: 45%; 22 | } 23 | #logo{ 24 | float: left; 25 | margin-left: 5%; 26 | text-align: left; 27 | width: 45%; 28 | } 29 | h1{ 30 | font-size: 2.5em; 31 | } 32 | h2{ 33 | font-size: 1.0em; 34 | margin-bottom: 20px; 35 | } 36 | header{ 37 | border-bottom: 5px solid #599a68; 38 | margin-bottom: 60px; 39 | } 40 | } -------------------------------------------------------------------------------- /flightTicket.php: -------------------------------------------------------------------------------- 1 | 11 | 12 | 13 | 14 | 15 | 16 | Software Project One 17 | 18 | 19 | 29 | 30 | 31 |
32 | 36 | 44 |
45 |
46 |

Your Ticket Informations

47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 |
Ticket#:
Flight#:
Your Name:
Your Gender:
Your Email:
Your Phone:
Vehicle Name:
Journey Date:
Time:
Route:
Your Seat:
Seat Category:
Fare:
Payment By:
106 |

Print Your Ticket

107 | 108 |
109 |

110 |
111 | 118 |
119 |

Copyright© 2013-2016 by Team 3'S

120 | Facebook Logo 121 | Twitter Logo 122 | GooglePlus Logo 123 |
124 |
125 | 126 | -------------------------------------------------------------------------------- /flight_t_print.php: -------------------------------------------------------------------------------- 1 | AddPage(); 27 | 28 | $pdf->SetFont("Arial","B",10); 29 | $pdf->Cell(190,10,"Your Ticket Information || Flight Ticket",1,1,"C"); 30 | 31 | $pdf->Cell(95,10,"Ticket#: ",1,0,"C"); 32 | $pdf->Cell(95,10,$ticketNum,1,1,"C"); 33 | 34 | $pdf->Cell(95,10,"Flight#: ",1,0,"C"); 35 | $pdf->Cell(95,10,$flightId,1,1,"C"); 36 | 37 | $pdf->Cell(95,10,"Name: ",1,0,"C"); 38 | $pdf->Cell(95,10,$getName,1,1,"C"); 39 | 40 | $pdf->Cell(95,10,"Gender: ",1,0,"C"); 41 | $pdf->Cell(95,10,$getGen,1,1,"C"); 42 | 43 | $pdf->Cell(95,10,"Email: ",1,0,"C"); 44 | $pdf->Cell(95,10,$getEmail,1,1,"C"); 45 | 46 | $pdf->Cell(95,10,"Phone: ",1,0,"C"); 47 | $pdf->Cell(95,10,$getPhn,1,1,"C"); 48 | 49 | $pdf->Cell(95,10,"Vehicle Name: ",1,0,"C"); 50 | $pdf->Cell(95,10,$getVehicle,1,1,"C"); 51 | 52 | $pdf->Cell(95,10,"Date-Of-Journey: ",1,0,"C"); 53 | $pdf->Cell(95,10,$getDOJ,1,1,"C"); 54 | 55 | $pdf->Cell(95,10,"Time: ",1,0,"C"); 56 | $pdf->Cell(95,10,$getTime,1,1,"C"); 57 | 58 | $pdf->Cell(95,10,"Route: ",1,0,"C"); 59 | $pdf->Cell(95,10,$getRoute,1,1,"C"); 60 | 61 | $pdf->Cell(95,10,"Seat Number: ",1,0,"C"); 62 | $pdf->Cell(95,10,$getSeats,1,1,"C"); 63 | 64 | $pdf->Cell(95,10,"Seat Category: ",1,0,"C"); 65 | $pdf->Cell(95,10,$getCategory,1,1,"C"); 66 | 67 | $pdf->Cell(95,10,"Total Fare: ",1,0,"C"); 68 | $pdf->Cell(95,10,$getFare,1,1,"C"); 69 | 70 | $pdf->Cell(95,10,"Payment Getway: ",1,0,"C"); 71 | $pdf->Cell(95,10,$getPaymethod,1,1,"C"); 72 | 73 | $pdf->Cell(190,10,$dateTime,0,0,"R"); 74 | $pdf->Output(); 75 | 76 | //header('Location: index.php'); 77 | //exit(); 78 | ?> -------------------------------------------------------------------------------- /fpdf/doc/__construct.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | __construct 6 | 7 | 8 | 9 |

__construct

10 | __construct([string orientation [, string unit [, mixed size]]]) 11 |

Description

12 | This is the class constructor. It allows to set up the page size, the orientation and the 13 | unit of measure used in all methods (except for font sizes). 14 |

Parameters

15 |
16 |
orientation
17 |
18 | Default page orientation. Possible values are (case insensitive): 19 | 23 | Default value is P. 24 |
25 |
unit
26 |
27 | User unit. Possible values are: 28 | 34 | A point equals 1/72 of inch, that is to say about 0.35 mm (an inch being 2.54 cm). This 35 | is a very common unit in typography; font sizes are expressed in that unit. 36 |
37 |
38 | Default value is mm. 39 |
40 |
size
41 |
42 | The size used for pages. It can be either one of the following values (case insensitive): 43 | 50 | or an array containing the width and the height (expressed in the unit given by unit).
51 |
52 | Default value is A4. 53 |
54 |
55 |

Example

56 | Example with a custom 100x150 mm page size: 57 |
58 |
$pdf = new FPDF('P','mm',array(100,150));
59 |
60 |
61 |
Index
62 | 63 | 64 | -------------------------------------------------------------------------------- /fpdf/doc/acceptpagebreak.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | AcceptPageBreak 6 | 7 | 8 | 9 |

AcceptPageBreak

10 | boolean AcceptPageBreak() 11 |

Description

12 | Whenever a page break condition is met, the method is called, and the break is issued or not 13 | depending on the returned value. The default implementation returns a value according to the 14 | mode selected by SetAutoPageBreak(). 15 |
16 | This method is called automatically and should not be called directly by the application. 17 |

Example

18 | The method is overriden in an inherited class in order to obtain a 3 column layout: 19 |
20 |
class PDF extends FPDF
21 | {
22 | var $col = 0;
23 | 
24 | function SetCol($col)
25 | {
26 |     // Move position to a column
27 |     $this->col = $col;
28 |     $x = 10+$col*65;
29 |     $this->SetLeftMargin($x);
30 |     $this->SetX($x);
31 | }
32 | 
33 | function AcceptPageBreak()
34 | {
35 |     if($this->col<2)
36 |     {
37 |         // Go to next column
38 |         $this->SetCol($this->col+1);
39 |         $this->SetY(10);
40 |         return false;
41 |     }
42 |     else
43 |     {
44 |         // Go back to first column and issue page break
45 |         $this->SetCol(0);
46 |         return true;
47 |     }
48 | }
49 | }
50 | 
51 | $pdf = new PDF();
52 | $pdf->AddPage();
53 | $pdf->SetFont('Arial','',12);
54 | for($i=1;$i<=300;$i++)
55 |     $pdf->Cell(0,5,"Line $i",0,1);
56 | $pdf->Output();
57 |
58 |

See also

59 | SetAutoPageBreak 60 |
61 |
Index
62 | 63 | 64 | -------------------------------------------------------------------------------- /fpdf/doc/addfont.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | AddFont 6 | 7 | 8 | 9 |

AddFont

10 | AddFont(string family [, string style [, string file]]) 11 |

Description

12 | Imports a TrueType, OpenType or Type1 font and makes it available. It is necessary to generate a font 13 | definition file first with the MakeFont utility. 14 |
15 | The definition file (and the font file itself when embedding) must be present in the font directory. 16 | If it is not found, the error "Could not include font definition file" is raised. 17 |

Parameters

18 |
19 |
family
20 |
21 | Font family. The name can be chosen arbitrarily. If it is a standard family name, it will 22 | override the corresponding font. 23 |
24 |
style
25 |
26 | Font style. Possible values are (case insensitive): 27 | 33 | The default value is regular. 34 |
35 |
file
36 |
37 | The font definition file. 38 |
39 | By default, the name is built from the family and style, in lower case with no space. 40 |
41 |
42 |

Example

43 |
44 |
$pdf->AddFont('Comic','I');
45 |
46 | is equivalent to: 47 |
48 |
$pdf->AddFont('Comic','I','comici.php');
49 |
50 |

See also

51 | SetFont 52 |
53 |
Index
54 | 55 | 56 | -------------------------------------------------------------------------------- /fpdf/doc/addlink.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | AddLink 6 | 7 | 8 | 9 |

AddLink

10 | int AddLink() 11 |

Description

12 | Creates a new internal link and returns its identifier. An internal link is a clickable area 13 | which directs to another place within the document. 14 |
15 | The identifier can then be passed to Cell(), Write(), Image() or Link(). The destination is 16 | defined with SetLink(). 17 |

See also

18 | Cell, 19 | Write, 20 | Image, 21 | Link, 22 | SetLink 23 |
24 |
Index
25 | 26 | 27 | -------------------------------------------------------------------------------- /fpdf/doc/addpage.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | AddPage 6 | 7 | 8 | 9 |

AddPage

10 | AddPage([string orientation [, mixed size [, int rotation]]]) 11 |

Description

12 | Adds a new page to the document. If a page is already present, the Footer() method is called 13 | first to output the footer. Then the page is added, the current position set to the top-left 14 | corner according to the left and top margins, and Header() is called to display the header. 15 |
16 | The font which was set before calling is automatically restored. There is no need to call 17 | SetFont() again if you want to continue with the same font. The same is true for colors and 18 | line width. 19 |
20 | The origin of the coordinate system is at the top-left corner and increasing ordinates go 21 | downwards. 22 |

Parameters

23 |
24 |
orientation
25 |
26 | Page orientation. Possible values are (case insensitive): 27 | 31 | The default value is the one passed to the constructor. 32 |
33 |
size
34 |
35 | Page size. It can be either one of the following values (case insensitive): 36 | 43 | or an array containing the width and the height (expressed in user unit).
44 |
45 | The default value is the one passed to the constructor. 46 |
47 |
rotation
48 |
49 | Angle by which to rotate the page. It must be a multiple of 90; positive values 50 | mean clockwise rotation. The default value is 0. 51 |
52 |
53 |

See also

54 | __construct, 55 | Header, 56 | Footer, 57 | SetMargins 58 |
59 |
Index
60 | 61 | 62 | -------------------------------------------------------------------------------- /fpdf/doc/aliasnbpages.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | AliasNbPages 6 | 7 | 8 | 9 |

AliasNbPages

10 | AliasNbPages([string alias]) 11 |

Description

12 | Defines an alias for the total number of pages. It will be substituted as the document is 13 | closed. 14 |

Parameters

15 |
16 |
alias
17 |
18 | The alias. Default value: {nb}. 19 |
20 |
21 |

Example

22 |
23 |
class PDF extends FPDF
24 | {
25 | function Footer()
26 | {
27 |     // Go to 1.5 cm from bottom
28 |     $this->SetY(-15);
29 |     // Select Arial italic 8
30 |     $this->SetFont('Arial','I',8);
31 |     // Print current and total page numbers
32 |     $this->Cell(0,10,'Page '.$this->PageNo().'/{nb}',0,0,'C');
33 | }
34 | }
35 | 
36 | $pdf = new PDF();
37 | $pdf->AliasNbPages();
38 |
39 |

See also

40 | PageNo, 41 | Footer 42 |
43 |
Index
44 | 45 | 46 | -------------------------------------------------------------------------------- /fpdf/doc/cell.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Cell 6 | 7 | 8 | 9 |

Cell

10 | Cell(float w [, float h [, string txt [, mixed border [, int ln [, string align [, boolean fill [, mixed link]]]]]]]) 11 |

Description

12 | Prints a cell (rectangular area) with optional borders, background color and character string. 13 | The upper-left corner of the cell corresponds to the current position. The text can be aligned 14 | or centered. After the call, the current position moves to the right or to the next line. It is 15 | possible to put a link on the text. 16 |
17 | If automatic page breaking is enabled and the cell goes beyond the limit, a page break is 18 | done before outputting. 19 |

Parameters

20 |
21 |
w
22 |
23 | Cell width. If 0, the cell extends up to the right margin. 24 |
25 |
h
26 |
27 | Cell height. 28 | Default value: 0. 29 |
30 |
txt
31 |
32 | String to print. 33 | Default value: empty string. 34 |
35 |
border
36 |
37 | Indicates if borders must be drawn around the cell. The value can be either a number: 38 | 42 | or a string containing some or all of the following characters (in any order): 43 | 49 | Default value: 0. 50 |
51 |
ln
52 |
53 | Indicates where the current position should go after the call. Possible values are: 54 | 59 | Putting 1 is equivalent to putting 0 and calling Ln() just after. 60 | Default value: 0. 61 |
62 |
align
63 |
64 | Allows to center or align the text. Possible values are: 65 | 70 |
71 |
fill
72 |
73 | Indicates if the cell background must be painted (true) or transparent (false). 74 | Default value: false. 75 |
76 |
link
77 |
78 | URL or identifier returned by AddLink(). 79 |
80 |
81 |

Example

82 |
83 |
// Set font
 84 | $pdf->SetFont('Arial','B',16);
 85 | // Move to 8 cm to the right
 86 | $pdf->Cell(80);
 87 | // Centered text in a framed 20*10 mm cell and line break
 88 | $pdf->Cell(20,10,'Title',1,1,'C');
89 |
90 |

See also

91 | SetFont, 92 | SetDrawColor, 93 | SetFillColor, 94 | SetTextColor, 95 | SetLineWidth, 96 | AddLink, 97 | Ln, 98 | MultiCell, 99 | Write, 100 | SetAutoPageBreak 101 |
102 |
Index
103 | 104 | 105 | -------------------------------------------------------------------------------- /fpdf/doc/close.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Close 6 | 7 | 8 | 9 |

Close

10 | Close() 11 |

Description

12 | Terminates the PDF document. It is not necessary to call this method explicitly because Output() 13 | does it automatically. 14 |
15 | If the document contains no page, AddPage() is called to prevent from getting an invalid document. 16 |

See also

17 | Output 18 |
19 |
Index
20 | 21 | 22 | -------------------------------------------------------------------------------- /fpdf/doc/error.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Error 6 | 7 | 8 | 9 |

Error

10 | Error(string msg) 11 |

Description

12 | This method is automatically called in case of a fatal error; it simply throws an exception 13 | with the provided message.
14 | An inherited class may override it to customize the error handling but the method should 15 | never return, otherwise the resulting document would probably be invalid. 16 |

Parameters

17 |
18 |
msg
19 |
20 | The error message. 21 |
22 |
23 |
24 |
Index
25 | 26 | 27 | -------------------------------------------------------------------------------- /fpdf/doc/footer.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Footer 6 | 7 | 8 | 9 |

Footer

10 | Footer() 11 |

Description

12 | This method is used to render the page footer. It is automatically called by AddPage() and 13 | Close() and should not be called directly by the application. The implementation in FPDF is 14 | empty, so you have to subclass it and override the method if you want a specific processing. 15 |

Example

16 |
17 |
class PDF extends FPDF
18 | {
19 | function Footer()
20 | {
21 |     // Go to 1.5 cm from bottom
22 |     $this->SetY(-15);
23 |     // Select Arial italic 8
24 |     $this->SetFont('Arial','I',8);
25 |     // Print centered page number
26 |     $this->Cell(0,10,'Page '.$this->PageNo(),0,0,'C');
27 | }
28 | }
29 |
30 |

See also

31 | Header 32 |
33 |
Index
34 | 35 | 36 | -------------------------------------------------------------------------------- /fpdf/doc/getpageheight.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | GetPageHeight 6 | 7 | 8 | 9 |

GetPageHeight

10 | float GetPageHeight() 11 |

Description

12 | Returns the current page height. 13 |

See also

14 | GetPageWidth 15 |
16 |
Index
17 | 18 | 19 | -------------------------------------------------------------------------------- /fpdf/doc/getpagewidth.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | GetPageWidth 6 | 7 | 8 | 9 |

GetPageWidth

10 | float GetPageWidth() 11 |

Description

12 | Returns the current page width. 13 |

See also

14 | GetPageHeight 15 |
16 |
Index
17 | 18 | 19 | -------------------------------------------------------------------------------- /fpdf/doc/getstringwidth.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | GetStringWidth 6 | 7 | 8 | 9 |

GetStringWidth

10 | float GetStringWidth(string s) 11 |

Description

12 | Returns the length of a string in user unit. A font must be selected. 13 |

Parameters

14 |
15 |
s
16 |
17 | The string whose length is to be computed. 18 |
19 |
20 |
21 |
Index
22 | 23 | 24 | -------------------------------------------------------------------------------- /fpdf/doc/getx.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | GetX 6 | 7 | 8 | 9 |

GetX

10 | float GetX() 11 |

Description

12 | Returns the abscissa of the current position. 13 |

See also

14 | SetX, 15 | GetY, 16 | SetY 17 |
18 |
Index
19 | 20 | 21 | -------------------------------------------------------------------------------- /fpdf/doc/gety.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | GetY 6 | 7 | 8 | 9 |

GetY

10 | float GetY() 11 |

Description

12 | Returns the ordinate of the current position. 13 |

See also

14 | SetY, 15 | GetX, 16 | SetX 17 |
18 |
Index
19 | 20 | 21 | -------------------------------------------------------------------------------- /fpdf/doc/header.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Header 6 | 7 | 8 | 9 |

Header

10 | Header() 11 |

Description

12 | This method is used to render the page header. It is automatically called by AddPage() and 13 | should not be called directly by the application. The implementation in FPDF is empty, so 14 | you have to subclass it and override the method if you want a specific processing. 15 |

Example

16 |
17 |
class PDF extends FPDF
18 | {
19 | function Header()
20 | {
21 |     // Select Arial bold 15
22 |     $this->SetFont('Arial','B',15);
23 |     // Move to the right
24 |     $this->Cell(80);
25 |     // Framed title
26 |     $this->Cell(30,10,'Title',1,0,'C');
27 |     // Line break
28 |     $this->Ln(20);
29 | }
30 | }
31 |
32 |

See also

33 | Footer 34 |
35 |
Index
36 | 37 | 38 | -------------------------------------------------------------------------------- /fpdf/doc/image.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Image 6 | 7 | 8 | 9 |

Image

10 | Image(string file [, float x [, float y [, float w [, float h [, string type [, mixed link]]]]]]) 11 |

Description

12 | Puts an image. The size it will take on the page can be specified in different ways: 13 | 18 | Supported formats are JPEG, PNG and GIF. The GD extension is required for GIF. 19 |
20 |
21 | For JPEGs, all flavors are allowed: 22 | 27 | For PNGs, are allowed: 28 | 33 | For GIFs: in case of an animated GIF, only the first frame is displayed.
34 |
35 | Transparency is supported.
36 |
37 | The format can be specified explicitly or inferred from the file extension.
38 |
39 | It is possible to put a link on the image.
40 |
41 | Remark: if an image is used several times, only one copy is embedded in the file. 42 |

Parameters

43 |
44 |
file
45 |
46 | Path or URL of the image. 47 |
48 |
x
49 |
50 | Abscissa of the upper-left corner. If not specified or equal to null, the current abscissa 51 | is used. 52 |
53 |
y
54 |
55 | Ordinate of the upper-left corner. If not specified or equal to null, the current ordinate 56 | is used; moreover, a page break is triggered first if necessary (in case automatic page breaking is enabled) 57 | and, after the call, the current ordinate is moved to the bottom of the image. 58 |
59 |
w
60 |
61 | Width of the image in the page. There are three cases: 62 | 67 |
68 |
h
69 |
70 | Height of the image in the page. There are three cases: 71 | 76 |
77 |
type
78 |
79 | Image format. Possible values are (case insensitive): JPG, JPEG, PNG and GIF. 80 | If not specified, the type is inferred from the file extension. 81 |
82 |
link
83 |
84 | URL or identifier returned by AddLink(). 85 |
86 |
87 |

Example

88 |
89 |
// Insert a logo in the top-left corner at 300 dpi
 90 | $pdf->Image('logo.png',10,10,-300);
 91 | // Insert a dynamic image from a URL
 92 | $pdf->Image('http://chart.googleapis.com/chart?cht=p3&chd=t:60,40&chs=250x100&chl=Hello|World',60,30,90,0,'PNG');
93 |
94 |

See also

95 | AddLink 96 |
97 |
Index
98 | 99 | 100 | -------------------------------------------------------------------------------- /fpdf/doc/index.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | FPDF 1.81 Reference Manual 6 | 7 | 8 | 9 |

FPDF 1.81 Reference Manual

10 | __construct - constructor
11 | AcceptPageBreak - accept or not automatic page break
12 | AddFont - add a new font
13 | AddLink - create an internal link
14 | AddPage - add a new page
15 | AliasNbPages - define an alias for number of pages
16 | Cell - print a cell
17 | Close - terminate the document
18 | Error - fatal error
19 | Footer - page footer
20 | GetPageHeight - get current page height
21 | GetPageWidth - get current page width
22 | GetStringWidth - compute string length
23 | GetX - get current x position
24 | GetY - get current y position
25 | Header - page header
26 | Image - output an image
27 | Line - draw a line
28 | Link - put a link
29 | Ln - line break
30 | MultiCell - print text with line breaks
31 | Output - save or send the document
32 | PageNo - page number
33 | Rect - draw a rectangle
34 | SetAuthor - set the document author
35 | SetAutoPageBreak - set the automatic page breaking mode
36 | SetCompression - turn compression on or off
37 | SetCreator - set document creator
38 | SetDisplayMode - set display mode
39 | SetDrawColor - set drawing color
40 | SetFillColor - set filling color
41 | SetFont - set font
42 | SetFontSize - set font size
43 | SetKeywords - associate keywords with document
44 | SetLeftMargin - set left margin
45 | SetLineWidth - set line width
46 | SetLink - set internal link destination
47 | SetMargins - set margins
48 | SetRightMargin - set right margin
49 | SetSubject - set document subject
50 | SetTextColor - set text color
51 | SetTitle - set document title
52 | SetTopMargin - set top margin
53 | SetX - set current x position
54 | SetXY - set current x and y positions
55 | SetY - set current y position and optionally reset x
56 | Text - print a string
57 | Write - print flowing text
58 | 59 | 60 | -------------------------------------------------------------------------------- /fpdf/doc/line.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Line 6 | 7 | 8 | 9 |

Line

10 | Line(float x1, float y1, float x2, float y2) 11 |

Description

12 | Draws a line between two points. 13 |

Parameters

14 |
15 |
x1
16 |
17 | Abscissa of first point. 18 |
19 |
y1
20 |
21 | Ordinate of first point. 22 |
23 |
x2
24 |
25 | Abscissa of second point. 26 |
27 |
y2
28 |
29 | Ordinate of second point. 30 |
31 |
32 |

See also

33 | SetLineWidth, 34 | SetDrawColor 35 |
36 |
Index
37 | 38 | 39 | -------------------------------------------------------------------------------- /fpdf/doc/link.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Link 6 | 7 | 8 | 9 |

Link

10 | Link(float x, float y, float w, float h, mixed link) 11 |

Description

12 | Puts a link on a rectangular area of the page. Text or image links are generally put via Cell(), 13 | Write() or Image(), but this method can be useful for instance to define a clickable area inside 14 | an image. 15 |

Parameters

16 |
17 |
x
18 |
19 | Abscissa of the upper-left corner of the rectangle. 20 |
21 |
y
22 |
23 | Ordinate of the upper-left corner of the rectangle. 24 |
25 |
w
26 |
27 | Width of the rectangle. 28 |
29 |
h
30 |
31 | Height of the rectangle. 32 |
33 |
link
34 |
35 | URL or identifier returned by AddLink(). 36 |
37 |
38 |

See also

39 | AddLink, 40 | Cell, 41 | Write, 42 | Image 43 |
44 |
Index
45 | 46 | 47 | -------------------------------------------------------------------------------- /fpdf/doc/ln.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Ln 6 | 7 | 8 | 9 |

Ln

10 | Ln([float h]) 11 |

Description

12 | Performs a line break. The current abscissa goes back to the left margin and the ordinate 13 | increases by the amount passed in parameter. 14 |

Parameters

15 |
16 |
h
17 |
18 | The height of the break. 19 |
20 | By default, the value equals the height of the last printed cell. 21 |
22 |
23 |

See also

24 | Cell 25 |
26 |
Index
27 | 28 | 29 | -------------------------------------------------------------------------------- /fpdf/doc/multicell.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | MultiCell 6 | 7 | 8 | 9 |

MultiCell

10 | MultiCell(float w, float h, string txt [, mixed border [, string align [, boolean fill]]]) 11 |

Description

12 | This method allows printing text with line breaks. They can be automatic (as soon as the 13 | text reaches the right border of the cell) or explicit (via the \n character). As many cells 14 | as necessary are output, one below the other. 15 |
16 | Text can be aligned, centered or justified. The cell block can be framed and the background 17 | painted. 18 |

Parameters

19 |
20 |
w
21 |
22 | Width of cells. If 0, they extend up to the right margin of the page. 23 |
24 |
h
25 |
26 | Height of cells. 27 |
28 |
txt
29 |
30 | String to print. 31 |
32 |
border
33 |
34 | Indicates if borders must be drawn around the cell block. The value can be either a number: 35 | 39 | or a string containing some or all of the following characters (in any order): 40 | 46 | Default value: 0. 47 |
48 |
align
49 |
50 | Sets the text alignment. Possible values are: 51 | 57 |
58 |
fill
59 |
60 | Indicates if the cell background must be painted (true) or transparent (false). 61 | Default value: false. 62 |
63 |
64 |

See also

65 | SetFont, 66 | SetDrawColor, 67 | SetFillColor, 68 | SetTextColor, 69 | SetLineWidth, 70 | Cell, 71 | Write, 72 | SetAutoPageBreak 73 |
74 |
Index
75 | 76 | 77 | -------------------------------------------------------------------------------- /fpdf/doc/output.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Output 6 | 7 | 8 | 9 |

Output

10 | string Output([string dest [, string name [, boolean isUTF8]]]) 11 |

Description

12 | Send the document to a given destination: browser, file or string. In the case of a browser, the 13 | PDF viewer may be used or a download may be forced. 14 |
15 | The method first calls Close() if necessary to terminate the document. 16 |

Parameters

17 |
18 |
dest
19 |
20 | Destination where to send the document. It can be one of the following: 21 | 27 | The default value is I. 28 |
29 |
name
30 |
31 | The name of the file. It is ignored in case of destination S.
32 | The default value is doc.pdf. 33 |
34 |
isUTF8
35 |
36 | Indicates if name is encoded in ISO-8859-1 (false) or UTF-8 (true). 37 | Only used for destinations I and D.
38 | The default value is false. 39 |
40 |
41 |

See also

42 | Close 43 |
44 |
Index
45 | 46 | 47 | -------------------------------------------------------------------------------- /fpdf/doc/pageno.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PageNo 6 | 7 | 8 | 9 |

PageNo

10 | int PageNo() 11 |

Description

12 | Returns the current page number. 13 |

See also

14 | AliasNbPages 15 |
16 |
Index
17 | 18 | 19 | -------------------------------------------------------------------------------- /fpdf/doc/rect.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Rect 6 | 7 | 8 | 9 |

Rect

10 | Rect(float x, float y, float w, float h [, string style]) 11 |

Description

12 | Outputs a rectangle. It can be drawn (border only), filled (with no border) or both. 13 |

Parameters

14 |
15 |
x
16 |
17 | Abscissa of upper-left corner. 18 |
19 |
y
20 |
21 | Ordinate of upper-left corner. 22 |
23 |
w
24 |
25 | Width. 26 |
27 |
h
28 |
29 | Height. 30 |
31 |
style
32 |
33 | Style of rendering. Possible values are: 34 | 39 |
40 |
41 |

See also

42 | SetLineWidth, 43 | SetDrawColor, 44 | SetFillColor 45 |
46 |
Index
47 | 48 | 49 | -------------------------------------------------------------------------------- /fpdf/doc/setauthor.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SetAuthor 6 | 7 | 8 | 9 |

SetAuthor

10 | SetAuthor(string author [, boolean isUTF8]) 11 |

Description

12 | Defines the author of the document. 13 |

Parameters

14 |
15 |
author
16 |
17 | The name of the author. 18 |
19 |
isUTF8
20 |
21 | Indicates if the string is encoded in ISO-8859-1 (false) or UTF-8 (true).
22 | Default value: false. 23 |
24 |
25 |

See also

26 | SetCreator, 27 | SetKeywords, 28 | SetSubject, 29 | SetTitle 30 |
31 |
Index
32 | 33 | 34 | -------------------------------------------------------------------------------- /fpdf/doc/setautopagebreak.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SetAutoPageBreak 6 | 7 | 8 | 9 |

SetAutoPageBreak

10 | SetAutoPageBreak(boolean auto [, float margin]) 11 |

Description

12 | Enables or disables the automatic page breaking mode. When enabling, the second parameter is 13 | the distance from the bottom of the page that defines the triggering limit. By default, the 14 | mode is on and the margin is 2 cm. 15 |

Parameters

16 |
17 |
auto
18 |
19 | Boolean indicating if mode should be on or off. 20 |
21 |
margin
22 |
23 | Distance from the bottom of the page. 24 |
25 |
26 |

See also

27 | Cell, 28 | MultiCell, 29 | AcceptPageBreak 30 |
31 |
Index
32 | 33 | 34 | -------------------------------------------------------------------------------- /fpdf/doc/setcompression.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SetCompression 6 | 7 | 8 | 9 |

SetCompression

10 | SetCompression(boolean compress) 11 |

Description

12 | Activates or deactivates page compression. When activated, the internal representation of 13 | each page is compressed, which leads to a compression ratio of about 2 for the resulting 14 | document. 15 |
16 | Compression is on by default. 17 |
18 |
19 | Note: the Zlib extension is required for this feature. If not present, compression 20 | will be turned off. 21 |

Parameters

22 |
23 |
compress
24 |
25 | Boolean indicating if compression must be enabled. 26 |
27 |
28 |
29 |
Index
30 | 31 | 32 | -------------------------------------------------------------------------------- /fpdf/doc/setcreator.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SetCreator 6 | 7 | 8 | 9 |

SetCreator

10 | SetCreator(string creator [, boolean isUTF8]) 11 |

Description

12 | Defines the creator of the document. This is typically the name of the application that 13 | generates the PDF. 14 |

Parameters

15 |
16 |
creator
17 |
18 | The name of the creator. 19 |
20 |
isUTF8
21 |
22 | Indicates if the string is encoded in ISO-8859-1 (false) or UTF-8 (true).
23 | Default value: false. 24 |
25 |
26 |

See also

27 | SetAuthor, 28 | SetKeywords, 29 | SetSubject, 30 | SetTitle 31 |
32 |
Index
33 | 34 | 35 | -------------------------------------------------------------------------------- /fpdf/doc/setdisplaymode.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SetDisplayMode 6 | 7 | 8 | 9 |

SetDisplayMode

10 | SetDisplayMode(mixed zoom [, string layout]) 11 |

Description

12 | Defines the way the document is to be displayed by the viewer. The zoom level can be set: pages can be 13 | displayed entirely on screen, occupy the full width of the window, use real size, be scaled by a 14 | specific zooming factor or use viewer default (configured in the Preferences menu of Adobe Reader). 15 | The page layout can be specified too: single at once, continuous display, two columns or viewer 16 | default. 17 |

Parameters

18 |
19 |
zoom
20 |
21 | The zoom to use. It can be one of the following string values: 22 | 28 | or a number indicating the zooming factor to use. 29 |
30 |
layout
31 |
32 | The page layout. Possible values are: 33 | 39 | Default value is default. 40 |
41 |
42 |
43 |
Index
44 | 45 | 46 | -------------------------------------------------------------------------------- /fpdf/doc/setdrawcolor.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SetDrawColor 6 | 7 | 8 | 9 |

SetDrawColor

10 | SetDrawColor(int r [, int g, int b]) 11 |

Description

12 | Defines the color used for all drawing operations (lines, rectangles and cell borders). It 13 | can be expressed in RGB components or gray scale. The method can be called before the first 14 | page is created and the value is retained from page to page. 15 |

Parameters

16 |
17 |
r
18 |
19 | If g et b are given, red component; if not, indicates the gray level. 20 | Value between 0 and 255. 21 |
22 |
g
23 |
24 | Green component (between 0 and 255). 25 |
26 |
b
27 |
28 | Blue component (between 0 and 255). 29 |
30 |
31 |

See also

32 | SetFillColor, 33 | SetTextColor, 34 | Line, 35 | Rect, 36 | Cell, 37 | MultiCell 38 |
39 |
Index
40 | 41 | 42 | -------------------------------------------------------------------------------- /fpdf/doc/setfillcolor.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SetFillColor 6 | 7 | 8 | 9 |

SetFillColor

10 | SetFillColor(int r [, int g, int b]) 11 |

Description

12 | Defines the color used for all filling operations (filled rectangles and cell backgrounds). 13 | It can be expressed in RGB components or gray scale. The method can be called before the first 14 | page is created and the value is retained from page to page. 15 |

Parameters

16 |
17 |
r
18 |
19 | If g and b are given, red component; if not, indicates the gray level. 20 | Value between 0 and 255. 21 |
22 |
g
23 |
24 | Green component (between 0 and 255). 25 |
26 |
b
27 |
28 | Blue component (between 0 and 255). 29 |
30 |
31 |

See also

32 | SetDrawColor, 33 | SetTextColor, 34 | Rect, 35 | Cell, 36 | MultiCell 37 |
38 |
Index
39 | 40 | 41 | -------------------------------------------------------------------------------- /fpdf/doc/setfont.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SetFont 6 | 7 | 8 | 9 |

SetFont

10 | SetFont(string family [, string style [, float size]]) 11 |

Description

12 | Sets the font used to print character strings. It is mandatory to call this method 13 | at least once before printing text or the resulting document would not be valid. 14 |
15 | The font can be either a standard one or a font added via the AddFont() method. Standard fonts 16 | use the Windows encoding cp1252 (Western Europe). 17 |
18 | The method can be called before the first page is created and the font is kept from page 19 | to page. 20 |
21 | If you just wish to change the current font size, it is simpler to call SetFontSize(). 22 |
23 |
24 | Note: the font definition files must be accessible. They are searched successively in: 25 | 30 | Example using FPDF_FONTPATH: 31 |
32 |
define('FPDF_FONTPATH','/home/www/font');
33 | require('fpdf.php');
34 |
35 | If the file corresponding to the requested font is not found, the error "Could not include font 36 | definition file" is raised. 37 |

Parameters

38 |
39 |
family
40 |
41 | Family font. It can be either a name defined by AddFont() or one of the standard families (case 42 | insensitive): 43 | 50 | It is also possible to pass an empty string. In that case, the current family is kept. 51 |
52 |
style
53 |
54 | Font style. Possible values are (case insensitive): 55 | 61 | or any combination. The default value is regular. 62 | Bold and italic styles do not apply to Symbol and ZapfDingbats. 63 |
64 |
size
65 |
66 | Font size in points. 67 |
68 | The default value is the current size. If no size has been specified since the beginning of 69 | the document, the value taken is 12. 70 |
71 |
72 |

Example

73 |
74 |
// Times regular 12
75 | $pdf->SetFont('Times');
76 | // Arial bold 14
77 | $pdf->SetFont('Arial','B',14);
78 | // Removes bold
79 | $pdf->SetFont('');
80 | // Times bold, italic and underlined 14
81 | $pdf->SetFont('Times','BIU');
82 |
83 |

See also

84 | AddFont, 85 | SetFontSize, 86 | Cell, 87 | MultiCell, 88 | Write 89 |
90 |
Index
91 | 92 | 93 | -------------------------------------------------------------------------------- /fpdf/doc/setfontsize.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SetFontSize 6 | 7 | 8 | 9 |

SetFontSize

10 | SetFontSize(float size) 11 |

Description

12 | Defines the size of the current font. 13 |

Parameters

14 |
15 |
size
16 |
17 | The size (in points). 18 |
19 |
20 |

See also

21 | SetFont 22 |
23 |
Index
24 | 25 | 26 | -------------------------------------------------------------------------------- /fpdf/doc/setkeywords.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SetKeywords 6 | 7 | 8 | 9 |

SetKeywords

10 | SetKeywords(string keywords [, boolean isUTF8]) 11 |

Description

12 | Associates keywords with the document, generally in the form 'keyword1 keyword2 ...'. 13 |

Parameters

14 |
15 |
keywords
16 |
17 | The list of keywords. 18 |
19 |
isUTF8
20 |
21 | Indicates if the string is encoded in ISO-8859-1 (false) or UTF-8 (true).
22 | Default value: false. 23 |
24 |
25 |

See also

26 | SetAuthor, 27 | SetCreator, 28 | SetSubject, 29 | SetTitle 30 |
31 |
Index
32 | 33 | 34 | -------------------------------------------------------------------------------- /fpdf/doc/setleftmargin.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SetLeftMargin 6 | 7 | 8 | 9 |

SetLeftMargin

10 | SetLeftMargin(float margin) 11 |

Description

12 | Defines the left margin. The method can be called before creating the first page. 13 |
14 | If the current abscissa gets out of page, it is brought back to the margin. 15 |

Parameters

16 |
17 |
margin
18 |
19 | The margin. 20 |
21 |
22 |

See also

23 | SetTopMargin, 24 | SetRightMargin, 25 | SetAutoPageBreak, 26 | SetMargins 27 |
28 |
Index
29 | 30 | 31 | -------------------------------------------------------------------------------- /fpdf/doc/setlinewidth.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SetLineWidth 6 | 7 | 8 | 9 |

SetLineWidth

10 | SetLineWidth(float width) 11 |

Description

12 | Defines the line width. By default, the value equals 0.2 mm. The method can be called before 13 | the first page is created and the value is retained from page to page. 14 |

Parameters

15 |
16 |
width
17 |
18 | The width. 19 |
20 |
21 |

See also

22 | Line, 23 | Rect, 24 | Cell, 25 | MultiCell 26 |
27 |
Index
28 | 29 | 30 | -------------------------------------------------------------------------------- /fpdf/doc/setlink.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SetLink 6 | 7 | 8 | 9 |

SetLink

10 | SetLink(int link [, float y [, int page]]) 11 |

Description

12 | Defines the page and position a link points to. 13 |

Parameters

14 |
15 |
link
16 |
17 | The link identifier returned by AddLink(). 18 |
19 |
y
20 |
21 | Ordinate of target position; -1 indicates the current position. 22 | The default value is 0 (top of page). 23 |
24 |
page
25 |
26 | Number of target page; -1 indicates the current page. This is the default value. 27 |
28 |
29 |

See also

30 | AddLink 31 |
32 |
Index
33 | 34 | 35 | -------------------------------------------------------------------------------- /fpdf/doc/setmargins.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SetMargins 6 | 7 | 8 | 9 |

SetMargins

10 | SetMargins(float left, float top [, float right]) 11 |

Description

12 | Defines the left, top and right margins. By default, they equal 1 cm. Call this method to change 13 | them. 14 |

Parameters

15 |
16 |
left
17 |
18 | Left margin. 19 |
20 |
top
21 |
22 | Top margin. 23 |
24 |
right
25 |
26 | Right margin. Default value is the left one. 27 |
28 |
29 |

See also

30 | SetLeftMargin, 31 | SetTopMargin, 32 | SetRightMargin, 33 | SetAutoPageBreak 34 |
35 |
Index
36 | 37 | 38 | -------------------------------------------------------------------------------- /fpdf/doc/setrightmargin.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SetRightMargin 6 | 7 | 8 | 9 |

SetRightMargin

10 | SetRightMargin(float margin) 11 |

Description

12 | Defines the right margin. The method can be called before creating the first page. 13 |

Parameters

14 |
15 |
margin
16 |
17 | The margin. 18 |
19 |
20 |

See also

21 | SetLeftMargin, 22 | SetTopMargin, 23 | SetAutoPageBreak, 24 | SetMargins 25 |
26 |
Index
27 | 28 | 29 | -------------------------------------------------------------------------------- /fpdf/doc/setsubject.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SetSubject 6 | 7 | 8 | 9 |

SetSubject

10 | SetSubject(string subject [, boolean isUTF8]) 11 |

Description

12 | Defines the subject of the document. 13 |

Parameters

14 |
15 |
subject
16 |
17 | The subject. 18 |
19 |
isUTF8
20 |
21 | Indicates if the string is encoded in ISO-8859-1 (false) or UTF-8 (true).
22 | Default value: false. 23 |
24 |
25 |

See also

26 | SetAuthor, 27 | SetCreator, 28 | SetKeywords, 29 | SetTitle 30 |
31 |
Index
32 | 33 | 34 | -------------------------------------------------------------------------------- /fpdf/doc/settextcolor.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SetTextColor 6 | 7 | 8 | 9 |

SetTextColor

10 | SetTextColor(int r [, int g, int b]) 11 |

Description

12 | Defines the color used for text. It can be expressed in RGB components or gray scale. The 13 | method can be called before the first page is created and the value is retained from page to 14 | page. 15 |

Parameters

16 |
17 |
r
18 |
19 | If g et b are given, red component; if not, indicates the gray level. 20 | Value between 0 and 255. 21 |
22 |
g
23 |
24 | Green component (between 0 and 255). 25 |
26 |
b
27 |
28 | Blue component (between 0 and 255). 29 |
30 |
31 |

See also

32 | SetDrawColor, 33 | SetFillColor, 34 | Text, 35 | Cell, 36 | MultiCell 37 |
38 |
Index
39 | 40 | 41 | -------------------------------------------------------------------------------- /fpdf/doc/settitle.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SetTitle 6 | 7 | 8 | 9 |

SetTitle

10 | SetTitle(string title [, boolean isUTF8]) 11 |

Description

12 | Defines the title of the document. 13 |

Parameters

14 |
15 |
title
16 |
17 | The title. 18 |
19 |
isUTF8
20 |
21 | Indicates if the string is encoded in ISO-8859-1 (false) or UTF-8 (true).
22 | Default value: false. 23 |
24 |
25 |

See also

26 | SetAuthor, 27 | SetCreator, 28 | SetKeywords, 29 | SetSubject 30 |
31 |
Index
32 | 33 | 34 | -------------------------------------------------------------------------------- /fpdf/doc/settopmargin.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SetTopMargin 6 | 7 | 8 | 9 |

SetTopMargin

10 | SetTopMargin(float margin) 11 |

Description

12 | Defines the top margin. The method can be called before creating the first page. 13 |

Parameters

14 |
15 |
margin
16 |
17 | The margin. 18 |
19 |
20 |

See also

21 | SetLeftMargin, 22 | SetRightMargin, 23 | SetAutoPageBreak, 24 | SetMargins 25 |
26 |
Index
27 | 28 | 29 | -------------------------------------------------------------------------------- /fpdf/doc/setx.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SetX 6 | 7 | 8 | 9 |

SetX

10 | SetX(float x) 11 |

Description

12 | Defines the abscissa of the current position. If the passed value is negative, it is relative 13 | to the right of the page. 14 |

Parameters

15 |
16 |
x
17 |
18 | The value of the abscissa. 19 |
20 |
21 |

See also

22 | GetX, 23 | GetY, 24 | SetY, 25 | SetXY 26 |
27 |
Index
28 | 29 | 30 | -------------------------------------------------------------------------------- /fpdf/doc/setxy.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SetXY 6 | 7 | 8 | 9 |

SetXY

10 | SetXY(float x, float y) 11 |

Description

12 | Defines the abscissa and ordinate of the current position. If the passed values are negative, 13 | they are relative respectively to the right and bottom of the page. 14 |

Parameters

15 |
16 |
x
17 |
18 | The value of the abscissa. 19 |
20 |
y
21 |
22 | The value of the ordinate. 23 |
24 |
25 |

See also

26 | SetX, 27 | SetY 28 |
29 |
Index
30 | 31 | 32 | -------------------------------------------------------------------------------- /fpdf/doc/sety.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SetY 6 | 7 | 8 | 9 |

SetY

10 | SetY(float y [, boolean resetX]) 11 |

Description

12 | Sets the ordinate and optionally moves the current abscissa back to the left margin. If the value 13 | is negative, it is relative to the bottom of the page. 14 |

Parameters

15 |
16 |
y
17 |
18 | The value of the ordinate. 19 |
20 |
resetX
21 |
22 | Whether to reset the abscissa. Default value: true. 23 |
24 |
25 |

See also

26 | GetX, 27 | GetY, 28 | SetX, 29 | SetXY 30 |
31 |
Index
32 | 33 | 34 | -------------------------------------------------------------------------------- /fpdf/doc/text.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Text 6 | 7 | 8 | 9 |

Text

10 | Text(float x, float y, string txt) 11 |

Description

12 | Prints a character string. The origin is on the left of the first character, on the baseline. 13 | This method allows to place a string precisely on the page, but it is usually easier to use 14 | Cell(), MultiCell() or Write() which are the standard methods to print text. 15 |

Parameters

16 |
17 |
x
18 |
19 | Abscissa of the origin. 20 |
21 |
y
22 |
23 | Ordinate of the origin. 24 |
25 |
txt
26 |
27 | String to print. 28 |
29 |
30 |

See also

31 | SetFont, 32 | SetTextColor, 33 | Cell, 34 | MultiCell, 35 | Write 36 |
37 |
Index
38 | 39 | 40 | -------------------------------------------------------------------------------- /fpdf/doc/write.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Write 6 | 7 | 8 | 9 |

Write

10 | Write(float h, string txt [, mixed link]) 11 |

Description

12 | This method prints text from the current position. When the right margin is reached (or the \n 13 | character is met) a line break occurs and text continues from the left margin. Upon method exit, 14 | the current position is left just at the end of the text. 15 |
16 | It is possible to put a link on the text. 17 |

Parameters

18 |
19 |
h
20 |
21 | Line height. 22 |
23 |
txt
24 |
25 | String to print. 26 |
27 |
link
28 |
29 | URL or identifier returned by AddLink(). 30 |
31 |
32 |

Example

33 |
34 |
// Begin with regular font
35 | $pdf->SetFont('Arial','',14);
36 | $pdf->Write(5,'Visit ');
37 | // Then put a blue underlined link
38 | $pdf->SetTextColor(0,0,255);
39 | $pdf->SetFont('','U');
40 | $pdf->Write(5,'www.fpdf.org','http://www.fpdf.org');
41 |
42 |

See also

43 | SetFont, 44 | SetTextColor, 45 | AddLink, 46 | MultiCell, 47 | SetAutoPageBreak 48 |
49 |
Index
50 | 51 | 52 | -------------------------------------------------------------------------------- /fpdf/font/courier.php: -------------------------------------------------------------------------------- 1 | array(0,128),128=>8364,130=>8218,131=>402,132=>8222,133=>8230,134=>array(8224,2),136=>710,137=>8240,138=>352,139=>8249,140=>338,142=>381,145=>array(8216,2),147=>array(8220,2),149=>8226,150=>array(8211,2),152=>732,153=>8482,154=>353,155=>8250,156=>339,158=>382,159=>376,160=>array(160,96)); 10 | ?> 11 | -------------------------------------------------------------------------------- /fpdf/font/courierb.php: -------------------------------------------------------------------------------- 1 | array(0,128),128=>8364,130=>8218,131=>402,132=>8222,133=>8230,134=>array(8224,2),136=>710,137=>8240,138=>352,139=>8249,140=>338,142=>381,145=>array(8216,2),147=>array(8220,2),149=>8226,150=>array(8211,2),152=>732,153=>8482,154=>353,155=>8250,156=>339,158=>382,159=>376,160=>array(160,96)); 10 | ?> 11 | -------------------------------------------------------------------------------- /fpdf/font/courierbi.php: -------------------------------------------------------------------------------- 1 | array(0,128),128=>8364,130=>8218,131=>402,132=>8222,133=>8230,134=>array(8224,2),136=>710,137=>8240,138=>352,139=>8249,140=>338,142=>381,145=>array(8216,2),147=>array(8220,2),149=>8226,150=>array(8211,2),152=>732,153=>8482,154=>353,155=>8250,156=>339,158=>382,159=>376,160=>array(160,96)); 10 | ?> 11 | -------------------------------------------------------------------------------- /fpdf/font/courieri.php: -------------------------------------------------------------------------------- 1 | array(0,128),128=>8364,130=>8218,131=>402,132=>8222,133=>8230,134=>array(8224,2),136=>710,137=>8240,138=>352,139=>8249,140=>338,142=>381,145=>array(8216,2),147=>array(8220,2),149=>8226,150=>array(8211,2),152=>732,153=>8482,154=>353,155=>8250,156=>339,158=>382,159=>376,160=>array(160,96)); 10 | ?> 11 | -------------------------------------------------------------------------------- /fpdf/font/helvetica.php: -------------------------------------------------------------------------------- 1 | 278,chr(1)=>278,chr(2)=>278,chr(3)=>278,chr(4)=>278,chr(5)=>278,chr(6)=>278,chr(7)=>278,chr(8)=>278,chr(9)=>278,chr(10)=>278,chr(11)=>278,chr(12)=>278,chr(13)=>278,chr(14)=>278,chr(15)=>278,chr(16)=>278,chr(17)=>278,chr(18)=>278,chr(19)=>278,chr(20)=>278,chr(21)=>278, 8 | chr(22)=>278,chr(23)=>278,chr(24)=>278,chr(25)=>278,chr(26)=>278,chr(27)=>278,chr(28)=>278,chr(29)=>278,chr(30)=>278,chr(31)=>278,' '=>278,'!'=>278,'"'=>355,'#'=>556,'$'=>556,'%'=>889,'&'=>667,'\''=>191,'('=>333,')'=>333,'*'=>389,'+'=>584, 9 | ','=>278,'-'=>333,'.'=>278,'/'=>278,'0'=>556,'1'=>556,'2'=>556,'3'=>556,'4'=>556,'5'=>556,'6'=>556,'7'=>556,'8'=>556,'9'=>556,':'=>278,';'=>278,'<'=>584,'='=>584,'>'=>584,'?'=>556,'@'=>1015,'A'=>667, 10 | 'B'=>667,'C'=>722,'D'=>722,'E'=>667,'F'=>611,'G'=>778,'H'=>722,'I'=>278,'J'=>500,'K'=>667,'L'=>556,'M'=>833,'N'=>722,'O'=>778,'P'=>667,'Q'=>778,'R'=>722,'S'=>667,'T'=>611,'U'=>722,'V'=>667,'W'=>944, 11 | 'X'=>667,'Y'=>667,'Z'=>611,'['=>278,'\\'=>278,']'=>278,'^'=>469,'_'=>556,'`'=>333,'a'=>556,'b'=>556,'c'=>500,'d'=>556,'e'=>556,'f'=>278,'g'=>556,'h'=>556,'i'=>222,'j'=>222,'k'=>500,'l'=>222,'m'=>833, 12 | 'n'=>556,'o'=>556,'p'=>556,'q'=>556,'r'=>333,'s'=>500,'t'=>278,'u'=>556,'v'=>500,'w'=>722,'x'=>500,'y'=>500,'z'=>500,'{'=>334,'|'=>260,'}'=>334,'~'=>584,chr(127)=>350,chr(128)=>556,chr(129)=>350,chr(130)=>222,chr(131)=>556, 13 | chr(132)=>333,chr(133)=>1000,chr(134)=>556,chr(135)=>556,chr(136)=>333,chr(137)=>1000,chr(138)=>667,chr(139)=>333,chr(140)=>1000,chr(141)=>350,chr(142)=>611,chr(143)=>350,chr(144)=>350,chr(145)=>222,chr(146)=>222,chr(147)=>333,chr(148)=>333,chr(149)=>350,chr(150)=>556,chr(151)=>1000,chr(152)=>333,chr(153)=>1000, 14 | chr(154)=>500,chr(155)=>333,chr(156)=>944,chr(157)=>350,chr(158)=>500,chr(159)=>667,chr(160)=>278,chr(161)=>333,chr(162)=>556,chr(163)=>556,chr(164)=>556,chr(165)=>556,chr(166)=>260,chr(167)=>556,chr(168)=>333,chr(169)=>737,chr(170)=>370,chr(171)=>556,chr(172)=>584,chr(173)=>333,chr(174)=>737,chr(175)=>333, 15 | chr(176)=>400,chr(177)=>584,chr(178)=>333,chr(179)=>333,chr(180)=>333,chr(181)=>556,chr(182)=>537,chr(183)=>278,chr(184)=>333,chr(185)=>333,chr(186)=>365,chr(187)=>556,chr(188)=>834,chr(189)=>834,chr(190)=>834,chr(191)=>611,chr(192)=>667,chr(193)=>667,chr(194)=>667,chr(195)=>667,chr(196)=>667,chr(197)=>667, 16 | chr(198)=>1000,chr(199)=>722,chr(200)=>667,chr(201)=>667,chr(202)=>667,chr(203)=>667,chr(204)=>278,chr(205)=>278,chr(206)=>278,chr(207)=>278,chr(208)=>722,chr(209)=>722,chr(210)=>778,chr(211)=>778,chr(212)=>778,chr(213)=>778,chr(214)=>778,chr(215)=>584,chr(216)=>778,chr(217)=>722,chr(218)=>722,chr(219)=>722, 17 | chr(220)=>722,chr(221)=>667,chr(222)=>667,chr(223)=>611,chr(224)=>556,chr(225)=>556,chr(226)=>556,chr(227)=>556,chr(228)=>556,chr(229)=>556,chr(230)=>889,chr(231)=>500,chr(232)=>556,chr(233)=>556,chr(234)=>556,chr(235)=>556,chr(236)=>278,chr(237)=>278,chr(238)=>278,chr(239)=>278,chr(240)=>556,chr(241)=>556, 18 | chr(242)=>556,chr(243)=>556,chr(244)=>556,chr(245)=>556,chr(246)=>556,chr(247)=>584,chr(248)=>611,chr(249)=>556,chr(250)=>556,chr(251)=>556,chr(252)=>556,chr(253)=>500,chr(254)=>556,chr(255)=>500); 19 | $enc = 'cp1252'; 20 | $uv = array(0=>array(0,128),128=>8364,130=>8218,131=>402,132=>8222,133=>8230,134=>array(8224,2),136=>710,137=>8240,138=>352,139=>8249,140=>338,142=>381,145=>array(8216,2),147=>array(8220,2),149=>8226,150=>array(8211,2),152=>732,153=>8482,154=>353,155=>8250,156=>339,158=>382,159=>376,160=>array(160,96)); 21 | ?> 22 | -------------------------------------------------------------------------------- /fpdf/font/helveticab.php: -------------------------------------------------------------------------------- 1 | 278,chr(1)=>278,chr(2)=>278,chr(3)=>278,chr(4)=>278,chr(5)=>278,chr(6)=>278,chr(7)=>278,chr(8)=>278,chr(9)=>278,chr(10)=>278,chr(11)=>278,chr(12)=>278,chr(13)=>278,chr(14)=>278,chr(15)=>278,chr(16)=>278,chr(17)=>278,chr(18)=>278,chr(19)=>278,chr(20)=>278,chr(21)=>278, 8 | chr(22)=>278,chr(23)=>278,chr(24)=>278,chr(25)=>278,chr(26)=>278,chr(27)=>278,chr(28)=>278,chr(29)=>278,chr(30)=>278,chr(31)=>278,' '=>278,'!'=>333,'"'=>474,'#'=>556,'$'=>556,'%'=>889,'&'=>722,'\''=>238,'('=>333,')'=>333,'*'=>389,'+'=>584, 9 | ','=>278,'-'=>333,'.'=>278,'/'=>278,'0'=>556,'1'=>556,'2'=>556,'3'=>556,'4'=>556,'5'=>556,'6'=>556,'7'=>556,'8'=>556,'9'=>556,':'=>333,';'=>333,'<'=>584,'='=>584,'>'=>584,'?'=>611,'@'=>975,'A'=>722, 10 | 'B'=>722,'C'=>722,'D'=>722,'E'=>667,'F'=>611,'G'=>778,'H'=>722,'I'=>278,'J'=>556,'K'=>722,'L'=>611,'M'=>833,'N'=>722,'O'=>778,'P'=>667,'Q'=>778,'R'=>722,'S'=>667,'T'=>611,'U'=>722,'V'=>667,'W'=>944, 11 | 'X'=>667,'Y'=>667,'Z'=>611,'['=>333,'\\'=>278,']'=>333,'^'=>584,'_'=>556,'`'=>333,'a'=>556,'b'=>611,'c'=>556,'d'=>611,'e'=>556,'f'=>333,'g'=>611,'h'=>611,'i'=>278,'j'=>278,'k'=>556,'l'=>278,'m'=>889, 12 | 'n'=>611,'o'=>611,'p'=>611,'q'=>611,'r'=>389,'s'=>556,'t'=>333,'u'=>611,'v'=>556,'w'=>778,'x'=>556,'y'=>556,'z'=>500,'{'=>389,'|'=>280,'}'=>389,'~'=>584,chr(127)=>350,chr(128)=>556,chr(129)=>350,chr(130)=>278,chr(131)=>556, 13 | chr(132)=>500,chr(133)=>1000,chr(134)=>556,chr(135)=>556,chr(136)=>333,chr(137)=>1000,chr(138)=>667,chr(139)=>333,chr(140)=>1000,chr(141)=>350,chr(142)=>611,chr(143)=>350,chr(144)=>350,chr(145)=>278,chr(146)=>278,chr(147)=>500,chr(148)=>500,chr(149)=>350,chr(150)=>556,chr(151)=>1000,chr(152)=>333,chr(153)=>1000, 14 | chr(154)=>556,chr(155)=>333,chr(156)=>944,chr(157)=>350,chr(158)=>500,chr(159)=>667,chr(160)=>278,chr(161)=>333,chr(162)=>556,chr(163)=>556,chr(164)=>556,chr(165)=>556,chr(166)=>280,chr(167)=>556,chr(168)=>333,chr(169)=>737,chr(170)=>370,chr(171)=>556,chr(172)=>584,chr(173)=>333,chr(174)=>737,chr(175)=>333, 15 | chr(176)=>400,chr(177)=>584,chr(178)=>333,chr(179)=>333,chr(180)=>333,chr(181)=>611,chr(182)=>556,chr(183)=>278,chr(184)=>333,chr(185)=>333,chr(186)=>365,chr(187)=>556,chr(188)=>834,chr(189)=>834,chr(190)=>834,chr(191)=>611,chr(192)=>722,chr(193)=>722,chr(194)=>722,chr(195)=>722,chr(196)=>722,chr(197)=>722, 16 | chr(198)=>1000,chr(199)=>722,chr(200)=>667,chr(201)=>667,chr(202)=>667,chr(203)=>667,chr(204)=>278,chr(205)=>278,chr(206)=>278,chr(207)=>278,chr(208)=>722,chr(209)=>722,chr(210)=>778,chr(211)=>778,chr(212)=>778,chr(213)=>778,chr(214)=>778,chr(215)=>584,chr(216)=>778,chr(217)=>722,chr(218)=>722,chr(219)=>722, 17 | chr(220)=>722,chr(221)=>667,chr(222)=>667,chr(223)=>611,chr(224)=>556,chr(225)=>556,chr(226)=>556,chr(227)=>556,chr(228)=>556,chr(229)=>556,chr(230)=>889,chr(231)=>556,chr(232)=>556,chr(233)=>556,chr(234)=>556,chr(235)=>556,chr(236)=>278,chr(237)=>278,chr(238)=>278,chr(239)=>278,chr(240)=>611,chr(241)=>611, 18 | chr(242)=>611,chr(243)=>611,chr(244)=>611,chr(245)=>611,chr(246)=>611,chr(247)=>584,chr(248)=>611,chr(249)=>611,chr(250)=>611,chr(251)=>611,chr(252)=>611,chr(253)=>556,chr(254)=>611,chr(255)=>556); 19 | $enc = 'cp1252'; 20 | $uv = array(0=>array(0,128),128=>8364,130=>8218,131=>402,132=>8222,133=>8230,134=>array(8224,2),136=>710,137=>8240,138=>352,139=>8249,140=>338,142=>381,145=>array(8216,2),147=>array(8220,2),149=>8226,150=>array(8211,2),152=>732,153=>8482,154=>353,155=>8250,156=>339,158=>382,159=>376,160=>array(160,96)); 21 | ?> 22 | -------------------------------------------------------------------------------- /fpdf/font/helveticabi.php: -------------------------------------------------------------------------------- 1 | 278,chr(1)=>278,chr(2)=>278,chr(3)=>278,chr(4)=>278,chr(5)=>278,chr(6)=>278,chr(7)=>278,chr(8)=>278,chr(9)=>278,chr(10)=>278,chr(11)=>278,chr(12)=>278,chr(13)=>278,chr(14)=>278,chr(15)=>278,chr(16)=>278,chr(17)=>278,chr(18)=>278,chr(19)=>278,chr(20)=>278,chr(21)=>278, 8 | chr(22)=>278,chr(23)=>278,chr(24)=>278,chr(25)=>278,chr(26)=>278,chr(27)=>278,chr(28)=>278,chr(29)=>278,chr(30)=>278,chr(31)=>278,' '=>278,'!'=>333,'"'=>474,'#'=>556,'$'=>556,'%'=>889,'&'=>722,'\''=>238,'('=>333,')'=>333,'*'=>389,'+'=>584, 9 | ','=>278,'-'=>333,'.'=>278,'/'=>278,'0'=>556,'1'=>556,'2'=>556,'3'=>556,'4'=>556,'5'=>556,'6'=>556,'7'=>556,'8'=>556,'9'=>556,':'=>333,';'=>333,'<'=>584,'='=>584,'>'=>584,'?'=>611,'@'=>975,'A'=>722, 10 | 'B'=>722,'C'=>722,'D'=>722,'E'=>667,'F'=>611,'G'=>778,'H'=>722,'I'=>278,'J'=>556,'K'=>722,'L'=>611,'M'=>833,'N'=>722,'O'=>778,'P'=>667,'Q'=>778,'R'=>722,'S'=>667,'T'=>611,'U'=>722,'V'=>667,'W'=>944, 11 | 'X'=>667,'Y'=>667,'Z'=>611,'['=>333,'\\'=>278,']'=>333,'^'=>584,'_'=>556,'`'=>333,'a'=>556,'b'=>611,'c'=>556,'d'=>611,'e'=>556,'f'=>333,'g'=>611,'h'=>611,'i'=>278,'j'=>278,'k'=>556,'l'=>278,'m'=>889, 12 | 'n'=>611,'o'=>611,'p'=>611,'q'=>611,'r'=>389,'s'=>556,'t'=>333,'u'=>611,'v'=>556,'w'=>778,'x'=>556,'y'=>556,'z'=>500,'{'=>389,'|'=>280,'}'=>389,'~'=>584,chr(127)=>350,chr(128)=>556,chr(129)=>350,chr(130)=>278,chr(131)=>556, 13 | chr(132)=>500,chr(133)=>1000,chr(134)=>556,chr(135)=>556,chr(136)=>333,chr(137)=>1000,chr(138)=>667,chr(139)=>333,chr(140)=>1000,chr(141)=>350,chr(142)=>611,chr(143)=>350,chr(144)=>350,chr(145)=>278,chr(146)=>278,chr(147)=>500,chr(148)=>500,chr(149)=>350,chr(150)=>556,chr(151)=>1000,chr(152)=>333,chr(153)=>1000, 14 | chr(154)=>556,chr(155)=>333,chr(156)=>944,chr(157)=>350,chr(158)=>500,chr(159)=>667,chr(160)=>278,chr(161)=>333,chr(162)=>556,chr(163)=>556,chr(164)=>556,chr(165)=>556,chr(166)=>280,chr(167)=>556,chr(168)=>333,chr(169)=>737,chr(170)=>370,chr(171)=>556,chr(172)=>584,chr(173)=>333,chr(174)=>737,chr(175)=>333, 15 | chr(176)=>400,chr(177)=>584,chr(178)=>333,chr(179)=>333,chr(180)=>333,chr(181)=>611,chr(182)=>556,chr(183)=>278,chr(184)=>333,chr(185)=>333,chr(186)=>365,chr(187)=>556,chr(188)=>834,chr(189)=>834,chr(190)=>834,chr(191)=>611,chr(192)=>722,chr(193)=>722,chr(194)=>722,chr(195)=>722,chr(196)=>722,chr(197)=>722, 16 | chr(198)=>1000,chr(199)=>722,chr(200)=>667,chr(201)=>667,chr(202)=>667,chr(203)=>667,chr(204)=>278,chr(205)=>278,chr(206)=>278,chr(207)=>278,chr(208)=>722,chr(209)=>722,chr(210)=>778,chr(211)=>778,chr(212)=>778,chr(213)=>778,chr(214)=>778,chr(215)=>584,chr(216)=>778,chr(217)=>722,chr(218)=>722,chr(219)=>722, 17 | chr(220)=>722,chr(221)=>667,chr(222)=>667,chr(223)=>611,chr(224)=>556,chr(225)=>556,chr(226)=>556,chr(227)=>556,chr(228)=>556,chr(229)=>556,chr(230)=>889,chr(231)=>556,chr(232)=>556,chr(233)=>556,chr(234)=>556,chr(235)=>556,chr(236)=>278,chr(237)=>278,chr(238)=>278,chr(239)=>278,chr(240)=>611,chr(241)=>611, 18 | chr(242)=>611,chr(243)=>611,chr(244)=>611,chr(245)=>611,chr(246)=>611,chr(247)=>584,chr(248)=>611,chr(249)=>611,chr(250)=>611,chr(251)=>611,chr(252)=>611,chr(253)=>556,chr(254)=>611,chr(255)=>556); 19 | $enc = 'cp1252'; 20 | $uv = array(0=>array(0,128),128=>8364,130=>8218,131=>402,132=>8222,133=>8230,134=>array(8224,2),136=>710,137=>8240,138=>352,139=>8249,140=>338,142=>381,145=>array(8216,2),147=>array(8220,2),149=>8226,150=>array(8211,2),152=>732,153=>8482,154=>353,155=>8250,156=>339,158=>382,159=>376,160=>array(160,96)); 21 | ?> 22 | -------------------------------------------------------------------------------- /fpdf/font/helveticai.php: -------------------------------------------------------------------------------- 1 | 278,chr(1)=>278,chr(2)=>278,chr(3)=>278,chr(4)=>278,chr(5)=>278,chr(6)=>278,chr(7)=>278,chr(8)=>278,chr(9)=>278,chr(10)=>278,chr(11)=>278,chr(12)=>278,chr(13)=>278,chr(14)=>278,chr(15)=>278,chr(16)=>278,chr(17)=>278,chr(18)=>278,chr(19)=>278,chr(20)=>278,chr(21)=>278, 8 | chr(22)=>278,chr(23)=>278,chr(24)=>278,chr(25)=>278,chr(26)=>278,chr(27)=>278,chr(28)=>278,chr(29)=>278,chr(30)=>278,chr(31)=>278,' '=>278,'!'=>278,'"'=>355,'#'=>556,'$'=>556,'%'=>889,'&'=>667,'\''=>191,'('=>333,')'=>333,'*'=>389,'+'=>584, 9 | ','=>278,'-'=>333,'.'=>278,'/'=>278,'0'=>556,'1'=>556,'2'=>556,'3'=>556,'4'=>556,'5'=>556,'6'=>556,'7'=>556,'8'=>556,'9'=>556,':'=>278,';'=>278,'<'=>584,'='=>584,'>'=>584,'?'=>556,'@'=>1015,'A'=>667, 10 | 'B'=>667,'C'=>722,'D'=>722,'E'=>667,'F'=>611,'G'=>778,'H'=>722,'I'=>278,'J'=>500,'K'=>667,'L'=>556,'M'=>833,'N'=>722,'O'=>778,'P'=>667,'Q'=>778,'R'=>722,'S'=>667,'T'=>611,'U'=>722,'V'=>667,'W'=>944, 11 | 'X'=>667,'Y'=>667,'Z'=>611,'['=>278,'\\'=>278,']'=>278,'^'=>469,'_'=>556,'`'=>333,'a'=>556,'b'=>556,'c'=>500,'d'=>556,'e'=>556,'f'=>278,'g'=>556,'h'=>556,'i'=>222,'j'=>222,'k'=>500,'l'=>222,'m'=>833, 12 | 'n'=>556,'o'=>556,'p'=>556,'q'=>556,'r'=>333,'s'=>500,'t'=>278,'u'=>556,'v'=>500,'w'=>722,'x'=>500,'y'=>500,'z'=>500,'{'=>334,'|'=>260,'}'=>334,'~'=>584,chr(127)=>350,chr(128)=>556,chr(129)=>350,chr(130)=>222,chr(131)=>556, 13 | chr(132)=>333,chr(133)=>1000,chr(134)=>556,chr(135)=>556,chr(136)=>333,chr(137)=>1000,chr(138)=>667,chr(139)=>333,chr(140)=>1000,chr(141)=>350,chr(142)=>611,chr(143)=>350,chr(144)=>350,chr(145)=>222,chr(146)=>222,chr(147)=>333,chr(148)=>333,chr(149)=>350,chr(150)=>556,chr(151)=>1000,chr(152)=>333,chr(153)=>1000, 14 | chr(154)=>500,chr(155)=>333,chr(156)=>944,chr(157)=>350,chr(158)=>500,chr(159)=>667,chr(160)=>278,chr(161)=>333,chr(162)=>556,chr(163)=>556,chr(164)=>556,chr(165)=>556,chr(166)=>260,chr(167)=>556,chr(168)=>333,chr(169)=>737,chr(170)=>370,chr(171)=>556,chr(172)=>584,chr(173)=>333,chr(174)=>737,chr(175)=>333, 15 | chr(176)=>400,chr(177)=>584,chr(178)=>333,chr(179)=>333,chr(180)=>333,chr(181)=>556,chr(182)=>537,chr(183)=>278,chr(184)=>333,chr(185)=>333,chr(186)=>365,chr(187)=>556,chr(188)=>834,chr(189)=>834,chr(190)=>834,chr(191)=>611,chr(192)=>667,chr(193)=>667,chr(194)=>667,chr(195)=>667,chr(196)=>667,chr(197)=>667, 16 | chr(198)=>1000,chr(199)=>722,chr(200)=>667,chr(201)=>667,chr(202)=>667,chr(203)=>667,chr(204)=>278,chr(205)=>278,chr(206)=>278,chr(207)=>278,chr(208)=>722,chr(209)=>722,chr(210)=>778,chr(211)=>778,chr(212)=>778,chr(213)=>778,chr(214)=>778,chr(215)=>584,chr(216)=>778,chr(217)=>722,chr(218)=>722,chr(219)=>722, 17 | chr(220)=>722,chr(221)=>667,chr(222)=>667,chr(223)=>611,chr(224)=>556,chr(225)=>556,chr(226)=>556,chr(227)=>556,chr(228)=>556,chr(229)=>556,chr(230)=>889,chr(231)=>500,chr(232)=>556,chr(233)=>556,chr(234)=>556,chr(235)=>556,chr(236)=>278,chr(237)=>278,chr(238)=>278,chr(239)=>278,chr(240)=>556,chr(241)=>556, 18 | chr(242)=>556,chr(243)=>556,chr(244)=>556,chr(245)=>556,chr(246)=>556,chr(247)=>584,chr(248)=>611,chr(249)=>556,chr(250)=>556,chr(251)=>556,chr(252)=>556,chr(253)=>500,chr(254)=>556,chr(255)=>500); 19 | $enc = 'cp1252'; 20 | $uv = array(0=>array(0,128),128=>8364,130=>8218,131=>402,132=>8222,133=>8230,134=>array(8224,2),136=>710,137=>8240,138=>352,139=>8249,140=>338,142=>381,145=>array(8216,2),147=>array(8220,2),149=>8226,150=>array(8211,2),152=>732,153=>8482,154=>353,155=>8250,156=>339,158=>382,159=>376,160=>array(160,96)); 21 | ?> 22 | -------------------------------------------------------------------------------- /fpdf/font/symbol.php: -------------------------------------------------------------------------------- 1 | 250,chr(1)=>250,chr(2)=>250,chr(3)=>250,chr(4)=>250,chr(5)=>250,chr(6)=>250,chr(7)=>250,chr(8)=>250,chr(9)=>250,chr(10)=>250,chr(11)=>250,chr(12)=>250,chr(13)=>250,chr(14)=>250,chr(15)=>250,chr(16)=>250,chr(17)=>250,chr(18)=>250,chr(19)=>250,chr(20)=>250,chr(21)=>250, 8 | chr(22)=>250,chr(23)=>250,chr(24)=>250,chr(25)=>250,chr(26)=>250,chr(27)=>250,chr(28)=>250,chr(29)=>250,chr(30)=>250,chr(31)=>250,' '=>250,'!'=>333,'"'=>713,'#'=>500,'$'=>549,'%'=>833,'&'=>778,'\''=>439,'('=>333,')'=>333,'*'=>500,'+'=>549, 9 | ','=>250,'-'=>549,'.'=>250,'/'=>278,'0'=>500,'1'=>500,'2'=>500,'3'=>500,'4'=>500,'5'=>500,'6'=>500,'7'=>500,'8'=>500,'9'=>500,':'=>278,';'=>278,'<'=>549,'='=>549,'>'=>549,'?'=>444,'@'=>549,'A'=>722, 10 | 'B'=>667,'C'=>722,'D'=>612,'E'=>611,'F'=>763,'G'=>603,'H'=>722,'I'=>333,'J'=>631,'K'=>722,'L'=>686,'M'=>889,'N'=>722,'O'=>722,'P'=>768,'Q'=>741,'R'=>556,'S'=>592,'T'=>611,'U'=>690,'V'=>439,'W'=>768, 11 | 'X'=>645,'Y'=>795,'Z'=>611,'['=>333,'\\'=>863,']'=>333,'^'=>658,'_'=>500,'`'=>500,'a'=>631,'b'=>549,'c'=>549,'d'=>494,'e'=>439,'f'=>521,'g'=>411,'h'=>603,'i'=>329,'j'=>603,'k'=>549,'l'=>549,'m'=>576, 12 | 'n'=>521,'o'=>549,'p'=>549,'q'=>521,'r'=>549,'s'=>603,'t'=>439,'u'=>576,'v'=>713,'w'=>686,'x'=>493,'y'=>686,'z'=>494,'{'=>480,'|'=>200,'}'=>480,'~'=>549,chr(127)=>0,chr(128)=>0,chr(129)=>0,chr(130)=>0,chr(131)=>0, 13 | chr(132)=>0,chr(133)=>0,chr(134)=>0,chr(135)=>0,chr(136)=>0,chr(137)=>0,chr(138)=>0,chr(139)=>0,chr(140)=>0,chr(141)=>0,chr(142)=>0,chr(143)=>0,chr(144)=>0,chr(145)=>0,chr(146)=>0,chr(147)=>0,chr(148)=>0,chr(149)=>0,chr(150)=>0,chr(151)=>0,chr(152)=>0,chr(153)=>0, 14 | chr(154)=>0,chr(155)=>0,chr(156)=>0,chr(157)=>0,chr(158)=>0,chr(159)=>0,chr(160)=>750,chr(161)=>620,chr(162)=>247,chr(163)=>549,chr(164)=>167,chr(165)=>713,chr(166)=>500,chr(167)=>753,chr(168)=>753,chr(169)=>753,chr(170)=>753,chr(171)=>1042,chr(172)=>987,chr(173)=>603,chr(174)=>987,chr(175)=>603, 15 | chr(176)=>400,chr(177)=>549,chr(178)=>411,chr(179)=>549,chr(180)=>549,chr(181)=>713,chr(182)=>494,chr(183)=>460,chr(184)=>549,chr(185)=>549,chr(186)=>549,chr(187)=>549,chr(188)=>1000,chr(189)=>603,chr(190)=>1000,chr(191)=>658,chr(192)=>823,chr(193)=>686,chr(194)=>795,chr(195)=>987,chr(196)=>768,chr(197)=>768, 16 | chr(198)=>823,chr(199)=>768,chr(200)=>768,chr(201)=>713,chr(202)=>713,chr(203)=>713,chr(204)=>713,chr(205)=>713,chr(206)=>713,chr(207)=>713,chr(208)=>768,chr(209)=>713,chr(210)=>790,chr(211)=>790,chr(212)=>890,chr(213)=>823,chr(214)=>549,chr(215)=>250,chr(216)=>713,chr(217)=>603,chr(218)=>603,chr(219)=>1042, 17 | chr(220)=>987,chr(221)=>603,chr(222)=>987,chr(223)=>603,chr(224)=>494,chr(225)=>329,chr(226)=>790,chr(227)=>790,chr(228)=>786,chr(229)=>713,chr(230)=>384,chr(231)=>384,chr(232)=>384,chr(233)=>384,chr(234)=>384,chr(235)=>384,chr(236)=>494,chr(237)=>494,chr(238)=>494,chr(239)=>494,chr(240)=>0,chr(241)=>329, 18 | chr(242)=>274,chr(243)=>686,chr(244)=>686,chr(245)=>686,chr(246)=>384,chr(247)=>384,chr(248)=>384,chr(249)=>384,chr(250)=>384,chr(251)=>384,chr(252)=>494,chr(253)=>494,chr(254)=>494,chr(255)=>0); 19 | $uv = array(32=>160,33=>33,34=>8704,35=>35,36=>8707,37=>array(37,2),39=>8715,40=>array(40,2),42=>8727,43=>array(43,2),45=>8722,46=>array(46,18),64=>8773,65=>array(913,2),67=>935,68=>array(916,2),70=>934,71=>915,72=>919,73=>921,74=>977,75=>array(922,4),79=>array(927,2),81=>920,82=>929,83=>array(931,3),86=>962,87=>937,88=>926,89=>936,90=>918,91=>91,92=>8756,93=>93,94=>8869,95=>95,96=>63717,97=>array(945,2),99=>967,100=>array(948,2),102=>966,103=>947,104=>951,105=>953,106=>981,107=>array(954,4),111=>array(959,2),113=>952,114=>961,115=>array(963,3),118=>982,119=>969,120=>958,121=>968,122=>950,123=>array(123,3),126=>8764,160=>8364,161=>978,162=>8242,163=>8804,164=>8725,165=>8734,166=>402,167=>9827,168=>9830,169=>9829,170=>9824,171=>8596,172=>array(8592,4),176=>array(176,2),178=>8243,179=>8805,180=>215,181=>8733,182=>8706,183=>8226,184=>247,185=>array(8800,2),187=>8776,188=>8230,189=>array(63718,2),191=>8629,192=>8501,193=>8465,194=>8476,195=>8472,196=>8855,197=>8853,198=>8709,199=>array(8745,2),201=>8835,202=>8839,203=>8836,204=>8834,205=>8838,206=>array(8712,2),208=>8736,209=>8711,210=>63194,211=>63193,212=>63195,213=>8719,214=>8730,215=>8901,216=>172,217=>array(8743,2),219=>8660,220=>array(8656,4),224=>9674,225=>9001,226=>array(63720,3),229=>8721,230=>array(63723,10),241=>9002,242=>8747,243=>8992,244=>63733,245=>8993,246=>array(63734,9)); 20 | ?> 21 | -------------------------------------------------------------------------------- /fpdf/font/times.php: -------------------------------------------------------------------------------- 1 | 250,chr(1)=>250,chr(2)=>250,chr(3)=>250,chr(4)=>250,chr(5)=>250,chr(6)=>250,chr(7)=>250,chr(8)=>250,chr(9)=>250,chr(10)=>250,chr(11)=>250,chr(12)=>250,chr(13)=>250,chr(14)=>250,chr(15)=>250,chr(16)=>250,chr(17)=>250,chr(18)=>250,chr(19)=>250,chr(20)=>250,chr(21)=>250, 8 | chr(22)=>250,chr(23)=>250,chr(24)=>250,chr(25)=>250,chr(26)=>250,chr(27)=>250,chr(28)=>250,chr(29)=>250,chr(30)=>250,chr(31)=>250,' '=>250,'!'=>333,'"'=>408,'#'=>500,'$'=>500,'%'=>833,'&'=>778,'\''=>180,'('=>333,')'=>333,'*'=>500,'+'=>564, 9 | ','=>250,'-'=>333,'.'=>250,'/'=>278,'0'=>500,'1'=>500,'2'=>500,'3'=>500,'4'=>500,'5'=>500,'6'=>500,'7'=>500,'8'=>500,'9'=>500,':'=>278,';'=>278,'<'=>564,'='=>564,'>'=>564,'?'=>444,'@'=>921,'A'=>722, 10 | 'B'=>667,'C'=>667,'D'=>722,'E'=>611,'F'=>556,'G'=>722,'H'=>722,'I'=>333,'J'=>389,'K'=>722,'L'=>611,'M'=>889,'N'=>722,'O'=>722,'P'=>556,'Q'=>722,'R'=>667,'S'=>556,'T'=>611,'U'=>722,'V'=>722,'W'=>944, 11 | 'X'=>722,'Y'=>722,'Z'=>611,'['=>333,'\\'=>278,']'=>333,'^'=>469,'_'=>500,'`'=>333,'a'=>444,'b'=>500,'c'=>444,'d'=>500,'e'=>444,'f'=>333,'g'=>500,'h'=>500,'i'=>278,'j'=>278,'k'=>500,'l'=>278,'m'=>778, 12 | 'n'=>500,'o'=>500,'p'=>500,'q'=>500,'r'=>333,'s'=>389,'t'=>278,'u'=>500,'v'=>500,'w'=>722,'x'=>500,'y'=>500,'z'=>444,'{'=>480,'|'=>200,'}'=>480,'~'=>541,chr(127)=>350,chr(128)=>500,chr(129)=>350,chr(130)=>333,chr(131)=>500, 13 | chr(132)=>444,chr(133)=>1000,chr(134)=>500,chr(135)=>500,chr(136)=>333,chr(137)=>1000,chr(138)=>556,chr(139)=>333,chr(140)=>889,chr(141)=>350,chr(142)=>611,chr(143)=>350,chr(144)=>350,chr(145)=>333,chr(146)=>333,chr(147)=>444,chr(148)=>444,chr(149)=>350,chr(150)=>500,chr(151)=>1000,chr(152)=>333,chr(153)=>980, 14 | chr(154)=>389,chr(155)=>333,chr(156)=>722,chr(157)=>350,chr(158)=>444,chr(159)=>722,chr(160)=>250,chr(161)=>333,chr(162)=>500,chr(163)=>500,chr(164)=>500,chr(165)=>500,chr(166)=>200,chr(167)=>500,chr(168)=>333,chr(169)=>760,chr(170)=>276,chr(171)=>500,chr(172)=>564,chr(173)=>333,chr(174)=>760,chr(175)=>333, 15 | chr(176)=>400,chr(177)=>564,chr(178)=>300,chr(179)=>300,chr(180)=>333,chr(181)=>500,chr(182)=>453,chr(183)=>250,chr(184)=>333,chr(185)=>300,chr(186)=>310,chr(187)=>500,chr(188)=>750,chr(189)=>750,chr(190)=>750,chr(191)=>444,chr(192)=>722,chr(193)=>722,chr(194)=>722,chr(195)=>722,chr(196)=>722,chr(197)=>722, 16 | chr(198)=>889,chr(199)=>667,chr(200)=>611,chr(201)=>611,chr(202)=>611,chr(203)=>611,chr(204)=>333,chr(205)=>333,chr(206)=>333,chr(207)=>333,chr(208)=>722,chr(209)=>722,chr(210)=>722,chr(211)=>722,chr(212)=>722,chr(213)=>722,chr(214)=>722,chr(215)=>564,chr(216)=>722,chr(217)=>722,chr(218)=>722,chr(219)=>722, 17 | chr(220)=>722,chr(221)=>722,chr(222)=>556,chr(223)=>500,chr(224)=>444,chr(225)=>444,chr(226)=>444,chr(227)=>444,chr(228)=>444,chr(229)=>444,chr(230)=>667,chr(231)=>444,chr(232)=>444,chr(233)=>444,chr(234)=>444,chr(235)=>444,chr(236)=>278,chr(237)=>278,chr(238)=>278,chr(239)=>278,chr(240)=>500,chr(241)=>500, 18 | chr(242)=>500,chr(243)=>500,chr(244)=>500,chr(245)=>500,chr(246)=>500,chr(247)=>564,chr(248)=>500,chr(249)=>500,chr(250)=>500,chr(251)=>500,chr(252)=>500,chr(253)=>500,chr(254)=>500,chr(255)=>500); 19 | $enc = 'cp1252'; 20 | $uv = array(0=>array(0,128),128=>8364,130=>8218,131=>402,132=>8222,133=>8230,134=>array(8224,2),136=>710,137=>8240,138=>352,139=>8249,140=>338,142=>381,145=>array(8216,2),147=>array(8220,2),149=>8226,150=>array(8211,2),152=>732,153=>8482,154=>353,155=>8250,156=>339,158=>382,159=>376,160=>array(160,96)); 21 | ?> 22 | -------------------------------------------------------------------------------- /fpdf/font/timesb.php: -------------------------------------------------------------------------------- 1 | 250,chr(1)=>250,chr(2)=>250,chr(3)=>250,chr(4)=>250,chr(5)=>250,chr(6)=>250,chr(7)=>250,chr(8)=>250,chr(9)=>250,chr(10)=>250,chr(11)=>250,chr(12)=>250,chr(13)=>250,chr(14)=>250,chr(15)=>250,chr(16)=>250,chr(17)=>250,chr(18)=>250,chr(19)=>250,chr(20)=>250,chr(21)=>250, 8 | chr(22)=>250,chr(23)=>250,chr(24)=>250,chr(25)=>250,chr(26)=>250,chr(27)=>250,chr(28)=>250,chr(29)=>250,chr(30)=>250,chr(31)=>250,' '=>250,'!'=>333,'"'=>555,'#'=>500,'$'=>500,'%'=>1000,'&'=>833,'\''=>278,'('=>333,')'=>333,'*'=>500,'+'=>570, 9 | ','=>250,'-'=>333,'.'=>250,'/'=>278,'0'=>500,'1'=>500,'2'=>500,'3'=>500,'4'=>500,'5'=>500,'6'=>500,'7'=>500,'8'=>500,'9'=>500,':'=>333,';'=>333,'<'=>570,'='=>570,'>'=>570,'?'=>500,'@'=>930,'A'=>722, 10 | 'B'=>667,'C'=>722,'D'=>722,'E'=>667,'F'=>611,'G'=>778,'H'=>778,'I'=>389,'J'=>500,'K'=>778,'L'=>667,'M'=>944,'N'=>722,'O'=>778,'P'=>611,'Q'=>778,'R'=>722,'S'=>556,'T'=>667,'U'=>722,'V'=>722,'W'=>1000, 11 | 'X'=>722,'Y'=>722,'Z'=>667,'['=>333,'\\'=>278,']'=>333,'^'=>581,'_'=>500,'`'=>333,'a'=>500,'b'=>556,'c'=>444,'d'=>556,'e'=>444,'f'=>333,'g'=>500,'h'=>556,'i'=>278,'j'=>333,'k'=>556,'l'=>278,'m'=>833, 12 | 'n'=>556,'o'=>500,'p'=>556,'q'=>556,'r'=>444,'s'=>389,'t'=>333,'u'=>556,'v'=>500,'w'=>722,'x'=>500,'y'=>500,'z'=>444,'{'=>394,'|'=>220,'}'=>394,'~'=>520,chr(127)=>350,chr(128)=>500,chr(129)=>350,chr(130)=>333,chr(131)=>500, 13 | chr(132)=>500,chr(133)=>1000,chr(134)=>500,chr(135)=>500,chr(136)=>333,chr(137)=>1000,chr(138)=>556,chr(139)=>333,chr(140)=>1000,chr(141)=>350,chr(142)=>667,chr(143)=>350,chr(144)=>350,chr(145)=>333,chr(146)=>333,chr(147)=>500,chr(148)=>500,chr(149)=>350,chr(150)=>500,chr(151)=>1000,chr(152)=>333,chr(153)=>1000, 14 | chr(154)=>389,chr(155)=>333,chr(156)=>722,chr(157)=>350,chr(158)=>444,chr(159)=>722,chr(160)=>250,chr(161)=>333,chr(162)=>500,chr(163)=>500,chr(164)=>500,chr(165)=>500,chr(166)=>220,chr(167)=>500,chr(168)=>333,chr(169)=>747,chr(170)=>300,chr(171)=>500,chr(172)=>570,chr(173)=>333,chr(174)=>747,chr(175)=>333, 15 | chr(176)=>400,chr(177)=>570,chr(178)=>300,chr(179)=>300,chr(180)=>333,chr(181)=>556,chr(182)=>540,chr(183)=>250,chr(184)=>333,chr(185)=>300,chr(186)=>330,chr(187)=>500,chr(188)=>750,chr(189)=>750,chr(190)=>750,chr(191)=>500,chr(192)=>722,chr(193)=>722,chr(194)=>722,chr(195)=>722,chr(196)=>722,chr(197)=>722, 16 | chr(198)=>1000,chr(199)=>722,chr(200)=>667,chr(201)=>667,chr(202)=>667,chr(203)=>667,chr(204)=>389,chr(205)=>389,chr(206)=>389,chr(207)=>389,chr(208)=>722,chr(209)=>722,chr(210)=>778,chr(211)=>778,chr(212)=>778,chr(213)=>778,chr(214)=>778,chr(215)=>570,chr(216)=>778,chr(217)=>722,chr(218)=>722,chr(219)=>722, 17 | chr(220)=>722,chr(221)=>722,chr(222)=>611,chr(223)=>556,chr(224)=>500,chr(225)=>500,chr(226)=>500,chr(227)=>500,chr(228)=>500,chr(229)=>500,chr(230)=>722,chr(231)=>444,chr(232)=>444,chr(233)=>444,chr(234)=>444,chr(235)=>444,chr(236)=>278,chr(237)=>278,chr(238)=>278,chr(239)=>278,chr(240)=>500,chr(241)=>556, 18 | chr(242)=>500,chr(243)=>500,chr(244)=>500,chr(245)=>500,chr(246)=>500,chr(247)=>570,chr(248)=>500,chr(249)=>556,chr(250)=>556,chr(251)=>556,chr(252)=>556,chr(253)=>500,chr(254)=>556,chr(255)=>500); 19 | $enc = 'cp1252'; 20 | $uv = array(0=>array(0,128),128=>8364,130=>8218,131=>402,132=>8222,133=>8230,134=>array(8224,2),136=>710,137=>8240,138=>352,139=>8249,140=>338,142=>381,145=>array(8216,2),147=>array(8220,2),149=>8226,150=>array(8211,2),152=>732,153=>8482,154=>353,155=>8250,156=>339,158=>382,159=>376,160=>array(160,96)); 21 | ?> 22 | -------------------------------------------------------------------------------- /fpdf/font/timesbi.php: -------------------------------------------------------------------------------- 1 | 250,chr(1)=>250,chr(2)=>250,chr(3)=>250,chr(4)=>250,chr(5)=>250,chr(6)=>250,chr(7)=>250,chr(8)=>250,chr(9)=>250,chr(10)=>250,chr(11)=>250,chr(12)=>250,chr(13)=>250,chr(14)=>250,chr(15)=>250,chr(16)=>250,chr(17)=>250,chr(18)=>250,chr(19)=>250,chr(20)=>250,chr(21)=>250, 8 | chr(22)=>250,chr(23)=>250,chr(24)=>250,chr(25)=>250,chr(26)=>250,chr(27)=>250,chr(28)=>250,chr(29)=>250,chr(30)=>250,chr(31)=>250,' '=>250,'!'=>389,'"'=>555,'#'=>500,'$'=>500,'%'=>833,'&'=>778,'\''=>278,'('=>333,')'=>333,'*'=>500,'+'=>570, 9 | ','=>250,'-'=>333,'.'=>250,'/'=>278,'0'=>500,'1'=>500,'2'=>500,'3'=>500,'4'=>500,'5'=>500,'6'=>500,'7'=>500,'8'=>500,'9'=>500,':'=>333,';'=>333,'<'=>570,'='=>570,'>'=>570,'?'=>500,'@'=>832,'A'=>667, 10 | 'B'=>667,'C'=>667,'D'=>722,'E'=>667,'F'=>667,'G'=>722,'H'=>778,'I'=>389,'J'=>500,'K'=>667,'L'=>611,'M'=>889,'N'=>722,'O'=>722,'P'=>611,'Q'=>722,'R'=>667,'S'=>556,'T'=>611,'U'=>722,'V'=>667,'W'=>889, 11 | 'X'=>667,'Y'=>611,'Z'=>611,'['=>333,'\\'=>278,']'=>333,'^'=>570,'_'=>500,'`'=>333,'a'=>500,'b'=>500,'c'=>444,'d'=>500,'e'=>444,'f'=>333,'g'=>500,'h'=>556,'i'=>278,'j'=>278,'k'=>500,'l'=>278,'m'=>778, 12 | 'n'=>556,'o'=>500,'p'=>500,'q'=>500,'r'=>389,'s'=>389,'t'=>278,'u'=>556,'v'=>444,'w'=>667,'x'=>500,'y'=>444,'z'=>389,'{'=>348,'|'=>220,'}'=>348,'~'=>570,chr(127)=>350,chr(128)=>500,chr(129)=>350,chr(130)=>333,chr(131)=>500, 13 | chr(132)=>500,chr(133)=>1000,chr(134)=>500,chr(135)=>500,chr(136)=>333,chr(137)=>1000,chr(138)=>556,chr(139)=>333,chr(140)=>944,chr(141)=>350,chr(142)=>611,chr(143)=>350,chr(144)=>350,chr(145)=>333,chr(146)=>333,chr(147)=>500,chr(148)=>500,chr(149)=>350,chr(150)=>500,chr(151)=>1000,chr(152)=>333,chr(153)=>1000, 14 | chr(154)=>389,chr(155)=>333,chr(156)=>722,chr(157)=>350,chr(158)=>389,chr(159)=>611,chr(160)=>250,chr(161)=>389,chr(162)=>500,chr(163)=>500,chr(164)=>500,chr(165)=>500,chr(166)=>220,chr(167)=>500,chr(168)=>333,chr(169)=>747,chr(170)=>266,chr(171)=>500,chr(172)=>606,chr(173)=>333,chr(174)=>747,chr(175)=>333, 15 | chr(176)=>400,chr(177)=>570,chr(178)=>300,chr(179)=>300,chr(180)=>333,chr(181)=>576,chr(182)=>500,chr(183)=>250,chr(184)=>333,chr(185)=>300,chr(186)=>300,chr(187)=>500,chr(188)=>750,chr(189)=>750,chr(190)=>750,chr(191)=>500,chr(192)=>667,chr(193)=>667,chr(194)=>667,chr(195)=>667,chr(196)=>667,chr(197)=>667, 16 | chr(198)=>944,chr(199)=>667,chr(200)=>667,chr(201)=>667,chr(202)=>667,chr(203)=>667,chr(204)=>389,chr(205)=>389,chr(206)=>389,chr(207)=>389,chr(208)=>722,chr(209)=>722,chr(210)=>722,chr(211)=>722,chr(212)=>722,chr(213)=>722,chr(214)=>722,chr(215)=>570,chr(216)=>722,chr(217)=>722,chr(218)=>722,chr(219)=>722, 17 | chr(220)=>722,chr(221)=>611,chr(222)=>611,chr(223)=>500,chr(224)=>500,chr(225)=>500,chr(226)=>500,chr(227)=>500,chr(228)=>500,chr(229)=>500,chr(230)=>722,chr(231)=>444,chr(232)=>444,chr(233)=>444,chr(234)=>444,chr(235)=>444,chr(236)=>278,chr(237)=>278,chr(238)=>278,chr(239)=>278,chr(240)=>500,chr(241)=>556, 18 | chr(242)=>500,chr(243)=>500,chr(244)=>500,chr(245)=>500,chr(246)=>500,chr(247)=>570,chr(248)=>500,chr(249)=>556,chr(250)=>556,chr(251)=>556,chr(252)=>556,chr(253)=>444,chr(254)=>500,chr(255)=>444); 19 | $enc = 'cp1252'; 20 | $uv = array(0=>array(0,128),128=>8364,130=>8218,131=>402,132=>8222,133=>8230,134=>array(8224,2),136=>710,137=>8240,138=>352,139=>8249,140=>338,142=>381,145=>array(8216,2),147=>array(8220,2),149=>8226,150=>array(8211,2),152=>732,153=>8482,154=>353,155=>8250,156=>339,158=>382,159=>376,160=>array(160,96)); 21 | ?> 22 | -------------------------------------------------------------------------------- /fpdf/font/timesi.php: -------------------------------------------------------------------------------- 1 | 250,chr(1)=>250,chr(2)=>250,chr(3)=>250,chr(4)=>250,chr(5)=>250,chr(6)=>250,chr(7)=>250,chr(8)=>250,chr(9)=>250,chr(10)=>250,chr(11)=>250,chr(12)=>250,chr(13)=>250,chr(14)=>250,chr(15)=>250,chr(16)=>250,chr(17)=>250,chr(18)=>250,chr(19)=>250,chr(20)=>250,chr(21)=>250, 8 | chr(22)=>250,chr(23)=>250,chr(24)=>250,chr(25)=>250,chr(26)=>250,chr(27)=>250,chr(28)=>250,chr(29)=>250,chr(30)=>250,chr(31)=>250,' '=>250,'!'=>333,'"'=>420,'#'=>500,'$'=>500,'%'=>833,'&'=>778,'\''=>214,'('=>333,')'=>333,'*'=>500,'+'=>675, 9 | ','=>250,'-'=>333,'.'=>250,'/'=>278,'0'=>500,'1'=>500,'2'=>500,'3'=>500,'4'=>500,'5'=>500,'6'=>500,'7'=>500,'8'=>500,'9'=>500,':'=>333,';'=>333,'<'=>675,'='=>675,'>'=>675,'?'=>500,'@'=>920,'A'=>611, 10 | 'B'=>611,'C'=>667,'D'=>722,'E'=>611,'F'=>611,'G'=>722,'H'=>722,'I'=>333,'J'=>444,'K'=>667,'L'=>556,'M'=>833,'N'=>667,'O'=>722,'P'=>611,'Q'=>722,'R'=>611,'S'=>500,'T'=>556,'U'=>722,'V'=>611,'W'=>833, 11 | 'X'=>611,'Y'=>556,'Z'=>556,'['=>389,'\\'=>278,']'=>389,'^'=>422,'_'=>500,'`'=>333,'a'=>500,'b'=>500,'c'=>444,'d'=>500,'e'=>444,'f'=>278,'g'=>500,'h'=>500,'i'=>278,'j'=>278,'k'=>444,'l'=>278,'m'=>722, 12 | 'n'=>500,'o'=>500,'p'=>500,'q'=>500,'r'=>389,'s'=>389,'t'=>278,'u'=>500,'v'=>444,'w'=>667,'x'=>444,'y'=>444,'z'=>389,'{'=>400,'|'=>275,'}'=>400,'~'=>541,chr(127)=>350,chr(128)=>500,chr(129)=>350,chr(130)=>333,chr(131)=>500, 13 | chr(132)=>556,chr(133)=>889,chr(134)=>500,chr(135)=>500,chr(136)=>333,chr(137)=>1000,chr(138)=>500,chr(139)=>333,chr(140)=>944,chr(141)=>350,chr(142)=>556,chr(143)=>350,chr(144)=>350,chr(145)=>333,chr(146)=>333,chr(147)=>556,chr(148)=>556,chr(149)=>350,chr(150)=>500,chr(151)=>889,chr(152)=>333,chr(153)=>980, 14 | chr(154)=>389,chr(155)=>333,chr(156)=>667,chr(157)=>350,chr(158)=>389,chr(159)=>556,chr(160)=>250,chr(161)=>389,chr(162)=>500,chr(163)=>500,chr(164)=>500,chr(165)=>500,chr(166)=>275,chr(167)=>500,chr(168)=>333,chr(169)=>760,chr(170)=>276,chr(171)=>500,chr(172)=>675,chr(173)=>333,chr(174)=>760,chr(175)=>333, 15 | chr(176)=>400,chr(177)=>675,chr(178)=>300,chr(179)=>300,chr(180)=>333,chr(181)=>500,chr(182)=>523,chr(183)=>250,chr(184)=>333,chr(185)=>300,chr(186)=>310,chr(187)=>500,chr(188)=>750,chr(189)=>750,chr(190)=>750,chr(191)=>500,chr(192)=>611,chr(193)=>611,chr(194)=>611,chr(195)=>611,chr(196)=>611,chr(197)=>611, 16 | chr(198)=>889,chr(199)=>667,chr(200)=>611,chr(201)=>611,chr(202)=>611,chr(203)=>611,chr(204)=>333,chr(205)=>333,chr(206)=>333,chr(207)=>333,chr(208)=>722,chr(209)=>667,chr(210)=>722,chr(211)=>722,chr(212)=>722,chr(213)=>722,chr(214)=>722,chr(215)=>675,chr(216)=>722,chr(217)=>722,chr(218)=>722,chr(219)=>722, 17 | chr(220)=>722,chr(221)=>556,chr(222)=>611,chr(223)=>500,chr(224)=>500,chr(225)=>500,chr(226)=>500,chr(227)=>500,chr(228)=>500,chr(229)=>500,chr(230)=>667,chr(231)=>444,chr(232)=>444,chr(233)=>444,chr(234)=>444,chr(235)=>444,chr(236)=>278,chr(237)=>278,chr(238)=>278,chr(239)=>278,chr(240)=>500,chr(241)=>500, 18 | chr(242)=>500,chr(243)=>500,chr(244)=>500,chr(245)=>500,chr(246)=>500,chr(247)=>675,chr(248)=>500,chr(249)=>500,chr(250)=>500,chr(251)=>500,chr(252)=>500,chr(253)=>444,chr(254)=>500,chr(255)=>444); 19 | $enc = 'cp1252'; 20 | $uv = array(0=>array(0,128),128=>8364,130=>8218,131=>402,132=>8222,133=>8230,134=>array(8224,2),136=>710,137=>8240,138=>352,139=>8249,140=>338,142=>381,145=>array(8216,2),147=>array(8220,2),149=>8226,150=>array(8211,2),152=>732,153=>8482,154=>353,155=>8250,156=>339,158=>382,159=>376,160=>array(160,96)); 21 | ?> 22 | -------------------------------------------------------------------------------- /fpdf/font/zapfdingbats.php: -------------------------------------------------------------------------------- 1 | 0,chr(1)=>0,chr(2)=>0,chr(3)=>0,chr(4)=>0,chr(5)=>0,chr(6)=>0,chr(7)=>0,chr(8)=>0,chr(9)=>0,chr(10)=>0,chr(11)=>0,chr(12)=>0,chr(13)=>0,chr(14)=>0,chr(15)=>0,chr(16)=>0,chr(17)=>0,chr(18)=>0,chr(19)=>0,chr(20)=>0,chr(21)=>0, 8 | chr(22)=>0,chr(23)=>0,chr(24)=>0,chr(25)=>0,chr(26)=>0,chr(27)=>0,chr(28)=>0,chr(29)=>0,chr(30)=>0,chr(31)=>0,' '=>278,'!'=>974,'"'=>961,'#'=>974,'$'=>980,'%'=>719,'&'=>789,'\''=>790,'('=>791,')'=>690,'*'=>960,'+'=>939, 9 | ','=>549,'-'=>855,'.'=>911,'/'=>933,'0'=>911,'1'=>945,'2'=>974,'3'=>755,'4'=>846,'5'=>762,'6'=>761,'7'=>571,'8'=>677,'9'=>763,':'=>760,';'=>759,'<'=>754,'='=>494,'>'=>552,'?'=>537,'@'=>577,'A'=>692, 10 | 'B'=>786,'C'=>788,'D'=>788,'E'=>790,'F'=>793,'G'=>794,'H'=>816,'I'=>823,'J'=>789,'K'=>841,'L'=>823,'M'=>833,'N'=>816,'O'=>831,'P'=>923,'Q'=>744,'R'=>723,'S'=>749,'T'=>790,'U'=>792,'V'=>695,'W'=>776, 11 | 'X'=>768,'Y'=>792,'Z'=>759,'['=>707,'\\'=>708,']'=>682,'^'=>701,'_'=>826,'`'=>815,'a'=>789,'b'=>789,'c'=>707,'d'=>687,'e'=>696,'f'=>689,'g'=>786,'h'=>787,'i'=>713,'j'=>791,'k'=>785,'l'=>791,'m'=>873, 12 | 'n'=>761,'o'=>762,'p'=>762,'q'=>759,'r'=>759,'s'=>892,'t'=>892,'u'=>788,'v'=>784,'w'=>438,'x'=>138,'y'=>277,'z'=>415,'{'=>392,'|'=>392,'}'=>668,'~'=>668,chr(127)=>0,chr(128)=>390,chr(129)=>390,chr(130)=>317,chr(131)=>317, 13 | chr(132)=>276,chr(133)=>276,chr(134)=>509,chr(135)=>509,chr(136)=>410,chr(137)=>410,chr(138)=>234,chr(139)=>234,chr(140)=>334,chr(141)=>334,chr(142)=>0,chr(143)=>0,chr(144)=>0,chr(145)=>0,chr(146)=>0,chr(147)=>0,chr(148)=>0,chr(149)=>0,chr(150)=>0,chr(151)=>0,chr(152)=>0,chr(153)=>0, 14 | chr(154)=>0,chr(155)=>0,chr(156)=>0,chr(157)=>0,chr(158)=>0,chr(159)=>0,chr(160)=>0,chr(161)=>732,chr(162)=>544,chr(163)=>544,chr(164)=>910,chr(165)=>667,chr(166)=>760,chr(167)=>760,chr(168)=>776,chr(169)=>595,chr(170)=>694,chr(171)=>626,chr(172)=>788,chr(173)=>788,chr(174)=>788,chr(175)=>788, 15 | chr(176)=>788,chr(177)=>788,chr(178)=>788,chr(179)=>788,chr(180)=>788,chr(181)=>788,chr(182)=>788,chr(183)=>788,chr(184)=>788,chr(185)=>788,chr(186)=>788,chr(187)=>788,chr(188)=>788,chr(189)=>788,chr(190)=>788,chr(191)=>788,chr(192)=>788,chr(193)=>788,chr(194)=>788,chr(195)=>788,chr(196)=>788,chr(197)=>788, 16 | chr(198)=>788,chr(199)=>788,chr(200)=>788,chr(201)=>788,chr(202)=>788,chr(203)=>788,chr(204)=>788,chr(205)=>788,chr(206)=>788,chr(207)=>788,chr(208)=>788,chr(209)=>788,chr(210)=>788,chr(211)=>788,chr(212)=>894,chr(213)=>838,chr(214)=>1016,chr(215)=>458,chr(216)=>748,chr(217)=>924,chr(218)=>748,chr(219)=>918, 17 | chr(220)=>927,chr(221)=>928,chr(222)=>928,chr(223)=>834,chr(224)=>873,chr(225)=>828,chr(226)=>924,chr(227)=>924,chr(228)=>917,chr(229)=>930,chr(230)=>931,chr(231)=>463,chr(232)=>883,chr(233)=>836,chr(234)=>836,chr(235)=>867,chr(236)=>867,chr(237)=>696,chr(238)=>696,chr(239)=>874,chr(240)=>0,chr(241)=>874, 18 | chr(242)=>760,chr(243)=>946,chr(244)=>771,chr(245)=>865,chr(246)=>771,chr(247)=>888,chr(248)=>967,chr(249)=>888,chr(250)=>831,chr(251)=>873,chr(252)=>927,chr(253)=>970,chr(254)=>918,chr(255)=>0); 19 | $uv = array(32=>32,33=>array(9985,4),37=>9742,38=>array(9990,4),42=>9755,43=>9758,44=>array(9996,28),72=>9733,73=>array(10025,35),108=>9679,109=>10061,110=>9632,111=>array(10063,4),115=>9650,116=>9660,117=>9670,118=>10070,119=>9687,120=>array(10072,7),128=>array(10088,14),161=>array(10081,7),168=>9827,169=>9830,170=>9829,171=>9824,172=>array(9312,10),182=>array(10102,31),213=>8594,214=>array(8596,2),216=>array(10136,24),241=>array(10161,14)); 20 | ?> 21 | -------------------------------------------------------------------------------- /fpdf/fpdf.css: -------------------------------------------------------------------------------- 1 | body {font-family:"Times New Roman",serif} 2 | h1 {font:bold 135% Arial,sans-serif; color:#4000A0; margin-bottom:0.9em} 3 | h2 {font:bold 95% Arial,sans-serif; color:#900000; margin-top:1.5em; margin-bottom:1em} 4 | dl.param dt {text-decoration:underline} 5 | dl.param dd {margin-top:1em; margin-bottom:1em} 6 | dl.param ul {margin-top:1em; margin-bottom:1em} 7 | tt, code, kbd {font-family:"Courier New",Courier,monospace; font-size:82%} 8 | div.source {margin-top:1.4em; margin-bottom:1.3em} 9 | div.source pre {display:table; border:1px solid #24246A; width:100%; margin:0em; font-family:inherit; font-size:100%} 10 | div.source code {display:block; border:1px solid #C5C5EC; background-color:#F0F5FF; padding:6px; color:#000000} 11 | div.doc-source {margin-top:1.4em; margin-bottom:1.3em} 12 | div.doc-source pre {display:table; width:100%; margin:0em; font-family:inherit; font-size:100%} 13 | div.doc-source code {display:block; background-color:#E0E0E0; padding:4px} 14 | .kw {color:#000080; font-weight:bold} 15 | .str {color:#CC0000} 16 | .cmt {color:#008000} 17 | p.demo {text-align:center; margin-top:-0.9em} 18 | a.demo {text-decoration:none; font-weight:bold; color:#0000CC} 19 | a.demo:link {text-decoration:none; font-weight:bold; color:#0000CC} 20 | a.demo:hover {text-decoration:none; font-weight:bold; color:#0000FF} 21 | a.demo:active {text-decoration:none; font-weight:bold; color:#0000FF} 22 | -------------------------------------------------------------------------------- /fpdf/install.txt: -------------------------------------------------------------------------------- 1 | The FPDF library is made up of the following elements: 2 | 3 | - the main file, fpdf.php, which contains the class 4 | - the font definition files located in the font directory 5 | 6 | The font definition files are necessary as soon as you want to output some text in a document. 7 | If they are not accessible, the SetFont() method will produce the following error: 8 | 9 | FPDF error: Could not include font definition file 10 | 11 | 12 | Remarks: 13 | 14 | - Only the files corresponding to the fonts actually used are necessary 15 | - The tutorials provided in this package are ready to be executed 16 | -------------------------------------------------------------------------------- /fpdf/license.txt: -------------------------------------------------------------------------------- 1 | Permission is hereby granted, free of charge, to any person obtaining a copy 2 | of this software to use, copy, modify, distribute, sublicense, and/or sell 3 | copies of the software, and to permit persons to whom the software is furnished 4 | to do so. 5 | 6 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED. -------------------------------------------------------------------------------- /fpdf/tutorial/20k_c1.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/msaifulcsse/Ticket-Travel-Management-System/15c7bc0b48c263233326bb227fef01efc54c24a7/fpdf/tutorial/20k_c1.txt -------------------------------------------------------------------------------- /fpdf/tutorial/calligra.php: -------------------------------------------------------------------------------- 1 | 899,'Descent'=>-234,'CapHeight'=>899,'Flags'=>32,'FontBBox'=>'[-173 -234 1328 899]','ItalicAngle'=>0,'StemV'=>70,'MissingWidth'=>800); 5 | $up = -200; 6 | $ut = 20; 7 | $cw = array( 8 | chr(0)=>800,chr(1)=>800,chr(2)=>800,chr(3)=>800,chr(4)=>800,chr(5)=>800,chr(6)=>800,chr(7)=>800,chr(8)=>800,chr(9)=>800,chr(10)=>800,chr(11)=>800,chr(12)=>800,chr(13)=>800,chr(14)=>800,chr(15)=>800,chr(16)=>800,chr(17)=>800,chr(18)=>800,chr(19)=>800,chr(20)=>800,chr(21)=>800, 9 | chr(22)=>800,chr(23)=>800,chr(24)=>800,chr(25)=>800,chr(26)=>800,chr(27)=>800,chr(28)=>800,chr(29)=>800,chr(30)=>800,chr(31)=>800,' '=>282,'!'=>324,'"'=>405,'#'=>584,'$'=>632,'%'=>980,'&'=>776,'\''=>259,'('=>299,')'=>299,'*'=>377,'+'=>600, 10 | ','=>259,'-'=>432,'.'=>254,'/'=>597,'0'=>529,'1'=>298,'2'=>451,'3'=>359,'4'=>525,'5'=>423,'6'=>464,'7'=>417,'8'=>457,'9'=>479,':'=>275,';'=>282,'<'=>600,'='=>600,'>'=>600,'?'=>501,'@'=>800,'A'=>743, 11 | 'B'=>636,'C'=>598,'D'=>712,'E'=>608,'F'=>562,'G'=>680,'H'=>756,'I'=>308,'J'=>314,'K'=>676,'L'=>552,'M'=>1041,'N'=>817,'O'=>729,'P'=>569,'Q'=>698,'R'=>674,'S'=>618,'T'=>673,'U'=>805,'V'=>753,'W'=>1238, 12 | 'X'=>716,'Y'=>754,'Z'=>599,'['=>315,'\\'=>463,']'=>315,'^'=>600,'_'=>547,'`'=>278,'a'=>581,'b'=>564,'c'=>440,'d'=>571,'e'=>450,'f'=>347,'g'=>628,'h'=>611,'i'=>283,'j'=>283,'k'=>560,'l'=>252,'m'=>976, 13 | 'n'=>595,'o'=>508,'p'=>549,'q'=>540,'r'=>395,'s'=>441,'t'=>307,'u'=>614,'v'=>556,'w'=>915,'x'=>559,'y'=>597,'z'=>452,'{'=>315,'|'=>222,'}'=>315,'~'=>600,chr(127)=>800,chr(128)=>800,chr(129)=>800,chr(130)=>0,chr(131)=>0, 14 | chr(132)=>0,chr(133)=>780,chr(134)=>0,chr(135)=>0,chr(136)=>278,chr(137)=>0,chr(138)=>0,chr(139)=>0,chr(140)=>1064,chr(141)=>800,chr(142)=>0,chr(143)=>800,chr(144)=>800,chr(145)=>259,chr(146)=>259,chr(147)=>470,chr(148)=>470,chr(149)=>500,chr(150)=>300,chr(151)=>600,chr(152)=>278,chr(153)=>990, 15 | chr(154)=>0,chr(155)=>0,chr(156)=>790,chr(157)=>800,chr(158)=>800,chr(159)=>754,chr(160)=>282,chr(161)=>324,chr(162)=>450,chr(163)=>640,chr(164)=>518,chr(165)=>603,chr(166)=>0,chr(167)=>519,chr(168)=>254,chr(169)=>800,chr(170)=>349,chr(171)=>0,chr(172)=>0,chr(173)=>432,chr(174)=>800,chr(175)=>278, 16 | chr(176)=>0,chr(177)=>0,chr(178)=>0,chr(179)=>0,chr(180)=>278,chr(181)=>614,chr(182)=>0,chr(183)=>254,chr(184)=>278,chr(185)=>0,chr(186)=>305,chr(187)=>0,chr(188)=>0,chr(189)=>0,chr(190)=>0,chr(191)=>501,chr(192)=>743,chr(193)=>743,chr(194)=>743,chr(195)=>743,chr(196)=>743,chr(197)=>743, 17 | chr(198)=>1060,chr(199)=>598,chr(200)=>608,chr(201)=>608,chr(202)=>608,chr(203)=>608,chr(204)=>308,chr(205)=>308,chr(206)=>308,chr(207)=>308,chr(208)=>0,chr(209)=>817,chr(210)=>729,chr(211)=>729,chr(212)=>729,chr(213)=>729,chr(214)=>729,chr(215)=>0,chr(216)=>729,chr(217)=>805,chr(218)=>805,chr(219)=>805, 18 | chr(220)=>805,chr(221)=>0,chr(222)=>0,chr(223)=>688,chr(224)=>581,chr(225)=>581,chr(226)=>581,chr(227)=>581,chr(228)=>581,chr(229)=>581,chr(230)=>792,chr(231)=>440,chr(232)=>450,chr(233)=>450,chr(234)=>450,chr(235)=>450,chr(236)=>283,chr(237)=>283,chr(238)=>283,chr(239)=>283,chr(240)=>0,chr(241)=>595, 19 | chr(242)=>508,chr(243)=>508,chr(244)=>508,chr(245)=>508,chr(246)=>508,chr(247)=>0,chr(248)=>508,chr(249)=>614,chr(250)=>614,chr(251)=>614,chr(252)=>614,chr(253)=>0,chr(254)=>0,chr(255)=>597); 20 | $enc = 'cp1252'; 21 | $uv = array(0=>array(0,128),128=>8364,130=>8218,131=>402,132=>8222,133=>8230,134=>array(8224,2),136=>710,137=>8240,138=>352,139=>8249,140=>338,142=>381,145=>array(8216,2),147=>array(8220,2),149=>8226,150=>array(8211,2),152=>732,153=>8482,154=>353,155=>8250,156=>339,158=>382,159=>376,160=>array(160,96)); 22 | $file = 'calligra.z'; 23 | $originalsize = 33948; 24 | $subsetted = true; 25 | ?> 26 | -------------------------------------------------------------------------------- /fpdf/tutorial/calligra.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/msaifulcsse/Ticket-Travel-Management-System/15c7bc0b48c263233326bb227fef01efc54c24a7/fpdf/tutorial/calligra.ttf -------------------------------------------------------------------------------- /fpdf/tutorial/calligra.z: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/msaifulcsse/Ticket-Travel-Management-System/15c7bc0b48c263233326bb227fef01efc54c24a7/fpdf/tutorial/calligra.z -------------------------------------------------------------------------------- /fpdf/tutorial/countries.txt: -------------------------------------------------------------------------------- 1 | Austria;Vienna;83859;8075 2 | Belgium;Brussels;30518;10192 3 | Denmark;Copenhagen;43094;5295 4 | Finland;Helsinki;304529;5147 5 | France;Paris;543965;58728 6 | Germany;Berlin;357022;82057 7 | Greece;Athens;131625;10511 8 | Ireland;Dublin;70723;3694 9 | Italy;Roma;301316;57563 10 | Luxembourg;Luxembourg;2586;424 11 | Netherlands;Amsterdam;41526;15654 12 | Portugal;Lisbon;91906;9957 13 | Spain;Madrid;504790;39348 14 | Sweden;Stockholm;410934;8839 15 | United Kingdom;London;243820;58862 16 | -------------------------------------------------------------------------------- /fpdf/tutorial/index.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Tutorials 6 | 7 | 8 | 9 |

Tutorials

10 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /fpdf/tutorial/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/msaifulcsse/Ticket-Travel-Management-System/15c7bc0b48c263233326bb227fef01efc54c24a7/fpdf/tutorial/logo.png -------------------------------------------------------------------------------- /fpdf/tutorial/makefont.php: -------------------------------------------------------------------------------- 1 | 7 | -------------------------------------------------------------------------------- /fpdf/tutorial/tuto1.php: -------------------------------------------------------------------------------- 1 | AddPage(); 6 | $pdf->SetFont('Arial','B',16); 7 | $pdf->Cell(40,10,'Hello World!'); 8 | $pdf->Output(); 9 | ?> 10 | -------------------------------------------------------------------------------- /fpdf/tutorial/tuto2.php: -------------------------------------------------------------------------------- 1 | Image('logo.png',10,6,30); 11 | // Arial bold 15 12 | $this->SetFont('Arial','B',15); 13 | // Move to the right 14 | $this->Cell(80); 15 | // Title 16 | $this->Cell(30,10,'Title',1,0,'C'); 17 | // Line break 18 | $this->Ln(20); 19 | } 20 | 21 | // Page footer 22 | function Footer() 23 | { 24 | // Position at 1.5 cm from bottom 25 | $this->SetY(-15); 26 | // Arial italic 8 27 | $this->SetFont('Arial','I',8); 28 | // Page number 29 | $this->Cell(0,10,'Page '.$this->PageNo().'/{nb}',0,0,'C'); 30 | } 31 | } 32 | 33 | // Instanciation of inherited class 34 | $pdf = new PDF(); 35 | $pdf->AliasNbPages(); 36 | $pdf->AddPage(); 37 | $pdf->SetFont('Times','',12); 38 | for($i=1;$i<=40;$i++) 39 | $pdf->Cell(0,10,'Printing line number '.$i,0,1); 40 | $pdf->Output(); 41 | ?> 42 | -------------------------------------------------------------------------------- /fpdf/tutorial/tuto3.php: -------------------------------------------------------------------------------- 1 | SetFont('Arial','B',15); 12 | // Calculate width of title and position 13 | $w = $this->GetStringWidth($title)+6; 14 | $this->SetX((210-$w)/2); 15 | // Colors of frame, background and text 16 | $this->SetDrawColor(0,80,180); 17 | $this->SetFillColor(230,230,0); 18 | $this->SetTextColor(220,50,50); 19 | // Thickness of frame (1 mm) 20 | $this->SetLineWidth(1); 21 | // Title 22 | $this->Cell($w,9,$title,1,1,'C',true); 23 | // Line break 24 | $this->Ln(10); 25 | } 26 | 27 | function Footer() 28 | { 29 | // Position at 1.5 cm from bottom 30 | $this->SetY(-15); 31 | // Arial italic 8 32 | $this->SetFont('Arial','I',8); 33 | // Text color in gray 34 | $this->SetTextColor(128); 35 | // Page number 36 | $this->Cell(0,10,'Page '.$this->PageNo(),0,0,'C'); 37 | } 38 | 39 | function ChapterTitle($num, $label) 40 | { 41 | // Arial 12 42 | $this->SetFont('Arial','',12); 43 | // Background color 44 | $this->SetFillColor(200,220,255); 45 | // Title 46 | $this->Cell(0,6,"Chapter $num : $label",0,1,'L',true); 47 | // Line break 48 | $this->Ln(4); 49 | } 50 | 51 | function ChapterBody($file) 52 | { 53 | // Read text file 54 | $txt = file_get_contents($file); 55 | // Times 12 56 | $this->SetFont('Times','',12); 57 | // Output justified text 58 | $this->MultiCell(0,5,$txt); 59 | // Line break 60 | $this->Ln(); 61 | // Mention in italics 62 | $this->SetFont('','I'); 63 | $this->Cell(0,5,'(end of excerpt)'); 64 | } 65 | 66 | function PrintChapter($num, $title, $file) 67 | { 68 | $this->AddPage(); 69 | $this->ChapterTitle($num,$title); 70 | $this->ChapterBody($file); 71 | } 72 | } 73 | 74 | $pdf = new PDF(); 75 | $title = '20000 Leagues Under the Seas'; 76 | $pdf->SetTitle($title); 77 | $pdf->SetAuthor('Jules Verne'); 78 | $pdf->PrintChapter(1,'A RUNAWAY REEF','20k_c1.txt'); 79 | $pdf->PrintChapter(2,'THE PROS AND CONS','20k_c2.txt'); 80 | $pdf->Output(); 81 | ?> 82 | -------------------------------------------------------------------------------- /fpdf/tutorial/tuto4.php: -------------------------------------------------------------------------------- 1 | SetFont('Arial','B',15); 15 | $w = $this->GetStringWidth($title)+6; 16 | $this->SetX((210-$w)/2); 17 | $this->SetDrawColor(0,80,180); 18 | $this->SetFillColor(230,230,0); 19 | $this->SetTextColor(220,50,50); 20 | $this->SetLineWidth(1); 21 | $this->Cell($w,9,$title,1,1,'C',true); 22 | $this->Ln(10); 23 | // Save ordinate 24 | $this->y0 = $this->GetY(); 25 | } 26 | 27 | function Footer() 28 | { 29 | // Page footer 30 | $this->SetY(-15); 31 | $this->SetFont('Arial','I',8); 32 | $this->SetTextColor(128); 33 | $this->Cell(0,10,'Page '.$this->PageNo(),0,0,'C'); 34 | } 35 | 36 | function SetCol($col) 37 | { 38 | // Set position at a given column 39 | $this->col = $col; 40 | $x = 10+$col*65; 41 | $this->SetLeftMargin($x); 42 | $this->SetX($x); 43 | } 44 | 45 | function AcceptPageBreak() 46 | { 47 | // Method accepting or not automatic page break 48 | if($this->col<2) 49 | { 50 | // Go to next column 51 | $this->SetCol($this->col+1); 52 | // Set ordinate to top 53 | $this->SetY($this->y0); 54 | // Keep on page 55 | return false; 56 | } 57 | else 58 | { 59 | // Go back to first column 60 | $this->SetCol(0); 61 | // Page break 62 | return true; 63 | } 64 | } 65 | 66 | function ChapterTitle($num, $label) 67 | { 68 | // Title 69 | $this->SetFont('Arial','',12); 70 | $this->SetFillColor(200,220,255); 71 | $this->Cell(0,6,"Chapter $num : $label",0,1,'L',true); 72 | $this->Ln(4); 73 | // Save ordinate 74 | $this->y0 = $this->GetY(); 75 | } 76 | 77 | function ChapterBody($file) 78 | { 79 | // Read text file 80 | $txt = file_get_contents($file); 81 | // Font 82 | $this->SetFont('Times','',12); 83 | // Output text in a 6 cm width column 84 | $this->MultiCell(60,5,$txt); 85 | $this->Ln(); 86 | // Mention 87 | $this->SetFont('','I'); 88 | $this->Cell(0,5,'(end of excerpt)'); 89 | // Go back to first column 90 | $this->SetCol(0); 91 | } 92 | 93 | function PrintChapter($num, $title, $file) 94 | { 95 | // Add chapter 96 | $this->AddPage(); 97 | $this->ChapterTitle($num,$title); 98 | $this->ChapterBody($file); 99 | } 100 | } 101 | 102 | $pdf = new PDF(); 103 | $title = '20000 Leagues Under the Seas'; 104 | $pdf->SetTitle($title); 105 | $pdf->SetAuthor('Jules Verne'); 106 | $pdf->PrintChapter(1,'A RUNAWAY REEF','20k_c1.txt'); 107 | $pdf->PrintChapter(2,'THE PROS AND CONS','20k_c2.txt'); 108 | $pdf->Output(); 109 | ?> 110 | -------------------------------------------------------------------------------- /fpdf/tutorial/tuto5.php: -------------------------------------------------------------------------------- 1 | Cell(40,7,$col,1); 23 | $this->Ln(); 24 | // Data 25 | foreach($data as $row) 26 | { 27 | foreach($row as $col) 28 | $this->Cell(40,6,$col,1); 29 | $this->Ln(); 30 | } 31 | } 32 | 33 | // Better table 34 | function ImprovedTable($header, $data) 35 | { 36 | // Column widths 37 | $w = array(40, 35, 40, 45); 38 | // Header 39 | for($i=0;$iCell($w[$i],7,$header[$i],1,0,'C'); 41 | $this->Ln(); 42 | // Data 43 | foreach($data as $row) 44 | { 45 | $this->Cell($w[0],6,$row[0],'LR'); 46 | $this->Cell($w[1],6,$row[1],'LR'); 47 | $this->Cell($w[2],6,number_format($row[2]),'LR',0,'R'); 48 | $this->Cell($w[3],6,number_format($row[3]),'LR',0,'R'); 49 | $this->Ln(); 50 | } 51 | // Closing line 52 | $this->Cell(array_sum($w),0,'','T'); 53 | } 54 | 55 | // Colored table 56 | function FancyTable($header, $data) 57 | { 58 | // Colors, line width and bold font 59 | $this->SetFillColor(255,0,0); 60 | $this->SetTextColor(255); 61 | $this->SetDrawColor(128,0,0); 62 | $this->SetLineWidth(.3); 63 | $this->SetFont('','B'); 64 | // Header 65 | $w = array(40, 35, 40, 45); 66 | for($i=0;$iCell($w[$i],7,$header[$i],1,0,'C',true); 68 | $this->Ln(); 69 | // Color and font restoration 70 | $this->SetFillColor(224,235,255); 71 | $this->SetTextColor(0); 72 | $this->SetFont(''); 73 | // Data 74 | $fill = false; 75 | foreach($data as $row) 76 | { 77 | $this->Cell($w[0],6,$row[0],'LR',0,'L',$fill); 78 | $this->Cell($w[1],6,$row[1],'LR',0,'L',$fill); 79 | $this->Cell($w[2],6,number_format($row[2]),'LR',0,'R',$fill); 80 | $this->Cell($w[3],6,number_format($row[3]),'LR',0,'R',$fill); 81 | $this->Ln(); 82 | $fill = !$fill; 83 | } 84 | // Closing line 85 | $this->Cell(array_sum($w),0,'','T'); 86 | } 87 | } 88 | 89 | $pdf = new PDF(); 90 | // Column headings 91 | $header = array('Country', 'Capital', 'Area (sq km)', 'Pop. (thousands)'); 92 | // Data loading 93 | $data = $pdf->LoadData('countries.txt'); 94 | $pdf->SetFont('Arial','',14); 95 | $pdf->AddPage(); 96 | $pdf->BasicTable($header,$data); 97 | $pdf->AddPage(); 98 | $pdf->ImprovedTable($header,$data); 99 | $pdf->AddPage(); 100 | $pdf->FancyTable($header,$data); 101 | $pdf->Output(); 102 | ?> 103 | -------------------------------------------------------------------------------- /fpdf/tutorial/tuto6.php: -------------------------------------------------------------------------------- 1 | /U',$html,-1,PREG_SPLIT_DELIM_CAPTURE); 16 | foreach($a as $i=>$e) 17 | { 18 | if($i%2==0) 19 | { 20 | // Text 21 | if($this->HREF) 22 | $this->PutLink($this->HREF,$e); 23 | else 24 | $this->Write(5,$e); 25 | } 26 | else 27 | { 28 | // Tag 29 | if($e[0]=='/') 30 | $this->CloseTag(strtoupper(substr($e,1))); 31 | else 32 | { 33 | // Extract attributes 34 | $a2 = explode(' ',$e); 35 | $tag = strtoupper(array_shift($a2)); 36 | $attr = array(); 37 | foreach($a2 as $v) 38 | { 39 | if(preg_match('/([^=]*)=["\']?([^"\']*)/',$v,$a3)) 40 | $attr[strtoupper($a3[1])] = $a3[2]; 41 | } 42 | $this->OpenTag($tag,$attr); 43 | } 44 | } 45 | } 46 | } 47 | 48 | function OpenTag($tag, $attr) 49 | { 50 | // Opening tag 51 | if($tag=='B' || $tag=='I' || $tag=='U') 52 | $this->SetStyle($tag,true); 53 | if($tag=='A') 54 | $this->HREF = $attr['HREF']; 55 | if($tag=='BR') 56 | $this->Ln(5); 57 | } 58 | 59 | function CloseTag($tag) 60 | { 61 | // Closing tag 62 | if($tag=='B' || $tag=='I' || $tag=='U') 63 | $this->SetStyle($tag,false); 64 | if($tag=='A') 65 | $this->HREF = ''; 66 | } 67 | 68 | function SetStyle($tag, $enable) 69 | { 70 | // Modify style and select corresponding font 71 | $this->$tag += ($enable ? 1 : -1); 72 | $style = ''; 73 | foreach(array('B', 'I', 'U') as $s) 74 | { 75 | if($this->$s>0) 76 | $style .= $s; 77 | } 78 | $this->SetFont('',$style); 79 | } 80 | 81 | function PutLink($URL, $txt) 82 | { 83 | // Put a hyperlink 84 | $this->SetTextColor(0,0,255); 85 | $this->SetStyle('U',true); 86 | $this->Write(5,$txt,$URL); 87 | $this->SetStyle('U',false); 88 | $this->SetTextColor(0); 89 | } 90 | } 91 | 92 | $html = 'You can now easily print text mixing different styles: bold, italic, 93 | underlined, or all at once!

You can also insert links on 94 | text, such as www.fpdf.org, or on an image: click on the logo.'; 95 | 96 | $pdf = new PDF(); 97 | // First page 98 | $pdf->AddPage(); 99 | $pdf->SetFont('Arial','',20); 100 | $pdf->Write(5,"To find out what's new in this tutorial, click "); 101 | $pdf->SetFont('','U'); 102 | $link = $pdf->AddLink(); 103 | $pdf->Write(5,'here',$link); 104 | $pdf->SetFont(''); 105 | // Second page 106 | $pdf->AddPage(); 107 | $pdf->SetLink($link); 108 | $pdf->Image('logo.png',10,12,30,0,'','http://www.fpdf.org'); 109 | $pdf->SetLeftMargin(45); 110 | $pdf->SetFontSize(14); 111 | $pdf->WriteHTML($html); 112 | $pdf->Output(); 113 | ?> 114 | -------------------------------------------------------------------------------- /fpdf/tutorial/tuto7.php: -------------------------------------------------------------------------------- 1 | AddFont('Calligrapher','','calligra.php'); 7 | $pdf->AddPage(); 8 | $pdf->SetFont('Calligrapher','',35); 9 | $pdf->Cell(0,10,'Enjoy new fonts with FPDF!'); 10 | $pdf->Output(); 11 | ?> 12 | -------------------------------------------------------------------------------- /images/admin.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/msaifulcsse/Ticket-Travel-Management-System/15c7bc0b48c263233326bb227fef01efc54c24a7/images/admin.jpg -------------------------------------------------------------------------------- /images/biman.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/msaifulcsse/Ticket-Travel-Management-System/15c7bc0b48c263233326bb227fef01efc54c24a7/images/biman.jpg -------------------------------------------------------------------------------- /images/booked.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/msaifulcsse/Ticket-Travel-Management-System/15c7bc0b48c263233326bb227fef01efc54c24a7/images/booked.png -------------------------------------------------------------------------------- /images/bus.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/msaifulcsse/Ticket-Travel-Management-System/15c7bc0b48c263233326bb227fef01efc54c24a7/images/bus.jpg -------------------------------------------------------------------------------- /images/check.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/msaifulcsse/Ticket-Travel-Management-System/15c7bc0b48c263233326bb227fef01efc54c24a7/images/check.png -------------------------------------------------------------------------------- /images/facebook-wrap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/msaifulcsse/Ticket-Travel-Management-System/15c7bc0b48c263233326bb227fef01efc54c24a7/images/facebook-wrap.png -------------------------------------------------------------------------------- /images/google-wrap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/msaifulcsse/Ticket-Travel-Management-System/15c7bc0b48c263233326bb227fef01efc54c24a7/images/google-wrap.png -------------------------------------------------------------------------------- /images/train.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/msaifulcsse/Ticket-Travel-Management-System/15c7bc0b48c263233326bb227fef01efc54c24a7/images/train.jpg -------------------------------------------------------------------------------- /images/twitter-wrap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/msaifulcsse/Ticket-Travel-Management-System/15c7bc0b48c263233326bb227fef01efc54c24a7/images/twitter-wrap.png -------------------------------------------------------------------------------- /images/uncheck.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/msaifulcsse/Ticket-Travel-Management-System/15c7bc0b48c263233326bb227fef01efc54c24a7/images/uncheck.png -------------------------------------------------------------------------------- /login.php: -------------------------------------------------------------------------------- 1 | 39 | 40 | 41 | 42 | Software Project One 43 | 44 | 45 | 46 | 47 |
48 | 52 | 60 |
61 |
62 |
63 |
" method="post"> 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 78 | 79 |
Email:
Password:
76 | 77 |
80 |

81 |
82 |
83 |
84 |

Not Registered Yet?

  SignUp Here. 85 |
86 |
87 |



88 |
89 | 96 |
97 |

Copyright© 2013-2016 by Team 3'S

98 | Facebook Logo 99 | Twitter Logo 100 | GooglePlus Logo 101 |
102 |
103 | 104 | -------------------------------------------------------------------------------- /logout.php: -------------------------------------------------------------------------------- 1 | 8 | -------------------------------------------------------------------------------- /mysqldb.php: -------------------------------------------------------------------------------- 1 | 11 | -------------------------------------------------------------------------------- /scripts/jquery.validate.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/msaifulcsse/Ticket-Travel-Management-System/15c7bc0b48c263233326bb227fef01efc54c24a7/scripts/jquery.validate.min.js -------------------------------------------------------------------------------- /signup.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | SignUp Page || Software Project One 4 | 5 | 6 | 7 | 8 |
9 | 13 | 21 |
22 |
23 |

User Registration Form

24 |
25 |
26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 |
Full Name:
Gender: Male Female Other 34 |
Email:
Phone:
Address:
Password:
57 |
58 |
59 |
60 |

61 |
62 | 69 |
70 |

Copyright© 2013-2016 by Team 3'S

71 | Facebook Logo 72 | Twitter Logo 73 | GooglePlus Logo 74 |
75 |
76 | 77 | -------------------------------------------------------------------------------- /time_JS/jquery.ptTimeSelect.css: -------------------------------------------------------------------------------- 1 | /** 2 | * FILE: jquery.ptTileSelect.css 3 | * Default style for the timeselect container. 4 | * 5 | * LAST UPDATED: 6 | * 7 | * - $Date: 2009/04/12 20:23:02 $ 8 | * - $Author: paulinho4u $ 9 | * - $Revision: 1.1 $ 10 | */ 11 | #ptTimeSelectCntr { 12 | width: 250px; 13 | font-size: .9em; 14 | position: absolute; 15 | z-index: 10; 16 | display: none; 17 | } 18 | #ptTimeSelectCntr .ui-widget{ 19 | padding: .2em; 20 | } 21 | #ptTimeSelectCntr .ui-widget-header { 22 | padding: .2em; 23 | } 24 | #ptTimeSelectCntr #ptTimeSelectUserTime { 25 | font-size: larger; 26 | padding: .2em; 27 | padding-left: 1em; 28 | text-align: center; 29 | } 30 | #ptTimeSelectCntr #ptTimeSelectCloseCntr { 31 | display: block; 32 | padding: .2em; 33 | } 34 | #ptTimeSelectCntr #ptTimeSelectCloseCntr a { 35 | display: block; 36 | padding: .2em; 37 | } 38 | #ptTimeSelectCntr .ui-widget-content { 39 | margin-top: .1em; 40 | margin-bottom: .1em; 41 | padding: .2em; 42 | } 43 | #ptTimeSelectCntr .ui-widget.ui-widget-content { 44 | margin-top: 0; 45 | } 46 | #ptTimeSelectCntr .ptTimeSelectLeftPane.ui-widget-content { 47 | border-top:none; 48 | border-bottom:none; 49 | border-left:none; 50 | border-right-width: 2px; 51 | } 52 | #ptTimeSelectCntr .ptTimeSelectRightPane.ui-widget-content { 53 | border: none; 54 | } 55 | #ptTimeSelectCntr .ptTimeSelectHrCntr a, 56 | #ptTimeSelectCntr .ptTimeSelectMinCntr a { 57 | display: block; 58 | float: left; 59 | padding: .2em; 60 | width: 1.9em; 61 | margin: 1px; 62 | text-align: center; 63 | text-decoration: none; 64 | } 65 | #ptTimeSelectCntr .ptTimeSelectHrAmPmCntr a { 66 | text-align: center; 67 | margin: 1px; 68 | } 69 | #ptTimeSelectCntr .ptTimeSelectTimeLabelsCntr { 70 | font-weight: bold; 71 | font-size: .9em; 72 | } 73 | #ptTimeSelectCntr #ptTimeSelectSetButton { 74 | padding-top: .2em; 75 | padding-bottom: .2em; 76 | } 77 | #ptTimeSelectCntr #ptTimeSelectSetButton a { 78 | display: block; 79 | padding: .2em; 80 | width: 30%; 81 | text-align: center; 82 | float: right; 83 | } -------------------------------------------------------------------------------- /trainTicket.php: -------------------------------------------------------------------------------- 1 | 11 | 12 | 13 | 14 | 15 | 16 | Software Project One 17 | 18 | 19 | 29 | 30 | 31 |
32 | 36 | 44 |
45 |
46 |

Your Ticket Informations

47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 |
Ticket#:
Train#:
Your Name:
Your Gender:
Your Email:
Your Phone:
Vehicle Name:
Journey Date:
Time:
Route:
Your Seat:
Seat Category:
Fare:
Payment By:
106 |

Print Your Ticket

107 | 108 |
109 |

110 |
111 | 118 |
119 |

Copyright© 2013-2016 by Team 3'S

120 | Facebook Logo 121 | Twitter Logo 122 | GooglePlus Logo 123 |
124 |
125 | 126 | -------------------------------------------------------------------------------- /train_t_print.php: -------------------------------------------------------------------------------- 1 | AddPage(); 26 | 27 | $pdf->SetFont("Arial","B",10); 28 | $pdf->Cell(190,10,"Your Ticket Information || Flight Ticket",1,1,"C"); 29 | 30 | $pdf->Cell(95,10,"Ticket#: ",1,0,"C"); 31 | $pdf->Cell(95,10,$ticketNum,1,1,"C"); 32 | 33 | $pdf->Cell(95,10,"Train#: ",1,0,"C"); 34 | $pdf->Cell(95,10,$trainId,1,1,"C"); 35 | 36 | $pdf->Cell(95,10,"Name: ",1,0,"C"); 37 | $pdf->Cell(95,10,$getName,1,1,"C"); 38 | 39 | $pdf->Cell(95,10,"Gender: ",1,0,"C"); 40 | $pdf->Cell(95,10,$getGen,1,1,"C"); 41 | 42 | $pdf->Cell(95,10,"Email: ",1,0,"C"); 43 | $pdf->Cell(95,10,$getEmail,1,1,"C"); 44 | 45 | $pdf->Cell(95,10,"Phone: ",1,0,"C"); 46 | $pdf->Cell(95,10,$getPhn,1,1,"C"); 47 | 48 | $pdf->Cell(95,10,"Vehicle Name: ",1,0,"C"); 49 | $pdf->Cell(95,10,$getVehicle,1,1,"C"); 50 | 51 | $pdf->Cell(95,10,"Date-Of-Journey: ",1,0,"C"); 52 | $pdf->Cell(95,10,$getDOJ,1,1,"C"); 53 | 54 | $pdf->Cell(95,10,"Time: ",1,0,"C"); 55 | $pdf->Cell(95,10,$getTime,1,1,"C"); 56 | 57 | $pdf->Cell(95,10,"Route: ",1,0,"C"); 58 | $pdf->Cell(95,10,$getRoute,1,1,"C"); 59 | 60 | $pdf->Cell(95,10,"Seat Number: ",1,0,"C"); 61 | $pdf->Cell(95,10,$getSeats,1,1,"C"); 62 | 63 | $pdf->Cell(95,10,"Seat Category: ",1,0,"C"); 64 | $pdf->Cell(95,10,$getCategory,1,1,"C"); 65 | 66 | $pdf->Cell(95,10,"Total Fare: ",1,0,"C"); 67 | $pdf->Cell(95,10,$getFare,1,1,"C"); 68 | 69 | $pdf->Cell(95,10,"Payment Getway: ",1,0,"C"); 70 | $pdf->Cell(95,10,$getPaymethod,1,1,"C"); 71 | 72 | $pdf->Cell(190,10,$dateTime,0,0,"R"); 73 | $pdf->Output(); 74 | ?> -------------------------------------------------------------------------------- /userpanel/uinfo_update.php: -------------------------------------------------------------------------------- 1 | " . mysql_error($conn); 27 | } 28 | 29 | 30 | $sql1 = "UPDATE `user_info` SET `name`='$getName',`email`='$getEmail',`phone`='$getPhn',`address`='$getAdrs' WHERE user_id='$getUserID'"; 31 | if(!mysql_query($sql1)) 32 | { 33 | echo "Error in user_info: " . $sql1 . "
" . mysql_error($conn); 34 | } 35 | else 36 | { 37 | header('Location: user.php'); 38 | exit(); 39 | } 40 | } 41 | } 42 | ?> -------------------------------------------------------------------------------- /userpanel/userBusPersonalTicket.php: -------------------------------------------------------------------------------- 1 | AddPage(); 37 | 38 | $pdf->SetFont("Arial","B",10); 39 | $pdf->Cell(190,10,"Your Ticket Information || Flight Ticket",1,1,"C"); 40 | 41 | $pdf->Cell(95,10,"Ticket#: ",1,0,"C"); 42 | $pdf->Cell(95,10,$ticketNum,1,1,"C"); 43 | 44 | $pdf->Cell(95,10,"Bus#: ",1,0,"C"); 45 | $pdf->Cell(95,10,$busId,1,1,"C"); 46 | 47 | $pdf->Cell(95,10,"Name: ",1,0,"C"); 48 | $pdf->Cell(95,10,$getName,1,1,"C"); 49 | 50 | $pdf->Cell(95,10,"Gender: ",1,0,"C"); 51 | $pdf->Cell(95,10,$getGen,1,1,"C"); 52 | 53 | $pdf->Cell(95,10,"Email: ",1,0,"C"); 54 | $pdf->Cell(95,10,$getEmail,1,1,"C"); 55 | 56 | $pdf->Cell(95,10,"Phone: ",1,0,"C"); 57 | $pdf->Cell(95,10,$getPhn,1,1,"C"); 58 | 59 | $pdf->Cell(95,10,"Vehicle Name: ",1,0,"C"); 60 | $pdf->Cell(95,10,$getVehicle,1,1,"C"); 61 | 62 | $pdf->Cell(95,10,"Date-Of-Journey: ",1,0,"C"); 63 | $pdf->Cell(95,10,$getDOJ,1,1,"C"); 64 | 65 | $pdf->Cell(95,10,"Time: ",1,0,"C"); 66 | $pdf->Cell(95,10,$getTime,1,1,"C"); 67 | 68 | $pdf->Cell(95,10,"Route: ",1,0,"C"); 69 | $pdf->Cell(95,10,$getRoute,1,1,"C"); 70 | 71 | $pdf->Cell(95,10,"Seat Number: ",1,0,"C"); 72 | $pdf->Cell(95,10,$getSeats,1,1,"C"); 73 | 74 | $pdf->Cell(95,10,"Seat Category: ",1,0,"C"); 75 | $pdf->Cell(95,10,$getCategory,1,1,"C"); 76 | 77 | $pdf->Cell(95,10,"Total Fare: ",1,0,"C"); 78 | $pdf->Cell(95,10,$getFare,1,1,"C"); 79 | 80 | $pdf->Cell(95,10,"Payment Getway: ",1,0,"C"); 81 | $pdf->Cell(95,10,$getPaymethod,1,1,"C"); 82 | 83 | $pdf->Cell(190,10,$dateTime,0,0,"R"); 84 | $pdf->Output(); 85 | ?> -------------------------------------------------------------------------------- /userpanel/userBus_t_print.php: -------------------------------------------------------------------------------- 1 | AddPage(); 52 | 53 | $pdf->SetFont("Arial","B",10); 54 | $pdf->Cell(190,10,"Your Ticket Information || Flight Ticket",1,1,"C"); 55 | 56 | $pdf->Cell(95,10,"Ticket#: ",1,0,"C"); 57 | $pdf->Cell(95,10,$ticketID,1,1,"C"); 58 | 59 | $pdf->Cell(95,10,"Bus#: ",1,0,"C"); 60 | $pdf->Cell(95,10,$busId,1,1,"C"); 61 | 62 | $pdf->Cell(95,10,"Name: ",1,0,"C"); 63 | $pdf->Cell(95,10,$getName,1,1,"C"); 64 | 65 | $pdf->Cell(95,10,"Gender: ",1,0,"C"); 66 | $pdf->Cell(95,10,$getGen,1,1,"C"); 67 | 68 | $pdf->Cell(95,10,"Email: ",1,0,"C"); 69 | $pdf->Cell(95,10,$getEmail,1,1,"C"); 70 | 71 | $pdf->Cell(95,10,"Phone: ",1,0,"C"); 72 | $pdf->Cell(95,10,$getPhn,1,1,"C"); 73 | 74 | $pdf->Cell(95,10,"Vehicle Name: ",1,0,"C"); 75 | $pdf->Cell(95,10,$getVehicle,1,1,"C"); 76 | 77 | $pdf->Cell(95,10,"Date-Of-Journey: ",1,0,"C"); 78 | $pdf->Cell(95,10,$getDOJ,1,1,"C"); 79 | 80 | $pdf->Cell(95,10,"Time: ",1,0,"C"); 81 | $pdf->Cell(95,10,$getTime,1,1,"C"); 82 | 83 | $pdf->Cell(95,10,"Route: ",1,0,"C"); 84 | $pdf->Cell(95,10,$getRoute,1,1,"C"); 85 | 86 | $pdf->Cell(95,10,"Seat Number: ",1,0,"C"); 87 | $pdf->Cell(95,10,$getSeats,1,1,"C"); 88 | 89 | $pdf->Cell(95,10,"Seat Category: ",1,0,"C"); 90 | $pdf->Cell(95,10,$getCategory,1,1,"C"); 91 | 92 | $pdf->Cell(95,10,"Total Fare: ",1,0,"C"); 93 | $pdf->Cell(95,10,$getFare,1,1,"C"); 94 | 95 | $pdf->Cell(95,10,"Payment Getway: ",1,0,"C"); 96 | $pdf->Cell(95,10,$getPaymethod,1,1,"C"); 97 | 98 | $pdf->Cell(190,10,$dateTime,0,0,"R"); 99 | $pdf->Output(); 100 | ?> -------------------------------------------------------------------------------- /userpanel/userFlightPersonalTicket.php: -------------------------------------------------------------------------------- 1 | AddPage(); 37 | 38 | $pdf->SetFont("Arial","B",10); 39 | $pdf->Cell(190,10,"Your Ticket Information || Flight Ticket",1,1,"C"); 40 | 41 | $pdf->Cell(95,10,"Ticket#: ",1,0,"C"); 42 | $pdf->Cell(95,10,$ticketNum,1,1,"C"); 43 | 44 | $pdf->Cell(95,10,"Flight#: ",1,0,"C"); 45 | $pdf->Cell(95,10,$flightId,1,1,"C"); 46 | 47 | $pdf->Cell(95,10,"Name: ",1,0,"C"); 48 | $pdf->Cell(95,10,$getName,1,1,"C"); 49 | 50 | $pdf->Cell(95,10,"Gender: ",1,0,"C"); 51 | $pdf->Cell(95,10,$getGen,1,1,"C"); 52 | 53 | $pdf->Cell(95,10,"Email: ",1,0,"C"); 54 | $pdf->Cell(95,10,$getEmail,1,1,"C"); 55 | 56 | $pdf->Cell(95,10,"Phone: ",1,0,"C"); 57 | $pdf->Cell(95,10,$getPhn,1,1,"C"); 58 | 59 | $pdf->Cell(95,10,"Vehicle Name: ",1,0,"C"); 60 | $pdf->Cell(95,10,$getVehicle,1,1,"C"); 61 | 62 | $pdf->Cell(95,10,"Date-Of-Journey: ",1,0,"C"); 63 | $pdf->Cell(95,10,$getDOJ,1,1,"C"); 64 | 65 | $pdf->Cell(95,10,"Time: ",1,0,"C"); 66 | $pdf->Cell(95,10,$getTime,1,1,"C"); 67 | 68 | $pdf->Cell(95,10,"Route: ",1,0,"C"); 69 | $pdf->Cell(95,10,$getRoute,1,1,"C"); 70 | 71 | $pdf->Cell(95,10,"Seat Number: ",1,0,"C"); 72 | $pdf->Cell(95,10,$getSeats,1,1,"C"); 73 | 74 | $pdf->Cell(95,10,"Seat Category: ",1,0,"C"); 75 | $pdf->Cell(95,10,$getCategory,1,1,"C"); 76 | 77 | $pdf->Cell(95,10,"Total Fare: ",1,0,"C"); 78 | $pdf->Cell(95,10,$getFare,1,1,"C"); 79 | 80 | $pdf->Cell(95,10,"Payment Getway: ",1,0,"C"); 81 | $pdf->Cell(95,10,$getPaymethod,1,1,"C"); 82 | 83 | $pdf->Cell(190,10,$dateTime,0,0,"R"); 84 | $pdf->Output(); 85 | ?> -------------------------------------------------------------------------------- /userpanel/userFlight_t_print.php: -------------------------------------------------------------------------------- 1 | AddPage(); 52 | 53 | $pdf->SetFont("Arial","B",10); 54 | $pdf->Cell(190,10,"Your Ticket Information || Flight Ticket",1,1,"C"); 55 | 56 | $pdf->Cell(95,10,"Ticket#: ",1,0,"C"); 57 | $pdf->Cell(95,10,$ticketID,1,1,"C"); 58 | 59 | $pdf->Cell(95,10,"Flight#: ",1,0,"C"); 60 | $pdf->Cell(95,10,$flightId,1,1,"C"); 61 | 62 | $pdf->Cell(95,10,"Name: ",1,0,"C"); 63 | $pdf->Cell(95,10,$getName,1,1,"C"); 64 | 65 | $pdf->Cell(95,10,"Gender: ",1,0,"C"); 66 | $pdf->Cell(95,10,$getGen,1,1,"C"); 67 | 68 | $pdf->Cell(95,10,"Email: ",1,0,"C"); 69 | $pdf->Cell(95,10,$getEmail,1,1,"C"); 70 | 71 | $pdf->Cell(95,10,"Phone: ",1,0,"C"); 72 | $pdf->Cell(95,10,$getPhn,1,1,"C"); 73 | 74 | $pdf->Cell(95,10,"Vehicle Name: ",1,0,"C"); 75 | $pdf->Cell(95,10,$getVehicle,1,1,"C"); 76 | 77 | $pdf->Cell(95,10,"Date-Of-Journey: ",1,0,"C"); 78 | $pdf->Cell(95,10,$getDOJ,1,1,"C"); 79 | 80 | $pdf->Cell(95,10,"Time: ",1,0,"C"); 81 | $pdf->Cell(95,10,$getTime,1,1,"C"); 82 | 83 | $pdf->Cell(95,10,"Route: ",1,0,"C"); 84 | $pdf->Cell(95,10,$getRoute,1,1,"C"); 85 | 86 | $pdf->Cell(95,10,"Seat Number: ",1,0,"C"); 87 | $pdf->Cell(95,10,$getSeats,1,1,"C"); 88 | 89 | $pdf->Cell(95,10,"Seat Category: ",1,0,"C"); 90 | $pdf->Cell(95,10,$getCategory,1,1,"C"); 91 | 92 | $pdf->Cell(95,10,"Total Fare: ",1,0,"C"); 93 | $pdf->Cell(95,10,$getFare,1,1,"C"); 94 | 95 | $pdf->Cell(95,10,"Payment Getway: ",1,0,"C"); 96 | $pdf->Cell(95,10,$getPaymethod,1,1,"C"); 97 | 98 | $pdf->Cell(190,10,$dateTime,0,0,"R"); 99 | $pdf->Output(); 100 | ?> -------------------------------------------------------------------------------- /userpanel/userTrainPersonalTicket.php: -------------------------------------------------------------------------------- 1 | AddPage(); 37 | 38 | $pdf->SetFont("Arial","B",10); 39 | $pdf->Cell(190,10,"Your Ticket Information || Flight Ticket",1,1,"C"); 40 | 41 | $pdf->Cell(95,10,"Ticket#: ",1,0,"C"); 42 | $pdf->Cell(95,10,$ticketNum,1,1,"C"); 43 | 44 | $pdf->Cell(95,10,"Train#: ",1,0,"C"); 45 | $pdf->Cell(95,10,$trainId,1,1,"C"); 46 | 47 | $pdf->Cell(95,10,"Name: ",1,0,"C"); 48 | $pdf->Cell(95,10,$getName,1,1,"C"); 49 | 50 | $pdf->Cell(95,10,"Gender: ",1,0,"C"); 51 | $pdf->Cell(95,10,$getGen,1,1,"C"); 52 | 53 | $pdf->Cell(95,10,"Email: ",1,0,"C"); 54 | $pdf->Cell(95,10,$getEmail,1,1,"C"); 55 | 56 | $pdf->Cell(95,10,"Phone: ",1,0,"C"); 57 | $pdf->Cell(95,10,$getPhn,1,1,"C"); 58 | 59 | $pdf->Cell(95,10,"Vehicle Name: ",1,0,"C"); 60 | $pdf->Cell(95,10,$getVehicle,1,1,"C"); 61 | 62 | $pdf->Cell(95,10,"Date-Of-Journey: ",1,0,"C"); 63 | $pdf->Cell(95,10,$getDOJ,1,1,"C"); 64 | 65 | $pdf->Cell(95,10,"Time: ",1,0,"C"); 66 | $pdf->Cell(95,10,$getTime,1,1,"C"); 67 | 68 | $pdf->Cell(95,10,"Route: ",1,0,"C"); 69 | $pdf->Cell(95,10,$getRoute,1,1,"C"); 70 | 71 | $pdf->Cell(95,10,"Seat Number: ",1,0,"C"); 72 | $pdf->Cell(95,10,$getSeats,1,1,"C"); 73 | 74 | $pdf->Cell(95,10,"Seat Category: ",1,0,"C"); 75 | $pdf->Cell(95,10,$getCategory,1,1,"C"); 76 | 77 | $pdf->Cell(95,10,"Total Fare: ",1,0,"C"); 78 | $pdf->Cell(95,10,$getFare,1,1,"C"); 79 | 80 | $pdf->Cell(95,10,"Payment Getway: ",1,0,"C"); 81 | $pdf->Cell(95,10,$getPaymethod,1,1,"C"); 82 | 83 | $pdf->Cell(190,10,$dateTime,0,0,"R"); 84 | $pdf->Output(); 85 | ?> -------------------------------------------------------------------------------- /userpanel/userTrain_t_print.php: -------------------------------------------------------------------------------- 1 | AddPage(); 52 | 53 | $pdf->SetFont("Arial","B",10); 54 | $pdf->Cell(190,10,"Your Ticket Information || Flight Ticket",1,1,"C"); 55 | 56 | $pdf->Cell(95,10,"Ticket#: ",1,0,"C"); 57 | $pdf->Cell(95,10,$ticketID,1,1,"C"); 58 | 59 | $pdf->Cell(95,10,"Train#: ",1,0,"C"); 60 | $pdf->Cell(95,10,$trainId,1,1,"C"); 61 | 62 | $pdf->Cell(95,10,"Name: ",1,0,"C"); 63 | $pdf->Cell(95,10,$getName,1,1,"C"); 64 | 65 | $pdf->Cell(95,10,"Gender: ",1,0,"C"); 66 | $pdf->Cell(95,10,$getGen,1,1,"C"); 67 | 68 | $pdf->Cell(95,10,"Email: ",1,0,"C"); 69 | $pdf->Cell(95,10,$getEmail,1,1,"C"); 70 | 71 | $pdf->Cell(95,10,"Phone: ",1,0,"C"); 72 | $pdf->Cell(95,10,$getPhn,1,1,"C"); 73 | 74 | $pdf->Cell(95,10,"Vehicle Name: ",1,0,"C"); 75 | $pdf->Cell(95,10,$getVehicle,1,1,"C"); 76 | 77 | $pdf->Cell(95,10,"Date-Of-Journey: ",1,0,"C"); 78 | $pdf->Cell(95,10,$getDOJ,1,1,"C"); 79 | 80 | $pdf->Cell(95,10,"Time: ",1,0,"C"); 81 | $pdf->Cell(95,10,$getTime,1,1,"C"); 82 | 83 | $pdf->Cell(95,10,"Route: ",1,0,"C"); 84 | $pdf->Cell(95,10,$getRoute,1,1,"C"); 85 | 86 | $pdf->Cell(95,10,"Seat Number: ",1,0,"C"); 87 | $pdf->Cell(95,10,$getSeats,1,1,"C"); 88 | 89 | $pdf->Cell(95,10,"Seat Category: ",1,0,"C"); 90 | $pdf->Cell(95,10,$getCategory,1,1,"C"); 91 | 92 | $pdf->Cell(95,10,"Total Fare: ",1,0,"C"); 93 | $pdf->Cell(95,10,$getFare,1,1,"C"); 94 | 95 | $pdf->Cell(95,10,"Payment Getway: ",1,0,"C"); 96 | $pdf->Cell(95,10,$getPaymethod,1,1,"C"); 97 | 98 | $pdf->Cell(190,10,$dateTime,0,0,"R"); 99 | $pdf->Output(); 100 | ?> --------------------------------------------------------------------------------