$pdf->Cell(9.5, 5, Round($PUAN[$charilk . 'H' . $charson][2], 2), 0, 0, 'C'); $pdf->Cell(9.5, 5, Round($PUAN[$charilk . 'H' . $charson][3], 0) . '%', 0, 0, 'C'); } if (isset($_GET['sonuc'])) { $readerUTime = $_GET['readerUTime']; $pdf = new FPDF('L', 'mm', 'A4'); $tabanhesabi = null; AddPage($readerUTime); $pdf->SetXY(15, 120); $pdf->Cell(200, 5, "Genel baþarý seviyesi deðerlendirmesidir.", 0, 0, 'L'); $tabanhesabi = 0; AddPage($readerUTime); $pdf->SetXY(15, 120); $pdf->Cell(200, 5, "Sadece \" {$tabanhesabi} \" baþarý seviyesinden büyük olanlarýn deðerlendirmesidir.", 0, 0, 'L'); $tabanhesabi = 50; AddPage($readerUTime); $pdf->SetXY(15, 120); $pdf->Cell(200, 5, "Sadece \" {$tabanhesabi} \" baþarý seviyesinden büyük olanlarýn deðerlendirmesidir.", 0, 0, 'L'); $pdf->SetCompression(true); $pdf->Output(); } else { ?> <html> <head><title>OMR</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-9" /></head> <body> <form id="form1" name="form1" method="get" action=""> <table border="1" cellspacing="0" cellpadding="5"> <tr><td colspan="2">Rapor PDF Çiktisi</td></tr> <tr><td colspan="2">Optik Form Kayit Tarihi</td> </tr><tr><td><label for="readerUTime"></label>
if ($editUserMode || HasPermission('user.editpostlayout')) { $pltext = $pltype ? __('Post layout') : __('Signature'); AddPage('layout', $pltext); AddCategory('layout', 'postlayout', $pltext); if ($pltype) { AddField('layout', 'postlayout', 'postheader', __('Post header'), 'textarea', array('rows' => 16)); } AddField('layout', 'postlayout', 'signature', __('Signature'), 'textarea', array('rows' => 16)); AddField('layout', 'postlayout', 'signsep', __('Show signature separator'), 'checkbox', array('negative' => true)); // TODO make a per-user permission for this one? if ($pltype == 2) { AddField('layout', 'postlayout', 'fulllayout', __('Apply layout to whole post box'), 'checkbox'); } } // EDITPROFILE TAB -- THEME --------------------------------------------------- AddPage('theme', __('Theme')); AddCategory('theme', 'theme', __('Theme')); AddField('theme', 'theme', 'theme', '', 'themeselector'); //Allow plugins to add their own fields $bucket = "editprofile"; include BOARD_ROOT . "lib/pluginloader.php"; $_POST['actionsave'] = isset($_POST['actionsave']) ? $_POST['actionsave'] : ''; /* QUERY PART * ---------- */ $failed = false; if ($_POST['actionsave']) { // catch spamvertisers early if (time() - $user['regdate'] < 300 && preg_match('@^\\w+\\d+$@', $user['name'])) { $lolbio = strtolower($_POST['bio']); if ((substr($lolbio, 0, 7) == 'http://' || substr($lolbio, 0, 12) == '[url]http://' || substr($lolbio, 0, 12) == '[url=http://') && (substr($_POST['email'], 0, strlen($user['name'])) == $user['name'] || substr($user['name'], 0, 6) == 'iphone')) {
rapor_query($adi, $soyadi, $numarasi, $dersadi, $sinif, $sube, $readerUTime, $PUAN['D']); //rapor_query($adi,$soyadi,$numarasi,'M',$sinif,$sube,$readerUTime,$PUAN['M']); //rapor_query($adi,$soyadi,$numarasi,'F',$sinif,$sube,$readerUTime,$PUAN['F']); //rapor_query($adi,$soyadi,$numarasi,'S',$sinif,$sube,$readerUTime,$PUAN['S']); //rapor_query($adi,$soyadi,$numarasi,'D',$sinif,$sube,$readerUTime,$PUAN['D']); } if (isset($_GET['sonuc'])) { $cevapanahtariUTime = $_GET['cevapanahtariUTime']; $readerUTime = $_GET['readerUTime']; $pdf = new FPDF('L', 'mm', 'A5'); $result = mysql_query("SELECT o.`num` , o.`ad` , o.`soyad` , o.`sinif` , o.`sube` FROM `d_reader` r, `d_ogrenciler` o WHERE r.`num` = o.`num` AND r.`utime` = '" . $readerUTime . "' ORDER BY o.`sinif` , o.`sube` , o.`num` ASC"); if (!$result) { die('Invalid query: ' . mysql_error()); } while ($row = mysql_fetch_assoc($result)) { AddPage($row['ad'], $row['soyad'], $row['num'], $row['sinif'], $row['sube'], $cevapanahtariUTime, $readerUTime); } $pdf->SetCompression(true); $pdf->Output(); } else { ?> <html> <head><title>Optik Okuyucu</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /></head> <body> <?php include_once 'optikgorsel.php'; echo '</br></br>'; ?> <center><form id="form1" name="form1" method="get" action=""> <table border="1" cellspacing="0" cellpadding="5">
$satir = 24; $p = transform($satir - 1, $sutun - 1); $pdf->SetXY($p[0], $p[1] + 0.8); $pdf->Cell(10, 5, $i . ')', 0, 0, 'R'); $sutun++; } $pdf->AddFont('OMRBubblesLC', '', 'OMRBubblesLC.php'); $pdf->SetFont('OMRBubblesLC', '', 12); $sutun = $sutunlar; for ($i = 1; $i < 21; $i++) { $satir = 24; $p = transform($satir + 1, $sutun); $pdf->Text($p[0], $p[1], "A"); $p = transform($satir + 2, $sutun); $pdf->Text($p[0], $p[1], "B"); $p = transform($satir + 3, $sutun); $pdf->Text($p[0], $p[1], "C"); $p = transform($satir + 4, $sutun); $pdf->Text($p[0], $p[1], "D"); $sutun++; } } $pdf = new FPDF('P', 'mm', 'A5'); AddPage('', '', '', '', '', ''); $liste1 = explode("\n", $liste); for ($i = 0; $i < count($liste1); $i++) { $liste2 = explode("/", trim($liste1[$i])); AddPage($liste2[1], $liste2[2], $liste2[0], $liste2[3], $liste2[4], ''); } $pdf->SetCompression(true); $pdf->Output();