PageRenderTime 6249ms queryTime 357ms sortTime 245ms getByIdsTime 311ms findMatchingLines 1016ms

100+ results results for 'php chr repo:mpiredda/yii_example' (6249 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);
                    
                
Ntp.php https://github.com/Exercise/zf2.git | PHP | 434 lines
                    
86        $nulbyte   = $nul . $nul . $nul . $nul;
                    
87        $ntppacket = chr(0xd9) . $nul . chr(0x0a) . chr(0xfa);
                    
88
                    
94         */
                    
95        $ntppacket .= $nul . $nul . chr(0x1c) . chr(0x9b);
                    
96
                    
102         */
                    
103        $ntppacket .= $nul . chr(0x08) . chr(0xd7) . chr(0xff);
                    
104
                    
115         */
                    
116        $ntppacket .= chr($secba)  . chr($secbb)  . chr($secbc)  . chr($secbd);
                    
117        $ntppacket .= chr($fracba) . chr($fracbb) . chr($fracbc) . chr($fracbd);
                    
138        $ntppacket .= chr($secba)  . chr($secbb)  . chr($secbc)  . chr($secbd);
                    
139        $ntppacket .= chr($fracba) . chr($fracbb) . chr($fracbc) . chr($fracbd);
                    
140
                    
                
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 *
                    
                
PyDown.py https://github.com/jedie/python-code-snippets.git | Python | 459 lines
                    
12__author__  = "Jens Diemer (www.jensdiemer.de)"
                    
13__license__ = "GNU General Public License v2 or above - http://www.opensource.org/licenses/gpl-license.php"
                    
14__url__     = "http://www.jensdiemer.de/Programmieren/Python/PyDown"
                    
27v0.4.3
                    
28    - NEU: eMail Benachrichtigung beim Upload
                    
29v0.4.2
                    
333        """
                    
334        Überschreibt die original Ausgabe und ergänzt diese mit
                    
335        einem Hinweis, warum der Access Denied ist ;)
                    
                
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>
                    
                
TestOfLinkMySQLDAO.php https://github.com/dagda/ThinkUp.git | PHP | 290 lines
                    
1<?php
                    
2require_once dirname(__FILE__).'/init.tests.php';
                    
2require_once dirname(__FILE__).'/init.tests.php';
                    
3require_once THINKUP_ROOT_PATH.'webapp/_lib/extlib/simpletest/autorun.php';
                    
4require_once THINKUP_ROOT_PATH.'webapp/config.inc.php';
                    
8 * @author Gina Trapani <ginatrapani[at]gmail[dot]com>
                    
9 * @author christoffer Viken <christoffer[at]viken[dot]me>
                    
10 */
                    
119            'http://example.com/test',
                    
120            'http://very.long.domain.that.nobody.would.bother.to.type.com/index.php', 'Very Long URL', '12345678901',
                    
121            'twitter', false);
                    
129        $this->assertEqual($result->expanded_url,
                    
130        'http://very.long.domain.that.nobody.would.bother.to.type.com/index.php');
                    
131        $this->assertEqual($result->title, 'Very Long URL');
                    
179            'http://example.com/test',
                    
180            'http://very.long.domain.that.nobody.would.bother.to.type.com/index.php',
                    
181            'Very Long URL',
                    
                
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/joshuacurci/swim-crm | 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
                    
                
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(*)'];
                    
                
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 );
                    
                
SimpleHeaderSet.php https://gitlab.com/madwanz64/laravel | 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 */
                    
                
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*/
                    
                
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.",
                    
                
haml.php https://bitbucket.org/mintao/yii-phamlp.git | PHP | 287 lines
                    
1<?php
                    
2/**
                    
13 *   See below and HamlParser for a description of options
                    
14 * * Add the following line in your app_controller.php
                    
15 *   <pre>var $view = 'Haml';</pre>
                    
20 *
                    
21 * @author			Chris Yates <chris.l.yates@gmail.com>
                    
22 * @copyright		Copyright &copy; 2010 PBM Web Development
                    
160
                    
161		App::import('Vendor', 'HamlParser', array('file'=>'phamlp'.DS.'haml'.DS.'HamlParser.php'));
                    
162		$this->haml = new HamlParser($options);
                    
165	/**
                    
166	 * Renders a piece of PHP with provided parameters and returns HTML, XML, or
                    
167	 * any other string.
                    
                
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"'
                    
                
index.html https://github.com/koto/blog-kotowicz-net-examples.git | HTML | 321 lines
                    
127          .data('src', payload)
                    
128          .attr('src', 'redirect.php?url=' + encodeURIComponent(payload))
                    
129          .appendTo('#images');
                    
163    }
                    
164    var browser = prompt("Your browser is (firefox,chrome,opera,internet explorer,...): ")
                    
165        ,version = prompt("Your browser version is (3.6,4,9,...): ")
                    
297                    {{if browsers.chrome}}
                    
298                    <ul class="chrome">{{each browsers.chrome}}<li>Chrome ${$value}</li>{{/each}}</ul>
                    
299                    {{/if}}
                    
                
de_de.lang.php https://bitbucket.org/thomashii/vtigercrm-6-for-postgresql.git | PHP | 281 lines
                    
1<?php
                    
2/*********************************************************************************
                    
25    'LBL_REP_FOLDER_NAME'=>'Ordnername:',
                    
26    'LBL_REP_FOLDER_DESC'=>'Beschreiben:',
                    
27    'LBL_NEW_REP0_HDR1'=>'Modul wählen, für das ein neuer Bericht erstellt wird:',
                    
94    'LBL_TYPE_THE_NAME'=>'Namen eingeben',
                    
95    'LBL_DESCRIPTION_FOR_REPORT'=>'Berichtsbeschreibung',
                    
96    'LBL_REPORT_NAME'=>'Berichtsname',
                    
96    'LBL_REPORT_NAME'=>'Berichtsname',
                    
97    'LBL_DESCRIPTION'=>'Beschreibung',
                    
98    'LBL_TOOLS'=>'Werkzeuge',
                    
                
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
                    
                
installv2.sh https://bitbucket.org/jorgenio/boca.git | Shell | 320 lines
                    
111apt-get -y install zenity apache2 eclipse-pde eclipse-rcp eclipse-platform eclipse-jdt eclipse emacs \
                    
112  evince g++ gcc gedit scite libstdc++6 makepasswd manpages-dev mii-diag php5-cli php5-mcrypt openjdk-6-dbg \
                    
113  php5 php5-pgsql postgresql postgresql-client postgresql-contrib quota sharutils default-jdk openjdk-6-doc \
                    
114  vim-gnome geany geany-plugin-addons geany-plugin-gdb geany-plugins default-jre sysstat \
                    
115  $sysvutils vim xfce4 $libCppdev $libCppdoc $libCppdbg php5-gd stl-manual gcc-doc debootstrap schroot c++-annotations
                    
116if [ $? != 0 ]; then
                    
201rm -f /tmp/icpc.etc.tgz
                    
202wget -O /tmp/icpc.etc.tgz "http://www.ime.usp.br/~cassio/boca/download.php?filename=icpc-\$icpcver.etc.tgz"
                    
203if [ "\$?" != "0" -o ! -f /tmp/icpc.etc.tgz ]; then
                    
                
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;
                    
                
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>
                    
                
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
                    
                
file_helper.php https://gitlab.com/lisit1003/TTPHPServer | PHP | 479 lines
                    
1<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');
                    
2/**
                    
4 *
                    
5 * An open source application development framework for PHP 5.1.6 or newer
                    
6 *
                    
240
                    
241			// foreach (scandir($source_dir, 1) as $file) // In addition to being PHP5+, scandir() is simply not as fast
                    
242			while (FALSE !== ($file = readdir($fp)))
                    
298				case 'name':
                    
299					$fileinfo['name'] = substr(strrchr($file, DIRECTORY_SEPARATOR), 1);
                    
300					break;
                    
334 *
                    
335 * Translates a file extension into a mime type based on config/mimes.php.
                    
336 * Returns FALSE if it can't determine the type, or open the mime config file
                    
348	{
                    
349		$extension = strtolower(substr(strrchr($file, '.'), 1));
                    
350
                    
                
SMTPMailer.inc.php https://github.com/mcrider/pkpUpgradeTestSuite.git | PHP | 381 lines
                    
1<?php
                    
2
                    
3/**
                    
4 * @file classes/mail/SMTPMailer.inc.php
                    
5 *
                    
16
                    
17// $Id: SMTPMailer.inc.php,v 1.5 2009/05/13 00:13:20 asmecher Exp $
                    
18
                    
255	function authenticate_plain() {
                    
256		$authString = $this->username . chr(0x00) . $this->username . chr(0x00) . $this->password;
                    
257		if (!$this->send('AUTH', 'PLAIN ' . base64_encode($authString)))
                    
364			$key = pack('H*', $hashfn($key));
                    
365		$key = str_pad($key, $blocksize, chr(0x00));
                    
366		$ipad = str_repeat(chr(0x36), $blocksize);
                    
366		$ipad = str_repeat(chr(0x36), $blocksize);
                    
367		$opad = str_repeat(chr(0x5C), $blocksize);
                    
368		$hmac = pack('H*', $hashfn(($key ^ $opad) . pack('H*', $hashfn(($key ^ $ipad) . $data))));
                    
                
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_
                    
                
tracker.php https://github.com/nadavkav/MoodleTAO.git | PHP | 220 lines
                    
1<?php // $Id: tracker.php,v 1.1.10.3 2008/10/20 22:11:42 diml Exp $ 
                    
2      // tracker.php - created with Moodle 1.2 development (2003111400)
                    
135$string['search'] = 'Search in issues';
                    
136$string['searchresults'] = 'Search results';
                    
137$string['searchwiththat'] = 'Launch this query again';
                    
                
test.php https://github.com/agnesrambaud/yacs.git | PHP | 298 lines
                    
36 *
                    
37 * [*] Time offset, as expressed by the browser, if any -- based on Javascript, and by the server -- based on PHP
                    
38 *
                    
38 *
                    
39 * @link http://www.olate.com/articles/254 Use PHP and JavaScript to Display Local Time
                    
40 *
                    
53// include global declarations
                    
54include_once '../shared/global.php';
                    
55
                    
97// native calls for this script
                    
98echo '<p>'.i18n::s('A more complex GET test').' <a href="'.$context['url_to_root'].'control/test.php/123/456/789?a=B">test.php/123/456/789?a=B</a></p>'."\n";
                    
99
                    
216	if(is_callable('php_sapi_name'))
                    
217		echo 'php_sapi_name()='.php_sapi_name().BR."\n";
                    
218
                    
                
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 *
                    
                
qrsplit.php https://bitbucket.org/Sinfin/pawtucket.git | 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                    }
                    
                
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){
                    
                
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;
                    
                
tooltips.php https://github.com/error10/Ushahidi_Web.git | PHP | 54 lines
                    
1<?php
                    
2/**
                    
34	'settings_flsms_download' => 'This is the hub for incoming messages',
                    
35	'settings_flsms_synchronize' => 'This synchronizes the messages in the hub with the Ushahidi platform',
                    
36	'settings_flsms_text_1' => 'Phone numbers through which the text messages are received',
                    
                
acp_k_config.php https://github.com/dravekx/stargate-portal.git | PHP | 139 lines
                    
1<?php
                    
2/**
                    
4* @package acp Stargate Portal
                    
5* @version $Id: acp_k_config.php 312 2009-01-02 02:51:12Z Michealo $
                    
6* @copyright (c) 2007 Michael O'Toole aka michaelo
                    
6* @copyright (c) 2007 Michael O'Toole aka michaelo
                    
7* @license http://opensource.org/licenses/gpl-license.php GNU Public License
                    
8*
                    
30		global $db, $user, $auth, $template, $cache;
                    
31		global $config, $SID, $phpbb_root_path, $phpbb_admin_path, $phpEx;
                    
32	
                    
82			
                    
83//			'U_BACK'							=> "{$phpbb_root_path}adm/index.$phpEx$SID&amp;i=portal_config&amp;mode=config",
                    
84			
                    
123
                    
124				meta_refresh(2, "{$phpbb_root_path}adm/index.$phpEx$SID&amp;i=k_config&amp;mode=config");
                    
125				return;
                    
                
Home.org https://github.com/manveru/ramaze-wiki-pages.git | Org | 108 lines
                    
7| [[Screencasts]]     | [[Download]]                        | [[http://java.freenode.net/%3Fchannel%3Dramaze][Chat]] |
                    
8| [[Features]]        | [[Walkthrough][Erste Schritte]]     | [[http://groups.google.com/group/ramaze][Discuss]]     |
                    
9| [[Geschwindigkeit]] | [[Walkthrough#examples][Beispiele]] | [[Contributing][Contribute]]                           |
                    
34 * Avdi Grimm featured Ramaze in [[http://avdi.org/devblog/2008/04/27/on-beauty-in-code/][On Beauty in Code]] //on April 28 2008//
                    
35 * Ramaze mentioned in Juixe's [[http://www.juixe.com/techknow/index.php/2008/04/14/ruby-web-frameworks/][Ruby Web Frameworks]] article //on April 14 2008//
                    
36 * Michael [[http://jaoo.dk/ruby-oslo-2008/file%3Fpath%3D/jaoo-ruby-oslo-2008/slides/ramaze.pdf][presented Ramaze]] at Ruby Fools 2008 //on April 3 2008//
                    
                
unicode.php https://github.com/mcrider/pkpUpgradeTestSuite.git | PHP | 269 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3* @version $Id: unicode.php,v 1.1 2008/10/10 20:52:53 mj Exp $
                    
4* Tools for conversion between UTF-8 and unicode
                    
9* the Initial Developer. All Rights Reserved.
                    
10* Ported to PHP by Henri Sivonen (http://hsivonen.iki.fi)
                    
11* Slight modifications to fit with phputf8 library by Harry Fuecks (hfuecks gmail com)
                    
13* @see http://lxr.mozilla.org/seamonkey/source/intl/uconv/src/nsUnicodeToUTF8.cpp
                    
14* @see http://hsivonen.iki.fi/php-utf8/
                    
15* @package utf8
                    
25* Returns false if the input string isn't a valid UTF-8 octet sequence
                    
26* and raises a PHP error at level E_USER_WARNING
                    
27* Note: this function has been modified slightly in this library to
                    
32* @see utf8_from_unicode
                    
33* @see http://hsivonen.iki.fi/php-utf8/
                    
34* @package utf8
                    
                
SearchHandler.inc.php https://github.com/mcrider/pkpUpgradeTestSuite.git | PHP | 269 lines
                    
1<?php
                    
2
                    
3/**
                    
4 * SearchHandler.inc.php
                    
5 *
                    
12 *
                    
13 * $Id: SearchHandler.inc.php,v 1.28 2005/08/01 23:03:54 kevin Exp $
                    
14 */
                    
181		$templateMgr->assign('searchField', Request::getUserVar('searchField'));
                    
182		$templateMgr->display('search/searchResults.tpl');
                    
183	}
                    
222
                    
223		$templateMgr->display('search/searchResults.tpl');
                    
224	}
                    
                
korean.rb https://github.com/ginkel/redmine.git | Ruby | 436 lines
                    
23#
                    
24# This is direct port of korean.php
                    
25#
                    
79    32.upto(126) do |i|
                    
80  		cw[i.chr]=500
                    
81    end
                    
103  		if(c<128)
                    
104  			l+=cw[c.chr]
                    
105  			i+=1
                    
180  		end
                    
181  		l+=(ascii ? cw[c.chr] : 1000) || 0
                    
182  		if(l>wmax)
                    
254      end
                    
255  		l+=ascii ? cw[c.chr] : 1000
                    
256  		if(l>wmax)
                    
                
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' ),
                    
                
Configuration.php https://gitlab.com/fbi/radyo-api-server | PHP | 92 lines
                    
1<?php
                    
2
                    
23 *
                    
24 * @author Christophe Coevoet <stof@notk.org>
                    
25 */
                    
                
roleUsers.php https://bitbucket.org/stuarteske/beaconhop.prayerplanner.net.git | PHP | 35 lines
                    
1<?php
                    
2/* SVN FILE: $Id: roleUsers.php 9 2010-12-17 13:21:39Z Chris $*/
                    
3/**
                    
17<ul>
                    
18<li>Namen - den Namen des Benutzer. Der "Blick"-Taste<?php echo CHtml::image($this->getmodule()->baseScriptUrl.'/images/userView.png','Zugewiesenen Rollen der Benutzer')?> zeigt die zugewiesenen Rollen eines Benutzers</li>
                    
19<li>Rolle – den Namen des rolle. Der "Blick"-Taste<?php echo CHtml::image($this->getmodule()->baseScriptUrl.'/images/authElementeView.png','Benutzer mit Rolle zugewiesen')?> zeigt die Benutzer mit der Rolle zugewiesen</li>
                    
19<li>Rolle – den Namen des rolle. Der "Blick"-Taste<?php echo CHtml::image($this->getmodule()->baseScriptUrl.'/images/authElementeView.png','Benutzer mit Rolle zugewiesen')?> zeigt die Benutzer mit der Rolle zugewiesen</li>
                    
20<li>Beschreibung - Eine kurze Beschreibung der Rolle</li>
                    
21<li>Eltern zählen – Die Anzahl der übergeordneten Elemente des Element hat - Hier klicken um die übergeordneten Elemente anzuzeigen, und wieder, sie zu verbergen</li>
                    
22<li>Kind zählen – Die Anzahl der untergeordneten Elemente des Element hat - Hier klicken um die untergeordneten Elemente anzuzeigen, und wieder, sie zu verbergen</li>
                    
23<li>Rolle Aktionen – Taste, um die Rolle zu verwalten<?php echo CHtml::image($this->getmodule()->baseScriptUrl.'/images/authElementeManage.png','Verwalten Sie die Rolle')?> (nur verfügbar, wenn Sie Auth Elemente Manager Erlaubnis)</li>
                    
24<li>Business Rule - das Business Rule (falls vorhanden) für den Benutzer:Rolle zuweisung</li>
                    
25<li>Daten - die Daten (sofern vorhanden) in das Business Rule</li>
                    
26<li>Zuordnung Aktionen (nur verfügbar, wenn Sie die Auth Zuordnungen Manager Rolle zugewiesen) - Tasten zur Aktualisierung der Business Rule und/oder Daten für die Zuordnung <?php echo CHtml::image($this->getmodule()->baseScriptUrl.'/images/assignmentUpdate.png','Bearbeiten Zuordnung')?>, und widerrufen <?php echo CHtml::image($this->getmodule()->baseScriptUrl.'/images/assignmentRevoke.png','Widerrufen Zuordnung')?> die Zuordnung</li>
                    
27</ul>
                    
                
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(),
                    
                
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'
                    
                
helveticai.php https://bitbucket.org/jit_bec/shopifine.git | 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);
                    
                
timesbi.php https://bitbucket.org/jit_bec/shopifine.git | 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);
                    
                
timesb.php https://bitbucket.org/jit_bec/shopifine.git | 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);
                    
                
helveticab.php https://bitbucket.org/jit_bec/shopifine.git | 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);
                    
                
Database.php https://bitbucket.org/mengqing/magento-mirror.git | 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) 2012 Magento Inc. (http://www.magentocommerce.com)
                    
24 * @license     http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
                    
25 */
                    
139
                    
140        $row = $adapter->fetchRow($select);
                    
141        if ($row) {
                    
250
                    
251        $data = $adapter->fetchRow($select);
                    
252        if (!$data) {
                    
284
                    
285        $data = $adapter->fetchRow($select);
                    
286        return (bool)$data;
                    
                
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 *
                    
                
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",
                    
                
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
                    
                
MailScanner.php https://github.com/m-fuji-0616/vtigercrm-5.1.x-ja.git | PHP | 412 lines
                    
1<?php
                    
2/*********************************************************************************
                    
11
                    
12require_once('modules/Settings/MailScanner/core/MailBox.php');
                    
13require_once('modules/Settings/MailScanner/core/MailAttachmentMIME.php');
                    
154		// Apply rule to check if record matches the criteria
                    
155		$matchresult = $mailscannerrule->applyAll($mailrecord, $bodyrule);
                    
156		
                    
158		$crmid = false;
                    
159		if($matchresult) {
                    
160			$mailrecord->fetchBody($mailbox->_imap, $messageid);
                    
160			$mailrecord->fetchBody($mailbox->_imap, $messageid);
                    
161			$crmid = $mailscannerrule->takeAction($this, $mailrecord, $matchresult);
                    
162		}
                    
321	function GetAccountRecord($email) {
                    
322		require_once('modules/Accounts/Accounts.php');
                    
323		$accountid = $this->LookupAccount($email);
                    
                
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']);
                    
                
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
                    
                
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;
                    
                
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
                    
                
Abstract.php https://bitbucket.org/acidel/buykoala.git | PHP | 287 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) 2011 Magento Inc. (http://www.magentocommerce.com)

                    
24 * @license     http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)

                    
25 */

                    
134

                    
135            $this->_synchronizeAttributeIndexData($attributeId);

                    
136        }

                    
260    /**

                    
261     * Synchronize temporary index table with index table by attribute id

                    
262     *

                    
266     */

                    
267    protected function _synchronizeAttributeIndexData($attributeId)

                    
268    {

                    
                
Preview.php https://github.com/michaelmcandrew/vaw.git | PHP | 235 lines
                    
1<?php
                    
2
                    
36
                    
37require_once 'CRM/Core/Form.php';
                    
38require_once 'CRM/Member/Import/Parser/Membership.php';
                    
92            $urlParams = 'type='.CRM_Member_Import_Parser::NO_MATCH . '&parser=CRM_Member_Import_Parser';
                    
93            $this->set('downloadMismatchRecordsUrl', CRM_Utils_System::url('civicrm/export', $urlParams));
                    
94        }
                    
102                             'downloadConflictRecordsUrl',
                    
103                             'downloadMismatchRecordsUrl'
                    
104                    );
                    
228            $urlParams = 'type='.CRM_Member_Import_Parser::NO_MATCH . '&parser=CRM_Member_Import_Parser';
                    
229            $this->set('downloadMismatchRecordsUrl', CRM_Utils_System::url('civicrm/export', $urlParams));
                    
230        }
                    
                
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
                    
                
test.php https://github.com/ntulip/piwik.git | PHP | 47 lines
                    
1<?php
                    
2require_once dirname(__FILE__).'/UserAgentParser.php';
                    
2require_once dirname(__FILE__).'/UserAgentParser.php';
                    
3echo "<h2>UserAgentParser php library test</h2>";
                    
4$testUserAgent = array( 
                    
6	'ie8 on win7' => 'Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET CLR 3.0.04506; .NET CLR 3.5.21022; InfoPath.2; SLCC1; Zune 3.0)',
                    
7	'chrome on winxp' => 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/525.19 (KHTML, like Gecko) Chrome/1.0.154.48 Safari/525.19',
                    
8	'IE6 on winxp' => 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648)',
                    
                
ScoutControllerRaider.java https://github.com/hoijui/HughAI.git | Java | 279 lines
                    
18// You can find the licence also on the web at:
                    
19// http://www.opensource.org/licenses/gpl-license.php
                    
20//
                    
48   public int nearbyforenemiesmeans = 250;
                    
49   public int enemysightedsearchradius = 1000;
                    
50
                    
                
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 *
                    
                
view.php https://bitbucket.org/astawiarski/openemr.git | PHP | 233 lines
                    
12
                    
13$returnurl = $GLOBALS['concurrent_layout'] ? 'encounter_top.php' : 'patient_encounter.php';
                    
14
                    
138  var a_psychiatrisch_onderzoek = $("#psychiatrisch_onderzoek").val();
                    
139  var a_beschrijvende_conclusie = $("#beschrijvende_conclusie").val();
                    
140  var a_behandelvoorstel = $("#behandelvoorstel").val();
                    
154                        "&psychiatrisch_onderzoek=" + a_psychiatrisch_onderzoek +
                    
155                        "&beschrijvende_conclusie=" + a_beschrijvende_conclusie +
                    
156                        "&behandelvoorstel=" + a_behandelvoorstel +
                    
176
                    
177<form method=post action="<?php echo $rootdir?>/forms/psychiatrisch_onderzoek/save.php?mode=update&id=<?php echo $_GET["id"];?>" name="my_form">
                    
178<span class="title"><?php xl('Psychiatric Examination','e'); ?></span><Br><br>
                    
206<br><span class=text><?php xl('Conclusions','e'); ?></span><br>
                    
207<textarea cols=80 rows=5 wrap=virtual name="beschrijvende_conclusie" id="beschrijvende_conclusie"><?php echo stripslashes($obj{"beschrijvende_conclusie"});?></textarea><br>
                    
208<br><span class=text><?php xl('Treatment Plan','e'); ?></span><br>
                    
                
Controller.php https://github.com/sitengine/sitengine.git | PHP | 359 lines
                    
1<?php
                    
2
                    
12 * @package    Sitengine_Proto
                    
13 * @copyright  Copyright (c) 2007, Christian Hoegl, Switzerland (http://sitengine.org)
                    
14 * @license    http://sitengine.org/license/new-bsd     New BSD License
                    
17
                    
18require_once 'Sitengine/Controller/Action.php';
                    
19
                    
76			
                    
77			require_once 'Sitengine/Status.php';
                    
78			$this->_status = Sitengine_Status::getInstance();
                    
78			$this->_status = Sitengine_Status::getInstance();
                    
79			require_once 'Sitengine/Env/Preferences.php';
                    
80			$this->_preferences = Sitengine_Env_Preferences::getInstance();
                    
82			$this->_permiso = $this->getFrontController()->getPermiso()->start($this->getDatabase());
                    
83			require_once 'Zend/Session/Namespace.php';
                    
84    		$this->_namespace = new Zend_Session_Namespace(get_class($this));
                    
                
vtkParametricEnneper.h https://github.com/dgobbi/VTK.git | C Header | 89 lines
                    
5
                    
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
                    
7  All rights reserved.
                    
21// For further information about this surface, please consult the
                    
22// technical description "Parametric surfaces" in http://www.vtk.org/documents.php
                    
23// in the "VTK Technical Documents" section in the VTk.org web pages.
                    
                
index.html https://bitbucket.org/edwong57/broad_domain_db.git | HTML | 237 lines
                    
7
                    
8    <meta http-equiv="X-UA-Compatible" content="chrome=1">
                    
9    <meta http-equiv="CACHE-CONTROL" CONTENT="NO-CACHE">
                    
33        <div class="share">
                    
34          <a class="addthis_button" href="http://addthis.com/bookmark.php?v=250&amp;username=xa-4c58a3ba2ff9a164">
                    
35            <img src="http://s7.addthis.com/static/btn/v2/lg-share-en.gif" width="125" height="16" alt="Bookmark and Share" style="border:0"/>
                    
102            <h3>Share canvasXpress</h3>
                    
103            <a class="addthis_button" href="http://addthis.com/bookmark.php?v=250&amp;username=xa-4c58a3ba2ff9a164">
                    
104              <img src="http://s7.addthis.com/static/btn/v2/lg-share-en.gif" width="125" height="16" alt="Bookmark and Share" style="border:0"/>
                    
137              <em>Version 6.7</em> <br />It works in all major
                    
138              browsers: Chrome, Firefox, Safari, Opera, Webkit and
                    
139              IE; and in all operating systems: Windows, Mac, Linux, Android,
                    
                
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 *
                    
                
 

Source

Language