$hata = true; } if (isset($_POST["konu"])) { if ($_POST["ccode"] != $_SESSION["ccode"]) { echo "<font id='hata'> Kod boþ veya hatalý girildi!</font>"; $hata = true; $_SESSION["ccode"] = ""; } else { $_SESSION["ccode"] = ""; $subject = temizle($_POST["konu"]); $address = temizle($_POST["address"]); $address = getMailAddress($address); $bodisi = temizle($_POST["icerik"]); $gonderenMail = getMailAddress(getUserID2($_SESSION["usern"])); if ($gonderenMail == "") { $gonderenMail = ayarGetir("ayar4char"); } $headers = 'MIME-Version: 1.0' . "\r\n"; $headers .= 'Content-type: text/html; charset=iso-8859-9' . "\r\n"; $headers .= "From:" . $gonderenMail . "\r\nReply-To:" . $gonderenMail . "\r\n" . 'X-Mailer: PHP/' . phpversion(); if (email_valid($address)) { if (@mail("{$address}", "eOgr - {$subject}", "{$bodisi}", $headers)) { echo "<font id='tamam'>Epostanýz Gönderildi!</font>"; $hata = true; } else { echo "<font id='hata'>Özür dileriz, þu anda mesajýnýz gönderilemiyor!</font>"; $hata = true; } } else { echo "<font id='hata'>Özür dileriz, kullanýcýnýn eposta adresi bilgisinde sorun var!</font>"; }
mysql_select_db($_db, $yol); $Result1 = mysql_query($deleteSQL, $yol) or die(mysql_error()); if ($Result1) { echo "<font id='uyari'>{$metin['501']}</font>"; } } $pageCnt = temizle(isset($_GET['pageCnt']) ? $_GET['pageCnt'] : ""); if ($pageCnt == "") { $pageCnt = GetSQLValueString(isset($_SESSION['pageCnt3']) ? $_SESSION['pageCnt3'] : "", "int"); } else { $_SESSION['pageCnt3'] = $pageCnt; } if ($pageCnt >= 1) { $maxRows_eoUsers = $pageCnt; } else { $maxRows_eoUsers = ayarGetir("veriHareketleriSayisi"); } $pageNum_eoUsers = 0; if (isset($_GET['pageNum_eoUsers'])) { $pageNum_eoUsers = $_GET['pageNum_eoUsers']; } $startRow_eoUsers = $pageNum_eoUsers * $maxRows_eoUsers; mysql_select_db($_db, $yol); $arayici = temizle(isset($_GET['arama']) ? $_GET['arama'] : ""); if ($arayici != "") { $filtr2 = " LEFT OUTER JOIN eo_users ON eo_comments.userID = eo_users.id\r\n\t\t\t\t\t\tLEFT OUTER JOIN eo_4konu ON eo_comments.konuID = eo_4konu.id \r\n\t\t\t\t\t\twhere (userName like '%{$arayici}%' or konuAdi like '%{$arayici}%') "; } else { $filtr2 = " LEFT OUTER JOIN eo_users ON eo_comments.userID = eo_users.id \r\n\t\t\t\t\t\tLEFT OUTER JOIN eo_4konu ON eo_comments.konuID = eo_4konu.id \r\n\t\t\t\t\t\t"; } if (!empty($_POST["sil"]) && !empty($_POST["silIzin"]) && $_POST["silIzin"] == "evet") { $silinenler = "''";
echo "<font id='uyari'> {$metin['501']}</font>"; } else { trackUser($currentFile, "fail,DelMember", $adi); echo "<font id='hata'>Üye silme iþleminiz tamamlanamadý!</font>"; } } $pageCnt = GetSQLValueString(isset($_GET['pageCnt']) ? $_GET['pageCnt'] : "", "int"); if ($pageCnt == "NULL") { $pageCnt = GetSQLValueString(isset($_SESSION['pageCnt']) ? $_SESSION['pageCnt'] : "", "int"); } else { $_SESSION['pageCnt'] = $pageCnt; } if ($pageCnt >= 1) { $maxRows_eoUsers = $pageCnt; } else { $maxRows_eoUsers = ayarGetir("sayfaKullaniciSayisi"); } $pageNum_eoUsers = 0; if (isset($_GET['pageNum_eoUsers'])) { $pageNum_eoUsers = $_GET['pageNum_eoUsers']; } $startRow_eoUsers = $pageNum_eoUsers * $maxRows_eoUsers; mysql_select_db($_db, $yol); if (isset($_GET['ord']) && $_GET['ord'] != "") { $filtr1 = " and userType=" . GetSQLValueString($_GET['ord'], "int"); $filtr2 = " where userType=" . GetSQLValueString($_GET['ord'], "int"); } if (empty($_GET["yonU"])) { $_GET["yonU"] = ""; } if (empty($_SESSION["siraYonu"])) {
<div> </div> </div> <div class="Sheet-cl"> <div> </div> </div> <div class="Sheet-cr"> <div> </div> </div> <div class="Sheet-cc"></div> <div class="Sheet-body"> <div class="Header"> <div class="Header-png"></div> <div class="Header-jpeg"></div> <div class="logo"> <h1 id="name-text" class="logo-name"><?php echo ayarGetir("okulGenelAdi"); ?> </h1> <div id="slogan-text" class="logo-text"> <?php echo $metin[286]; ?> </div> </div> </div> <div class="contentLayout"> <div class="content"> <div class="Post"> <div class="Post-tl"></div> <div class="Post-tr"> <div> </div> </div>
echo "http://flockdraw.com"; ?> </a></td> <td><input type="text" maxlength="50" size="10" name="whiteBoardSession" id="whiteBoardSession" value="<?php echo ayarGetir("whiteBoardSession"); ?> "/> <tt>*</tt></td> </tr> <tr> <td align="right"><?php echo $metin[216]; ?> :</td> <?php $secenekler = explode("-", ayarGetir("ayar5char")); ?> <td><label> <input type="checkbox" name="ayar5char1" id="ayar5char1" value="1" <?php if ($secenekler[0] == "1") { echo " checked='checked'"; } else { echo ""; } ?> /> <?php echo $metin[535]; ?> </label>
onmouseover="mopen('dilSecimi');" onmouseout="mclosetime();" /> <div id="dilSecimi" onmouseover="mcancelclosetime()" onmouseout="mclosetime()"> <a href='index.php?lng=EN&oldPath=<?php echo $currentFile; ?> ' ><img src='img/turkish.png' border='0' alt='Dil' style='vertical-align: middle;'/></a> <a href='index.php?lng=TR&oldPath=<?php echo $currentFile; ?> '> <img src='img/english.png' border='0' alt='Language' style='vertical-align: middle;'/></a> </div> <?php } if ($seceneklerimiz[3] == "1" and $kullaniciSecen[3] == "1") { echo " " . $metin[155] . " " . round(getmicrotime() - $time, 3) . "s"; } $humanRelativeDate2 = new HumanRelativeDate(); $insansi = $humanRelativeDate2->getTextForSQLDate(date("Y-m-d H:i:s", filemtime($currentFile))); if ($seceneklerimiz[4] == "1" and $kullaniciSecen[4] == "1") { echo " | <font size='-3'>" . $metin[217] . " " . $insansi . "</font>"; } ?> <strong> <?php echo $metin[68]; ?> :</strong> <?php echo ayarGetir("versiyon"); ?> </form> </div> <?php mysql_close($yol); mysql_close($yol1);
exit; } break; } $_SESSION["newUser"] = "******"; $_SESSION["ccode2"] = ""; if (addnewUser($_POST['realN'], $_POST['userName'], $_POST['userPassword1'], $_POST['email'], $_POST['birth'])) { trackUser($currentFile, "success,NewUser", $_POST['userName']); echo "<br/>{$metin['7']}, " . temizle($_POST["realN"]) . "<br/><br/>"; echo $metin[408]; $_SESSION["tur"] = "0"; //varsayýlan öðrencidir... $_SESSION["usern"] = $_POST['userName']; $_SESSION["userp"] = sha1($_POST['userPassword1']); trackUser($currentFile, "success,Login", $_SESSION["usern"]); if (ayarGetir("ayar4char") != "") { if (newUserMail($_POST['userName'], $_POST['email']) == "allOK") { echo "<br/><br/>Yeni Üyelik Epostasý Baþarýlýdýr."; } else { echo "<br/><br/>Yeni Üyelik Epostasý Baþarýlý olamadý!"; } } } else { trackUser($currentFile, "fail,NewUser", $_POST['userName']); echo $metin[409]; } } else { require_once "lib/phplivex.php"; /* validate: yeni kullanýcý adý testi
} window.onbeforeunload = function () { if (bitirmeYuzdesi() < 100 && parseInt(document.getElementById("calismaSuresi").innerHTML)> <?php echo ayarGetir("ayar3int"); ?> ) return "<?php echo $metin[345]; ?> "; } window.onunload = function () { if (parseInt(document.getElementById("calismaSuresi").innerHTML)> <?php echo ayarGetir("ayar3int"); ?> ) saveUserWork(); } /* cevapSureBasla: cevaplama için süre baþlangýcý */ function cevapSureBasla(){ if(document.getElementById('cevapSuresi').innerHTML==""){ $("#cevapSuresi").everyTime(1000,function(i) { csur = document.getElementById('gercekCevapSuresi').innerHTML;
function getUsersOnline() { global $yol1; $sql = "SELECT userName,(unix_timestamp(now()) - unix_timestamp(dateTime) )/60 as sure FROM eo_usertrack WHERE (unix_timestamp(now()) - unix_timestamp(dateTime) )/60 <= 300 and otherInfo='success,Login' GROUP BY userName order by sure DESC,userName limit 0," . ayarGetir("ayar2int"); $result = mysql_query($sql, $yol1); $data = array(); while ($row = mysql_fetch_assoc($result)) { $data['values'][] = $row['userName']; } if (isset($data['values'])) { return $data['values']; } }
function passwordMailTest() { $headers = 'MIME-Version: 1.0' . "\r\n"; $headers .= 'Content-type: text/html; charset=iso-8859-9' . "\r\n"; $headers .= "From:" . ayarGetir("ayar4char") . "\r\nReply-To:" . ayarGetir("ayar4char") . "\r\n" . 'X-Mailer: PHP/' . phpversion(); if (@mail(ayarGetir("ayar4char"), "eOgr test", "just eOgr - delete me!", $headers)) { return true; } return false; }
<div> <?php $seceneklerimiz = explode("-", ayarGetir("ayar5char")); if (isset($_SESSION["usern"])) { $kullaniciSecen = explode("-", ayarGetir3(RemoveXSS($_SESSION["usern"]))); } ?> <div class="BlockHeader-text"><?php echo $metin[153]; echo " | <a href='rss.php' target='_blank' class='external'>{$metin['480']}</a>"; ?> </div> <ul> <?php if ($seceneklerimiz[11] == "1" and $kullaniciSecen[11] == "1") { $sql1 = "select id from eo_webref_rss_items ORDER BY pubDate DESC LIMIT 0," . ayarGetir("ayar1int"); $result1 = @mysql_query($sql1, $yol1); $i = 0; if (@mysql_numrows($result1) > 0) { while ($i < @mysql_numrows($result1)) { ?> <li> <?php echo "<strong>", haberGetir($i, "title"), "</strong> "; $humanRelativeDate = new HumanRelativeDate(); $insansi = $humanRelativeDate->getTextForSQLDate(haberGetir($i, "pubDate")); echo "<font size='-2'>{$insansi}</font>"; ?> <br /> <p> <?php echo smileAdd(haberGetir($i, "description"));
<li class="LinkYan<?php echo ($seciliSekme == "5" or $seciliSekme == "5") ? "Aktif" : ""; ?> "><a href="lessonsEdit.php?tab=5" title="<?php echo $metin[52]; ?> "><img src="img/bullet.png" border="0" style="vertical-align: text-bottom;" alt="edit"/> <?php echo $metin[52]; ?> </a></li> </ol> <div style="clear:both"></div> <?php if (!isset($_POST["blokSayi"])) { if (!isset($_SESSION["blokSayi"])) { $blokBuyuklugu = ayarGetir("sayfaBlokSayisi"); } else { $blokBuyuklugu = temizle($_SESSION["blokSayi"]); } } else { $blokBuyuklugu = temizle($_POST["blokSayi"]); $_SESSION["blokSayi"] = $blokBuyuklugu; } if (!isset($_GET["upd"])) { $_GET["upd"] = ""; } if (!isset($_GET["sirAlan"])) { $_GET["sirAlan"] = ""; } if (!isset($_GET["siraYap"])) { $_GET["siraYap"] = "";