-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdoc.php
More file actions
126 lines (85 loc) · 5.19 KB
/
Copy pathdoc.php
File metadata and controls
126 lines (85 loc) · 5.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
<?php session_start(); ?>
<?php
require_once('library/mpdf.php');
$mpdf = new mPDF();
///include("library/mpdf.php");
require_once('queries.php');
$mpdf=new mPDF('c','Letter','','' , 0 , 0 , 0 , 0 , 0 , 0);
$mpdf->SetDisplayMode('fullpage');
$mpdf->list_indent_first_level = 1;
$stylesheet = file_get_contents('css/pdfLayout.css');
ob_end_clean();
$mpdf->WriteHTML($stylesheet,1);
$html='<body> <div class="container" >
<div class="row-fluid " >
<img src="img/mmust.jpg" style="padding-left:39%" alt="" class="logo" width="120" height="100"/>
<h3 style="padding-top:0px">Masinde Muliro University of Science and Technology </h3>
<h4 style="padding-left:24%;">Office of the Registrar, Academic Affairs</h4>
</div> <div class="row-fluid" style="padding-left:10%; padding-right:-5%;">
<div class="span6 pull-left" style="text-align:left;margin-top:-15px;"> Tel. No. 0702-597360/1 <br/>
0733-120020/22
<br/>
Ext. 2101 <br/>
Email: <u> registrar.aa@mmust.ac.ke</u><br/>
Website: <u>www.mmust.ac.ke</u><br/>
</div>
<div class="span6 " style="text-align:left; padding-left:74%; margin-top:-100px; ">P.O Box 190 <br/>
Kakamega-50100 <br/>
Kenya<br/>
</div>
</div>
<div class=" row-fluid1" style="padding-left:10%; padding-right:-5%;">
<hr/>
</div>
<div class="row-fluid" style="padding-left:10%; padding-right:-5%;">
<div class="span6 pull-left" style="text-align:left;">
20th July, 2015 <br/>
'
. $fullname.', <br/>
'. $box.', <br/>
'.$city.'.<br/>
<br/>
Dear ' .$fullname
.'.
</div>
<div class="span6 " style="text-align:left; padding-left:64%; margin-top:-120px;">
MMU/COR:504029 <br/>
UNIVERSITY REGNO:<strong> '. $_SESSION['id'].' </strong> <br/>
</div>
</div>
<div class="row-fluid " style="padding-left:10%; padding-right:-5%;">
<h5><u>RE: ADMISSION INTO THE UNIVERSITY '.$academic .' ACADEMIC YEAR </u></h5>
</div>
<div class="row-fluid " style="padding-left:10%; padding-right:-5%;">
Following your application for admission into the University, I am pleased to offer you a place in the <strong> '. $facultyName.' ,</strong> for the programme leading to a
<strong> '.$programName.' </strong> which commences on <strong> '.$newDate .'</strong>.
<p> This offer is made on the basis of the statement of your qualifications as presented by the Kenya National Examination Council . To verify the authenticity of these qualifications, we advise you to present the following documents to the <strong>Dean School/Faculty of '. $facultyName.'</strong>
at Kakamega Main Campus <strong> on the opening date:</strong> <br/>
<p >- Original KCSE Results Slip or Certificate and a photocopy And
original National ID (or Birth Certificate) and a photocopy.</p>
Enclosed please find the Admission Student’ Handbook and Forms MMU/2, MMU/3 and MMU/5. The forms should be completed and submitted together with your original certificates during verification. Form MMU/5 should be submitted at the Health Desk during registration.
<br/>
The Admission Students Handbook must be thoroughly read, comprehended and kept for future reference.
<br/>
Kenyan students who are unable to raise fees are advised to apply for a loan from the <strong> Higher Education Loans Board (HELB).
Instructions on applying for the HELB loan can be obtained on the HELB website <u> www.helb.co.ke (HELB Products). </u> </strong>.
<br/>
<br/>
Enclosed also find instructions on payment of fees at any Branch of Equity Bank using the following account number. NOTE: <strong> Tuition/Administration/Other Fees </strong> should be <strong><u>paid separately</u></strong> from <strong>Accommodation Fees </strong> but to the same account indicated :
<strong>- KCB A/C No. 11081269</strong> <br/>
Please note that <strong>NO</strong> student shall be registered in the University without paying fees.<br/>
I take this opportunity to congratulate you for having been admitted in this University and I look forward to welcoming you when the new Semester begins. <br/>
Yours sincerely, <br/> <br/>
<strong>Dr. C. K. Onyancha
<br/>
Ag. Registrar (Academic Affairs)
<br/>
Encls.
</strong>
</p>
</div> </div> </body>
</html>';
$mpdf->WriteHTML($html,2);
$mpdf->Output('admission.pdf','I');
exit;
?>