Example #1
0
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.
*/
ob_start();
// Buffer output
session_start();
$_SESSION['ready'] = TRUE;
require "conf.php";
$time = getmicrotime();
checkLoginLang(false, true, "passwordRemember.php");
if ($protect->check_request(getenv('REMOTE_ADDR'))) {
    // check the user
    @header("Location: error.php?error=4");
    die('<br/><img src="img/warning.png" border="0" style="vertical-align: middle;" alt="warning"/> ' . $metin[401] . "<br/>" . $metin[402]);
    // die there flooding
}
$seciliTema = temaBilgisi();
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-9" />
<link rel="alternate" type="application/rss+xml" title="eOgr RSS" href="rss.php" />
<meta http-equiv="cache-control" content="no-cache"/>
<meta http-equiv="pragma" content="no-cache"/>
Example #2
0
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.
*/
ob_start();
session_start();
$_SESSION['ready'] = TRUE;
require "conf.php";
$time = getmicrotime();
checkLoginLang(true, true, "siteSettings.php");
$seciliTema = temaBilgisi();
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-9" />
<link rel="alternate" type="application/rss+xml" title="eOgr RSS" href="rss.php" />
<meta http-equiv="cache-control" content="no-cache"/>
<meta http-equiv="pragma" content="no-cache"/>
<meta http-equiv="Expires" content="-1"/>
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<title>eOgr -<?php 
echo $metin[472];
?>
</title>
Example #3
0
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.
*/
@session_start();
header("Content-Type: text/html; charset=iso-8859-9");
require "conf.php";
checkLoginLang(true, true, "addComment.php");
check_source();
?>

<h2><?php 
echo $metin[290];
?>
</h2>
<div id="commAdderResult" style="visibility:hidden;"> <?php 
echo $metin[293];
?>
 </div>
<div id="commAdder" style="visibility:visible;">
  <textarea cols="50" rows="3" name="acomment" id="acomment" ></textarea>
  <input type="button" name="gonder" value="<?php 
echo $metin[30];
Example #4
0
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.
*/
ob_start();
session_start();
$_SESSION['ready'] = TRUE;
require "conf.php";
$time = getmicrotime();
checkLoginLang(true, true, "dataActions.php");
$seciliTema = temaBilgisi();
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-9" />
<link rel="alternate" type="application/rss+xml" title="eOgr RSS" href="rss.php" />
<meta http-equiv="cache-control" content="no-cache"/>
<meta http-equiv="pragma" content="no-cache"/>
<meta http-equiv="Expires" content="-1"/>
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<title>eOgr -<?php 
echo $metin[66];
?>
</title>
Example #5
0
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.
*/
ob_start();
header("Cache-Control: no-cache, must-revalidate");
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Pragma: no-cache");
session_start();
$_SESSION['ready'] = TRUE;
require "conf.php";
$time = getmicrotime();
checkLoginLang(true, true, "dataCommentList.php");
$seciliTema = temaBilgisi();
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-9'/>
<link rel="alternate" type="application/rss+xml" title="eOgr RSS" href="rss.php" />
<meta http-equiv="cache-control" content="no-cache"/>
<meta http-equiv="pragma" content="no-cache"/>
<meta http-equiv="Expires" content="-1"/>
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<title>eOgr -<?php 
echo $metin[288];
?>
</title>
Example #6
0
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.
*/
@session_start();
header("Content-Type: text/html; charset=utf-8");
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 * Easy set variables
 */
/* Array of database columns which should be read and sent back to DataTables. Use a space where
 * you want to insert a non-database field (for example a counter or static image)
 */
require "conf.php";
checkLoginLang(true, true, "data_dosyalar.php");
//  if (!check_source()) die ("<font id='hata'>$metin[295]</font>");
$aColumns = array('id', 'userID', 'fileName', 'downloadCount', ' ');
$aColumns2 = array('id', 'userID', 'fileName', 'downloadCount');
/* Indexed column (used for fast and accurate table cardinality) */
$sIndexColumn = "id";
/* DB table to use */
$sTable = "eo_files";
/* Database connection information */
$gaSql['user'] = $_username;
$gaSql['password'] = $_password;
$gaSql['db'] = $_db;
$gaSql['server'] = $_host;
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 * If you just want to use the basic configuration for DataTables with PHP server-side, there is
 * no need to edit below this line
Example #7
0
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.
*/
ob_start();
session_start();
$_SESSION['ready'] = TRUE;
require "conf.php";
$time = getmicrotime();
checkLoginLang(true, true, "dataFriendActions.php");
$seciliTema = temaBilgisi();
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-9" />
<link rel="alternate" type="application/rss+xml" title="eOgr RSS" href="rss.php" />
<meta http-equiv="cache-control" content="no-cache"/>
<meta http-equiv="pragma" content="no-cache"/>
<meta http-equiv="Expires" content="-1"/>
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<title>eOgr -<?php 
echo $metin[594];
?>
</title>
Example #8
0
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.
*/
@session_start();
ob_start();
include "../../conf.php";
checkLoginLang(true, true, "upload.php");
if (!check_source()) {
    die("<font id='hata'>{$metin['295']}</font>");
}
$destination_path = getcwd() . DIRECTORY_SEPARATOR . "../../" . $_uploadFolder . "/";
$target_path = $destination_path . basename($_FILES['myfile']['name']);
$result = 0;
//http://www.mediawiki.org/wiki/Manual:$wgFileBlacklist
$wgFileBlacklist = array('html', 'htm', 'js', 'jsb', 'mhtml', 'mht', 'php', 'phtml', 'php3', 'php4', 'php5', 'phps', 'shtml', 'jhtml', 'pl', 'py', 'cgi', 'exe', 'scr', 'dll', 'msi', 'vbs', 'bat', 'com', 'pif', 'cmd', 'vxd', 'cpl');
$wgMimeTypeBlacklist = array('text/html', 'text/javascript', 'text/x-javascript', 'application/x-shellscript', 'application/x-php', 'text/x-php', 'application/x-httpd-php', 'text/x-python', 'text/x-perl', 'text/x-bash', 'text/x-sh', 'text/x-csh', 'text/scriptlet', 'application/x-msdownload', 'application/x-msmetafile', 'application/zip', 'application/x-opc+zip');
$dBoyu = $_FILES['myfile']['size'];
$maxBoy = 1024 * 1024 * $_fileMaxUploadSize;
if (!empty($_FILES["myfile"]) && $_FILES['myfile']['error'] == 0) {
    if (in_array(strtolower($_FILES['myfile']['name']), array(".htaccess", "index.php"))) {
        $result = -1;
        trackUser($currentFile, "fail,FileUp", $_SESSION["usern"]);
Example #9
0
<?php

if (!isset($_GET["error"])) {
    $_GET["error"] = "";
}
if (!in_array($_GET["error"], array("5", "6"))) {
    require "conf.php";
    checkLoginLang(false, true, "error.php");
    $seceneklerimiz = explode("-", ayarGetir("ayar5char"));
} else {
    header("Location: install.php");
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-9" />
<title>eOgr -<?php 
echo $metin[489];
?>
</title>
<link rel="shortcut icon" href="img/favicon.ico"/>
<link rel="stylesheet" href="theme/stilGenel.css" type="text/css" media="all" />
<script language="javascript" type="text/javascript" src="lib/fade.js"></script>
<style type="text/css">
* {
	font-family:Verdana, Geneva, sans-serif;
}
body {
	margin: 5px;
	padding: 10px;
Example #10
0
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.
*/
ob_start();
header("Cache-Control: no-cache, must-revalidate");
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Pragma: no-cache");
session_start();
$_SESSION['ready'] = TRUE;
require "conf.php";
$time = getmicrotime();
checkLoginLang(true, true, "dataRatingList.php");
$seciliTema = temaBilgisi();
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-9'/>
<link rel="alternate" type="application/rss+xml" title="eOgr RSS" href="rss.php" />
<meta http-equiv="cache-control" content="no-cache"/>
<meta http-equiv="pragma" content="no-cache"/>
<meta http-equiv="Expires" content="-1"/>
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<title>eOgr -<?php 
echo $metin[287];
?>
</title>
Example #11
0
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.
*/
@session_start();
header("Content-Type: text/html; charset=iso-8859-9");
require "conf.php";
checkLoginLang(true, true, "addWall.php");
//check_source();
/*
baglan2: parametresiz, 
veritabaný baðlantýsý
*/
function baglan2()
{
    global $_host;
    global $_username;
    global $_password;
    return @mysql_connect($_host, $_username, $_password);
}
if (!baglan2()) {
    die("<font id='hata'> L&#252;ften, 'veritaban&#305;' <a href=install.php>kurulumunu (installation)</a> yap&#305;n&#305;z!</font>");
}
Example #12
0
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("Expires: Sun, 1 Jan 2000 12:00:00 GMT");
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . "GMT");
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache");
ob_start();
// Buffer output
session_start();
$_SESSION['ready'] = TRUE;
require "conf.php";
$time = getmicrotime();
checkLoginLang(true, true, "stats.php");
$seciliTema = temaBilgisi();
include 'lib/graphs.inc.php';
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-9" />
<link rel="alternate" type="application/rss+xml" title="eOgr RSS" href="rss.php" />
<meta http-equiv="cache-control" content="no-cache"/>
<meta http-equiv="pragma" content="no-cache"/>
<meta http-equiv="Expires" content="-1"/>
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<title>eOgr -<?php 
echo $metin[197];
?>
Example #13
0
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.
*/
@session_start();
header("Content-Type: text/html; charset=iso-8859-9");
require "conf.php";
checkLoginLang(true, true, "oyCevap.php");
//check_source();
/*
baglan2: parametresiz, 
veritabaný baðlantýsý
*/
function baglan2()
{
    global $_host;
    global $_username;
    global $_password;
    return @mysql_connect($_host, $_username, $_password);
}
if (!baglan2()) {
    die("<font id='hata'> L&#252;ften, 'veritaban&#305;' <a href=install.php>kurulumunu (installation)</a> yap&#305;n&#305;z!</font>");
}
Example #14
0
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("Expires: Sun, 1 Jan 2000 12:00:00 GMT");
// header("Last-Modified: " . gmdate("D, d M Y H:i:s") . "GMT");
// header("Cache-Control: no-store, no-cache, must-revalidate");
// header("Cache-Control: post-check=0, pre-check=0", false);
// header("Pragma: no-cache");
session_start();
$_SESSION['ready'] = TRUE;
require "conf.php";
$time = getmicrotime();
checkLoginLang(false, true, "lessons.php");
$seciliTema = temaBilgisi();
ob_start();
// Buffer output
if (isset($_GET["mode"]) and !empty($_GET["mode"])) {
    if (in_array($_GET["mode"], array("1", "2", "3"))) {
        $eMode = $_GET["mode"];
        if ($eMode != "1") {
            $_SESSION["mode"] = $eMode;
        }
    } else {
        $eMode = "3";
    }
} else {
    if (isset($_SESSION["mode"])) {
        if (in_array($_SESSION["mode"], array("2", "3"))) {
Example #15
0
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.
*/
@session_start();
header("Content-Type: text/html; charset=iso-8859-9");
require "conf.php";
checkLoginLang(true, true, "delCevap.php");
//check_source();
/*
baglan2: parametresiz, 
veritabaný baðlantýsý
*/
function baglan2()
{
    global $_host;
    global $_username;
    global $_password;
    return @mysql_connect($_host, $_username, $_password);
}
if (!baglan2()) {
    die("<font id='hata'> L&#252;ften, 'veritaban&#305;' <a href=install.php>kurulumunu (installation)</a> yap&#305;n&#305;z!</font>");
}
Example #16
0
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 Fo4undation; either
version 3 of the License, or any later version. See the GNU
Lesser General Public License for more details.
*/
ob_start();
session_start();
$_SESSION['ready'] = TRUE;
require "conf.php";
$time = getmicrotime();
checkLoginLang(true, true, "readAnswer.php");
$seciliTema = temaBilgisi();
if (!check_source()) {
    die("<font id='hata'>{$metin['295']}</font>");
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-9'/>
<link rel="alternate" type="application/rss+xml" title="eOgr RSS" href="rss.php" />
<meta http-equiv="cache-control" content="no-cache"/>
<meta http-equiv="pragma" content="no-cache"/>
<meta http-equiv="Expires" content="-1"/>
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<title>eOgr</title>
Example #17
0
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.
*/
ob_start();
session_start();
$_SESSION['ready'] = TRUE;
require "conf.php";
$time = getmicrotime();
checkLoginLang(true, true, "friends.php");
if ($protect->check_request(getenv('REMOTE_ADDR'))) {
    // check the user
    @header("Location: error.php?error=4");
    die('<br/><img src="img/warning.png" border="0" style="vertical-align: middle;" alt="warning"/> ' . $metin[401] . "<br/>" . $metin[402]);
    // die there flooding
}
$seciliTema = temaBilgisi();
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-9'/>
<link rel="alternate" type="application/rss+xml" title="eOgr RSS" href="rss.php" />
<meta http-equiv="cache-control" content="no-cache"/>
<meta http-equiv="pragma" content="no-cache"/>
Example #18
0
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.
*/
ob_start();
header("Cache-Control: no-cache, must-revalidate");
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Pragma: no-cache");
session_start();
$_SESSION['ready'] = TRUE;
require "conf.php";
$time = getmicrotime();
checkLoginLang(true, true, "dataWorkList.php");
$seciliTema = temaBilgisi();
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-9'/>
<link rel="alternate" type="application/rss+xml" title="eOgr RSS" href="rss.php" />
<meta http-equiv="cache-control" content="no-cache"/>
<meta http-equiv="pragma" content="no-cache"/>
<meta http-equiv="Expires" content="-1"/>
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<title>eOgr -<?php 
echo $metin[186];
?>
</title>
Example #19
0
 * Copyright 2007-2009 Brian Kirchoff
 *
 * NicEdit is distributed under the terms of the MIT license
 * For more information visit http://nicedit.com/
 * Do not remove this copyright message
 *
 * nicUpload Reciever Script PHP Edition
 * @description: Save images uploaded for a users computer to a directory, and
 * return the URL of the image to the client for use in nicEdit
 * @author: Brian Kirchoff <*****@*****.**>
 * @sponsored by: DotConcepts (http://www.dotconcepts.net)
 * @version: 0.9.0
 */
session_start();
include "../conf.php";
checkLoginLang(true, true, "nicEdit.php");
define('NICUPLOAD_PATH', "../{$_uploadFolder}");
// Set the path (relative or absolute) to
// the directory to save image files
define('NICUPLOAD_URI', $_uploadFolder);
// Set the URL (relative or absolute) to
// the directory defined above
$nicupload_allowed_extensions = array('jpg', 'jpeg', 'png', 'gif', 'bmp');
// You should not need to modify below this line
$rfc1867 = function_exists('apc_fetch') && ini_get('apc.rfc1867');
if (!function_exists('json_encode')) {
    die('{"error" : "Image upload host does not have the required dependicies (json_encode/decode)"}');
}
$id = $_POST['APC_UPLOAD_PROGRESS'];
if (empty($id)) {
    $id = $_GET['id'];
Example #20
0
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.
*/
@session_start();
ob_start();
// Buffer output
@header("Content-Type: text/html; charset=iso-8859-9");
require "conf.php";
$time = getmicrotime();
checkLoginLang(true, true, "profil.php");
$seciliTema = temaBilgisi();
if (!check_source()) {
    die("<font id='hata'>{$metin['295']}</font>");
}
/*
baglan2:
veritabanýna baðlan
*/
function baglan2()
{
    global $_host;
    global $_username;
    global $_password;
    return @mysql_connect($_host, $_username, $_password);
}
Example #21
0
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.
*/
ob_start();
@session_start();
include "conf.php";
checkLoginLang(false, true, "fileDownload.php");
//if (!check_source()) die ("<font id='hata'>$metin[295]</font>");
$dosya = RemoveXSS($_GET["file"]);
$dosya = str_replace("..", "", $dosya);
$dosya = str_replace("/", "", $dosya);
$physicalFileName = $_uploadFolder . '/' . $dosya;
// security check
if (file_exists($physicalFileName)) {
    if (isset($_GET["islem"]) and $_GET["islem"] == "goster") {
        if (in_array(file_ext($dosya), $_filesToPlay)) {
            $oyna = "<iframe src=\"{$_source1}/player.php?id=" . RemoveXSS($_GET["id"]) . "\" frameborder=\"0\" scrolling=\"no\" width=\"470\" height=\"320\" align=\"middle\" marginheight=\"0\" allowtransparency=\"false\" style=\"background-color: white\"></iframe>";
            echo $oyna;
            echo "<p style='font-family:tahoma; font-size:12px;color:#f00;'>{$metin['676']} <br/><textarea cols=80 rows=4  style='font-family:tahoma; font-size:12px;color:#222;border:1px solid #555;'>{$oyna}</textarea></p>";
            die;
        }
        $content = dosyaGoster($dosya);
Example #22
0
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.
*/
ob_start();
@session_start();
require "../../conf.php";
checkLoginLang(true, true, "calendar.php");
$month = isset($_REQUEST['month']) ? RemoveXSS($_REQUEST['month']) : date('m');
$year = isset($_REQUEST['year']) ? RemoveXSS($_REQUEST['year']) : date('Y');
$get_date = mktime(0, 0, 0, $month, 1, $year);
$next_month = mktime(0, 0, 0, $month + 1, 1, $year);
$prev_month = mktime(0, 0, 0, $month - 1, 1, $year);
$next_m = date('m', $next_month);
$next_y = date('Y', $next_month);
$myEkle = "&my=0";
if (isset($_GET["my"])) {
    if ($_GET["my"] == "1") {
        $myEkle = "&my=1";
    }
}
if ($taraDili == "EN") {
    $next_month = "<a href=\"calendar.php?month={$next_m}&year={$next_y}{$myEkle}\" class=\"date_selector\" target=\"_self\">" . date('F', $next_month) . " &raquo;</a>";
Example #23
0
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.
*/
@session_start();
header("Content-Type: text/html; charset=utf-8");
require "conf.php";
checkLoginLang(false, true, "dataFill.php");
if (isset($_GET["okul"])) {
    echo iconv("ISO-8859-9", "UTF-8", sinifAdlari($_GET["okul"]));
} elseif (isset($_GET["sinif"]) and isset($_GET["okuldan"]) and $_GET["okuldan"] == "1") {
    echo iconv("ISO-8859-9", "UTF-8", dersAdlari($_GET["sinif"], 1));
    //1=okuldan parametresi
} elseif (isset($_GET["sinif"])) {
    echo iconv("ISO-8859-9", "UTF-8", dersAdlari($_GET["sinif"], 0));
    //0=t�m s�n�flar
} elseif (isset($_GET["ders"]) and isset($_GET["okuldan"]) and $_GET["okuldan"] == "2") {
    echo iconv("ISO-8859-9", "UTF-8", konuAdlari($_GET["ders"], 2));
    //2=okuldan
} elseif (isset($_GET["ders"]) and isset($_GET["siniftan"]) and $_GET["siniftan"] == "1") {
    echo iconv("ISO-8859-9", "UTF-8", konuAdlari($_GET["ders"], 1));
    //1=s�n�ftan
} elseif (isset($_GET["ders"])) {
Example #24
0
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("Expires: Sun, 1 Jan 2000 12:00:00 GMT");
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . "GMT");
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache");
session_start();
$_SESSION['ready'] = TRUE;
require "conf.php";
$time = getmicrotime();
checkLoginLang(true, true, "kursDetay.php");
check_source();
$seciliTema = temaBilgisi();
ob_start();
// Buffer output
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-9" />
<link rel="alternate" type="application/rss+xml" title="eOgr RSS" href="rss.php" />
<meta http-equiv="cache-control" content="no-cache"/>
<meta http-equiv="pragma" content="no-cache"/>
<meta http-equiv="Expires" content="-1"/>
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<title>eOgr - <?php 
Example #25
0
<?php

/*
the returned xml has the following structure
<results>
	<rs>foo</rs>
	<rs>bar</rs>
</results>
*/
@session_start();
include "../../conf.php";
checkLoginLang(true, true, "test2.php");
if (!check_source()) {
    die("<font id='hata'>{$metin['295']}</font>");
}
$taraDili = isset($_COOKIE["lng"]) ? $_COOKIE["lng"] : "";
if (!($taraDili == "TR" || $taraDili == "EN")) {
    $taraDili = "EN";
}
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"])));
}
Example #26
0
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.
*/
ob_start();
@session_start();
$_SESSION['ready'] = TRUE;
require "conf.php";
$time = getmicrotime();
checkLoginLang(true, true, "fileShare.php");
$seciliTema = temaBilgisi();
if (isset($_GET['show'])) {
    if (in_array($_GET['show'], array(1, 2))) {
        if ($_GET['show'] == 1) {
            $content = dosyaGoster('index.php');
        } else {
            if ($_GET['show'] == 2) {
                $content = dosyaGoster('.htaccess');
            } else {
                $content = "boþ";
            }
        }
        header("Content-Type: text/html");
        echo $content;
        die('');
Example #27
0
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.
*/
@session_start();
header("Content-Type: text/html; charset=iso-8859-9");
require "conf.php";
checkLoginLang(true, true, "askForFriendship2.php");
$kisi = RemoveXSS($_POST["kisi"]);
$kabul = RemoveXSS($_POST["kabul"]);
/*
baglan2: parametresiz, 
veritabaný baðlantýsý
*/
function baglan2()
{
    global $_host;
    global $_username;
    global $_password;
    return @mysql_connect($_host, $_username, $_password);
}
if (!baglan2()) {
    die("<font id='hata'> L&#252;ften, 'veritaban&#305;' <a href=install.php>kurulumunu (installation)</a> yap&#305;n&#305;z!</font>");
Example #28
0
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.
*/
ob_start();
// Buffer output
session_start();
$_SESSION['ready'] = TRUE;
require "conf.php";
$time = getmicrotime();
checkLoginLang(false, true, "newUser.php");
$seciliTema = temaBilgisi();
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-9" />
<link rel="alternate" type="application/rss+xml" title="eOgr RSS" href="rss.php" />
<meta http-equiv="cache-control" content="no-cache"/>
<meta http-equiv="pragma" content="no-cache"/>
<meta http-equiv="Expires" content="-1"/>
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<title>eOgr -<?php 
echo $metin[64];
?>
</title>
Example #29
0
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("Expires: Sun, 1 Jan 2000 12:00:00 GMT");
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . "GMT");
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache");
ob_start();
// Buffer output
session_start();
$_SESSION['ready'] = TRUE;
require "conf.php";
$time = getmicrotime();
checkLoginLang(true, true, "mail.php");
//  check_source();
$seciliTema = temaBilgisi();
if ($protect->check_request(getenv('REMOTE_ADDR'))) {
    // check the user
    @header("Location: error.php?error=4");
    echo '<br/><img src="img/warning.png" border="0" style="vertical-align: middle;"/> &#220;zg&#252;n&#252;z, iste&#287;inize &#351;u anda cevap veremiyoruz.' . '<br/>L&#252;ften bir s&#252;re sonra <a href=' . $_SERVER['PHP_SELF'] . '>tekrar</a> deneyiniz!';
    // die there flooding
    $hata = true;
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-9" />
<link rel="alternate" type="application/rss+xml" title="eOgr RSS" href="rss.php" />
Example #30
0
        }
        if (!empty($_GET["lng"])) {
            if ($taraDili == "TR") {
                $taraDili = "EN";
            } else {
                if ($taraDili == "EN") {
                    $taraDili = "TR";
                } else {
                    $taraDili = "EN";
                }
            }
        }
        setcookie("lng", $taraDili, time() + 60 * 60 * 24 * 30);
    }
}
checkLoginLang(false, true, "index.php");
$seciliTema = temaBilgisi();
if (isset($_GET["logout"])) {
    if ($_GET["logout"] == "1") {
        sessionDestroy();
        unset($_SESSION["usern"]);
    }
}
if (isset($_GET["oldPath"])) {
    if (in_array($_GET["oldPath"], array("index.php", "lessons.php", "dataActions.php", "dataChatActions.php", "dataCommentList.php", "dataCommentList2.php", "dataRatingList.php", "dataWorkList.php", "dataWorkList2.php", "fileShare.php", "help.php", "kursDetay.php", "lessonsEdit.php", "login.php", "newUser.php", "passwordRemember.php", "rssEdit.php", "siteSettings.php", "siteSettings2.php", "siteSettings3.php", "stats.php", "userSettings.php", "siteNotices.php", "siteMap.php", "friends.php", "dataFriendActions.php", "askQuestion.php", "lessonsList.php", "install.php"))) {
        header("Location: " . $_GET["oldPath"]);
    } else {
        header("Location: index.php");
    }
}
if (isset($_GET["forgetMe"])) {