PageRenderTime 1504ms queryTime 301ms sortTime 83ms getByIdsTime 328ms findMatchingLines 347ms

100+ results results for 'php chr repo:sammousa/valuematchbv-ls2' (1504 ms)

Not the results you expected?
twitter-timeline.php https://gitlab.com/memuller.web/wp_site | PHP | 470 lines
                    
107
                    
108		if ( ! empty( $instance['chrome'] ) && is_array( $instance['chrome'] ) ) {
                    
109			echo ' data-chrome="' . esc_attr( join( ' ', $instance['chrome'] ) ) . '"';
                    
379		<p>
                    
380			<label for="<?php echo $this->get_field_id( 'chrome-noheader' ); ?>">
                    
381				<?php esc_html_e( 'Layout Options:', 'jetpack' ); ?>
                    
414			<input
                    
415				type="checkbox"<?php checked( in_array( 'transparent', $instance['chrome'] ) ); ?>
                    
416				id="<?php echo $this->get_field_id( 'chrome-transparent' ); ?>"
                    
416				id="<?php echo $this->get_field_id( 'chrome-transparent' ); ?>"
                    
417				name="<?php echo $this->get_field_name( 'chrome' ); ?>[]"
                    
418				value="transparent"
                    
419			/>
                    
420			<label for="<?php echo $this->get_field_id( 'chrome-transparent' ); ?>">
                    
421				<?php esc_html_e( 'Transparent Background', 'jetpack' ); ?>
                    
                
configure-vhosts.html https://gitlab.com/haris4445/techarena | HTML | 251 lines
                    
5
                    
6    <!-- Always force latest IE rendering engine or request Chrome Frame -->
                    
7    <meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible">
                    
54              <li class="active"><a href="/dashboard/howto.html">HOW-TO Guides</a></li>
                    
55              <li class=""><a target="_blank" href="/dashboard/phpinfo.php">PHPInfo</a></li>
                    
56              <li class=""><a href="/phpmyadmin/">phpMyAdmin</a></li>
                    
                
runner.js https://gitlab.com/x33n/todomvc | JavaScript | 319 lines
                    
6 * Licensed under the MIT License at:
                    
7 * 		http://www.opensource.org/licenses/mit-license.php
                    
8 *
                    
20	 * The run function accepts a "testing" function that can be
                    
21	 * used to test asynchronous modules.  (Note: curl.js doesn't
                    
22	 * supply or advocate any particular testing framework.) If provided,
                    
39	 * parameter is not supplied by the developer, the setup function is
                    
40	 * assumed to be synchronous.
                    
41	 *
                    
                
search.php https://gitlab.com/alexprowars/bitrix | PHP | 532 lines
                    
120
                    
121		return self::filterCrmSearchResult($searchResult, $usersList);
                    
122	}
                    
138
                    
139		return self::filterCrmSearchResult($searchResult, $usersList);
                    
140	}
                    
141
                    
142	protected static function filterCrmSearchResult($searchResult, &$usersList)
                    
143	{
                    
147			{
                    
148				unset($searchResult[$value["crmEntity"]]);
                    
149			}
                    
181	{
                    
182		$searchResult = array();
                    
183
                    
                
MultishippingTest.php https://gitlab.com/yousafsyed/easternglamor | PHP | 271 lines
                    
1<?php
                    
2/**
                    
7
                    
8class MultishippingTest extends \PHPUnit_Framework_TestCase
                    
9{
                    
15    /**
                    
16     * @var \PHPUnit_Framework_MockObject_MockObject
                    
17     */
                    
20    /**
                    
21     * @var \PHPUnit_Framework_MockObject_MockObject
                    
22     */
                    
25    /**
                    
26     * @var \PHPUnit_Framework_MockObject_MockObject
                    
27     */
                    
30    /**
                    
31     * @var \PHPUnit_Framework_MockObject_MockObject
                    
32     */
                    
                
de_DE.js https://gitlab.com/wuhang2003/core | JavaScript | 123 lines
                    
10    "There is no error, the file uploaded with success" : "Es ist kein Fehler aufgetreten. Die Datei wurde erfolgreich hochgeladen.",
                    
11    "The uploaded file exceeds the upload_max_filesize directive in php.ini: " : "Die hochgeladene Datei überschreitet die upload_max_filesize-Vorgabe in php.ini",
                    
12    "The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form" : "Die Datei ist größer, als die MAX_FILE_SIZE-Vorgabe erlaubt, die im HTML-Formular spezifiziert ist",
                    
15    "Missing a temporary folder" : "Kein temporärer Ordner vorhanden",
                    
16    "Failed to write to disk" : "Fehler beim Schreiben auf die Festplatte",
                    
17    "Not enough storage available" : "Nicht genug Speicher vorhanden.",
                    
28    "Unable to upload {filename} as it is a directory or has 0 bytes" : "Die Datei {filename} kann nicht hochgeladen werden, da sie entweder ein Verzeichnis oder 0 Bytes groß ist",
                    
29    "Total file size {size1} exceeds upload limit {size2}" : "Die Gesamt-Größe {size1} überschreitet die Upload-Begrenzung {size2}",
                    
30    "Not enough free space, you are uploading {size1} but only {size2} is left" : "Nicht genügend freier Speicherplatz, Sie möchten {size1} hochladen, es sind jedoch nur noch {size2} verfügbar.",
                    
84    "A file or folder has been <strong>changed</strong>" : "Eine Datei oder ein Ordner wurde <strong>geändert</strong>",
                    
85    "Limit notifications about creation and changes to your <strong>favorite files</strong> <em>(Stream only)</em>" : "Benachrichtigungen über Neues und Änderungen auf Ihre <strong>favorisierten Dateien</strong> beschränken <em>(nur im Stream)</em>",
                    
86    "A file or folder has been <strong>deleted</strong>" : "Eine Datei oder ein Ordner wurde <strong>gelöscht</strong>",
                    
104    "Save" : "Speichern",
                    
105    "With PHP-FPM it might take 5 minutes for changes to be applied." : "Bei PHP-FPM kann es 5 Minuten dauern, bis Änderungen angewendet sind.",
                    
106    "Missing permissions to edit from here." : "Fehlende Berechtigungen um von hier aus zu bearbeiten.",
                    
                
u8g_dev_ssd1322_nhd31oled_bw.c https://gitlab.com/uc_projects/arduino_meter | C | 338 lines
                    
36  
                    
37  SSD130x       Monochrom OLED Controller
                    
38  SSD131x       Character OLED Controller
                    
56  http://www.newhavendisplay.com/app_notes/OLED_25664.txt 
                    
57  http://www.newhavendisplay.com/forum/viewtopic.php?f=15&t=3758
                    
58*/
                    
                
monaco.php https://gitlab.com/GethN7/monaco-port | PHP | 71 lines
                    
1<?php
                    
2/**
                    
8 * @author Inez Korczynski <inez@wikia.com>
                    
9 * @author Christian Williams
                    
10 * @author Daniel Friesen
                    
18	'name' => 'Monaco',
                    
19	'author' => array('Inez Korczynski', 'Christian Williams', '[http://mediawiki.org/wiki/User:Dantman Daniel Friesen]', '[http://doomwiki.org/wiki/User:Quasar James Haley]'),
                    
20	'descriptionmsg' => 'monaco-desc',
                    
24$wgValidSkinNames['monaco'] = 'Monaco';
                    
25$wgAutoloadClasses['SkinMonaco'] = dirname(__FILE__) . '/Monaco.skin.php';
                    
26$wgAutoloadClasses['MonacoSidebar'] = dirname(__FILE__) . '/MonacoSidebar.class.php';
                    
26$wgAutoloadClasses['MonacoSidebar'] = dirname(__FILE__) . '/MonacoSidebar.class.php';
                    
27$wgExtensionMessagesFiles['Monaco'] = dirname(__FILE__) . '/Monaco.i18n.php';
                    
28
                    
56
                    
57/* Bad Configs - These are left-over junk used inside Monaco.skin.php that should be slowly removed */
                    
58$wgSearchDefaultFulltext = false; // bad config
                    
                
SetTest.php https://gitlab.com/AlexandrSy/magento.xxx | PHP | 295 lines
                    
1<?php
                    
2/** 
                    
11 
                    
12class SetTest extends \PHPUnit_Framework_TestCase
                    
13{
                    
14    /**
                    
15     * @var \PHPUnit_Framework_MockObject_MockObject|Set
                    
16     */
                    
19    /**
                    
20     * @var \PHPUnit_Framework_MockObject_MockObject
                    
21     */
                    
24    /**
                    
25     * @var \PHPUnit_Framework_MockObject_MockObject
                    
26     */
                    
29    /**
                    
30     * @var \PHPUnit_Framework_MockObject_MockObject
                    
31     */
                    
                
file_helper.php https://gitlab.com/lisit1003/TTPHPServer | PHP | 479 lines
                    
1<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');
                    
2/**
                    
4 *
                    
5 * An open source application development framework for PHP 5.1.6 or newer
                    
6 *
                    
240
                    
241			// foreach (scandir($source_dir, 1) as $file) // In addition to being PHP5+, scandir() is simply not as fast
                    
242			while (FALSE !== ($file = readdir($fp)))
                    
298				case 'name':
                    
299					$fileinfo['name'] = substr(strrchr($file, DIRECTORY_SEPARATOR), 1);
                    
300					break;
                    
334 *
                    
335 * Translates a file extension into a mime type based on config/mimes.php.
                    
336 * Returns FALSE if it can't determine the type, or open the mime config file
                    
348	{
                    
349		$extension = strtolower(substr(strrchr($file, '.'), 1));
                    
350
                    
                
server.h https://gitlab.com/Blueprint-Marketing/hhvm | C Header | 407 lines
                    
2   +----------------------------------------------------------------------+
                    
3   | HipHop for PHP                                                       |
                    
4   +----------------------------------------------------------------------+
                    
6   +----------------------------------------------------------------------+
                    
7   | This source file is subject to version 3.01 of the PHP license,      |
                    
8   | that is bundled with this package in the file LICENSE, and is        |
                    
9   | available through the world-wide-web at the following url:           |
                    
10   | http://www.php.net/license/3_01.txt                                  |
                    
11   | If you did not receive a copy of the PHP license and are unable to   |
                    
12   | obtain it through the world-wide-web, please send a note to          |
                    
13   | license@php.net so we can mail you a copy immediately.               |
                    
14   +----------------------------------------------------------------------+
                    
16
                    
17#ifndef incl_HPHP_HTTP_SERVER_SERVER_H_
                    
18#define incl_HPHP_HTTP_SERVER_SERVER_H_
                    
                
SimpleHeaderSet.php https://gitlab.com/oytunistrator/92five | PHP | 387 lines
                    
1<?php
                    
2
                    
4 * This file is part of SwiftMailer.
                    
5 * (c) 2004-2009 Chris Corbyn
                    
6 *
                    
15 * @subpackage Mime
                    
16 * @author     Chris Corbyn
                    
17 */
                    
                
ibase_driver.php https://gitlab.com/javiier507/codeigniter | PHP | 396 lines
                    
1<?php
                    
2/**
                    
4 *
                    
5 * An open source application development framework for PHP
                    
6 *
                    
229			return $sql.' AND TRIM("RDB$RELATION_NAME") AS TABLE_NAME LIKE \''.$this->escape_like_str($this->dbprefix)."%' "
                    
230				.sprintf($this->_like_escape_str, $this->_like_escape_chr);
                    
231		}
                    
                
pagination.php https://gitlab.com/endomorphosis/OLAAaction | PHP | 120 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * @version		$Id: pagination.php 14401 2010-01-26 14:10:00Z louis $
                    
4 * @package		Joomla
                    
5 * @copyright	Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
                    
6 * @license		GNU/GPL, see LICENSE.php
                    
7 * Joomla! is free software. This version may have been modified pursuant
                    
10 * other free or open source software licenses.
                    
11 * See COPYRIGHT.php for copyright notices and details.
                    
12 */
                    
17/**
                    
18 * This is a file to add template specific chrome to pagination rendering.
                    
19 *
                    
                
index.py https://gitlab.com/xiaok/SaltAdmin | Python | 237 lines
                    
10def genToken(L):
                    
11    CharLib = map(chr,range(97,123)+range(65,91)+range(48,58))
                    
12    Str = []
                    
67        # 这里要从公网去解析
                    
68        url = "http://int.dpool.sina.com.cn/iplookup/iplookup.php?format=json&ip=" + LoginHost
                    
69        response = urllib2.urlopen(url)
                    
                
PageRepositoryTest.php https://gitlab.com/svillegas/magento2 | PHP | 282 lines
                    
1<?php
                    
2/**
                    
250
                    
251        $searchResult = $this->_webApiCall($serviceInfo, $requestData);
                    
252        $this->assertEquals(1, $searchResult['total_count']);
                    
252        $this->assertEquals(1, $searchResult['total_count']);
                    
253        $this->assertEquals($searchResult['items'][0][PageInterface::IDENTIFIER], $cmsPages['first']->getIdentifier());
                    
254    }
                    
                
timesbi.php https://gitlab.com/blackhawkelectronics/enventory | PHP | 19 lines
                    
1<?php
                    
2$type = 'Core';
                    
6$cw = array(
                    
7	chr(0)=>250,chr(1)=>250,chr(2)=>250,chr(3)=>250,chr(4)=>250,chr(5)=>250,chr(6)=>250,chr(7)=>250,chr(8)=>250,chr(9)=>250,chr(10)=>250,chr(11)=>250,chr(12)=>250,chr(13)=>250,chr(14)=>250,chr(15)=>250,chr(16)=>250,chr(17)=>250,chr(18)=>250,chr(19)=>250,chr(20)=>250,chr(21)=>250,
                    
8	chr(22)=>250,chr(23)=>250,chr(24)=>250,chr(25)=>250,chr(26)=>250,chr(27)=>250,chr(28)=>250,chr(29)=>250,chr(30)=>250,chr(31)=>250,' '=>250,'!'=>389,'"'=>555,'#'=>500,'$'=>500,'%'=>833,'&'=>778,'\''=>278,'('=>333,')'=>333,'*'=>500,'+'=>570,
                    
12	'n'=>556,'o'=>500,'p'=>500,'q'=>500,'r'=>389,'s'=>389,'t'=>278,'u'=>556,'v'=>444,'w'=>667,'x'=>500,'y'=>444,'z'=>389,'{'=>348,'|'=>220,'}'=>348,'~'=>570,chr(127)=>350,chr(128)=>500,chr(129)=>350,chr(130)=>333,chr(131)=>500,
                    
13	chr(132)=>500,chr(133)=>1000,chr(134)=>500,chr(135)=>500,chr(136)=>333,chr(137)=>1000,chr(138)=>556,chr(139)=>333,chr(140)=>944,chr(141)=>350,chr(142)=>611,chr(143)=>350,chr(144)=>350,chr(145)=>333,chr(146)=>333,chr(147)=>500,chr(148)=>500,chr(149)=>350,chr(150)=>500,chr(151)=>1000,chr(152)=>333,chr(153)=>1000,
                    
14	chr(154)=>389,chr(155)=>333,chr(156)=>722,chr(157)=>350,chr(158)=>389,chr(159)=>611,chr(160)=>250,chr(161)=>389,chr(162)=>500,chr(163)=>500,chr(164)=>500,chr(165)=>500,chr(166)=>220,chr(167)=>500,chr(168)=>333,chr(169)=>747,chr(170)=>266,chr(171)=>500,chr(172)=>606,chr(173)=>333,chr(174)=>747,chr(175)=>333,
                    
14	chr(154)=>389,chr(155)=>333,chr(156)=>722,chr(157)=>350,chr(158)=>389,chr(159)=>611,chr(160)=>250,chr(161)=>389,chr(162)=>500,chr(163)=>500,chr(164)=>500,chr(165)=>500,chr(166)=>220,chr(167)=>500,chr(168)=>333,chr(169)=>747,chr(170)=>266,chr(171)=>500,chr(172)=>606,chr(173)=>333,chr(174)=>747,chr(175)=>333,
                    
15	chr(176)=>400,chr(177)=>570,chr(178)=>300,chr(179)=>300,chr(180)=>333,chr(181)=>576,chr(182)=>500,chr(183)=>250,chr(184)=>333,chr(185)=>300,chr(186)=>300,chr(187)=>500,chr(188)=>750,chr(189)=>750,chr(190)=>750,chr(191)=>500,chr(192)=>667,chr(193)=>667,chr(194)=>667,chr(195)=>667,chr(196)=>667,chr(197)=>667,
                    
16	chr(198)=>944,chr(199)=>667,chr(200)=>667,chr(201)=>667,chr(202)=>667,chr(203)=>667,chr(204)=>389,chr(205)=>389,chr(206)=>389,chr(207)=>389,chr(208)=>722,chr(209)=>722,chr(210)=>722,chr(211)=>722,chr(212)=>722,chr(213)=>722,chr(214)=>722,chr(215)=>570,chr(216)=>722,chr(217)=>722,chr(218)=>722,chr(219)=>722,
                    
16	chr(198)=>944,chr(199)=>667,chr(200)=>667,chr(201)=>667,chr(202)=>667,chr(203)=>667,chr(204)=>389,chr(205)=>389,chr(206)=>389,chr(207)=>389,chr(208)=>722,chr(209)=>722,chr(210)=>722,chr(211)=>722,chr(212)=>722,chr(213)=>722,chr(214)=>722,chr(215)=>570,chr(216)=>722,chr(217)=>722,chr(218)=>722,chr(219)=>722,
                    
17	chr(220)=>722,chr(221)=>611,chr(222)=>611,chr(223)=>500,chr(224)=>500,chr(225)=>500,chr(226)=>500,chr(227)=>500,chr(228)=>500,chr(229)=>500,chr(230)=>722,chr(231)=>444,chr(232)=>444,chr(233)=>444,chr(234)=>444,chr(235)=>444,chr(236)=>278,chr(237)=>278,chr(238)=>278,chr(239)=>278,chr(240)=>500,chr(241)=>556,
                    
18	chr(242)=>500,chr(243)=>500,chr(244)=>500,chr(245)=>500,chr(246)=>500,chr(247)=>570,chr(248)=>500,chr(249)=>556,chr(250)=>556,chr(251)=>556,chr(252)=>556,chr(253)=>444,chr(254)=>500,chr(255)=>444);
                    
                
helveticai.php https://gitlab.com/blackhawkelectronics/enventory | PHP | 19 lines
                    
1<?php
                    
2$type = 'Core';
                    
6$cw = array(
                    
7	chr(0)=>278,chr(1)=>278,chr(2)=>278,chr(3)=>278,chr(4)=>278,chr(5)=>278,chr(6)=>278,chr(7)=>278,chr(8)=>278,chr(9)=>278,chr(10)=>278,chr(11)=>278,chr(12)=>278,chr(13)=>278,chr(14)=>278,chr(15)=>278,chr(16)=>278,chr(17)=>278,chr(18)=>278,chr(19)=>278,chr(20)=>278,chr(21)=>278,
                    
8	chr(22)=>278,chr(23)=>278,chr(24)=>278,chr(25)=>278,chr(26)=>278,chr(27)=>278,chr(28)=>278,chr(29)=>278,chr(30)=>278,chr(31)=>278,' '=>278,'!'=>278,'"'=>355,'#'=>556,'$'=>556,'%'=>889,'&'=>667,'\''=>191,'('=>333,')'=>333,'*'=>389,'+'=>584,
                    
12	'n'=>556,'o'=>556,'p'=>556,'q'=>556,'r'=>333,'s'=>500,'t'=>278,'u'=>556,'v'=>500,'w'=>722,'x'=>500,'y'=>500,'z'=>500,'{'=>334,'|'=>260,'}'=>334,'~'=>584,chr(127)=>350,chr(128)=>556,chr(129)=>350,chr(130)=>222,chr(131)=>556,
                    
13	chr(132)=>333,chr(133)=>1000,chr(134)=>556,chr(135)=>556,chr(136)=>333,chr(137)=>1000,chr(138)=>667,chr(139)=>333,chr(140)=>1000,chr(141)=>350,chr(142)=>611,chr(143)=>350,chr(144)=>350,chr(145)=>222,chr(146)=>222,chr(147)=>333,chr(148)=>333,chr(149)=>350,chr(150)=>556,chr(151)=>1000,chr(152)=>333,chr(153)=>1000,
                    
14	chr(154)=>500,chr(155)=>333,chr(156)=>944,chr(157)=>350,chr(158)=>500,chr(159)=>667,chr(160)=>278,chr(161)=>333,chr(162)=>556,chr(163)=>556,chr(164)=>556,chr(165)=>556,chr(166)=>260,chr(167)=>556,chr(168)=>333,chr(169)=>737,chr(170)=>370,chr(171)=>556,chr(172)=>584,chr(173)=>333,chr(174)=>737,chr(175)=>333,
                    
14	chr(154)=>500,chr(155)=>333,chr(156)=>944,chr(157)=>350,chr(158)=>500,chr(159)=>667,chr(160)=>278,chr(161)=>333,chr(162)=>556,chr(163)=>556,chr(164)=>556,chr(165)=>556,chr(166)=>260,chr(167)=>556,chr(168)=>333,chr(169)=>737,chr(170)=>370,chr(171)=>556,chr(172)=>584,chr(173)=>333,chr(174)=>737,chr(175)=>333,
                    
15	chr(176)=>400,chr(177)=>584,chr(178)=>333,chr(179)=>333,chr(180)=>333,chr(181)=>556,chr(182)=>537,chr(183)=>278,chr(184)=>333,chr(185)=>333,chr(186)=>365,chr(187)=>556,chr(188)=>834,chr(189)=>834,chr(190)=>834,chr(191)=>611,chr(192)=>667,chr(193)=>667,chr(194)=>667,chr(195)=>667,chr(196)=>667,chr(197)=>667,
                    
16	chr(198)=>1000,chr(199)=>722,chr(200)=>667,chr(201)=>667,chr(202)=>667,chr(203)=>667,chr(204)=>278,chr(205)=>278,chr(206)=>278,chr(207)=>278,chr(208)=>722,chr(209)=>722,chr(210)=>778,chr(211)=>778,chr(212)=>778,chr(213)=>778,chr(214)=>778,chr(215)=>584,chr(216)=>778,chr(217)=>722,chr(218)=>722,chr(219)=>722,
                    
16	chr(198)=>1000,chr(199)=>722,chr(200)=>667,chr(201)=>667,chr(202)=>667,chr(203)=>667,chr(204)=>278,chr(205)=>278,chr(206)=>278,chr(207)=>278,chr(208)=>722,chr(209)=>722,chr(210)=>778,chr(211)=>778,chr(212)=>778,chr(213)=>778,chr(214)=>778,chr(215)=>584,chr(216)=>778,chr(217)=>722,chr(218)=>722,chr(219)=>722,
                    
17	chr(220)=>722,chr(221)=>667,chr(222)=>667,chr(223)=>611,chr(224)=>556,chr(225)=>556,chr(226)=>556,chr(227)=>556,chr(228)=>556,chr(229)=>556,chr(230)=>889,chr(231)=>500,chr(232)=>556,chr(233)=>556,chr(234)=>556,chr(235)=>556,chr(236)=>278,chr(237)=>278,chr(238)=>278,chr(239)=>278,chr(240)=>556,chr(241)=>556,
                    
18	chr(242)=>556,chr(243)=>556,chr(244)=>556,chr(245)=>556,chr(246)=>556,chr(247)=>584,chr(248)=>611,chr(249)=>556,chr(250)=>556,chr(251)=>556,chr(252)=>556,chr(253)=>500,chr(254)=>556,chr(255)=>500);
                    
                
helveticab.php https://gitlab.com/blackhawkelectronics/enventory | PHP | 19 lines
                    
1<?php
                    
2$type = 'Core';
                    
6$cw = array(
                    
7	chr(0)=>278,chr(1)=>278,chr(2)=>278,chr(3)=>278,chr(4)=>278,chr(5)=>278,chr(6)=>278,chr(7)=>278,chr(8)=>278,chr(9)=>278,chr(10)=>278,chr(11)=>278,chr(12)=>278,chr(13)=>278,chr(14)=>278,chr(15)=>278,chr(16)=>278,chr(17)=>278,chr(18)=>278,chr(19)=>278,chr(20)=>278,chr(21)=>278,
                    
8	chr(22)=>278,chr(23)=>278,chr(24)=>278,chr(25)=>278,chr(26)=>278,chr(27)=>278,chr(28)=>278,chr(29)=>278,chr(30)=>278,chr(31)=>278,' '=>278,'!'=>333,'"'=>474,'#'=>556,'$'=>556,'%'=>889,'&'=>722,'\''=>238,'('=>333,')'=>333,'*'=>389,'+'=>584,
                    
12	'n'=>611,'o'=>611,'p'=>611,'q'=>611,'r'=>389,'s'=>556,'t'=>333,'u'=>611,'v'=>556,'w'=>778,'x'=>556,'y'=>556,'z'=>500,'{'=>389,'|'=>280,'}'=>389,'~'=>584,chr(127)=>350,chr(128)=>556,chr(129)=>350,chr(130)=>278,chr(131)=>556,
                    
13	chr(132)=>500,chr(133)=>1000,chr(134)=>556,chr(135)=>556,chr(136)=>333,chr(137)=>1000,chr(138)=>667,chr(139)=>333,chr(140)=>1000,chr(141)=>350,chr(142)=>611,chr(143)=>350,chr(144)=>350,chr(145)=>278,chr(146)=>278,chr(147)=>500,chr(148)=>500,chr(149)=>350,chr(150)=>556,chr(151)=>1000,chr(152)=>333,chr(153)=>1000,
                    
14	chr(154)=>556,chr(155)=>333,chr(156)=>944,chr(157)=>350,chr(158)=>500,chr(159)=>667,chr(160)=>278,chr(161)=>333,chr(162)=>556,chr(163)=>556,chr(164)=>556,chr(165)=>556,chr(166)=>280,chr(167)=>556,chr(168)=>333,chr(169)=>737,chr(170)=>370,chr(171)=>556,chr(172)=>584,chr(173)=>333,chr(174)=>737,chr(175)=>333,
                    
14	chr(154)=>556,chr(155)=>333,chr(156)=>944,chr(157)=>350,chr(158)=>500,chr(159)=>667,chr(160)=>278,chr(161)=>333,chr(162)=>556,chr(163)=>556,chr(164)=>556,chr(165)=>556,chr(166)=>280,chr(167)=>556,chr(168)=>333,chr(169)=>737,chr(170)=>370,chr(171)=>556,chr(172)=>584,chr(173)=>333,chr(174)=>737,chr(175)=>333,
                    
15	chr(176)=>400,chr(177)=>584,chr(178)=>333,chr(179)=>333,chr(180)=>333,chr(181)=>611,chr(182)=>556,chr(183)=>278,chr(184)=>333,chr(185)=>333,chr(186)=>365,chr(187)=>556,chr(188)=>834,chr(189)=>834,chr(190)=>834,chr(191)=>611,chr(192)=>722,chr(193)=>722,chr(194)=>722,chr(195)=>722,chr(196)=>722,chr(197)=>722,
                    
16	chr(198)=>1000,chr(199)=>722,chr(200)=>667,chr(201)=>667,chr(202)=>667,chr(203)=>667,chr(204)=>278,chr(205)=>278,chr(206)=>278,chr(207)=>278,chr(208)=>722,chr(209)=>722,chr(210)=>778,chr(211)=>778,chr(212)=>778,chr(213)=>778,chr(214)=>778,chr(215)=>584,chr(216)=>778,chr(217)=>722,chr(218)=>722,chr(219)=>722,
                    
16	chr(198)=>1000,chr(199)=>722,chr(200)=>667,chr(201)=>667,chr(202)=>667,chr(203)=>667,chr(204)=>278,chr(205)=>278,chr(206)=>278,chr(207)=>278,chr(208)=>722,chr(209)=>722,chr(210)=>778,chr(211)=>778,chr(212)=>778,chr(213)=>778,chr(214)=>778,chr(215)=>584,chr(216)=>778,chr(217)=>722,chr(218)=>722,chr(219)=>722,
                    
17	chr(220)=>722,chr(221)=>667,chr(222)=>667,chr(223)=>611,chr(224)=>556,chr(225)=>556,chr(226)=>556,chr(227)=>556,chr(228)=>556,chr(229)=>556,chr(230)=>889,chr(231)=>556,chr(232)=>556,chr(233)=>556,chr(234)=>556,chr(235)=>556,chr(236)=>278,chr(237)=>278,chr(238)=>278,chr(239)=>278,chr(240)=>611,chr(241)=>611,
                    
18	chr(242)=>611,chr(243)=>611,chr(244)=>611,chr(245)=>611,chr(246)=>611,chr(247)=>584,chr(248)=>611,chr(249)=>611,chr(250)=>611,chr(251)=>611,chr(252)=>611,chr(253)=>556,chr(254)=>611,chr(255)=>556);
                    
                
timesb.php https://gitlab.com/blackhawkelectronics/enventory | PHP | 19 lines
                    
1<?php
                    
2$type = 'Core';
                    
6$cw = array(
                    
7	chr(0)=>250,chr(1)=>250,chr(2)=>250,chr(3)=>250,chr(4)=>250,chr(5)=>250,chr(6)=>250,chr(7)=>250,chr(8)=>250,chr(9)=>250,chr(10)=>250,chr(11)=>250,chr(12)=>250,chr(13)=>250,chr(14)=>250,chr(15)=>250,chr(16)=>250,chr(17)=>250,chr(18)=>250,chr(19)=>250,chr(20)=>250,chr(21)=>250,
                    
8	chr(22)=>250,chr(23)=>250,chr(24)=>250,chr(25)=>250,chr(26)=>250,chr(27)=>250,chr(28)=>250,chr(29)=>250,chr(30)=>250,chr(31)=>250,' '=>250,'!'=>333,'"'=>555,'#'=>500,'$'=>500,'%'=>1000,'&'=>833,'\''=>278,'('=>333,')'=>333,'*'=>500,'+'=>570,
                    
12	'n'=>556,'o'=>500,'p'=>556,'q'=>556,'r'=>444,'s'=>389,'t'=>333,'u'=>556,'v'=>500,'w'=>722,'x'=>500,'y'=>500,'z'=>444,'{'=>394,'|'=>220,'}'=>394,'~'=>520,chr(127)=>350,chr(128)=>500,chr(129)=>350,chr(130)=>333,chr(131)=>500,
                    
13	chr(132)=>500,chr(133)=>1000,chr(134)=>500,chr(135)=>500,chr(136)=>333,chr(137)=>1000,chr(138)=>556,chr(139)=>333,chr(140)=>1000,chr(141)=>350,chr(142)=>667,chr(143)=>350,chr(144)=>350,chr(145)=>333,chr(146)=>333,chr(147)=>500,chr(148)=>500,chr(149)=>350,chr(150)=>500,chr(151)=>1000,chr(152)=>333,chr(153)=>1000,
                    
14	chr(154)=>389,chr(155)=>333,chr(156)=>722,chr(157)=>350,chr(158)=>444,chr(159)=>722,chr(160)=>250,chr(161)=>333,chr(162)=>500,chr(163)=>500,chr(164)=>500,chr(165)=>500,chr(166)=>220,chr(167)=>500,chr(168)=>333,chr(169)=>747,chr(170)=>300,chr(171)=>500,chr(172)=>570,chr(173)=>333,chr(174)=>747,chr(175)=>333,
                    
14	chr(154)=>389,chr(155)=>333,chr(156)=>722,chr(157)=>350,chr(158)=>444,chr(159)=>722,chr(160)=>250,chr(161)=>333,chr(162)=>500,chr(163)=>500,chr(164)=>500,chr(165)=>500,chr(166)=>220,chr(167)=>500,chr(168)=>333,chr(169)=>747,chr(170)=>300,chr(171)=>500,chr(172)=>570,chr(173)=>333,chr(174)=>747,chr(175)=>333,
                    
15	chr(176)=>400,chr(177)=>570,chr(178)=>300,chr(179)=>300,chr(180)=>333,chr(181)=>556,chr(182)=>540,chr(183)=>250,chr(184)=>333,chr(185)=>300,chr(186)=>330,chr(187)=>500,chr(188)=>750,chr(189)=>750,chr(190)=>750,chr(191)=>500,chr(192)=>722,chr(193)=>722,chr(194)=>722,chr(195)=>722,chr(196)=>722,chr(197)=>722,
                    
16	chr(198)=>1000,chr(199)=>722,chr(200)=>667,chr(201)=>667,chr(202)=>667,chr(203)=>667,chr(204)=>389,chr(205)=>389,chr(206)=>389,chr(207)=>389,chr(208)=>722,chr(209)=>722,chr(210)=>778,chr(211)=>778,chr(212)=>778,chr(213)=>778,chr(214)=>778,chr(215)=>570,chr(216)=>778,chr(217)=>722,chr(218)=>722,chr(219)=>722,
                    
16	chr(198)=>1000,chr(199)=>722,chr(200)=>667,chr(201)=>667,chr(202)=>667,chr(203)=>667,chr(204)=>389,chr(205)=>389,chr(206)=>389,chr(207)=>389,chr(208)=>722,chr(209)=>722,chr(210)=>778,chr(211)=>778,chr(212)=>778,chr(213)=>778,chr(214)=>778,chr(215)=>570,chr(216)=>778,chr(217)=>722,chr(218)=>722,chr(219)=>722,
                    
17	chr(220)=>722,chr(221)=>722,chr(222)=>611,chr(223)=>556,chr(224)=>500,chr(225)=>500,chr(226)=>500,chr(227)=>500,chr(228)=>500,chr(229)=>500,chr(230)=>722,chr(231)=>444,chr(232)=>444,chr(233)=>444,chr(234)=>444,chr(235)=>444,chr(236)=>278,chr(237)=>278,chr(238)=>278,chr(239)=>278,chr(240)=>500,chr(241)=>556,
                    
18	chr(242)=>500,chr(243)=>500,chr(244)=>500,chr(245)=>500,chr(246)=>500,chr(247)=>570,chr(248)=>500,chr(249)=>556,chr(250)=>556,chr(251)=>556,chr(252)=>556,chr(253)=>500,chr(254)=>556,chr(255)=>500);
                    
                
jqplot.pointLabels.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 362 lines
                    
6 *
                    
7 * Copyright (c) 2009-2011 Chris Leonello
                    
8 * jqPlot is currently available for use in all personal or commercial projects 
                    
8 * jqPlot is currently available for use in all personal or commercial projects 
                    
9 * under both the MIT (http://www.opensource.org/licenses/mit-license.php) and GPL 
                    
10 * version 2.0 (http://www.gnu.org/licenses/gpl-2.0.html) licenses. This means that you can 
                    
14 * know of any substantial use of jqPlot.  You can reach the author at: 
                    
15 * chris at jqplot dot com or see http://www.jqplot.com/info.php .
                    
16 *
                    
17 * If you are feeling kind and generous, consider supporting the project by
                    
18 * making a donation at: http://www.jqplot.com/donate.php .
                    
19 *
                    
                
jqplot.highlighter.min.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 57 lines
                    
6 *
                    
7 * Copyright (c) 2009-2011 Chris Leonello
                    
8 * jqPlot is currently available for use in all personal or commercial projects 
                    
8 * jqPlot is currently available for use in all personal or commercial projects 
                    
9 * under both the MIT (http://www.opensource.org/licenses/mit-license.php) and GPL 
                    
10 * version 2.0 (http://www.gnu.org/licenses/gpl-2.0.html) licenses. This means that you can 
                    
14 * know of any substantial use of jqPlot.  You can reach the author at: 
                    
15 * chris at jqplot dot com or see http://www.jqplot.com/info.php .
                    
16 *
                    
17 * If you are feeling kind and generous, consider supporting the project by
                    
18 * making a donation at: http://www.jqplot.com/donate.php .
                    
19 *
                    
28 *
                    
29 * included jsDate library by Chris Leonello:
                    
30 *
                    
                
inputfilter.php https://gitlab.com/endomorphosis/OLAAaction | PHP | 551 lines
                    
2/**
                    
3 *  @class: InputFilter (PHP4 & PHP5, with comments)
                    
4 * @project: PHP Input Filter
                    
5 * @date: 10-05-2005
                    
6 * @version: 1.2.2_php4/php5
                    
7 * @author: Daniel Morris
                    
7 * @author: Daniel Morris
                    
8 * @contributors: Gianpaolo Racca, Ghislain Picard, Marco Wandschneider, Chris
                    
9 * Tobin and Andrew Eddie.
                    
58	/**
                    
59	 * Method to be called by another php script. Processes for XSS and
                    
60	 * specified bad code.
                    
455		// convert decimal
                    
456		$source = preg_replace('/&#(\d+);/me', "chr(\\1)", $source); // decimal notation
                    
457		// convert hex
                    
                
SCP.php https://gitlab.com/xolotsoft/pumasruiz | PHP | 360 lines
                    
3/**
                    
4 * Pure-PHP implementation of SCP.
                    
5 *
                    
5 *
                    
6 * PHP versions 4 and 5
                    
7 *
                    
7 *
                    
8 * The API for this library is modeled after the API from PHP's {@link http://php.net/book.ftp FTP extension}.
                    
9 *
                    
11 * <code>
                    
12 * <?php
                    
13 *    include 'Net/SCP.php';
                    
13 *    include 'Net/SCP.php';
                    
14 *    include 'Net/SSH2.php';
                    
15 *
                    
                
core.php https://gitlab.com/digaotinfo/agendaLegislativa | PHP | 336 lines
                    
8 *
                    
9 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
                    
10 * Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org)
                    
15 * @copyright     Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org)
                    
16 * @link          http://cakephp.org CakePHP(tm) Project
                    
17 * @package       app.Config
                    
18 * @since         CakePHP(tm) v 0.2.9
                    
19 * @license       MIT License (http://www.opensource.org/licenses/mit-license.php)
                    
20 */
                    
152 * - `Session.defaults` - The default configuration set to use as a basis for your session.
                    
153 *    There are four builtins: php, cake, cache, database.
                    
154 * - `Session.handler` - Can be used to enable a custom session handler.  Expects an array of of callables,
                    
162 *
                    
163 * - 'php' - Uses settings defined in your php.ini.
                    
164 * - 'cake' - Saves session files in CakePHP's /tmp directory.
                    
                
PMA_relation_cleanup_test.php https://gitlab.com/trungthao379/phpmyadmin | PHP | 511 lines
                    
1<?php
                    
2/* vim: set expandtab sw=4 ts=4 sts=4: */
                    
3/**
                    
4 * tests for relation_cleanup.lib.php
                    
5 *
                    
5 *
                    
6 * @package PhpMyAdmin-test
                    
7 */
                    
13
                    
14require_once 'libraries/database_interface.inc.php';
                    
15
                    
15
                    
16require_once 'libraries/relation.lib.php';
                    
17require_once 'libraries/relation_cleanup.lib.php';
                    
23 *
                    
24 * this class is for testing relation_cleanup.lib.php functions
                    
25 *
                    
                
Database.php https://gitlab.com/blingbang2016/shop | PHP | 350 lines
                    
1<?php
                    
2/**
                    
9 * It is also available through the world-wide-web at this URL:
                    
10 * http://opensource.org/licenses/osl-3.0.php
                    
11 * If you did not receive a copy of the license and are unable to
                    
23 * @copyright  Copyright (c) 2006-2016 X.commerce, Inc. and affiliates (http://www.magento.com)
                    
24 * @license    http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
                    
25 */
                    
139
                    
140        $row = $adapter->fetchRow($select);
                    
141        if ($row) {
                    
250
                    
251        $data = $adapter->fetchRow($select);
                    
252        if (!$data) {
                    
284
                    
285        $data = $adapter->fetchRow($select);
                    
286        return (bool)$data;
                    
                
qrsplit.php https://gitlab.com/leoquiroa/TAC | PHP | 311 lines
                    
1<?php
                    
2/*
                    
2/*
                    
3 * PHP QR Code encoder
                    
4 *
                    
9 *
                    
10 * PHP QR Code is distributed under LGPL 3
                    
11 * Copyright (C) 2010 Dominik Dzienia <deltalab at poczta dot fm>
                    
287                    if (ord($this->dataStr[$p]) >= ord('a') && ord($this->dataStr[$p]) <= ord('z')) {
                    
288                        $this->dataStr[$p] = chr(ord($this->dataStr[$p]) - 32);
                    
289                    }
                    
                
access.php https://gitlab.com/JrLucena/moodle | PHP | 94 lines
                    
1<?php
                    
2// This file is part of Moodle - http://moodle.org/
                    
25 * @author     Nikolas Galanis
                    
26 * @author     Chris Scribner
                    
27 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
                    
                
video_types.h https://gitlab.com/jonnialva90/iridium-browser | C Header | 74 lines
                    
1// Copyright 2015 The Chromium Authors. All rights reserved.
                    
2// Use of this source code is governed by a BSD-style license that can be
                    
15// Pixel formats roughly based on FOURCC labels, see:
                    
16// http://www.fourcc.org/rgb.php and http://www.fourcc.org/yuv.php
                    
17// Logged to UMA, so never reuse values. Leave gaps if necessary.
                    
                
util.php https://gitlab.com/imxieke/XCloud | PHP | 280 lines
                    
1<?php
                    
2/*
                    
120    $charset=strtolower(mb_detect_encoding($str,$GLOBALS['config']['check_charset']));
                    
121    if (substr($str,0,3)==chr(0xEF).chr(0xBB).chr(0xBF)){
                    
122        $charset='utf-8';
                    
129
                    
130function php_env_check(){
                    
131    $L = $GLOBALS['L'];
                    
133    $base_path = get_path_this(BASIC_PATH).'/'; 
                    
134    if(!function_exists('iconv')) $error.= '<li>'.$L['php_env_error_iconv'].'</li>';
                    
135    if(!function_exists('mb_convert_encoding')) $error.= '<li>'.$L['php_env_error_mb_string'].'</li>';
                    
135    if(!function_exists('mb_convert_encoding')) $error.= '<li>'.$L['php_env_error_mb_string'].'</li>';
                    
136    if(!version_compare(PHP_VERSION,'5.0','>=')) $error.= '<li>'.$L['php_env_error_version'].'</li>';
                    
137    if(!function_exists('file_get_contents')) $error.='<li>'.$L['php_env_error_file'].'</li>';
                    
138    if(!path_writable(BASIC_PATH)) $error.= '<li>'.$base_path.'	'.$L['php_env_error_path'].'</li>';
                    
139    if(!path_writable(BASIC_PATH.'data')) $error.= '<li>'.$base_path.'data	'.$L['php_env_error_path'].'</li>';
                    
140    if(!path_writable(BASIC_PATH.'data/system')) $error.= '<li>'.$base_path.'data/system	'.$L['php_env_error_path'].'</li>';
                    
                
class.pop3.php https://gitlab.com/boxnia/NFU_MOVIL | PHP | 410 lines
                    
1<?php
                    
2/*~ class.pop3.php
                    
3.---------------------------------------------------------------------------.
                    
3.---------------------------------------------------------------------------.
                    
4|  Software: PHPMailer - PHP email class                                    |
                    
5|   Version: 5.2.1                                                          |
                    
25/**
                    
26 * PHPMailer - PHP POP Before SMTP Authentication Class
                    
27 * NOTE: Designed for use with PHP version 5 and up
                    
45 *
                    
46 * Specifically for PHPMailer to allow POP before SMTP authentication.
                    
47 * Does not yet work with APOP - if you have an APOP account, contact Richard Davey
                    
49 *
                    
50 * This class is based on the structure of the SMTP class originally authored by Chris Ryan
                    
51 *
                    
                
Makefile git://pkgs.fedoraproject.org/sblim-sfcb | Makefile | 509 lines
                    
28#  You can obtain a current copy of the Eclipse Public License from
                    
29#  http://www.opensource.org/licenses/eclipse-1.0.php
                    
30# 
                    
73DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
                    
74ACLOCAL = ${SHELL} /home/chris/work/code/sfcb-daily/missing --run aclocal-1.11
                    
75ALLOCA = 
                    
75ALLOCA = 
                    
76AMTAR = ${SHELL} /home/chris/work/code/sfcb-daily/missing --run tar
                    
77AR = ar
                    
77AR = ar
                    
78AUTOCONF = ${SHELL} /home/chris/work/code/sfcb-daily/missing --run autoconf
                    
79AUTOHEADER = ${SHELL} /home/chris/work/code/sfcb-daily/missing --run autoheader
                    
79AUTOHEADER = ${SHELL} /home/chris/work/code/sfcb-daily/missing --run autoheader
                    
80AUTOMAKE = ${SHELL} /home/chris/work/code/sfcb-daily/missing --run automake-1.11
                    
81AWK = gawk
                    
                
GifCreator.php https://gitlab.com/billyprice1/mc-skintools | PHP | 349 lines
                    
1<?php
                    
2
                    
9     * @author    Sybio (Clément Guillemain  / @Sybio01)
                    
10     * @license   http://opensource.org/licenses/gpl-license.php GNU Public License
                    
11     * @copyright Clément Guillemain
                    
214
                    
215            $Locals_ext = "!\xF9\x04" . chr(($this->dis << 2) + 0) . chr(($d >> 0) & 0xFF) . chr(($d >> 8) & 0xFF) . "\x0\x0";
                    
216
                    
224                    ) {
                    
225                        $Locals_ext = "!\xF9\x04" . chr(($this->dis << 2) + 1) . chr(($d >> 0) & 0xFF) . chr(($d >> 8) & 0xFF) . chr($j) . "\x0";
                    
226                        break;
                    
261                        $byte |= (ord($this->frameSources[0]{10}) & 0x07);
                    
262                        $Locals_img{9} = chr($byte);
                    
263                        $this->gif .= $Locals_ext . $Locals_img . $Locals_rgb . $Locals_tmp;
                    
323        public function encodeAsciiToChar($char) {
                    
324            return (chr($char & 0xFF) . chr(($char >> 8) & 0xFF));
                    
325        }
                    
                
jquery.ui.map.extensions.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 209 lines
                    
4 * Copyright (c) 2010 - 2011 Johan Säll Larsson
                    
5 * Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php
                    
6 *
                    
95		 * Retrieves a list of Places in a given area. The PlaceResultss passed to the callback are stripped-down versions of a full PlaceResult. A more detailed PlaceResult for each Place can be obtained by sending a Place Details request with the desired Place's reference value.
                    
96		 * @param placeSearchRequest:google.maps.places.PlaceSearchRequest, http://code.google.com/apis/maps/documentation/javascript/reference.html#PlaceSearchRequest
                    
97		 * @param callback:function(result:google.maps.places.PlaceResult, status:google.maps.places.PlacesServiceStatus), http://code.google.com/apis/maps/documentation/javascript/reference.html#PlaceResult
                    
98		 */
                    
99		placesSearch: function(placeSearchRequest, callback) {
                    
100			this.get('services > PlacesService', new google.maps.places.PlacesService(this.get('map'))).search(placeSearchRequest, callback);
                    
170		 * Retrieves a list of Places in a given area. The PlaceResultss passed to the callback are stripped-down versions of a full PlaceResult. A more detailed PlaceResult for each Place can be obtained by sending a Place Details request with the desired Place's reference value.
                    
171		 * @param placeSearchRequest:google.maps.places.PlaceSearchRequest, http://code.google.com/apis/maps/documentation/javascript/reference.html#PlaceSearchRequest
                    
172		 * @param callback:function(result:google.maps.places.PlaceResult, status:google.maps.places.PlacesServiceStatus), http://code.google.com/apis/maps/documentation/javascript/reference.html#PlaceResult
                    
173		 */
                    
174		/*placesSearch: function(placeSearchRequest, callback) {
                    
175			this.get('services > PlacesService', new google.maps.places.PlacesService(this.get('map'))).search(placeSearchRequest, callback);
                    
                
contact.html https://gitlab.com/jbeta/abemedia.de | HTML | 87 lines
                    
8    <h1 class="page-header">Kontakt</h1>
                    
9    <p class="lead">Wenn Sie Fragen haben oder mehr Informationen wünschen, können Sie uns gerne schreiben.</p>
                    
10    <div id="emailSent" class="alert alert-success hidden">Email send</div>
                    
32      <div class="form-group">
                    
33        <label for="message">Nachricht *</label>
                    
34        <textarea name="message" rows="5" class="form-control" required></textarea>
                    
36      <div class="form-group">
                    
37        <button type="submit" class="btn btn-primary btn-lg">Nachricht Senden</button>
                    
38        <input type='hidden' name='redirect_to' value='{{ site.url }}{{ page.url }}#sent' />
                    
48    <div class="box">
                    
49      <iframe src="//www.facebook.com/plugins/likebox.php?href=http%3A%2F%2Fwww.facebook.com%2Fabemedia&amp;colorscheme=light&amp;show_faces=false&amp;header=false&amp;stream=false&amp;show_border=false&amp;appId=189389074581514" scrolling="no" frameborder="0" style="border:none; overflow:hidden; height:72px; width:100%; margin:-8px -10px 0;" allowTransparency="true"></iframe>
                    
50    </div>
                    
                
MagicPropertyTrait.php https://gitlab.com/ViniciusP/project-games | PHP | 103 lines
                    
1<?php
                    
2/**
                    
10 * @copyright     Copyright (c) Brian Nesbitt <brian@nesbot.com>
                    
11 * @link          http://cakephp.org CakePHP(tm) Project
                    
12 * @license       http://www.opensource.org/licenses/mit-license.php MIT License
                    
13 */
                    
14namespace Cake\Chronos\Traits;
                    
15
                    
15
                    
16use Cake\Chronos\ChronosInterface;
                    
17use InvalidArgumentException;
                    
25    /**
                    
26     * Get a part of the ChronosInterface object
                    
27     *
                    
64            case $name === 'offsetHours':
                    
65                return $this->getOffset() / ChronosInterface::SECONDS_PER_MINUTE / ChronosInterface::MINUTES_PER_HOUR;
                    
66
                    
                
DbSearchTest.php https://gitlab.com/trungthao379/phpmyadmin | PHP | 270 lines
                    
12require_once 'libraries/database_interface.inc.php';
                    
13require_once 'test/PMATestCase.php';
                    
14
                    
20 *
                    
21 * @package PhpMyAdmin-test
                    
22 */
                    
114            . 'for "<i></i>" :</caption></table>',
                    
115            $this->object->getSearchResults()
                    
116        );
                    
163                . '</td><td><a name="browse_search" class="ajax" '
                    
164                . 'href="sql.php?db=pma&amp;table'
                    
165                . '=table1&amp;goto=db_sql.php&amp;pos=0&amp;is_js_confirmed=0&amp;'
                    
175                . '<a name="delete_search" class="ajax" href'
                    
176                . '="sql.php?db=pma&amp;table=table1&amp;goto=db_sql.php&amp;pos=0'
                    
177                . '&amp;is_js_confirmed=0&amp;sql_query=column2&amp;server=0&amp;'
                    
                
PhpTransliteration.php https://gitlab.com/geeta7/drupal | PHP | 288 lines
                    
1<?php
                    
2
                    
4 * @file
                    
5 * Contains \Drupal\Component\Transliteration\PhpTransliteration.
                    
6 *
                    
20 * The database comes from two types of files, both of which are searched for in
                    
21 * the PhpTransliteration::$dataDirectory directory. First, language-specific
                    
22 * overrides are searched (see PhpTransliteration::readLanguageOverrides()). If
                    
24 * transliteration character tables are searched (see
                    
25 * PhpTransliteration::readGenericData()). If looking up the character in the
                    
26 * generic table results in a NULL value, or an illegal character is
                    
28 */
                    
29class PhpTransliteration implements TransliterationInterface {
                    
30
                    
34   * The constructor sets this (by default) to subdirectory 'data' underneath
                    
35   * the directory where the class's PHP file resides.
                    
36   *
                    
                
WildfireFormatter.php https://gitlab.com/techniconline/kmc | PHP | 113 lines
                    
1<?php
                    
2
                    
19 * @author Eric Clemmons (@ericclemmons) <eric@uxdriven.com>
                    
20 * @author Christophe Coevoet <stof@notk.org>
                    
21 * @author Kirill chEbba Chebunin <iam@chebba.org>
                    
                
AntiFlood.php https://gitlab.com/nacridan/Nacridan | PHP | 132 lines
                    
1<?php
                    
2
                    
3/**
                    
4 * Anti-Flood plugin for Swift Mailer, a PHP Mailer class.
                    
5 *
                    
7 * @version	>= 2.0.0
                    
8 * @author	Chris Corbyn
                    
9 * @date	30th July 2006
                    
11 *
                    
12 * @copyright Copyright &copy; 2006 Chris Corbyn - All Rights Reserved.
                    
13 * @filesource
                    
33 *
                    
34 *    "Chris Corbyn" <chris@w3style.co.uk>
                    
35 *
                    
                
README.md https://gitlab.com/techniconline/kmc | Markdown | 90 lines
                    
1Guzzle, PHP HTTP client
                    
2=======================
                    
5
                    
6Guzzle is a PHP HTTP client that makes it easy to send HTTP requests and
                    
7trivial to integrate with web services.
                    
11  etc...
                    
12- Can send both synchronous and asynchronous requests using the same interface.
                    
13- Uses PSR-7 interfaces for requests, responses, and streams. This allows you
                    
16  environment and transport agnostic code; i.e., no hard dependency on cURL,
                    
17  PHP streams, sockets, or non-blocking event loops.
                    
18- Middleware system allows you to augment and compose client behavior.
                    
19
                    
20```php
                    
21$client = new GuzzleHttp\Client();
                    
31
                    
32// Send an asynchronous request.
                    
33$request = new \GuzzleHttp\Psr7\Request('GET', 'http://httpbin.org');
                    
                
MailboxHeader.php https://gitlab.com/oytunistrator/92five | PHP | 358 lines
                    
91     * $header->setNameAddresses(array(
                    
92     *  'chris@swiftmailer.org' => 'Chris Corbyn',
                    
93     *  'mark@swiftmailer.org' //No associated personal name
                    
118     * $header = new Swift_Mime_Headers_MailboxHeader('From',
                    
119     *  array('chris@swiftmailer.org' => 'Chris Corbyn',
                    
120     *  'mark@swiftmailer.org' => 'Mark Corbyn')
                    
123     * // array (
                    
124     * // 0 => Chris Corbyn <chris@swiftmailer.org>,
                    
125     * // 1 => Mark Corbyn <mark@swiftmailer.org>
                    
149     * $header = new Swift_Mime_Headers_MailboxHeader('From',
                    
150     *  array('chris@swiftmailer.org' => 'Chris Corbyn',
                    
151     *  'mark@swiftmailer.org' => 'Mark Corbyn')
                    
154     * // array (
                    
155     * // chris@swiftmailer.org => Chris Corbyn,
                    
156     * // mark@swiftmailer.org => Mark Corbyn
                    
                
BookmarkRepositoryTest.php https://gitlab.com/yousafsyed/easternglamor | PHP | 244 lines
                    
32    /**
                    
33     * @var \Magento\Ui\Api\Data\BookmarkSearchResultsInterface|\PHPUnit_Framework_MockObject_MockObject
                    
34     */
                    
34     */
                    
35    protected $searchResultsMock;
                    
36
                    
57
                    
58        $this->searchResultsMock = $this->getMockBuilder('Magento\Ui\Api\Data\BookmarkSearchResultsInterface')
                    
59            ->getMockForAbstractClass();
                    
59            ->getMockForAbstractClass();
                    
60        /** @var $searchResultsFactoryMock \Magento\Ui\Api\Data\BookmarkSearchResultsInterfaceFactory */
                    
61        $searchResultsFactoryMock = $this->getMockBuilder(
                    
63        )->disableOriginalConstructor()->setMethods(['create'])->getMock();
                    
64        $searchResultsFactoryMock->expects($this->any())->method('create')->willReturn($this->searchResultsMock);
                    
65
                    
                
config.php https://gitlab.com/alexprowars/bitrix | PHP | 112 lines
                    
1<?php
                    
2$MESS["BX_IM_COMPONENT_CALL_ALL_CHATS"] = "Alle Chats";
                    
40$MESS["BX_IM_COMPONENT_CALL_ERROR_KICK_FROM_CALL"] = "Sie wurden aus dieser Videokonferenz entfernt.";
                    
41$MESS["BX_IM_COMPONENT_CALL_ERROR_MAX_FILE_SIZE"] = "Maximale Dateigröße überschritten: (#LIMIT# MB).";
                    
42$MESS["BX_IM_COMPONENT_CALL_ERROR_MESSAGE_B24_ONLY"] = "Videokonferenz ist nur für Bitrix24 verfügbar.";
                    
                
view-about.php https://gitlab.com/endomorphosis/jeffersonsmithmayor | PHP | 106 lines
                    
6        <div class="inside">
                    
7        <p><?php _e( 'WP-Table Reloaded allows you to create and manage tables in the admin-area of WordPress.', WP_TABLE_RELOADED_TEXTDOMAIN ); ?> <?php _e( 'Those tables may contain strings, numbers and even HTML (e.g. to include images or links).', WP_TABLE_RELOADED_TEXTDOMAIN ); ?> <?php _e( 'You can then show the tables in your posts, on your pages or in text-widgets by using a shortcode.', WP_TABLE_RELOADED_TEXTDOMAIN ); ?> <?php _e( 'If you want to show your tables anywhere else in your theme, you can use a template tag function.', WP_TABLE_RELOADED_TEXTDOMAIN ); ?></p>
                    
8        </div>
                    
13        <div class="inside">
                    
14        <p><?php _e( 'At first you should add or import a table.', WP_TABLE_RELOADED_TEXTDOMAIN ); ?> <?php _e( 'This means that you either let the plugin create an empty table for you or that you load an existing table from either a CSV, XML or HTML file.', WP_TABLE_RELOADED_TEXTDOMAIN ); ?></p><p><?php _e( 'Then you can edit your data or change the structure of your table (e.g. by inserting or deleting rows or columns, swaping rows or columns or sorting them) and select specific table options like alternating row colors or whether to print the name or description, if you want.', WP_TABLE_RELOADED_TEXTDOMAIN ); ?> <?php _e( 'To easily add a link or an image to a cell, use the provided buttons. Those will ask you for the URL and a title. Then you can click into a cell and the corresponding HTML will be added to it for you.', WP_TABLE_RELOADED_TEXTDOMAIN ); ?></p><p><?php printf( __( 'To insert the table into a page, post or text-widget, copy the shortcode <strong>[table id=%s /]</strong> and paste it into the corresponding place in the editor.', WP_TABLE_RELOADED_TEXTDOMAIN ), '&lt;ID&gt;' ); ?> <?php printf( __( 'You can also select the desired table from a list (after clicking the button &quot;%s&quot; in the editor toolbar) and the corresponding shortcode will be added for you.', WP_TABLE_RELOADED_TEXTDOMAIN ), __( 'Table', WP_TABLE_RELOADED_TEXTDOMAIN ) ); ?></p><p><?php _e( 'Tables can be styled by changing and adding CSS commands.', WP_TABLE_RELOADED_TEXTDOMAIN ); ?> <?php _e( 'The plugin ships with default CSS Stylesheets, which can be customized with own code or replaced with other Stylesheets.', WP_TABLE_RELOADED_TEXTDOMAIN ); ?> <?php _e( 'For this, each table is given certain CSS classes that can be used as CSS selectors.', WP_TABLE_RELOADED_TEXTDOMAIN ); ?> <?php printf ( __( 'Please see the <a href="%s">documentation</a> for a list of these selectors and for styling examples.', WP_TABLE_RELOADED_TEXTDOMAIN ), 'http://tobias.baethge.com/go/wp-table-reloaded/documentation/' ); ?></p>
                    
15        </div>
                    
27        <div class="inside">
                    
28        <p><?php printf( __( '<a href="%s">Support</a> is provided through the <a href="%s">WordPress Support Forums</a>.', WP_TABLE_RELOADED_TEXTDOMAIN ), 'http://tobias.baethge.com/go/wp-table-reloaded/support/', 'http://www.wordpress.org/support/' ); ?> <?php printf( __( 'Before asking for support, please carefully read the <a href="%s">Frequently Asked Questions</a> where you will find answered to the most common questions, and search through the forums.', WP_TABLE_RELOADED_TEXTDOMAIN ), 'http://tobias.baethge.com/go/wp-table-reloaded/faq/' ); ?></p><p><?php printf( __( 'If you do not find an answer there, please <a href="%s">open a new thread</a> in the WordPress Support Forums with the tag &quot;wp-table-reloaded&quot;.', WP_TABLE_RELOADED_TEXTDOMAIN ), 'http://wordpress.org/tags/wp-table-reloaded' ); ?></p>
                    
29        </div>
                    
34        <div class="inside">
                    
35        <p><?php printf( __( 'This plugin was written by <a href="%s">Tobias B&auml;thge</a>.', WP_TABLE_RELOADED_TEXTDOMAIN ), 'http://tobias.baethge.com/' ); ?> <?php _e( 'It is licensed as Free Software under GPL 2.', WP_TABLE_RELOADED_TEXTDOMAIN ); ?><br/><?php printf( __( 'If you like the plugin, <a href="%s"><strong>a donation</strong></a> is recommended.', WP_TABLE_RELOADED_TEXTDOMAIN ), 'http://tobias.baethge.com/go/wp-table-reloaded/donate/' ); ?> <?php printf( __( 'Please rate the plugin in the <a href="%s">WordPress Plugin Directory</a>.', WP_TABLE_RELOADED_TEXTDOMAIN ), 'http://wordpress.org/extend/plugins/wp-table-reloaded/' ); ?><br/><?php _e( 'Donations and good ratings encourage me to further develop the plugin and to provide countless hours of support. Any amount is appreciated! Thanks!', WP_TABLE_RELOADED_TEXTDOMAIN ); ?></p>
                    
36        </div>
                    
98            <br/>&middot; WordPress: <?php echo $GLOBALS['wp_version']; ?>
                    
99            <br/>&middot; PHP: <?php echo phpversion(); ?>
                    
100            <br/>&middot; mySQL (Server): <?php echo mysql_get_server_info(); ?>
                    
                
view-car_type.php https://gitlab.com/zohaibsaleem/shipcliq | PHP | 120 lines
                    
48
                    
49include(TPATH_CLASS_GEN."admin.paging.inc.php");
                    
50
                    
101	
                    
102	if(!@in_array(chr($i),$AlphaChar)){
                    
103		$AlphaBox.= '<li ><a href="#" onclick="return false;"  id="alch_'.$i.'">'.chr($i).'</a></li>';
                    
104	}else{
                    
105		$AlphaBox.= '<li class="page"><a  href="javascript:void(0);" onclick="AlphaSearch(\''.chr($i).'\');" id="alch_'.$i.'" >'.chr($i).'</a></li>';
                    
106	}
                    
                
SQ_Loading.php https://gitlab.com/memuller.web/wp_site | PHP | 53 lines
                    
1<?php
                    
2
                    
20                    jQuery("#sq_preloading").addClass("sq_error")
                    
21                    jQuery("#sq_preloading").html("' . __('For Squirrly to work properly you have to use a higher version of Internet Explorer. <br /> We recommend you to use Chrome or Mozilla.', _SQ_PLUGIN_NAME_) . '");
                    
22                    jQuery("#sq_options").hide();
                    
30                    var sq_uri = "' . SQ_URI . '"; var sq_language = "' . get_bloginfo('language') . '";
                    
31                    var sq_version = "' . SQ_VERSION_ID . '";  var sq_wpversion = "' . WP_VERSION_ID . '";  var sq_phpversion = "' . PHP_VERSION_ID . '"; var sq_seoversion = "' . (SQ_Tools::$options['sq_sla'] + 1) . '";
                    
32                    var __postID = "' . $sq_postID . '";
                    
                
faction_online_log.php https://gitlab.com/xusasuke6/Slg_php | PHP | 97 lines
                    
1<?php
                    
2define('IN_DATANG_SYSTEM', true);
                    
2define('IN_DATANG_SYSTEM', true);
                    
3include "../../../config/config.php";
                    
4include SYSDIR_ROOT_CLIENT.'config/config.key.php';
                    
4include SYSDIR_ROOT_CLIENT.'config/config.key.php';
                    
5include "../../../admin/class/log_gold_class.php";
                    
6include SYSDIR_ADMIN.'/include/global.php';
                    
27          $u_end_time ;
                    
28$count_result = count(GFetchRowSet($sql_count));
                    
29
                    
45        . " order by mtime desc LIMIT ".$noterecs." , ".$pagesize;
                    
46$result_buf = GFetchRowSet($sql);
                    
47$result =array();
                    
70{
                    
71	$page = "<a href='faction_online_log.php?whichpage=".$fisrt."&dateStart=".$dateStart."&dateEnd=".$dateEnd."'>".$buf_lang['conmon']['home_page']."
                    
72
                    
                
index.php https://gitlab.com/joshuacurci/healthpredictions | PHP | 187 lines
                    
13  <div class="search-box">
                    
14    <form enctype="multipart/form-data" accept-charset="utf-8" method="post" action="<? echo base_url(); ?>index.php/specialists/search/">
                    
15      <div class="col-sm-3 search-box-item">
                    
16        <div class="search-field">
                    
17          <input type="text" class="form-control" id="inputrecNum1" placeholder="Individual Specialist's Name" name="spec_name" <? if(isset($searchresults)) { echo 'value = "'.$searchresults['spec_name'].'"';} ?> >
                    
18        </div>
                    
22        <div class="search-field">
                    
23          <input type="text" class="form-control" id="inputrecNum1" placeholder="Search by Specialist's Speciality" name="spec_profession" <? if(isset($searchresults)) { echo 'value = "'.$searchresults['spec_profession'].'"';} ?> >
                    
24        </div>
                    
28        <div class="search-field">
                    
29         <input type="text" class="form-control" id="inputrecNum1" placeholder="Search By Individual Specialist City" name="spec_city" <? if(isset($searchresults)) { echo 'value = "'.$searchresults['spec_city'].'"';} ?> >
                    
30       </div>
                    
79              <tr>
                    
80                <td style="width: 150px"><a href="<? echo base_url(); ?>index.php/specialists/view/<? echo $specialistData['specID']; ?>/" ><? echo $specialistData['spec_name']; ?></a></td>
                    
81                <td><? echo $specialistData['spec_address']; ?></td>
                    
                
print.c https://gitlab.com/0072016/appengine-php | C | 120 lines
                    
3 * Software written by Ian F. Darwin and others;
                    
4 * maintained 1995-present by Christos Zoulas and others.
                    
5 * 
                    
32#define _GNU_SOURCE
                    
33#include "php.h"
                    
34
                    
38#ifndef lint
                    
39FILE_RCSID("@(#)$File: print.c,v 1.76 2013/02/26 18:25:00 christos Exp $")
                    
40#endif  /* lint */
                    
50
                    
51#ifdef PHP_WIN32
                    
52# define asctime_r php_asctime_r
                    
52# define asctime_r php_asctime_r
                    
53# define ctime_r php_ctime_r
                    
54#endif
                    
                
variables_8php_source.html https://gitlab.com/zaverichintan/geometry_viewer | HTML | 127 lines
                    
75<iframe src="javascript:void(0)" frameborder="0" 
                    
76        name="MSearchResults" id="MSearchResults">
                    
77</iframe>
                    
84<div class="contents">
                    
85<a href="variables_8php.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;&lt;?php</div>
                    
86<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment">/*                     V A R I A B L E S . P H P</span></div>
                    
104<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="comment"> */</span></div>
                    
105<div class="line"><a name="l00026"></a><span class="lineno"><a class="line" href="variables_8php.html#a9b2aca73038168dc85a3fb6d6af948a8">   26</a></span>&#160;    <a class="code" href="variables_8php.html#a9b2aca73038168dc85a3fb6d6af948a8">$uploadPath</a> = <span class="stringliteral">&quot;user_accounts/$username&quot;</span>;</div>
                    
106<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;</div>
                    
106<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;</div>
                    
107<div class="line"><a name="l00029"></a><span class="lineno"><a class="line" href="variables_8php.html#a107cb3732c3eb625a67c9896596c6c74">   29</a></span>&#160;    <a class="code" href="variables_8php.html#a107cb3732c3eb625a67c9896596c6c74">$objPath</a> = <span class="stringliteral">&quot;user_accounts/$username/obj&quot;</span>;</div>
                    
108<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160; </div>
                    
116<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;?&gt;</div>
                    
117<div class="ttc" id="variables_8php_html_a9b2aca73038168dc85a3fb6d6af948a8"><div class="ttname"><a href="variables_8php.html#a9b2aca73038168dc85a3fb6d6af948a8">$uploadPath</a></div><div class="ttdeci">$uploadPath</div><div class="ttdef"><b>Definition:</b> <a href="variables_8php_source.html#l00026">variables.php:26</a></div></div>
                    
118<div class="ttc" id="variables_8php_html_a107cb3732c3eb625a67c9896596c6c74"><div class="ttname"><a href="variables_8php.html#a107cb3732c3eb625a67c9896596c6c74">$objPath</a></div><div class="ttdeci">$objPath</div><div class="ttdef"><b>Definition:</b> <a href="variables_8php_source.html#l00029">variables.php:29</a></div></div>
                    
                
auto_search_table_shell.php http://prohits.googlecode.com/svn/trunk/ | PHP | 376 lines
                    
28  7. get searched resuts file.
                    
29  8. shell > php auto_search_table_shell.php tableName taskID thisScriptURL sleepSec
                    
30  9. check shell process 
                    
59
                    
60$php_command_location = PHP_PATH;
                    
61//maybe it is remote connect prohits server---------
                    
76		$theURL = $_SERVER['argv'][3];
                    
77    $frm_theURL = str_replace("autoSearch/auto_search_table_shell.php","",$theURL) . "autoBackup/download_raw_file.php";
                    
78    
                    
237  //}
                    
238  $tpp_theURL = str_replace("autoSearch/auto_search_table_shell.php","",$tpp_theURL) . "tppTask/tpp_task_shell.php";
                    
239  $tpp_theURL .='?tableName='.$tableName.'&tppTaskID='.$theTask_arr['RunTPP'];
                    
338  writeLog("Get new created files from $tableName machine to Prohits.");
                    
339  $com_backup = PHP_PATH. " " .dirname(dirname(__FILE__))."/autoBackup/raw_backup_shell.php"." 0 ". $tableName;
                    
340  system($com_backup);
                    
                
FormOptionsHelper.php git://github.com/phpwax/phpwax.git | PHP | 273 lines
                    
1<?php
                    
2/**
                    
3 *
                    
4 * @package PHP-Wax
                    
5 * @author Ross Riley
                    
19        "Cameroon", "Canada", "Cape Verde", "Cayman Islands", "Central African Republic", 
                    
20        "Chad", "Chile", "China", "Christmas Island", "Cocos (Keeling) Islands", "Colombia", 
                    
21        "Comoros", "Congo", "Congo, the Democratic Republic of the", "Cook Islands", 
                    
                
ConvertToXmlTest.php https://gitlab.com/yousafsyed/easternglamor | PHP | 296 lines
                    
18
                    
19class ConvertToXmlTest extends \PHPUnit_Framework_TestCase
                    
20{
                    
46    /**
                    
47     * @var SearchResultIteratorFactory | \PHPUnit_Framework_MockObject_MockObject
                    
48     */
                    
61    /**
                    
62     * @var UiComponentInterface | \PHPUnit_Framework_MockObject_MockObject
                    
63     */
                    
191    {
                    
192        $searchResultIterator = $this->getMockBuilder('Magento\Ui\Model\Export\SearchResultIterator')
                    
193            ->disableOriginalConstructor()
                    
238
                    
239        $searchResult = $this->getMockBuilder('Magento\Framework\Api\Search\SearchResultInterface')
                    
240            ->setMethods(['getItems'])
                    
                
logout_8php_source.html https://gitlab.com/zaverichintan/geometry_viewer | HTML | 132 lines
                    
6<meta name="generator" content="Doxygen 1.8.4"/>
                    
7<title>BRL-CAD Online Geometry Viewer: accounts/logout.php Source File</title>
                    
8<link href="tabs.css" rel="stylesheet" type="text/css"/>
                    
72<!-- iframe showing the search results (closed by default) -->
                    
73<div id="MSearchResultsWindow">
                    
74<iframe src="javascript:void(0)" frameborder="0" 
                    
74<iframe src="javascript:void(0)" frameborder="0" 
                    
75        name="MSearchResults" id="MSearchResults">
                    
76</iframe>
                    
85  <div class="headertitle">
                    
86<div class="title">logout.php</div>  </div>
                    
87</div><!--header-->
                    
88<div class="contents">
                    
89<a href="logout_8php.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;&lt;?php</div>
                    
90<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment">/*                         L O G O U T . P H P</span></div>
                    
                
PerSubscriptionMessageHandlerTest.java git://github.com/eclipse/paho.mqtt.java.git | Java | 369 lines
                    
10 * and the Eclipse Distribution License is available at 
                    
11 *   https://www.eclipse.org/org/documents/edl-v10.php
                    
12 *
                    
102		  public MqttMessage getNextMessage() {
                    
103			  synchronized (messages) {
                    
104				  if (messages.size() == 0) {
                    
125			  if (!message.isDuplicate()) {
                    
126				  synchronized (messages) {
                    
127					  messages.add(message);
                    
134	  /**
                    
135	   * Basic test with 1 subscription for the synchronous client
                    
136	   * 
                    
                
SearchHelper.php git://github.com/thorsten/phpMyFAQ.git | PHP | 382 lines
                    
17
                    
18namespace phpMyFAQ\Helper;
                    
19
                    
25use phpMyFAQ\Pagination;
                    
26use phpMyFAQ\Search\SearchResultSet;
                    
27use phpMyFAQ\Strings;
                    
27use phpMyFAQ\Strings;
                    
28use phpMyFAQ\Utils;
                    
29use stdClass;
                    
131     *
                    
132     * @param SearchResultSet $resultSet SearchResultSet object
                    
133     *
                    
183     */
                    
184    public function renderSearchResult(SearchResultSet $resultSet, int $currentPage): string
                    
185    {
                    
                
UserGroups.php git://github.com/phpmyadmin/phpmyadmin.git | PHP | 357 lines
                    
1<?php
                    
2/**
                    
7
                    
8namespace PhpMyAdmin\Server;
                    
9
                    
9
                    
10use PhpMyAdmin\Html\Generator;
                    
11use PhpMyAdmin\Relation;
                    
11use PhpMyAdmin\Relation;
                    
12use PhpMyAdmin\Template;
                    
13use PhpMyAdmin\Url;
                    
13use PhpMyAdmin\Url;
                    
14use PhpMyAdmin\Util;
                    
15
                    
23/**
                    
24 * PhpMyAdmin\Server\UserGroups class
                    
25 */
                    
                
PhpDumperTest.php https://gitlab.com/matijabelec/bigpandadev | PHP | 221 lines
                    
19
                    
20class PhpDumperTest extends \PHPUnit_Framework_TestCase
                    
21{
                    
32
                    
33        $this->assertStringEqualsFile(self::$fixturesPath.'/php/services1.php', $dumper->dump(), '->dump() dumps an empty container as an empty PHP class');
                    
34        $this->assertStringEqualsFile(self::$fixturesPath.'/php/services1-1.php', $dumper->dump(array('class' => 'Container', 'base_class' => 'AbstractContainer', 'namespace' => 'Symfony\Component\DependencyInjection\Dump')), '->dump() takes a class and a base_class options');
                    
64        $dumper = new PhpDumper($container);
                    
65        $this->assertStringEqualsFile(self::$fixturesPath.'/php/services10.php', $dumper->dump(), '->dump() dumps an empty container as an empty PHP class');
                    
66    }
                    
141
                    
142        $this->assertStringEqualsFile(self::$fixturesPath.'/php/services19.php', $dumper->dump(), '->dump() dumps services with anonymous factories');
                    
143    }
                    
184    {
                    
185        require_once self::$fixturesPath.'/php/services9.php';
                    
186        require_once self::$fixturesPath.'/includes/foo.php';
                    
                
teo_ug.php https://gitlab.com/Griffolion/Final-Year-Project | PHP | 460 lines
                    
1<?php
                    
2/**
                    
151    array (
                    
152      0 => 'Kabla ya Christo',
                    
153      1 => 'Baada ya Christo',
                    
                
main.php https://gitlab.com/dali99/shimmie2-Material-Theme | PHP | 396 lines
                    
1<?php
                    
2/*
                    
8 <br>danbooru API based on documentation from danbooru 1.0 -
                    
9 http://attachr.com/7569
                    
10 <br>I've only been able to test add_post and find_tags because I use the
                    
                
swift.php https://gitlab.com/Red54/core | PHP | 582 lines
                    
1<?php
                    
2/**
                    
4 * @author Benjamin Liles <benliles@arch.tamu.edu>
                    
5 * @author Christian Berendt <berendt@b1-systems.de>
                    
6 * @author Felix Moeller <mail@felixmoeller.de>
                    
                
rawvid.c https://gitlab.com/evilbinary/vlc | C | 439 lines
                    
56#define CHROMA_TEXT N_("Force chroma (Use carefully)")
                    
57#define CHROMA_LONGTEXT N_("Force chroma. This is a four character string.")
                    
58
                    
73    add_integer( "rawvid-height", 0, HEIGHT_TEXT, HEIGHT_LONGTEXT, 0 )
                    
74    add_string( "rawvid-chroma", NULL, CHROMA_TEXT, CHROMA_LONGTEXT,
                    
75                true )
                    
186        i_sar_den = p_preset->u_ar_den * p_preset->i_width;
                    
187        i_chroma = p_preset->i_chroma;
                    
188    }
                    
293        memcpy( &i_chroma, psz_tmp, 4 );
                    
294        msg_Dbg( p_demux, "Forcing chroma to 0x%.8x (%4.4s)", i_chroma, (char*)&i_chroma );
                    
295        free( psz_tmp );
                    
348    {
                    
349        msg_Err( p_demux, "Unsupported chroma 0x%.8x (%4.4s)", i_chroma,
                    
350                 (char*)&i_chroma );
                    
                
logs.php http://viet-group.googlecode.com/svn/trunk/ | PHP | 336 lines
                    
1<?php
                    
2
                    
24$sql = "SELECT SQL_CALC_FOUND_ROWS * FROM `" . $db_config['prefix'] . "_logs` WHERE `id`!=0";
                    
25$base_url = NV_BASE_ADMINURL . "index.php?" . NV_NAME_VARIABLE . "=" . $module_name . "&" . NV_OP_VARIABLE . "=" . $op;
                    
26
                    
42		nv_insert_logs( NV_LANG_DATA, $module_name, sprintf ( $lang_module['filter_check_log'], $op ), $admin_info['username'] . " - " . $admin_info['userid'], 0 );
                    
43		Header( "Location: " . NV_BASE_ADMINURL . "index.php?" . NV_NAME_VARIABLE . "=" . $module_name . "&" . NV_OP_VARIABLE . "=" . $op );
                    
44		exit();
                    
170
                    
171list( $all_page ) = $db->sql_fetchrow( $result );
                    
172while ( $data_i = $db->sql_fetchrow( $result_query ) )
                    
193	$result_users = $db->sql_query( $sql );
                    
194	while ( $data_i = $db->sql_fetchrow( $result_users ) )
                    
195	{
                    
278$xtpl->assign( 'URL_DEL', $base_url . "&" . NV_OP_VARIABLE . "=logs_del" );
                    
279$xtpl->assign( 'URL_CANCEL', NV_BASE_ADMINURL . "index.php?" . NV_NAME_VARIABLE . "=" . $module_name . "&" . NV_OP_VARIABLE . "=" . $op );
                    
280$xtpl->assign( 'DISABLE', $disabled );
                    
                
silcfileutil-silc_file_set_nonblock.html git://pkgs.fedoraproject.org/libsilc | HTML | 222 lines
                    
113&nbsp;&nbsp;&nbsp; <a href=silcschedule.html><img src=box2.gif border=0 alt=>Scheduler Interface</a><br />
                    
114&nbsp;&nbsp;&nbsp; <a href=silcasync.html><img src=box2.gif border=0 alt=>Asynchronous Operation Interface</a><br />
                    
115&nbsp;&nbsp;&nbsp; <a href=silcstream.html><img src=box2.gif border=0 alt=>Abstract Stream Interface</a><br />
                    
131&nbsp;&nbsp;&nbsp; <a href=silchttpserver.html><img src=box2.gif border=0 alt=>SILC HTTP Server Interface</a><br />
                    
132&nbsp;&nbsp;&nbsp; <a href=silchttpphp.html><img src=box2.gif border=0 alt=>SILC HTTP PHP Translator</a><br />
                    
133
                    
                
jqplot.canvasAxisTickRenderer.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 243 lines
                    
7 *
                    
8 * Copyright (c) 2009-2013 Chris Leonello
                    
9 * jqPlot is currently available for use in all personal or commercial projects 
                    
9 * jqPlot is currently available for use in all personal or commercial projects 
                    
10 * under both the MIT (http://www.opensource.org/licenses/mit-license.php) and GPL 
                    
11 * version 2.0 (http://www.gnu.org/licenses/gpl-2.0.html) licenses. This means that you can 
                    
15 * know of any substantial use of jqPlot.  You can reach the author at: 
                    
16 * chris at jqplot dot com or see http://www.jqplot.com/info.php .
                    
17 *
                    
18 * If you are feeling kind and generous, consider supporting the project by
                    
19 * making a donation at: http://www.jqplot.com/donate.php .
                    
20 *
                    
                
nl_NL.php https://gitlab.com/endomorphosis/reservationtelco | PHP | 66 lines
                    
1<?php
                    
2
                    
9<tr><td>Jouw&nbsp;email</td><td><input type="text" name="ne" size="30"/></td></tr>
                    
10<tr><td colspan="2" style="text-align: center"><input type="submit" value="Inschrijven"/></td></tr>
                    
11</table>
                    
19<tr><td>Jouw&nbsp;email</td><td><input type="text" name="ne" size="30"/></td></tr>
                    
20<tr><td colspan="2" style="text-align: center"><input type="submit" value="Inschrijven"/></td></tr>
                    
21</table>
                    
28<p><input type="text" name="ne" value="Jouw email" onclick="if (this.defaultValue==this.value) this.value=\'\'" onblur="if (this.value==\'\') this.value=this.defaultValue"/></p>
                    
29<p><input type="submit" value="Inschrijven"/></p>
                    
30<input type="hidden" name="na" value="s"/>
                    
37<p><input type="text" name="ne" value="Jouw email" onclick="if (this.defaultValue==this.value) this.value=\'\'" onblur="if (this.value==\'\') this.value=this.defaultValue"/></p>
                    
38<p><input type="submit" value="Inschrijven"/></p>
                    
39<input type="hidden" name="na" value="s"/>
                    
47&nbsp;<input type="text" name="nn" value="Jouw naam" onclick="if (this.defaultValue==this.value) this.value=\'\'" onblur="if (this.value==\'\') this.value=this.defaultValue"/>
                    
48<input type="submit" value="Inschrijven"/>
                    
49<input type="hidden" name="na" value="s"/></p>
                    
                
anomaly.h https://gitlab.com/Sean.W/u-boot | C Header | 241 lines
                    
9 * Licensed under the ADI BSD license.
                    
10 *   https://docs.blackfin.uclinux.org/doku.php?id=adi_bsd
                    
11 */
                    
86#define ANOMALY_05000272 (1)
                    
87/* Writes to Synchronous SDRAM Memory May Be Lost */
                    
88#define ANOMALY_05000273 (__SILICON_REVISION__ < 3)
                    
156#define ANOMALY_05000461 (1)
                    
157/* Synchronization Problem at Startup May Cause SPORT Transmit Channels to Misalign */
                    
158#define ANOMALY_05000462 (1)
                    
                
XMLTest.php https://gitlab.com/techniconline/kmc | PHP | 318 lines
                    
1<?php
                    
2/*
                    
2/*
                    
3 * This file is part of PHPUnit.
                    
4 *
                    
4 *
                    
5 * (c) Sebastian Bergmann <sebastian@phpunit.de>
                    
6 *
                    
12 * @since      Class available since Release 3.3.0
                    
13 * @covers     PHPUnit_Util_XML
                    
14 */
                    
14 */
                    
15class Util_XMLTest extends PHPUnit_Framework_TestCase
                    
16{
                    
21        $expected = array('testA' => 1, 'testB' => 2, 'testC' => 3);
                    
22        $validated = PHPUnit_Util_XML::assertValidKeys($options, $valid);
                    
23
                    
                
02-awaitables.md https://gitlab.com/Blueprint-Marketing/user-documentation | Markdown | 49 lines
                    
1An *awaitable* is the key construct in `async` code. An awaitable is a first-class Hack object that represents a possibly asynchronous operation that may or may not have completed. You `await` the awaitable until the operation has completed. 
                    
2
                    
15
                    
16@@ awaitables-examples/awaitable-return.php @@
                    
17
                    
27
                    
28@@ awaitables-examples/single-awaitable.php @@
                    
29
                    
38
                    
39@@ awaitables-examples/multiple-awaitables.php @@
                    
40
                    
46
                    
47@@ awaitables-examples/join.php @@
                    
48
                    
48
                    
49You should not call `join()` inside an `async` function. This would defeat the purpose of `async` as the awaitable and any dependencies will run to completion synchronously, stopping any other awaitables in their tracks from running. Just `await` in an `async` function.
                    
50
                    
                
article_index.html https://gitlab.com/xuebutayan/yshop | HTML | 159 lines
                    
24                  <div class="rightinner">
                    
25              <a href="/index.php?s=/Home/User/login.html">登录</a> | <a href="/index.php?s=/Home/User/register.html">注册</a>
                    
26          </div>      </div>
                    
100<div class="page pro-middle-page">
                    
101<div>  <span class="current">1</span><a class="num" href="/index.php?s=/Home/Article/index/pid/159/p/2.html">2</a> <a class="next" href="/index.php?s=/Home/Article/index/pid/159/p/2.html">下一页</a>  <span class="rows">共 9 条记录</span>
                    
102</div></div>
                    
129					<li><h3>订单服务</h3></li>
                    
130				<li><a href="/index.php?s=/Home/help/detail/id/91.html">购买指南</a></li><li><a href="/index.php?s=/Home/help/detail/id/92.html">支付方式</a></li><li><a href="/index.php?s=/Home/help/detail/id/93.html">送货政策</a></li>				</ul><ul>
                    
131					<li><h3>服务与支持</h3></li>
                    
131					<li><h3>服务与支持</h3></li>
                    
132				<li><a href="/index.php?s=/Home/help/detail/id/94.html">售后服务</a></li><li><a href="/index.php?s=/Home/help/detail/id/95.html">线下门店</a></li><li><a href="/index.php?s=/Home/help/detail/id/96.html">补够保修服务</a></li>				</ul><ul>
                    
133					<li><h3>关于公司</h3></li>
                    
133					<li><h3>关于公司</h3></li>
                    
134				<li><a href="/index.php?s=/Home/help/detail/id/97.html">公司简介</a></li><li><a href="/index.php?s=/Home/help/detail/id/98.html">加入我们</a></li><li><a href="/index.php?s=/Home/help/detail/id/99.html">联系我们</a></li>				</ul><ul>
                    
135					<li><h3>关注我们</h3></li>
                    
                
jquery.inputmask.numeric.extensions.js https://gitlab.com/Mirros/cdnjs | JavaScript | 246 lines
                    
101            signHandler: function(chrs, buffer, pos, strict, opts) {
                    
102                if (!strict && (opts.allowMinus && "-" === chrs || opts.allowPlus && "+" === chrs)) {
                    
103                    var matchRslt = buffer.join("").match(opts.regex.integerPart(opts));
                    
103                    var matchRslt = buffer.join("").match(opts.regex.integerPart(opts));
                    
104                    if (matchRslt && matchRslt.length > 0 && "0" !== matchRslt[matchRslt.index]) return buffer[matchRslt.index] == ("-" === chrs ? "+" : "-") ? {
                    
105                        pos: matchRslt.index,
                    
108                        caret: pos
                    
109                    } : buffer[matchRslt.index] == ("-" === chrs ? "-" : "+") ? {
                    
110                        remove: matchRslt.index,
                    
134                var matchRslt = maskset.buffer.join("").match(opts.regex.integerNPart(opts)), radixPosition = $.inArray(opts.radixPoint, maskset.buffer);
                    
135                if (matchRslt && !strict && (-1 == radixPosition || matchRslt.index < radixPosition)) if (0 == matchRslt[0].indexOf("0") && pos >= opts.prefix.length) {
                    
136                    if (-1 == radixPosition || radixPosition >= pos && void 0 == maskset.validPositions[radixPosition]) return maskset.buffer.splice(matchRslt.index, 1), 
                    
140                    };
                    
141                    if (pos > matchRslt.index && radixPosition >= pos) return maskset.buffer.splice(matchRslt.index, 1), 
                    
142                    pos = pos > matchRslt.index ? pos - 1 : matchRslt.index, {
                    
                
Database.php https://gitlab.com/axeltizon/magentoV1.9-demopoweraccess | PHP | 350 lines
                    
1<?php
                    
2/**
                    
9 * It is also available through the world-wide-web at this URL:
                    
10 * http://opensource.org/licenses/osl-3.0.php
                    
11 * If you did not receive a copy of the license and are unable to
                    
23 * @copyright   Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
                    
24 * @license     http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
                    
25 */
                    
139
                    
140        $row = $adapter->fetchRow($select);
                    
141        if ($row) {
                    
250
                    
251        $data = $adapter->fetchRow($select);
                    
252        if (!$data) {
                    
284
                    
285        $data = $adapter->fetchRow($select);
                    
286        return (bool)$data;
                    
                
anomaly.h https://gitlab.com/Sean.W/pru-linux-drivers | C Header | 267 lines
                    
9 * Licensed under the ADI BSD license.
                    
10 *   https://docs.blackfin.uclinux.org/doku.php?id=adi_bsd
                    
11 */
                    
54#define ANOMALY_05000328 (__SILICON_REVISION__ < 1)
                    
55/* Synchronous Burst Flash Boot Mode Is Not Functional */
                    
56#define ANOMALY_05000329 (__SILICON_REVISION__ < 1)
                    
96#define ANOMALY_05000367 (__SILICON_REVISION__ < 1)
                    
97/* Addressing Conflict between Boot ROM and Asynchronous Memory */
                    
98#define ANOMALY_05000369 (1)
                    
196#define ANOMALY_05000461 (1)
                    
197/* Synchronization Problem at Startup May Cause SPORT Transmit Channels to Misalign */
                    
198#define ANOMALY_05000462 (1)
                    
                
id.inc.php git://github.com/modxcms/revolution.git | PHP | 291 lines
                    
1<?php
                    
2/**
                    
66$_country_lang["cw"] = 'Curaçao'; // Curaçao
                    
67$_country_lang["cx"] = 'Krismas, Kepulauan'; // Christmas Island
                    
68$_country_lang["cy"] = 'Siprus'; // Cyprus
                    
                
fi.inc.php git://github.com/modxcms/revolution.git | PHP | 291 lines
                    
1<?php
                    
2/**
                    
66$_country_lang["cw"] = 'Curaçao'; // Curaçao
                    
67$_country_lang["cx"] = 'Joulusaari'; // Christmas Island
                    
68$_country_lang["cy"] = 'Kypros'; // Cyprus
                    
                
CountryManager.php https://gitlab.com/geeta7/drupal | PHP | 330 lines
                    
1<?php
                    
2
                    
101      'CW' => t('Curaçao'),
                    
102      'CX' => t('Christmas Island'),
                    
103      'CY' => t('Cyprus'),
                    
                
mysql.dbi.lib.php https://gitlab.com/ctheilman92/Aging-In-Place | PHP | 552 lines
                    
1<?php
                    
2/* vim: set expandtab sw=4 ts=4 sts=4: */
                    
5 *
                    
6 * @package    PhpMyAdmin-DBI
                    
7 * @subpackage MySQL
                    
8 */
                    
9if (! defined('PHPMYADMIN')) {
                    
10    exit;
                    
12
                    
13require_once './libraries/logging.lib.php';
                    
14
                    
73{
                    
74    // N.B.: PHP's 'mysql' extension does not support
                    
75    // multi_queries so this function will always
                    
166        // we could be calling PMA_DBI_connect() to connect to another
                    
167        // server, for example in the Synchronize feature, so do not
                    
168        // go back to main login if it fails
                    
                
group.php http://nukeviet-shop.googlecode.com/svn/trunk/ | PHP | 214 lines
                    
1<?php
                    
2
                    
45    }
                    
46    list( $check_alias ) = $db->sql_fetchrow( $db->sql_query( "SELECT count(*) FROM " . $table_name . " WHERE groupid!=" . $data['groupid'] . " and `" . NV_LANG_DATA . "_alias`=" . $db->dbescape( $data['alias'] ) . "" ) );
                    
47    if ( $check_alias and $data['parentid'] > 0 )
                    
48    {
                    
49        list( $parentid_alias ) = $db->sql_fetchrow( $db->sql_query( "SELECT `" . NV_LANG_DATA . "_alias` FROM " . $table_name . " WHERE groupid=" . $data['parentid'] . "" ) );
                    
50        $data['alias'] = $parentid_alias . "-" . $data['alias'];
                    
68        }
                    
69        list( $weight ) = $db->sql_fetchrow( $db->sql_query( "SELECT max(`weight`) FROM " . $table_name . " WHERE `parentid`=" . $db->dbescape( $data['parentid'] ) . "" ) );
                    
70        $weight = intval( $weight ) + 1;
                    
82            nv_del_moduleCache( $module_name );
                    
83            Header( "Location: " . NV_BASE_ADMINURL . "index.php?" . NV_NAME_VARIABLE . "=" . $module_name . "&" . NV_OP_VARIABLE . "=" . $op . "&parentid=" . $data['parentid'] . "" );
                    
84            die();
                    
101            {
                    
102                list( $weight ) = $db->sql_fetchrow( $db->sql_query( "SELECT max(`weight`) FROM " . $table_name . " WHERE `parentid`=" . $db->dbescape( $data['parentid'] ) . "" ) );
                    
103                $weight = intval( $weight ) + 1;
                    
                
FileTransfer.php https://gitlab.com/geeta7/drupal | PHP | 422 lines
                    
225   * If a path is a windows path, makes it POSIX compliant by removing the drive
                    
226   * letter. If $this->chroot has a value and $strip_chroot is TRUE, it is
                    
227   * stripped from the path to allow for chroot'd filetransfer systems.
                    
239    $path = preg_replace('|^([a-z]{1}):|i', '', $path); // Strip out windows driveletter if its there.
                    
240    if ($strip_chroot) {
                    
241      if ($this->chroot && strpos($path, $this->chroot) === 0) {
                    
241      if ($this->chroot && strpos($path, $this->chroot) === 0) {
                    
242        $path = ($path == $this->chroot) ? '' : substr($path, strlen($this->chroot));
                    
243      }
                    
347  /**
                    
348   * Returns the chroot property for this connection.
                    
349   *
                    
381  function setChroot() {
                    
382    $this->chroot = $this->findChroot();
                    
383    $this->jail = $this->fixRemotePath($this->jail);
                    
                
newrelic.yml https://gitlab.com/meetly/torquebox | YAML | 227 lines
                    
2# This file configures the New Relic Agent.  New Relic monitors
                    
3# Ruby, Java, .NET, PHP, and Python applications with deep visibility and low overhead.
                    
4# For more information, visit www.newrelic.com.
                    
57  # encryption involved in SSL communication, but this work is done
                    
58  # asynchronously to the threads that process your application code,
                    
59  # so it should not impact response times.
                    
                
Logger.php https://gitlab.com/yousafsyed/easternglamor | PHP | 120 lines
                    
1<?php
                    
2/**
                    
117
                    
118        return $connection->fetchRow($select);
                    
119    }
                    
                
pagination.php https://gitlab.com/endomorphosis/OLAAaction | PHP | 120 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * @version		$Id: pagination.php 10381 2008-06-01 03:35:53Z pasamio $
                    
4 * @package		Joomla
                    
5 * @copyright	Copyright (C) 2005 - 2008 Open Source Matters. All rights reserved.
                    
6 * @license		GNU/GPL, see LICENSE.php
                    
7 * Joomla! is free software. This version may have been modified pursuant
                    
10 * other free or open source software licenses.
                    
11 * See COPYRIGHT.php for copyright notices and details.
                    
12 */
                    
17/**
                    
18 * This is a file to add template specific chrome to pagination rendering.
                    
19 *
                    
                
README.md https://gitlab.com/xolotsoft/pumasruiz | Markdown | 306 lines
                    
1# Boris: A tiny little, but robust REPL for PHP
                    
2
                    
4
                    
5Python has one. Ruby has one. Clojure has one. Now PHP has one too. Boris is
                    
6PHP's missing REPL (read-eval-print loop), allowing developers to experiment
                    
6PHP's missing REPL (read-eval-print loop), allowing developers to experiment
                    
7with PHP code in the terminal in an interactive manner.  If you make a mistake,
                    
8it doesn't matter, Boris will report the error and stand to attention for
                    
16
                    
17I'm in the process of transitioning away from PHP to Ruby.  I have come to find
                    
18PHP's lack of a real REPL to be frustrating and was not able to find an existing
                    
68
                    
69When Boris starts, you will be at the `boris>` prompt. PHP code you enter at
                    
70this prompt is evaluated.  If an expression spans multiple lines, Boris will
                    
109
                    
110    require_once 'lib/autoload.php';
                    
111
                    
                
fileman_server_access.php https://gitlab.com/alexprowars/bitrix | PHP | 346 lines
                    
1<?
                    
2require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/prolog_admin_before.php");
                    
3require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/fileman/prolog.php");
                    
7
                    
8require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/fileman/include.php");
                    
9include_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/fileman/classes/general/fileman_utils.php");
                    
48	{
                    
49		$searchRes = CFilemanSearch::GetSearchResult($searchSess);
                    
50		for($i = 0, $l = count($searchRes); $i < $l; $i++)
                    
50		for($i = 0, $l = count($searchRes); $i < $l; $i++)
                    
51			$arFiles[] = $searchRes[$i]['path'];
                    
52	}
                    
161	window.spBstoped = <?= $bStoped ? 'true' : 'false'?>;
                    
162	window.spResult = <?= CUtil::PhpToJSObject($oChmod->Result)?>;
                    
163	</script>
                    
                
mssql_extractor.php https://bitbucket.org/cmwdosp/cmwbb3.git | PHP | 415 lines
                    
5*
                    
6* @copyright (c) phpBB Limited <https://www.phpbb.com>
                    
7* @license GNU General Public License, version 2 (GPL-2.0)
                    
13
                    
14namespace phpbb\db\extractor;
                    
15
                    
15
                    
16use phpbb\db\extractor\exception\extractor_not_initialized_exception;
                    
17
                    
80
                    
81		while ($row = $this->db->sql_fetchrow($result))
                    
82		{
                    
132		$result = $this->db->sql_query($sql);
                    
133		while ($row = $this->db->sql_fetchrow($result))
                    
134		{
                    
                
IpAccessControlListTest.php https://bitbucket.org/OverSite/capstone-demo.git | PHP | 283 lines
                    
1<?php
                    
2
                    
157
                    
158    public function testFetchRequest()
                    
159    {
                    
175
                    
176    public function testFetchResponse()
                    
177    {
                    
                
Google_ServiceResource.php https://gitlab.com/x33n/platform | PHP | 195 lines
                    
1<?php
                    
2/**
                    
22 *
                    
23 * @author Chris Chabot <chabotc@google.com>
                    
24 * @author Chirag Shah <chirags@google.com>
                    
                
TraceableEventDispatcherTest.php https://gitlab.com/Blueprint-Marketing/solr-power | PHP | 185 lines
                    
1<?php
                    
2
                    
19
                    
20class TraceableEventDispatcherTest extends \PHPUnit_Framework_TestCase
                    
21{
                    
161
                    
162    public function testDispatchReusedEventNested()
                    
163    {
                    
                
ip-block-map.cpp https://gitlab.com/Blueprint-Marketing/hhvm | C++ | 221 lines
                    
2   +----------------------------------------------------------------------+
                    
3   | HipHop for PHP                                                       |
                    
4   +----------------------------------------------------------------------+
                    
6   +----------------------------------------------------------------------+
                    
7   | This source file is subject to version 3.01 of the PHP license,      |
                    
8   | that is bundled with this package in the file LICENSE, and is        |
                    
9   | available through the world-wide-web at the following url:           |
                    
10   | http://www.php.net/license/3_01.txt                                  |
                    
11   | If you did not receive a copy of the PHP license and are unable to   |
                    
12   | obtain it through the world-wide-web, please send a note to          |
                    
13   | license@php.net so we can mail you a copy immediately.               |
                    
14   +----------------------------------------------------------------------+
                    
16
                    
17#include "hphp/runtime/server/ip-block-map.h"
                    
18
                    
                
Callback.php https://gitlab.com/geeta7/drupal | PHP | 316 lines
                    
1<?php
                    
2/**
                    
73         * This DOES NOT attempt to process a feed update. Feed updates
                    
74         * SHOULD be validated/processed by an asynchronous process so as
                    
75         * to avoid holding up responses to the Hub.
                    
                
QpEncoder.php https://gitlab.com/x33n/platform | PHP | 275 lines
                    
1<?php
                    
2
                    
4 * This file is part of SwiftMailer.
                    
5 * (c) 2004-2009 Chris Corbyn
                    
6 *
                    
12 * Handles Quoted Printable (QP) Encoding in Swift Mailer.
                    
13 * Possibly the most accurate RFC 2045 QP implementation found in PHP.
                    
14 * @package Swift
                    
15 * @subpackage Encoder
                    
16 * @author Chris Corbyn
                    
17 */
                    
144        {
                    
145            $this->_safeMap[$byte] = chr($byte);
                    
146        }
                    
                
MessageController.php http://mock-project.googlecode.com/svn/trunk/ | PHP | 217 lines
                    
1<?php
                    
2
                    
17
                    
18//            require_once APPLICATION_PATH . '/modules/user/models/DbTable/Member.php';
                    
19            $us = new User_Model_DbTable_Member();
                    
88                        ->where("MessageID = '$MessageID'");
                    
89                if ($row = $message->fetchRow($select)) {
                    
90                    $status = 'success';
                    
                
liste-mail-beta.php https://gitlab.com/nacridan/Nacridan | PHP | 180 lines
                    
1<?php
                    
2
                    
58    $liste[] = "toffeskien@gmail.com"; // Cratofix FPL.
                    
59    $liste[] = "chr.burdin@gmail.com"; // kraa jeune de la V1.
                    
60    $liste[] = "sylvainbarbass@hotmail.com"; // Kiliad jeune de la V1.
                    
65    $liste[] = "adrien.montagut@gmail.com"; // django V1, donateur ulule en retard
                    
66    $liste[] = "joffrey.carlet@gmail.com"; // Stagiaire PHP
                    
67    $liste[] = "stephane.sanchez.b@gmail.com"; // stagiaire webdesign
                    
99 *
                    
100 * require_once(HOMEPATH."/lib/swift/Swift.php");
                    
101 * require_once(HOMEPATH."/lib/swift/Swift/Connection/SMTP.php");
                    
109 * $message .= "Une partie des règles du jeu sont déjà en ligne, nous continuons, à travailler dessus :\n\n";
                    
110 * $message .= "http://www.nacridan.com/nacridan-v2-test/nacridan/i18n/rules/fr/rules.php\n\n";
                    
111 * $message .= "Lors de votre inscription au jeu vendredi, pensez à utiliser l'adresse email que vous avez fournie. Vous aurez la possibilité de créer trois personnages avec le même compte. Le premier sera créé lors de votre première connexion. Les deux autres pourront être créés à partir du menu Conquête, à l'intérieur du jeu. Pour passer d'un personnage à l'autre, il vous suffira d'utiliser le menu déroulant en haut à droite, une fois connecté.\n\n";
                    
128 * $messagehtml .= "Une partie des règles du jeu sont déjà en ligne, nous continuons, à travailler dessus :<br/><br/>";
                    
129 * $messagehtml .= "http://www.nacridan.com/nacridan-v2-test/nacridan/i18n/rules/fr/rules.php<br/><br/>";
                    
130 * $messagehtml .= "Lors de votre inscription au jeu vendredi, pensez à utiliser l'adresse email que vous avez fournie. Vous aurez la possibilité de créer trois personnages avec le même compte. Le premier sera créé lors de votre première connexion. Les deux autres pourront être créés à partir du menu Conquête, à l'intérieur du jeu. Pour passer d'un personnage à l'autre, il vous suffira d'utiliser le menu déroulant en haut à droite, une fois connecté.<br/><br/>";
                    
                
LiveTakeOverTest.java https://gitlab.com/jforge/paho.mqtt.java | Java | 292 lines
                    
10 * and the Eclipse Distribution License is available at 
                    
11 *   http://www.eclipse.org/org/documents/edl-v10.php.
                    
12 *
                    
195      final String methodName = "waitForState";
                    
196      synchronized (stateLock) {
                    
197        while ((state != desiredState) && (state != FirstClientState.ERROR)) {
                    
214    void setState(FirstClientState newState) {
                    
215      synchronized (stateLock) {
                    
216        state = newState;
                    
                
ItValidation.php git://github.com/cakephp/localized.git | PHP | 111 lines
                    
1<?php
                    
2declare(strict_types=1);
                    
6 *
                    
7 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
                    
8 * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
                    
13 * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
                    
14 * @link http://cakephp.org
                    
15 * @since Localized Plugin v 0.1
                    
15 * @since Localized Plugin v 0.1
                    
16 * @license http://www.opensource.org/licenses/mit-license.php MIT License
                    
17 */
                    
96
                    
97        return chr($sum % 26 + ord('A')) === $check[15];
                    
98    }
                    
                
Admin.php https://gitlab.com/wuhang2003/typecho | PHP | 125 lines
                    
1<?php
                    
2if (!defined('__TYPECHO_ROOT_DIR__')) exit;
                    
62    {
                    
63        return new Typecho_Config($this->db->fetchRow(
                    
64        $this->select()->where('table.contents.cid = ?', $this->parentId)
                    
                
Chunk.php https://gitlab.com/kennethgomad01/genisys | PHP | 400 lines
                    
1<?php
                    
2
                    
70	public function setBlockId($x, $y, $z, $id){
                    
71		$this->blocks{($x << 11) | ($z << 7) | $y} = chr($id);
                    
72		$this->hasChanged = true;
                    
87		if(($y & 1) === 0){
                    
88			$this->data{$i} = chr(($old_m & 0xf0) | ($data & 0x0f));
                    
89		}else{
                    
89		}else{
                    
90			$this->data{$i} = chr((($data & 0x0f) << 4) | ($old_m & 0x0f));
                    
91		}
                    
115		if($blockId !== null){
                    
116			$blockId = chr($blockId);
                    
117			if($this->blocks{$i} !== $blockId){
                    
126			if(($y & 1) === 0){
                    
127				$this->data{$i} = chr(($old_m & 0xf0) | ($meta & 0x0f));
                    
128				if(($old_m & 0x0f) !== $meta){
                    
                
index.html.md https://gitlab.com/svansteenis/www-gitlab-com | Markdown | 184 lines
                    
44
                    
45- Hussain Adnan Hashim - [@Hussain_infosec](https://www.facebook.com/profile.php?id=100004366368341)
                    
46- Jérémy Chatard - [@jchatard](https://twitter.com/jchatard)
                    
97  - [#21457](https://gitlab.com/gitlab-org/gitlab-ce/issues/21457)
                    
98- Christian Bönning
                    
99  - [gitlab-ee#1046](https://gitlab.com/gitlab-org/gitlab-ee/issues/1046)
                    
                
all_activity_type_log.php https://gitlab.com/xusasuke6/Slg_php | PHP | 476 lines
                    
1<?php
                    
2
                    
3define('IN_DATANG_SYSTEM', true);
                    
4include "../../../config/config.php";
                    
5include SYSDIR_ADMIN."/include/global.php";
                    
184				     " ORDER BY mtime desc";
                    
185		$match_data = GFetchRowSet($match_sql);
                    
186	}
                    
193				     " ORDER BY mtime desc";
                    
194		$match_data = GFetchRowSet($match_sql);
                    
195	}
                    
                
UrlMatcher.php https://gitlab.com/xolotsoft/pumasruiz | PHP | 244 lines
                    
1<?php
                    
2
                    
101     */
                    
102    public function matchRequest(Request $request)
                    
103    {
                    
175     * in matchers that do not have access to the matched Route instance
                    
176     * (like the PHP and Apache matcher dumpers).
                    
177     *
                    
                
class.phpmaileroauth.php https://gitlab.com/merintec/barvo | PHP | 196 lines
                    
2/**
                    
3 * PHPMailer - PHP email creation and transport class.
                    
4 * PHP Version 5.4
                    
5 * @package PHPMailer
                    
6 * @link https://github.com/PHPMailer/PHPMailer/ The PHPMailer GitHub project
                    
7 * @author Marcus Bointon (Synchro/coolbru) <phpmailer@synchromedia.co.uk>
                    
20/**
                    
21 * PHPMailerOAuth - PHPMailer subclass adding OAuth support.
                    
22 * @package PHPMailer
                    
23 * @author @sherryl4george
                    
24 * @author Marcus Bointon (@Synchro) <phpmailer@synchromedia.co.uk>
                    
25 */
                    
25 */
                    
26class PHPMailerOAuth extends PHPMailer
                    
27{
                    
                
SearchRankingTest.php https://bitbucket.org/aswinvk28/smartpan-stock-drupal.git | PHP | 268 lines
                    
1<?php
                    
2
                    
4 * @file
                    
5 * Definition of Drupal\search\Tests\SearchRankingTest.
                    
6 */
                    
12 */
                    
13class SearchRankingTest extends SearchTestBase {
                    
14
                    
                
HttpUtilsTest.php https://gitlab.com/Marwamimo/Crowdrise_Web | PHP | 266 lines
                    
1<?php
                    
2
                    
19
                    
20class HttpUtilsTest extends \PHPUnit_Framework_TestCase
                    
21{
                    
167            ->expects($this->any())
                    
168            ->method('matchRequest')
                    
169            ->with($request)
                    
196            ->expects($this->any())
                    
197            ->method('matchRequest')
                    
198            ->with($request)
                    
                
GPIOSampleAsyncWait.java https://gitlab.com/jforge/paho.mqtt.java | Java | 296 lines
                    
10 * and the Eclipse Distribution License is available at 
                    
11 *   http://www.eclipse.org/org/documents/edl-v10.php.
                    
12 *
                    
44 *  <li>GPIOSample (this one) which uses the API which blocks until the operation completes</li>
                    
45 *  <li>GPIOSampleAsyncWait shows how to use the asynchronous API with waiters that block until 
                    
46 *  an action completes</li>
                    
46 *  an action completes</li>
                    
47 *  <li>GPIOSampleAsyncCallBack shows how to use the asynchronous API where events are
                    
48 *  used to notify the application when an action completes<li>
                    
                
class.pop3.php https://gitlab.com/michaelcardoza/RecuerdodeBodas | PHP | 407 lines
                    
3.---------------------------------------------------------------------------.
                    
4|  Software: PHPMailer - PHP email class                                    |
                    
5|   Version: 5.1                                                            |
                    
7|      Info: http://phpmailer.sourceforge.net                               |
                    
8|   Support: http://sourceforge.net/projects/phpmailer/                     |
                    
9| ------------------------------------------------------------------------- |
                    
30/**
                    
31 * PHPMailer - PHP POP Before SMTP Authentication Class
                    
32 * NOTE: Designed for use with PHP version 5 and up
                    
46 * Modifications: Andy Prevost
                    
47 * License: LGPL, see PHPMailer License
                    
48 *
                    
48 *
                    
49 * Specifically for PHPMailer to allow POP before SMTP authentication.
                    
50 * Does not yet work with APOP - if you have an APOP account, contact Richard Davey
                    
                
inputmask.regex.extensions.js https://gitlab.com/cavadu/mercatitulo | JavaScript | 215 lines
                    
4 Copyright (c) 2010 -  Robin Herbots
                    
5 Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
                    
6 Version: 0.0.0-dev
                    
35				"r": {
                    
36					validator: function (chrs, maskset, pos, strict, opts) {
                    
37						var cbuffer = maskset.buffer.slice(),
                    
198
                    
199						cbuffer.splice(pos, 0, chrs);
                    
200						bufferStr = cbuffer.join("");
                    
                
tcp_cubic.c https://gitlab.com/rychly/rk3026-linux-sources | C | 492 lines
                    
14 *  Sangtae Ha and Injong Rhee,
                    
15 *  "Taming the Elephants: New TCP Slow Start", NCSU TechReport 2008.
                    
16 * Available from:
                    
16 * Available from:
                    
17 *  http://netsrv.csc.ncsu.edu/export/hystart_techreport_2008.pdf
                    
18 *
                    
19 * All testing results are available from:
                    
20 * http://netsrv.csc.ncsu.edu/wiki/index.php/TCP_Testing
                    
21 *
                    
                
class-wcs-report-cache-manager.php https://bitbucket.org/tristangemus/tribe-demo.git | PHP | 357 lines
                    
1<?php
                    
2/**
                    
127	 * (as reported during beta testing in https://github.com/Prospress/woocommerce-subscriptions/issues/1732). We do this at 4am in the
                    
128	 * site's timezone, which helps avoid running the queries during busy periods and also runs them after all the renewals for synchronised
                    
129	 * subscriptions should have finished for the day (which begins at 3am and rarely takes more than 1 hours of processing to get through
                    
148
                    
149				// PHP doesn't support a "next 4am" time format equivalent, so we need to manually handle getting 4am from earlier today (which will always happen when this is run after 4am and before midnight in the site's timezone)
                    
150				if ( $cache_update_timestamp <= gmdate( 'U' ) ) {
                    
216		// Load report class dependencies
                    
217		require_once( ABSPATH . 'wp-admin/includes/class-wp-list-table.php' );
                    
218		require_once( WC()->plugin_path() . '/includes/admin/reports/class-wc-admin-report.php' );
                    
                
page.tpl.php https://gitlab.com/endomorphosis/aegir | PHP | 168 lines
                    
1<?php
                    
2// $Id: page.tpl.php 6635 2010-03-01 00:39:49Z chris $
                    
3$curr_contexts = context_active_contexts();
                    
4?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
                    
5<html xmlns="http://www.w3.org/1999/xhtml" lang="<?php print $language->language; ?>" xml:lang="<?php print $language->language; ?>">
                    
6
                    
24
                    
25<body id="<?php print $body_id; ?>" class="<?php print $body_classes; ?>">
                    
26  <div id="left-background"> </div><div id="right-background"> </div>
                    
56                <div id="logo">
                    
57                  <a href="<?php print check_url($front_page); ?>" title="<?php print t('Home'); ?>"><img src="<?php print $logo; ?>" alt="<?php print t('Home'); ?>" /></a>
                    
58                </div>
                    
62                  <?php if ($site_name): ?>
                    
63                  <span id="site-name"><a href="<?php print check_url($front_page); ?>" title="<?php print t('Home'); ?>"><?php print $site_name; ?></a></span>
                    
64                  <?php endif; ?>
                    
                
README.md git://github.com/timroes/aXMLRPC.git | Markdown | 314 lines
                    
77
                    
78#### Asynchronous Calls
                    
79
                    
79
                    
80The above method calls are synchronous. So the method `call` will return when the server responded
                    
81or an error occured. There is also a possibility for asynchronous server calls.
                    
82You need to implement an XMLRPCCallback that will get noticed about the respone (or error) from
                    
83the server. The `callAsync` method can be used to make asynchronous calls. It returns an identifier
                    
84that will also be send to the XMLRPCCallback instance with the response of the server, so your
                    
183The client will be able to send `null` values. A `null` value will be send
                    
184as `<nil/>`. This extension is described under: http://ontosys.com/xml-rpc/extensions.php
                    
185
                    
295
                    
296The library is licensed under [MIT License] (http://www.opensource.org/licenses/mit-license.php).
                    
297See the LICENSE file for the license text. 
                    
                
func.php http://snowcms.googlecode.com/svn/trunk/ | PHP | 272 lines
                    
1<?php
                    
2////////////////////////////////////////////////////////////////////////////
                    
66			'stripos' => create_function('$haystack, $needle, $offset = 0', '
                    
67										 // This function doesn\'t exist until PHP 5.2.0 >=
                    
68										 if(function_exists(\'mb_stripos\'))
                    
81			'strpos' => 'mb_strpos',
                    
82			'strrchr' => 'mb_strrchr',
                    
83			'strrichr' => create_function('$haystack, $needle, $part = false', '
                    
83			'strrichr' => create_function('$haystack, $needle, $part = false', '
                    
84											if(function_exists(\'mb_strrichr\'))
                    
85												return mb_strrichr($haystack, $needle, $part);
                    
86											else
                    
87												return mb_strrchr(mb_strtolower($haystack), mb_strtolower($needle), $part);'),
                    
88			'strripos' => create_function('$haystack, $needle, $offset = 0', '
                    
113			'strpos' => 'strpos',
                    
114			'strrchr' => 'strrchr',
                    
115			'strrichr' => create_function('$haystack, $needle, $part = false', '
                    
                
nuevanoticia.tpl https://gitlab.com/xixou1/senderosmallorca | Smarty Template | 349 lines
                    
8        <meta charset="utf-8">
                    
9        <!-- Always force latest IE rendering engine or request Chrome Frame -->
                    
10        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
                    
122            background: -moz-linear-gradient(top,  #dbd659 0%, #eabd4b 100%); /* FF3.6-15 */
                    
123            background: -webkit-linear-gradient(top,  #dbd659 0%,#eabd4b 100%); /* Chrome10-25,Safari5.1-6 */
                    
124            background: linear-gradient(to bottom,  #dbd659 0%,#eabd4b 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
                    
151        function logof(){
                    
152            window.location.href = "logof.php";
                    
153        }
                    
154        function index(){
                    
155            window.location.href = "index.php";
                    
156        }
                    
158        function nuevaRuta(){
                    
159            window.location.href = "nuevaruta.php";
                    
160        }
                    
                
XmlDescriptor.php https://gitlab.com/Marwamimo/Crowdrise_Web | PHP | 396 lines
                    
1<?php
                    
2
                    
329        $serviceXML->setAttribute('lazy', $definition->isLazy() ? 'true' : 'false');
                    
330        $serviceXML->setAttribute('synchronized', $definition->isSynchronized() ? 'true' : 'false');
                    
331        $serviceXML->setAttribute('abstract', $definition->isAbstract() ? 'true' : 'false');
                    
                
blocks.php http://viet-group.googlecode.com/svn/trunk/ | PHP | 251 lines
                    
1<?php
                    
2
                    
16{
                    
17    $select_options[NV_BASE_ADMINURL . "index.php?" . NV_NAME_VARIABLE . "=" . $module_name . "&amp;" . NV_OP_VARIABLE . "=blocks&amp;selectthemes=" . $themes_i] = $themes_i;
                    
18}
                    
39$result = $db->sql_query( $sql );
                    
40while ( list( $m_title, $m_custom_title ) = $db->sql_fetchrow( $result ) )
                    
41{
                    
67$result = $db->sql_query( "SELECT `position`, count(*) FROM `" . NV_BLOCKS_TABLE . "_groups` WHERE theme='" . $selectthemes . "' GROUP BY `position`" );
                    
68while ( list( $position, $numposition ) = $db->sql_fetchrow( $result ) )
                    
69{
                    
73$result = $db->sql_query( "SELECT * FROM `" . NV_BLOCKS_TABLE . "_groups` WHERE theme='" . $selectthemes . "' ORDER BY `position` ASC, `weight` ASC" );
                    
74while ( $row = $db->sql_fetchrow( $result ) )
                    
75{
                    
109        $result_func = $db->sql_query( "SELECT a.func_id, a.in_module, a.func_custom_name FROM `" . NV_MODFUNCS_TABLE . "` AS a INNER JOIN `" . NV_BLOCKS_TABLE . "_weight` AS b ON a.func_id=b.func_id WHERE b.bid=" . $row['bid'] . "" );
                    
110        while ( list( $funcid_inlist, $func_inmodule, $funcname_inlist ) = $db->sql_fetchrow( $result_func ) )
                    
111        {
                    
                
 

Source

Language