PageRenderTime 6614ms queryTime 923ms sortTime 1346ms getByIdsTime 209ms findMatchingLines 142ms

100+ results results for 'php com' (6614 ms)

Not the results you expected?
wp-cache-f091d5ab40590bc01ee8ea7afc5372b1.html https://gitlab.com/endomorphosis/reservationtelco | HTML | 371 lines
                    
12	
                    
13	<link rel="stylesheet" href="http://localhost:8888/reservation-telephone-company/wp-content/themes/reservation-telephone-company/style.css" type="text/css" media="screen" />
                    
14	
                    
17
                    
18	<link rel="alternate" type="application/rss+xml" title="Reservation Telephone Company &raquo; About Comments Feed" href="http://localhost:8888/reservation-telephone-company/about/feed/" />
                    
19<link rel='stylesheet' id='gs-basic-functions-css'  href='http://localhost:8888/reservation-telephone-company/wp-content/plugins/gs-basic-functions/gs-basic-functions.css?ver=3.0-RC1-15112' type='text/css' media='all' />
                    
29<script type='text/javascript' src='http://localhost:8888/reservation-telephone-company/wp-content/plugins/gs-presentation/js/gs-presentation.js?ver=3.0-RC1-15112'></script>
                    
30<link rel="EditURI" type="application/rsd+xml" title="RSD" href="http://localhost:8888/reservation-telephone-company/xmlrpc.php?rsd" />
                    
31<link rel="wlwmanifest" type="application/wlwmanifest+xml" href="http://localhost:8888/reservation-telephone-company/wp-includes/wlwmanifest.xml" /> 
                    
226	<div class="row-1-col-1">
                    
227		<a href="http://localhost:8888/reservation-telephone-company"><img alt="Logo" src="http://localhost:8888/reservation-telephone-company/wp-content/themes/reservation-telephone-company/images/row-1-col-1-logo.png" /></a>
                    
228	</div>
                    
318<p><strong><a href="http://localhost:8888/reservation-telephone-company/wp-content/uploads/2010/05/HQ_web1.jpeg"><img class="alignleft size-full wp-image-43" title="HQ_web" src="http://localhost:8888/reservation-telephone-company/wp-content/uploads/2010/05/HQ_web1.jpeg" alt="" width="351" height="263" /></a>RTC Mission Statement<br />
                    
319 </strong>Our mission is to provide quality telecommunication services at competitive prices.</p>
                    
320<p><strong>RTC Values<br />
                    
                
DiffPanel.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 365 lines
                    
9 * The contents of this file are subject to the terms of either the GNU
                    
10 * General Public License Version 2 only ("GPL") or the Common
                    
11 * Development and Distribution License("CDDL") (collectively, the
                    
11 * Development and Distribution License("CDDL") (collectively, the
                    
12 * "License"). You may not use this file except in compliance with the
                    
13 * License. You can obtain a copy of the License at
                    
21 * by Oracle in the GPL Version 2 section of the License file that
                    
22 * accompanied this code. If applicable, add the following below the
                    
23 * License Header, with the fields enclosed by brackets [] replaced by
                    
41 */
                    
42package org.netbeans.modules.php.project.connections.sync.diff;
                    
43
                    
61import org.netbeans.api.diff.StreamSource;
                    
62import org.netbeans.modules.php.api.util.StringUtils;
                    
63import org.netbeans.modules.php.project.connections.RemoteClient;
                    
                
sweetalert2.css https://gitlab.com/ptisky/API_prestashop | CSS | 595 lines
                    
8 * It is also available through the world-wide-web at this URL:
                    
9 * http://opensource.org/licenses/afl-3.0.php
                    
10 * If you did not receive a copy of the license and are unable to
                    
11 * obtain it through the world-wide-web, please send an email
                    
12 * to license@prestashop.com so we can send you a copy immediately.
                    
13 *
                    
17 * versions in the future. If you wish to customize PrestaShop for your
                    
18 * needs please refer to http://www.prestashop.com for more information.
                    
19 *
                    
19 *
                    
20 * @author    Cubyn <modules@cubyn.com>
                    
21 * @copyright 2015-2016 Cubyn
                    
21 * @copyright 2015-2016 Cubyn
                    
22 * @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
                    
23 */
                    
                
Font.php https://gitlab.com/rsilveira1987/Expresso | PHP | 640 lines
                    
22 * @package	PHPExcel_Style
                    
23 * @copyright  Copyright (c) 2006 - 2012 PHPExcel (http://www.codeplex.com/PHPExcel)
                    
24 * @license	http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt	LGPL
                    
33 * @package	PHPExcel_Style
                    
34 * @copyright  Copyright (c) 2006 - 2012 PHPExcel (http://www.codeplex.com/PHPExcel)
                    
35 */
                    
35 */
                    
36class PHPExcel_Style_Font implements PHPExcel_IComparable
                    
37{
                    
153			$this->_strikethrough	= NULL;
                    
154			$this->_color			= new PHPExcel_Style_Color(PHPExcel_Style_Color::COLOR_BLACK, $isSupervisor, $isConditional);
                    
155		} else {
                    
155		} else {
                    
156			$this->_color	= new PHPExcel_Style_Color(PHPExcel_Style_Color::COLOR_BLACK, $isSupervisor);
                    
157		}
                    
                
twitter-timeline.php https://gitlab.com/hunt9310/ras | PHP | 470 lines
                    
1<?php
                    
2
                    
6 * For details on Twitter Timelines see:
                    
7 *  - https://twitter.com/settings/widgets
                    
8 *  - https://dev.twitter.com/docs/embedded-timelines
                    
26			'twitter_timeline',
                    
27			/** This filter is documented in modules/widgets/facebook-likebox.php */
                    
28			apply_filters( 'jetpack_widget_name', esc_html__( 'Twitter Timeline', 'jetpack' ) ),
                    
63	public function admin_scripts( $hook ) {
                    
64		// This is still 'widgets.php' when managing widgets via the Customizer.
                    
65		if ( 'widgets.php' === $hook ) {
                    
83		if ( isset( $instance['title'] ) ) {
                    
84			/** This filter is documented in core/src/wp-includes/default-widgets.php */
                    
85			echo $args['before_title'] . apply_filters( 'widget_title', $instance['title'] ) . $args['after_title'];
                    
239	public function get_docs_link( $hash = '' ) {
                    
240		if ( defined( 'IS_WPCOM' ) && IS_WPCOM ) {
                    
241			$base_url = 'https://support.wordpress.com/widgets/twitter-timeline-widget/';
                    
                
File.php https://gitlab.com/rsilveira1987/Expresso | PHP | 473 lines
                    
1<?php
                    
2/**
                    
9 * It is also available through the world-wide-web at this URL:
                    
10 * http://framework.zend.com/license/new-bsd
                    
11 * If you did not receive a copy of the license and are unable to
                    
12 * obtain it through the world-wide-web, please send an email
                    
13 * to license@zend.com so we can send you a copy immediately.
                    
14 *
                    
17 * @subpackage Storage
                    
18 * @copyright  Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
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 */
                    
26 * @subpackage Storage
                    
27 * @copyright  Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
                    
28 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
                
eventapi.html.md https://gitlab.com/ggsaavedra/PredictionIO | Markdown | 412 lines
                    
20(usually less than 30 seconds) after HBase is started for its initialization to
                    
21complete before starting the Event Server.
                    
22
                    
23
                    
24Everything about PredictionIO can be done through the `pio` command. Please add
                    
25PIO binary command path to to your `PATH` first. Assuming PredictionIO is
                    
109  </div>
                    
110  <div data-tab="PHP SDK" data-lang="php">
                    
111```php
                    
177```java
                    
178(coming soon)
                    
179```
                    
204  </div>
                    
205  <div data-tab="PHP SDK" data-lang="php">
                    
206```php
                    
                
catalog.php https://gitlab.com/alexprowars/bitrix | PHP | 621 lines
                    
97
                    
98			if (is_array($recommendations) && isset($recommendations[$realProductId]))
                    
99			{
                    
136				{
                    
137					$recommendationId = $viewResult['RECOMMENDATION'];
                    
138				}
                    
148			'domain' => Context::getCurrent()->getServer()->getHttpHost(),
                    
149			'recommendation' => $recommendationId,
                    
150			'date' => date(DATE_ISO8601)
                    
180				"UPDATE ".$helper->quote('b_sale_basket')
                    
181				." SET RECOMMENDATION='".$helper->forSql($recommendationId)."' WHERE ID=".(int) $basketItem->getId()
                    
182			);
                    
394				'currency' => $row['CURRENCY'],
                    
395				'recommendation' => $row['RECOMMENDATION']
                    
396			);
                    
                
VarCloner.php https://gitlab.com/nzqadri/bejeep | PHP | 324 lines
                    
1<?php
                    
2
                    
5 *
                    
6 * (c) Fabien Potencier <fabien@symfony.com>
                    
7 *
                    
11
                    
12namespace Symfony\Component\VarDumper\Cloner;
                    
13
                    
14/**
                    
15 * @author Nicolas Grekas <p@tchwork.com>
                    
16 */
                    
84                if ($zval['zval_isref']) {
                    
85                    $vals[$k] = &$stub;         // Break hard references to make $queue completely
                    
86                    unset($stub);               // independent from the original structure
                    
148                    case 'object':
                    
149                        if (empty($objRefs[$h = $zval['object_handle'] ?: ($hashMask ^ hexdec(substr(spl_object_hash($v), $hashOffset, PHP_INT_SIZE)))])) {
                    
150                            $stub = new Stub();
                    
                
Url.php https://bitbucket.org/alessandro-aglietti/itis-leonardo-da-vinci.git | PHP | 548 lines
                    
178     *
                    
179     * @param string $host Host to set (e.g. www.yahoo.com, yahoo.com)
                    
180     *
                    
301
                    
302        // Combine the normalized parts and add the leading slash if needed
                    
303        $this->path = ($this->path[0] == '/' ? '/' : '') . implode('/', $results);
                    
468    /**
                    
469     * Combine the URL with another URL. Follows the rules specific in RFC 3986 section 5.4.
                    
470     *
                    
470     *
                    
471     * @param string $url          Relative URL to combine with
                    
472     * @param bool   $strictRfc386 Set to true to use strict RFC 3986 compliance when merging paths. When first
                    
476     *                             "bar" would become "http://a.com/foo/bar". When this value is set to false, it would
                    
477     *                             become "http://a.com/foo/baz/bar".
                    
478     * @return Url
                    
                
ImageMagick.php https://gitlab.com/crazybutterfly815/magento2 | PHP | 480 lines
                    
1<?php
                    
2/**
                    
112        $this->_imageHandler->setImageCompressionQuality($this->quality());
                    
113        $this->_imageHandler->setImageCompression(\Imagick::COMPRESSION_JPEG);
                    
114        $this->_imageHandler->setImageUnits(\Imagick::RESOLUTION_PIXELSPERINCH);
                    
170
                    
171        $newImage->compositeImage(
                    
172            $this->_imageHandler,
                    
237     * @throws \Exception
                    
238     * @SuppressWarnings(PHPMD.CyclomaticComplexity)
                    
239     * @SuppressWarnings(PHPMD.NPathComplexity)
                    
304                    while ($offsetX <= $this->_imageSrcWidth + $watermark->getImageWidth()) {
                    
305                        $this->_imageHandler->compositeImage($watermark, \Imagick::COMPOSITE_OVER, $offsetX, $offsetY);
                    
306                        $offsetX += $watermark->getImageWidth();
                    
311            } else {
                    
312                $this->_imageHandler->compositeImage($watermark, \Imagick::COMPOSITE_OVER, $positionX, $positionY);
                    
313            }
                    
                
InstallSchema.php https://gitlab.com/crazybutterfly815/magento2 | PHP | 407 lines
                    
1<?php
                    
2/**
                    
19     * {@inheritdoc}
                    
20     * @SuppressWarnings(PHPMD.ExcessiveMethodLength)
                    
21     */
                    
60                'widget_code'
                    
61            )->setComment(
                    
62                'Preconfigured Widgets'
                    
78                            'primary' => true,
                    
79                            'comment' => 'Widget Id',
                    
80                        ],
                    
83                            'length' => '64K',
                    
84                            'comment' => 'Parameters',
                    
85                        ],
                    
86                    ],
                    
87                    'comment' => 'Preconfigured Widgets',
                    
88                ],
                    
                
Store.php https://gitlab.com/ntphuc/BackendFeedy | PHP | 707 lines
                    
1<?php
                    
2
                    
8use InvalidArgumentException;
                    
9use Symfony\Component\HttpFoundation\Request;
                    
10use Symfony\Component\HttpFoundation\Session\SessionBagInterface;
                    
10use Symfony\Component\HttpFoundation\Session\SessionBagInterface;
                    
11use Symfony\Component\HttpFoundation\Session\Storage\MetadataBag;
                    
12
                    
45     *
                    
46     * @var \Symfony\Component\HttpFoundation\Session\Storage\MetadataBag
                    
47     */
                    
150     *
                    
151     * @param  \Symfony\Component\HttpFoundation\Session\SessionBagInterface  $bag
                    
152     * @return void
                    
697     *
                    
698     * @param  \Symfony\Component\HttpFoundation\Request  $request
                    
699     * @return void
                    
                
Descarte.php https://gitlab.com/SFMSP/Hagape | PHP | 346 lines
                    
1<?php
                    
2
                    
17 * 
                    
18 * @autor Eduardo Praxedes Heinske <praxeduardo@gmail.com>
                    
19 */
                    
120        try {
                    
121            //Em caso de edição, verifica se o registro de fato pode ser alterado, de acordo com o seu status
                    
122            if (!empty($data['id'])) {
                    
231
                    
232            $this->getEm()->commit();
                    
233
                    
273                if ($delete) {
                    
274                    $this->getEm()->commit();
                    
275                    return true;
                    
335
                    
336            //Commita a transação
                    
337            $this->getEm()->commit();
                    
                
admin_review.php https://bitbucket.org/prat_h/rakbuku.git | PHP | 501 lines
                    
1<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
                    
2
                    
2
                    
3require_once(APPPATH.'controllers/project.php');
                    
4
                    
122	
                    
123	public function send_comment(){
                    
124		
                    
133			"admin_review_date" => $review_date,
                    
134			"admin_review_content" => $this->input->post("comment_content"),
                    
135			"project_id" => $this->input->post("projid"),
                    
166				);
                    
167				$this->data["commentor"][$k] = $this->user_model->get_users($par2);
                    
168				
                    
168				
                    
169				$name = get_user_name($this->data["commentor"][$k]);
                    
170				$this->data["commentor"][$k][0]["fullname"] = $name;
                    
                
lang.php https://gitlab.com/gideonmarked/atls-express | PHP | 326 lines
                    
40    ],
                    
41    'combiner' => [
                    
42        'not_found' => "Kombinationsfilen ':name' kunde ej hittas",
                    
94        'no_plugins' => 'Det finns inga tillägg installerade från marknadsplatsen.',
                    
95        'recommended' => 'Rekommenderat',
                    
96        'remove' => 'Ta bort',
                    
141        'sender_email' => 'Avsändarens e-postadress',
                    
142        'php_mail' => 'PHP mail',
                    
143        'smtp' => 'SMTP',
                    
156        'sendmail_path' => 'Sendmail-sökväg',
                    
157        'sendmail_path_comment' => 'Vänligen ange sökvägen till sendmail',
                    
158        'mailgun' => 'Mailgun',
                    
161        'mailgun_secret' => 'Mailgun hemlighet',
                    
162        'mailgun_secret_comment' => 'Ange din Mailgun API-nyckel.',
                    
163        'mandrill' => 'Mandrill',
                    
                
about.html https://gitlab.com/adrian.io/ide | HTML | 275 lines
                    
34
                    
35<p>This plugin is based on software developed by the Apache HttpComponents project at <a href="http://hc.apache.org/">http://hc.apache.org/</a>.
                    
36A copy of this library is distributed within this plugin and
                    
43
                    
44<p>This plugin is based on software developed by the Apache Commons Codec project at <a href="http://jakarta.apache.org/commons/codec/">http://jakarta.apache.org/commons/codec/</a>.
                    
45A copy of this library is distributed within this plugin and
                    
52
                    
53<p>This plugin is based on software developed by the Apache Commons Codec project at <a href="http://jakarta.apache.org/commons/logging/">http://jakarta.apache.org/commons/logging/</a>.
                    
54A copy of this library is distributed within this plugin and
                    
88      "Legal Entity" shall mean the union of the acting entity and all
                    
89      other entities that control, are controlled by, or are under common
                    
90      control with that entity. For the purposes of this definition,
                    
108      transformation or translation of a Source form, including but
                    
109      not limited to compiled object code, generated documentation,
                    
110      and conversions to other media types.
                    
                
upgrade_slims8_akasia.sql.php https://gitlab.com/mucill/sman7 | PHP | 269 lines
                    
1<?php
                    
2
                    
50(9, 'computer card', 'ck', 'k', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
                    
51(10, 'computer chip cartridge', 'cb', 'b', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
                    
52(11, 'computer disc', 'cd', 'd', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
                    
52(11, 'computer disc', 'cd', 'd', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
                    
53(12, 'computer disc cartridge', 'ce', 'e', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
                    
54(13, 'computer tape cartridge', 'ca', 'a', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
                    
54(13, 'computer tape cartridge', 'ca', 'a', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
                    
55(14, 'computer tape cassette', 'cf', 'f', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
                    
56(15, 'computer tape reel', 'ch', 'h', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
                    
57(16, 'online resource', 'cr', 'r', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
                    
58(17, 'other (computer)', 'cz', 'z', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
                    
59(18, 'aperture card', 'ha', 'a', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
                    
222$sql['insert'][] = "INSERT IGNORE INTO `setting` (`setting_name`, `setting_value`) VALUES
                    
223('shortcuts_1', 'a:6:{i:0;s:42:\"Daftar Bibliografi|/bibliography/index.php\";i:1;s:61:\"Tambah Bibliografi Baru|/bibliography/index.php?action=detail\";i:2;s:51:\"Mulai Transaksi|/circulation/index.php?action=start\";i:3;s:48:\"Pengembalian Kilat|/circulation/quick_return.php\";i:4;s:42:\"Lihat Daftar Anggota|/membership/index.php\";i:5;s:37:\"Shortcut Setting|/system/shortcut.php\";}');";
                    
224
                    
                
auth_tkt.py https://bitbucket.org/eaviles/gobierno.git | Python | 380 lines
                    
1# (c) 2005 Ian Bicking and contributors; written for Paste (http://pythonpaste.org)
                    
2# Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php
                    
3##########################################################################
                    
27Implementation of cookie signing as done in `mod_auth_tkt
                    
28<http://www.openfusion.com.au/labs/mod_auth_tkt/>`_.
                    
29
                    
30mod_auth_tkt is an Apache module that looks for these signed cookies
                    
31and sets ``REMOTE_USER``, ``REMOTE_USER_TOKENS`` (a comma-separated
                    
32list of groups) and ``REMOTE_USER_DATA`` (arbitrary string data).
                    
34This module is an alternative to the ``paste.auth.cookie`` module;
                    
35it's primary benefit is compatibility with mod_auth_tkt, which in turn
                    
36makes it possible to use the same authentication process with
                    
59    generate the appropriate authentication ticket.  .cookie()
                    
60    generates a Cookie object, the str() of which is the complete
                    
61    cookie header to be sent.
                    
                
SqlBase.php https://gitlab.com/andecode/theme-spark | PHP | 415 lines
                    
1<?php
                    
2
                    
10use Drupal\Core\Plugin\ContainerFactoryPluginInterface;
                    
11use Symfony\Component\DependencyInjection\ContainerInterface;
                    
12
                    
13/**
                    
14 * A common base class for sql based pager.
                    
15 */
                    
117      '#title' => $this->t('Pager ID'),
                    
118      '#description' => $this->t("Unless you're experiencing problems with pagers related to this view, you should leave this at 0. If using multiple pagers on one page you may need to set this number to a higher value so as not to conflict within the ?page= array. Large values will add a lot of commas to your URLs, so avoid if possible."),
                    
119      '#default_value' => $this->options['id'],
                    
180      '#required' => TRUE,
                    
181      '#description' => $this->t('Set between which values the user can choose when determining the items per page. Separated by comma.'),
                    
182      '#default_value' => $this->options['expose']['items_per_page_options'],
                    
244    if ($error) {
                    
245      $form_state->setErrorByName('pager_options][expose][items_per_page_options', $this->t('Insert a list of integer numeric values separated by commas: e.g: 10, 20, 50, 100'));
                    
246    }
                    
                
rewrite.php https://bitbucket.org/zachisit/zachis.it-m.git | PHP | 425 lines
                    
1<?php
                    
2
                    
47		
                    
48        //DD32 recommend : http://groups.google.com/group/wp-hackers/browse_thread/thread/50ac0d07e30765e9
                    
49        //add_filter('rewrite_rules_array', array($this, 'RewriteRules')); 
                    
211		//TODO: I could parse for the Picture name , gallery etc, but this increase the queries
                    
212		//TODO: Class nggdb need to cache the query for the nggfunctions.php
                    
213
                    
242	 * Canonical support for a better SEO (Dupilcat content), not longer nedded for Wp 2.9
                    
243	 * See : http://googlewebmastercentral.blogspot.com/2009/02/specify-your-canonical.html
                    
244	 * 
                    
265            // XML request
                    
266            $this->slug . '/slideshow/([0-9]+)/?$' => 'index.php?imagerotator=true&gid=$matches[1]'
                    
267		);  
                    
273	/**
                    
274	 * Mainly a copy of the same function in wp-includes\rewrite.php
                    
275     * Adding the NGG tags to each post & page. Never found easier and proper way to handle this with other functions.
                    
                
lang.php https://gitlab.com/michield/dokuwiki | PHP | 188 lines
                    
1<?php
                    
2/**
                    
4 *
                    
5 * @author Sandor TIHANYI <stihanyi+dw@gmail.com>
                    
6 * @author Siaynoq Mage <siaynoqmage@gmail.com>
                    
6 * @author Siaynoq Mage <siaynoqmage@gmail.com>
                    
7 * @author schilling.janos@gmail.com
                    
8 * @author Szabó Dávid <szabo.david@gyumolcstarhely.hu>
                    
8 * @author Szabó Dávid <szabo.david@gyumolcstarhely.hu>
                    
9 * @author Sándor TIHANYI <stihanyi+dw@gmail.com>
                    
10 * @author David Szabo <szabo.david@gyumolcstarhely.hu>
                    
56$lang['htmlok']                = 'Beágyazott HTML engedélyezése';
                    
57$lang['phpok']                 = 'Beágyazott PHP engedélyezése';
                    
58$lang['dformat']               = 'Dátum formázás (lásd a PHP <a href="http://www.php.net/strftime">strftime</a> függvényt)';
                    
99$lang['autoplural']            = 'Többes szám ellenőrzés a hivatkozásokban (angol)';
                    
100$lang['compression']           = 'Tömörítés használata a törölt lapokhoz';
                    
101$lang['cachetime']             = 'A gyorsítótár maximális élettartama (másodperc)';
                    
                
acpiphp_ibm.c https://gitlab.com/karrei/inel-imx6-kernel | C | 487 lines
                    
39
                    
40#include "acpiphp.h"
                    
41#include "../pci.h"
                    
43#define DRIVER_VERSION	"1.0.1"
                    
44#define DRIVER_AUTHOR	"Irene Zubarev <zubarev@us.ibm.com>, Vernon Mauery <vernux@us.ibm.com>"
                    
45#define DRIVER_DESC	"ACPI Hot Plug PCI Controller Driver IBM extension"
                    
167 *
                    
168 * Description: This method is registered with the acpiphp module as a
                    
169 * callback to do the device specific task of setting the LED status.
                    
242 *
                    
243 * The events actually come from the device as two events that get
                    
244 * synthesized into one event with data by this function.  The event
                    
244 * synthesized into one event with data by this function.  The event
                    
245 * ID comes first and then the slot number that caused it.  We report
                    
246 * this as one event to the OS.
                    
                
tcp_cubic.c https://gitlab.com/karrei/imx6-kernel | C | 497 lines
                    
19 * All testing results are available from:
                    
20 * http://netsrv.csc.ncsu.edu/wiki/index.php/TCP_Testing
                    
21 *
                    
60
                    
61/* Note parameters that are used for precomputing scale factors are read-only */
                    
62module_param(fast_convergence, int, 0644);
                    
164	 * cbrt(x) MSB values for x MSB values in [0..63].
                    
165	 * Precomputed then refined by hand - Willy Tarreau
                    
166	 *
                    
204/*
                    
205 * Compute congestion window to use.
                    
206 */
                    
229		} else {
                    
230			/* Compute new K based on
                    
231			 * (wmax-cwnd) * (srtt>>3 / HZ) / c * 2^(3*bictcp_HZ)
                    
                
File.php https://gitlab.com/devtoannh/cafe | PHP | 468 lines
                    
25 */
                    
26require_once 'Zend/CodeGenerator/Php/Abstract.php';
                    
27
                    
30 */
                    
31require_once 'Zend/CodeGenerator/Php/Class.php';
                    
32
                    
38 */
                    
39class Zend_CodeGenerator_Php_File extends Zend_CodeGenerator_Php_Abstract
                    
40{
                    
86        if ($fileName == '') {
                    
87            require_once 'Zend/CodeGenerator/Php/Exception.php';
                    
88            throw new Zend_CodeGenerator_Php_Exception('FileName does not exist.');
                    
113            if ( ($realpath = Zend_Reflection_file::findRealpathInIncludePath($filePath)) === false) {
                    
114                require_once 'Zend/CodeGenerator/Php/Exception.php';
                    
115                throw new Zend_CodeGenerator_Php_Exception('No file for ' . $realpath . ' was found.');
                    
                
hostkreskoweczki.py https://gitlab.com/Ghoz/iptvplayer-for-e2 | Python | 318 lines
                    
4###################################################
                    
5from Plugins.Extensions.IPTVPlayer.components.iptvplayerinit import TranslateTXT as _, SetIPTVPlayerLastHostError
                    
6from Plugins.Extensions.IPTVPlayer.components.ihost import CHostBase, CBaseHostClass, CDisplayListItem, RetHost, CUrlItem, ArticleContent
                    
7from Plugins.Extensions.IPTVPlayer.tools.iptvtools import printDBG, printExc, CSearchHistoryHelper, GetDefaultLang, remove_html_markup, GetLogoDir, GetCookieDir, byteify
                    
8from Plugins.Extensions.IPTVPlayer.libs.pCommon import common, CParsingHelper
                    
9import Plugins.Extensions.IPTVPlayer.libs.urlparser as urlparser
                    
24except Exception: import simplejson as json
                    
25from Components.config import config, ConfigSelection, ConfigYesNo, ConfigText, getConfigListEntry
                    
26###################################################
                    
29###################################################
                    
30# E2 GUI COMMPONENTS 
                    
31###################################################
                    
31###################################################
                    
32from Plugins.Extensions.IPTVPlayer.components.asynccall import MainSessionWrapper
                    
33from Screens.MessageBox import MessageBox
                    
                
TextArea.php https://gitlab.com/ElvisAns/tiki | PHP | 377 lines
                    
1<?php
                    
2
                    
4//
                    
5// All Rights Reserved. See copyright.txt for details and a complete list of authors.
                    
6// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
                    
310                ;
                    
311            // convert incoming html to wiki syntax and the opposite on export
                    
312            $schema->addNew($permName, 'wiki-html')
                    
330                ->setReadOnly(true)
                    
331                ->addIncompatibility($permName, 'current')
                    
332                ->addQuerySource('text', "{$baseKey}_{$lang}_raw")
                    
340                    ->addQuerySource('text', "{$baseKey}_{$lang}_raw")
                    
341                    ->addIncompatibility($permName, 'current')
                    
342                    ->addIncompatibility($permName, 'current-raw')
                    
347                    ->addQuerySource('text', "{$baseKey}_{$lang}_raw")
                    
348                    ->addIncompatibility($permName, 'current')
                    
349                    ->addIncompatibility($permName, 'current-raw')
                    
                
class-wp-terms-list-table.php https://gitlab.com/haque.mdmanzurul/barongbarong | PHP | 454 lines
                    
1<?php
                    
2/**
                    
94		$this->set_pagination_args( array(
                    
95			'total_items' => wp_count_terms( $this->screen->taxonomy, compact( 'search' ) ),
                    
96			'per_page' => $tags_per_page,
                    
298		if ( current_user_can( $tax->cap->delete_terms ) && $tag->term_id != $default_term )
                    
299			$actions['delete'] = "<a class='delete-tag' href='" . wp_nonce_url( "edit-tags.php?action=delete&amp;taxonomy=$taxonomy&amp;tag_ID=$tag->term_id", 'delete-tag_' . $tag->term_id ) . "'>" . __( 'Delete' ) . "</a>";
                    
300		if ( $tax->public )
                    
331
                    
332		/** This filter is documented in wp-admin/edit-tag-form.php */
                    
333		$out .= '<div class="slug">' . apply_filters( 'editable_slug', $qe_data->slug ) . '</div>';
                    
343	function column_slug( $tag ) {
                    
344		/** This filter is documented in wp-admin/edit-tag-form.php */
                    
345		return apply_filters( 'editable_slug', $tag->slug );
                    
366		if ( 'attachment' == $this->screen->post_type )
                    
367			return "<a href='" . esc_url ( add_query_arg( $args, 'upload.php' ) ) . "'>$count</a>";
                    
368
                    
                
editar_factura_prov.php https://gitlab.com/cosouth.battle/sartinofi | PHP | 434 lines
                    
1<?php
                    
2
                    
4require_model('asiento_factura.php');
                    
5require_model('divisa.php');
                    
6require_model('fabricante.php');
                    
6require_model('fabricante.php');
                    
7require_model('forma_pago.php');
                    
8require_model('proveedor.php');
                    
8require_model('proveedor.php');
                    
9require_model('recibo_proveedor.php');
                    
10
                    
24   {
                    
25      parent::__construct(__CLASS__, 'editar factura', 'compras', FALSE, FALSE);
                    
26   }
                    
36
                    
37      /// comprobamos si el usuario tiene acceso a nueva_compra
                    
38      $this->nuevo_albaran_url = FALSE;
                    
                
class-wpb-map.php https://gitlab.com/oxidigitaluser/liguelista | PHP | 563 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * WPBakery Visual Composer Main manager.
                    
4 *
                    
4 *
                    
5 * @package WPBakeryVisualComposer
                    
6 * @since   4.2
                    
12 * This class maps shortcodes settings to VC editors. You can manage add new shortcodes or manage default shortcodes
                    
13 * mapped in config/map.php. For developers it is possible to use API functions to add update settings attributes.
                    
14 *
                    
14 *
                    
15 * @see config/map.php
                    
16 * @see include/helpers/helpers_api.php
                    
126	 * You need to shortcode's tag and  settings to map correctly.
                    
127	 * Default shortcodes are mapped in config/map.php file.
                    
128	 * The best way is to call this method with "init" action callback function of WP.
                    
                
rpcconsole.cpp https://gitlab.com/Quetzalcoatl/VekitaCoin | C++ | 433 lines
                    
46public slots:
                    
47    void request(const QString &command);
                    
48
                    
49signals:
                    
50    void reply(int category, const QString &command);
                    
51};
                    
66 * @param[out]   args        Parsed arguments will be appended to this list
                    
67 * @param[in]    strCommand  Command line to split
                    
68 */
                    
68 */
                    
69bool parseCommandLine(std::vector<std::string> &args, const std::string &strCommand)
                    
70{
                    
141    std::vector<std::string> args;
                    
142    if(!parseCommandLine(args, command.toStdString()))
                    
143    {
                    
                
mkdist.php https://gitlab.com/0072016/appengine-php | PHP | 548 lines
                    
15
                    
16$dist_dir = $build_dir . "/php-" . phpversion();
                    
17$test_dir = $build_dir . "/php-test-pack-" . phpversion();
                    
241	"win32/pws-php5cgi.reg" => "pws-php5cgi.reg",
                    
242	"win32/pws-php5isapi.reg" => "pws-php5isapi.reg",
                    
243);
                    
250$general_files = array(
                    
251	"php.gif"			=>	"php.gif",
                    
252);
                    
445	echo "Creating phar.phar.bat\n";
                    
446	file_put_contents($dist_dir . '/phar.phar.bat', "%~dp0php.exe %~dp0pharcommand.phar %*\r\n");
                    
447}
                    
495
                    
496	/* Now, we want PEAR.php, Getopt.php (Console_Getopt) and Tar.php (Archive_Tar)
                    
497	 * broken out of the tarballs */
                    
                
class-inl.h https://gitlab.com/0072016/0072016-PHP.LLC | C Header | 522 lines
                    
2   +----------------------------------------------------------------------+
                    
3   | HipHop for PHP                                                       |
                    
4   +----------------------------------------------------------------------+
                    
4   +----------------------------------------------------------------------+
                    
5   | Copyright (c) 2010-2015 Facebook, Inc. (http://www.facebook.com)     |
                    
6   +----------------------------------------------------------------------+
                    
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   +----------------------------------------------------------------------+
                    
                
wpsc-swfupload-handlers.js https://gitlab.com/endomorphosis/reservationtelco | JavaScript | 348 lines
                    
43	else {
                    
44		jQuery('#media-item-' + fileObj.id).load('async-upload.php', {attachment_id:serverData, fetch:f}, function(){prepareMediaItemInit(fileObj);updateMediaForm()});
                    
45	}
                    
61		// Tell the server to delete it. TODO: handle exceptions
                    
62		jQuery.ajax({url:'admin-ajax.php',type:'post',success:deleteSuccess,error:deleteError,id:fileObj.id,data:{
                    
63			id : this.id.replace(/[^0-9]/g,''),
                    
150		output_html += "	<div id='gallery_image_"+image_id+"' class='previewimage'>\n";
                    
151		output_html += "		<a class='thickbox' rel='product_extra_image_"+image_id+"' href='admin.php?wpsc_admin_action=crop_image&amp;imagename="+image_src+"&amp;imgheight=480&amp;imgwidth=600&amp;product_id=103&amp;width=640&amp;height=342' id='extra_preview_link_"+image_id+"'>\n";
                    
152		output_html += "		<img title='Preview' alt='Preview' src='"+WPSC_IMAGE_URL+image_src+"' class='previewimage'/>\n";
                    
195			postVars = "product_id="+product_id+"&order="+order;
                    
196			jQuery.post( 'index.php?wpsc_admin_action=rearrange_images', postVars, function(returned_data) {
                    
197					eval(returned_data);
                    
217
                    
218function wpsc_uploadComplete(fileObj) {
                    
219	// If no more uploads queued, enable the submit button
                    
                
AclVoterTest.php https://gitlab.com/TouirMohamedMarwen/Symfony2 | PHP | 432 lines
                    
1<?php
                    
2
                    
5 *
                    
6 * (c) Fabien Potencier <fabien@symfony.com>
                    
7 *
                    
11
                    
12namespace Symfony\Component\Security\Acl\Tests\Voter;
                    
13
                    
13
                    
14use Symfony\Component\Security\Acl\Exception\NoAceFoundException;
                    
15use Symfony\Component\Security\Acl\Voter\FieldVote;
                    
15use Symfony\Component\Security\Acl\Voter\FieldVote;
                    
16use Symfony\Component\Security\Acl\Exception\AclNotFoundException;
                    
17use Symfony\Component\Security\Acl\Domain\RoleSecurityIdentity;
                    
17use Symfony\Component\Security\Acl\Domain\RoleSecurityIdentity;
                    
18use Symfony\Component\Security\Acl\Domain\UserSecurityIdentity;
                    
19use Symfony\Component\Security\Acl\Domain\ObjectIdentity;
                    
                
Value.php https://github.com/kotosha/sklepPHP.git | PHP | 401 lines
                    
1<?php
                    
2/**
                    
9 * It is also available through the world-wide-web at this URL:
                    
10 * http://framework.zend.com/license/new-bsd
                    
11 * If you did not receive a copy of the license and are unable to
                    
12 * obtain it through the world-wide-web, please send an email
                    
13 * to license@zend.com so we can send you a copy immediately.
                    
14 *
                    
17 * @subpackage Value
                    
18 * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: Value.php 12721 2008-11-20 18:21:58Z matthew $
                    
21 */
                    
24/** Zend_XmlRpc_Value_Exception */
                    
25require_once 'Zend/XmlRpc/Value/Exception.php';
                    
26
                    
                
sysvmsg.c https://gitlab.com/envieidoc/tomato | C | 477 lines
                    
2  +----------------------------------------------------------------------+
                    
3  | PHP Version 5                                                        |
                    
4  +----------------------------------------------------------------------+
                    
4  +----------------------------------------------------------------------+
                    
5  | Copyright (c) 1997-2014 The PHP Group                                |
                    
6  +----------------------------------------------------------------------+
                    
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   |
                    
342
                    
343	messagebuffer = (struct php_msgbuf *) safe_emalloc(maxsize, 1, sizeof(struct php_msgbuf));
                    
344
                    
                
Ods.php https://gitlab.com/rsilveira1987/Expresso | PHP | 400 lines
                    
1<?php
                    
2/**
                    
43                xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
                    
44                xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0">
                    
45            <style:table-cell-properties fo:background-color="#ccffff"/>
                    
50                xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
                    
51                xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0">
                    
52            <style:text-properties fo:font-weight="bold"/>
                    
55                xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
                    
56                xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0">
                    
57            <style:table-cell-properties fo:background-color="#ccccff"/>
                    
60                xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
                    
61                xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0">
                    
62            <style:table-cell-properties fo:background-color="#ccccff"/>
                    
66                xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
                    
67                xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0">
                    
68            <style:paragraph-properties fo:text-align="center" fo:margin-left="0cm"/>
                    
                
Curl.php https://gitlab.com/yousafsyed/easternglamor | PHP | 453 lines
                    
1<?php
                    
2/**
                    
156     *
                    
157     * @SuppressWarnings(PHPMD.NPathComplexity)
                    
158     * @SuppressWarnings(PHPMD.CyclomaticComplexity)
                    
175     *
                    
176     * @SuppressWarnings(PHPMD.NPathComplexity)
                    
177     * @SuppressWarnings(PHPMD.CyclomaticComplexity)
                    
308     *
                    
309     * @SuppressWarnings(PHPMD.CyclomaticComplexity)
                    
310     * @SuppressWarnings(PHPMD.NPathComplexity)
                    
345     *
                    
346     * @SuppressWarnings(PHPMD.CyclomaticComplexity)
                    
347     * @SuppressWarnings(PHPMD.NPathComplexity)
                    
                
search.php https://gitlab.com/alexprowars/bitrix | PHP | 532 lines
                    
248				$descList = array();
                    
249				if (isset($companyTypeList[$company['COMPANY_TYPE']]))
                    
250				{
                    
250				{
                    
251					$descList[] = $companyTypeList[$company['COMPANY_TYPE']];
                    
252				}
                    
252				}
                    
253				if (isset($companyIndustryList[$company['INDUSTRY']]))
                    
254				{
                    
258				$searchResult['CRMCOMPANY'.$company['ID']] = array(
                    
259					'id' => 'CRMCOMPANY'.$company['ID'],
                    
260					'entityId' => $company['ID'],
                    
265
                    
266				if (!empty($company['LOGO']) && intval($company['LOGO']) > 0)
                    
267				{
                    
                
template.php https://gitlab.com/alexprowars/bitrix | PHP | 409 lines
                    
12Loc::loadMessages(__FILE__);
                    
13?><div class="container-fluid"><?php
                    
14if (!empty($arResult['ERRORS']['FATAL']))
                    
17	{
                    
18		if ($code !== $component::E_NOT_AUTHORIZED)
                    
19			ShowError($error);
                    
20	}
                    
21	$component = $this->__component;
                    
22	if ($arParams['AUTH_FORM_IN_TEMPLATE'] && isset($arResult['ERRORS']['FATAL'][$component::E_NOT_AUTHORIZED]))
                    
26			<div class="col-md-8 offset-md-2 col-lg-6 offset-lg-3">
                    
27				<div class="alert alert-danger"><?=$arResult['ERRORS']['FATAL'][$component::E_NOT_AUTHORIZED]?></div>
                    
28			</div>
                    
393		$javascriptParams = array(
                    
394			"url" => CUtil::JSEscape($this->__component->GetPath().'/ajax.php'),
                    
395			"templateFolder" => CUtil::JSEscape($templateFolder),
                    
                
class.php https://gitlab.com/alexprowars/bitrix | PHP | 524 lines
                    
1<?php
                    
2
                    
18 */
                    
19class SaleOrderPaymentChange extends \CBitrixComponent
                    
20{
                    
32	 */
                    
33	public function onPrepareComponentParams($params)
                    
34	{
                    
112	/**
                    
113	 * Prepare data to render in new version of component.
                    
114	 * @return void
                    
181	/**
                    
182	 * Function implements all the life cycle of our component
                    
183	 * @return void
                    
184	 */
                    
185	public function executeComponent()
                    
186	{
                    
                
RouteCollectionBuilderTest.php https://gitlab.com/nzqadri/bejeep | PHP | 324 lines
                    
1<?php
                    
2
                    
5 *
                    
6 * (c) Fabien Potencier <fabien@symfony.com>
                    
7 *
                    
11
                    
12namespace Symfony\Component\Routing\Tests;
                    
13
                    
13
                    
14use Symfony\Component\Config\Resource\FileResource;
                    
15use Symfony\Component\Routing\Route;
                    
15use Symfony\Component\Routing\Route;
                    
16use Symfony\Component\Routing\RouteCollection;
                    
17use Symfony\Component\Routing\RouteCollectionBuilder;
                    
18
                    
19class RouteCollectionBuilderTest extends \PHPUnit_Framework_TestCase
                    
20{
                    
                
ClassLoader.php https://gitlab.com/nmhieucoder/laravel_tintuc | PHP | 481 lines
                    
1<?php
                    
2
                    
3/*
                    
4 * This file is part of Composer.
                    
5 *
                    
12
                    
13namespace Composer\Autoload;
                    
14
                    
17 *
                    
18 *     $loader = new \Composer\Autoload\ClassLoader();
                    
19 *
                    
20 *     // register classes with namespaces
                    
21 *     $loader->add('Symfony\Component', __DIR__.'/component');
                    
22 *     $loader->add('Symfony',           __DIR__.'/framework');
                    
29 *
                    
30 * In this example, if you try to use a class in the Symfony\Component
                    
31 * namespace or one of its children (Symfony\Component\Console for instance),
                    
                
general.php https://gitlab.com/digaotinfo/agenciaabear.com.br | PHP | 225 lines
                    
47        <div class="kopa-element-box kopa-theme-options">
                    
48            <span class="kopa-component-title"><?php _e('Footer menu logo', kopa_get_domain()); ?></span>
                    
49
                    
139                ?>
                    
140                <label  for="<?php echo $kopa_header_headline_status_id; ?>" class="kopa-label-for-radio-button"><input type="radio" value="<?php echo esc_attr( $value ); ?>" id="<?php echo $kopa_header_headline_status_id; ?>" name="<?php echo $kopa_header_headline_name; ?>" <?php echo ($value == get_option($kopa_header_headline_name, 'show')) ? 'checked="checked"' : ''; ?>><?php echo $label; ?></label>
                    
141                <?php
                    
158                foreach ( $kopa_headline_categories as $kopa_headline_category ) { ?>
                    
159                    <option value="<?php echo $kopa_headline_category->term_id; ?>" <?php selected( $kopa_headline_category->term_id, $kopa_current_headline_category_id ); ?>><?php echo $kopa_headline_category->name; ?></option>
                    
160                <?php } // endforeach ?>
                    
190                ?>
                    
191                <label  for="<?php echo $kopa_breadcrumb_id; ?>" class="kopa-label-for-radio-button"><input type="radio" value="<?php echo esc_attr( $value ); ?>" id="<?php echo $kopa_breadcrumb_id; ?>" name="<?php echo $kopa_breadcrumb_status_name; ?>" <?php echo ($value == get_option($kopa_breadcrumb_status_name, 'show')) ? 'checked="checked"' : ''; ?>><?php echo $label; ?></label>
                    
192                <?php
                    
210        <div class="kopa-element-box kopa-theme-options">
                    
211            <span class="kopa-component-title"><?php _e('Custom Left Footer', kopa_get_domain()); ?></span>
                    
212            <p class="kopa-desc"><?php _e('Enter the content you want to display in your left footer (e.g. copyright text).', kopa_get_domain()); ?></p>    
                    
                
grid.subgrid.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 298 lines
                    
3 * jqGrid extension for SubGrid Data
                    
4 * Tony Tomov tony@trirand.com
                    
5 * http://trirand.com/blog/ 
                    
6 * Dual licensed under the MIT and GPL licenses:
                    
7 * http://www.opensource.org/licenses/mit-license.php
                    
8 * http://www.gnu.org/licenses/gpl-2.0.html
                    
162						data: $.isFunction(ts.p.serializeSubGridData)? ts.p.serializeSubGridData.call(ts, dp) : dp,
                    
163						complete: function(sxml) {
                    
164							if(ts.p.subgridtype === "xml") {
                    
                
length_class.php https://bitbucket.org/elena_dyavolova/omf.git | PHP | 412 lines
                    
1<?php
                    
2class ControllerLocalisationLengthClass extends Controller {
                    
149       		'text'      => $this->language->get('text_home'),
                    
150			'href'      => $this->url->link('common/home', 'token=' . $this->session->data['token'], 'SSL'),       		
                    
151      		'separator' => false
                    
259		$this->children = array(
                    
260			'common/header',
                    
261			'common/footer'
                    
312       		'text'      => $this->language->get('text_home'),
                    
313			'href'      => $this->url->link('common/home', 'token=' . $this->session->data['token'], 'SSL'),
                    
314      		'separator' => false
                    
356		$this->children = array(
                    
357			'common/header',
                    
358			'common/footer'
                    
                
ZoomPrintController.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 392 lines
                    
28   private EdgesListener _edgesListener;
                    
29   private EdgesGraphComponent _edgesGraphComponent;
                    
30   private GraphPlugin _plugin;
                    
35
                    
36   public ZoomPrintController(ZoomerXmlBean zoomerXmlBean, PrintXmlBean printXmlBean, EdgesListener edgesListener, GraphPrintable printable, ISession session, GraphPlugin plugin)
                    
37   {
                    
226
                    
227            BufferedImage img = prepareImage(graphPixelSize.width, graphPixelSize.height);
                    
228            _printable.print(img.getGraphics(), pf, 0);
                    
283         _edgesGraphComponent.init(format, _panel.sldEdges.getValue() / 100.0, _panel.sldEdges.getValueIsAdjusting());
                    
284         _edgesListener.edgesGraphComponentChanged(_edgesGraphComponent, true);
                    
285
                    
288      {
                    
289         _edgesListener.edgesGraphComponentChanged(_edgesGraphComponent, false);
                    
290      }
                    
                
text_effects.hs https://gitlab.com/stallmanifold/imagemagick | Haskell | 313 lines
                    
3-- | Example taken from: http://members.shaw.ca/el.supremo/MagickWand/text_effects.htm
                    
4{- There's no equivalent convert command for this. It is a demo of MagickWand.
                    
5See this forum thread for the genesis of these effects
                    
5See this forum thread for the genesis of these effects
                    
6http://www.imagemagick.org/discourse-server/viewtopic.php?f=6&t=11586
                    
7and Anthony's Text Effects page at:
                    
67  -- Composite the text on top of the shadow
                    
68  compositeImage w cloneW overCompositeOp 5 5
                    
69
                    
77  -- Now composite the shadowed text over the plain background
                    
78  compositeImage w' w overCompositeOp 0 0
                    
79  --  and write the result
                    
94  pushPattern dw (T.tail patternName) 0 0 (realToFrac width) (realToFrac height)
                    
95  drawComposite dw srcOverCompositeOp 0 0 0 0 w
                    
96  popPattern dw
                    
                
derivative.inc.php https://gitlab.com/team_fsn/fsn-php | PHP | 540 lines
                    
1<?php
                    
2// +-----------------------------------------------------------------------+
                    
2// +-----------------------------------------------------------------------+
                    
3// | Piwigo - a PHP based photo gallery                                    |
                    
4// +-----------------------------------------------------------------------+
                    
71      $this->flags |= self::IS_MIMETYPE;
                    
72      if ( ($size=@getimagesize(PHPWG_ROOT_PATH.$this->rel_path)) === false)
                    
73      {
                    
74        $this->rel_path = 'themes/default/icon/mimetypes/unknown.png';
                    
75        $size = getimagesize(PHPWG_ROOT_PATH.$this->rel_path);
                    
76      }
                    
125  {
                    
126    return PHPWG_ROOT_PATH.$this->rel_path;
                    
127  }
                    
379      $rel_url = 'i';
                    
380      if ($conf['php_extension_in_urls']) $rel_url .= '.php';
                    
381      if ($conf['question_mark_in_urls']) $rel_url .= '?';
                    
                
BaseVarDumper.php https://gitlab.com/afzalpotenza/YII_salon | PHP | 272 lines
                    
17 *
                    
18 * @author Qiang Xue <qiang.xue@gmail.com>
                    
19 * @since 2.0
                    
30     * This method achieves the similar functionality as var_dump and print_r
                    
31     * but is more robust when handling complex objects such as Yii controllers.
                    
32     * @param mixed $var variable to be dumped
                    
119                    self::$_output .= "$className#$id\n" . $spaces . '(';
                    
120                    if ('__PHP_Incomplete_Class' !== get_class($var) && method_exists($var, '__debugInfo')) {
                    
121                        $dumpValues = $var->__debugInfo();
                    
141     *
                    
142     * The string is a valid PHP expression that can be evaluated by PHP parser
                    
143     * and the evaluation result will give back the variable value.
                    
210                            return;
                    
211                        } elseif ('__PHP_Incomplete_Class' !== get_class($var) && method_exists($var, '__toString')) {
                    
212                            $output = var_export($var->__toString(), true);
                    
                
jqplot.pointLabels.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 362 lines
                    
7 * Copyright (c) 2009-2011 Chris Leonello
                    
8 * jqPlot is currently available for use in all personal or commercial projects 
                    
9 * under both the MIT (http://www.opensource.org/licenses/mit-license.php) and GPL 
                    
14 * know of any substantial use of jqPlot.  You can reach the author at: 
                    
15 * chris at jqplot dot com or see http://www.jqplot.com/info.php .
                    
16 *
                    
17 * If you are feeling kind and generous, consider supporting the project by
                    
18 * making a donation at: http://www.jqplot.com/donate.php .
                    
19 *
                    
23 *     author Ash Searle
                    
24 *     http://hexmen.com/blog/2007/03/printf-sprintf/
                    
25 *     http://hexmen.com/js/sprintf.js
                    
83        // prop: location
                    
84        // compass location where to position the label around the point.
                    
85        // 'n', 'ne', 'e', 'se', 's', 'sw', 'w', 'nw'
                    
                
Core.class.php https://gitlab.com/adamlwalker/generatedata | PHP | 511 lines
                    
37	private static $releaseDate = "2014-09-06";
                    
38	private static $minimumPHPVersion = "5.3.0";
                    
39	private static $minimumMySQLVersion = "4.1.3";
                    
46	// left as public, because they're often modified / accessed, and it's just too fussy otherwise. The
                    
47	// PHPDoc helps my IDE figure out what the hell each of them are
                    
48
                    
100	 *          info is used to let plugins instantiate themselves differently, as well as prevent the loading
                    
101	 *          of incomplete parts of the script.<br />
                    
102	 *          <b>installation</b>:              a fresh installation, DB not installed yet<br />
                    
313	/**
                    
314	 * Full installation of the program is determined by (a) the settings.php file existing and (b)
                    
315	 * the "installationComplete" setting value existing in the database. Note: this function assumes
                    
322		}
                    
323		$installationComplete = Settings::getSetting("installationComplete");
                    
324		if (!isset($installationComplete) || $installationComplete == "no") {
                    
                
Flat.php https://bitbucket.org/mkrasuski/magento-ce.git | PHP | 362 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
                    
12 * obtain it through the world-wide-web, please send an email
                    
13 * to license@magento.com so we can send you a copy immediately.
                    
14 *
                    
18 * versions in the future. If you wish to customize Magento for your
                    
19 * needs please refer to http://www.magento.com for more information.
                    
20 *
                    
22 * @package     Mage_Catalog
                    
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)
                    
                
Part.php https://bitbucket.org/baruffaldi/cms-php-bfcms.git | PHP | 486 lines
                    
1<?php
                    
2/**
                    
9 * It is also available through the world-wide-web at this URL:
                    
10 * http://framework.zend.com/license/new-bsd
                    
11 * If you did not receive a copy of the license and are unable to
                    
12 * obtain it through the world-wide-web, please send an email
                    
13 * to license@zend.com so we can send you a copy immediately.
                    
14 *
                    
16 * @package    Zend_Mail
                    
17 * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
                    
18 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
18 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
19 * @version    $Id: Part.php 9099 2008-03-30 19:35:47Z thomas $
                    
20 */
                    
25 */
                    
26require_once 'Zend/Mime/Decode.php';
                    
27
                    
                
Config.php https://bitbucket.org/webpolis/liiv.git | PHP | 514 lines
                    
1<?php
                    
2/*
                    
4 * ========
                    
5 * http://ckfinder.com
                    
6 * Copyright (C) 2007-2009, CKSource - Frederico Knabben. All rights reserved.
                    
22 */
                    
23require_once CKFINDER_CONNECTOR_LIB_DIR . "/Core/AccessControlConfig.php";
                    
24/**
                    
26 */
                    
27require_once CKFINDER_CONNECTOR_LIB_DIR . "/Core/ResourceTypeConfig.php";
                    
28/**
                    
30 */
                    
31require_once CKFINDER_CONNECTOR_LIB_DIR . "/Core/ThumbnailsConfig.php";
                    
32/**
                    
34 */
                    
35require_once CKFINDER_CONNECTOR_LIB_DIR . "/Core/ImagesConfig.php";
                    
36
                    
                
url_helper.php https://gitlab.com/fredec/ionizecms-1.0.8.x | PHP | 593 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 *
                    
9 * @copyright	Copyright (c) 2008 - 2011, EllisLab, Inc.
                    
10 * @license		http://codeigniter.com/user_guide/license.html
                    
11 * @link		http://codeigniter.com
                    
24 * @author		ExpressionEngine Dev Team
                    
25 * @link		http://codeigniter.com/user_guide/helpers/url_helper.html
                    
26 */
                    
341	var l=new Array();
                    
342	<?php
                    
343	$i = 0;
                    
343	$i = 0;
                    
344	foreach ($x as $val){ ?>l[<?php echo $i++; ?>]='<?php echo $val; ?>';<?php } ?>
                    
345
                    
                
MY_url_helper.php https://gitlab.com/fredec/ionizecms-1.0.8.x | PHP | 542 lines
                    
1<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
                    
2/**
                    
7 * @author		Ionize Dev Team
                    
8 * @license		http://doc.ionizecms.com/en/basic-infos/license-agreement
                    
9 * @link		http://ionizecms.com
                    
242/**
                    
243 * Create URL Title compatible with all latin characters
                    
244 *
                    
267		$charset 	= config_item('charset');
                    
268		$str 		= strtolower(htmlentities($str, ENT_COMPAT, $charset));
                    
269		$str 		= preg_replace('/&(.)(acute|cedil|circ|lig|grave|ring|tilde|uml);/', "$1", $str);
                    
269		$str 		= preg_replace('/&(.)(acute|cedil|circ|lig|grave|ring|tilde|uml);/', "$1", $str);
                    
270		$str 		= preg_replace('/([^a-z0-9.]+)/', $separator, html_entity_decode($str, ENT_COMPAT, $charset));
                    
271		$str 		= trim($str, $separator);
                    
441				
                    
442				$comp_email = $matches['1'][$i].'@'.$matches['2'][$i].'.'.$matches['3'][$i].$matches['5'][$i].$matches['7'][$i];
                    
443				$email = $matches['1'][$i].'@'.$matches['2'][$i].'.'.$matches['3'][$i];
                    
                
CaBundle.php https://gitlab.com/imamul68e/137619_PHP31 | PHP | 291 lines
                    
5 *
                    
6 * (c) Composer <https://github.com/composer>
                    
7 *
                    
14use Psr\Log\LoggerInterface;
                    
15use Symfony\Component\Process\PhpProcess;
                    
16
                    
195        // Vulnerable:
                    
196        // PHP 5.3.0 - PHP 5.3.27
                    
197        // PHP 5.4.0 - PHP 5.4.22
                    
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"'
                    
                
SnsClient.php https://gitlab.com/juanito.abelo/nlmobile | PHP | 378 lines
                    
1<?php
                    
2
                    
6
                    
7w3_require_once(W3TC_LIB_W3_DIR . '/Enterprise/SnsBase.php');
                    
8
                    
182    /**
                    
183     * Reloads/compiles a PHP file.
                    
184     * @param string $filename
                    
191    /**
                    
192     * Reloads/compiles a PHP file.
                    
193     * @param string[] $filenames
                    
253    /**
                    
254     * Setups message list and if it should be combined or separate
                    
255     * @param $message
                    
                
class-popup-public.php https://gitlab.com/darmawan.fatria/df-skp-2014 | PHP | 407 lines
                    
1<?php
                    
2// Load dependencies.
                    
2// Load dependencies.
                    
3require_once PO_INC_DIR . 'class-popup-base.php';
                    
4
                    
102		 * Apply the specific loading method to include the popup on the page.
                    
103		 * Details to the loading methods are documented in the header comment
                    
104		 * of the "load_method_xyz()" functions.
                    
230	 * PopUp data is loaded via a normal WordPress ajax request, directed at
                    
231	 * the admin-ajax.php handler.
                    
232	 *
                    
237
                    
238		if ( ! in_array( $pagenow, array( 'wp-login.php', 'wp-register.php' ) ) ) {
                    
239			// Data is loaded via a normal WordPress ajax request.
                    
261
                    
262		if ( ! in_array( $pagenow, array( 'wp-login.php', 'wp-register.php' ) ) ) {
                    
263			/*
                    
                
Application.php https://gitlab.com/rsilveira1987/Expresso | PHP | 374 lines
                    
16 * @package    Zend_Application
                    
17 * @copyright  Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
                    
18 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
25 * @copyright  Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
                    
26 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
27 */
                    
60     *
                    
61     * Initialize application. Potentially initializes include_paths, PHP 
                    
62     * settings, and bootstrap class.
                    
72
                    
73        require_once 'Zend/Loader/Autoloader.php';
                    
74        $this->_autoloader = Zend_Loader_Autoloader::getInstance();
                    
127        if (!empty($options['phpsettings'])) {
                    
128            $this->setPhpSettings($options['phpsettings']);
                    
129        }
                    
                
db_datadict.php https://gitlab.com/albert925/lading-ach | PHP | 325 lines
                    
11 */
                    
12require_once './libraries/common.inc.php';
                    
13
                    
35if (strlen($table)) {
                    
36    $err_url = 'tbl_sql.php?' . PMA_generate_common_url($db, $table);
                    
37} else {
                    
178    <th width="70"><?php echo $strDefault; ?></th>
                    
179<?php /*    <th width="50"><?php echo $strExtra; ?></th>*/ ?>
                    
180    <?php
                    
265    <td<?php echo $type_nowrap; ?> xml:lang="en" dir="ltr"><?php echo $type; ?></td>
                    
266<?php /*    <td<?php echo $type_nowrap; ?>><?php echo $strAttribute; ?></td>*/ ?>
                    
267    <td><?php echo (($row['Null'] == 'NO') ? $strNo : $strYes); ?></td>
                    
268    <td nowrap="nowrap"><?php if (isset($row['Default'])) { echo $row['Default']; } ?></td>
                    
269<?php /*    <td<?php echo $type_nowrap; ?>><?php echo $row['Extra']; ?></td>*/ ?>
                    
270        <?php
                    
                
class.jetpack-landing-page.php https://gitlab.com/thisishayat/itv-2016 | PHP | 299 lines
                    
49		add_action( "admin_footer-$hook", apply_filters( 'jetpack_landing_page_js_templates_callback', array( $this, 'js_templates' ), $hook ) );
                    
50		/** This action is documented in class.jetpack.php */
                    
51		do_action( 'jetpack_admin_menu', $hook );
                    
111	/*
                    
112	 * List of recommended modules for the Jump Start paragraph text.
                    
113	 * Will only show up in the paragraph if they are not active.
                    
114	 *
                    
115	 * @return string | comma-separated recommended modules that are not active
                    
116	 */
                    
120		$module_name = array();
                    
121		foreach ( $jumpstart_recommended as $module => $val ) {
                    
122			if ( ! Jetpack::is_module_active( $val['module_slug'] ) ) {
                    
173			'jumpstart_list'    => $this->jumpstart_list_modules(),
                    
174			'recommended_list'  => $this->jumpstart_module_tag( 'Recommended' ),
                    
175		);
                    
                
cat_contractor_edit.php https://gitlab.com/alexprowars/bitrix | PHP | 339 lines
                    
62		"KPP" => $KPP,
                    
63		"COMPANY" => $COMPANY,
                    
64		"ADDRESS" => $ADDRESS,
                    
167
                    
168	$addUrl = $selfFolderUrl."cat_contractor_edit.php?lang=".LANGUAGE_ID;
                    
169	$addUrl = $adminSidePanelHelper->editUrlToPublicPage($addUrl);
                    
196			var type = el.value;
                    
197			var companyName = document.getElementById('company-name-tr');
                    
198			var companyInn = document.getElementById('company-inn-tr');
                    
198			var companyInn = document.getElementById('company-inn-tr');
                    
199			var companyKpp = document.getElementById('company-kpp-tr');
                    
200			var titleContractor = document.getElementById('title_span');
                    
274			<td width="60%">
                    
275				<input type="text" name="COMPANY" value="<?=$str_COMPANY?>" size="30" />
                    
276			</td>
                    
                
README.md https://gitlab.com/freebird/WebApp | Markdown | 344 lines
                    
55), array(
                    
56    new Yui\CssCompressorFilter('/path/to/yuicompressor.jar'),
                    
57));
                    
58
                    
59// this will echo CSS compiled by LESS and compressed by YUI
                    
60echo $css->dump();
                    
86 * `EmberPrecompileFilter`: precompiles Handlebars templates into Javascript for use in the Ember.js framework
                    
87 * `GoogleClosure\CompilerApiFilter`: compiles Javascript using the Google Closure Compiler API
                    
88 * `GoogleClosure\CompilerJarFilter`: compiles Javascript using the Google Closure Compiler JAR
                    
105 * `Sass\ScssFilter`: parses SCSS into CSS
                    
106 * `ScssphpFilter`: parses SCSS using scssphp
                    
107 * `SeparatorFilter`: inserts a separator between assets to prevent merge failures
                    
113 * `UglifyJsFilter`: minifies Javascript
                    
114 * `Yui\CssCompressorFilter`: compresses CSS using the YUI compressor
                    
115 * `Yui\JsCompressorFilter`: compresses Javascript using the YUI compressor
                    
                
Filesystem.php https://gitlab.com/techniconline/kmc | PHP | 426 lines
                    
1<?php namespace Illuminate\Filesystem;
                    
2
                    
4use FilesystemIterator;
                    
5use Symfony\Component\Finder\Finder;
                    
6use Illuminate\Support\Traits\Macroable;
                    
                
mysql.php https://gitlab.com/nacridan/Nacridan | PHP | 372 lines
                    
1<?php
                    
2
                    
10if (!function_exists('mysql_connect'))
                    
11	exit('This PHP environment doesn\'t have MySQL support built in. MySQL support is required if you want to use a MySQL database to run this forum. Consult the PHP documentation for further assistance.');
                    
12
                    
287
                    
288		// We remove the last two characters (a newline and a comma) and add on the ending
                    
289		$query = substr($query, 0, strlen($query) - 2)."\n".') ENGINE = '.(isset($schema['ENGINE']) ? $schema['ENGINE'] : 'MyISAM').' CHARACTER SET utf8';
                    
                
Curl.php https://gitlab.com/vincent.perdereau/picandparts | PHP | 576 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
                    
12 * obtain it through the world-wide-web, please send an email
                    
13 * to license@magento.com so we can send you a copy immediately.
                    
14 *
                    
18 * versions in the future. If you wish to customize Magento for your
                    
19 * needs please refer to http://www.magento.com for more information.
                    
20 *
                    
22 * @package     Mage_HTTP
                    
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)
                    
31 * @package     Mage_Connect
                    
32 * @author      Magento Core Team <core@magentocommerce.com>
                    
33 */
                    
                
configure-vhosts.html https://gitlab.com/haris4445/techarena | HTML | 251 lines
                    
6    <!-- Always force latest IE rendering engine or request Chrome Frame -->
                    
7    <meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible">
                    
8    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
                    
16    <link href="/dashboard/stylesheets/normalize.css" rel="stylesheet" type="text/css" /><link href="/dashboard/stylesheets/all.css" rel="stylesheet" type="text/css" />
                    
17    <link href="//cdnjs.cloudflare.com/ajax/libs/font-awesome/3.1.0/css/font-awesome.min.css" rel="stylesheet" type="text/css" />
                    
18
                    
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>
                    
105<td class="content">
                    
106You can install WordPress with just a few clicks using the <a href="https://bitnami.com/stack/xampp#wordpress">Bitnami WordPress Module for XAMPP</a>.
                    
107</td>
                    
224              <ul class="social">
                    
225  <li class="twitter"><a href="https://twitter.com/apachefriends">Follow us on Twitter</a></li>
                    
226  <li class="facebook"><a href="https://www.facebook.com/we.are.xampp">Like us on Facebook</a></li>
                    
                
Loader.php https://gitlab.com/jLKisni/furandpaw-frontend | PHP | 481 lines
                    
1<?php (defined('BASEPATH')) OR exit('No direct script access allowed');
                    
2
                    
6 * Adapted from the CodeIgniter Core Classes
                    
7 * @link	http://codeigniter.com
                    
8 *
                    
12 *
                    
13 * Install this file as application/third_party/MX/Loader.php
                    
14 *
                    
302
                    
303	protected function &_ci_get_component($component)
                    
304	{
                    
304	{
                    
305		return CI::$APP->$component;
                    
306	}
                    
352		{
                    
353			echo eval('?>'.preg_replace("/;*\s*\?>/", "; ?>", str_replace('<?=', '<?php echo ', file_get_contents($_ci_path))));
                    
354		}
                    
                
SharedTempStore.php https://gitlab.com/mohamed_hussein/prodt | PHP | 318 lines
                    
1<?php
                    
2
                    
8use Drupal\Core\Session\AccountProxyInterface;
                    
9use Symfony\Component\HttpFoundation\RequestStack;
                    
10
                    
22 * permanently elsewhere, e.g. autosave data, multistep forms, or in-progress
                    
23 * changes to complex configuration that are not ready to be saved.
                    
24 *
                    
60   *
                    
61   * @var \Symfony\Component\HttpFoundation\RequestStack
                    
62   */
                    
98   *   The owner key to store along with the data (e.g. a user or session ID).
                    
99   * @param \Symfony\Component\HttpFoundation\RequestStack $request_stack
                    
100   *   The request stack.
                    
                
wp-background-process.php https://gitlab.com/campus-academy/krowkaramel | PHP | 503 lines
                    
1<?php // @codingStandardsIgnoreLine.
                    
2/**
                    
324
                    
325		// Start next batch or complete process.
                    
326		if ( ! $this->is_queue_empty() ) {
                    
328		} else {
                    
329			$this->complete();
                    
330		}
                    
379	 * Ensures the batch never exceeds a sensible time limit.
                    
380	 * A timeout limit of 30s is common on shared hosting.
                    
381	 *
                    
395	/**
                    
396	 * Complete.
                    
397	 *
                    
398	 * Override if applicable, but ensure that the below actions are
                    
399	 * performed, or, call parent::complete().
                    
400	 */
                    
                
Mmc.c https://gitlab.com/envieidoc/Clover | C | 454 lines
                    
5
                    
6  This program and the accompanying materials
                    
7  are licensed and made available under the terms and conditions of the BSD License
                    
7  are licensed and made available under the terms and conditions of the BSD License
                    
8  which accompanies this distribution.  The full text of the license may be found at
                    
9  http://opensource.org/licenses/bsd-license.php
                    
419  //
                    
420  Status = EfiLibInstallDriverBindingComponentName2 (
                    
421           ImageHandle,
                    
424           ImageHandle,
                    
425           &gMmcComponentName,
                    
426           &gMmcComponentName2
                    
                
Mmc.h https://gitlab.com/envieidoc/Clover | C Header | 302 lines
                    
5  
                    
6  This program and the accompanying materials                          
                    
7  are licensed and made available under the terms and conditions of the BSD License         
                    
7  are licensed and made available under the terms and conditions of the BSD License         
                    
8  which accompanies this distribution.  The full text of the license may be found at        
                    
9  http://opensource.org/licenses/bsd-license.php                                            
                    
121  UINT32  READ_BL_LEN:        4; // Max. read data block length [83:80]
                    
122  UINT32  CCC:                12;// Card command classes [95:84]
                    
123
                    
161MmcGetDriverName (
                    
162  IN  EFI_COMPONENT_NAME_PROTOCOL  *This,
                    
163  IN  CHAR8                        *Language,
                    
176
                    
177extern EFI_COMPONENT_NAME_PROTOCOL  gMmcComponentName;
                    
178extern EFI_COMPONENT_NAME2_PROTOCOL gMmcComponentName2;
                    
                
data-upgrade-1.6.0.1-1.6.0.2.php https://gitlab.com/LisovyiEvhenii/ismextensions | PHP | 288 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
                    
12 * obtain it through the world-wide-web, please send an email
                    
13 * to license@magento.com so we can send you a copy immediately.
                    
14 *
                    
18 * versions in the future. If you wish to customize Magento for your
                    
19 * needs please refer to http://www.magento.com for more information.
                    
20 *
                    
22 * @package     Mage_Newsletter
                    
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)
                    
40                <td class="email-heading">
                    
41                    <h1>Welcome</h1>
                    
42                    <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit,
                    
                
u8g_dev_ssd1322_nhd31oled_bw.c https://gitlab.com/anthem/Marlin | C | 338 lines
                    
56  http://www.newhavendisplay.com/app_notes/OLED_25664.txt 
                    
57  http://www.newhavendisplay.com/forum/viewtopic.php?f=15&t=3758
                    
58*/
                    
70  U8G_ESC_ADR(0),               	/* instruction mode */
                    
71  0x0fd,					/* lock command */
                    
72  U8G_ESC_ADR(1),               	/* data mode */
                    
98  U8G_ESC_ADR(0),               	/* instruction mode */
                    
99  0x0a0, 					/* Set Re-Map / Dual COM Line Mode */
                    
100  U8G_ESC_ADR(1),               	/* data mode */
                    
220    case U8G_DEV_MSG_INIT:
                    
221      u8g_InitCom(u8g, dev, U8G_SPI_CLK_CYCLE_300NS);
                    
222      u8g_WriteEscSeqP(u8g, dev, u8g_dev_ssd1322_1bit_nhd_312_init_seq);
                    
312      u8g_SetAddress(u8g, dev, 0);          /* instruction mode */
                    
313      u8g_WriteByte(u8g, dev, 0x0c1);	/* 21 May 2013, fixed contrast command */
                    
314      u8g_SetAddress(u8g, dev, 1);          /* data mode */
                    
                
Think.class.php https://gitlab.com/fangfangchen/xianpipa | PHP | 344 lines
                    
13/**
                    
14 * ThinkPHP 引导类
                    
15 */
                    
47          // 读取应用模式
                    
48          $mode   =   include is_file(CONF_PATH.'core.php')?CONF_PATH.'core.php':MODE_PATH.APP_MODE.'.php';
                    
49          // 加载核心文件
                    
72          if(is_file(CONF_PATH.'alias.php'))
                    
73              self::addMap(include CONF_PATH.'alias.php');
                    
74
                    
80          // 加载应用行为定义
                    
81          if(is_file(CONF_PATH.'tags.php'))
                    
82              // 允许应用增加开发模式配置定义
                    
299            if(IS_CLI){
                    
300                exit(iconv('UTF-8','gbk',$e['message']).PHP_EOL.'FILE: '.$e['file'].'('.$e['line'].')'.PHP_EOL.$e['trace']);
                    
301            }
                    
                
componentbase.php https://gitlab.com/alexprowars/bitrix | PHP | 558 lines
                    
11
                    
12abstract class ComponentBase
                    
13	extends \CBitrixComponent
                    
98				$this->addError(new Error(Loc::getMessage('TRANSLATE_FILTER_ERROR_ACCESS_DENIED'), self::STATUS_DENIED));
                    
99				$this->includeComponentTemplate(self::TEMPLATE_ERROR);
                    
100			}
                    
190		{
                    
191			$params['LIST_PATH'] = '/bitrix/admin/translate_list.php';
                    
192		}
                    
198		{
                    
199			$params['SHOW_SOURCE_PATH'] = '/bitrix/admin/translate_show_php.php';
                    
200		}
                    
202		{
                    
203			$params['EDIT_SOURCE_PATH'] = '/bitrix/admin/translate_edit_php.php';
                    
204		}
                    
                
composite_log.php https://gitlab.com/alexprowars/bitrix | PHP | 461 lines
                    
14 */
                    
15require_once(dirname(__FILE__)."/../include/prolog_admin_before.php");
                    
16require_once($_SERVER["DOCUMENT_ROOT"].BX_ROOT."/modules/main/prolog.php");
                    
16require_once($_SERVER["DOCUMENT_ROOT"].BX_ROOT."/modules/main/prolog.php");
                    
17define("HELP_FILE", "settings/composite_pages.php");
                    
18
                    
221		$messageCell =
                    
222			'<a href="composite_diff.php?lang='.LANGUAGE_ID.'&log_id='.$record["ID"].'" target="_blank">'.
                    
223			Loc::getMessage("MAIN_COMPOSITE_LOG_VIEW_DIFF").'</a>';
                    
277	array(
                    
278		"TEXT" => Loc::getMessage("MAIN_COMPOSITE_LOG_CLEAR_ALL"),
                    
279		"LINK" => $APPLICATION->getCurPage()."?lang=".LANGUAGE_ID."&action=clear_all&".bitrix_sessid_get(),
                    
340			"#LINK_START#" =>
                    
341				'<a href="https://chrome.google.com/webstore/detail/bitrix-composite-notifier/'.
                    
342				'bhjmmlcdfdcdloebidhnlgoabjpbfjbk?hl=en" target="_blank">',
                    
                
SYLK.php https://gitlab.com/kimting254/wbms | PHP | 450 lines
                    
22 * @package    PHPExcel_Reader
                    
23 * @copyright  Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel)
                    
24 * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt	LGPL
                    
34	define('PHPEXCEL_ROOT', dirname(__FILE__) . '/../../');
                    
35	require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');
                    
36}
                    
42 * @package    PHPExcel_Reader
                    
43 * @copyright  Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel)
                    
44 */
                    
44 */
                    
45class PHPExcel_Reader_SYLK extends PHPExcel_Reader_Abstract implements PHPExcel_Reader_IReader
                    
46{
                    
213	/**
                    
214	 * Loads PHPExcel from file into PHPExcel instance
                    
215	 *
                    
                
RedirectPluginTest.php https://gitlab.com/techniconline/kmc | PHP | 277 lines
                    
1<?php
                    
2
                    
100
                    
101    public function testCanRedirectWithStrictRfcCompliance()
                    
102    {
                    
138
                    
139    public function testRedirect303WithGetWithStrictRfcCompliance()
                    
140    {
                    
221
                    
222    public function testRedirectWithStrictRfc386Compliance()
                    
223    {
                    
                
perfmon_panel.php https://gitlab.com/alexprowars/bitrix | PHP | 137 lines
                    
13$MESS["PERFMON_PANEL_BITRIX_VALUE"] = "Значение";
                    
14$MESS["PERFMON_PANEL_BITRIX_RECOMMENDATION"] = "Рекомендации";
                    
15$MESS["PERFMON_PANEL_DEV_NAME"] = "Разработка";
                    
38$MESS["PERFMON_PANEL_MARK_NO_RESULT"] = "Производительность не замерялась";
                    
39$MESS["PERFMON_PANEL_MARK_PHP_IS_GOOD"] = "оптимально";
                    
40$MESS["PERFMON_PANEL_MARK_PHP_IS_NO_GOOD"] = "не оптимально";
                    
57$MESS["PERFMON_PANEL_SESSION_ERR"] = "не измерено";
                    
58$MESS["PERFMON_PANEL_PHP"] = "Конфигурация PHP";
                    
59$MESS["PERFMON_PANEL_PHP_REC"] = "рекомендации";
                    
59$MESS["PERFMON_PANEL_PHP_REC"] = "рекомендации";
                    
60$MESS["PERFMON_PANEL_COMPONENT_CACHE"] = "Автокеширование компонентов";
                    
61$MESS["PERFMON_PANEL_COMPONENT_CACHE_ON"] = "Включено";
                    
61$MESS["PERFMON_PANEL_COMPONENT_CACHE_ON"] = "Включено";
                    
62$MESS["PERFMON_PANEL_COMPONENT_CACHE_OFF"] = "Выключено";
                    
63$MESS["PERFMON_PANEL_COMPONENT_CACHE_REC"] = "Включить";
                    
                
update.php https://gitlab.com/endomorphosis/OLAAaction | PHP | 476 lines
                    
82		// Get a reference to component's parameters
                    
83		$component =& JComponentHelper::getComponent( 'com_admintools' );
                    
84		$params = new JParameter($component->params);
                    
137
                    
138			require_once JPATH_COMPONENT_ADMINISTRATOR.DS.'helpers'.DS.'ini.php';
                    
139			$parsed=AdmintoolsHelperINI::parse_ini_file($inidata, false, true);
                    
159			{
                    
160				$component =& JComponentHelper::getComponent( 'com_admintools' );
                    
161				$params = new JParameter($component->params);
                    
214	{
                    
215		$component =& JComponentHelper::getComponent( 'com_admintools' );
                    
216		$params = new JParameter($component->params);
                    
226	{
                    
227		$component =& JComponentHelper::getComponent( 'com_admintools' );
                    
228		$params = new JParameter($component->params);
                    
                
OperationResponseParserTest.php https://gitlab.com/techniconline/kmc | PHP | 335 lines
                    
7use Guzzle\Service\Command\OperationResponseParser;
                    
8use Guzzle\Service\Command\OperationCommand;
                    
9use Guzzle\Service\Description\Operation;
                    
78        $operation->setResponseClass('Baz')->setResponseType('model');
                    
79        $op = new OperationCommand(array(), $operation);
                    
80        $op->setResponseParser($parser)->setClient(new Client());
                    
88        $operation = $this->getDescription()->getOperation('test');
                    
89        $op = new OperationCommand(array('command.response_processing' => 'native'), $operation);
                    
90        $op->setResponseParser($parser)->setClient(new Client());
                    
106        $operation = $desc->getOperation('test');
                    
107        $op = new OperationCommand(array(), $operation);
                    
108        $op->setResponseParser($parser)->setClient(new Client());
                    
303        });
                    
304        $command = $client->getCommand('test');
                    
305        $command->prepare()->setResponse(new Response(200), true);
                    
                
dashboard.js https://gitlab.com/nzqadri/bejeep | JavaScript | 442 lines
                    
29                Object.keys(settings.reqParams).forEach(function (p) {
                    
30                    qs += encodeURIComponent(p) + "=" + encodeURIComponent(settings.reqParams[p]) + "&";
                    
31                });
                    
107    var ajaxSettings = {
                    
108        URL: "/bejeep/admin/ajax/orders-get.php",
                    
109        method: "POST",
                    
182    var ajaxSettings = {
                    
183        URL: "/bejeep/admin/ajax/order-get.php",
                    
184        method: "POST",
                    
236    var ajaxSettings = {
                    
237        URL: "/bejeep/admin/ajax/order-update.php",
                    
238        method: "POST",
                    
268        pwHTML,
                    
269        statusOpts = ['Reviewing', 'Cancelled', 'Shipped', 'In Customs', 'Out for Delivery', 'Returned', 'Complete'],
                    
270        ul = '<ul>',
                    
                
class.php https://gitlab.com/neuser/bitrix-core | PHP | 658 lines
                    
15require_once("tools/bsmpackage.php");
                    
16require_once("tools/modulechecker.php");
                    
17require_once("tools/bitrixvmchecker.php");
                    
32
                    
33	const ERROR_TYPE_COMPONENT = "COMPONENT";
                    
34	const ERROR_TYPE_WIZARD = "WIZARD";
                    
88		return [
                    
89			"Bitrix\Sale\BsmSiteMaster\Steps\WelcomeStep" => [
                    
90				"SORT" => 100
                    
147	 */
                    
148	public function executeComponent()
                    
149	{
                    
646		{
                    
647			$this->addError(Loc::getMessage("SALE_BSM_WIZARD_ERROR_SESSION_EXPIRED"), self::ERROR_TYPE_COMPONENT);
                    
648		}
                    
                
orderdocument.php https://gitlab.com/neuser/bitrix-core | PHP | 621 lines
                    
1<?php
                    
2namespace Bitrix\Sale\Exchange\OneC;
                    
75                ),
                    
76                'COMMENT' => array(
                    
77                    'TYPE' => 'text'
                    
                
session.php https://github.com/mathieu/fusionforge.git | PHP | 552 lines
                    
1<?php
                    
2/**
                    
26
                    
27require_once $gfcommon.'include/account.php';
                    
28require_once $gfcommon.'include/escapingUtils.php';
                    
214
                    
215		// if allowpending (for verify.php) then allow
                    
216		$userstatus=$usr['status'];
                    
490
                    
491//TODO - this should be generalized and used for pre.php, squal_pre.php, 
                    
492//SOAP, forum_gateway.php, tracker_gateway.php, etc to 
                    
547// Local Variables:
                    
548// mode: php
                    
549// c-file-style: "bsd"
                    
                
ki.php https://gitlab.com/muthuvel.ns/imp-file | PHP | 457 lines
                    
1<?php
                    
2/**
                    
4 *
                    
5 * This file is automatically generated by yiic cldr command.
                    
6 *
                    
9 *
                    
10 * Copyright © 2008-2011 Yii Software LLC (http://www.yiiframework.com/license/)
                    
11 */
                    
                
resources_zh_CN.properties https://bitbucket.org/LANJr4D/sc-android.git | Properties File | 304 lines
                    
1# SIP Communicator, the OpenSource Java VoIP and Instant Messaging client.
                    
2#
                    
181msgDeliveryOfflineNotSupported=您正在使用的协议不支持离线消息. 请尝试其他协议或者等待该用户上线.
                    
182msgDeliveryInternalError=内部出错. 可能是程序自身错误. 请发送您的错误报告到: http://www.sip-communicator.org/index.php/Development/BugsAndIssues
                    
183msgNotDelivered=网络错误.
                    
195no=否
                    
196noAccountFound=使用 SIP-Communicator 之前必须创建至少一个账户. 下面的向导将帮助您创建一个新账户.
                    
197noAvailableRooms=该服务器上的聊天室清单暂时不可获得.
                    
198noMessage=没有消息
                    
199noMultiChatAccountAvailable=支持群聊. 进入 sip-communicator.org 查找更多支持群聊的协议.
                    
200nonEmptyChatWindowClose=消息还没有发送出去, 是否一定退出?
                    
                
config.values.php https://gitlab.com/luyxtran264/myproject | PHP | 277 lines
                    
1<?php
                    
2/* vim: set expandtab sw=4 ts=4 sts=4: */
                    
6 *
                    
7 * @package PhpMyAdmin
                    
8 */
                    
9
                    
10if (!defined('PHPMYADMIN')) {
                    
11    exit;
                    
101$cfg_db['DefaultTabServer'] = array(
                    
102    // the welcome page (recommended for multiuser setups)
                    
103    'welcome' => __('Welcome'),
                    
146);
                    
147$cfg_db['Import']['sql_compatibility']
                    
148    = $cfg_db['Export']['sql_compatibility'] = array(
                    
200$cfg_db['Export']['sql_insert_syntax'] = array(
                    
201    'complete' => __('complete inserts'),
                    
202    'extended' => __('extended inserts'),
                    
                
ParameterTest.php https://bitbucket.org/alessandro-aglietti/itis-leonardo-da-vinci.git | PHP | 416 lines
                    
1<?php
                    
2
                    
121     * @expectedException InvalidArgumentException
                    
122     * @expectedExceptionMessage A [method] value must be specified for each complex filter
                    
123     */
                    
123     */
                    
124    public function testValidatesComplexFilters()
                    
125    {
                    
168    {
                    
169        $command = $this->getServiceBuilder()->get('mock')->getCommand('mock_command')->getOperation();
                    
170        $param = new Parameter(array(
                    
170        $param = new Parameter(array(
                    
171            'parent'     => $command,
                    
172            'name'       => 'foo',
                    
192
                    
193        $this->assertSame($command, $param->getParent());
                    
194        $this->assertNotEmpty($param->getProperties());
                    
                
OracleSchemaManager.php https://gitlab.com/adrianjose605/SaintW | PHP | 322 lines
                    
1<?php
                    
2/*
                    
67     * @license New BSD License
                    
68     * @link http://ezcomponents.org/docs/api/trunk/DatabaseSchema/ezcDbSchemaPgsqlReader.html
                    
69     */
                    
130        $type = $this->extractDoctrineTypeFromComment($tableColumn['comments'], $type);
                    
131        $tableColumn['comments'] = $this->removeDoctrineTypeFromComment($tableColumn['comments'], $type);
                    
132
                    
201            'scale'      => $scale,
                    
202            'comment'       => (isset($tableColumn['comments'])) ? $tableColumn['comments'] : null,
                    
203            'platformDetails' => array(),
                    
                
Abstract.php https://bitbucket.org/ngmares/moodle.git | PHP | 456 lines
                    
1<?php
                    
2/**
                    
9 * It is also available through the world-wide-web at this URL:
                    
10 * http://framework.zend.com/license/new-bsd
                    
11 * If you did not receive a copy of the license and are unable to
                    
12 * obtain it through the world-wide-web, please send an email
                    
13 * to license@zend.com so we can send you a copy immediately.
                    
14 *
                    
16 * @package    Zend_Validate
                    
17 * @copyright  Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
                    
18 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
24 */
                    
25require_once 'Zend/Validate/Interface.php';
                    
26
                    
29 * @package    Zend_Validate
                    
30 * @copyright  Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
                    
31 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
                
released_patient.php https://gitlab.com/sharadmohajan/xyz | PHP | 288 lines
                    
95        <div class="navbar-header">
                    
96            <a class="navbar-brand" href="welcome.php"><img src="../Resources/welcome/img/logo.PNG"width="100" height="30"></a>
                    
97        </div>
                    
208                    <td><?php echo $info->room_id ?></td>
                    
209                    <td><a href="release_patient_view.php?patient_id=<?php echo $info->patient_id ?>" class="btn btn-info" role="button">View</a>
                    
210                        <a href="released_delete.php?patient_id=<?php echo $info->patient_id ?>" class="btn btn-danger" role="button">Delete</a>
                    
210                        <a href="released_delete.php?patient_id=<?php echo $info->patient_id ?>" class="btn btn-danger" role="button">Delete</a>
                    
211                        <a href="prescribe.php?patient_id=<?php echo $info->patient_id ?>" class="btn btn-success" role="button">Prescription</a>
                    
212                    </td>
                    
257        var availableTags = [
                    
258            <?php echo '"'.$commaSeparated.'"' ?>
                    
259        ];
                    
267        var availableTags = [
                    
268            <?php echo '"'.$commaSeparatedString.'"' ?>
                    
269        ];
                    
                
index.py https://gitlab.com/xiaok/SaltAdmin | Python | 237 lines
                    
54    #print 'HTTP_REFERER: '
                    
55    #print web.ctx.env.get('HTTP_REFERER', 'http://google.com')
                    
56    #LoginHost = web.ctx.ip #这两种方法都能获取到客户端IP
                    
67        # 这里要从公网去解析
                    
68        url = "http://int.dpool.sina.com.cn/iplookup/iplookup.php?format=json&ip=" + LoginHost
                    
69        response = urllib2.urlopen(url)
                    
                
AbstractContainer.php https://gitlab.com/imamul68e/137619_PHP31 | PHP | 282 lines
                    
2/**
                    
3 * This file is part of PHPWord - A pure PHP library for reading and writing
                    
4 * word processing documents.
                    
10 * file that was distributed with this source code. For the full list of
                    
11 * contributors, visit https://github.com/PHPOffice/PHPWord/contributors.
                    
12 *
                    
12 *
                    
13 * @link        https://github.com/PHPOffice/PHPWord
                    
14 * @copyright   2010-2016 PHPWord contributors
                    
17
                    
18namespace PhpOffice\PhpWord\Element;
                    
19
                    
76     * @param mixed $args
                    
77     * @return \PhpOffice\PhpWord\Element\AbstractElement
                    
78     */
                    
                
SqliteMetadata.php https://gitlab.com/jalon/doadoronline | PHP | 392 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * Zend Framework (http://framework.zend.com/)
                    
4 *
                    
4 *
                    
5 * @link      http://github.com/zendframework/zf2 for the canonical source repository
                    
6 * @copyright Copyright (c) 2005-2013 Zend Technologies USA Inc. (http://www.zend.com)
                    
6 * @copyright Copyright (c) 2005-2013 Zend Technologies USA Inc. (http://www.zend.com)
                    
7 * @license   http://framework.zend.com/license/new-bsd New BSD License
                    
8 */
                    
                
theme-install.php https://gitlab.com/mostafame/team_website | PHP | 329 lines
                    
1<?php
                    
2/**
                    
9/** WordPress Administration Bootstrap */
                    
10require_once( dirname( __FILE__ ) . '/admin.php' );
                    
11require( ABSPATH . 'wp-admin/includes/theme-install.php' );
                    
18if ( is_multisite() && ! is_network_admin() ) {
                    
19	wp_redirect( network_admin_url( 'theme-install.php' ) );
                    
20	exit();
                    
23$title = __( 'Add Themes' );
                    
24$parent_file = 'themes.php';
                    
25
                    
26if ( ! is_network_admin() ) {
                    
27	$submenu_file = 'themes.php';
                    
28}
                    
41		'canInstall'    => current_user_can( 'install_themes' ),
                    
42		'installURI'    => current_user_can( 'install_themes' ) ? self_admin_url( 'theme-install.php' ) : null,
                    
43		'adminUrl'      => parse_url( self_admin_url(), PHP_URL_PATH )
                    
                
class-gf-field-checkbox.php https://gitlab.com/screamud/gravity-forms-project | PHP | 380 lines
                    
1<?php
                    
2
                    
53	public function get_value_default() {
                    
54		return $this->is_form_editor() ? $this->defaultValue : GFCommon::replace_variables_prepopulate( $this->defaultValue );
                    
55	}
                    
92	public function get_value_entry_list( $value, $entry, $field_id, $columns, $form ) {
                    
93		//if this is the main checkbox field (not an input), display a comma separated list of all inputs
                    
94		if ( absint( $field_id ) == $field_id ) {
                    
98				if ( is_numeric( $input_id ) && absint( $input_id ) == $field_id ) {
                    
99					$items[] = GFCommon::selection_display( rgar( $entry, $input_id ), null, $entry['currency'], false );
                    
100				}
                    
101			}
                    
102			$value = GFCommon::implode_non_blank( ', ', $items );
                    
103
                    
105			if ( $this->type == 'post_category' ) {
                    
106				$value = GFCommon::prepare_post_category_value( $value, $this, 'entry_list' );
                    
107			}
                    
                
SelectableAssociationTrait.php https://gitlab.com/alexandresgv/siteentec | PHP | 341 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
                    
4 * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
                    
10 * @copyright     Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
                    
11 * @link          http://cakephp.org CakePHP(tm) Project
                    
12 * @since         3.0.0
                    
12 * @since         3.0.0
                    
13 * @license       http://www.opensource.org/licenses/mit-license.php MIT License
                    
14 */
                    
17use Cake\Database\Expression\IdentifierExpression;
                    
18use Cake\Database\Expression\TupleComparison;
                    
19use InvalidArgumentException;
                    
179    /**
                    
180     * Returns a TupleComparison object that can be used for matching all the fields
                    
181     * from $keys with the tuple values in $filter using the provided operator.
                    
                
class-config.php https://gitlab.com/iamgraeme/royalmile | PHP | 452 lines
                    
1<?php
                    
2/**
                    
40			WPSEO_Options::reset();
                    
41			wp_redirect( admin_url( 'admin.php?page=' . WPSEO_Admin::PAGE_IDENTIFIER ) );
                    
42		}
                    
115		return array(
                    
116			/* translators: %s: '%%term_title%%' variable used in titles and meta's template that's not compatible with the given template */
                    
117			'variable_warning' => sprintf( __( 'Warning: the variable %s cannot be used in this template.', 'wordpress-seo' ), '<code>%s</code>' ) . ' ' . __( 'See the help tab for more info.', 'wordpress-seo' ),
                    
395		?>
                    
396			<div id="<?php echo esc_attr( $id ); ?>" class="yoastbox">
                    
397				<h1><?php echo $title; ?></h1>
                    
397				<h1><?php echo $title; ?></h1>
                    
398				<?php echo $content; ?>
                    
399			</div>
                    
399			</div>
                    
400		<?php
                    
401	}
                    
                
Parser.php https://bitbucket.org/dbaltas/zend-framework-1.x-on-git.git | PHP | 407 lines
                    
1<?php
                    
2
                    
2
                    
3require_once('Scope.php');
                    
4require_once('Symbol.php');
                    
4require_once('Symbol.php');
                    
5require_once('Destructable.php');
                    
6
                    
143
                    
144  private function comments_from_pos($i) {
                    
145    $last = NULL;
                    
145    $last = NULL;
                    
146    $comments = array();
                    
147    for (; $i < $this->token_length; $i++) {
                    
148      $token = $this->tokens[$i];
                    
149      if ($token['type'] == 'comment') {
                    
150        $comments[] = $token['value'];
                    
                
OnlineTest.php https://bitbucket.org/dbaltas/zend-framework-1.x-on-git.git | PHP | 289 lines
                    
1<?php
                    
2/**
                    
9 * It is also available through the world-wide-web at this URL:
                    
10 * http://framework.zend.com/license/new-bsd
                    
11 * If you did not receive a copy of the license and are unable to
                    
12 * obtain it through the world-wide-web, please send an email
                    
13 * to license@zend.com so we can send you a copy immediately.
                    
14 *
                    
17 * @subpackage UnitTests
                    
18 * @copyright  Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: OnlineTest.php 24593 2012-01-05 20:35:02Z matthew $
                    
21 */
                    
25 */
                    
26require_once dirname(dirname(__FILE__)) . DIRECTORY_SEPARATOR . 'OnlineTestCase.php';
                    
27/**
                    
                
style.css https://bitbucket.org/zachisit/zachis.it-m.git | CSS | 374 lines
                    
2Theme Name: Clean Copy
                    
3Author URI: http://corymiller.com
                    
4Version: 1
                    
7The CSS, XHTML and design is released under GPL: 
                    
8http://www.opensource.org/licenses/gpl-license.php
                    
9Header photo by Ville Miettinen, used with permission
                    
                
tbl_structure.php https://gitlab.com/ctheilman92/Aging-In-Place | PHP | 469 lines
                    
12 */
                    
13require_once 'libraries/common.inc.php';
                    
14require_once 'libraries/mysql_charsets.lib.php';
                    
91    if (isset($_REQUEST['selected_fld'])) {
                    
92        $err_url = 'tbl_structure.php?' . PMA_generate_common_url($db, $table);
                    
93        if ($submit_mult == 'browse') {
                    
137require_once 'libraries/tbl_common.inc.php';
                    
138$url_query .= '&amp;goto=tbl_structure.php&amp;back=tbl_structure.php';
                    
139$url_params['goto'] = 'tbl_structure.php';
                    
164 */
                    
165require_once 'libraries/tbl_info.inc.php';
                    
166
                    
267    include_once 'libraries/transformations.lib.php';
                    
268    $comments_map = PMA_getComments($db, $table);
                    
269    if ($cfgRelation['mimework'] && $cfg['BrowseMIME']) {
                    
                
Pgsql.php https://gitlab.com/luisrepo/ClienteWS | PHP | 336 lines
                    
1<?php
                    
2/**
                    
9 * It is also available through the world-wide-web at this URL:
                    
10 * http://framework.zend.com/license/new-bsd
                    
11 * If you did not receive a copy of the license and are unable to
                    
12 * obtain it through the world-wide-web, please send an email
                    
13 * to license@zend.com so we can send you a copy immediately.
                    
14 *
                    
17 * @subpackage Adapter
                    
18 * @copyright  Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: Pgsql.php 23775 2011-03-01 17:25:24Z ralph $
                    
21 */
                    
26 */
                    
27require_once 'Zend/Db/Adapter/Pdo/Abstract.php';
                    
28
                    
                
SYLK.php https://gitlab.com/alexandresgv/siteentec | PHP | 450 lines
                    
22 * @package    PHPExcel_Reader
                    
23 * @copyright  Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel)
                    
24 * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt	LGPL
                    
34	define('PHPEXCEL_ROOT', dirname(__FILE__) . '/../../');
                    
35	require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');
                    
36}
                    
42 * @package    PHPExcel_Reader
                    
43 * @copyright  Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel)
                    
44 */
                    
44 */
                    
45class PHPExcel_Reader_SYLK extends PHPExcel_Reader_Abstract implements PHPExcel_Reader_IReader
                    
46{
                    
213	/**
                    
214	 * Loads PHPExcel from file into PHPExcel instance
                    
215	 *
                    
                
ki.php https://gitlab.com/RECITEC/yii | PHP | 457 lines
                    
1<?php
                    
2/**
                    
4 *
                    
5 * This file is automatically generated by yiic cldr command.
                    
6 *
                    
9 *
                    
10 * @copyright 2008-2013 Yii Software LLC (http://www.yiiframework.com/license/)
                    
11 */
                    
                
CAutoComplete.php https://gitlab.com/RECITEC/yii | PHP | 294 lines
                    
11/**
                    
12 * CAutoComplete generates an auto-complete text field.
                    
13 *
                    
13 *
                    
14 * CAutoComplete is based on the {@link http://plugins.jquery.com/project/autocompletex jQuery Autocomplete}.
                    
15 *
                    
16 * This class is deprecated since Yii 1.1.3. Consider using CJuiAutoComplete.
                    
17 * There is {@link http://www.learningjquery.com/2010/06/autocomplete-migration-guide a good migration guide from the author of both JavaScript solutions}.
                    
18 *
                    
243		}
                    
244		$cs->registerScript('Yii.CAutoComplete#'.$id,"jQuery(\"#{$id}\").legacyautocomplete($data,{$options}){$this->methodChain};");
                    
245
                    
257		if($url===null)
                    
258			$url=$cs->getCoreScriptUrl().'/autocomplete/jquery.autocomplete.css';
                    
259		$cs->registerCssFile($url);
                    
                
CookieJar.php https://gitlab.com/tybantarnusa/pmb-2016 | PHP | 385 lines
                    
1<?php
                    
2
                    
21 *
                    
22 * @file     CAS/CookieJar.php
                    
23 * @category Authentication
                    
23 * @category Authentication
                    
24 * @package  PhpCAS
                    
25 * @author   Adam Franco <afranco@middlebury.edu>
                    
26 * @license  http://www.apache.org/licenses/LICENSE-2.0  Apache License 2.0
                    
27 * @link     https://wiki.jasig.org/display/CASC/phpCAS
                    
28 */
                    
87
                    
88            phpCAS::trace($cookie['name'].' -> '.$cookie['value']);
                    
89        }
                    
127     * Parse Cookies without PECL
                    
128     * From the comments in http://php.net/manual/en/function.http-parse-cookie.php
                    
129     *
                    
                
Cloud.php https://gitlab.com/vincent.perdereau/picandparts | PHP | 410 lines
                    
1<?php
                    
2/**
                    
9 * It is also available through the world-wide-web at this URL:
                    
10 * http://framework.zend.com/license/new-bsd
                    
11 * If you did not receive a copy of the license and are unable to
                    
12 * obtain it through the world-wide-web, please send an email
                    
13 * to license@zend.com so we can send you a copy immediately.
                    
14 *
                    
17 * @subpackage Cloud
                    
18 * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
25 */
                    
26#require_once 'Zend/Tag/Item.php';
                    
27
                    
30 * @package    Zend_Tag
                    
31 * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
                    
32 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
                
ogniter_default_lang.php https://bitbucket.org/NeoArc/ogniter-language.git | PHP | 355 lines
                    
166//Compare statistics
                    
167$lang['og_comparison'] = 'Comparar';
                    
168$lang['compare_statistics'] = 'Comparar a evolução de jogadores e alianças';
                    
238
                    
239$lang["combustion_drive_tech"] = 'Motor de Combustão';
                    
240$lang["impulse_drive_tech"] = 'Motor de Impulsão';
                    
269$lang['title_server_comparison'] = 'Ogniter. Comparar jogadores ou alianças. %server% (%domain%)';
                    
270$lang['description_server_comparison'] = 'Ogame, Comparando jogadores e alianças, %server% - %domain%';
                    
271
                    
335
                    
336$lang['commander'] = 'Commander';
                    
337$lang['engineer'] = 'Engineer';
                    
354$lang['faq_support'] = 'FAQ &amp; Support';
                    
355$lang['community_tools'] = 'Community tools';
                    
356
                    
                
waterfall.html https://gitlab.com/mmkiff/clientportalcodeathon | HTML | 221 lines
                    
13    <!--[if lt IE 9]><script language="javascript" type="text/javascript" src="../excanvas.js"></script><![endif]-->
                    
14    <script class="include" type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
                    
15    
                    
20        <div class="nav">
                    
21            <a class="nav" href="../../../index.php"><span>&gt;</span>Home</a>
                    
22            <a class="nav"  href="../../../docs/"><span>&gt;</span>Docs</a>
                    
23            <a class="nav"  href="../../download/"><span>&gt;</span>Download</a>
                    
24            <a class="nav" href="../../../info.php"><span>&gt;</span>Info</a>
                    
25            <a class="nav"  href="../../../donate.php"><span>&gt;</span>Donate</a>
                    
                
model.php https://gitlab.com/edgarze188/sunrise | PHP | 280 lines
                    
46      $data['session_data'] = $session_data;
                    
47      $data['path_components'] = $this->get_path_components();
                    
48      $data['dir'] = (isset($_REQUEST['dir']) ? esc_html($_REQUEST['dir']) : '');
                    
85      $components = array();
                    
86      $component = array();
                    
87      global $WD_BWG_UPLOAD_DIR;
                    
87      global $WD_BWG_UPLOAD_DIR;
                    
88      $component['name'] = $WD_BWG_UPLOAD_DIR;
                    
89      $component['path'] = $path;
                    
89      $component['path'] = $path;
                    
90      $components[] = $component;
                    
91      for ($i = 0; $i < count($dir_names); $i++) {
                    
99        $component['path'] = $path;
                    
100        $components[] = $component;
                    
101      }
                    
                
Statement.php https://github.com/cosmocommerce/magento-mirror.git | PHP | 488 lines
                    
1<?php
                    
2/**
                    
9 * It is also available through the world-wide-web at this URL:
                    
10 * http://framework.zend.com/license/new-bsd
                    
11 * If you did not receive a copy of the license and are unable to
                    
12 * obtain it through the world-wide-web, please send an email
                    
13 * to license@zend.com so we can send you a copy immediately.
                    
14 *
                    
17 * @subpackage Statement
                    
18 * @copyright  Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: Statement.php 24790 2012-05-10 12:28:51Z mcleod@spaceweb.nl $
                    
21 */
                    
25 */
                    
26#require_once 'Zend/Db.php';
                    
27
                    
                
wp_loaded.php https://gitlab.com/najomie/fit-hippie | PHP | 281 lines
                    
1<?php
                    
2
                    
37					'status'     => 200,
                    
38					'message'    => __('Cleanup completed.', 'wp_all_import_plugin')
                    
39				));				
                    
226										'status'     => 200,
                    
227										'message'    => sprintf(__('Import #%s complete', 'wp_all_import_plugin'), $import->id)
                    
228									));
                    
228									));
                    
229									//$logger and call_user_func($logger, sprintf(__('Import #%s complete', 'wp_all_import_plugin'), $import->id));	
                    
230
                    
                
index.php https://gitlab.com/Rumpa/LabExam8_AtomicProject_UmmeBatul_136509_b36 | PHP | 253 lines
                    
48
                    
49    <?php include_once('../../../sidebar_menu.php'); ?>
                    
50
                    
120                                                        <p data-placement="top" data-toggle="tooltip" title="View">
                    
121                                                            <a href="view.php?id=<?php echo $oneData->id;?>"><button class="btn btn-info btn-xs" data-title="View" data-toggle="modal"><span
                    
122                                                                        class="glyphicon glyphicon-info-sign"></span></button></a>
                    
127                                                        <p data-placement="top" data-toggle="tooltip" title="Edit">
                    
128                                                            <a href="edit.php?id=<?php echo $oneData->id;?>"><button class="btn btn-primary btn-xs" data-title="Edit" data-toggle="modal"><span
                    
129                                                                        class="glyphicon glyphicon-pencil"></span></button></a>
                    
134                                                        <p data-placement="top" data-toggle="tooltip" title="Trash">
                    
135                                                            <a href="trashed.php?id=<?php echo $oneData->id;?>"><button class="btn btn-success btn-xs" data-title="Trash" data-toggle="modal"><span
                    
136                                                                        class="glyphicon glyphicon-trash"></span></button></a>
                    
141                                                        <p data-placement="top" data-toggle="tooltip" title="Delete">
                    
142                                                            <a href="trash.php?id=<?php echo $oneData->id;?>"><button class="btn btn-danger btn-xs"  data-title="Edit" data-toggle="modal"><span
                    
143                                                                        class="glyphicon glyphicon-remove"></span></button></a>
                    
                
wl_cfgp2p.h https://gitlab.com/SerenityS/slteskt_kernel | C Header | 429 lines
                    
3 *
                    
4 * Copyright (C) 1999-2015, Broadcom Corporation
                    
5 * 
                    
5 * 
                    
6 *      Unless you and Broadcom execute a separate written software license
                    
7 * agreement governing use of this software, this software is licensed to you
                    
8 * under the terms of the GNU General Public License version 2 (the "GPL"),
                    
9 * available at http://www.broadcom.com/licenses/GPLv2.php, with the
                    
10 * following added to such license:
                    
19 * 
                    
20 *      Notwithstanding the above, under no circumstances may you combine this
                    
21 * software in any way with any other Broadcom software provided under a license
                    
21 * software in any way with any other Broadcom software provided under a license
                    
22 * other than the GPL, without Broadcom's express prior written consent.
                    
23 *
                    
                
Pgsql.php https://bitbucket.org/ksekar/campus.git | PHP | 336 lines
                    
1<?php
                    
2/**
                    
9 * It is also available through the world-wide-web at this URL:
                    
10 * http://framework.zend.com/license/new-bsd
                    
11 * If you did not receive a copy of the license and are unable to
                    
12 * obtain it through the world-wide-web, please send an email
                    
13 * to license@zend.com so we can send you a copy immediately.
                    
14 *
                    
17 * @subpackage Adapter
                    
18 * @copyright  Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: Pgsql.php 24594 2012-01-05 21:27:01Z matthew $
                    
21 */
                    
26 */
                    
27require_once 'Zend/Db/Adapter/Pdo/Abstract.php';
                    
28
                    
                
installv2.sh https://bitbucket.org/jorgenio/boca.git | Shell | 320 lines
                    
45if [ "$1" != "alreadydone" ]; then
                    
46  echo "It is recommended that you run the commands"
                    
47  echo "  apt-get update; apt-get upgrade"
                    
63gconftool -s --type bool /apps/update-notifier/auto_launch false
                    
64gsettings set com.ubuntu.update-notifier no-show-notifications true
                    
65sed -i 's/X-GNOME-Autostart-Delay=60/X-GNOME-Autostart-enabled=false/' /etc/xdg/autostart/update-notifier.desktop
                    
69echo "============================================================="
                    
70apt-get -y purge libreoffice-common libreoffice-base-core bluez thunderbird \
                    
71  ubuntuone-client python-ubuntuone-client \
                    
79echo "====================================================================="
                    
80echo "============== CHECKING FOR canonical.com APT SERVER  ==============="
                    
81echo "====================================================================="
                    
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 \
                    
                
pskc-schema.xsd https://gitlab.com/oath-toolkit/oath-toolkit | XML Schema | 307 lines
                    
92) Make AlgorithmParameter a sequence not a choice.
                    
10   <http://www.rfc-editor.org/errata_search.php?eid=2759>
                    
11
                    
27     <xs:import namespace="http://www.w3.org/XML/1998/namespace"/>
                    
28     <xs:complexType name="KeyContainerType">
                    
29          <xs:sequence>
                    
44               type="xs:ID" use="optional"/>
                    
45     </xs:complexType>
                    
46     <xs:simpleType name="VersionType" final="restriction">
                    
50     </xs:simpleType>
                    
51     <xs:complexType name="KeyType">
                    
52          <xs:sequence>
                    
77               type="pskc:KeyAlgorithmType" use="optional"/>
                    
78     </xs:complexType>
                    
79     <xs:complexType name="PolicyType">
                    
                
cdat_domain.py https://gitlab.com/rbax81/VisTrails | Python | 289 lines
                    
12## Licensing requirements will be met:
                    
13## http://www.opensource.org/licenses/gpl-license.php
                    
14##
                    
15## If you are unsure which license is appropriate for your use (for
                    
16## instance, you are interested in developing a commercial derivative
                    
17## of VisTrails), please contact us at contact@vistrails.org.
                    
128
                    
129    def write_module_definition(self, lines, ident='', compute_method=None):
                    
130        def write_compute_method(self,lines, ident):
                    
130        def write_compute_method(self,lines, ident):
                    
131            lines.append(ident + "def compute(self):\n")
                    
132            lines.append(ident + "    if self.has_input('canvas'):\n")
                    
176        lines.append(ident + '    """\n')
                    
177        if not compute_method:
                    
178            write_compute_method(self,lines,ident="    ")
                    
                
config.php https://bitbucket.org/apueee/clientmanager.git | PHP | 347 lines
                    
102| http://codeigniter.com/user_guide/general/core_classes.html
                    
103| http://codeigniter.com/user_guide/general/creating_libraries.html
                    
104|
                    
143| invoke your controllers and its functions:
                    
144| example.com/marketnichelist.php?c=controller&m=function
                    
145|
                    
255| 'cookie_prefix' = Set a prefix if you need to avoid collisions
                    
256| 'cookie_domain' = Set to .your-domain.com for site-wide cookies
                    
257| 'cookie_path'   =  Typically will be a forward slash
                    
280| checked on a submitted form. If you are accepting user data, it is strongly
                    
281| recommended CSRF protection be enabled.
                    
282*/
                    
287|--------------------------------------------------------------------------
                    
288| Output Compression
                    
289|--------------------------------------------------------------------------
                    
                
sqlite_driver.php https://gitlab.com/venenux/codeigniterpower | PHP | 660 lines
                    
1<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');
                    
2/**
                    
4 *
                    
5 * An open source application development framework for PHP 5.1.6 or newer
                    
6 *
                    
9 * @copyright	Copyright (c) 2008 - 2011, EllisLab, Inc.
                    
10 * @license		http://codeigniter.com/user_guide/license.html
                    
11 * @link		http://codeigniter.com
                    
30 * @author		ExpressionEngine Dev Team
                    
31 * @link		http://codeigniter.com/user_guide/database/
                    
32 */
                    
203
                    
204		// When transactions are nested we only begin/commit/rollback the outermost ones
                    
205		if ($this->_trans_depth > 0)
                    
221	/**
                    
222	 * Commit Transaction
                    
223	 *
                    
                
authentication_documentation.html https://bitbucket.org/webpolis/liiv.git | HTML | 355 lines
                    
209    function testSessionCookieIsCorrectPattern() {
                    
210        $this-&gt;get('http://www.my-site.com/login.php');
                    
211        $this-&gt;assertCookie('SID', <strong>new PatternExpectation('/[a-f0-9]{32}/i')</strong>);
                    
223    function testSessionCookieSameAfterLogIn() {
                    
224        $this-&gt;get('http://www.my-site.com/login.php');<strong>
                    
225        $session = $this-&gt;getCookie('SID');
                    
262    function testLoseAuthenticationAfterBrowserClose() {
                    
263        $this-&gt;get('http://www.my-site.com/login.php');
                    
264        $this-&gt;setField('u', 'Me');
                    
301        $this-&gt;restart();
                    
302        $this-&gt;get('http://www.my-site.com/restricted.php');
                    
303        $this-&gt;assertText('Access denied');
                    
318<li>
                    
319            SimpleTest download page on <a href="http://www.lastcraft.com/simple_test.php">LastCraft</a>.
                    
320        </li>
                    
                
SqlServerGrammar.php https://gitlab.com/vincetang/mtweb | PHP | 551 lines
                    
125    /**
                    
126     * Compile a drop table command.
                    
127     *
                    
207    /**
                    
208     * Compile a drop foreign key command.
                    
209     *
                    
213     */
                    
214    public function compileDropForeign(Blueprint $blueprint, Fluent $command)
                    
215    {
                    
221    /**
                    
222     * Compile a rename table command.
                    
223     *
                    
227     */
                    
228    public function compileRename(Blueprint $blueprint, Fluent $command)
                    
229    {
                    
                
index.php https://github.com/tlezotte/HCR.git | PHP | 342 lines
                    
57  <link href="/Common/Print.css" rel="stylesheet" type="text/css" media="print">
                    
58  <link href="/Common/company.css" rel="stylesheet" type="text/css" media="screen">
                    
59  <link href="../../default.css" type="text/css" charset="UTF-8" rel="stylesheet">
                    
79    <div id="overDiv" style="position:absolute; visibility:hidden; z-index:1000;"></div>
                    
80    <img src="/Common/images/companyPrint.gif" alt="your company" name="Print" width="437" height="61" id="Print" />
                    
81	<div id="noPrint">
                    
84        <tr>
                    
85          <td valign="top"><a href="../../index.php"><img name="company" src="/Common/images/company.gif" width="300" height="50" border="0" alt="<?= $language['label']['title1']; ?> Home"></a></td>
                    
86          <td align="right" valign="top">
                    
177				  ?>
                    
178				  <div align="right" class="FieldNumberDisabled"><strong><?= $language['label']['welcome']; ?> <a href="../../Administration/user_information.php" class="FieldNumberDisabled" <?php help('', 'Edit your user information', 'default'); ?>><?= ucwords(strtolower($_SESSION['fullname'])); ?></a></strong>&nbsp;&nbsp;<a href="../../logout.php" class="FieldNumberDisabled" <?php help('', 'Selecting [logout] will Log you out of the '.$default[title1].' and stop automatic cookie login', 'default'); ?>>[logout]</a>&nbsp;</div>
                    
179				  <?php
                    
310              <tr>
                    
311                <td width="50%" nowrap><!-- InstanceBeginEditable name="copyright" --><?php include('../include/copyright.php'); ?><!-- InstanceBeginEditable --></td>
                    
312                <td width="50%"><div id="noPrint" align="right"><!-- InstanceBeginEditable name="version" --><!-- InstanceEndEditable --></div></td>
                    
                
Configuration.php https://github.com/usefulthink/symfony.git | PHP | 362 lines
                    
1<?php
                    
2
                    
5 *
                    
6 * (c) Fabien Potencier <fabien@symfony.com>
                    
7 *
                    
13
                    
14use Symfony\Component\Config\Definition\Builder\ArrayNodeDefinition;
                    
15use Symfony\Component\Config\Definition\Builder\TreeBuilder;
                    
15use Symfony\Component\Config\Definition\Builder\TreeBuilder;
                    
16use Symfony\Component\Config\Definition\ConfigurationInterface;
                    
17
                    
20 *
                    
21 * @author Jeremy Mikola <jmikola@gmail.com>
                    
22 */
                    
39     *
                    
40     * @return \Symfony\Component\Config\Definition\Builder\TreeBuilder The tree builder
                    
41     */
                    
                
controller.php https://gitlab.com/koodersmiikka/operaatio-terveys | PHP | 315 lines
                    
1<?php
                    
2
                    
286
                    
287        // Strip off trailing comma
                    
288        $percentage_value_string = substr_replace($percentage_value_string, '', -1);
                    
290        // Get Google Charts API image
                    
291        $img_src = '<img class="surveyChart" style="margin-bottom:10px;" border="" src="//chart.apis.google.com/chart?cht=p&chd=t:' . $percentage_value_string . '&chs=180x180&chco=' . implode(
                    
292                ',',
                    
                
Chunk.php https://gitlab.com/matthww/Elywing | PHP | 463 lines
                    
45			$this->provider = $level;
                    
46			$this->nbt = new CompoundTag("Level", []);
                    
47			return;
                    
52		if(isset($this->nbt->Entities) and $this->nbt->Entities instanceof ListTag){
                    
53			$this->nbt->Entities->setTagType(NBT::TAG_Compound);
                    
54		}else{
                    
62			$this->nbt->TileEntities = new ListTag("TileEntities", []);
                    
63			$this->nbt->TileEntities->setTagType(NBT::TAG_Compound);
                    
64		}
                    
66		if(isset($this->nbt->TileTicks) and $this->nbt->TileTicks instanceof ListTag){
                    
67			$this->nbt->TileTicks->setTagType(NBT::TAG_Compound);
                    
68		}else{
                    
420
                    
421		return $writer->writeCompressed(ZLIB_ENCODING_DEFLATE, RegionLoader::$COMPRESSION_LEVEL);
                    
422	}
                    
                
Value.php https://github.com/linxd/ch3-dev-preview.git | PHP | 401 lines
                    
1<?php
                    
2/**
                    
9 * It is also available through the world-wide-web at this URL:
                    
10 * http://framework.zend.com/license/new-bsd
                    
11 * If you did not receive a copy of the license and are unable to
                    
12 * obtain it through the world-wide-web, please send an email
                    
13 * to license@zend.com so we can send you a copy immediately.
                    
14 *
                    
17 * @subpackage Value
                    
18 * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: Value.php 12720 2008-11-20 18:20:20Z matthew $
                    
21 */
                    
24/** Zend_XmlRpc_Value_Exception */
                    
25require_once 'Zend/XmlRpc/Value/Exception.php';
                    
26
                    
                
Template.php https://bitbucket.org/mengqing/magento-mirror.git | PHP | 395 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
                    
12 * obtain it through the world-wide-web, please send an email
                    
13 * to license@magentocommerce.com so we can send you a copy immediately.
                    
14 *
                    
18 * versions in the future. If you wish to customize Magento for your
                    
19 * needs please refer to http://www.magentocommerce.com for more information.
                    
20 *
                    
22 * @package     Mage_Newsletter
                    
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)
                    
54 * @package     Mage_Newsletter
                    
55 * @author      Magento Core Team <core@magentocommerce.com>
                    
56 */
                    
                
Pgsql.php https://bitbucket.org/dbaltas/zend-framework-1.x-on-git.git | PHP | 336 lines
                    
1<?php
                    
2/**
                    
9 * It is also available through the world-wide-web at this URL:
                    
10 * http://framework.zend.com/license/new-bsd
                    
11 * If you did not receive a copy of the license and are unable to
                    
12 * obtain it through the world-wide-web, please send an email
                    
13 * to license@zend.com so we can send you a copy immediately.
                    
14 *
                    
17 * @subpackage Adapter
                    
18 * @copyright  Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: Pgsql.php 24593 2012-01-05 20:35:02Z matthew $
                    
21 */
                    
26 */
                    
27require_once 'Zend/Db/Adapter/Pdo/Abstract.php';
                    
28
                    
                
class-wc-frontend-scripts.php https://gitlab.com/haque.mdmanzurul/soundkreationsfinal | PHP | 301 lines
                    
55			'woocommerce-smallscreen' => array(
                    
56				'src'     => str_replace( array( 'http:', 'https:' ), '', WC()->plugin_url() ) . '/assets/css/woocommerce-smallscreen.css',
                    
57				'deps'    => 'woocommerce-layout',
                    
162		// Global frontend scripts
                    
163		self::enqueue_script( 'woocommerce', $frontend_script_path . 'woocommerce' . $suffix . '.js', array( 'jquery', 'jquery-blockui' ) );
                    
164		self::enqueue_script( 'wc-cart-fragments', $frontend_script_path . 'cart-fragments' . $suffix . '.js', array( 'jquery', 'jquery-cookie' ) );
                    
213				return array(
                    
214					'i18n_required_rating_text' => esc_attr__( 'Please select a rating', 'woocommerce' ),
                    
215					'review_rating_required'    => get_option( 'woocommerce_review_rating_required' ),
                    
224					'remove_coupon_nonce'       => wp_create_nonce( 'remove-coupon' ),
                    
225					'option_guest_checkout'     => get_option( 'woocommerce_enable_guest_checkout' ),
                    
226					'checkout_url'              => WC_AJAX::get_endpoint( "checkout" ),
                    
265					'i18n_no_matching_variations_text' => esc_attr__( 'Sorry, no products matched your selection. Please choose a different combination.', 'woocommerce' ),
                    
266					'i18n_unavailable_text'            => esc_attr__( 'Sorry, this product is unavailable. Please choose a different combination.', 'woocommerce' ),
                    
267				);
                    
                
imageupload.php https://gitlab.com/haque.mdmanzurul/nga-loyaltymatters | PHP | 287 lines
                    
1<?php
                    
2
                    
65
                    
66    define('AIU_BASE_PATH', $modx->getOption('core_path') . 'components/migx/model/imageupload/');
                    
67    define('AIU_CACHE_PATH', $cachepath );
                    
68
                    
69    include_once AIU_BASE_PATH . 'includes/fileuploader/fileuploader.class.php';
                    
70
                    
77    $language = $modx->getOption('manager_language');
                    
78    // comma separated list of valid extensions
                    
79    $formUid = isset($uid) ? $uid : md5($modx->config['site_url']);
                    
81    if (!function_exists('includeFile')) {
                    
82        function includeFile($name, $type = 'config', $defaultName = 'default', $fileType = '.inc.php') {
                    
83            $folder = (substr($type, -1) != 'y') ? $type . 's/' : substr($folder, 0, -1) . 'ies/';
                    
106
                    
107    include_once AIU_BASE_PATH . 'includes/PhpThumbFactory/ThumbLib.inc.php';
                    
108    // delete uploaded images
                    
                
TicketController.php https://gitlab.com/brainstrategist/helpdesk | PHP | 322 lines
                    
1<?php
                    
2
                    
8use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
                    
9use Symfony\Component\HttpFoundation\JsonResponse;
                    
10
                    
13use BrainStrategist\ProjectBundle\Entity\Ticket;
                    
14use BrainStrategist\ProjectBundle\Entity\Ticket_Comment;
                    
15use BrainStrategist\ProjectBundle\Entity\Ticket_Log;
                    
20use BrainStrategist\ProjectBundle\Form\CommentForm;
                    
21use Symfony\Component\HttpFoundation\File\File;
                    
22use BrainStrategist\KernelBundle\Entity;
                    
282
                    
283                    $ticket_comment = new Ticket_Comment();
                    
284                    $form = $this->createForm(CommentForm::class,$ticket_comment,  array('attr'=> array('project_id' => $project->getId())));
                    
301                    if(!is_null($response->getContentComment())){
                    
302                        $ticket_comment->setUserComment($this->currentUser);
                    
303                        $ticket_comment->setTicket($ticket);
                    
                
 

Source

Language