// echo tableHTML("", file_get_contents(EK_FOLDER.$basvuru_ek[$i]["BASVURU_EK_PATH"])); echo "<br />"; echo borderEnd(); } 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>';
//Madde 10 echo "<br>"; echo statikHTML("10. Meslek standardı hazırlama sürecine ilgili tarafların (meslekle ilgili kamu kurumları, işçi, işveren, meslek örgütleri, eğitim sağlayıcılar) dahil edilmesi ve danışma sürecine ilişkin plan ve yöntemler", $basvuru["DANISMA_ACIKLAMA"]); //STANDART KAPSAMI echo "<br>"; echo blockTitle("Meslek Standardı Hazırlama Kapsamı/Planı"); //Meslek Standartları $titles = array("11. Hazırlanması düşünülen meslek standartlarını lütfen belirtiniz", "Meslek", "Seviye", "Mesleğe ilişkin yasal düzenleme", "Mevcut meslek standardı çalışması", "Planlanan Meslek Standardı başlangıç tarihi", "Planlanan Meslek Standardı bitiş tarihi"); $tableIds = array("STANDART_ADI", "SEVIYE_ADI", "YASAL_DUZENLEME", "MEVCUT_CALISMA", "BASLANGIC_TARIHI", "BITIS_TARIHI"); echo tabloHTML($titles, $tableIds, $meslek); echo "<br>"; echo statikHTML("12. Bu mesleklere ilişkin mevcut durumu ve geleceğe yönelik eğilimleri gösteren piyasa çalışması var mıdır?", $basvuru["PIYASA_ACIKLAMA"]); echo statikHTML("13. Belirtilmek istenen diğer hususlar", $basvuru["DIGER_HUSUSLAR"]); if (count($personel) > 0) { echo "<br>"; echo blockTitle("EK 1. MESLEK STANDARDI HAZIRLAMA EKİBİNDE GÖREVLENDİRİLEN PERSONELE İLİŞKİN BİLGİ FORMU", "center"); for ($i = 0; $i < count($personel); $i++) { echo statikTabloHTML("1. Kişisel Bilgiler</strong>", null); echo statikTabloHTML("T.C. Kimlik No / Pasaport No", $personel[$i]["GOREVLI_PERSONEL_KIMLIK_NO"]); echo statikTabloHTML("Adı", $personel[$i]["GOREVLI_PERSONEL_ADI"]); echo statikTabloHTML("Soyadı", $personel[$i]["GOREVLI_PERSONEL_SOYAD"]); echo statikTabloHTML("Telefon", $personel[$i]["GOREVLI_PERSONEL_TELEFON"]); echo statikTabloHTML("Faks", $personel[$i]["GOREVLI_PERSONEL_FAKS"]); echo statikTabloHTML("E-Posta", $personel[$i]["GOREVLI_PERSONEL_EPOSTA"]); echo statikTabloHTML("Öğrenim Durumu", $personel[$i]["GOREVLI_PERSONEL_OGRENIM"]); echo statikTabloHTML("Mesleği", $personel[$i]["GOREVLI_PERSONEL_MESLEK"]); echo statikTabloHTML("Görevi", $personel[$i]["GOREVLI_PERSONEL_UZMANLIK"]); echo "<br />"; $titles = array("2. Öğrenim", "Başlangıç Tarihi", "Bitiş Tarihi", "Eğitim Kurumu/Bölüm Adı"); $tableIds = array("EGITIM_BASLANGIC", "EGITIM_BITIS", "EGITIM_YERI"); $egitimA = getPersonelArr($egitim, $tableIds);
echo "<br />"; echo '</div>'; echo '<div id="tanitim4">'; echo statikHTML("2.4. Meslek ile İlgili Diğer Mevzuat", $meslekTanitim["MESLEK_MEVZUAT"]); echo "<br />"; echo '</div>'; echo '<div id="tanitim5">'; echo statikHTML("2.5. Çalışma Ortamı ve Koşulları", $meslekTanitim["MESLEK_CALISMA_KOSUL"]); echo "<br />"; echo '</div>'; echo '<div id="tanitim6">'; echo statikHTML("2.6. Mesleğe İlişkin Diğer Gereklilikler", $meslekTanitim["MESLEK_GEREKLILIK"]); echo "</div>"; //MESLEK PROFILI echo '<div id="profil_tablo">'; echo blockTitle("3. MESLEK PROFİLİ"); echo "</div>"; //Basarim Olcut echo statikHTML("3.1. Görevler, İşlemler ve Başarım Ölçütleri", null); echo gibTabloHTML($profil); echo "<br />"; //Ekipman echo '<div id="ekipman">'; echo statikHTML("3.2. Kullanılan Araç, Gereç ve Ekipman", null); if ($ekipman != null) { $i = 1; foreach ($ekipman as $row) { echo statikTabloLightHTML(" " . $i++ . ". ", $row["EKIPMAN_ADI"]); } } echo "</div>";
//Tutum/Davranış echo '<div id="tutumDavranis">'; echo statikHTML2("3.4. Tutum ve Davranışlar", null); if ($tutumDavranis != null) { $i = 1; echo "<ol>"; foreach ($tutumDavranis as $row) { echo statikTabloLightHTML("<li value=" . $i++ . " style='padding-left:20px;'>", $row["TUTUM_DAVRANIS_ADI"]); } } echo "</ol></div>"; echo '<div id="tutumDavranis_son">'; echo "</div>"; if (isset($gorevAlan[0]) || isset($gorevAlan[1]) || isset($gorevAlan[2]) || isset($gorevAlan[3]) || isset($yonetimKurulu) || isset($gorevAlan[5])) { echo '<div id="gorev_alan">'; echo blockTitle("<u>Ek:</u> Meslek Standardı Hazırlama Sürecinde Görev Alanlar"); echo statikHTML("1. Meslek Standardı Hazırlayan Kuruluşun Meslek Standardı Ekibi", null); if (isset($gorevAlan) && $gorevAlan[0] != null) { foreach ($gorevAlan[0] as $row) { $gorevalanunvan = ""; $gorevalankurulus = ""; $gorevalanunvan = $row["GOREV_ALAN_UNVAN"] != "" ? " - " . $row["GOREV_ALAN_UNVAN"] : ""; $gorevalankurulus = $row["GOREV_ALAN_KURULUS"] != "" ? ", " . $row["GOREV_ALAN_KURULUS"] : ""; echo statikTabloLightHTML($row["GOREV_ALAN_AD_SOYAD"], $gorevalankurulus . $gorevalanunvan); } } echo statikHTML("2. Teknik Çalışma Grubu Üyeleri", null); if (isset($gorevAlan) && $gorevAlan[1] != null) { foreach ($gorevAlan[1] as $row) { $gorevalanunvan = ""; $gorevalankurulus = "";
function tabloHTML($paramTitles, $paramIds, $params, $block = 1, $diger = "") { $colCount = count($paramTitles) - 1; if ($block) { $html = blockTitle($paramTitles[0]); } else { $html = '<div style = "height:auto; padding:5px;"> <span style = "font-size:14px; width:35%; padding-left: 2px;"><strong>' . $paramTitles[0] . ':</strong></span> </div>'; } $title = "<tr>"; for ($i = 1; $i < count($paramTitles); $i++) { $title .= '<td style="background-color:#EEEEEE; color:#000000;"><strong>' . $paramTitles[$i] . '</strong></td>'; } $title .= "</tr>"; $htmlPart = ""; for ($i = 0; $i < count($params); $i++) { $data = $params[$i]; $part = "<tr>"; for ($j = 0; $j < count($paramIds); $j++) { if ($paramIds[$j] == "TUR") { if ($data[$paramIds[$j]] == 1) { $icerik = "Lise"; } if ($data[$paramIds[$j]] == 2) { $icerik = "Ön Lisans"; } if ($data[$paramIds[$j]] == 3) { $icerik = "Lisans"; } if ($data[$paramIds[$j]] == 4) { $icerik = "Yüksek Lisans"; } if ($data[$paramIds[$j]] == 5) { $icerik = "Doktora"; } if ($data[$paramIds[$j]] == 9) { $icerik = "Diğer"; } } else { if ($paramIds[$j] == "PATH") { if ($data[$paramIds[$j]] != "") { if ($sektorSorumlusuMu) { $dsy = explode("/", $data[$paramIds[$j]]); $parcasayisi = count($dsy); $icerik = "/belge/" . $dsy[$parcasayisi - 2] . "/" . $dsy[$parcasayisi - 1]; } else { $icerik = "Eklendi"; } } else { $icerik = "Eklenmedi"; } } else { if ($paramIds[$j] == "TIP") { foreach ($diger as $satir2) { if ($data[$paramIds[$j]] == $satir2[DENEYIM_NO]) { $icerik = $satir2[DENEYIM_ADI]; } } } else { $icerik = $data[$paramIds[$j]]; } } } $part .= '<td style="padding-top: 5px; padding-bottom: 5px; border-bottom-width:thin; border-style:none none dotted;">' . $icerik . '</td>'; } $part .= "</tr>"; $htmlPart .= $part; } $html .= '<div style="height:auto;padding: 10px 15px;"> <table border="1" style="width:100%; text-align:center;"> <tbody>' . $title . $htmlPart . '</tbody> </table> </div>'; return $html; }
function tabloHTML($paramTitles, $paramIds, $params, $block = 1) { $colCount = count($paramTitles) - 1; if ($block) { $html = blockTitle($paramTitles[0]); } else { $html = '<div style = "height:auto; padding:5px;"> <span style = "font-size:14px; width:35%; padding-left: 2px;"><strong>' . $paramTitles[0] . ':</strong></span> </div>'; } $title = "<tr>"; for ($i = 1; $i < count($paramTitles); $i++) { $title .= '<td style="background-color:#EEEEEE; color:#000000;"><strong>' . $paramTitles[$i] . '</strong></td>'; } $title .= "</tr>"; $htmlPart = ""; for ($i = 0; $i < count($params); $i++) { $data = $params[$i]; $part = "<tr>"; for ($j = 0; $j < count($paramIds); $j++) { $part .= '<td style="padding-top: 5px; padding-bottom: 5px; border-bottom-width:thin; border-style:none none dotted;">' . $data[$paramIds[$j]] . '</td>'; } $part .= "</tr>"; $htmlPart .= $part; } $html .= '<div style="height:auto;padding: 10px 15px;"> <table border="1" style="width:100%; text-align:center;"> <tbody>' . $title . $htmlPart . '</tbody> </table> </div>'; return $html; }
echo '<div id="ek1">'; echo blockTitle("EK1 : Terimler, Simgeler ve Kısaltmalar", "center"); if ($taslakYeterlilik["TERIM_ACIKLAMA"]) { echo "<br />" . nl2br($taslakYeterlilik["TERIM_ACIKLAMA"]) . "<br />"; } if ($terim != null) { foreach ($terim as $row) { echo statikTabloHTML($row["TERIM_ADI"] . ": ", $row["TERIM_ACIKLAMA"]); echo "<br />"; } } echo "ifade eder."; echo '</div>'; //EK 2 echo '<div id="ek2">'; echo blockTitle("EK 2 : Yeterliliği Oluşturan Yeterlilik Birimlerine İlişkin Tablo", "center"); if ($birim_bilgi != null) { $newBirimBilgi = convertBirimBeceriYetkinlik2DArray($birim_bilgi); $newBirimBeceri = convertBirimBeceriYetkinlik2DArray($birim_beceri); $newBirimYetkinlik = convertBirimBeceriYetkinlik2DArray($birim_yetkinlik); $table = ""; $tablePart = ""; $tableNoRow = ""; $tableAdRow = ""; $tableSeviyeRow = ""; $tableKrediRow = ""; $tableOgrenmeRow = ""; $tableBilgiRow = ""; $tableBeceriRow = ""; $tableYetRow = ""; $colCount = 3;
$kurulus = $this->kurulus; $iller = $this->iller; $irtibat = $this->irtibat; $sektor = $this->sektor; $faaliyet = $this->faaliyet; $basvuru = $this->basvuru; $akreditasyon = $this->akreditasyon; $birlikteKurulus = $this->birlikteKurulus; $yeterlilik = $this->yeterlilik; $personel = $this->personel; $egitim = $this->egitim; $sertifika = $this->sertifika; $isDeneyim = $this->isDeneyim; $dil = $this->dil; echo "<div id=\"ek\">"; echo blockTitle("EK 1. ULUSAL YETERLİLİK GELİŞTİRME EKİBİNDE GÖREVLENDİRİLEN PERSONELE İLİŞKİN BİLGİ FORMU", "center", 0); for ($i = 0; $i < count($personel); $i++) { echo "<div id=\"personel_" . $i . "\">"; echo tableHTML("<strong>1. Kişisel Bilgiler</strong>", null, $titleWidth); echo "<br />"; echo borderBegin(); echo tableHTML("<strong>T.C. Kimlik No /<br /> Pasaport No:</strong>", $personel[$i]["GOREVLI_PERSONEL_KIMLIK_NO"]); echo tableHTML("<strong>Adı:</strong>", $personel[$i]["GOREVLI_PERSONEL_ADI"]); echo tableHTML("<strong>Soyadı:</strong>", $personel[$i]["GOREVLI_PERSONEL_SOYAD"]); echo tableHTML("<strong>Telefon:</strong>", $personel[$i]["GOREVLI_PERSONEL_TELEFON"]); echo tableHTML("<strong>Faks:</strong>", $personel[$i]["GOREVLI_PERSONEL_FAKS"]); echo tableHTML("<strong>E-Posta:</strong>", $personel[$i]["GOREVLI_PERSONEL_EPOSTA"]); echo tableHTML("<strong>Öğrenim Durumu:</strong>", $personel[$i]["GOREVLI_PERSONEL_OGRENIM"]); echo tableHTML("<strong>Mesleği:</strong>", $personel[$i]["GOREVLI_PERSONEL_MESLEK"]); echo tableHTML("<strong>Uzmanlık alanı:</strong>", $personel[$i]["GOREVLI_PERSONEL_UZMANLIK"]); echo "<br />";
echo statikTabloHTML($i + 1 . ". ", $gorus_kurulus[$i]["YETERLILIK_KURULUS_ADI"]); echo ""; } echo "<br />"; echo baslikHTML("EK9"); //EK9 echo blockTitle("YETERLİLİK SINAVINA GİRİŞ ŞARTLARI ve BELGE GEÇERLİLİK SÜRESİNE İLİŞKİN AÇIKLAMA"); echo statikHTML("", $taslakYeterlilik["YETERLILIK_EK_ACIKLAMA"]); echo "<br /><br />"; echo baslikHTML("BIRIMLER") . '<br><br>'; //BIRIMLER $eklenmisBirim = $this->eklenmisBirim; for ($i = 0; $i < count($eklenmisBirim); $i++) { //// SULEYMAN ABI JAVASCRIPT SULEYMAN ABI JAVASCRIPT SULEYMAN ABI JAVASCRIPT $birimID = $eklenmisBirim[$i]["BIRIM_ID"]; echo blockTitle($eklenmisBirim[$i]["BIRIM_KOD"] . '-' . $eklenmisBirim[$i]["BIRIM_ADI"]); // SULEYMAN ABI JAVASCRIPT BITTI //BIRIM POPUPLARI $totalBaglamCount = 0; $birimID = $eklenmisBirim[$i]["BIRIM_ID"]; $birimAdi = $eklenmisBirim[$i]["BIRIM_ADI"]; $popupStyle = ' style="border: 1px solid #00A7DE; padding: 10px; width:100%; background-color: white; " '; echo '<div id="biriminDetaylariPopupDiv-' . $birimID . '" ' . $popupStyle . '>'; echo '<div style="height:500px; overflow:auto;">'; echo '<table id="birimDetayiIlkTable-' . $birimID . '" border="1" style="width:100%; float:left;"><tbody> <tr> <td class="blueBackgrounded" style="width:30px">1</td> <td class="blueBackgrounded">YETERLİLİK BİRİMİ ADI</td> <td>' . $eklenmisBirim[$i]["BIRIM_ADI"] . '</td> </tr> <tr>
echo "<br />"; if ($kurulusCount > 0) { echo borderEnd(); } echo "<br />"; echo tableHTML("<strong>11. Eğitim akreditasyonu çalışmaları için tahsis edilen kaynaklar, teknik ve fiziki altyapı imkânları:</strong>", null, $titleWidth, 0); echo "<br />"; echo borderBegin(); echo divHTML($basvuru["TEKNIK_FIZIKI_ACIKLAMA"]); echo "<br />"; echo borderEnd(); echo "<br />"; echo "<br />"; echo "</div>"; echo "<div id=\"ek\">"; echo blockTitle("EK 1. PERSONELE İLİŞKİN BİLGİ FORMU", "center", 0); for ($i = 0; $i < count($personel); $i++) { echo "<div id=\"personel_" . $i . "\">"; echo tableHTML("<strong>1. Kişisel Bilgiler</strong>", null, $titleWidth); echo "<br />"; echo borderBegin(); echo tableHTML("<strong>T.C. Kimlik No /<br /> Pasaport No:</strong>", $personel[$i]["GOREVLI_PERSONEL_KIMLIK_NO"]); echo tableHTML("<strong>Adı:</strong>", $personel[$i]["GOREVLI_PERSONEL_ADI"]); echo tableHTML("<strong>Soyadı:</strong>", $personel[$i]["GOREVLI_PERSONEL_SOYAD"]); echo tableHTML("<strong>Telefon:</strong>", $personel[$i]["GOREVLI_PERSONEL_TELEFON"]); echo tableHTML("<strong>Faks:</strong>", $personel[$i]["GOREVLI_PERSONEL_FAKS"]); echo tableHTML("<strong>E-Posta:</strong>", $personel[$i]["GOREVLI_PERSONEL_EPOSTA"]); echo tableHTML("<strong>Öğrenim Durumu:</strong>", $personel[$i]["GOREVLI_PERSONEL_OGRENIM"]); echo tableHTML("<strong>Mesleği:</strong>", $personel[$i]["GOREVLI_PERSONEL_MESLEK"]); echo tableHTML("<strong>Görevi:</strong>", $personel[$i]["GOREVLI_PERSONEL_UZMANLIK"]); echo "<br />";
echo tabloNoBorder(array('<strong>İMZA: </strong>', '<strong>İMZA: </strong>')); // echo borderEnd (); echo '</td></tr>'; //********************* GERÇEKLEŞTİRİLECEK DÜZELTİCİ FAALİYET *******************************************// echo '<tr nobr="true"><td>'; // echo borderBegin (); echo blockTitle("GERÇEKLEŞTİRİLECEK DÜZELTİCİ FAALİYET"); echo tableHTML($gerceklestirilecekDuzelticiFaaliyetText, '', '100'); echo tabloNoBorder(array('<strong>TAMAMLANMA SÜRESİ: </strong>' . $tamamlanmaSuresiText, '<strong>KURULUŞ TEMSİLCİSİ İMZASI</strong>')); echo tableHTML("<strong>TARİH: </strong>", $duzelticiFaaliyetTarihText, 8); // echo borderEnd (); echo '</td></tr>'; //********************* DÜZELTİCİ FAALİYET SONUCU *******************************************// echo '<tr nobr="true"><td>'; // echo borderBegin (); echo blockTitle("DÜZELTİCİ FAALİYET SONUCU"); echo tableHTML($duzelticiFaaliyetSonucuText, '', '100'); echo tableHTML("<strong>AÇIKLAMA:</strong>"); echo tableHTML($dfSonucAciklamaText); echo tabloNoBorder(array('<strong>BAŞ DENETÇİ: </strong>' . $denetimBasDenetcisiText, '<strong>İMZA:</strong>', '<strong>TARİH: </strong>' . $duzelticiFaaliyetSonucTarih), array(40, 30, 30)); // echo borderEnd (); echo '</td></tr>'; // echo '</tbody> </table> </div>'; // echo '</div>'; //*************************** FUNCTIONS *************************************************************// function tableHTML($title, $data, $width = 30, $tab = 1) { $table = '<table cellpadding="' . $tablePadding . '">