예제 #1
0
파일: pdf.php 프로젝트: kaantunc/MYK-BOR
    }
    echo "</div>";
    $flag = 1;
    //
}
//
if (!empty($basvuru["ORGANIZASYON_SEMASI"]) && file_exists($basvuru["ORGANIZASYON_SEMASI"])) {
    echo '<br pagebreak="true" />';
    echo "<div id=\"ek3\">";
    if ($flag) {
        echo blockTitle("EK 3.  ORGANİZASYON ŞEMASI", "center", 0);
    } else {
        echo blockTitle("EK 2.  ORGANİZASYON ŞEMASI", "center", 0);
    }
    echo borderBegin();
    echo tableHTML2("Organizasyon Şeması", $basvuru["ORGANIZASYON_SEMASI"]);
    echo borderEnd();
    echo "</div>";
}
//
function tableHTML($title, $data, $width = 120, $tab = 1)
{
    $table = '<table nobr="true" cellpadding="' . $tablePadding . '">
					<tr >
						<td width="' . $width . '">' . $title . '</td>
						<td >' . $data . '</td>
				  	</tr>
			  	</table>';
    if ($tab) {
        return "<dt> </dt><dd>" . $table . "</dd>";
    } else {
예제 #2
0
파일: pdf.php 프로젝트: kaantunc/MYK-BOR
        }
    }
    return $ekle;
    return FALSE;
}
function turkce_sirala($a, $b)
{
    $turkce = array('ç' => 'c', 'ğ' => 'g', 'ı' => 'i', 'ö' => 'o', 'ş' => 's', 'ü' => 'u', 'Ç' => 'C', 'Ğ' => 'G', 'İ' => 'I', 'Ö' => 'O', 'Ş' => 'S', 'Ü' => 'U');
    $a = preg_replace("/(ı|ğ|ü|ş|ö|ç|Ğ|Ü|Ş|İ|Ö|Ç)/e", "\$turkce['\\1'].'~'", $a);
    $b = preg_replace("/(ı|ğ|ü|ş|ö|ç|Ğ|Ü|Ş|İ|Ö|Ç)/e", "\$turkce['\\1'].'~'", $b);
    if ($a == $b) {
        return 0;
    }
    return $a < $b ? -1 : 1;
}
echo tableHTML2("null", $kur_log, $kurum_log);
echo '<br/>';
echo '<div style="font-family: Bookman Old Style; font-size: 26; text-align:center; color:gray;" >
	<strong>MESLEKİ YETERLİLİK BELGESİ</strong>
</div>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>';
echo '<div style="font-family: Calibri; font-size: 24; text-align:center;">
	<strong>' . $ogrenci . '</strong>
</div>
<br/>