" size="32" /> <a href="mail.php?to=<?php echo $row_eoUsers['id']; ?> " title="mail" target="_blank"><img src="img/email.png" border="0" style="vertical-align: middle;"/></a> | <a href="mailto:<?php echo $row_eoUsers['userEmail']; ?> ?Subject=eOgr" title="mail" target="_blank"><img src="img/email.png" border="0" style="vertical-align: middle;"/></a></td> </tr> <tr valign="baseline"> <td align="right" nowrap="nowrap"><label for="userBirthDate"> <?php echo $metin[21]; ?> :</label></td> <td bgcolor="#CCFFFF"><input type="text" name="userBirthDate" id="userBirthDate" value="<?php echo tarihOku($row_eoUsers['userBirthDate']); ?> " size="32" /></td> </tr> <tr valign="baseline"> <td align="right" nowrap="nowrap"><label for="userType"> <?php echo $metin[22]; ?> :</label></td> <td bgcolor="#CCFFFF"><select name="userType" id="userType"> <option value="" <?php if (!strcmp("", GetSQLValueStringNo($row_eoUsers['userType'], "text"))) { echo "selected=\"selected\""; } ?> > <?php
function anaMetniOku($konuID) { global $yol1; global $metin; $sonuc = ""; if (empty($konuID)) { return "<font id='uyari'>{$metin['176']}</font>"; } $sql1 = "select eo_5sayfa.id,eo_5sayfa.anaMetin as ana ,eo_5sayfa.cevap as cevap, eo_5sayfa.eklenmeTarihi as tarih,eo_users.userName as user, \r\n\t\t\t\t\teo_4konu.konuAdi as konuAdi,eo_4konu.konuyuKilitle as konuyuKilitle, \r\n\t\t\t\t\teo_4konu.oncekiKonuID as oncekiKonuID, eo_4konu.calismaHakSayisi as calismaHakSayisi, \r\n\t\t\t\t\teo_4konu.sinifaDahilKullaniciGorebilir as sinifaDahilKullaniciGorebilir, \r\n\t\t\t\t\teo_4konu.bitisTarihi as bitisTarihi, eo_4konu.sadeceKayitlilarGorebilir as skg \r\n\t\t\t\t\tfrom eo_5sayfa, eo_users, eo_4konu where eo_5sayfa.konuID='{$konuID}' and \r\n\t\t\t\t\t(eo_users.id=eo_5sayfa.ekleyenID) and (eo_4konu.id=eo_5sayfa.konuID) and (eo_5sayfa.cevap='')\r\n\t\t\t\t\torder by eo_5sayfa.sayfaSirasi"; // cevap boþ ise SORU deðildir, öyleyse ekrana listelenebilir $result1 = mysql_query($sql1, $yol1); if ($result1) { $kayitSayisi = @mysql_numrows($result1); $sonuc = ""; while ($row = mysql_fetch_array($result1, MYSQL_ASSOC)) { $tarih = tarihOku($row["tarih"]); $user = $row["user"]; $konuAdi = $row["konuAdi"]; $konuyuKilitle = $row["konuyuKilitle"]; $bitisTarihi = $row["bitisTarihi"]; $sKayitlilarG = $row["skg"]; $calismaHakS = $row["calismaHakSayisi"]; $sinifOgreK = $row["sinifaDahilKullaniciGorebilir"]; $oncekiKonuID = $row["oncekiKonuID"]; if ($bitisTarihi != "0000-00-00") { $gunFarki = getDayCount(date("Y-n-j"), $bitisTarihi); } else { $gunFarki = 1; } $adi = temizle(substr(isset($_SESSION["usern"]) ? $_SESSION["usern"] : "", 0, 15)); $par = temizle(isset($_SESSION["userp"]) ? $_SESSION["userp"] : ""); $tur = checkRealUser($adi, $par); if ($kayitSayisi > 0) { if ($sKayitlilarG == "1" && !in_array($tur, array("1", "2", "0"))) { return "<font id='hata'>'{$konuAdi}' " . $metin[181] . "<br/><a href='newUser.php'>{$metin['3']}!</a></font><hr noshade='noshade'/>"; } if ($sKayitlilarG == "1" && in_array($tur, array("1", "2", "0"))) { if (kullaniciHakSayisi($konuID, $adi, $par) >= $calismaHakS && $calismaHakS > 0) { return "<font id='hata'>'{$konuAdi}', " . $metin[208] . "</font><hr noshade='noshade'/>"; } } if ($sKayitlilarG == "1" && $tur == "0") { if (ogrenciSinifaDahil($adi, $par, $konuID) == 0 && $sinifOgreK == 1) { return "<font id='hata'>'{$konuAdi}', " . $metin[214] . "</font>"; } } if ($konuyuKilitle == "1") { return "<font id='hata'>'{$konuAdi}' " . $metin[179] . "</font><hr noshade='noshade'/>"; } if ($gunFarki <= 0) { return "<font id='hata'>'{$konuAdi}' " . $metin[180] . "</font><hr noshade='noshade'/>"; } $sonuc .= "<font size='-1' style='font-style:italic;'>{$user} {$konuAdi} {$tarih}</font><br/>"; $sonuc .= html_entity_decode($row["ana"]) . "<hr noshade='noshade'/>"; } else { return "<font id='hata'>" . $metin[182] . "</font><hr noshade='noshade'/>"; } } //while return $sonuc; } else { return "<font id='hata'>" . $metin[183] . "</font>"; } return "<font id='hata'>" . $metin[184] . "</font>"; }
<?php if (!strcmp(1, GetSQLValueStringNo($row_eoUsers[6], "text"))) { echo "<img src=\"img/ogrt_user.png\" border=\"0\" style=\"vertical-align: middle;\" alt=\"ogretmen\"/> " . $metin[95]; } ?> <?php if (!strcmp(2, GetSQLValueStringNo($row_eoUsers[6], "text"))) { echo "<img src=\"img/admin_user.png\" border=\"0\" style=\"vertical-align: middle;\" alt=\"admin\"/> " . $metin[96]; } ?> <br /> <?php echo $metin[23]; ?> : <?php echo tarihOku(GetSQLValueStringNo($row_eoUsers[7], "text")); ?> <br /> <br /> <label for="realName"> <?php echo $metin[38]; ?> :</label> <div style="width:500px;"> <input name="realName" id="realName" type="text" value="<?php echo GetSQLValueStringNo($row_eoUsers[3], "text"); ?> " size="32" maxlength="50" style="width:150px" class="required" /> </div> <label for="userEmail"> <?php echo $metin[20];
" rel="facebox"><?php echo kullAdi($row_eoUsers['davetEdilenID']); ?> </a></td> <td nowrap="nowrap" align="right" <?php echo "style=\"background-color: {$row_color};\""; ?> ><?php echo tarihOku($row_eoUsers['davetTarihi']); ?> </td> <td nowrap="nowrap" align="right" <?php echo "style=\"background-color: {$row_color};\""; ?> ><?php echo tarihOku($row_eoUsers['kabulTarihi']); ?> </td> <td align="center" <?php echo "style=\"background-color: {$row_color};\""; ?> ><?php echo arkadasKabulDurumu($row_eoUsers['kabul']); ?> </td> <td <?php echo "style=\"background-color: {$row_color};\""; ?> title="<?php echo $row_eoUsers['duvarYazisi']; ?>
?> </option> <?php } $i++; } ?> </select></td> </tr> <tr> <td align="right" nowrap="nowrap"><label for="bitisTarihi"><?php echo $metin[381]; ?> : </label></td> <td ><input name="bitisTarihi" type="text" id="bitisTarihi" size="32" maxlength="50" value="<?php echo mysql_result($result2, 0, "bitisTarihi") == "0000-00-00" ? "" : tarihOku(mysql_result($result2, 0, "bitisTarihi")); ?> " /> <br /> <tt><?php echo $metin[546]; ?> </tt></td> </tr> <tr> <td align="right" nowrap="nowrap"><label for="konuyuKilitle"><?php echo "<img src='img/lock.png' border=\"0\" style=\"vertical-align: middle;\" alt='" . $metin[179] . "' title='" . $metin[179] . "' />"; ?> <?php echo $metin[382]; ?>