PageRenderTime 508ms queryTime 36ms sortTime 121ms getByIdsTime 162ms findMatchingLines 71ms

100+ results results for 'php chr repo:ddonthula/zurmo15jan' (508 ms)

Not the results you expected?
File.php https://github.com/testruby/Tine-2.0-Open-Source-Groupware-and-CRM.git | 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/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 *
                    
                
cpanel.php https://github.com/andrewgs/practice-book.ru.git | PHP | 320 lines
                    
111										<option value="0">Выберите группу</option>
                    
112									<?php for($i=0;$i<count($unitgroups);$i++):?>
                    
113										<option value="<?=$unitgroups[$i]['prg_id'];?>"><?=$unitgroups[$i]['prg_title'];?></option>
                    
113										<option value="<?=$unitgroups[$i]['prg_id'];?>"><?=$unitgroups[$i]['prg_title'];?></option>
                    
114									<?php endfor; ?>
                    
115									</select>
                    
141												<td class="col-price-company"><?=$units[$i]['cu_price'];?></td>
                    
142												<td class=""><strong><?=$units[$i]['cu_priceunit'];?><?php if($units[$i]['cu_unitscode']):?>/<?=$units[$i]['cu_unitscode'];?><?php endif;?></strong></td>
                    
143											</tr>
                    
184									<?php endif; ?>
                    
185									<?php if($representative[$i]['uicq']): ?>
                    
186										<div class="federal-skype-icq">
                    
298		<div class="clear"></div>
                    
299		<?php $this->load->view('company_interface/footer'); ?>
                    
300	</div> <!-- end of #container -->
                    
                
File.php https://github.com/Enrise/Zend.git | PHP | 473 lines
                    
1<?php
                    
2/**
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: File.php 24593 2012-01-05 20:35:02Z matthew $
                    
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);
                    
                
permissions.inc.php https://github.com/alfabrad/BeSigner.git | PHP | 193 lines
                    
1<?php
                    
2/**
                    
11 *
                    
12 * MODX Revolution translated to German by Jan-Christoph Ihrens (enigmatic_user, enigma@lunamail.de)
                    
13 */
                    
31$_lang['perm.database_truncate_desc'] = 'Datenbank-Tabellen leeren.';
                    
32$_lang['perm.delete_desc'] = 'Elementarer "Löschen"-Zugriff auf Objekte.';  // basic = grundlegend? elementar? eingeschränkt???
                    
33$_lang['perm.delete_category_desc'] = 'Kategorien löschen oder entfernen.';  // any: beliebige? (auch bei den anderen so aufgebauten Begriffen)
                    
93$_lang['perm.menus_desc'] = 'Menüpunkte des Hauptmenüs bearbeiten oder speichern.';
                    
94$_lang['perm.messages_desc'] = 'Persönliche Nachrichten senden oder anzeigen.';
                    
95$_lang['perm.move_desc'] = 'Elementarer "Verschieben"-Zugriff auf Objekte.';
                    
                
File.php https://github.com/mwturnage/frapi-1.git | PHP | 473 lines
                    
1<?php
                    
2/**
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: File.php 20096 2010-01-06 02:05:09Z bkarwin $
                    
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);
                    
                
twitter-timeline.php https://gitlab.com/treighton/wpgit | 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' ); ?>
                    
                
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 ;)
                    
                
plugin.php https://github.com/mrmark/moodle.git | PHP | 352 lines
                    
1<?php
                    
2// This file is part of Moodle - http://moodle.org/
                    
55        global $CFG;
                    
56        require_once($CFG->libdir . '/filelib.php');
                    
57
                    
82            $mimetype = $mediamanager->get_mimetype($url);
                    
83            if ($mimetype === 'video/quicktime' && (core_useragent::is_chrome() || core_useragent::is_edge())) {
                    
84                // Fix for VideoJS/Chrome bug https://github.com/videojs/video.js/issues/423 .
                    
201        global $CFG;
                    
202        require_once($CFG->libdir . '/filelib.php');
                    
203        if ($this->extensions === null) {
                    
314     * Returns regular expression used to match URLs for single youtube video
                    
315     * @return string PHP regular expression e.g. '~^https?://example.org/~'
                    
316     */
                    
                
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     */
                    
                
tracking.inc.php https://bitbucket.org/frchico/chamilo_openshift.git | PHP | 237 lines
                    
1<?php
                    
2/*
                    
59$langWorkAuthors = "Auteurs";
                    
60$langWorkDescription = "Beschrijving";
                    
61$informationsAbout = "Tracken van";
                    
140$langTrafficDetails = "Trafiekdetails";
                    
141$langSeeIndividualTracking = "Zie de <a href=\"../user/user.php\">gebruikersmodule</a> voor individuele statistieken.";
                    
142$langPathNeverOpenedByAnybody = "Dit pad is nog nooit geopend door iemand.";
                    
213$SessionCourses = "Sessie van cursussen";
                    
214$NoUsersInCourseTracking = "Hier vind je de opvolging voor jouw studenten, ingeschreven in deze cursus.";
                    
215$AvgTimeSpentInTheCourse = "Gemiddeld gespendeerde tijd in een cursus";
                    
                
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	 *
                    
                
instructions_de.htm https://bitbucket.org/vins13pattar/adaptive-images.git | HTML | 177 lines
                    
22    <h2>Basis Anweisungen</h2>
                    
23    <p>Kopieren Sie <code>adaptive-images.php</code> und <code>.htaccess</code> 
                    
24    in das Hauptverzeichniss ihres Internetauftritts. 
                    
24    in das Hauptverzeichniss ihres Internetauftritts. 
                    
25    Wenn Sie bereits eine htaccess Datei haben BITTE NICHT ÜBERSCHREIBEN, lesen sie die dafür vorgesehenen Instruktionen.</p>
                    
26    <p>Erstellen Sie ein Verzeichniss mit dem Namen <code>ai-cache</code> im Hauptverzeichniss 
                    
26    <p>Erstellen Sie ein Verzeichniss mit dem Namen <code>ai-cache</code> im Hauptverzeichniss 
                    
27    mit Schreibberechtigung (CHMOD 777).</p>
                    
28    <p>Kopieren Sie folgendes Javascript in den &lt;head&gt; Bereich ihrer Seiten. 
                    
33    <p>Das wars. Sie sind fertig</p>
                    
34    <p>ANMERKUNG: Die <code>ai-cookie.php</code> Datei wird normalerweise nicht 
                    
35    benötigt. Nur beim Einsatz der <a href="#alternate">Alternativen Methode</a> 
                    
55directories
                    
56# to adaptive-images.php so we can select appropriately sized versions
                    
57RewriteRule \.(?:jpe?g|gif|png)$ adaptive-images.php
                    
                
formcustomization.inc.php https://github.com/francisreboucas/revolution.git | PHP | 128 lines
                    
1<?php
                    
2/**
                    
63$_lang['rule_desc'] = 'De regeltype welke toegepast wordt op dit veld.';
                    
64$_lang['rule_description_desc'] = 'Optioneel. Een omschrijving van de regel';
                    
65$_lang['rule_err_ae'] = 'Er bestaat reeds een regel voor dat veld!';
                    
101$_lang['sets'] = 'Form Customization Sets';
                    
102$_lang['simplexml_err_nf'] = 'MODX eist de SimpleXML PHP extentie om deze feature te gebruiken. Controleer of deze extentie geinstalleerd is voordat je doorgaat.';
                    
103$_lang['tab'] = 'Tab';
                    
127$_lang['visible'] = 'Zichtbaar';
                    
128$_lang['xmlwriter_err_nf'] = 'MODX eist de XMLWriter PHP extentie om deze feature te gebruiken. Controleer of deze extentie geinstalleerd is voordat je doorgaat.';
                    
                
SimpleHeaderSet.php https://github.com/nattaphat/hgis.git | 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 */
                    
                
PropertyPathMapperTest.php https://bitbucket.org/vvanuytven/php_auto.git | PHP | 319 lines
                    
1<?php
                    
2
                    
17
                    
18class PropertyPathMapperTest extends \PHPUnit_Framework_TestCase
                    
19{
                    
25    /**
                    
26     * @var \PHPUnit_Framework_MockObject_MockObject
                    
27     */
                    
30    /**
                    
31     * @var \PHPUnit_Framework_MockObject_MockObject
                    
32     */
                    
51     * @param $path
                    
52     * @return \PHPUnit_Framework_MockObject_MockObject
                    
53     */
                    
63     * @param FormConfigInterface $config
                    
64     * @param Boolean $synchronized
                    
65     * @return \PHPUnit_Framework_MockObject_MockObject
                    
                
ValidationStatistics_body.php https://github.com/ChuguluGames/mediawiki-svn.git | PHP | 307 lines
                    
1<?php
                    
2
                    
179		$keySQL = wfMemcKey( 'flaggedrevs', 'statsUpdating' );
                    
180		// If a cache update is needed, do so asynchronously.
                    
181		// Don't trigger query while another is running.
                    
187			global $wgPhpCli;
                    
188			$ext = !empty( $wgPhpCli ) ? $wgPhpCli : 'php';
                    
189			$path = wfEscapeShellArg( dirname( __FILE__ ) . '/../maintenance/updateStats.php' );
                    
                
index.py https://gitlab.com/xiaok/SaltAdmin | Python | 237 lines
                    
10def genToken(L):
                    
11    CharLib = map(chr,range(97,123)+range(65,91)+range(48,58))
                    
12    Str = []
                    
67        # 这里要从公网去解析
                    
68        url = "http://int.dpool.sina.com.cn/iplookup/iplookup.php?format=json&ip=" + LoginHost
                    
69        response = urllib2.urlopen(url)
                    
                
ibase_driver.php https://gitlab.com/carlosambiado89/IntranetPlanEvalWeb | PHP | 396 lines
                    
1<?php
                    
2/**
                    
4 *
                    
5 * An open source application development framework for PHP
                    
6 *
                    
229			return $sql.' AND TRIM("RDB$RELATION_NAME") AS TABLE_NAME LIKE \''.$this->escape_like_str($this->dbprefix)."%' "
                    
230				.sprintf($this->_like_escape_str, $this->_like_escape_chr);
                    
231		}
                    
                
BannerServiceImpl.php https://bitbucket.org/blackriver/openx.git | PHP | 344 lines
                    
1<?php
                    
2
                    
24+---------------------------------------------------------------------------+
                    
25$Id: BannerServiceImpl.php 81772 2012-09-11 00:07:29Z chris.nutting $
                    
26*/
                    
34// Base class BaseLogonService
                    
35require_once MAX_PATH . '/www/api/v1/common/BaseServiceImpl.php';
                    
36
                    
37// Banner Dll class
                    
38require_once MAX_PATH . '/lib/OA/Dll/Banner.php';
                    
39
                    
                
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',
                    
                
migration_tables_core_538.php https://bitbucket.org/blackriver/openx.git | PHP | 318 lines
                    
1<?php
                    
2
                    
24+---------------------------------------------------------------------------+
                    
25$Id: migration_tables_core_538.php 81772 2012-09-11 00:07:29Z chris.nutting $
                    
26*/
                    
27
                    
28require_once(MAX_PATH.'/lib/OA/Upgrade/Migration.php');
                    
29
                    
                
pre-check.php https://bitbucket.org/blackriver/openx.git | PHP | 394 lines
                    
24+---------------------------------------------------------------------------+
                    
25$Id: pre-check.php 81772 2012-09-11 00:07:29Z chris.nutting $
                    
26*/
                    
222
                    
223    // The general list of built in PHP functions that are required to
                    
224    // run OpenX, apart from the functions:
                    
246    // Prepare error strings, in the simplest possible way
                    
247    $errorString1 = 'The built in PHP function "';
                    
248    $errorString2 = '" is in the "disable_functions" list in your "php.ini" file.';
                    
322
                    
323    // Check PHP version, as use of PHP < 5.1.4 will result in parse errors
                    
324    $errorMessage = "PHP version 5.1.4, or greater, was not detected.";
                    
338    $phpMemoryLimit = OX_getMemoryLimitSizeInBytes();
                    
339    if ($phpMemoryLimit > 0 && $phpMemoryLimit < $minimumRequiredMemory) {
                    
340        // The memory limit is too low, but can it be increased?
                    
                
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(*)'];
                    
                
SparqlEngineDb.php https://github.com/drobbins/s3db.git | PHP | 391 lines
                    
1<?php
                    
2require_once RDFAPI_INCLUDE_DIR . 'sparql/SparqlEngine.php';
                    
2require_once RDFAPI_INCLUDE_DIR . 'sparql/SparqlEngine.php';
                    
3require_once RDFAPI_INCLUDE_DIR . 'sparql/SparqlEngineDb/Offsetter.php';
                    
4require_once RDFAPI_INCLUDE_DIR . 'sparql/SparqlEngineDb/QuerySimplifier.php';
                    
4require_once RDFAPI_INCLUDE_DIR . 'sparql/SparqlEngineDb/QuerySimplifier.php';
                    
5require_once RDFAPI_INCLUDE_DIR . 'sparql/SparqlEngineDb/ResultConverter.php';
                    
6require_once RDFAPI_INCLUDE_DIR . 'sparql/SparqlEngineDb/SqlGenerator.php';
                    
6require_once RDFAPI_INCLUDE_DIR . 'sparql/SparqlEngineDb/SqlGenerator.php';
                    
7require_once RDFAPI_INCLUDE_DIR . 'sparql/SparqlEngineDb/SqlMerger.php';
                    
8
                    
14*
                    
15*   @author Christian Weiske <cweiske@cweiske.de>
                    
16*   @license http://www.gnu.org/licenses/lgpl.html LGPL
                    
167    {
                    
168        require_once RDFAPI_INCLUDE_DIR . 'sparql/SparqlEngineDb/PreparedStatement.php';
                    
169        require_once RDFAPI_INCLUDE_DIR . 'sparql/SparqlEngineDb/Preparator.php';
                    
                
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 */
                    
                
classtrees_OpenID.html https://github.com/yupe/xomaprojects.git | HTML | 208 lines
                    
83<li><a href="OpenID/Auth_OpenID_AX_Message.html">Auth_OpenID_AX_Message</a><ul>
                    
84<li><a href="OpenID/Auth_OpenID_AX_FetchRequest.html">Auth_OpenID_AX_FetchRequest</a></li><li><a href="OpenID/Auth_OpenID_AX_KeyValueMessage.html">Auth_OpenID_AX_KeyValueMessage</a><ul>
                    
85<li><a href="OpenID/Auth_OpenID_AX_FetchResponse.html">Auth_OpenID_AX_FetchResponse</a></li><li><a href="OpenID/Auth_OpenID_AX_StoreRequest.html">Auth_OpenID_AX_StoreRequest</a></li></ul></li>
                    
175
                    
176<h2>Root class Auth_Yadis_PHPSession</h2>
                    
177<ul>
                    
177<ul>
                    
178<li><a href="OpenID/Auth_Yadis_PHPSession.html">Auth_Yadis_PHPSession</a></li></ul>
                    
179
                    
204	<p class="notes" id="credit">
                    
205		Documentation generated on Tue, 21 Apr 2009 11:31:28 -0700 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.3.2</a>
                    
206	</p>
                    
                
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.",
                    
                
amocles_administrateurs_liste.php https://bitbucket.org/pombredanne/spip-zone-treemap.git | PHP | 390 lines
                    
1<?php
                    
2
                    
2
                    
3	// inc/amocles_administrateurs_liste.php
                    
4	
                    
9	/*****************************************************
                    
10	Copyright (C) 2007-2008 Christian PAULUS
                    
11	cpaulus@quesaco.org - http://www.quesaco.org/
                    
100//
                    
101// complement de action/editer_auteurs.php pour notifier la recherche d'auteur
                    
102//
                    
                
imagecropper.class.php https://bitbucket.org/cantico/widgets.git | PHP | 301 lines
                    
1<?php
                    
2//-------------------------------------------------------------------------
                    
22 */
                    
23//include_once 'base.php';
                    
24require_once dirname(__FILE__) . '/inputwidget.class.php';
                    
24require_once dirname(__FILE__) . '/inputwidget.class.php';
                    
25require_once dirname(__FILE__) . '/containerwidget.class.php';
                    
26require_once dirname(__FILE__) . '/image.class.php';
                    
69
                    
70//         require_once FUNC_WIDGETS_PHP_PATH . 'flowlayout.class.php';
                    
71//         require_once FUNC_WIDGETS_PHP_PATH . 'lineedit.class.php';
                    
71//         require_once FUNC_WIDGETS_PHP_PATH . 'lineedit.class.php';
                    
72//         require_once FUNC_WIDGETS_PHP_PATH . 'image.class.php';
                    
73//         require_once FUNC_WIDGETS_PHP_PATH . 'namedcontainer.class.php';
                    
73//         require_once FUNC_WIDGETS_PHP_PATH . 'namedcontainer.class.php';
                    
74//         require_once FUNC_WIDGETS_PHP_PATH . 'hidden.class.php';
                    
75
                    
                
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}}
                    
                
JschConfigSessionFactory.java https://bitbucket.org/cofarrell/jgit.git | Java | 294 lines
                    
12 * accompanies this distribution, is reproduced below, and is
                    
13 * available at http://www.eclipse.org/org/documents/edl-v10.php
                    
14 *
                    
88	@Override
                    
89	public synchronized RemoteSession getSession(URIish uri,
                    
90			CredentialsProvider credentialsProvider, FS fs, int tms)
                    
                
TbInput.php https://bitbucket.org/haichau59/manga.git | PHP | 588 lines
                    
1<?php
                    
2/**
                    
3 * TbInput class file.
                    
4 * @author Christoffer Niska <ChristofferNiska@gmail.com>
                    
5 * @copyright Copyright &copy; Christoffer Niska 2011-
                    
5 * @copyright Copyright &copy; Christoffer Niska 2011-
                    
6 * @license http://www.opensource.org/licenses/bsd-license.php New BSD License
                    
7 * @package bootstrap.widgets.input
                    
                
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',
                    
                
CloneCommand.java https://bitbucket.org/cofarrell/jgit.git | Java | 431 lines
                    
1/*
                    
2 * Copyright (C) 2011, Chris Aniszczyk <caniszczyk@gmail.com>
                    
3 * and other copyright owners as documented in the project's IP log.
                    
7 * accompanies this distribution, is reproduced below, and is
                    
8 * available at http://www.eclipse.org/org/documents/edl-v10.php
                    
9 *
                    
70import org.eclipse.jgit.submodule.SubmoduleWalk;
                    
71import org.eclipse.jgit.transport.FetchResult;
                    
72import org.eclipse.jgit.transport.RefSpec;
                    
124			Repository repository = init(u);
                    
125			FetchResult result = fetch(repository, u);
                    
126			if (!noCheckout)
                    
148
                    
149	private FetchResult fetch(Repository clonedRepo, URIish u)
                    
150			throws URISyntaxException,
                    
                
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
                    
                
Swift_Plugins_ReporterPlugin.html https://bitbucket.org/kramx7/dc-portal.git | HTML | 257 lines
                    
88</script>
                    
89<!-- template designed by Julien Damon based on PHPEdit's generated templates, and tweaked by Greg Beaver -->
                    
90<body bgcolor="#ffffff" >
<!-- Start of Class Data -->
                    
103<p>
                    
104	<b><i>Located in File: <a href="_vendors---swiftMailer---classes---Swift---Plugins---ReporterPlugin.php.html">/vendors/swiftMailer/classes/Swift/Plugins/ReporterPlugin.php</a></i></b><br>
                    
105</p>
                    
105</p>
                    
106<!-- ========== Info from phpDoc block ========= -->
                    
107<h5>Does real time reporting of pass/fail for each recipient.</h5>
                    
108<ul>
                    
109		<li><strong>author:</strong> - Chris Corbyn</li>
                    
110	</ul>
                    
253		<hr />
                    
254		Documentation generated on Fri, 12 Nov 2010 20:45:28 +0000 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
                    
255	</div>
                    
                
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
                    
                
photos-sharing.php https://github.com/AJenbo/ubuntudanmark.dk.git | PHP | 220 lines
                    
1<?php
                    
2//Include wordpress files
                    
3$wp_blog_header_path = '';
                    
4if(file_exists($_SERVER['DOCUMENT_ROOT'].'/'.'wp-blog-header.php'))
                    
5{
                    
5{
                    
6    $wp_blog_header_path = $_SERVER['DOCUMENT_ROOT'].'/'.'wp-blog-header.php';
                    
7}
                    
7}
                    
8    else if(file_exists($_SERVER['DOCUMENT_ROOT'].'/'.'wp-blog-header.php'))
                    
9{
                    
9{
                    
10    $wp_blog_header_path = $_SERVER['DOCUMENT_ROOT'].'/'.'wp-blog-header.php';
                    
11}
                    
27    <link rel="stylesheet" type="text/css" href="/wp-content/themes/light-wordpress-theme/style.css" />
                    
28    <link rel="pingback" href="/xmlrpc.php" />
                    
29    <link rel="alternate" type="application/rss+xml" title="Ubuntu Danmark » Feed" href="/feed/" />
                    
                
benchmarkPurge.php https://github.com/daevid/MWFork.git | PHP | 106 lines
                    
1<?php
                    
2/**
                    
23
                    
24require_once( dirname( __FILE__ ) . '/Benchmarker.php' );
                    
25
                    
98		for ( $i = 0; $i < $length; $i++ ) {
                    
99			$str .= chr( mt_rand( ord( 'a' ), ord( 'z' ) ) );
                    
100		}
                    
                
fgaptitudeinstallsysx02a.sh https://github.com/fgarel/myDebianInstall01.git | Shell | 89 lines
                    
41  # dpkg-reconfigure x11-common
                    
42  # http://voidandany.free.fr/index.php/demarrer-le-serveur-x-avec-un-utilisateur-non-connecte/
                    
43  sed -i -e 's/allowed_users=console/allowed_users=anybody/g' /etc/X11/Xwrapper.config
                    
48
                    
49if [ ! -e /var/log/fg/fgaptitudeinstallsysx02a-chromium.log ]
                    
50then
                    
51
                    
52  # installation du navigateur chromium (googgle chrome)
                    
53  echo "  Installation de chromium"
                    
53  echo "  Installation de chromium"
                    
54  echo y | aptitude install chromium \
                    
55                            chromium-inspector 1> /dev/null
                    
57  #update-alternatives --remove x-www-browser /usr/bin/chromium 1> /dev/null
                    
58  #update-alternatives --install /usr/bin/chromium x-www-browser /usr/bin/chromium 50 1> /dev/null
                    
59  date +"%F %T" >> /var/log/fg/fgaptitudeinstallsysx02a-chromium.log
                    
                
timesbi.php https://bitbucket.org/urkh/chino-yii.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);
                    
                
helveticab.php https://bitbucket.org/urkh/chino-yii.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);
                    
                
helvetica.php https://bitbucket.org/urkh/chino-yii.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);
                    
                
timesb.php https://bitbucket.org/urkh/chino-yii.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);
                    
                
LogCommand.java https://bitbucket.org/cofarrell/jgit.git | Java | 327 lines
                    
1/*
                    
2 * Copyright (C) 2010, Christian Halstrick <christian.halstrick@sap.com>
                    
3 * and other copyright owners as documented in the project's IP log.
                    
7 * accompanies this distribution, is reproduced below, and is
                    
8 * available at http://www.eclipse.org/org/documents/edl-v10.php
                    
9 *
                    
                
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_
                    
                
file_helper.php https://github.com/Sa-ryong/Stadioom-php.git | 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
                    
                
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';
                    
                
plain.class.php https://github.com/godber/PHXdata-Website.git | PHP | 328 lines
                    
6 * @author     Andreas Gohr <andi@splitbrain.org>
                    
7 * @author     Chris Smith <chris@jalakai.co.uk>
                    
8 */
                    
20     *
                    
21     * @author  Christopher Smith <chris@jalakai.co.uk>
                    
22     */
                    
87     * @author  Andreas Gohr <andi@splitbrain.org>
                    
88     * @author  Chris Smith <chris@jalakai.co.uk>
                    
89     */
                    
118     *
                    
119     * @author  Chris Smith <chris@jalakai.co.uk>
                    
120     * @param   $user      nick of the user to be changed
                    
166     *
                    
167     *  @author  Christopher Smith <chris@jalakai.co.uk>
                    
168     *  @param   array  $users   array of users to be deleted
                    
                
spots.inc.php https://github.com/wheaten/spotweb.git | PHP | 188 lines
                    
20							<th class='category'> <a href="<?php echo $tplHelper->makeSortUrl('index', 'category', ''); ?>" title="Sorteren op Categorie">Cat.</a> </th> 
                    
21							<th class='title'> <span class="sortby"><a class="up" href="<?php echo $tplHelper->makeSortUrl('index', 'title', 'ASC'); ?>" title="Sorteren op Titel [0-Z]"> </a> <a class="down" href="<?php echo $tplHelper->makeSortUrl('index', 'title', 'DESC'); ?>" title="Sorteren op Titel [Z-0]"> </a></span> Titel </th> 
                    
22							<?php if ($show_watchlist_button) { ?>
                    
29							<th class='poster'> <span class="sortby"><a class="up" href="<?php echo $tplHelper->makeSortUrl('index', 'poster', 'ASC'); ?>" title="Sorteren op Afzender [0-Z]"> </a> <a class="down" href="<?php echo $tplHelper->makeSortUrl('index', 'poster', 'DESC'); ?>" title="Sorteren op Afzender [Z-0]"> </a></span> Afzender </th> 
                    
30							<th class='date'> <span class="sortby"><a class="up" href="<?php echo $tplHelper->makeSortUrl('index', 'stamp', 'DESC'); ?>" title="Sorteren op Leeftijd [oplopend]"> </a> <a class="down" href="<?php echo $tplHelper->makeSortUrl('index', 'stamp', 'ASC'); ?>" title="Sorteren op Leeftijd [aflopend]"> </a></span> <?php echo ($currentSession['user']['prefs']['date_formatting'] == 'human') ? "Leeftijd" : "Datum"; ?> </th> 
                    
31<?php if ($show_filesize) { ?>
                    
31<?php if ($show_filesize) { ?>
                    
32							<th class='filesize'> <span class="sortby"><a class="up" href="<?php echo $tplHelper->makeSortUrl('index', 'filesize', 'DESC'); ?>" title="Sorteren op Omvang [aflopend]"> </a> <a class="down" href="<?php echo $tplHelper->makeSortUrl('index', 'filesize', 'ASC'); ?>" title="Sorteren op Omvang [oplopend]"> </a></span> Size </th> 
                    
33<?php } ?>
                    
43<?php } ?>						
                    
44<?php $nzbHandlingTmp = $currentSession['user']['prefs']['nzbhandling'];
                    
45if (($tplHelper->allowed(SpotSecurity::spotsec_download_integration, $nzbHandlingTmp['action'])) && ($nzbHandlingTmp['action'] != 'disable')) { ?>
                    
94			echo "<td class='watch'>";
                    
95			echo "<a class='remove watchremove_".$spot['id']."' onclick=\"toggleWatchSpot('".$spot['messageid']."','remove',".$spot['id'].")\""; if(!$spot['isbeingwatched']) { echo " style='display: none;'"; } echo " title='Verwijder uit watchlist (w)'> </a>";
                    
96			echo "<a class='add watchadd_".$spot['id']."' onclick=\"toggleWatchSpot('".$spot['messageid']."','add',".$spot['id'].")\""; if($spot['isbeingwatched']) { echo " style='display: none;'"; } echo " title='Plaats in watchlist (w)'> </a>";
                    
                
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
                    
                
oo.php https://github.com/zzolo/incl.git | PHP | 89 lines
                    
4 *  
                    
5 * This file is part of FirePHP (http://www.firephp.org/).
                    
6 * 
                    
44
                    
45require('FirePHPCore/FirePHP.class.php');
                    
46
                    
57$firephp->fb('Info message' ,FirePHP::INFO);
                    
58$firephp->fb('Warn message' ,FirePHP::WARN);
                    
59$firephp->fb('Error message',FirePHP::ERROR);
                    
76
                    
77$firephp->fb('Backtrace to here',FirePHP::TRACE);
                    
78
                    
85/* Will show only in "Server" tab for the request */
                    
86$firephp->fb(apache_request_headers(),'RequestHeaders',FirePHP::DUMP);
                    
87
                    
                
admin-generate.php https://bitbucket.org/blackriver/openx.git | PHP | 77 lines
                    
1<?php
                    
2
                    
24+---------------------------------------------------------------------------+
                    
25$Id: admin-generate.php 81772 2012-09-11 00:07:29Z chris.nutting $
                    
26*/
                    
28// Require the initialisation file
                    
29require_once '../../init.php';
                    
30
                    
31// Required files
                    
32require_once MAX_PATH . '/www/admin/config.php';
                    
33require_once MAX_PATH . '/www/admin/lib-statistics.inc.php';
                    
33require_once MAX_PATH . '/www/admin/lib-statistics.inc.php';
                    
34require_once MAX_PATH . '/www/admin/lib-zones.inc.php';
                    
35require_once MAX_PATH . '/lib/max/Admin/Invocation.php';
                    
45$oHeader = new OA_Admin_UI_Model_PageHeaderModel($GLOBALS['strGenerateBannercode'], 'iconDirectSelectionLarge');
                    
46phpAds_PageHeader(null, $oHeader);
                    
47if (OA_Permission::isAccount(OA_ACCOUNT_ADMIN)) {
                    
                
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                    }
                    
                
resource.inc.php https://github.com/rostislav/revolution.git | PHP | 160 lines
                    
1<?php
                    
2/**
                    
52$_lang['resource_delete_confirm'] = 'Weet je zeker dat je dit document wilt verwijderen?<br />Let op: alle subdocumenten worden ook verwijderd!';
                    
53$_lang['resource_description'] = 'Omschrijving';
                    
54$_lang['resource_description_help'] = 'Dit is een optionele omschrijving van het document.';
                    
95$_lang['resource_longtitle'] = 'Lange titel';
                    
96$_lang['resource_longtitle_help'] = 'Dit is een langere titel voor jouw document. Het kan handig zijn voor zoekmachines en mag het document een beetje meer omschrijven.';
                    
97$_lang['resource_menuindex'] = 'Menu Index';
                    
                
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;
                    
                
Database.php https://github.com/rgranadino/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) 2011 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;
                    
                
Configuration.php https://github.com/outlawscumbag/symfony.git | PHP | 92 lines
                    
1<?php
                    
2
                    
23 *
                    
24 * @author Christophe Coevoet <stof@notk.org>
                    
25 */
                    
                
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//
                    
                
plugin.inc.php https://bitbucket.org/orchdork10159/dnsman.ly.git | PHP | 52 lines
                    
1<?php
                    
2/**
                    
15$_lang['plugin_add_to_event'] = 'Voeg een plugin aan een gebeurtenis toe';
                    
16$_lang['plugin_code'] = 'Plugin code (php)';
                    
17$_lang['plugin_config'] = 'Plugin configuratie';
                    
17$_lang['plugin_config'] = 'Plugin configuratie';
                    
18$_lang['plugin_desc'] = 'Omschrijving';
                    
19$_lang['plugin_desc_category'] = 'De Categorie voor de Plugin.';
                    
19$_lang['plugin_desc_category'] = 'De Categorie voor de Plugin.';
                    
20$_lang['plugin_desc_description'] = 'Een korte beschrijving van de Plugin.';
                    
21$_lang['plugin_desc_name'] = 'De naam van de Plugin.';
                    
28$_lang['plugin_err_nf'] = 'Plugin niet gevonden!';
                    
29$_lang['plugin_err_ns'] = 'Plugin niet omschreven.';
                    
30$_lang['plugin_err_ns_name'] = 'Geef aub een omschrijving voor deze plugin.';
                    
34$_lang['plugin_event_err_nf'] = 'Plugin gebeurtenis niet gevonden.';
                    
35$_lang['plugin_event_err_ns'] = 'Plugin gebeurtenis niet omschreven.';
                    
36$_lang['plugin_event_err_remove'] = 'Er is een fout opgetreden tijdens het verwijderen van de plugin gebeurtenis.';
                    
                
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)
                    
                
PdoStore.php https://github.com/FabienD/symfony.git | PHP | 244 lines
                    
1<?php
                    
2
                    
26 * CAUTION: This store relies on all client and server nodes to have
                    
27 * synchronized clocks for lock expiry to occur at the correct time.
                    
28 * To ensure locks don't expire prematurely; the TTLs should be set with enough
                    
                
ProfilerController.php https://github.com/Burgov/symfony.git | PHP | 330 lines
                    
1<?php
                    
2
                    
242     */
                    
243    public function searchResultsAction(Request $request, $token)
                    
244    {
                    
306    /**
                    
307     * Displays the PHP info.
                    
308     *
                    
310     */
                    
311    public function phpinfoAction()
                    
312    {
                    
315        ob_start();
                    
316        phpinfo();
                    
317        $phpinfo = ob_get_clean();
                    
318
                    
319        return new Response($phpinfo);
                    
320    }
                    
                
Database.php https://bitbucket.org/sevenly/magento-ce.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;
                    
                
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' ),
                    
                
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>
                    
                
mon_diplome_options.php https://bitbucket.org/pombredanne/spip-zone-treemap.git | PHP | 101 lines
                    
1<?php
                    
2
                    
2
                    
3// mon_diplome_options.php
                    
4
                    
10	/*****************************************************
                    
11	Copyright (C) 2009 Christian PAULUS
                    
12	cpaulus@quesaco.org - http://www.quesaco.org/
                    
                
server.php https://bitbucket.org/pombredanne/spip-zone-treemap.git | PHP | 116 lines
                    
1<?php
                    
2//
                    
3// Serveur d'images Lilypond developpe pour SPIP par
                    
4// Richard Christophe � partir du serveur Tex de Philippe Riviere <fil@rezo.net> et Benjamin Sonntag <benjamin@sonntag.fr>
                    
5// Distribue sous licence GNU/GPL
                    
79
                    
80	if (!file_exists($fichier_image) OR (filemtime($fichier_image)<filemtime("server.php"))) {
                    
81		
                    
                
SassCompressedRenderer.php https://github.com/vivid-planet/library.git | PHP | 113 lines
                    
1<?php
                    
2/* SVN FILE: $Id$ */
                    
4 * SassCompressedRenderer class file.
                    
5 * @author      Chris Yates <chris.l.yates@gmail.com>
                    
6 * @copyright   Copyright (c) 2010 PBM Web Development
                    
                
access.php https://github.com/pauln/moodle.git | 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
                    
                
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'
                    
                
CMssqlCommandBuilder.php https://bitbucket.org/haichau59/manga.git | PHP | 338 lines
                    
1<?php
                    
2/**
                    
5 * @author Qiang Xue <qiang.xue@gmail.com>
                    
6 * @author Christophe Boulain <Christophe.Boulain@gmail.com>
                    
7 * @author Wei Zhuo <weizhuo[at]gmail[dot]com>
                    
16 * @author Qiang Xue <qiang.xue@gmail.com>
                    
17 * @author Christophe Boulain <Christophe.Boulain@gmail.com>
                    
18 * @author Wei Zhuo <weizhuo[at]gmail[dot]com>
                    
                
 

Source

Language