PageRenderTime 7156ms queryTime 891ms sortTime 1232ms getByIdsTime 101ms findMatchingLines 117ms

100+ results results for 'php com repo:claudiu_marginean/magento-hg-mirror' (7156 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;
                    
                
Font.php https://gitlab.com/adamlwalker/generatedata | 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		}
                    
                
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 */
                    
                
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			);
                    
                
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                ],
                    
                
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;
                    
                
File.php https://github.com/Riges/KawaiViewModel.git | 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.');
                    
                
index_002.php https://github.com/robert-fu-berlin/Exercises-Web-based-Information-Systems.git | PHP | 458 lines
                    
15  quicklink : false,
                    
16  quicklinkurl : 'http://maps.google.com/maps?ll={latdegdec},{londegdec}&spn={span},{span}&q={latdegdec},{londegdec}',
                    
17  enabled : true,
                    
21  coordurls : [
                    
22                'http://stable.toolserver.org/geohack/geohack.php?',
                    
23                'http://stable.ts.wikimedia.org/geohack/geohack.php?',
                    
23                'http://stable.ts.wikimedia.org/geohack/geohack.php?',
                    
24                'http://toolserver.org/~magnus/geo/geohack.php?',
                    
25                'http://toolserver.org/~geohack/geohack.php?',
                    
25                'http://toolserver.org/~geohack/geohack.php?',
                    
26                'http://tools.wikimedia.de/~magnus/geo/geohack.php?',
                    
27                'http://www8.brinkster.com/erikbaas/wiki/maps.asp?',
                    
30  buttonImage: 
                    
31'http://upload.wikimedia.org/wikipedia/commons/thumb/9/9a/Erioll_world.svg/18px-Erioll_world.svg.png'
                    
32 },
                    
                
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.
                    
                
Store.php https://gitlab.com/hatemdigify/digifyblog | 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
                    
                
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.
                    
                
VarCloner.php https://gitlab.com/riandy_db/self-monitoring | 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();
                    
                
Ntp.php https://github.com/Exercise/zf2.git | PHP | 434 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_TimeSync
                    
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
                    
34 * @package   Zend_TimeSync
                    
35 * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
                    
36 * @license   http://framework.zend.com/license/new-bsd     New BSD License
                    
                
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)';
                    
                
tcp_cubic.c https://gitlab.com/karrei/inel-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)
                    
                
acpiphp_ibm.c https://gitlab.com/karrei/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.
                    
                
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/nunigaia/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
                    
                
EditView.php https://github.com/lukio/sugarcrm_dev.git | PHP | 349 lines
                    
1<?php
                    
2if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
                    
3/*********************************************************************************
                    
4 * SugarCRM Community Edition is a customer relationship management program developed by
                    
5 * SugarCRM, Inc. Copyright (C) 2004-2011 SugarCRM Inc.
                    
24 * You can contact SugarCRM, Inc. headquarters at 10050 North Wolfe Road,
                    
25 * SW2-130, Cupertino, CA 95014, USA. or at email address contact@sugarcrm.com.
                    
26 * 
                    
45
                    
46require_once('modules/Campaigns/utils.php');
                    
47
                    
106}else{
                    
107	$params[] = "<a href='index.php?module={$focus->module_dir}&action=DetailView&record={$focus->id}'>{$focus->name}</a>";
                    
108	$params[] = $GLOBALS['app_strings']['LBL_EDIT_BUTTON_LABEL'];
                    
166//Assign qsd script
                    
167require_once('include/QuickSearchDefaults.php');
                    
168$qsd = new QuickSearchDefaults();
                    
                
ContributionPage.php https://github.com/szantog/panparks.git | PHP | 354 lines
                    
1<?php
                    
2
                    
36
                    
37require_once 'CRM/Core/Form.php';
                    
38require_once 'CRM/Core/PseudoConstant.php';
                    
38require_once 'CRM/Core/PseudoConstant.php';
                    
39require_once 'CRM/Contribute/PseudoConstant.php';
                    
40
                    
115        // set up tabs
                    
116        require_once 'CRM/Contribute/Form/ContributionPage/TabHeader.php';
                    
117        CRM_Contribute_Form_ContributionPage_TabHeader::build( $this );
                    
132                $params = array('id' => $this->_id );
                    
133                CRM_Core_DAO::commonRetrieve( 'CRM_Contribute_DAO_ContributionPage', $params, $this->_values );
                    
134            }
                    
214                $params = array('id' => $this->_id );
                    
215                CRM_Core_DAO::commonRetrieve( 'CRM_Contribute_DAO_ContributionPage', $params, $this->_values );
                    
216            }
                    
                
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')
                    
                
Resource.php https://github.com/redokes/Framework.git | PHP | 467 lines
                    
19 * @version    $Id: Resource.php 23775 2011-03-01 17:25:24Z ralph $
                    
20 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
21 */
                    
44     */
                    
45    protected $_components = array();
                    
46
                    
155        if (count($segments) < 2) {
                    
156            // assumes all resources have a component and class name, minimum
                    
157            return false;
                    
164            $segment    = array_shift($segments);
                    
165            $component .= empty($component) ? $segment : '_' . $segment;
                    
166            if (isset($this->_components[$component])) {
                    
297        $component = $this->_resourceTypes[$type]['namespace'];
                    
298        $this->_components[$component] = $this->_resourceTypes[$type]['path'];
                    
299        return $this;
                    
                
Resource.php https://github.com/rakesh-sankar/PHP-Framework-Benchmark.git | PHP | 467 lines
                    
19 * @version    $Id: Resource.php 23567 2010-12-20 08:12:16Z mjh_ca $
                    
20 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
21 */
                    
44     */
                    
45    protected $_components = array();
                    
46
                    
155        if (count($segments) < 2) {
                    
156            // assumes all resources have a component and class name, minimum
                    
157            return false;
                    
164            $segment    = array_shift($segments);
                    
165            $component .= empty($component) ? $segment : '_' . $segment;
                    
166            if (isset($this->_components[$component])) {
                    
297        $component = $this->_resourceTypes[$type]['namespace'];
                    
298        $this->_components[$component] = $this->_resourceTypes[$type]['path'];
                    
299        return $this;
                    
                
Command.php https://github.com/notbrain/symfony-sandbox.git | PHP | 512 lines
                    
2
                    
3namespace Symfony\Component\Console\Command;
                    
4
                    
108     *
                    
109     * This is mainly useful when a lot of commands extends one main command
                    
110     * where some things need to be initialized based on the input arguments and options.
                    
460        if ($this->getAliases()) {
                    
461            $messages[] = '<comment>Aliases:</comment> <info>'.implode(', ', $this->getAliases()).'</info>';
                    
462        }
                    
466        if ($help = $this->getProcessedHelp()) {
                    
467            $messages[] = '<comment>Help:</comment>';
                    
468            $messages[] = ' '.implode("\n ", explode("\n", $help))."\n";
                    
484        $dom->formatOutput = true;
                    
485        $dom->appendChild($commandXML = $dom->createElement('command'));
                    
486        $commandXML->setAttribute('id', $this->getFullName());
                    
                
permissions.inc.php https://github.com/martinf55/revolution.git | PHP | 193 lines
                    
1<?php
                    
2/**
                    
21$_lang['perm.class_map_desc'] = 'Eine Liste von Klassen in der Klassen-Map anzeigen.';
                    
22$_lang['perm.components_desc'] = 'Das Komponenten-Menü anzeigen.';
                    
23$_lang['perm.content_types_desc'] = 'Die Inhaltstypen-Seite anzeigen und benutzen.';
                    
                
cpanel.php https://github.com/andrewgs/practice-book.ru.git | PHP | 320 lines
                    
64								<div class="floated">
                    
65									<img src="<?=$baseurl;?>companylogo/viewimage/<?=$company['cmp_id'];?>" alt=""/>
                    
66									<div class="company-rate">авторитет: <?=$company['cmp_rating'];?></div>
                    
66									<div class="company-rate">авторитет: <?=$company['cmp_rating'];?></div>
                    
67									<div class="company-rate-graph" style="width:<?=$company['cmp_graph'];?>px;">&nbsp;</div>
                    
68								</div>
                    
68								</div>
                    
69								<div class="company-name"><?=$company['cmp_name'];?></div>
                    
70								<div class="company-text"><?=$company['cmp_description'];?></div>
                    
71								<div style="clear:both"></div>
                    
72								<div class="company-data"><span class="text">Юридическое лицо: </span><?=$company['cmp_urface'];?></div>
                    
73								<div class="company-data"><span class="text">Юридический адрес: </span><?=$company['cmp_uraddress'];?></div>
                    
79								<div class="company-data"><span class="text">Сайт компании: </span>
                    
80									<?=anchor($company['cmp_site'],$company['cmp_site'],array('target'=>'_blank'));?>
                    
81								</div>
                    
                
Resource.php https://github.com/rico/micemeta-flextrine.git | PHP | 467 lines
                    
19 * @version    $Id: Resource.php 23568 2010-12-20 08:13:20Z mjh_ca $
                    
20 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
21 */
                    
44     */
                    
45    protected $_components = array();
                    
46
                    
155        if (count($segments) < 2) {
                    
156            // assumes all resources have a component and class name, minimum
                    
157            return false;
                    
164            $segment    = array_shift($segments);
                    
165            $component .= empty($component) ? $segment : '_' . $segment;
                    
166            if (isset($this->_components[$component])) {
                    
297        $component = $this->_resourceTypes[$type]['namespace'];
                    
298        $this->_components[$component] = $this->_resourceTypes[$type]['path'];
                    
299        return $this;
                    
                
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
                    
                
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>
                    
                
tbl_replace.php https://github.com/edmondscommerce/XAMPP-Magento-Demo-Site.git | PHP | 414 lines
                    
7 *
                    
8 * @version $Id: tbl_replace.php 12245 2009-02-23 08:36:34Z lem9 $
                    
9 *
                    
54 */
                    
55require_once './libraries/common.inc.php';
                    
56
                    
103} elseif (! empty($GLOBALS['goto'])) {
                    
104    if (! preg_match('@^[a-z_]+\.php$@', $GLOBALS['goto'])) {
                    
105        // this should NOT happen
                    
110    }
                    
111    if ($GLOBALS['goto'] == 'db_sql.php' && strlen($GLOBALS['table'])) {
                    
112        $GLOBALS['table'] = '';
                    
127} else {
                    
128    $err_url = 'tbl_change.php' . PMA_generate_common_url($url_params);
                    
129}
                    
                
Move.php https://github.com/edmondscommerce/XAMPP-Magento-Demo-Site.git | PHP | 364 lines
                    
53/**
                    
54 * Subversion Move command manager class
                    
55 *
                    
86 *                           "BASE"       base rev of item's working copy
                    
87 *                           "COMMITTED"  last commit at or before BASE
                    
88 *                           "PREV"       revision just before COMMITTED',
                    
112 * <code>
                    
113 * <?php
                    
114 * require_once 'VersionControl/SVN.php';
                    
193     * See {@link http://svnbook.red-bean.com/svnbook/ Version Control with Subversion}, 
                    
194     * Subversion Complete Reference for details on arguments for this subcommand.
                    
195     * @var     int
                    
202     * See {@link http://svnbook.red-bean.com/svnbook/ Version Control with Subversion}, 
                    
203     * Subversion Complete Reference for details on arguments for this subcommand.
                    
204     * @var     array
                    
                
admin.php https://github.com/Brucee/pyrocms.git | PHP | 562 lines
                    
1<?php defined('BASEPATH') OR exit('No direct script access allowed');
                    
2/**
                    
74			array(
                    
75				'field' => 'comments_enabled',
                    
76				'label'	=> 'lang:pages.comments_enabled_label',
                    
496	 * @access public
                    
497	 * @param int $id_1 The ID of the first revision to compare
                    
498	 * @param int $id_2 The ID of the second revision to compare
                    
500	 */
                    
501	public function compare($id_1, $id_2)
                    
502	{
                    
505		$rev_2 = $this->versioning->get_by_revision($id_2);
                    
506		$diff  = $this->versioning->compare_revisions($rev_1->body, $rev_2->body, 'mixed');
                    
507
                    
510		$this->template->set_layout('modal', 'admin')
                    
511				->build('admin/revisions/compare', $data);
                    
512	}
                    
                
File.php https://github.com/Enrise/Zend.git | 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-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: File.php 24593 2012-01-05 20:35:02Z matthew $
                    
21 */
                    
26 * @subpackage Storage
                    
27 * @copyright  Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
                    
28 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
                
Editor.php https://github.com/agelang/zf2.git | PHP | 601 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 Form_Element
                    
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
                    
36 * @subpackage Form_Element
                    
37 * @copyright  Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)
                    
38 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
                
MaildirFolderTest.php https://github.com/agelang/zf2.git | PHP | 444 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-2011 Zend Technologies USA Inc. (http://www.zend.com)
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
32 * @subpackage UnitTests
                    
33 * @copyright  Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)
                    
34 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
36 */
                    
37class MaildirFolderTest extends \PHPUnit_Framework_TestCase
                    
38{
                    
                
UploadHandler.php https://github.com/zikula-modules/Reviews.git | PHP | 404 lines
                    
1<?php
                    
2/**
                    
7 * @package Reviews
                    
8 * @author Michael Ueberschaer <kontakt@webdesign-in-bremen.com>.
                    
9 * @link http://webdesign-in-bremen.com
                    
45        $this->imageFileTypes = array('gif', 'jpeg', 'jpg', 'png', 'swf');
                    
46        $this->forbiddenFileTypes = array('cgi', 'pl', 'asp', 'phtml', 'php', 'php3', 'php4', 'php5', 'exe', 'com', 'bat', 'jsp', 'cfm', 'shtml');
                    
47        $this->allowedFileSizes = array('review' => array('coverUpload' => 102400));
                    
252     *
                    
253     * It considers different strategies for computing the result.
                    
254     *
                    
325                break;
                    
326            case UPLOAD_ERR_INI_SIZE: //uploaded file exceeds the upload_max_filesize directive in php.ini
                    
327                $errmsg = __('File too big', $dom);
                    
                
date.php https://github.com/chemila/kohana.git | PHP | 566 lines
                    
1<?php defined('SYSPATH') or die('No direct script access.');
                    
2/**
                    
28	 * Timezone for formatted_time
                    
29	 * @link http://uk2.php.net/manual/en/timezones.php
                    
30	 * @var  string
                    
39	 *
                    
40	 * [!!] A list of time zones that PHP supports can be found at
                    
41	 * <http://php.net/timezones>.
                    
318		// Convert the list of outputs to an associative array
                    
319		$output = array_combine($output, array_fill(0, count($output), 0));
                    
320
                    
548	 *
                    
549	 * @see     http://php.net/manual/en/datetime.construct.php
                    
550	 * @param   string  datetime_str     datetime string
                    
                
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.
                    
                
route.php https://github.com/ymtn/core.git | PHP | 589 lines
                    
1<?php defined('SYSPATH') or die('No direct script access.');
                    
2/**
                    
79	 *         ->defaults(array(
                    
80	 *             'controller' => 'welcome',
                    
81	 *         ));
                    
201	/**
                    
202	 * Returns the compiled regular expression for the route. This translates
                    
203	 * keys and optional groups to a proper PCRE regular expression.
                    
204	 *
                    
205	 *     $compiled = Route::compile(
                    
206	 *        '<controller>(/<action>(/<id>))',
                    
216	 */
                    
217	public static function compile($uri, array $regex = NULL)
                    
218	{
                    
288	 * The $uri parameter can either be a string for basic regex matching or it
                    
289	 * can be a valid callback or anonymous function (php 5.3+). If you use a
                    
290	 * callback or anonymous function, your method should return an array
                    
                
Layout.php https://github.com/nationalfield/symfony.git | PHP | 490 lines
                    
1<?php
                    
2/*
                    
24 *
                    
25 * @author      Guilherme Blanco <guilhermeblanco@hotmail.com>
                    
26 * @package     Doctrine
                    
27 * @subpackage  Pager
                    
28 * @license     http://www.opensource.org/licenses/lgpl-license.php LGPL
                    
29 * @version     $Revision$
                    
                
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    {
                    
                
File.php https://github.com/mwturnage/frapi-1.git | 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-2010 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 20096 2010-01-06 02:05:09Z bkarwin $
                    
21 */
                    
26 * @subpackage Storage
                    
27 * @copyright  Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
                    
28 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
                
transformation.php https://github.com/Yannix/zetacomponents.git | PHP | 417 lines
                    
1<?php
                    
2/**
                    
9 * to you under the Apache License, Version 2.0 (the
                    
10 * "License"); you may not use this file except in compliance
                    
11 * with the License.  You may obtain a copy of the License at
                    
                
sbhnddma.h https://github.com/netarchy/android_kernel_samsung_dempsey.git | C Header | 343 lines
                    
1/*
                    
2 * Generic Broadcom Home Networking Division (HND) DMA engine HW interface
                    
3 * This supports the following chips: BCM42xx, 44xx, 47xx .
                    
4 *
                    
5 * Copyright (C) 1999-2011, Broadcom Corporation
                    
6 * 
                    
6 * 
                    
7 *         Unless you and Broadcom execute a separate written software license
                    
8 * agreement governing use of this software, this software is licensed to you
                    
9 * under the terms of the GNU General Public License version 2 (the "GPL"),
                    
10 * available at http://www.broadcom.com/licenses/GPLv2.php, with the
                    
11 * following added to such license:
                    
20 * 
                    
21 *      Notwithstanding the above, under no circumstances may you combine this
                    
22 * software in any way with any other Broadcom software provided under a license
                    
                
Value.php https://github.com/doctoralex/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
                    
                
ClassLoader.php https://gitlab.com/remyvianne/krowkaramel | 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),
                    
                
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   +----------------------------------------------------------------------+
                    
                
Value.php https://github.com/dragonmantank/kiroku.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
                    
                
BaseFcvalinmold.php https://github.com/cidesa/siga-universitario.git | PHP | 714 lines
                    
1<?php
                    
2
                    
373			$this->setDeleted(true);
                    
374			$con->commit();
                    
375		} catch (PropelException $e) {
                    
394			$affectedRows = $this->doSave($con);
                    
395			$con->commit();
                    
396			return $affectedRows;
                    
469	
                    
470	public function getByName($name, $type = BasePeer::TYPE_PHPNAME)
                    
471	{
                    
524	
                    
525	public function toArray($keyType = BasePeer::TYPE_PHPNAME)
                    
526	{
                    
546	
                    
547	public function setByName($name, $value, $type = BasePeer::TYPE_PHPNAME)
                    
548	{
                    
                
Configuration.php https://github.com/lsmith77/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     */
                    
                
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
                    
                
RouteCollectionBuilderTest.php https://gitlab.com/ealexis.t/trends | 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{
                    
                
lang.php https://github.com/brianshaler/PHXdata.git | PHP | 186 lines
                    
53$lang['htmlok']                = 'Permitir embeber HTML';
                    
54$lang['phpok']                 = 'Permitir embeber PHP';
                    
55$lang['dformat']               = 'Formato de Data (ver função PHP\'s <a href="http://www.php.net/strftime">strftime</a>)';
                    
98$lang['autoplural']            = 'Verificar formas plurais nos links';
                    
99$lang['compression']           = 'Método de compressão para histórico';
                    
100$lang['cachetime']             = 'Idade máxima para cache (seg.)';
                    
111$lang['subscribe_time']        = 'Tempo após o qual as listas de subscrição e "digests" são enviados (seg.); Isto deve ser inferior ao tempo especificado em recent_days.';
                    
112$lang['compress']              = 'Compactar as saídas de CSS e JavaScript';
                    
113$lang['hidepages']             = 'Esconder páginas correspondentes (expressões regulares)';
                    
115$lang['sitemap']               = 'Gerar Sitemap Google (dias)';
                    
116$lang['broken_iua']            = 'A função "ignore_user_abort" não está a funcionar no seu sistema? Isso pode causar um índice de busca defeituoso. Sistemas com IIS+PHP/CGI são conhecidos por possuírem este problema. Veja o <a href="http://bugs.splitbrain.org/?do=details&amp;task_id=852">bug 852</a> para mais informações.';
                    
117$lang['xsendfile']             = 'Usar o cabeçalho "X-Sendfile" para permitir o servidor de internet encaminhar ficheiros estáticos? O seu servidor de internet precisa ter suporte a isso.';
                    
170$lang['rss_linkto_o_current']  = 'página actual';
                    
171$lang['compression_o_0']       = 'Sem Compressão';
                    
172$lang['compression_o_gz']      = 'gzip';
                    
                
display-debug.page.php https://github.com/evadne/wp-e-commerce.git | PHP | 365 lines
                    
7 *
                    
8 * @package wp-e-commerce
                    
9 * @since 3.7
                    
13	global $wpdb;
                    
14	$fixpage = get_option('siteurl').'/wp-admin/admin.php?page=wpsc-sales-logs&amp;subpage=upgrade-purchase-logs';
                    
15	?>
                    
49			<li>
                    
50				<a href='?page=wpsc-debug&amp;wpsc_debug_action=phpinfo'>Display phpinfo</a>
                    
51			</li>
                    
55		</ul>
                    
56		<?php
                    
57		if (defined('WPSC_ADD_DEBUG_PAGE') && (constant('WPSC_ADD_DEBUG_PAGE') == true)) {
                    
141			//  wpsc_populate_also_bought_list();
                    
142			$fields = "cmd=_notify-validate&mc_gross=0.10&invoice=7121255557327&protection_eligibility=Ineligible&address_status=unconfirmed&item_number1=105&payer_id=LCFQDE4F5F6U8&tax=0.00&address_street=2+Offa+RdBedford&payment_date=14%3A56%3A02+Oct+14%2C+2009+PDT&payment_status=Completed&charset=windows-1252&mc_tax1=0.00&address_zip=&mc_shipping=0.00&mc_handling=0.00&first_name=Thomas&mc_fee=0.10&address_country_code=NZ&address_name=test+test&notify_version=2.8&custom=&payer_status=verified&business=dan%40instinct.co.nz&address_country=New+Zealand&num_cart_items=1&mc_handling1=0.00&address_city=Bedfordshire&verify_sign=AGu.hbwMxRXoqDiyy-IJNOnULnvNAKaQoywaGolyEFLHTSZiM-w0YWH4&payer_email=thomas.howard%40gmail.com&mc_shipping1=0.00&tax1=0.00&txn_id=5014962043916743K&payment_type=instant&last_name=Howard&address_state=&item_name1=m%27a%2Fn.d%2Fe%22l%24%7Ct%2Fe%28s%7Et%29%3A%3B+%C3%85%C3%84%C3%96&receiver_email=dan%40instinct.co.nz&payment_fee=&quantity1=1&receiver_id=LENKCHY6CU2VY&txn_type=cart&mc!
                    
143 _gross_1=0.10&mc_currency=NZD&residence_country=NZ&transaction_subject=Shopping+Cart&payment_gross=";
                    
                
index.php https://github.com/hregis/dolibarr.git | PHP | 427 lines
                    
96		if ($obj) {
                    
97			$vals[($obj->status == CommandeFournisseur::STATUS_CANCELED_AFTER_ORDER ? CommandeFournisseur::STATUS_CANCELED : $obj->status)] = $obj->nb;
                    
98
                    
207				print "<a href=\"card.php?id=".$obj->rowid."\">".img_object($langs->trans("ShowOrder"), "order").' '.$obj->ref."</a></td>";
                    
208				print '<td><a href="'.DOL_URL_ROOT.'/fourn/card.php?socid='.$obj->socid.'">'.img_object($langs->trans("ShowCompany"), "company").' '.dol_trunc($obj->name, 24).'</a></td></tr>';
                    
209				$i++;
                    
337
                    
338			print '<td><a href="'.DOL_URL_ROOT.'/fourn/card.php?socid='.$obj->socid.'">'.img_object($langs->trans("ShowCompany"), "company").' '.$obj->name.'</a></td>';
                    
339			print '<td>'.dol_print_date($db->jdate($obj->tms), 'day').'</td>';
                    
373print '<tr class="liste_titre">';
                    
374print '<th colspan="3">'.$langs->trans("OrdersToProcess").' <a href="'.DOL_URL_ROOT.'/commande/list.php?search_status=1">('.$num.')</a></th></tr>';
                    
375
                    
406
                    
407print '<td><a href="'.DOL_URL_ROOT.'/comm/card.php?socid='.$obj->socid.'">'.img_object($langs->trans("ShowCompany"),"company").' '.dol_trunc($obj->name,24).'</a></td>';
                    
408
                    
                
plugin.php https://github.com/mrmark/moodle.git | PHP | 352 lines
                    
1<?php
                    
2// This file is part of Moodle - http://moodle.org/
                    
55        global $CFG;
                    
56        require_once($CFG->libdir . '/filelib.php');
                    
57
                    
83            if ($mimetype === 'video/quicktime' && (core_useragent::is_chrome() || core_useragent::is_edge())) {
                    
84                // Fix for VideoJS/Chrome bug https://github.com/videojs/video.js/issues/423 .
                    
85                $mimetype = 'video/mp4';
                    
125            // Hide poster area for audios without tracks or poster.
                    
126            // See discussion on https://github.com/videojs/video.js/issues/2777 .
                    
127            // Maybe TODO: if there are only chapter tracks we still don't need poster area.
                    
145            // Hides native controls and plays videos inline instead of fullscreen,
                    
146            // see https://github.com/videojs/video.js/issues/3761 and
                    
147            // https://github.com/videojs/video.js/issues/3762 .
                    
307        if (get_config('media_videojs', 'youtube')) {
                    
308            $markers = array_merge($markers, array('youtube.com', 'youtube-nocookie.com', 'youtu.be', 'y2u.be'));
                    
309        }
                    
                
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;
                    
                
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)
                    
                
Flat.php https://gitlab.com/LisovyiEvhenii/ismextensions | 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)
                    
                
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	{
                    
                
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
                    
                
XmlFileLoader.php https://github.com/thewiredman/symfony.git | PHP | 402 lines
                    
1<?php
                    
2
                    
2
                    
3namespace Symfony\Component\DependencyInjection\Loader;
                    
4
                    
4
                    
5use Symfony\Component\DependencyInjection\Definition;
                    
6use Symfony\Component\DependencyInjection\Reference;
                    
6use Symfony\Component\DependencyInjection\Reference;
                    
7use Symfony\Component\DependencyInjection\ContainerBuilder;
                    
8use Symfony\Component\DependencyInjection\SimpleXMLElement;
                    
8use Symfony\Component\DependencyInjection\SimpleXMLElement;
                    
9use Symfony\Component\DependencyInjection\Resource\FileResource;
                    
10
                    
13 *
                    
14 * (c) Fabien Potencier <fabien.potencier@symfony-project.com>
                    
15 *
                    
                
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") {
                    
                
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 */
                    
                
store.php https://github.com/dogma/moodle.git | PHP | 362 lines
                    
1<?php
                    
2// This file is part of Moodle - http://moodle.org/
                    
49    /**
                    
50     * This method contains mapping required for Moodle core to make legacy store compatible with other sql_reader based
                    
51     * queries.
                    
59    protected static function replace_sql_legacy($selectwhere, array $params, $sort = '') {
                    
60        // Following mapping is done to make can_delete_course() compatible with legacy store.
                    
61        if ($selectwhere == "userid = :userid AND courseid = :courseid AND eventname = :eventname AND timecreated > :since" and
                    
63            $replace = "module = 'course' AND action = 'new' AND userid = :userid AND url = :url AND time > :since";
                    
64            $params += array('url' => "view.php?id={$params['courseid']}");
                    
65            return array($replace, $params, $sort);
                    
67
                    
68        // Replace db field names to make it compatible with legacy log.
                    
69        foreach (self::$standardtolegacyfields as $from => $to) {
                    
246
                    
247        // If the 100 field size is changed, also need to alter print_log in course/lib.php.
                    
248        if (!empty($url) && \core_text::strlen($url) > 100) {
                    
                
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>
                    
                
CreditCard.php https://github.com/michaelmcandrew/vaw.git | PHP | 297 lines
                    
1<?php
                    
2/* vim: set expandtab tabstop=4 shiftwidth=4: */
                    
5 *
                    
6 * PHP Versions 4 and 5
                    
7 *
                    
10 * the world-wide-web at
                    
11 * http://www.opensource.org/licenses/bsd-license.php
                    
12 * If you did not receive a copy of the new BSDlicense and are unable
                    
13 * to obtain it through the world-wide-web, please send a note to
                    
14 * pajoye@php.net so we can mail you a copy immediately.
                    
15 *
                    
18 * @author    Stefan Neufeind <pear.neufeind@speedpartner.de>
                    
19 * @author    Philippe Jausions <Philippe.Jausions@11abacus.com>
                    
20 * @copyright 1997-2005  Stefan Neufeind
                    
20 * @copyright 1997-2005  Stefan Neufeind
                    
21 * @license   http://www.opensource.org/licenses/bsd-license.php  New BSD License
                    
22 * @version   CVS: $Id: CreditCard.php,v 1.13 2007/09/16 16:42:34 kguest Exp $
                    
                
TestOfLinkMySQLDAO.php https://github.com/dagda/ThinkUp.git | PHP | 290 lines
                    
32            $q  = "INSERT INTO tu_links (url, title, clicks, post_id, network, is_image) ";
                    
33            $q .= " VALUES ('http://example.com/".$counter."', 'Link $counter', 0, $post_id, 'twitter', 0);";
                    
34            PDODAO::$PDO->exec($q);
                    
119            'http://example.com/test',
                    
120            'http://very.long.domain.that.nobody.would.bother.to.type.com/index.php', 'Very Long URL', '12345678901',
                    
121            'twitter', false);
                    
129        $this->assertEqual($result->expanded_url,
                    
130        'http://very.long.domain.that.nobody.would.bother.to.type.com/index.php');
                    
131        $this->assertEqual($result->title, 'Very Long URL');
                    
150        $updatedlink = $this->DAO->getLinkByUrl($link);
                    
151        $this->assertEqual($updatedlink->expanded_url, "http://expandedurl1.com");
                    
152        $this->assertEqual($updatedlink->title, "my title");
                    
179            'http://example.com/test',
                    
180            'http://very.long.domain.that.nobody.would.bother.to.type.com/index.php',
                    
181            'Very Long URL',
                    
                
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		}
                    
                
SYLK.php https://gitlab.com/Zinnurain/destination_finder_beta | 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	 *
                    
                
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	 */
                    
                
 

Source

Language