当前位置: 首页>>代码示例>>PHP>>正文


PHP temizle函数代码示例

本文整理汇总了PHP中temizle函数的典型用法代码示例。如果您正苦于以下问题:PHP temizle函数的具体用法?PHP temizle怎么用?PHP temizle使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了temizle函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: cevapSahibi

function cevapSahibi($cevapID)
{
    global $yol1;
    $usernam = substr(temizle($usernam), 0, 15);
    $sql1 = "SELECT userID FROM eo_askanswer \r\n\t\t\twhere id='" . temizle($cevapID) . "'  limit 0,1";
    $result1 = mysql_query($sql1, $yol1);
    if ($result1 && mysql_numrows($result1) == 1) {
        return mysql_result($result1, 0, "userID");
    } else {
        return "";
    }
}
开发者ID:ergun805,项目名称:eOgr,代码行数:12,代码来源:delCevap.php

示例2: getKonuKayitliKullanici

function getKonuKayitliKullanici($gelenID)
{
    global $yol1;
    $sql1 = "select sadeceKayitlilarGorebilir from eo_4konu where id ='" . temizle($gelenID) . "'";
    $result1 = mysql_query($sql1, $yol1);
    if ($result1 and mysql_num_rows($result1) == 1) {
        mysql_fetch_row($result1);
        return mysql_result($result1, 0, "sadeceKayitlilarGorebilir");
    } else {
        return "1";
    }
}
开发者ID:ergun805,项目名称:eOgr,代码行数:12,代码来源:getDurum.php

示例3: getUserIDcomment

function getUserIDcomment($usernam, $passwor)
{
    global $yol1;
    $usernam = substr(temizle($usernam), 0, 15);
    $sql1 = "SELECT id, userName, userPassword FROM eo_users where userName='" . temizle($usernam) . "' AND userPassword='" . temizle($passwor) . "' limit 0,1";
    $result1 = mysql_query($sql1, $yol1);
    if ($result1 && mysql_numrows($result1) == 1) {
        return mysql_result($result1, 0, "id");
    } else {
        return "";
    }
}
开发者ID:ergun805,项目名称:eOgr,代码行数:12,代码来源:askForFriendship2.php

示例4: trim

// For security and spam protection reasons check if $_POST['token'] has the same value as $_SESSION['token']
if (isset($_POST['name']) && trim($_POST['name'] !== "") && trim($_POST['name'] !== "name") && strlen($_POST['name']) < 26 && (isset($_POST['url']) && strlen($_POST['url']) < 100) && (isset($_POST['message']) && trim($_POST['message']) !== "" && trim($_POST['message']) !== "message" && strlen($_POST['message']) < 400) && (isset($_SESSION['token']) && $_POST['token'] == $_SESSION['token'])) {
    $name = $_POST['name'];
    $url = trim($_POST['url']);
    if (strstr($url, 'http://') && strlen($url) == 7 || $url == "") {
        unset($url);
    }
    $msg = $_POST['message'];
    // Get a sender IP (it will be in use in the next wTag version)
    $remote = $_SERVER["REMOTE_ADDR"];
    // Store it converted
    $converted_address = ip2long($remote);
    $oda = $_SESSION["oda"];
    $name = iconv("UTF-8", "ISO-8859-9", temizle($name));
    $url = iconv("UTF-8", "ISO-8859-9", temizle($url));
    $msg = iconv("UTF-8", "ISO-8859-9", temizle($msg));
    // Insert a new message into database
    if ($msg != "") {
        $sql->query("INSERT INTO eo_shoutbox SET name= '{$name}', url='{$url}', message= '{$msg}', ip='{$oda}', date=now()");
    }
    // Get the id for the last inserted message
    $lastid = $sql->get_id();
    // Delete oldest messages
    if ($lastid > 300) {
        $sql->query("DELETE FROM eo_shoutbox WHERE messageid <({$lastid}-20)");
    }
    // Retrieve last 20 messages
    $sql->query("SELECT date, name, url, message FROM eo_shoutbox WHERE messageid <= {$lastid} and ip='{$oda}' ORDER BY messageid DESC LIMIT 20");
} else {
    // Just retrieve last 20 messages
    $sql->query("SELECT date, name, url, message FROM eo_shoutbox where ip='{$oda}' ORDER BY messageid DESC LIMIT 20");
开发者ID:ergun805,项目名称:eOgr,代码行数:31,代码来源:sendchat.php

示例5: header

eOgr - elearning project

Developer Site: http://yunus.sourceforge.net
Demo Site:		http://yunus.sourceforge.net/eogr
Source Track:	http://eogr.googlecode.com 
Support:		http://www.ohloh.net/p/eogr

This project is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 3 of the License, or any later version. See the GNU
Lesser General Public License for more details.
*/
header("Content-Type: text/html; charset=iso-8859-9");
ob_start();
// Buffer output
session_start();
$_SESSION['ready'] = TRUE;
require "conf.php";
if (!check_source()) {
    die("<font id='hata'>{$metin['295']}</font>");
}
if (md5($_SERVER['HTTP_USER_AGENT']) == $_SESSION['aThing']) {
    $adi = temizle(substr(isset($_SESSION["usern"]) ? $_SESSION["usern"] : "", 0, 15));
    $par = temizle(isset($_SESSION["userp"]) ? $_SESSION["userp"] : "");
    if (temizle($_GET["sonSayfa"]) > 0) {
        echo trackUserLesson(getUserID($adi, $par), temizle($_GET["konuID"]), temizle($_GET["sure"]), temizle($_GET["sonSayfa"]));
    }
} else {
    sessionDestroy();
}
开发者ID:ergun805,项目名称:eOgr,代码行数:31,代码来源:setUserWork.php

示例6: RemoveXSS

                    <input type="text" maxlength="50" size="50" name="ara" value="<?php 
    echo RemoveXSS(isset($_GET["ara"]) ? $_GET["ara"] : "");
    ?>
"  />
                    <input name="arama" type="image" id="ara" src="img/view.png" alt="Ara"  style="vertical-align: middle;"/>
                  </form>
                  </p>
                  <?php 
    $currentPage = $_SERVER["PHP_SELF"];
    $devam = RemoveXSS(isset($_GET["devam"]) ? $_GET["devam"] : "");
    if (empty($_SESSION['soruLimit'])) {
        $_SESSION['soruLimit'] = 5;
    }
    $limit = RemoveXSS($_SESSION['soruLimit']);
    $arama = str_replace("'", "`", isset($_GET["ara"]) ? $_GET["ara"] : "");
    $arama = substr(temizle($arama), 0, 300);
    $tumKaySay = soruSayisiGetir($arama);
    if ($devam == "1" and $tumKaySay > $_SESSION['soruLimit']) {
        $_SESSION['soruLimit'] += 3;
        $limit = RemoveXSS($_SESSION['soruLimit']);
    }
    if ($arama != "") {
        $veriSQL = "SELECT * FROM eo_askquestion WHERE question \r\n\t\t\t\t\t\t\tLIKE '%{$arama}%'\r\n\t\t\t\t\t\t \tORDER BY eklenmeTarihi DESC LIMIT 0,{$limit}";
    } else {
        $veriSQL = "SELECT * FROM eo_askquestion ORDER BY eklenmeTarihi DESC LIMIT 0,{$limit}";
    }
    $veriSonuc = mysql_query($veriSQL, $yol1);
    $kaySay = @mysql_num_rows($veriSonuc);
    if ($kaySay > 0) {
        ?>
                  <p>
开发者ID:ergun805,项目名称:eOgr,代码行数:31,代码来源:askQuestion.php

示例7: dilCevir

}
dilCevir($taraDili);
$aUsers = array();
$aID = array();
$aInfo = array();
$result = mysql_query("select realName from eo_users order by id");
for ($i = 0; $sonuc = mysql_fetch_assoc($result); $i++) {
    $aUsers[$i] = iconv("ISO-8859-9", "UTF-8", temizle(htmlentities($sonuc["realName"])));
}
$result = mysql_query("select id from eo_users order by id");
for ($i = 0; $sonuc = mysql_fetch_assoc($result); $i++) {
    $aID[$i] = iconv("ISO-8859-9", "UTF-8", temizle(htmlentities($sonuc["id"])));
}
$result = mysql_query("select userName from eo_users order by id");
for ($i = 0; $sonuc = mysql_fetch_assoc($result); $i++) {
    $aInfo[$i] = iconv("ISO-8859-9", "UTF-8", temizle(htmlentities($sonuc["userName"])));
}
if (!empty($_GET['input'])) {
    $input = strtolower($_GET['input']);
} else {
    $input = "";
}
$len = strlen($input);
$limit = 5;
$aResults = array();
$count = 0;
if ($len) {
    for ($i = 0; $i < count($aUsers); $i++) {
        // had to use utf_decode, here
        // not necessary if the results are coming from mysql
        //
开发者ID:ergun805,项目名称:eOgr,代码行数:31,代码来源:test2.php

示例8: trackUser

             echo "<font id='tamam'> Site bakýma alýndý.</font>";
             trackUser($currentFile, "success,SiteLock", $adi);
         }
         if ($_POST['ayar5char17'] == "1") {
             if (@chmod($_uploadFolder, 0777)) {
                 echo "<font id='tamam'> Paylaþým klasörü yazýlabilir.</font>";
                 trackUser($currentFile, "success,SharedWrite", $adi);
             }
         } else {
             if (@chmod($_uploadFolder, 0755)) {
                 echo "<font id='tamam'> Paylaþým klasörü salt okunur.</font>";
                 trackUser($currentFile, "success,SharedReadOnly", $adi);
             }
         }
         $ayar5char = temizle($_POST['ayar5char1'] . "-" . $_POST['ayar5char2'] . "-" . $_POST['ayar5char3'] . "-" . $_POST['ayar5char4'] . "-" . $_POST['ayar5char5'] . "-" . $_POST['ayar5char6'] . "-" . $_POST['ayar5char7'] . "-" . $_POST['ayar5char8'] . "-" . $_POST['ayar5char9'] . "-" . $_POST['ayar5char10'] . "-" . $_POST['ayar5char11'] . "-" . $_POST['ayar5char12'] . "-" . $_POST['ayar5char13'] . "-" . $_POST['ayar5char14'] . "-" . $_POST['ayar5char15'] . "-" . $_POST['ayar5char16'] . "-" . $_POST['ayar5char17']);
         $updateSQL = sprintf("\r\n\t\t\tUPDATE eo_sitesettings \r\n\t\t\tSET okulGenelAdi=%s, versiyon=%s, sayfaBlokSayisi=%s, \r\n\t\t\tsayfaKullaniciSayisi=%s, veriHareketleriSayisi=%s, \r\n\t\t\tayar4char=%s, ayar1int=%s, ayar2int=%s, ayar3int=%s, \r\n\t\t\tayar5char='%s',\r\n\t\t\tuploadFolder = %s,\r\n\t\t\tsiteUnlockPwd = %s,\r\n\t\t\tdefaultTheme = %s,\r\n\t\t\tdefaultLang = %s,\r\n\t\t\tfilesToPlay = %s,\r\n\t\t\tfileMaxUploadSize = %s,\r\n\t\t\tvideoChatSession = %s,\r\n\t\t\twhiteBoardSession = %s\r\n\t\t\t\r\n\t\t\tWHERE id='1'", temizle(GetSQLValueString($_POST['okulGenelAdi'], "text")), temizle(GetSQLValueString($_POST['versiyon'], "text")), temizle(GetSQLValueString($_POST['sayfaBlokSayisi'], "int")), temizle(GetSQLValueString($_POST['sayfaKullaniciSayisi'], "int")), temizle(GetSQLValueString($_POST['veriHareketleriSayisi'], "int")), temizle(GetSQLValueString($_POST['ayar4char'], "text")), temizle(GetSQLValueString($_POST['ayar1int'], "int")), temizle(GetSQLValueString($_POST['ayar2int'], "int")), temizle(GetSQLValueString($_POST['ayar3int'], "int")), $ayar5char, temizle(GetSQLValueString($_POST['uploadFolder'], "text")), temizle(GetSQLValueString($_POST['siteUnlockPwd'], "text")), temizle(GetSQLValueString($_POST['defaultTheme'], "text")), temizle(GetSQLValueString($_POST['defaultLang'], "text")), temizle(GetSQLValueString($_POST['filesToPlay'], "text")), temizle(GetSQLValueString($_POST['fileMaxUploadSize'], "int")), temizle(GetSQLValueString($_POST['videoChatSession'], "text")), temizle(GetSQLValueString($_POST['whiteBoardSession'], "text")));
         mysql_select_db($_db, $yol);
         $Result1 = mysql_query($updateSQL, $yol);
         if ($Result1) {
             trackUser($currentFile, "success,SiteInfo", $adi);
             echo "<font id='uyari'> {$metin['536']}</font>";
         } else {
             trackUser($currentFile, "fail,SiteInfo", $adi);
             echo "<font id='hata'> Site bilgilerinde hata olduðunda g&uuml;ncelleme iþleminiz tamamlanamadý!</font>";
         }
     }
 }
 ?>
                       <br />
                       <br />
                       <?php 
开发者ID:ergun805,项目名称:eOgr,代码行数:31,代码来源:siteSettings3.php

示例9: array

@session_start();
include "conf.php";
$aUsers = array();
$aID = array();
$aInfo = array();
$result = mysql_query("select konuAdi from eo_4konu order by id");
for ($i = 0; $sonuc = mysql_fetch_assoc($result); $i++) {
    $aUsers[$i] = iconv("ISO-8859-9", "UTF-8", temizle(htmlentities($sonuc["konuAdi"])));
}
$result = mysql_query("select id from eo_4konu order by id");
for ($i = 0; $sonuc = mysql_fetch_assoc($result); $i++) {
    $aID[$i] = iconv("ISO-8859-9", "UTF-8", temizle(htmlentities($sonuc["id"])));
}
$result = mysql_query("select eo_3ders.dersAdi as dersAdi from eo_3ders,eo_4konu where eo_4konu.dersID=eo_3ders.id order by eo_4konu.id");
for ($i = 0; $sonuc = mysql_fetch_assoc($result); $i++) {
    $aInfo[$i] = iconv("ISO-8859-9", "UTF-8", temizle(htmlentities($sonuc["dersAdi"])));
}
if (!empty($_GET['input'])) {
    $input = strtolower($_GET['input']);
} else {
    $input = "";
}
$len = strlen($input);
$limit = 5;
$aResults = array();
$count = 0;
if ($len) {
    for ($i = 0; $i < count($aUsers); $i++) {
        // had to use utf_decode, here
        // not necessary if the results are coming from mysql
        //
开发者ID:ergun805,项目名称:eOgr,代码行数:31,代码来源:getLesson.php

示例10: getUserID2

            break;
        default:
            $ktut = $metin[89];
    }
    $geceliKullID = getUserID2($adi);
    if (isset($_GET["kisi"])) {
        if (!empty($_GET["kisi"])) {
            $_SESSION["seciliArkadas"] = RemoveXSS($_GET["kisi"]);
        }
    }
    ?>
                  <p> <?php 
    echo $metin[7];
    ?>
, <?php 
    echo temizle($_SESSION["userr"]) . "&nbsp;<a href='profil.php?kim=" . $geceliKullID . "&amp;set=1' rel=\"facebox\">{$metin['311']}</a> " . $ktut;
    ?>
 </p>
                  <?php 
    if ($_SESSION["tur"] == '0') {
        $siniflar = getOgrenciSiniflari();
        if ($siniflar != "") {
            echo "<p>" . $metin[210] . " : " . $siniflar;
            echo "</p>";
        }
    }
    if ($_SESSION["tur"] == '1' || $_SESSION["tur"] == '2') {
        $pasifYorumlar = getpasifYorumlar();
        if ($pasifYorumlar > 0) {
            echo "<p>" . $metin[294] . " : <a href=dataCommentList2.php>" . $pasifYorumlar . " <img src='img/uyari.gif' border='0' style=\"vertical-align: middle;\" alt=\"imp\" /></a>";
            echo "</p>";
开发者ID:ergun805,项目名称:eOgr,代码行数:31,代码来源:friends.php

示例11: boardnewslide


//.........这里部分代码省略.........
            $last_open = strrpos($row['body'], '<');
            $last_close = strrpos($row['body'], '>');
            if (empty($last_space) || $last_space == $last_open + 3 && (empty($last_close) || !empty($last_close) && $last_close < $last_open) || $last_space < $last_open || $last_open == $length - 6) {
                $cutoff = $last_open;
            } elseif (empty($last_close) || $last_close < $last_open) {
                $cutoff = $last_space;
            }
            if ($cutoff !== false) {
                $row['body'] = $smcFunc['substr']($row['body'], 0, $cutoff);
            }
            $row['body'] .= '...';
        }
        $row['body'] = parse_bbc($row['body'], $row['smileys_enabled'], $row['id_msg']);
        if (!empty($recycle_board) && $row['id_board'] == $recycle_board) {
            $row['icon'] = 'recycled';
        }
        // Check that this message icon is there...
        if (!empty($modSettings['messageIconChecks_enable']) && !isset($icon_sources[$row['icon']])) {
            $icon_sources[$row['icon']] = file_exists($settings['theme_dir'] . '/images/post/' . $row['icon'] . '.png') ? 'images_url' : 'default_images_url';
        }
        // Censor everything.
        censorText($row['body']);
        censorText($row['subject']);
        // BBC-atize the message.
        $row['body'] = parse_bbc($row['body'], $row['smileys_enabled'], $row['id_msg']);
        $secimyap = preg_match_all('/<img.+src=[\'"]([^\'"]+)[\'"].*>/i', $row['body'], $sonuc);
        // src="" içindekini al.
        if (!empty($sonuc[0]) && !empty($sonuc[1])) {
            $ilkresim = $sonuc[1][0];
        } else {
            // Resim bulunmazsa default resim ekle
            $ilkresim = $settings['theme_url'] . '/images/konusaldefault.png';
        }
        // And build the array.
        $context['posts'][$row['id_msg']] = array('id' => $row['id_msg'], 'counter' => $counter++, 'alternate' => $counter % 2, 'category' => array('id' => $row['id_cat'], 'name' => $row['cname'], 'href' => $scripturl . '#c' . $row['id_cat'], 'link' => '<a href="' . $scripturl . '#c' . $row['id_cat'] . '">' . $row['cname'] . '</a>'), 'board' => array('id' => $row['id_board'], 'name' => $row['bname'], 'href' => $scripturl . '?board=' . $row['id_board'] . '.0', 'link' => '<a href="' . $scripturl . '?board=' . $row['id_board'] . '.0">' . $row['bname'] . '</a>'), 'topic' => $row['id_topic'], 'href' => $scripturl . '?topic=' . $row['id_topic'] . '.msg' . $row['id_msg'] . '#msg' . $row['id_msg'], 'link' => '<a href="' . $scripturl . '?topic=' . $row['id_topic'] . '.msg' . $row['id_msg'] . '#msg' . $row['id_msg'] . '" rel="nofollow">' . $row['subject'] . '</a>', 'start' => $row['num_replies'], 'subject' => $row['subject'], 'resim' => $ilkresim, 'time' => timeformat($row['poster_time']), 'timestamp' => forum_time(true, $row['poster_time']), 'first_poster' => array('id' => $row['id_first_member'], 'name' => $row['first_poster_name'], 'href' => empty($row['id_first_member']) ? '' : $scripturl . '?action=profile;u=' . $row['id_first_member'], 'link' => empty($row['id_first_member']) ? $row['first_poster_name'] : '<a href="' . $scripturl . '?action=profile;u=' . $row['id_first_member'] . '">' . $row['first_poster_name'] . '</a>'), 'poster' => array('id' => $row['id_member'], 'name' => $row['poster_name'], 'href' => empty($row['id_member']) ? '' : $scripturl . '?action=profile;u=' . $row['id_member'], 'link' => empty($row['id_member']) ? $row['poster_name'] : '<a href="' . $scripturl . '?action=profile;u=' . $row['id_member'] . '">' . $row['poster_name'] . '</a>'), 'message' => $row['body'], 'can_reply' => false, 'can_mark_notify' => false, 'can_delete' => false, 'delete_possible' => ($row['id_first_msg'] != $row['id_msg'] || $row['id_last_msg'] == $row['id_msg']) && (empty($modSettings['edit_disable_time']) || $row['poster_time'] + $modSettings['edit_disable_time'] * 60 >= time()));
        if ($user_info['id'] == $row['id_first_member']) {
            $board_ids['own'][$row['id_board']][] = $row['id_msg'];
        }
        $board_ids['any'][$row['id_board']][] = $row['id_msg'];
    }
    $smcFunc['db_free_result']($request);
    // There might be - and are - different permissions between any and own.
    $permissions = array('own' => array('post_reply_own' => 'can_reply', 'delete_own' => 'can_delete'), 'any' => array('post_reply_any' => 'can_reply', 'mark_any_notify' => 'can_mark_notify', 'delete_any' => 'can_delete'));
    // Now go through all the permissions, looking for boards they can do it on.
    foreach ($permissions as $type => $list) {
        foreach ($list as $permission => $allowed) {
            // They can do it on these boards...
            $boards = boardsAllowedTo($permission);
            // If 0 is the only thing in the array, they can do it everywhere!
            if (!empty($boards) && $boards[0] == 0) {
                $boards = array_keys($board_ids[$type]);
            }
            // Go through the boards, and look for posts they can do this on.
            foreach ($boards as $board_id) {
                // Hmm, they have permission, but there are no topics from that board on this page.
                if (!isset($board_ids[$type][$board_id])) {
                    continue;
                }
                // Okay, looks like they can do it for these posts.
                foreach ($board_ids[$type][$board_id] as $counter) {
                    if ($type == 'any' || $context['posts'][$counter]['poster']['id'] == $user_info['id']) {
                        $context['posts'][$counter][$allowed] = true;
                    }
                }
            }
        }
    }
    $quote_enabled = empty($modSettings['disabledBBC']) || !in_array('quote', explode(',', $modSettings['disabledBBC']));
    foreach ($context['posts'] as $counter => $dummy) {
        // Some posts - the first posts - can't just be deleted.
        $context['posts'][$counter]['can_delete'] &= $context['posts'][$counter]['delete_possible'];
        // And some cannot be quoted...
        $context['posts'][$counter]['can_quote'] = $context['posts'][$counter]['can_reply'] && $quote_enabled;
    }
    global $context, $settings, $options, $txt, $scripturl;
    echo '<script type="text/javascript" src="', $settings['theme_url'], '/scripts/modernizr.custom.28468.js"></script>
		<div id="da-slider" class="da-slider">';
    foreach ($context['posts'] as $post) {
        echo '
				<div class="da-slide">
				<h2><a href="', $post['href'], '">', $post['subject'], '</a></h2>
				<p>', temizle($post['message']), ' </p>
				<a href="', $post['href'], '" class="da-link">', $txt['Read'], '</a>
				<div class="da-img"><a href="', $post['href'], '"> <img width="120px" src="', $post['resim'], '" alt="', $post['subject'], '" class="haber_resmi" /></a></div>
				</div>';
    }
    echo '
			</div>
		<script type="text/javascript" src="', $settings['theme_url'], '/scripts/jquery.cslider.js"></script>
		<script type="text/javascript">
			$(function() {
			
				$(\'#da-slider\').cslider({
					autoplay	: true,
					bgincrement	: 450
				});
			
			});
		</script>';
}
开发者ID:snrj,项目名称:konusal-m-theme,代码行数:101,代码来源:konusal-com.php

示例12: temaBilgisi

function temaBilgisi()
{
    $result = numToTheme(0);
    //ilk tema
    $cerezden = temizle(isset($_COOKIE["theme"]) ? $_COOKIE["theme"] : "");
    if ($cerezden != "" and is_dir('theme/' . $cerezden)) {
        $result = $cerezden;
    }
    if (empty($cerezden)) {
        setcookie("theme", $result, time() + 60 * 60 * 24 * 30);
    }
    return $result;
}
开发者ID:ergun805,项目名称:eOgr,代码行数:13,代码来源:install.php

示例13: temizle

 </span></span></a></li>
          <li><a href="dataFriendActions.php"><span><span> <?php 
            echo $metin[594] . $bilgi10;
            ?>
 </span></span></a></li>
        </ul>
      </li>
    </ul>
  </li>
  <?php 
        }
        ?>
  <li><a href="index.php?logout=1"><span><span><img src="img/logout.png" border="0" style="vertical-align: middle;" alt="logout"/>
    <?php 
        if (!empty($adi)) {
            echo temizle($adi) . " ";
        }
        ?>
    <?php 
        echo $metin[59];
        ?>
 </span></span></a>
    <?php 
        if ($remUser) {
            ?>
    <ul>
      <li> <a href="index.php?forgetMe=1"><span><span><?php 
            echo $metin[196];
            ?>
</span></span></a> </li>
    </ul>
开发者ID:ergun805,项目名称:eOgr,代码行数:31,代码来源:menu.php

示例14: temizle

        break;
    case '1':
        $ktut = $metin[87];
        break;
    case '2':
        $ktut = $metin[88];
        break;
    default:
        $ktut = $metin[89];
}
?>
                  <p> <?php 
echo $metin[7];
?>
, <?php 
echo temizle($_SESSION["userr"]) . " " . $ktut;
?>
 </p>
                  <?php 
if ($_SESSION["tur"] == '1' || $_SESSION["tur"] == '2') {
    $pasifYorumlar = getpasifYorumlar();
    if ($pasifYorumlar > 0) {
        echo $metin[294] . " : <a href=dataCommentList2.php>" . $pasifYorumlar . " <img src='img/uyari.gif' border='0' style=\"vertical-align: middle;\" alt=\"imp\" /></a>";
        echo "<br/>";
    }
}
if (trim(getStats(11)) != "") {
    echo "<br/><div class='ikiKolon'>";
    echo "<strong>" . $metin[213] . "</strong><br/>" . getStats(11) . "</div>";
    if (trim(getStats(12)) != "") {
        echo "<div class='ikiKolon'><strong>" . $metin[239] . "</strong><br/>" . getStats(12) . "</div>";
开发者ID:ergun805,项目名称:eOgr,代码行数:31,代码来源:stats.php

示例15: istekListesi

function istekListesi()
{
    global $yol1;
    $lmt = 30;
    //son 30 günlük yeter
    $user = temizle(substr(isset($_SESSION["usern"]) ? $_SESSION["usern"] : "", 0, 15));
    $sql = "SELECT dateTime,DATE_FORMAT(dateTime, '%d-%m-%Y') as dt FROM eo_usertrack WHERE (unix_timestamp(now()) - unix_timestamp(dateTime) )/3600/24 <= {$lmt} and userName='{$user}' and otherInfo like 'request%' order by dateTime DESC";
    $result = mysql_query($sql, $yol1);
    $data = "";
    while ($row = mysql_fetch_assoc($result)) {
        $data .= $row['dt'] . ", ";
    }
    $data = substr($data, 0, strlen($data) - 2);
    //son , silindi
    return $data;
}
开发者ID:ergun805,项目名称:eOgr,代码行数:16,代码来源:conf.php


注:本文中的temizle函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。