PageRenderTime 622ms queryTime 167ms sortTime 92ms getByIdsTime 112ms findMatchingLines 74ms

100+ results results for 'php chr repo:enurkov/todo' (622 ms)

Not the results you expected?
twitter-timeline.php https://gitlab.com/hunt9310/ras | 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' ); ?>
                    
                
File.php https://gitlab.com/rsilveira1987/Expresso | PHP | 473 lines
                    
1<?php
                    
2/**
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: File.php 10020 2009-08-18 14:34:09Z j.fischer@metaways.de $
                    
21 */
                    
117    {
                    
118        return $this->_fwrite(chr($byte), 1);
                    
119    }
                    
170        settype($value, 'integer');
                    
171        $this->_fwrite( chr($value>>24 & 0xFF) .
                    
172                        chr($value>>16 & 0xFF) .
                    
172                        chr($value>>16 & 0xFF) .
                    
173                        chr($value>>8  & 0xFF) .
                    
174                        chr($value     & 0xFF),   4  );
                    
190         */
                    
191        if (PHP_INT_SIZE > 4) {
                    
192            $str = $this->_fread(8);
                    
                
tcp_cubic.c https://gitlab.com/karrei/inel-imx6-kernel | C | 497 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 *
                    
                
makeXMLForOneService.php https://gitlab.com/florianocomercial/centreon | PHP | 287 lines
                    
1<?php
                    
2/*
                    
38 */
                    
39require_once realpath(dirname(__FILE__) . "/../../../../../../config/centreon.config.php");
                    
40
                    
40
                    
41include_once $centreon_path . "www/class/centreonUtils.class.php";
                    
42
                    
45 */
                    
46include_once _CENTREON_PATH_ . "www/class/centreonXMLBGRequest.class.php";
                    
47include_once _CENTREON_PATH_ . "www/class/centreonLang.class.php";
                    
131$DBRESULT = $obj->DBC->query($rq1);
                    
132if ($data = $DBRESULT->fetchRow()) {
                    
133    /* Split the plugin_output */
                    
                
SetTest.php https://gitlab.com/yousafsyed/easternglamor | 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     */
                    
                
PageRepositoryTest.php https://gitlab.com/crazybutterfly815/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    }
                    
                
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	 *
                    
                
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)
                    
                
ibase_driver.php https://gitlab.com/carlosambiado89/IntranetPlanEvalWeb | 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		}
                    
                
SimpleHeaderSet.php https://gitlab.com/dsasmita/talita-shop | 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 */
                    
                
Person.php https://gitlab.com/isdzulqor/Slis-Dev | PHP | 132 lines
                    
1<?php
                    
2
                    
31        'Barnet','Barry','Ben','Benjamin','Bennie','Benny','Bernard','Berry','Berta','Bertha','Bill','Billy','Bobby','Boyd','Bradley','Brian','Bruce',
                    
32        'Caesar','Caleb','Carol','Cecil','Charles','Charlie','Chris','Christian','Christopher','Cleveland','Clifford','Clinton','Collin','Conrad',
                    
33        'Dan','Daren','Dave','David','Dax','Denis','Dennis','Derek','Derick','Derrick','Don','Donald','Douglas','Dylan',
                    
54        'Abigail','Adela','Adrianna','Adrienne','Aisha','Alice','Alisha','Alison','Amanda','Amelia','Amina','Amy','Anabel','Anabelle','Angela','Angelina','Angie','Anita','Anna','Annamarie','Anne','Annette','April','Arianna','Ariela','Asha','Ashley','Ashly','Audrey','Aurelia',
                    
55        'Barbara','Beatrice','Bella','Bernadette','Beth','Bethany','Bethel','Betsy','Bette','Bettie','Betty','Blanche','Bonita','Bonnie','Brenda','Bridget','Bridgette','Carissa','Carol','Carole','Carolina','Caroline','Carolyn','Carolyne','Catharine','Catherine','Cathrine','Cathryn','Cathy','Cecelia','Cecile','Cecilia','Charity','Charlotte','Chloe','Christina','Christine','Cindy','Claire','Clara','Clarissa','Claudine','Cristal','Crystal','Cynthia',
                    
56        'Dahlia','Daisy','Daniela','Daniella','Danielle','Daphne','Daphnee','Daphney','Darlene','Deborah','Destiny','Diana','Dianna','Dina','Dolly','Dolores','Donna','Dora','Dorothy','Dorris',
                    
                
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     */
                    
                
u8g_dev_ssd1322_nhd31oled_bw.c https://gitlab.com/anthem/Marlin | 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*/
                    
                
logs.php https://gitlab.com/phamngsinh/baitaplon_sinhvien | 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 );
                    
                
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.",
                    
                
CaBundle.php https://gitlab.com/imamul68e/137619_PHP31 | PHP | 291 lines
                    
17/**
                    
18 * @author Chris Smith <chris@cs278.org>
                    
19 * @author Jordi Boggiano <j.boggiano@seld.be>
                    
196        // PHP 5.3.0 - PHP 5.3.27
                    
197        // PHP 5.4.0 - PHP 5.4.22
                    
198        // PHP 5.5.0 - PHP 5.5.6
                    
201            || (PHP_VERSION_ID < 50500 && PHP_VERSION_ID >= 50423)
                    
202            || (PHP_VERSION_ID < 50600 && PHP_VERSION_ID >= 50507)
                    
203        ) {
                    
244        // Based on testcase in https://github.com/php/php-src/commit/c1224573c773b6845e83505f717fbf820fc18415
                    
245        // changes in https://github.com/php/php-src/commit/76a7fd893b7d6101300cc656058704a73254d593
                    
246        $cert = 'LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUVwRENDQTR5Z0F3SUJBZ0lKQUp6dThyNnU2ZUJjTUEwR0NTcUdTSWIzRFFFQkJRVUFNSUhETVFzd0NRWUQKVlFRR0V3SkVSVEVjTUJvR0ExVUVDQXdUVG05eVpISm9aV2x1TFZkbGMzUm1ZV3hsYmpFUU1BNEdBMVVFQnd3SApTOE9Ed3Jac2JqRVVNQklHQTFVRUNnd0xVMlZyZEdsdmJrVnBibk14SHpBZEJnTlZCQXNNRmsxaGJHbGphVzkxCmN5QkRaWEowSUZObFkzUnBiMjR4SVRBZkJnTlZCQU1NR0cxaGJHbGphVzkxY3k1elpXdDBhVzl1WldsdWN5NWsKWlRFcU1DZ0dDU3FHU0liM0RRRUpBUlliYzNSbFptRnVMbVZ6YzJWeVFITmxhM1JwYjI1bGFXNXpMbVJsTUhVWQpaREU1TnpBd01UQXhNREF3TURBd1dnQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBCkFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUEKQUFBQUFBQVhEVEUwTVRFeU9ERXhNemt6TlZvd2djTXhDekFKQmdOVkJBWVRBa1JGTVJ3d0dnWURWUVFJREJOTwpiM0prY21obGFXNHRWMlZ6ZEdaaGJHVnVNUkF3RGdZRFZRUUhEQWRMdzRQQ3RteHVNUlF3RWdZRFZRUUtEQXRUClpXdDBhVzl1UldsdWN6RWZNQjBHQTFVRUN3d1dUV0ZzYVdOcGIzVnpJRU5sY25RZ1UyVmpkR2x2YmpFaE1COEcKQTFVRUF3d1liV0ZzYVdOcGIzVnpMbk5sYTNScGIyNWxhVzV6TG1SbE1Tb3dLQVlKS29aSWh2Y05BUWtCRmh0egpkR1ZtWVc0dVpYTnpaWEpBYzJWcmRHbHZibVZwYm5NdVpHVXdnZ0VpTUEwR0NTcUdTSWIzRFFFQkFRVUFBNElCCkR3QXdnZ0VLQW9JQkFRRERBZjNobDdKWTBYY0ZuaXlFSnBTU0RxbjBPcUJyNlFQNjV1c0pQUnQvOFBhRG9xQnUKd0VZVC9OYSs2ZnNnUGpDMHVLOURaZ1dnMnRIV1dvYW5TYmxBTW96NVBINlorUzRTSFJaN2UyZERJalBqZGhqaAowbUxnMlVNTzV5cDBWNzk3R2dzOWxOdDZKUmZIODFNTjJvYlhXczROdHp0TE11RDZlZ3FwcjhkRGJyMzRhT3M4CnBrZHVpNVVhd1Raa3N5NXBMUEhxNWNNaEZHbTA2djY1Q0xvMFYyUGQ5K0tBb2tQclBjTjVLTEtlYno3bUxwazYKU01lRVhPS1A0aWRFcXh5UTdPN2ZCdUhNZWRzUWh1K3ByWTNzaTNCVXlLZlF0UDVDWm5YMmJwMHdLSHhYMTJEWAoxbmZGSXQ5RGJHdkhUY3lPdU4rblpMUEJtM3ZXeG50eUlJdlZBZ01CQUFHalFqQkFNQWtHQTFVZEV3UUNNQUF3CkVRWUpZSVpJQVliNFFnRUJCQVFEQWdlQU1Bc0dBMVVkRHdRRUF3SUZvREFUQmdOVkhTVUVEREFLQmdnckJnRUYKQlFjREFqQU5CZ2txaGtpRzl3MEJBUVVGQUFPQ0FRRUFHMGZaWVlDVGJkajFYWWMrMVNub2FQUit2SThDOENhRAo4KzBVWWhkbnlVNGdnYTBCQWNEclk5ZTk0ZUVBdTZacXljRjZGakxxWFhkQWJvcHBXb2NyNlQ2R0QxeDMzQ2tsClZBcnpHL0t4UW9oR0QySmVxa2hJTWxEb214SE83a2EzOStPYThpMnZXTFZ5alU4QVp2V01BcnVIYTRFRU55RzcKbFcyQWFnYUZLRkNyOVRuWFRmcmR4R1ZFYnY3S1ZRNmJkaGc1cDVTanBXSDErTXEwM3VSM1pYUEJZZHlWODMxOQpvMGxWajFLRkkyRENML2xpV2lzSlJvb2YrMWNSMzVDdGQwd1lCY3BCNlRac2xNY09QbDc2ZHdLd0pnZUpvMlFnClpzZm1jMnZDMS9xT2xOdU5xLzBUenprVkd2OEVUVDNDZ2FVK1VYZTRYT1Z2a2NjZWJKbjJkZz09Ci0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0K';
                    
269            count($output) === 3
                    
270            && $output[0] === sprintf('string(%d) "%s"', strlen(PHP_VERSION), PHP_VERSION)
                    
271            && $output[1] === 'string(27) "stefan.esser@sektioneins.de"'
                    
                
SimpleHeaderSet.php https://gitlab.com/jjpa2018/dashboard | PHP | 399 lines
                    
1<?php
                    
2
                    
4 * This file is part of SwiftMailer.
                    
5 * (c) 2004-2009 Chris Corbyn
                    
6 *
                    
13 *
                    
14 * @author Chris Corbyn
                    
15 */
                    
                
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
                    
                
DynamicRouter.php https://gitlab.com/guillaumev/alkarama | PHP | 387 lines
                    
1<?php
                    
2
                    
211     *
                    
212     * @deprecated Use matchRequest exclusively to avoid problems. This method will be removed in version 2.0
                    
213     *
                    
217    {
                    
218        @trigger_error(__METHOD__.'() is deprecated since version 1.3 and will be removed in 2.0. Use matchRequest() instead.', E_USER_DEPRECATED);
                    
219
                    
231        if (!$matcher instanceof UrlMatcherInterface) {
                    
232            throw new \InvalidArgumentException('Wrong matcher type, you need to call matchRequest');
                    
233        }
                    
254     */
                    
255    public function matchRequest(Request $request)
                    
256    {
                    
271        } else {
                    
272            $defaults = $matcher->matchRequest($request);
                    
273        }
                    
                
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>
                    
                
group.php https://gitlab.com/phamngsinh/baitaplon_sinhvien | 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;
                    
                
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_
                    
                
file_helper.php https://gitlab.com/bipsahu/ptcs | 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
                    
                
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 *
                    
                
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>
                    
                
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');
                    
                
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 *
                    
                
overview.md https://gitlab.com/xanium4332/atom-config | Markdown | 231 lines
                    
3
                    
4Marko is an eBay open source HTML-based templating engine that can be used to render templates on the server (Node.js) or in the web browser. It is [extremely fast](https://github.com/marko-js/templating-benchmarks) and lightweight (~3.75KB gzipped) while also supporting streaming and asynchronous rendering. Developers can extend the HTML grammar with custom tags and custom attributes to introduce new and reusable building blocks. The Marko compiler produces Node.js-compatible JavaScript modules that are [easy to read](https://gist.github.com/patrick-steele-idem/0514b480219d1c9ed8d4#file-template-marko-js), understand and debug. In contrast to other templating engines, Marko avoids [evil global variables](http://archive.oreilly.com/pub/a/javascript/excerpts/javascript-good-parts/awful-parts.html) and global helpers.
                    
5
                    
7
                    
8Marko supports [progressive HTML rendering](http://markojs.com/docs/marko/async-taglib/) by writing directly to an output stream so that HTML can be sent over the wire sooner. Marko automatically flushes around asynchronous parts of the template so that the HTML is delivered in the optimized number of chunks. Because Marko is an asynchronous templating language, additional data can be asynchronously fetched even after rendering has begun. These characteristics make Marko an excellent choice for creating high performance websites.
                    
9
                    
22- Sublime Text: [marko-sublime](https://github.com/merwan7/sublime-marko)
                    
23- WebStorm: [marko.tmbundle](https://github.com/marko-js/marko-tmbundle) (See: [Importing TextMate Bundles](https://www.jetbrains.com/phpstorm/help/importing-textmate-bundles.html))
                    
24- TextMate: [marko.tmbundle](https://github.com/marko-js/marko-tmbundle)
                    
215
                    
216Finally, another distinguishing feature of Marko is that it supports _asynchronous template rendering_. This powerful feature allows portions of the template to be rendered asynchronously. Instead of waiting for all data to come back from remote services before beginning to render the template, you can now immediately start rendering the template and the portions of the template that depend on asynchronous data will render as soon as the asynchronous data becomes available. The Marko rendering engine ensures that the final HTML will be streamed out in the correct order.
                    
217
                    
224* __Not Restrictive:__ Whether or not to go less logic or more logic in templates is up to the developer.
                    
225* __Asynchronous and Streaming Output:__ It should be possible to render HTML out-of-order, but the output HTML should be streamed out in the correct order. This minimizes idle time and reduces the time to first byte.
                    
226* __Intuitive:__ The templating engine should introduce as few surprises as possible.
                    
                
Chunk.php https://gitlab.com/matthww/Elywing | PHP | 463 lines
                    
1<?php
                    
2
                    
125	public function setBlockId($x, $y, $z, $id){
                    
126		$this->blocks{($x << 11) | ($z << 7) | $y} = chr($id);
                    
127		$this->hasChanged = true;
                    
142		if(($y & 1) === 0){
                    
143			$this->data{$i} = chr(($old_m & 0xf0) | ($data & 0x0f));
                    
144		}else{
                    
144		}else{
                    
145			$this->data{$i} = chr((($data & 0x0f) << 4) | ($old_m & 0x0f));
                    
146		}
                    
164		if($blockId !== null){
                    
165			$blockId = chr($blockId);
                    
166			if($this->blocks{$i} !== $blockId){
                    
175			if(($y & 1) === 0){
                    
176				$this->data{$i} = chr(($old_m & 0xf0) | ($meta & 0x0f));
                    
177				if(($old_m & 0x0f) !== $meta){
                    
                
qrsplit.php https://gitlab.com/Ltaimao/wecenter | 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                    }
                    
                
Database.php https://gitlab.com/LisovyiEvhenii/ismextensions | 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;
                    
                
Users.php https://gitlab.com/Anas7232/Layout-Changes | PHP | 209 lines
                    
1<?php
                    
2/*
                    
143   * using orderBy="creationTimestamp desc". This sorts results based on the
                    
144   * creationTimestamp field in reverse chronological order (newest result first).
                    
145   * Use this to sort resources like operations so that the newest operation is
                    
                
controller.php https://gitlab.com/koodersmiikka/operaatio-terveys | PHP | 315 lines
                    
1<?php
                    
2
                    
34            if ($r) {
                    
35                while ($row = $r->fetchRow()) {
                    
36                    $opt = new Option();
                    
168            if ($r2) {
                    
169                while ($row = $r2->fetchRow()) {
                    
170                    $v3 = array($newOptionID, $row['uID'], $row['ipAddress'], $row['timestamp']);
                    
227        $i = 0;
                    
228        while ($row = $r->fetchRow()) {
                    
229            $options[$i]['name'] = $row['optionName'];
                    
241
                    
242            if ($row = $r->fetchRow()) {
                    
243                $options[$i]['amount'] = $row['count(*)'];
                    
                
Configuration.php https://gitlab.com/fbi/web | PHP | 92 lines
                    
1<?php
                    
2
                    
23 *
                    
24 * @author Christophe Coevoet <stof@notk.org>
                    
25 */
                    
                
app.blade.php https://gitlab.com/rocs/Streaming-Safe-for-Kids | PHP | 93 lines
                    
19    <script type="text/javascript">
                    
20    // 2. This code loads the IFrame Player API code asynchronously.
                    
21    var tag = document.createElement('script');
                    
35    <script>
                    
36        window.Laravel = <?php echo json_encode([
                    
37                'csrfToken' => csrf_token(),
                    
                
timesbi.php https://gitlab.com/nexxuz/phpBMS | 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);
                    
                
helveticab.php https://gitlab.com/nexxuz/phpBMS | 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);
                    
                
helvetica.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);
                    
                
timesb.php https://gitlab.com/nexxuz/phpBMS | 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);
                    
                
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        }
                    
                
JsonViewTest.php https://gitlab.com/grlopez90/servipro | PHP | 407 lines
                    
1<?php
                    
2/**
                    
4 *
                    
5 * CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html>
                    
6 * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
                    
12 * @copyright     Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
                    
13 * @link          http://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests
                    
14 * @package       Cake.Test.Case.View
                    
14 * @package       Cake.Test.Case.View
                    
15 * @since         CakePHP(tm) v 2.1.0
                    
16 * @license       http://www.opensource.org/licenses/mit-license.php MIT License
                    
202	public function testRenderWithoutViewJsonOptions() {
                    
203		$this->skipIf(!version_compare(PHP_VERSION, '5.3.0', '>='), 'Needs PHP5.3+ for these constants to be tested');
                    
204
                    
233		$Controller->set(array(
                    
234			'tags' => array('cakephp', 'framework'),
                    
235			'_serialize' => 'tags'
                    
                
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 *
                    
                
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
                    
                
DependencyContainer.php https://gitlab.com/3dplex/3d-plex-main-site | PHP | 448 lines
                    
1<?php
                    
2
                    
4 * This file is part of SwiftMailer.
                    
5 * (c) 2004-2009 Chris Corbyn
                    
6 *
                    
15 * @package Swift
                    
16 * @author  Chris Corbyn
                    
17=======
                    
17=======
                    
18 * @author Chris Corbyn
                    
19>>>>>>> update grav cms
                    
                
loco-translate-fr_FR.js https://gitlab.com/najomie/fit-hippie | JavaScript | 185 lines
                    
50    "%s file is empty": "Le fichier %s est vide",
                    
51    "Run Sync to update from source code": "Exécutez Synchro pour mettre à jour depuis le code source",
                    
52    "No strings could be extracted from source code": "Aucune chaîne de caractères n'a pu être extraire du code source",
                    
52    "No strings could be extracted from source code": "Aucune chaîne de caractères n'a pu être extraire du code source",
                    
53    "Run Sync to update from %s": "Exécutez Synchro pour mettre à jour depuis %s",
                    
54    "Source code has been modified, run Sync to update POT": "Le code source a été modifié, exécutez Synchro pour mettre à jour le modèle (fichier POT)",
                    
54    "Source code has been modified, run Sync to update POT": "Le code source a été modifié, exécutez Synchro pour mettre à jour le modèle (fichier POT)",
                    
55    "POT has been modified since PO file was saved, run Sync to update": "Le modèle (fichier POT) a été mis à jour depuis la dernière modification du fichier de traduction (fichier PO), exécutez Synchro pour mettre à jour ce dernier",
                    
56    "Bad file path": "Mauvais chemin de fichier",
                    
74    "File download failed": "Le téléchargement du fichier a échoué",
                    
75    "WPLANG is deprecated and should be removed from wp-config.php": "La constante WPLANG est dépréciée et devrait être supprimée de wp-config.php",
                    
76    "Unknown language": "Région inconnue",
                    
136    "Download": "Télécharger",
                    
137    "Sync": "Synchro",
                    
138    "Revert": "Rétablir",
                    
                
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
                    
                
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 *
                    
                
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.
                    
                
classInteractiveFastBlurView.html https://gitlab.com/oktomus/s5-projet-poo2 | HTML | 165 lines
                    
39$(function() {
                    
40  initMenu('',true,false,'search.php','Recherche');
                    
41  $(document).ready(function() { init_search(); });
                    
52<!-- iframe showing the search results (closed by default) -->
                    
53<div id="MSearchResultsWindow">
                    
54<iframe src="javascript:void(0)" frameborder="0" 
                    
54<iframe src="javascript:void(0)" frameborder="0" 
                    
55        name="MSearchResults" id="MSearchResults">
                    
56</iframe>
                    
                
fdt_ro.c https://gitlab.com/openbar/rpi-linux | C | 579 lines
                    
71		return 1;
                    
72	else if (!memchr(s, '@', len) && (p[len] == '@'))
                    
73		return 1;
                    
166	if (*path != '/') {
                    
167		const char *q = memchr(path, '/', end - p);
                    
168
                    
187		}
                    
188		q = memchr(p, '/', end - p);
                    
189		if (! q)
                    
336	php = fdt_getprop(fdt, nodeoffset, "phandle", &len);
                    
337	if (!php || (len != sizeof(*php))) {
                    
338		php = fdt_getprop(fdt, nodeoffset, "linux,phandle", &len);
                    
338		php = fdt_getprop(fdt, nodeoffset, "linux,phandle", &len);
                    
339		if (!php || (len != sizeof(*php)))
                    
340			return 0;
                    
                
countries.php https://gitlab.com/campus-academy/krowkaramel | PHP | 266 lines
                    
1<?php
                    
2/**
                    
63	'CN' => __( 'China', 'woocommerce' ),
                    
64	'CX' => __( 'Christmas Island', 'woocommerce' ),
                    
65	'CC' => __( 'Cocos (Keeling) Islands', 'woocommerce' ),
                    
                
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 *
                    
                
PhpTransliteration.php https://gitlab.com/leoplanxxi/dr7-web-buap-2016 | PHP | 288 lines
                    
1<?php
                    
2
                    
4 * @file
                    
5 * Definition of \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   *
                    
                
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 *
                    
                
sqlite_driver.php https://gitlab.com/venenux/codeigniterpower | PHP | 660 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 *
                    
41	var $_like_escape_str = " ESCAPE '%s' ";
                    
42	var $_like_escape_chr = '!';
                    
43
                    
296			$str = str_replace(	array('%', '_', $this->_like_escape_chr),
                    
297								array($this->_like_escape_chr.'%', $this->_like_escape_chr.'_', $this->_like_escape_chr.$this->_like_escape_chr),
                    
298								$str);
                    
377		{
                    
378			$sql .= " AND 'name' LIKE '".$this->escape_like_str($this->dbprefix)."%' ".sprintf($this->_like_escape_str, $this->_like_escape_chr);
                    
379		}
                    
658
                    
659/* End of file sqlite_driver.php */
                    
660/* Location: ./system/database/drivers/sqlite/sqlite_driver.php */
                    
                
listCommand.php https://gitlab.com/florianocomercial/centreon | PHP | 232 lines
                    
1<?php
                    
2/*
                    
39
                    
40include_once("./class/centreonUtils.class.php");
                    
41
                    
41
                    
42include_once "./include/common/autoNumLimit.php";
                    
43
                    
75
                    
76$tmp = $DBRESULT->fetchRow();
                    
77$rows = $tmp["COUNT(*)"];
                    
78
                    
79include_once "./include/common/checkPagination.php";
                    
80
                    
135$elemArr = array();
                    
136for ($i = 0; $cmd = $DBRESULT->fetchRow(); $i++) {
                    
137        $moptions = "";
                    
                
MailboxHeader.php https://gitlab.com/dsasmita/talita-shop | 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
                    
                
index.php https://gitlab.com/cmaring1994/Blog | PHP | 116 lines
                    
4        <meta charset="utf-8">
                    
5        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
                    
6        <title>INICIO</title>
                    
35
                    
36  <?php 
                    
37     session_start(); 
                    
40        }else{
                    
41         header('Location: Inicio.php');  
                    
42        }
                    
56    </h2>
                    
57    <form class="ui large form" action="configuracion_login.php" method="post">
                    
58
                    
61    <label>
                    
62      <?php 
                    
63         if(isset($_GET['msg'])){
                    
                
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.
                    
                
layout.php https://gitlab.com/mlnkv/fusioninvoice | PHP | 212 lines
                    
165						<li class="divider-vertical"></li>
                    
166						<li><a href="<?php echo site_url('sessions/logout'); ?>" class="tip icon logout" data-original-title="<?php echo lang('logout'); ?>" data-placement="bottom"><i class="icon-off"></i></a></li>
                    
167					</ul>
                    
177			<ul>
                    
178				<li><a href="<?php echo site_url('dashboard'); ?>"><img alt="" src="<?php echo base_url(); ?>assets/default/img/icons/dashboard24x24.png" title="<?php echo lang('dashboard'); ?>" /></a></li>
                    
179				<li><a href="<?php echo site_url('clients/index'); ?>"><img alt="" src="<?php echo base_url(); ?>assets/default/img/icons/clients24x24.png" title="<?php echo lang('clients'); ?>" /></a></li>
                    
179				<li><a href="<?php echo site_url('clients/index'); ?>"><img alt="" src="<?php echo base_url(); ?>assets/default/img/icons/clients24x24.png" title="<?php echo lang('clients'); ?>" /></a></li>
                    
180				<li><a href="<?php echo site_url('quotes/index'); ?>"><img alt="" src="<?php echo base_url(); ?>assets/default/img/icons/quotes24x24.png" title="<?php echo lang('quotes'); ?>" /></a></li>
                    
181				<li><a href="<?php echo site_url('invoices/index'); ?>"><img alt="" src="<?php echo base_url(); ?>assets/default/img/icons/invoices24x24.png" title="<?php echo lang('invoices'); ?>" /></a></li>
                    
181				<li><a href="<?php echo site_url('invoices/index'); ?>"><img alt="" src="<?php echo base_url(); ?>assets/default/img/icons/invoices24x24.png" title="<?php echo lang('invoices'); ?>" /></a></li>
                    
182				<li><a href="<?php echo site_url('payments/index'); ?>"><img alt="" src="<?php echo base_url(); ?>assets/default/img/icons/payments24x24.png" title="<?php echo lang('payments'); ?>" /></a></li>
                    
183			</ul>
                    
204		<!-- Prompt IE 6 users to install Chrome Frame. Remove this if you want to support IE 6.
                    
205			 chromium.org/developers/how-tos/chrome-frame-getting-started -->
                    
206		<!--[if lt IE 7 ]>
                    
                
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>';
                    
                
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
                    
                
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
                    
                
Address.php https://gitlab.com/isdzulqor/Slis-Dev | PHP | 137 lines
                    
1<?php
                    
2
                    
39    protected static $country = array(
                    
40        'Afghanistan', 'Afrique du sud', 'Albanie', 'Algérie', 'Allemagne', 'Andorre', 'Angola', 'Anguilla', 'Antarctique', 'Antigua et Barbuda', 'Antilles néerlandaises', 'Arabie saoudite', 'Argentine', 'Arménie', 'Aruba', 'Australie', 'Autriche', 'Azerbaïdjan', 'Bahamas', 'Bahrain', 'Bangladesh', 'Belgique', 'Belize', 'Benin', 'Bermudes (Les)', 'Bhoutan', 'Biélorussie', 'Bolivie', 'Bosnie-Herzégovine', 'Botswana', 'Bouvet (Îles)', 'Brunei', 'Brésil', 'Bulgarie', 'Burkina Faso', 'Burundi', 'Cambodge', 'Cameroun', 'Canada', 'Cap Vert', 'Cayman (Îles)', 'Chili', 'Chine (Rép. pop.)', 'Christmas (Île)', 'Chypre', 'Cocos (Îles)', 'Colombie', 'Comores', 'Cook (Îles)', 'Corée du Nord', 'Corée, Sud', 'Costa Rica', 'Croatie', 'Cuba', 'Côte d\'Ivoire', 'Danemark', 'Djibouti', 'Dominique', 'Égypte', 'El Salvador', 'Émirats arabes unis', 'Équateur', 'Érythrée', 'Espagne', 'Estonie', 'États-Unis', 'Ethiopie', 'Falkland (Île)', 'Fidji (République des)', 'Finlande', 'France', 'Féroé (Îles)', 'Gabon',
                    
41        'Gambie', 'Ghana', 'Gibraltar', 'Grenade', 'Groenland', 'Grèce', 'Guadeloupe', 'Guam', 'Guatemala', 'Guinée', 'Guinée Equatoriale', 'Guinée-Bissau', 'Guyane', 'Guyane française', 'Géorgie', 'Géorgie du Sud et Sandwich du Sud (Îles)', 'Haïti', 'Heard et McDonald (Îles)', 'Honduras', 'Hong Kong', 'Hongrie', 'Îles Mineures Éloignées des États-Unis', 'Inde', 'Indonésie', 'Irak', 'Iran', 'Irlande', 'Islande', 'Israël', 'Italie', 'Jamaïque', 'Japon', 'Jordanie', 'Kazakhstan', 'Kenya', 'Kirghizistan', 'Kiribati', 'Koweit', 'La Barbad', 'Laos', 'Lesotho', 'Lettonie', 'Liban', 'Libye', 'Libéria', 'Liechtenstein', 'Lithuanie', 'Luxembourg', 'Macau', 'Macédoine', 'Madagascar', 'Malaisie', 'Malawi', 'Maldives (Îles)', 'Mali', 'Malte', 'Mariannes du Nord (Îles)', 'Maroc', 'Marshall (Îles)', 'Martinique', 'Maurice', 'Mauritanie', 'Mayotte', 'Mexique', 'Micronésie (États fédérés de)', 'Moldavie', 'Monaco', 'Mongolie', 'Montserrat', 'Mozambique', 'Myanmar', 'Namibie', 'Nauru', 'Nepal',
                    
                
SCP.php https://gitlab.com/daniruizcamacho/pfcascensores | PHP | 361 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 *
                    
                
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);
                    
                
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 );
                    
                
EvalSourceMapDevToolModuleTemplatePlugin.js https://gitlab.com/dongrvtop/angularcomponent | JavaScript | 115 lines
                    
1/*
                    
2	MIT License http://www.opensource.org/licenses/mit-license.php
                    
3	Author Tobias Koppers @sokra
                    
94						).toString("base64")}`
                    
95					) + `\n//# sourceURL=webpack-internal:///${module.id}\n`; // workaround for chrome bug
                    
96
                    
                
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
                    
                
StackList.php https://gitlab.com/koodersmiikka/operaatio-terveys | PHP | 111 lines
                    
1<?php
                    
2namespace Concrete\Core\Page\Stack;
                    
61            $gas = $x->addChild('stacks');
                    
62            while ($row = $r->FetchRow()) {
                    
63                $stack = Stack::getByName($row['stName']);
                    
                
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;'
                    
                
PublicDelegatedPrefixes.php https://gitlab.com/Japang-Jawara/jawara-penilaian | PHP | 257 lines
                    
1<?php
                    
2/*
                    
77   * using `orderBy="creationTimestamp desc"`. This sorts results based on the
                    
78   * `creationTimestamp` field in reverse chronological order (newest result
                    
79   * first). Use this to sort resources like operations so that the newest
                    
205   * using `orderBy="creationTimestamp desc"`. This sorts results based on the
                    
206   * `creationTimestamp` field in reverse chronological order (newest result
                    
207   * first). Use this to sort resources like operations so that the newest
                    
                
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   *
                    
                
user_waiting.php https://gitlab.com/phamngsinh/baitaplon_sinhvien | PHP | 222 lines
                    
1<?php
                    
2
                    
34    {
                    
35        Header( "Location: " . NV_BASE_ADMINURL . "index.php?" . NV_NAME_VARIABLE . "=" . $module_name );
                    
36        die();
                    
43    {
                    
44        Header( "Location: " . NV_BASE_ADMINURL . "index.php?" . NV_NAME_VARIABLE . "=" . $module_name );
                    
45        die();
                    
46    }
                    
47    $row = $db->sql_fetchrow( $result );
                    
48    
                    
73        $subject = $lang_module['adduser_register'];
                    
74        $message = sprintf( $lang_module['adduser_register_info'], $full_name, $global_config['site_name'], NV_MY_DOMAIN . NV_BASE_SITEURL . "index.php?" . NV_LANG_VARIABLE . "=" . NV_LANG_DATA . "&" . NV_NAME_VARIABLE . "=" . $module_name, $row['username'] );
                    
75        $message .= "<br /><br />------------------------------------------------<br /><br />";
                    
79    
                    
80    Header( "Location: " . NV_BASE_ADMINURL . "index.php?" . NV_NAME_VARIABLE . "=" . $module_name . "&" . NV_OP_VARIABLE . "=user_waiting" );
                    
81    die();
                    
                
ChromeManagement.php https://gitlab.com/Japang-Jawara/jawara-penilaian | PHP | 312 lines
                    
25 * <p>
                    
26 * The Chrome Management API is a suite of services that allows Chrome
                    
27 * administrators to view, manage and gain insights on their Chrome OS and
                    
39  /** See detailed information about apps installed on Chrome browsers and devices managed by your organization. */
                    
40  const CHROME_MANAGEMENT_APPDETAILS_READONLY =
                    
41      "https://www.googleapis.com/auth/chrome.management.appdetails.readonly";
                    
56  /**
                    
57   * Constructs the internal representation of the ChromeManagement service.
                    
58   *
                    
127    );
                    
128    $this->customers_apps_chrome = new ChromeManagement\Resource\CustomersAppsChrome(
                    
129        $this,
                    
311// Adding a class alias for backwards compatibility with the previous class name.
                    
312class_alias(ChromeManagement::class, 'Google_Service_ChromeManagement');
                    
313
                    
                
teo_ug.php https://gitlab.com/muthuvel.ns/imp-file | PHP | 462 lines
                    
1<?php
                    
2/**
                    
152    array (
                    
153      0 => 'Kabla ya Christo',
                    
154      1 => 'Baada ya Christo',
                    
                
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.";
                    
                
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/>";
                    
                
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(); ?>
                    
                
orderinglist.py https://gitlab.com/abhi1tb/build | Python | 389 lines
                    
5# This module is part of SQLAlchemy and is released under
                    
6# the MIT License: http://www.opensource.org/licenses/mit-license.php
                    
7
                    
15collection and
                    
16automatically synchronize changes in list position onto a target scalar
                    
17attribute.
                    
115attribute as an argument.  By default, the zero-based integer index of the
                    
116object's position in the :func:`.ordering_list` is synchronized with the
                    
117ordering attribute: index 0 will get position 0, index 1 position 1, etc.  To
                    
286    def reorder(self):
                    
287        """Synchronize ordering for the entire collection.
                    
288
                    
                
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>
                    
                
index.html https://gitlab.com/bappy_023/fast-project | HTML | 215 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">
                    
12
                    
13    <meta name="description" content="XAMPP is an easy to install Apache distribution containing MySQL, PHP and Perl." />
                    
14    <meta name="keywords" content="xampp, apache, php, perl, mysql, open source distribution" />
                    
61              <li class=""><a href="/dashboard/es/howto.html">HOW-TO Guides</a></li>
                    
62              <li class=""><a target="_blank" href="/dashboard/phpinfo.php">PHPInfo</a></li>
                    
63              <li id="locales" class="has-dropdown">
                    
121    <div class="large-12 columns">
                    
122      <h1><img src="/dashboard/images/xampp-logo.svg" />XAMPP <span>Apache + MySQL + PHP + Perl</span></h1>
                    
123    </div>
                    
133    <p>
                    
134      You have successfully installed XAMPP on this system! Now you can start using Apache, MySQL, PHP and other components.
                    
135      You can find more info in the <a href="/dashboard/es/faq.html">Preguntas frecuentes</a> section or check the <a href="/dashboard/es/howto.html">HOW-TO Guides</a> for getting started with PHP applications.
                    
                
index.html https://gitlab.com/bappy_023/fast-project | HTML | 215 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">
                    
12
                    
13    <meta name="description" content="XAMPP is an easy to install Apache distribution containing MySQL, PHP and Perl." />
                    
14    <meta name="keywords" content="xampp, apache, php, perl, mysql, open source distribution" />
                    
61              <li class=""><a href="/dashboard/zh_cn/howto.html">HOW-TO Guides</a></li>
                    
62              <li class=""><a target="_blank" href="/dashboard/phpinfo.php">PHPInfo</a></li>
                    
63              <li id="locales" class="has-dropdown">
                    
121    <div class="large-12 columns">
                    
122      <h1><img src="/dashboard/images/xampp-logo.svg" />XAMPP <span>Apache + MySQL + PHP + Perl</span></h1>
                    
123    </div>
                    
133    <p>
                    
134      You have successfully installed XAMPP on this system! Now you can start using Apache, MySQL, PHP and other components.
                    
135      You can find more info in the <a href="/dashboard/zh_cn/faq.html">常见问题</a> section or check the <a href="/dashboard/zh_cn/howto.html">HOW-TO Guides</a> for getting started with PHP applications.
                    
                
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);
                    
                
HasRoleAndPermission.php https://gitlab.com/puleeno/fiona-fashion | PHP | 397 lines
                    
1<?php
                    
2
                    
113     */
                    
114    public function attachRole($role)
                    
115    {
                    
124     */
                    
125    public function detachRole($role)
                    
126    {
                    
                
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 */
                    
                
inbox.js https://gitlab.com/SFMSP/Hagape | JavaScript | 336 lines
                    
101            //xhrFields: {withCredentials: true},
                    
102            url: '../assets/global/plugins/jquery-file-upload/server/php/',
                    
103            autoUpload: true
                    
108            $.ajax({
                    
109                url: '../assets/global/plugins/jquery-file-upload/server/php/',
                    
110                type: 'HEAD'
                    
197
                    
198    var loadSearchResults = function (el) {
                    
199        var url = 'app_inbox_inbox.html';
                    
                
PhpDumperTest.php https://gitlab.com/Isaki/le331.fr | 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';
                    
                
LayoutDevice.java https://gitlab.com/Codeaurora/platform_sdk | Java | 389 lines
                    
7 *
                    
8 *      http://www.eclipse.org/org/documents/epl-v10.php
                    
9 *
                    
119        // then save all the configs.
                    
120        synchronized (mConfigs) {
                    
121            for (DeviceConfig config : mConfigs) {
                    
244    void addConfig(String name, FolderConfiguration config) {
                    
245        synchronized (mConfigs) {
                    
246            doAddConfig(name, config);
                    
258    void addConfigs(List<DeviceConfig> configs) {
                    
259        synchronized (mConfigs) {
                    
260            // add the configs manually one by one, to check for no duplicate.
                    
282    void removeConfig(String name) {
                    
283        synchronized (mConfigs) {
                    
284            for (DeviceConfig config : mConfigs) {
                    
                
 

Source

Language