code stringlengths 1 2.01M | language stringclasses 1
value |
|---|---|
<?php
// Version: 2.0 RC5; Modlog
global $scripturl;
$txt['modlog_date'] = 'Date';
$txt['modlog_member'] = 'Member';
$txt['modlog_position'] = 'Position';
$txt['modlog_action'] = 'Action';
$txt['modlog_ip'] = 'IP';
$txt['modlog_search_result'] = 'Search Results';
$txt['modlog_total_entries'] = 'Total Entries';
$txt['... | PHP |
<?php
// Version: 2.0 RC5; ModerationCenter
global $scripturl;
$txt['moderation_center'] = 'Moderation Center';
$txt['mc_main'] = 'Main';
$txt['mc_posts'] = 'Posts';
$txt['mc_groups'] = 'Membergroups';
$txt['mc_view_groups'] = 'View Membergroups';
$txt['mc_description'] = 'This is your "Moderation Center"... | PHP |
<?php
// Version: 2.0 RC5; ManageBoards
$txt['boards_and_cats'] = 'Manage Boards and Categories';
$txt['order'] = 'Order';
$txt['full_name'] = 'Full name';
$txt['name_on_display'] = 'This is the name that will be displayed.';
$txt['boards_and_cats_desc'] = 'Edit your categories and boards here. List multiple moderator... | PHP |
<?php
// Version: 2.0 RC5; ManagePermissions
$txt['permissions_title'] = 'Manage Permissions';
$txt['permissions_modify'] = 'Modify';
$txt['permissions_view'] = 'View';
$txt['permissions_allowed'] = 'Allowed';
$txt['permissions_denied'] = 'Denied';
$txt['permission_cannot_edit'] = '<strong>Note:</strong> You cannot ed... | PHP |
<?php
// Version: 2.0 RC5; Login
global $context;
// Registration agreement page.
$txt['registration_agreement'] = 'Registration Agreement';
$txt['agreement_agree'] = 'I accept the terms of the agreement.';
$txt['agreement_agree_coppa_above'] = 'I accept the terms of the agreement and I am at least %1$d years old.';
... | PHP |
<?php
// Version: 2.0 RC5; ManageMaintenance
$txt['repair_zero_ids'] = 'Found topics and/or messages with topic or message IDs of 0.';
$txt['repair_missing_topics'] = 'Message #%1$d is in non-existent topic #%2$d.';
$txt['repair_missing_messages'] = 'Topic #%1$d contains no (actual) messages.';
$txt['repair_stats_topi... | PHP |
<?php
// Version: 2.0 RC5; Who
global $scripturl, $context;
$txt['who_hidden'] = '<em>Nothing, or nothing you can see...</em>';
$txt['who_unknown'] = '<em>Unknown Action</em>';
$txt['who_user'] = 'User';
$txt['who_time'] = 'Time';
$txt['who_action'] = 'Action';
$txt['who_show1'] = 'Show ';
$txt['who_show_members_only... | PHP |
<?php
// Try to handle it with the upper level index.php. (it should know what to do.)
if (file_exists(dirname(dirname(__FILE__)) . '/index.php'))
include (dirname(dirname(__FILE__)) . '/index.php');
else
exit;
?> | PHP |
<?php
// Version: 2.0 RC5; Admin
global $settings, $scripturl;
$txt['admin_boards'] = 'Boards';
$txt['admin_users'] = 'Members';
$txt['admin_newsletters'] = 'Newsletters';
$txt['admin_edit_news'] = 'News';
$txt['admin_groups'] = 'Membergroups';
$txt['admin_members'] = 'Manage Members';
$txt['admin_members_list'] = 'B... | PHP |
<?php
// Version: 2.0 RC5; Install
// These should be the same as those in index.language.php.
$txt['lang_character_set'] = 'ISO-8859-1';
$txt['lang_rtl'] = false;
$txt['install_step_welcome'] = 'Welcome';
$txt['install_step_writable'] = 'Writable Check';
$txt['install_step_forum'] = 'Forum Settings';
$txt['install_s... | PHP |
<?php
// Version: 2.0 RC5; Modifications
// **Start Custom Form Mod Text**
// Header and General text for the Custom Form Mod settings area.
$txt['CustomForm_generalsettings_heading'] = 'Custom Form Mod Settings';
$txt['CustomForm_tabheader'] = 'Custom Forms';
$txt['CustomForm_form'] = 'Form';
$txt['CustomForm_field']... | PHP |
<?php
// Version: 2.0 RC5; ManageCalendar
$txt['calendar_desc'] = 'From here you can modify all aspects of the calendar.';
// Calendar Settings
$txt['calendar_settings_desc'] = 'Here you can enable the calendar, and determine the settings that it should use.';
$txt['save_settings'] = 'Save Settings';
$txt['groups_cal... | PHP |
<?php
// Version: 2.0 RC5; Errors
global $scripturl, $modSettings;
$txt['no_access'] = 'You are not allowed to access this section';
$txt['wireless_error_notyet'] = 'Sorry, this section isn\'t available for wireless users at this time.';
$txt['mods_only'] = 'Only Moderators can use the direct remove function, please... | PHP |
<?php
// Version: 2.0 RC5; Wireless
$txt['wireless_error_home'] = 'Board index';
$txt['wireless_options'] = 'Additional options';
$txt['wireless_options_login'] = 'Login';
$txt['wireless_options_logout'] = 'Logout';
$txt['wireless_navigation'] = 'Navigation';
$txt['wireless_navigation_up'] = 'Up one level';
$txt['wi... | PHP |
<?php
// Version: 2.0 RC5; ManageMail
$txt['mailqueue_desc'] = 'From this page you can configure your mail settings, as well as viewing and administrating the current mail queue if it is enabled.';
$txt['mail_type'] = 'Mail type';
$txt['mail_type_default'] = '(PHP default)';
$txt['smtp_host'] = 'SMTP server';
$txt['s... | PHP |
<?php
// Version: 2.0 RC5; Help
global $helptxt;
$txt['close_window'] = 'Close window';
// **Start Custom Form Mod Help Text**
// Help text for the general settings page.
$helptxt['CustomForm_view_perms'] = 'This setting allows you to restrict the member groups that can see the list of the forms which they can acces... | PHP |
<?php
// Version: 2.0 RC5; ManageSmileys
$txt['smiley_sets_save'] = 'Save Changes';
$txt['smiley_sets_add'] = 'New smiley Set';
$txt['smiley_sets_delete'] = 'Delete selected';
$txt['smiley_sets_confirm'] = 'Are you sure you want to remove these smiley sets?\\n\\nNote: This won\\\'t remove the images, just the choices.... | PHP |
<?php
/**
* @file PortaMx.english.php
* Language file PortaMx.english
*
* @author PortaMx - Portal Management Extension
* @author Copyright 2008-2011 by PortaMx - http://portamx.com
* @Version: 1.0 RC4
* @Date: 23.02.2011
*/
$txt['forum'] = 'Forums';
$txt['pmx_button'] = 'PortaMx';
$txt['pmx_managers'] = 'Your PortaMx... | PHP |
<?php
/**
* @file index.php
* Supress direct acceess to the directory.
*
* @author PortaMx - Portal Management Extension
* @author Copyright 2008-2011 by PortaMx - http://portamx.com
* @Version: 1.0 RC4
* @Date: 23.02.2011
*/
if(file_exists(realpath('../../../../Settings.php')))
{
require(realpath('../../../../Settin... | PHP |
<?php
/**
* @file Admin.english.php
* Language file Admin.english
*
* @author PortaMx - Portal Management Extension
* @author Copyright 2008-2011 by PortaMx - http://portamx.com
* @Version: 1.0 RC4
* @Date: 23.02.2011
*/
// Admin Center
$txt['pmx_admin_center'] = 'PortaMx Administration Center';
$txt['pmx_admin_main_w... | PHP |
<?php
/**
* @file AdminBlocks.english.php
* Language file AdminBlocks.english
*
* @author PortaMx - Portal Management Extension
* @author Copyright 2008-2011 by PortaMx - http://portamx.com
* @Version: 1.0 RC4
* @Date: 23.02.2011
*/
// Block description
$txt['pmx_boardnews_description'] = 'Board News';
$txt['pmx_downl... | PHP |
<?php
/**
* @file AdminSettings.english.php
* Language file AdminSettings.english
*
* @author PortaMx - Portal Management Extension
* @author Copyright 2008-2011 by PortaMx - http://portamx.com
* @Version: 1.0 RC4
* @Date: 23.02.2011
*/
// AdminSettings
$txt['pmx_admSet_globals'] = 'Global settings';
$txt['pmx_admSet_... | PHP |
<?php
// Version: 2.0 RC5; Reports
$txt['generate_reports_desc'] = 'From this section you can generate a variety of reports to assist in the administration of your forum. Simply follow the steps below to select the option of your choice.';
$txt['generate_reports_continue'] = 'Continue';
$txt['generate_reports_type'] =... | PHP |
<?php
// Version: 2.0 RC5; Manual
/* Everything in this file is for the Simple Machines help manual
If you are looking at translating the manual into another language
please visit the Simple Machines website for tools to assist! */
$txt['manual_smf_user_help'] = 'SMF User Help';
$txt['manual_welcome'] = 'Welco... | PHP |
<?php
// Version: 2.0 RC5; Packages
$txt['package_proceed'] = 'Proceed';
$txt['php_script'] = 'Modification file was extracted, but this modification also comes with a PHP script which should be executed before it will work';
$txt['package_run'] = 'Run';
$txt['package_read'] = 'Read';
$txt['script_output'] = 'Script o... | PHP |
<?php
// Version: 2.0 RC5; Themes
$txt['themeadmin_explain'] = 'Themes are the different looks and feels of your forum. These settings affect the selection of themes, and which themes guests and other members use.';
$txt['theme_allow'] = 'Allow members to select their own themes.';
$txt['theme_guests'] = 'Overall fo... | PHP |
<?php
// Version: 2.0 RC5; Post
global $context;
$txt['post_reply'] = 'Post reply';
$txt['enter_verification_details'] = 'Complete verification details';
$txt['message_icon'] = 'Message icon';
$txt['subject_not_filled'] = 'The Subject field was not filled out. It is required.';
$txt['message_body_not_filled'] = 'The ... | PHP |
<?php
// Version: 2.0 RC5; Profile
global $scripturl, $context;
$txt['no_profile_edit'] = 'You are not allowed to change this person\'s profile.';
$txt['website_title'] = 'Website title';
$txt['website_url'] = 'Website URL';
$txt['signature'] = 'Signature';
$txt['profile_posts'] = 'Posts';
$txt['change_profile'] = 'C... | PHP |
<?php
// Version: 2.0 RC5; ManagePaid
global $boardurl;
// Symbols.
$txt['usd_symbol'] = '$%1.2f';
$txt['eur_symbol'] = '€%1.2f';
$txt['gbp_symbol'] = '£%1.2f';
$txt['usd'] = 'USD ($)';
$txt['eur'] = 'EURO (€)';
$txt['gbp'] = 'GBP (£)';
$txt['other'] = 'Other';
$txt['paid_username'] = 'Usernam... | PHP |
<?php
// Version: 2.0 RC5; ManageScheduledTasks
$txt['scheduled_tasks_title'] = 'Scheduled Tasks';
$txt['scheduled_tasks_header'] = 'All Scheduled Tasks';
$txt['scheduled_tasks_name'] = 'Task Name';
$txt['scheduled_tasks_next_time'] = 'Next Due';
$txt['scheduled_tasks_regularity'] = 'Regularity';
$txt['scheduled_tasks... | PHP |
<?php
// Version: 2.0 RC5; ManageMembers
global $context;
$txt['groups'] = 'Groups';
$txt['viewing_groups'] = 'Viewing Membergroups';
$txt['membergroups_title'] = 'Manage Membergroups';
$txt['membergroups_description'] = 'Membergroups are groups of members that have similar permission settings, appearance, or access... | PHP |
<?php
// Version: 2.0 RC5; Settings
global $settings;
$txt['theme_thumbnail_href'] = $settings['images_url'] . '/thumbnail.gif';
$txt['theme_description'] = 'The default theme from Simple Machines.<br /><br />Author: The Simple Machines Team';
?> | PHP |
<?php
// Version: 2.0 RC5; EmailTemplates
// Since all of these strings are being used in emails, numeric entities should be used.
// Do not translate anything that is between {}, they are used as replacement variables and MUST remain exactly how they are.
// Additionally do not translate the @additioinal_parmas: l... | PHP |
<?php
// Version: 2.0 RC5; Xml
function template_sendbody()
{
global $context, $settings, $options, $txt;
echo '<', '?xml version="1.0" encoding="', $context['character_set'], '"?', '>
<smf>
<message view="', $context['view'], '">', cleanXml($context['message']), '</message>
</smf>';
}
function template_quotefast... | PHP |
<?php
/**********************************************************************************
* SSI.php *
***********************************************************************************
* SMF: Simple Machines Forum ... | PHP |
<?php
// Try to handle it with the upper level index.php. (it should know what to do.)
if (file_exists(dirname(dirname(__FILE__)) . '/index.php'))
include (dirname(dirname(__FILE__)) . '/index.php');
else
exit;
?> | PHP |
<?php
// Try to handle it with the upper level index.php. (it should know what to do.)
if (file_exists(dirname(dirname(__FILE__)) . '/index.php'))
include (dirname(dirname(__FILE__)) . '/index.php');
else
exit;
?> | PHP |
<?php
// This file is here solely to protect your avatars directory.
// Look for Settings.php....
if (file_exists(dirname(dirname(__FILE__)) . '/Settings.php'))
{
// Found it!
require(dirname(dirname(__FILE__)) . '/Settings.php');
header('Location: ' . $boardurl);
}
// Can't find it... just forget it.
else
exit;
... | PHP |
<?php
/**
* @file index.php
* Supress direct acceess to the directory.
*
* @author PortaMx - Portal Management Extension
* @author Copyright 2008-2011 by PortaMx - http://portamx.com
* @Version: 1.0 RC4
* @Date: 23.02.2011
*/
if(file_exists(realpath('../../Settings.php')))
{
require(realpath('../../Settings.php'));
... | PHP |
<?php
/**
* @file index.php
* Supress direct acceess to the directory.
*
* @author PortaMx - Portal Management Extension
* @author Copyright 2008-2011 by PortaMx - http://portamx.com
* @Version: 1.0 RC4
* @Date: 23.02.2011
*/
if(file_exists(realpath('../../Settings.php')))
{
require(realpath('../../Settings.php'));
... | PHP |
<?php
/**
* @file index.php
* Supress direct acceess to the directory.
*
* @author PortaMx - Portal Management Extension
* @author Copyright 2008-2011 by PortaMx - http://portamx.com
* @Version: 1.0 RC4
* @Date: 23.02.2011
*/
if(file_exists(realpath('../Settings.php')))
{
require(realpath('../Settings.php'));
heade... | PHP |
<?php
/**
* @file index.php
* Supress direct acceess to the directory.
*
* @author PortaMx - Portal Management Extension
* @author Copyright 2008-2011 by PortaMx - http://portamx.com
* @Version: 1.0 RC4
* @Date: 23.02.2011
*/
if(file_exists(realpath('../../Settings.php')))
{
require(realpath('../../Settings.php'));
... | PHP |
<?php
$yhendus=new mysqli("localhost", "if13", "ifikad", "if13_seppkr");
if(isSet($_REQUEST["uusleht"])){
$kask=$yhendus->prepare("INSERT INTO parandused (kirjeldus, tehnik) VALUES (?, ?)");
$kask->bind_param("ss", $_REQUEST["kirjeldus"], $_REQUEST["tehnik"]);
$kask->execute();
header("Location: $_... | PHP |
<?php
$yhendus=new mysqli("localhost", "if13", "ifikad", "if13_seppkr");
$kask=$yhendus->prepare("SELECT COUNT(*), tehnik FROM parandused WHERE valmis = 0 GROUP BY tehnik;");
$kask->bind_result($COUNT, $tehnik);
$kask->execute();
?>
<!doctype html>
<html>
<table border="1">
<caption><b>Tegemata tööd</b></caption>
... | PHP |
<?php
$yhendus=new mysqli("localhost", "if13", "ifikad", "if13_seppkr");
session_start();
if(isSet($_REQUEST["kasutajanimi"])){
$kask=$yhendus->prepare(
"SELECT roll FROM kasutajad WHERE knimi=? AND paroolir2si=PASSWORD(?)");
$knimiparool=$_REQUEST["kasutajanimi"]."_".$_REQUEST["parool"];
$kask->bind_param("ss",... | PHP |
<?php
$yhendus=new mysqli("localhost", "if13", "ifikad", "if13_seppkr");
if(isSet($_REQUEST["uusleht"])){
$kask=$yhendus->prepare("INSERT INTO parandused (kirjeldus, tehnik) VALUES (?, ?)");
$kask->bind_param("ss", $_REQUEST["kirjeldus"], $_REQUEST["tehnik"]);
$kask->execute();
header("Location: $_... | PHP |
<?php
$yhendus=new mysqli("localhost", "if13", "ifikad", "if13_seppkr");
session_start();
if(isSet($_REQUEST["kasutajanimi"])){
$kask=$yhendus->prepare(
"SELECT roll FROM kasutajad WHERE knimi=? AND paroolir2si=PASSWORD(?)");
$knimiparool=$_REQUEST["kasutajanimi"]."_".$_REQUEST["parool"];
$ka... | PHP |
<?php
$yhendus=new mysqli("localhost", "if13", "ifikad", "if13_seppkr");
session_start();
if(isSet($_REQUEST["kasutajanimi"])){
$kask=$yhendus->prepare(
"SELECT roll FROM kasutajad WHERE knimi=? AND paroolir2si=PASSWORD(?)");
$knimiparool=$_REQUEST["kasutajanimi"]."_".$_REQUEST["parool"];
$kask->bind_param("ss",... | PHP |
<?php
$yhendus=new mysqli("localhost", "if13", "ifikad", "if13_seppkr");
if(!empty($_REQUEST["kirjeldus"])){
$kask=$yhendus->prepare(
"INSERT INTO parandused(kirjeldus) VALUES(?)");
$kask->bind_param("s", $_REQUEST["kirjeldus"]);
$kask->execute();
echo $yhendus->error;
header("Location: $_SERVER[PHP... | PHP |
<?php
$yhendus=new mysqli("localhost", "if13", "ifikad", "if13_seppkr");
session_start();
if(isSet($_REQUEST["kasutajanimi"])){
$kask=$yhendus->prepare(
"SELECT roll FROM kasutajad WHERE knimi=? AND paroolir2si=PASSWORD(?)");
$knimiparool=$_REQUEST["kasutajanimi"]."_".$_REQUEST["parool"];
$kask->bind_param("ss"... | PHP |
<?php
session_start();
if(!isSet($_SESSION["kasutajanimi"])){
header("Location: sisselogimine.php");
exit();
}
if($_SESSION["roll"]!="haldur"){
header("Location: sisselogimine.php");
exit();
}
?> | PHP |
<?php
$yhendus=new mysqli("localhost", "if13", "ifikad", "if13_seppkr");
session_start();
if(isSet($_REQUEST["kasutajanimi"])){
$kask=$yhendus->prepare(
"SELECT roll FROM kasutajad WHERE knimi=? AND paroolir2si=PASSWORD(?)");
$knimiparool=$_REQUEST["kasutajanimi"]."_".$_REQUEST["parool"];
$kask->bind_param("ss",... | PHP |
<?php
$time=date("Y-m-d-H");
$data = $GLOBALS['HTTP_RAW_POST_DATA'];
$path = $time."/".$_GET[path]."\.txt";
if($data==""){return;}
$pathcopy=$path;
$new = array();
$token = strtok($pathcopy, "/");
array_push($new,$token);
while ($token !== false)
{
$token = strtok("/");
array_push($new,$token... | PHP |
<?php
$path = $_GET[path];
$fo = fopen($path,"r");
//echo "<".filesize($fo).">";
echo fpassthru($fo);
?>
| PHP |
<?php
/**
* XML-RPC protocol support for WordPress
* @version 2.9.1
* @license GPL v2 <./license.txt>
* @package WordPress
*/
/**
* Whether this is a XMLRPC Request
*
* @var bool
*/
define('XMLRPC_REQUEST', true);
// Some browser-embedded clients send cookies. We don't want them.
$_COOKIE = a... | PHP |
<?php
/**
* Main class.
*/
class AS3FlexDB
{
protected $_name = "as3flexdb";
protected $_version = "2.0.0";
protected $_username = "root";
protected $_password = "root";
const SELECT = "select";
const INSERT = "insert";
const UPDATE = "update";
const MULTIPLE = "multiple";
const DELETE... | PHP |
<?php
/**
* Main class.
*/
class AS3FlexDB
{
var $NAME = "as3flexdb";
var $VERSION = "2.0.0";
var $USERNAME = "root";
var $PASSWORD = "root";
var $SELECT = "select";
var $INSERT = "insert";
var $UPDATE = "update";
var $MULTIPLE = "multiple";
var $DELETE = "delete";
var $ERROR =... | PHP |
<?php
class Database
{
private $NAME = "databese";
private $VERSION = "1.0.0";
public function Database()
{
}
/**
* Execute a SQL statement to databse.
* @returns the result object.
*/
public function query($strQuery, $strUser, $strPass, $strHost, $strDB)
{
$rsConne... | PHP |
<?php
class Database
{
private $NAME = "databese";
private $VERSION = "1.0.0";
public function Database()
{
}
/**
* Execute a SQL statement to databse.
* @returns the result object.
*/
public function query($strQuery, $strUser, $strPass, $strHost, $strDB)
{
$rsConne... | PHP |
<?php
class Database
{
private $NAME = "databese";
private $VERSION = "1.0.0";
public function Database()
{
}
/**
* Execute a SQL statement to databse.
* @returns the result object.
*/
public function query($strQuery, $strUser, $strPass, $strHost, $strDB)
{
$rsConne... | PHP |
<?php
/**
* Main class.
*/
class AS3FlexDB
{
var $NAME = "as3flexdb";
var $VERSION = "2.0.0";
var $USERNAME = "root";
var $PASSWORD = "root";
var $SELECT = "select";
var $INSERT = "insert";
var $UPDATE = "update";
var $MULTIPLE = "multiple";
var $DELETE = "delete";
var $ERROR =... | PHP |
<?php
namespace crypto;
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* AES implementation in PHP (c) Chris Veness 2005-2011. Right of free use is granted for all */
/* commercial or non-commercial use under CC-BY licence. No warranty of any form is offere... | PHP |
<?php
namespace services;
/**
* Description of TestAPI
*
* @author aaulia
*/
class TestAPI {
//put your code here
public function getUser($uid) {
return 67890;
}
}
?>
| PHP |
<?php
define('ROOT', dirname(__FILE__));
define('AES_KEYWORD', 'dhub');
?>
| PHP |
<?php
if (!isset($_POST['request'])) {
exit;
}
require_once 'config.php';
require_once 'crypto/aes.php';
spl_autoload_register();
$request = \crypto\AESCtr::decrypt($_POST['request'], AES_KEYWORD, 256);
$request = json_decode($request, true);
if ($request == null) {
exit;
}
$object = new $request['class'](... | PHP |
<?php
| PHP |
<?php
/**
* @property string data
* @property int position
* @property int bytesAvailable
* @property int length
* @property boolean useTwosComplement
*/
class Bytes{
const SIGN_BIT = 0x80;
const BYTE_LENGTH = 8;
const BYTE_MASK = 0xFF;
const UNSIGNED_MASK = 0x7F;
/**
* @var string
*/
pr... | PHP |
<?php
/*
* UnitTesting: http://habrahabr.ru/post/56289/
*/
$args = null;
$predefinedCLAValues = array(
'true' => true,
'false' => false,
'null' => null
);
function readCommandlineArguments(){
global $args, $predefinedCLAValues;
$args = array();
$valuedArgs = array();
$argName = 'phpSelf';
f... | PHP |
<?php
class Bits{
private $_currentByte;
private $_bitsAvailable;
}
?> | PHP |
<?php
/**
* @property boolean endian
*/
class ByteArray extends Bytes implements IDataInput, IDataOutput{
const SHORT_LENGTH = 16;
const INT_LENGTH = 32;
protected $_endian;
public function __construct($data='', $endian=Endian::BIG_ENDIAN){
parent::__constructor($data);
$this->_endian = $endian;
}... | PHP |
<?php
class Endian{
const BIG_ENDIAN = 1;
const LITTLE_ENDIAN = 0;
}
?> | PHP |
<?php
session_start();
if(!($_SESSION["roll"]=="haldur" OR $_SESSION["roll"]=="tehnik")){
header("Location: login.php");
exit();
}
require("konf.php");
$kask=$yhendus->prepare(
"SELECT id, kirjeldus, aeg_algus, tehnik, kommentaar, valmis, aeg_lopp, date, DATEDIFF(aeg_lopp,aeg_algus)
FROM parandu... | PHP |
<?php
session_start();
if(!($_SESSION["roll"]=="haldur" OR $_SESSION["roll"]=="tehnik")){
header("Location: login.php");
exit();
}
require("konf.php");
date_default_timezone_set('Europe/Tallinn');
if(isSet($_REQUEST["done"])){
$kask=$yhendus->prepare(
"UPDATE parandused SET aeg_lopp=NOW(), v... | PHP |
<?php
session_start();
if(!($_SESSION["roll"]=="haldur")){
header("Location: login.php");
exit();
}
date_default_timezone_set('Europe/Tallinn');
require_once("konf.php");
if(isSet($_REQUEST["kustutusid"])){
$kask=$yhendus->prepare("DELETE FROM parandused WHERE id=?");
$kask->bind_param("i", $_REQUEST... | PHP |
<?php
$kask=$yhendus->prepare(
"SELECT id, tehnik, kirjeldus, date, DATEDIFF(aeg_lopp,aeg_algus), MAX(DATEDIFF(aeg_lopp,aeg_algus)) FROM parandused WHERE valmis=1 GROUP BY tehnik;");
$kask->bind_result($id, $tehnik, $kirjeldus, $date, $DATEDIFF, $MAX);
$kask->execute();
?>
<!doctype html>
<htm... | PHP |
<?php
$baasiaadress="localhost";
$baasikasutaja="if13";
$baasiparool="ifikad";
$baasinimi="if13_kleepeka";
$yhendus=new mysqli($baasiaadress, $baasikasutaja, $baasiparool, $baasinimi);
?> | PHP |
<?php
require_once("konf.php");
session_start();
if(isSet($_REQUEST["kasutajanimi"])){
$kask=$yhendus->prepare(
"SELECT roll FROM kasutajad WHERE knimi=? AND paroolir2si=PASSWORD(?)");
$knimiparool=$_REQUEST["kasutajanimi"]."_".$_REQUEST["parool"];
$kask->bind_param("ss", $_REQUEST["kasutajan... | PHP |
<?php
require_once("konf.php");
if(isSet($_REQUEST["sisestusnupp"])){
$kask=$yhendus->prepare(
"INSERT INTO parandused(kirjeldus, aeg_algus) VALUES (?, NOW())");
$kask->bind_param("s", $_REQUEST["kirjeldus"]);
$kask->execute();
$yhendus->close();
exit();
}
?>
<!doctype html>
<html>
<head>
<link rel="stylesheet... | PHP |
<?php
$lang['upload_userfile_not_set'] = "Unable to find a post variable called userfile.";
$lang['upload_file_exceeds_limit'] = "The uploaded file exceeds the maximum allowed size in your PHP configuration file.";
$lang['upload_file_exceeds_form_limit'] = "The uploaded file exceeds the maximum size allowed by the sub... | PHP |
<?php
$lang['cal_su'] = "Su";
$lang['cal_mo'] = "Mo";
$lang['cal_tu'] = "Tu";
$lang['cal_we'] = "We";
$lang['cal_th'] = "Th";
$lang['cal_fr'] = "Fr";
$lang['cal_sa'] = "Sa";
$lang['cal_sun'] = "Sun";
$lang['cal_mon'] = "Mon";
$lang['cal_tue'] = "Tue";
$lang['cal_wed'] = "Wed";
$lang['cal_thu'] = "Th... | PHP |
<?php
$lang['db_invalid_connection_str'] = 'Unable to determine the database settings based on the connection string you submitted.';
$lang['db_unable_to_connect'] = 'Unable to connect to your database server using the provided settings.';
$lang['db_unable_to_select'] = 'Unable to select the specified database: %s';
$... | PHP |
<?php
$lang['date_year'] = "Year";
$lang['date_years'] = "Years";
$lang['date_month'] = "Month";
$lang['date_months'] = "Months";
$lang['date_week'] = "Week";
$lang['date_weeks'] = "Weeks";
$lang['date_day'] = "Day";
$lang['date_days'] = "Days";
$lang['date_hour'] = "Hour";
$lang['date_hours'] = "Hours";
$lang['date_m... | PHP |
<?php
$lang['ut_test_name'] = 'Test Name';
$lang['ut_test_datatype'] = 'Test Datatype';
$lang['ut_res_datatype'] = 'Expected Datatype';
$lang['ut_result'] = 'Result';
$lang['ut_undefined'] = 'Undefined Test Name';
$lang['ut_file'] = 'File Name';
$lang['ut_line'] = 'Line Number';
$lang['ut_passed'] = 'Passed'... | PHP |
<?php
$lang['email_must_be_array'] = "The email validation method must be passed an array.";
$lang['email_invalid_address'] = "Invalid email address: %s";
$lang['email_attachment_missing'] = "Unable to locate the following email attachment: %s";
$lang['email_attachment_unreadable'] = "Unable to open this attachment: %... | PHP |
<?php
$lang['required'] = "The %s field is required.";
$lang['isset'] = "The %s field must have a value.";
$lang['valid_email'] = "The %s field must contain a valid email address.";
$lang['valid_emails'] = "The %s field must contain all valid email addresses.";
$lang['valid_url'] = "The %s field must contain ... | PHP |
<?php
$lang['migration_none_found'] = "No migrations were found.";
$lang['migration_not_found'] = "This migration could not be found.";
$lang['migration_multiple_version'] = "This are multiple migrations with the same version number: %d.";
$lang['migration_class_doesnt_exist'] = "The migration class \"%s\" could ... | PHP |
<?php
$lang['imglib_source_image_required'] = "You must specify a source image in your preferences.";
$lang['imglib_gd_required'] = "The GD image library is required for this feature.";
$lang['imglib_gd_required_for_props'] = "Your server must support the GD image library in order to determine the image properties.";
... | PHP |
<?php
$lang['ftp_no_connection'] = "Unable to locate a valid connection ID. Please make sure you are connected before peforming any file routines.";
$lang['ftp_unable_to_connect'] = "Unable to connect to your FTP server using the supplied hostname.";
$lang['ftp_unable_to_login'] = "Unable to login to your FTP serv... | PHP |
<?php
$lang['terabyte_abbr'] = "TB";
$lang['gigabyte_abbr'] = "GB";
$lang['megabyte_abbr'] = "MB";
$lang['kilobyte_abbr'] = "KB";
$lang['bytes'] = "Bytes";
/* End of file number_lang.php */
/* Location: ./system/language/english/number_lang.php */ | PHP |
<?php
$lang['profiler_database'] = 'DATABASE';
$lang['profiler_controller_info'] = 'CLASS/METHOD';
$lang['profiler_benchmarks'] = 'BENCHMARKS';
$lang['profiler_queries'] = 'QUERIES';
$lang['profiler_get_data'] = 'GET DATA';
$lang['profiler_post_data'] = 'POST DATA';
$lang['profiler_uri_string'] = 'URI STRING';
$la... | PHP |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
* CodeIgniter
*
* An open source application development framework for PHP 5.1.6 or newer
*
* @package CodeIgniter
* @author ExpressionEngine Dev Team
* @copyright Copyright (c) 2008 - 2011, EllisLab, Inc.
* @license http://codei... | PHP |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
* CodeIgniter
*
* An open source application development framework for PHP 5.1.6 or newer
*
* @package CodeIgniter
* @author ExpressionEngine Dev Team
* @copyright Copyright (c) 2008 - 2011, EllisLab, Inc.
* @license http://codei... | PHP |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
* CodeIgniter
*
* An open source application development framework for PHP 5.1.6 or newer
*
* @package CodeIgniter
* @author ExpressionEngine Dev Team
* @copyright Copyright (c) 2008 - 2011, EllisLab, Inc.
* @license http://codei... | PHP |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
* CodeIgniter
*
* An open source application development framework for PHP 5.1.6 or newer
*
* @package CodeIgniter
* @author ExpressionEngine Dev Team
* @copyright Copyright (c) 2008 - 2011, EllisLab, Inc.
* @license http://codei... | PHP |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
* CodeIgniter
*
* An open source application development framework for PHP 5.1.6 or newer
*
* @package CodeIgniter
* @author ExpressionEngine Dev Team
* @copyright Copyright (c) 2008 - 2011, EllisLab, Inc.
* @license http://codei... | PHP |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
* CodeIgniter
*
* An open source application development framework for PHP 5.1.6 or newer
*
* @package CodeIgniter
* @author ExpressionEngine Dev Team
* @copyright Copyright (c) 2008 - 2011, EllisLab, Inc.
* @license http://codei... | PHP |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
* CodeIgniter
*
* An open source application development framework for PHP 5.1.6 or newer
*
* @package CodeIgniter
* @author ExpressionEngine Dev Team
* @copyright Copyright (c) 2008 - 2011, EllisLab, Inc.
* @license http://codei... | PHP |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
* CodeIgniter
*
* An open source application development framework for PHP 5.1.6 or newer
*
* @package CodeIgniter
* @author ExpressionEngine Dev Team
* @copyright Copyright (c) 2008 - 2011, EllisLab, Inc.
* @license http://codei... | PHP |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
* CodeIgniter
*
* An open source application development framework for PHP 5.1.6 or newer
*
* @package CodeIgniter
* @author ExpressionEngine Dev Team
* @copyright Copyright (c) 2008 - 2011, EllisLab, Inc.
* @license http://codei... | PHP |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
* CodeIgniter
*
* An open source application development framework for PHP 5.1.6 or newer
*
* @package CodeIgniter
* @author ExpressionEngine Dev Team
* @copyright Copyright (c) 2008 - 2011, EllisLab, Inc.
* @license http://codei... | PHP |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.