PageRenderTime 2817ms queryTime 125ms sortTime 1265ms getByIdsTime 65ms findMatchingLines 49ms

100+ results results for 'php dl repo:facebook/xhp' (2817 ms)

Not the results you expected?
DiffPanel.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 365 lines
                    
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;
                    
63import org.netbeans.modules.php.project.connections.RemoteClient;
                    
64import org.netbeans.modules.php.project.connections.RemoteException;
                    
65import org.netbeans.modules.php.project.connections.TmpLocalFile;
                    
65import org.netbeans.modules.php.project.connections.TmpLocalFile;
                    
66import org.netbeans.modules.php.project.connections.sync.SyncItem;
                    
67import org.netbeans.modules.php.project.connections.transfer.TransferFile;
                    
                
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
                    
21 * @copyright 2015-2016 Cubyn
                    
22 * @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
                    
23 */
                    
                
Particle3DTest.cpp https://github.com/dumganhar/cocos2d-x.git | C++ | 480 lines
                    
78    listener->onTouchesEnded = CC_CALLBACK_2(Particle3DTestDemo::onTouchesEnded, this);
                    
79    _eventDispatcher->addEventListenerWithSceneGraphPriority(listener, this);
                    
80
                    
                
rewrite.php https://bitbucket.org/murtuza88/carolina-home-stone.git | PHP | 425 lines
                    
1<?php
                    
2
                    
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
                    
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.
                    
291
                    
292		$this->index = $wp_rewrite->index; //probably 'index.php'
                    
293
                    
                
twitter-timeline.php https://gitlab.com/hunt9310/ras | PHP | 470 lines
                    
1<?php
                    
2
                    
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'];
                    
145
                    
146		/** This action is documented in modules/widgets/social-media-icons.php */
                    
147		do_action( 'jetpack_bump_stats_extras', 'widget', 'twitter_timeline' );
                    
282		<p>
                    
283			<label for="<?php echo $this->get_field_id( 'title' ); ?>">
                    
284				<?php esc_html_e( 'Title:', 'jetpack' ); ?>
                    
                
Advertiser.php https://bitbucket.org/blackriver/openx.git | PHP | 371 lines
                    
1<?php
                    
2
                    
35// Required classes
                    
36require_once MAX_PATH . '/lib/OA/Dal/Statistics.php';
                    
37
                    
                
arr.php https://gitlab.com/ken3/bluSky | PHP | 602 lines
                    
1<?php defined('SYSPATH') or die('No direct script access.');
                    
2/**
                    
351	/**
                    
352	 * Recursive version of [array_map](http://php.net/array_map), applies one or more
                    
353	 * callbacks to all elements in an array, including sub-arrays.
                    
403	 * Merges one or more arrays recursively and preserves all keys.
                    
404	 * Note that this does not work the same as [array_merge_recursive](http://php.net/array_merge_recursive)!
                    
405	 *
                    
                
InstallSchema.php https://gitlab.com/crazybutterfly815/magento2 | PHP | 407 lines
                    
1<?php
                    
2/**
                    
19     * {@inheritdoc}
                    
20     * @SuppressWarnings(PHPMD.ExcessiveMethodLength)
                    
21     */
                    
                
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
                    
                
resource.inc.php https://github.com/enigmatic-user/revolution.git | PHP | 160 lines
                    
1<?php
                    
2/**
                    
                
File.php https://github.com/Riges/KawaiViewModel.git | PHP | 468 lines
                    
25 */
                    
26require_once 'Zend/CodeGenerator/Php/Abstract.php';
                    
27
                    
86        if ($fileName == '') {
                    
87            require_once 'Zend/CodeGenerator/Php/Exception.php';
                    
88            throw new Zend_CodeGenerator_Php_Exception('FileName does not exist.');
                    
209            require_once 'Zend/CodeGenerator/Php/Exception.php';
                    
210            throw new Zend_CodeGenerator_Php_Exception('setDocblock() is expecting either a string, array or an instance of Zend_CodeGenerator_Php_Docblock');
                    
211        }
                    
293            require_once 'Zend/CodeGenerator/Php/Exception.php';
                    
294            throw new Zend_CodeGenerator_Php_Exception('Expecting either an array or an instance of Zend_CodeGenerator_Php_Class');
                    
295        }
                    
460        if ($this->_filename == '' || !is_writable(dirname($this->_filename))) {
                    
461            require_once 'Zend/CodeGenerator/Php/Exception.php';
                    
462            throw new Zend_CodeGenerator_Php_Exception('This code generator object is not writable.');
                    
                
index_002.php https://github.com/robert-fu-berlin/Exercises-Web-based-Information-Systems.git | PHP | 458 lines
                    
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?',
                    
                
lang.php https://gitlab.com/gideonmarked/atls-express | PHP | 326 lines
                    
1<?php
                    
2
                    
141        'sender_email' => 'Avsändarens e-postadress',
                    
142        'php_mail' => 'PHP mail',
                    
143        'smtp' => 'SMTP',
                    
                
Inflector.php https://github.com/grandison/budo16.git | PHP | 506 lines
                    
1<?php
                    
2/**
                    
18 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
19 * @version    $Id: Inflector.php 17705 2009-08-21 07:50:57Z thomas $
                    
20 */
                    
25 */
                    
26// require_once 'Zend/Filter.php';
                    
27
                    
30 */
                    
31// require_once 'Zend/Loader/PluginLoader.php';
                    
32
                    
463        if ($this->_throwTargetExceptionsOn && (preg_match('#(?='.$pregQuotedTargetReplacementIdentifier.'[A-Za-z]{1})#', $inflectedTarget) == true)) {
                    
464            // require_once 'Zend/Filter/Exception.php';
                    
465            throw new Zend_Filter_Exception('A replacement identifier ' . $this->_targetReplacementIdentifier . ' was found inside the inflected target, perhaps a rule was not satisfied with a target source?  Unsatisfied inflected target: ' . $inflectedTarget);
                    
498        if (!$ruleObject instanceof Zend_Filter_Interface) {
                    
499            // require_once 'Zend/Filter/Exception.php';
                    
500            throw new Zend_Filter_Exception('No class named ' . $rule . ' implementing Zend_Filter_Interface could be found');
                    
                
Font.php https://bitbucket.org/raboit/sisfac.git | 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		}
                    
                
pearcmd.php https://github.com/ianbogda/FileZ.git | PHP | 445 lines
                    
51require_once 'PEAR/Command.php';
                    
52require_once 'Console/Getopt.php';
                    
53
                    
59if (!isset($_SERVER['argv']) && !isset($argv) && !isset($HTTP_SERVER_VARS['argv'])) {
                    
60    echo 'ERROR: either use the CLI php executable, or set register_argc_argv=On in php.ini';
                    
61    exit(1);
                    
132// this is used in the error handler to retrieve a relative path
                    
133$_PEAR_PHPDIR = $config->get('php_dir');
                    
134$ui->setConfig($config);
                    
166                );
                    
167                $config->set('php_dir', $pearbase . DIRECTORY_SEPARATOR . 'php');
                    
168                $config->set('data_dir', $pearbase . DIRECTORY_SEPARATOR . 'data');
                    
377        return "PEAR Version: ".$GLOBALS['pear_package_version'].
                    
378               "\nPHP Version: ".phpversion().
                    
379               "\nZend Engine Version: ".zend_version().
                    
                
Resource.php https://github.com/ianbogda/FileZ.git | PHP | 467 lines
                    
1<?php
                    
2/**
                    
18 * @copyright  Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)
                    
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
                    
23/** Zend_Loader_Autoloader_Interface */
                    
24require_once 'Zend/Loader/Autoloader/Interface.php';
                    
25
                    
73        if (!is_array($options)) {
                    
74            require_once 'Zend/Loader/Exception.php';
                    
75            throw new Zend_Loader_Exception('Options must be passed to resource loader constructor');
                    
83        ) {
                    
84            require_once 'Zend/Loader/Exception.php';
                    
85            throw new Zend_Loader_Exception('Resource loader requires both a namespace and a base path for initialization');
                    
90        }
                    
91        require_once 'Zend/Loader/Autoloader.php';
                    
92        Zend_Loader_Autoloader::getInstance()->unshiftAutoloader($this, $namespace);
                    
                
File.php https://github.com/testruby/Tine-2.0-Open-Source-Groupware-and-CRM.git | PHP | 473 lines
                    
1<?php
                    
2/**
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: File.php 10020 2009-08-18 14:34:09Z j.fischer@metaways.de $
                    
21 */
                    
190         */
                    
191        if (PHP_INT_SIZE > 4) {
                    
192            $str = $this->_fread(8);
                    
218         */
                    
219        if (PHP_INT_SIZE > 4) {
                    
220            settype($value, 'integer');
                    
251            } else {
                    
252                require_once 'Zend/Search/Lucene/Exception.php';
                    
253                throw new Zend_Search_Lucene_Exception('Long integers lower than -2147483648 (0x80000000) are not supported on 32-bit platforms.');
                    
281        if ($value < (int)0x80000000) {
                    
282            require_once 'Zend/Search/Lucene/Exception.php';
                    
283            throw new Zend_Search_Lucene_Exception('Long integers lower than -2147483648 (0x80000000) are not supported on 32-bit platforms.');
                    
                
upgrade_slims8_akasia.sql.php https://gitlab.com/mucill/sman7 | PHP | 269 lines
                    
1<?php
                    
2
                    
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##########################################################################
                    
                
MaildirFolderTest.php https://github.com/obias/zf2.git | PHP | 444 lines
                    
1<?php
                    
2/**
                    
36 */
                    
37class MaildirFolderTest extends \PHPUnit_Framework_TestCase
                    
38{
                    
203        try {
                    
204            // explicit call of __toString() needed for PHP < 5.2
                    
205            $this->assertEquals($mail->getFolders()->subfolder->__toString(), 'subfolder');
                    
235
                    
236            // explicit call of __toString() needed for PHP < 5.2
                    
237            $found_folders[$folder->__toString()] = $localName;
                    
257
                    
258            // explicit call of __toString() needed for PHP < 5.2
                    
259            $found_folders[$folder->__toString()] = $localName;
                    
277
                    
278            // explicit call of __toString() needed for PHP < 5.2
                    
279            $found_folders[$folder->__toString()] = $localName;
                    
                
ac28db01878361e31b02909532d9.php https://bitbucket.org/AdriVanHoudt/school.git | PHP | 230 lines
                    
1<?php
                    
2
                    
                
CakeRoute.php https://github.com/simkimsia/cake2-practice-app.git | PHP | 506 lines
                    
1<?php
                    
2/**
                    
8 *
                    
9 * PHP5
                    
10 *
                    
10 *
                    
11 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
                    
12 * Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org)
                    
17 * @copyright     Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org)
                    
18 * @link          http://cakephp.org CakePHP(tm) Project
                    
19 * @package       Cake.Routing.Route
                    
19 * @package       Cake.Routing.Route
                    
20 * @since         CakePHP(tm) v 1.3
                    
21 * @license       MIT License (http://www.opensource.org/licenses/mit-license.php)
                    
                
CookieJar.php https://bitbucket.org/Ebozavrik/test-application.git | PHP | 441 lines
                    
1<?php
                    
2/**
                    
17 * @subpackage CookieJar
                    
18 * @version    $Id: CookieJar.php 24856 2012-06-01 01:10:47Z adamlundrigan $
                    
19 * @copyright  Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
                    
25 */
                    
26require_once "Zend/Uri.php";
                    
27/**
                    
29 */
                    
30require_once "Zend/Http/Cookie.php";
                    
31/**
                    
33 */
                    
34require_once "Zend/Http/Response.php";
                    
35
                    
142        } else {
                    
143            require_once 'Zend/Http/Exception.php';
                    
144            throw new Zend_Http_Exception( 'Supplient argument is not a valid cookie string or object' );
                    
                
VarCloner.php https://gitlab.com/riandy_db/self-monitoring | PHP | 324 lines
                    
1<?php
                    
2
                    
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();
                    
164                                } else {
                    
165                                    $h = $hashMask ^ hexdec(substr(spl_object_hash($stub->value), $hashOffset, PHP_INT_SIZE));
                    
166                                }
                    
300        $obj = (object) array();
                    
301        self::$hashOffset = 16 - PHP_INT_SIZE;
                    
302        self::$hashMask = -1;
                    
321
                    
322        self::$hashMask ^= hexdec(substr(spl_object_hash($obj), self::$hashOffset, PHP_INT_SIZE));
                    
323    }
                    
                
ps_perm.php https://github.com/Shigaru/shigaru.git | PHP | 461 lines
                    
1<?php
                    
2if( !defined( '_VALID_MOS' ) && !defined( '_JEXEC' ) ) die( 'Direct Access to '.basename(__FILE__).' is not allowed.' );
                    
4*
                    
5* @version $Id: ps_perm.php 1818 2009-06-23 19:07:21Z soeren_nb $
                    
6* @package VirtueMart
                    
8* @copyright Copyright (C) 2004-2009 soeren - All rights reserved.
                    
9* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php
                    
10* VirtueMart is free software. This version may have been modified pursuant
                    
13* other free or open source software licenses.
                    
14* See /administrator/components/com_virtuemart/COPYRIGHT.php for copyright notices and details.
                    
15*
                    
240		if( $size==1 ) {
                    
241			$values[0] = $VM_LANG->_('PHPSHOP_SELECT');
                    
242		}
                    
317	/**
                    
318	 * Function from an old Mambo phpgacl integration function
                    
319	 * @deprecated (but necessary, sigh!)
                    
                
UpgradeComponentGroup.php https://github.com/orchestra-io/sample-openx.git | PHP | 320 lines
                    
1<?php
                    
2
                    
24+---------------------------------------------------------------------------+
                    
25$Id: UpgradeComponentGroup.php 30820 2009-01-13 19:02:17Z andrew.hill $
                    
26*/
                    
34
                    
35require_once MAX_PATH.'/lib/OA/Upgrade/Upgrade.php';
                    
36
                    
60        /*$this->nobackupsFile    = MAX_PATH.$pluginPath.'NOBACKUPS';
                    
61        $this->postTaskFile     = MAX_PATH.$pluginPath.'TASKS.php';*/
                    
62
                    
                
TestData.php https://github.com/orchestra-io/sample-openx.git | PHP | 301 lines
                    
1<?php
                    
2/*
                    
23+---------------------------------------------------------------------------+
                    
24$Id: TestData.php 41443 2009-08-13 09:19:29Z matteo.beccati $
                    
25*/
                    
31
                    
32require_once MAX_PATH . '/lib/OA/Dal.php';
                    
33require_once MAX_PATH . '/lib/OA/Dll.php';
                    
244        $doBanners->htmltemplate    = "<script type='text/javascript'><!--//<![CDATA[
                    
245   var m3_u = (location.protocol=='https:'?'https://ads.openx.org/delivery/ajs.php':'http://ads.openx.org/delivery/ajs.php');
                    
246   var m3_r = Math.floor(Math.random()*99999999999);
                    
257   document.write (\"'><\\/scr\"+\"ipt>\");
                    
258//]]>--></script><noscript><a href='http://ads.openx.org/delivery/ck.php?n=abc986b1&amp;cb=INSERT_RANDOM_NUMBER_HERE' target='_blank'><img src='http://ads.openx.org/delivery/avw.php?zoneid=9&amp;cb=INSERT_RANDOM_NUMBER_HERE&amp;n=abc986b1' border='0' alt='' /></a></noscript>";
                    
259
                    
260        $doBanners->htmlcache    = "<script type='text/javascript'><!--//<![CDATA[
                    
261   var m3_u = (location.protocol=='https:'?'https://ads.openx.org/delivery/ajs.php':'http://ads.openx.org/delivery/ajs.php');
                    
262   var m3_r = Math.floor(Math.random()*99999999999);
                    
                
edit.php https://github.com/thisduck/wordpress.git | PHP | 294 lines
                    
29
                    
30	if ( strpos($sendback, 'post.php') !== false )
                    
31		$sendback = admin_url($post_new_file);
                    
114	$submenu_file = "edit.php?post_type=$post_type";
                    
115	$post_new_file = "post-new.php?post_type=$post_type";
                    
116} else {
                    
116} else {
                    
117	$parent_file = 'edit.php';
                    
118	$submenu_file = 'edit.php';
                    
163<?php screen_icon(); ?>
                    
164<h2><?php echo esc_html( $post_type_object->labels->name ); ?> <a href="<?php echo $post_new_file ?>" class="button add-new-h2"><?php echo esc_html($post_type_object->labels->add_new); ?></a> <?php
                    
165if ( isset($_REQUEST['s']) && $_REQUEST['s'] )
                    
170if ( isset($_REQUEST['posted']) && $_REQUEST['posted'] ) : $_REQUEST['posted'] = (int) $_REQUEST['posted']; ?>
                    
171<div id="message" class="updated"><p><strong><?php _e('This has been saved.'); ?></strong> <a href="<?php echo get_permalink( $_REQUEST['posted'] ); ?>"><?php _e('View Post'); ?></a> | <a href="<?php echo get_edit_post_link( $_REQUEST['posted'] ); ?>"><?php _e('Edit Post'); ?></a></p></div>
                    
172<?php $_SERVER['REQUEST_URI'] = remove_query_arg(array('posted'), $_SERVER['REQUEST_URI']);
                    
                
lang.php https://gitlab.com/michield/dokuwiki | PHP | 188 lines
                    
1<?php
                    
2/**
                    
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)';
                    
102$lang['locktime']              = 'Oldal-zárolás maximális időtartama (másodperc)';
                    
103$lang['fetchsize']             = 'Maximális méret (bájtban), amit a fetch.php letölthet kívülről';
                    
104$lang['notify']                = 'Az oldal-változásokat erre az e-mail címre küldje';
                    
117$lang['sitemap']               = 'Hány naponként generáljunk Google sitemap-ot?';
                    
118$lang['broken_iua']            = 'Az ignore_user_abort függvény hibát dob a rendszereden? Ez nem működő keresési indexet eredményezhet. Az IIS+PHP/CGI összeállításról tudjuk, hogy hibát dob. Lásd a <a href="http://bugs.splitbrain.org/?do=details&amp;task_id=852">Bug 852</a> oldalt a további infóért.';
                    
119$lang['xsendfile']             = 'Használjuk az X-Sendfile fejlécet, hogy a webszerver statikus állományokat tudjon küldeni? A webszervernek is támogatnia kell ezt a funkciót.';
                    
140$lang['proxy____except']       = 'URL szabály azokra a webcímekre, amit szeretnél, hogy ne kezeljen a proxy.';
                    
141$lang['safemodehack']          = 'A PHP safemode beállítás megkerülésének engedélyezése';
                    
142$lang['ftp____host']           = 'FTP szerver a safemode megkerüléshez';
                    
                
acpiphp_ibm.c https://gitlab.com/karrei/imx6-kernel | C | 487 lines
                    
27
                    
28#define pr_fmt(fmt) "acpiphp_ibm: " fmt
                    
29
                    
39
                    
40#include "acpiphp.h"
                    
41#include "../pci.h"
                    
104		u32 lvl, void *context, void **rv);
                    
105static int __init ibm_acpiphp_init(void);
                    
106static void __exit ibm_acpiphp_exit(void);
                    
117};
                    
118static struct acpiphp_attention_info ibm_attention_info =
                    
119{
                    
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.
                    
                
hostkreskoweczki.py https://gitlab.com/Ghoz/iptvplayer-for-e2 | Python | 318 lines
                    
60        self.MAIN_URL      = 'http://www.kreskoweczki.pl/'
                    
61        self.SEARCH_URL    = self.MAIN_URL + 'search.php?keywords='
                    
62        self.DEFAULT_ICON  = "http://www.kreskoweczki.pl/uploads/custom-logo.png"
                    
179            
                    
180        videoData = self.cm.ph.getSearchGroups(videoUrl, "/embed/proxy[^.]+?.php")
                    
181        if '' != videoData:
                    
                
WizardController.php https://bitbucket.org/chung/buyforher.git | PHP | 464 lines
                    
1<?php
                    
2/**
                    
9 * It is also available through the world-wide-web at this URL:
                    
10 * http://opensource.org/licenses/osl-3.0.php
                    
11 * If you did not receive a copy of the license and are unable to
                    
23 * @copyright   Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
                    
24 * @license     http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
                    
25 */
                    
                
bltGrHairs.c https://bitbucket.org/vrrm/brl-cad-copy-for-fast-history-browsing-in-git.git | C | 544 lines
                    
141static void
                    
142TurnOnHairs(graphPtr, chPtr)
                    
143    Graph *graphPtr;
                    
149	}
                    
150	XDrawSegments(graphPtr->display, Tk_WindowId(graphPtr->tkwin),
                    
151	    chPtr->gc, chPtr->segArr, 2);
                    
234    if (!graphPtr->crosshairs->hidden) {
                    
235	TurnOnHairs(graphPtr, graphPtr->crosshairs);
                    
236    }
                    
243    if (!graphPtr->crosshairs->hidden) {
                    
244	TurnOffHairs(graphPtr->tkwin, graphPtr->crosshairs);
                    
245    }
                    
325
                    
326    if (Blt_ConfigureWidgetComponent(graphPtr->interp, graphPtr->tkwin,
                    
327	    "crosshairs", "Crosshairs", configSpecs, 0, (char **)NULL,
                    
                
linear_solver.h https://gitlab.com/khumba/cglab | C Header | 478 lines
                    
27 *    YEAR=November 2005,
                    
28 *    URL=http://www.loria.fr/~levy/php/article.php?pub=../publications/papers/2005/Numerics
                    
29 * }
                    
                
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 );
                    
224            //set defaults for pledgeBlock values.
                    
225            require_once 'CRM/Pledge/BAO/PledgeBlock.php';
                    
226            $pledgeBlockParams = array( 'entity_id'    => $this->_id,
                    
237            }
                    
238            require_once 'CRM/Core/BAO/CustomOption.php';
                    
239            if ( CRM_Utils_Array::value( 'pledge_frequency_unit', $pledgeBlockDefaults ) ) {
                    
                
Resource.php https://github.com/rakesh-sankar/PHP-Framework-Benchmark.git | PHP | 467 lines
                    
1<?php
                    
2/**
                    
18 * @copyright  Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
                    
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
                    
23/** Zend_Loader_Autoloader_Interface */
                    
24require_once 'Zend/Loader/Autoloader/Interface.php';
                    
25
                    
73        if (!is_array($options)) {
                    
74            require_once 'Zend/Loader/Exception.php';
                    
75            throw new Zend_Loader_Exception('Options must be passed to resource loader constructor');
                    
83        ) {
                    
84            require_once 'Zend/Loader/Exception.php';
                    
85            throw new Zend_Loader_Exception('Resource loader requires both a namespace and a base path for initialization');
                    
90        }
                    
91        require_once 'Zend/Loader/Autoloader.php';
                    
92        Zend_Loader_Autoloader::getInstance()->unshiftAutoloader($this, $namespace);
                    
                
Command.php https://github.com/notbrain/symfony-sandbox.git | PHP | 512 lines
                    
1<?php
                    
2
                    
378            $name,
                    
379            $_SERVER['PHP_SELF'].' '.$name
                    
380        );
                    
                
cpanel.php https://github.com/andrewgs/practice-book.ru.git | PHP | 320 lines
                    
111										<option value="0">Выберите группу</option>
                    
112									<?php for($i=0;$i<count($unitgroups);$i++):?>
                    
113										<option value="<?=$unitgroups[$i]['prg_id'];?>"><?=$unitgroups[$i]['prg_title'];?></option>
                    
141												<td class="col-price-company"><?=$units[$i]['cu_price'];?></td>
                    
142												<td class=""><strong><?=$units[$i]['cu_priceunit'];?><?php if($units[$i]['cu_unitscode']):?>/<?=$units[$i]['cu_unitscode'];?><?php endif;?></strong></td>
                    
143											</tr>
                    
183										</div>
                    
184									<?php endif; ?>
                    
185									<?php if($representative[$i]['uicq']): ?>
                    
189										</div>
                    
190									<?php endif; ?>
                    
191									<div class="clear"></div>
                    
192								</div>
                    
193							<?php endfor; ?>
                    
194							</div>
                    
                
Pager.php https://bitbucket.org/areeves42/openfisma.git | PHP | 576 lines
                    
1<?php
                    
2/*
                    
18 * and is licensed under the LGPL. For more information, see
                    
19 * <http://www.phpdoctrine.org>.
                    
20 */
                    
27 * @subpackage  Pager
                    
28 * @license     http://www.opensource.org/licenses/lgpl-license.php LGPL
                    
29 * @version     $Revision$
                    
29 * @version     $Revision$
                    
30 * @link        www.phpdoctrine.org
                    
31 * @since       0.9
                    
                
phpBB.php https://bitbucket.org/adatux_/uakami.git | PHP | 538 lines
                    
1<?php
                    
2
                    
3/**
                    
4 * Implementation of phpBB converter.
                    
5 */
                    
5 */
                    
6class phpBB extends BBP_Converter_Base {
                    
7	function __construct() {
                    
357			'to_fieldname' => '_bbp_class',
                    
358			'default'      => 'phpBB'
                    
359		);
                    
472		 * We're kind of forced to use MD5 here since it's the only
                    
473		 * cryptographic primitive available in all versions of PHP
                    
474		 * currently in use.  To implement our own low-level crypto
                    
474		 * currently in use.  To implement our own low-level crypto
                    
475		 * in PHP would result in much worse performance and
                    
476		 * consequently in lower iteration counts and hashes that are
                    
                
class-wp-terms-list-table.php https://gitlab.com/haque.mdmanzurul/barongbarong | PHP | 454 lines
                    
1<?php
                    
2/**
                    
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
                    
368
                    
369		return "<a href='" . esc_url ( add_query_arg( $args, 'edit.php' ) ) . "'>$count</a>";
                    
370	}
                    
                
index.php https://github.com/tlezotte/HCR.git | PHP | 342 lines
                    
19 */
                    
20include_once('../../include/Timer.php');
                    
21$starttime = StartLoadTimer();
                    
145                            <tr>
                    
146                              <td nowrap><a href="../index.php" class="off">Home</a></td>
                    
147                              <td width="30" valign="middle" nowrap><div align="center"><img src="../../images/Dot.gif" width="10" height="10"></div></td>	
                    
148							  <!--						
                    
149                              <td nowrap><a href="../Help/CER/index.php" class="off">Capital Expense</a></td>
                    
150                              <td width="20" valign="middle" nowrap><div align="center"><img src="../images/Dot.gif" width="10" height="10"></div></td>
                    
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>
                    
                
EditView.php https://github.com/joshbhamilton/sugar.git | PHP | 349 lines
                    
1<?php
                    
2if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
                    
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();
                    
172$xtpl->assign("CANCEL_SCRIPT", $cancel_script);
                    
173$xtpl->assign("PRINT_URL", "index.php?".$GLOBALS['request_string']);
                    
174$xtpl->assign("JAVASCRIPT", get_set_focus_js() . $quicksearch_js);
                    
176if(!is_file($GLOBALS['sugar_config']['cache_dir'] . 'jsLanguage/' . $GLOBALS['current_language'] . '.js')) {
                    
177    require_once('include/language/jsLanguage.php');
                    
178    jsLanguage::createAppStringsCache($GLOBALS['current_language']);
                    
                
admin.php https://github.com/Brucee/pyrocms.git | PHP | 562 lines
                    
1<?php defined('BASEPATH') OR exit('No direct script access allowed');
                    
2/**
                    
543			
                    
544					<li id="page_<?php echo $page['id']; ?>">
                    
545						<div>
                    
545						<div>
                    
546							<a href="#" rel="<?php echo $page['id'] . '">' . $page['title']; ?></a>
                    
547						</div>
                    
548					
                    
549				<?php if(isset($page['children'])): ?>
                    
550						<ol>
                    
550						<ol>
                    
551								<?php $this->tree_builder($page); ?>
                    
552						</ol>
                    
553					</li>
                    
554				<?php else: ?>
                    
555					</li>
                    
                
Resource.php https://github.com/ayhanbaris/Zend-Framework-Skeleton.git | PHP | 467 lines
                    
1<?php
                    
2/**
                    
18 * @copyright  Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
                    
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
                    
23/** Zend_Loader_Autoloader_Interface */
                    
24require_once 'Zend/Loader/Autoloader/Interface.php';
                    
25
                    
73        if (!is_array($options)) {
                    
74            require_once 'Zend/Loader/Exception.php';
                    
75            throw new Zend_Loader_Exception('Options must be passed to resource loader constructor');
                    
83        ) {
                    
84            require_once 'Zend/Loader/Exception.php';
                    
85            throw new Zend_Loader_Exception('Resource loader requires both a namespace and a base path for initialization');
                    
90        }
                    
91        require_once 'Zend/Loader/Autoloader.php';
                    
92        Zend_Loader_Autoloader::getInstance()->unshiftAutoloader($this, $namespace);
                    
                
zone.php https://bitbucket.org/sandeepbhaskar/inspiredliving.git | PHP | 441 lines
                    
1<?php 
                    
2class ControllerLocalisationZone extends Controller {
                    
                
File.php https://github.com/Enrise/Zend.git | PHP | 473 lines
                    
1<?php
                    
2/**
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: File.php 24593 2012-01-05 20:35:02Z matthew $
                    
21 */
                    
190         */
                    
191        if (PHP_INT_SIZE > 4) {
                    
192            $str = $this->_fread(8);
                    
218         */
                    
219        if (PHP_INT_SIZE > 4) {
                    
220            settype($value, 'integer');
                    
251            } else {
                    
252                // require_once 'Zend/Search/Lucene/Exception.php';
                    
253                throw new Zend_Search_Lucene_Exception('Long integers lower than -2147483648 (0x80000000) are not supported on 32-bit platforms.');
                    
281        if ($value < (int)0x80000000) {
                    
282            // require_once 'Zend/Search/Lucene/Exception.php';
                    
283            throw new Zend_Search_Lucene_Exception('Long integers lower than -2147483648 (0x80000000) are not supported on 32-bit platforms.');
                    
                
ThreeZero.php https://github.com/ksecor/civicrm.git | PHP | 271 lines
                    
1<?php
                    
2
                    
35
                    
36require_once 'CRM/Upgrade/Form.php';
                    
37require_once 'CRM/Core/OptionGroup.php';
                    
37require_once 'CRM/Core/OptionGroup.php';
                    
38require_once 'CRM/Core/OptionValue.php';
                    
39
                    
94        if (!CRM_Core_DAO::checkFieldExists('civicrm_report_instance', 'description')) {
                    
95            require_once 'CRM/Core/DAO/Domain.php';
                    
96            $domain = new CRM_Core_DAO_Domain;
                    
109
                    
110        //We execute some part of php after sql and then again sql
                    
111        //So using conditions for skipping some part of sql CRM-4575
                    
200        //check whether {contact.name} is set in mailing labels
                    
201        require_once 'CRM/Core/BAO/Preferences.php';
                    
202        $mailingFormat    = CRM_Core_BAO_Preferences::value( 'mailing_format' );
                    
                
Tab.php https://github.com/ksecor/civicrm.git | PHP | 344 lines
                    
1<?php
                    
2
                    
35
                    
36require_once 'CRM/Contact/Page/View.php';
                    
37
                    
94    {
                    
95        require_once 'CRM/Contribute/BAO/Contribution.php';
                    
96
                    
                
UploadHandler.php https://github.com/zikula-modules/Reviews.git | PHP | 404 lines
                    
1<?php
                    
2/**
                    
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));
                    
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>.
                    
548	 *
                    
549	 * @see     http://php.net/manual/en/datetime.construct.php
                    
550	 * @param   string  datetime_str     datetime string
                    
                
class-wpb-map.php https://gitlab.com/oxidigitaluser/liguelista | PHP | 563 lines
                    
1<?php
                    
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.
                    
541	/**
                    
542	 * Sorting method for WPBMap::generateUserData method. Called by usort php function.
                    
543	 * @deprecated - use Vc_Sort::sortByKey since 4.4
                    
                
Layout.php https://github.com/nationalfield/symfony.git | PHP | 490 lines
                    
1<?php
                    
2/*
                    
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
                    
2// Distributed under the MIT/X11 software license, see the accompanying
                    
3// file COPYING or http://www.opensource.org/licenses/mit-license.php.
                    
4
                    
                
File.php https://github.com/mwturnage/frapi-1.git | PHP | 473 lines
                    
1<?php
                    
2/**
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: File.php 20096 2010-01-06 02:05:09Z bkarwin $
                    
21 */
                    
190         */
                    
191        if (PHP_INT_SIZE > 4) {
                    
192            $str = $this->_fread(8);
                    
218         */
                    
219        if (PHP_INT_SIZE > 4) {
                    
220            settype($value, 'integer');
                    
251            } else {
                    
252                // require_once 'Zend/Search/Lucene/Exception.php';
                    
253                throw new Zend_Search_Lucene_Exception('Long integers lower than -2147483648 (0x80000000) are not supported on 32-bit platforms.');
                    
281        if ($value < (int)0x80000000) {
                    
282            // require_once 'Zend/Search/Lucene/Exception.php';
                    
283            throw new Zend_Search_Lucene_Exception('Long integers lower than -2147483648 (0x80000000) are not supported on 32-bit platforms.');
                    
                
ExtensionServiceTest.php https://github.com/TYPO3/TYPO3.CMS.git | PHP | 367 lines
                    
1<?php
                    
2
                    
20use Prophecy\Argument;
                    
21use Prophecy\PhpUnit\ProphecyTrait;
                    
22use Prophecy\Prophecy\ObjectProphecy;
                    
                
install-location.php https://github.com/nsswaga/OSClass.git | PHP | 418 lines
                    
10require_once LIB_PATH . 'osclass/db.php';
                    
11require_once LIB_PATH . 'osclass/classes/DAO.php';
                    
12require_once LIB_PATH . 'osclass/helpers/hDatabaseInfo.php';
                    
12require_once LIB_PATH . 'osclass/helpers/hDatabaseInfo.php';
                    
13require_once LIB_PATH . 'osclass/install-functions.php';
                    
14require_once LIB_PATH . 'osclass/formatting.php';
                    
96    try{
                    
97        require_once LIB_PATH . 'phpmailer/class.phpmailer.php' ;
                    
98        $mail = new PHPMailer(true) ;
                    
113        }
                    
114    }catch(phpmailerException $exception) {
                    
115
                    
403
                    
404    require_once ABS_PATH . 'oc-includes/osclass/model/Country.php';
                    
405    require_once ABS_PATH . 'oc-includes/osclass/model/Region.php';
                    
                
class-inl.h https://gitlab.com/0072016/0072016-PHP.LLC | C Header | 522 lines
                    
2   +----------------------------------------------------------------------+
                    
3   | HipHop for PHP                                                       |
                    
4   +----------------------------------------------------------------------+
                    
6   +----------------------------------------------------------------------+
                    
7   | This source file is subject to version 3.01 of the PHP license,      |
                    
8   | that is bundled with this package in the file LICENSE, and is        |
                    
9   | available through the world-wide-web at the following url:           |
                    
10   | http://www.php.net/license/3_01.txt                                  |
                    
11   | If you did not receive a copy of the PHP license and are unable to   |
                    
12   | obtain it through the world-wide-web, please send a note to          |
                    
13   | license@php.net so we can mail you a copy immediately.               |
                    
14   +----------------------------------------------------------------------+
                    
16
                    
17#ifndef incl_HPHP_VM_CLASS_INL_H_
                    
18#error "class-inl.h should only be included by class.h"
                    
                
Value.php https://github.com/jakedorst/ch3-dev-preview.git | PHP | 401 lines
                    
1<?php
                    
2/**
                    
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
                    
27/** Zend_XmlRpc_Value_Scalar */
                    
28require_once 'Zend/XmlRpc/Value/Scalar.php';
                    
29
                    
30/** Zend_XmlRpc_Value_Base64 */
                    
31require_once 'Zend/XmlRpc/Value/Base64.php';
                    
32
                    
33/** Zend_XmlRpc_Value_Boolean */
                    
34require_once 'Zend/XmlRpc/Value/Boolean.php';
                    
35
                    
                
Value.php https://github.com/dragonmantank/kiroku.git | PHP | 401 lines
                    
1<?php
                    
2/**
                    
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
                    
27/** Zend_XmlRpc_Value_Scalar */
                    
28require_once 'Zend/XmlRpc/Value/Scalar.php';
                    
29
                    
30/** Zend_XmlRpc_Value_Base64 */
                    
31require_once 'Zend/XmlRpc/Value/Base64.php';
                    
32
                    
33/** Zend_XmlRpc_Value_Boolean */
                    
34require_once 'Zend/XmlRpc/Value/Boolean.php';
                    
35
                    
                
BaseFcvalinmold.php https://github.com/cidesa/siga-universitario.git | PHP | 714 lines
                    
1<?php
                    
2
                    
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	{
                    
598	
                    
599	public function fromArray($arr, $keyType = BasePeer::TYPE_PHPNAME)
                    
600	{
                    
                
PyDown.py https://github.com/jedie/python-code-snippets.git | Python | 459 lines
                    
12__author__  = "Jens Diemer (www.jensdiemer.de)"
                    
13__license__ = "GNU General Public License v2 or above - http://www.opensource.org/licenses/gpl-license.php"
                    
14__url__     = "http://www.jensdiemer.de/Programmieren/Python/PyDown"
                    
                
lang.php https://github.com/brianshaler/PHXdata.git | PHP | 186 lines
                    
1<?php
                    
2/**
                    
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>)';
                    
101$lang['locktime']              = 'Idade máxima para locks (seg.)';
                    
102$lang['fetchsize']             = 'Tamanho máximo (bytes) que o fetch.php pode transferir do exterior';
                    
103$lang['notify']                = 'Enviar notificações de mudanças para este endereço de email';
                    
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.';
                    
                
Location.js https://github.com/fastner/qooxdoo.git | JavaScript | 406 lines
                    
11     LGPL: http://www.gnu.org/licenses/lgpl.html
                    
12     EPL: http://www.eclipse.org/org/documents/epl-v10.php
                    
13     See the LICENSE file in the project's top-level directory for details.
                    
                
display-debug.page.php https://github.com/evadne/wp-e-commerce.git | PHP | 365 lines
                    
1<?php
                    
2/**
                    
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>
                    
52			<li>
                    
53				<a href='<?php echo $fixpage; ?>'>Fix Purchaselogs</a>
                    
54			</li>
                    
55		</ul>
                    
56		<?php
                    
57		if (defined('WPSC_ADD_DEBUG_PAGE') && (constant('WPSC_ADD_DEBUG_PAGE') == true)) {
                    
79			</ul>
                    
80			<?php
                    
81		}
                    
                
index.php https://github.com/hregis/dolibarr.git | PHP | 427 lines
                    
1<?php
                    
2/* Copyright (C) 2001-2006	Rodolphe Quiedeville	<rodolphe@quiedeville.org>
                    
22/**
                    
23 *	 \file	   htdocs/fourn/commande/index.php
                    
24 *	 \ingroup	commande fournisseur
                    
27
                    
28require '../../main.inc.php';
                    
29require_once DOL_DOCUMENT_ROOT.'/core/class/html.formfile.class.php';
                    
29require_once DOL_DOCUMENT_ROOT.'/core/class/html.formfile.class.php';
                    
30require_once DOL_DOCUMENT_ROOT.'/fourn/class/fournisseur.commande.class.php';
                    
31require_once DOL_DOCUMENT_ROOT.'/contact/class/contact.class.php';
                    
104
                    
105	include DOL_DOCUMENT_ROOT.'/theme/'.$conf->theme.'/theme_vars.inc.php';
                    
106
                    
141			print '<td>'.$commandestatic->LibStatut($status, 0).'</td>';
                    
142			print '<td class="right"><a href="list.php?statut='.$status.'">'.(isset($vals[$status]) ? $vals[$status] : 0).'</a></td>';
                    
143			print "</tr>\n";
                    
                
ClassLoader.php https://gitlab.com/nmhieucoder/laravel_tintuc | PHP | 481 lines
                    
1<?php
                    
2
                    
39 * @author Jordi Boggiano <j.boggiano@seld.be>
                    
40 * @see    https://www.php-fig.org/psr/psr-0/
                    
41 * @see    https://www.php-fig.org/psr/psr-4/
                    
376
                    
377        $file = $this->findFileWithExtension($class, '.php');
                    
378
                    
                
general.php https://gitlab.com/digaotinfo/agenciaabear.com.br | PHP | 225 lines
                    
5        <i class="icon-hand-right"></i>
                    
6        <span class="kopa-section-title"><?php _e('Logo, Favicon, Apple Icon', kopa_get_domain()); ?></span>
                    
7    </div><!--kopa-box-head-->
                    
11
                    
12            <span class="kopa-component-title"><?php _e('Logo', kopa_get_domain()); ?></span>
                    
13            <p class="kopa-desc"><?php _e('Upload your own logo.', kopa_get_domain()); ?></p>                         
                    
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
                    
                
store.php https://github.com/marxjohnson/moodle.git | PHP | 362 lines
                    
1<?php
                    
2// This file is part of Moodle - http://moodle.org/
                    
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);
                    
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) {
                    
                
class.php https://gitlab.com/neuser/bitrix-core | PHP | 658 lines
                    
1<?php
                    
2if (!defined('B_PROLOG_INCLUDED') || B_PROLOG_INCLUDED !== true) die();
                    
12
                    
13require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/classes/general/wizard.php"); //Wizard API
                    
14require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/install/wizard/utils.php"); //Wizard utils
                    
14require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/install/wizard/utils.php"); //Wizard utils
                    
15require_once("tools/bsmpackage.php");
                    
16require_once("tools/modulechecker.php");
                    
16require_once("tools/modulechecker.php");
                    
17require_once("tools/bitrixvmchecker.php");
                    
18require_once("tools/agentchecker.php");
                    
18require_once("tools/agentchecker.php");
                    
19require_once("tools/pushchecker.php");
                    
20require_once("tools/sitepatcher.php");
                    
149	{
                    
150		/** @noinspection PhpVariableNamingConventionInspection */
                    
151		global $APPLICATION;
                    
                
orderdocument.php https://gitlab.com/neuser/bitrix-core | PHP | 621 lines
                    
1<?php
                    
2namespace Bitrix\Sale\Exchange\OneC;
                    
                
backuplib.php https://github.com/cwaclawik/moodle.git | PHP | 337 lines
                    
1<?PHP //$Id$
                    
2    //This php script contains all the stuff to backup/restore
                    
240        // $excluded_tags : fields which will NOT be backed up from the records
                    
241        // $more_backup   : optional PHP code to be eval(uated) for each record
                    
242        // If any of the "fwrite" statements fail,
                    
                
Statement.php https://github.com/cosmocommerce/magento-mirror.git | PHP | 488 lines
                    
1<?php
                    
2/**
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: Statement.php 24790 2012-05-10 12:28:51Z mcleod@spaceweb.nl $
                    
21 */
                    
25 */
                    
26#require_once 'Zend/Db.php';
                    
27
                    
30 */
                    
31#require_once 'Zend/Db/Statement/Interface.php';
                    
32
                    
150                     */
                    
151                    #require_once 'Zend/Db/Statement/Exception.php';
                    
152                    throw new Zend_Db_Statement_Exception("Invalid bind-variable position '$val'");
                    
158                     */
                    
159                    #require_once 'Zend/Db/Statement/Exception.php';
                    
160                    throw new Zend_Db_Statement_Exception("Invalid bind-variable name '$val'");
                    
                
fckeditor.css https://gitlab.com/ptisky/API_prestashop | CSS | 536 lines
                    
266span.fileFlash, span.fileVideo, span.filePicture,

                    
267span.filePPT, span.fileExcel, span.filePhp,

                    
268span.fileMusic, span.fileExe, span.fileAcrobat,

                    
289span.fileExcel{background-image:url(../images/small_icon/fileExcel.png);}

                    
290span.filePhp{background-image:url(../images/small_icon/filePhp.png);}

                    
291span.fileMusic{background-image:url(../images/small_icon/fileMusic.png);}

                    
301dt.fileFlash, dt.fileVideo,

                    
302dt.filePPT, dt.fileExcel, dt.filePhp,

                    
303dt.fileMusic, dt.fileExe, dt.fileAcrobat,

                    
328dt.fileExcel{background-image:url(../images/big_icon/fileExcel.png);}

                    
329dt.filePhp{background-image:url(../images/big_icon/filePhp.png);}

                    
330dt.fileMusic{background-image:url(../images/big_icon/fileMusic.png);}

                    
                
imsenterprise_test.php https://bitbucket.org/kudutest1/moodlegit.git | PHP | 327 lines
                    
1<?php
                    
2// This file is part of Moodle - http://moodle.org/
                    
20 * @package    enrol_imsenterprise
                    
21 * @category   phpunit
                    
22 * @copyright  2012 David Monllaó
                    
28global $CFG;
                    
29require_once($CFG->dirroot . '/enrol/imsenterprise/locallib.php');
                    
30require_once($CFG->dirroot . '/enrol/imsenterprise/lib.php');
                    
35 * @package    enrol_imsenterprise
                    
36 * @category   phpunit
                    
37 * @copyright  2012 David Monllaó
                    
                
index.php https://bitbucket.org/kudutest1/moodlegit.git | PHP | 336 lines
                    
1<?php
                    
2
                    
15
                    
16require_once('../../../config.php');
                    
17require_once($CFG->libdir.'/adminlib.php');
                    
96
                    
97<form method="post" action="index.php">
                    
98  <div>
                    
98  <div>
                    
99    <label class="accesshide" for="keyword_el"><?php print_string('spamkeyword', 'tool_spamcleaner') ?></label>
                    
100    <input type="text" name="keyword" id="keyword_el" value="<?php p($keyword) ?>" />
                    
100    <input type="text" name="keyword" id="keyword_el" value="<?php p($keyword) ?>" />
                    
101    <input type="hidden" name="sesskey" value="<?php echo sesskey();?>" />
                    
102    <input type="submit" value="<?php echo get_string('spamsearch', 'tool_spamcleaner')?>" />
                    
104</form>
                    
105<p><?php echo get_string('spameg', 'tool_spamcleaner');?></p>
                    
106
                    
                
PropelPager.php https://github.com/1989gaurav/Propel.git | PHP | 597 lines
                    
1<?php
                    
2
                    
15 *
                    
16 *  require_once 'propel/util/PropelPager.php';
                    
17 *  require_once 'PEACH/Propel/Poem/poemPeer.php';
                    
                
index.php https://bitbucket.org/kudutest/moodlegit.git | PHP | 428 lines
                    
1<?php
                    
2// This file is part of Moodle - http://moodle.org/
                    
25
                    
26require('../../config.php');
                    
27require_once($CFG->libdir . '/completionlib.php');
                    
66
                    
67$url = new moodle_url('/report/progress/index.php', array('course'=>$id));
                    
68if ($sort !== '') {
                    
92// nothing to display (no users or no activities)
                    
93$reportsurl = $CFG->wwwroot.'/course/report.php?id='.$course->id;
                    
94$completion = new completion_info($course);
                    
331            '<a href="'.$CFG->wwwroot.'/mod/'.$activity->modname.
                    
332            '/view.php?id='.$activity->id.'" title="' . $formattedactivityname . '">'.
                    
333            '<img src="'.$OUTPUT->pix_url('icon', $activity->modname).'" alt="'.
                    
357    } else {
                    
358        print '<tr><th scope="row"><a href="'.$CFG->wwwroot.'/user/view.php?id='.
                    
359            $user->id.'&amp;course='.$course->id.'">'.fullname($user).'</a></th>';
                    
                
addons_modules.php https://bitbucket.org/mbaily/tremain.git | PHP | 468 lines
                    
1<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');
                    
2/**
                    
186			// Send version to update class and let it do any required work
                    
187			if ($this->input->get('check_updates') && $status == 'installed' && file_exists($this->installed_modules[$module]['path'].'upd.'.$module.'.php'))
                    
188			{
                    
188			{
                    
189				require $this->installed_modules[$module]['path'].'upd.'.$module.'.php';
                    
190
                    
324		// Send version to update class and let it do any required work
                    
325		if (file_exists($installed[$module]['path'].'upd.'.$module.'.php'))
                    
326		{
                    
326		{
                    
327			require $installed[$module]['path'].'upd.'.$module.'.php';
                    
328
                    
466
                    
467/* End of file addons_modules.php */
                    
468/* Location: ./system/expressionengine/controllers/cp/addons_modules.php */
                    
                
PerformanceScenarioTest.cpp https://github.com/dumganhar/cocos2d-x.git | C++ | 438 lines
                    
77    listener->onTouchesMoved = CC_CALLBACK_2(ScenarioTest::onTouchesMoved, this);
                    
78    _eventDispatcher->addEventListenerWithSceneGraphPriority(listener, this);
                    
79
                    
                
instances.php https://bitbucket.org/kudutest1/moodlegit.git | PHP | 244 lines
                    
1<?php
                    
2// This file is part of Moodle - http://moodle.org/
                    
25
                    
26require('../config.php');
                    
27
                    
44
                    
45$PAGE->set_url('/enrol/instances.php', array('id'=>$course->id));
                    
46$PAGE->set_pagelayout('admin');
                    
104            echo $OUTPUT->header();
                    
105            $yesurl = new moodle_url('/enrol/instances.php', array('id'=>$course->id, 'action'=>'delete', 'instance'=>$instance->id, 'confirm'=>1,'sesskey'=>sesskey()));
                    
106            $displayname = $plugin->get_instance_name($instance);
                    
158$icount = count($instances);
                    
159$url = new moodle_url('/enrol/instances.php', array('sesskey'=>sesskey(), 'id'=>$course->id));
                    
160foreach ($instances as $instance) {
                    
                
wp-settings.php https://github.com/sharpmachine/wakeupmedia.com.git | PHP | 323 lines
                    
1<?php
                    
2/**
                    
5 *
                    
6 * Allows for some configuration in wp-config.php (see default-constants.php)
                    
7 *
                    
7 *
                    
8 * @internal This file must be parsable by PHP4.
                    
9 *
                    
20// Include files required for initialization.
                    
21require( ABSPATH . WPINC . '/load.php' );
                    
22require( ABSPATH . WPINC . '/default-constants.php' );
                    
61if ( WP_CACHE )
                    
62	WP_DEBUG ? include( WP_CONTENT_DIR . '/advanced-cache.php' ) : @include( WP_CONTENT_DIR . '/advanced-cache.php' );
                    
63
                    
315 *
                    
316 * AJAX requests should use wp-admin/admin-ajax.php. admin-ajax.php can handle requests for
                    
317 * users not logged in.
                    
                
grid.subgrid.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 298 lines
                    
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
                    
                
CheckOut.php https://gitlab.com/vanthanhhoh/devlovebook | PHP | 319 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * Created by PhpStorm.
                    
4 * User: THANH
                    
                
TransducerGraph.ObjectToSetNodeProcessor.html https://github.com/ryantanner/thesis.git | HTML | 259 lines
                    
56<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
                    
57&nbsp;<A HREF="../../../../edu/stanford/nlp/fsm/TransducerGraph.NormalizingGraphProcessor.html" title="class in edu.stanford.nlp.fsm"><B>PREV CLASS</B></A>&nbsp;
                    
58&nbsp;<A HREF="../../../../edu/stanford/nlp/fsm/TransducerGraph.OutputCombiningProcessor.html" title="class in edu.stanford.nlp.fsm"><B>NEXT CLASS</B></A></FONT></TD>
                    
226<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
                    
227&nbsp;<A HREF="../../../../edu/stanford/nlp/fsm/TransducerGraph.NormalizingGraphProcessor.html" title="class in edu.stanford.nlp.fsm"><B>PREV CLASS</B></A>&nbsp;
                    
228&nbsp;<A HREF="../../../../edu/stanford/nlp/fsm/TransducerGraph.OutputCombiningProcessor.html" title="class in edu.stanford.nlp.fsm"><B>NEXT CLASS</B></A></FONT></TD>
                    
                
ZoomPrintController.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 392 lines
                    
29   private EdgesGraphComponent _edgesGraphComponent;
                    
30   private GraphPlugin _plugin;
                    
31   private GraphPrintable _printable;
                    
35
                    
36   public ZoomPrintController(ZoomerXmlBean zoomerXmlBean, PrintXmlBean printXmlBean, EdgesListener edgesListener, GraphPrintable printable, ISession session, GraphPlugin plugin)
                    
37   {
                    
40
                    
41      _panel = new ZoomPrintPanel(new GraphPluginResources(_plugin));
                    
42
                    
223
                    
224            Dimension graphPixelSize = _printable.initPrintNoScaleSinglePage();
                    
225            SaveToFilePageFormat pf = new SaveToFilePageFormat(graphPixelSize);
                    
226
                    
227            BufferedImage img = prepareImage(graphPixelSize.width, graphPixelSize.height);
                    
228            _printable.print(img.getGraphics(), pf, 0);
                    
                
sfValidatorDateTest.php https://github.com/bheneka/gitta.git | PHP | 246 lines
                    
1<?php
                    
2
                    
10
                    
11require_once(dirname(__FILE__).'/../../bootstrap/unit.php');
                    
12
                    
                
sysvmsg.c https://gitlab.com/envieidoc/advancedtomato2 | C | 477 lines
                    
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  +----------------------------------------------------------------------+
                    
146	php_info_print_table_start();
                    
147	php_info_print_table_row(2, "sysvmsg support", "enabled");
                    
148	php_info_print_table_row(2, "Revision", "$Id: adf1d2d6be849c46eed3c3ee6f1cbebd1448d6e5 $");
                    
342
                    
343	messagebuffer = (struct php_msgbuf *) safe_emalloc(maxsize, 1, sizeof(struct php_msgbuf));
                    
344
                    
415
                    
416		/* NB: php_msgbuf is 1 char bigger than a long, so there is no need to
                    
417		 * allocate the extra byte. */
                    
                
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
                    
23 * @copyright  Copyright (c) 2006-2016 X.commerce, Inc. and affiliates (http://www.magento.com)
                    
24 * @license    http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
                    
25 */
                    
                
OLE.php https://bitbucket.org/blackriver/openx.git | PHP | 410 lines
                    
1<?php
                    
2/* vim: set expandtab tabstop=4 shiftwidth=4: */
                    
3// +----------------------------------------------------------------------+
                    
4// | PHP Version 4                                                        |
                    
5// +----------------------------------------------------------------------+
                    
5// +----------------------------------------------------------------------+
                    
6// | Copyright (c) 1997-2002 The PHP Group                                |
                    
7// +----------------------------------------------------------------------+
                    
7// +----------------------------------------------------------------------+
                    
8// | This source file is subject to version 2.02 of the PHP license,      |
                    
9// | that is bundled with this package in the file LICENSE, and is        |
                    
10// | available at through the world-wide-web at                           |
                    
11// | http://www.php.net/license/2_02.txt.                                 |
                    
12// | If you did not receive a copy of the PHP license and are unable to   |
                    
13// | obtain it through the world-wide-web, please send a note to          |
                    
14// | license@php.net so we can mail you a copy immediately.               |
                    
15// +----------------------------------------------------------------------+
                    
                
migration_tables_core_538.php https://bitbucket.org/blackriver/openx.git | PHP | 318 lines
                    
1<?php
                    
2
                    
24+---------------------------------------------------------------------------+
                    
25$Id: migration_tables_core_538.php 81772 2012-09-11 00:07:29Z chris.nutting $
                    
26*/
                    
27
                    
28require_once(MAX_PATH.'/lib/OA/Upgrade/Migration.php');
                    
29
                    
                
pre-check.php https://bitbucket.org/blackriver/openx.git | PHP | 394 lines
                    
222
                    
223    // The general list of built in PHP functions that are required to
                    
224    // run OpenX, apart from the functions:
                    
246    // Prepare error strings, in the simplest possible way
                    
247    $errorString1 = 'The built in PHP function "';
                    
248    $errorString2 = '" is in the "disable_functions" list in your "php.ini" file.';
                    
322
                    
323    // Check PHP version, as use of PHP < 5.1.4 will result in parse errors
                    
324    $errorMessage = "PHP version 5.1.4, or greater, was not detected.";
                    
325    if (function_exists('version_compare')) {
                    
326        $result = version_compare(phpversion(), '5.1.4', '<');
                    
327        if ($result) {
                    
338    $phpMemoryLimit = OX_getMemoryLimitSizeInBytes();
                    
339    if ($phpMemoryLimit > 0 && $phpMemoryLimit < $minimumRequiredMemory) {
                    
340        // The memory limit is too low, but can it be increased?
                    
                
template.php https://gitlab.com/alexprowars/bitrix | PHP | 409 lines
                    
12Loc::loadMessages(__FILE__);
                    
13?><div class="container-fluid"><?php
                    
14if (!empty($arResult['ERRORS']['FATAL']))
                    
393		$javascriptParams = array(
                    
394			"url" => CUtil::JSEscape($this->__component->GetPath().'/ajax.php'),
                    
395			"templateFolder" => CUtil::JSEscape($templateFolder),
                    
399		);
                    
400		$javascriptParams = CUtil::PhpToJSObject($javascriptParams);
                    
401		?>
                    
                
length_class.php https://bitbucket.org/allanxyh/uniquemall.git | PHP | 412 lines
                    
1<?php
                    
2class ControllerLocalisationLengthClass extends Controller {
                    
                
jquery.mask.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 281 lines
                    
9 *
                    
10 * The MIT License (http://www.opensource.org/licenses/mit-license.php)
                    
11 *
                    
                
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 *
                    
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
                    
348	else document.write(unescape(l[i]));}
                    
349	</script><?php
                    
350
                    
591
                    
592/* End of file url_helper.php */
                    
593/* Location: ./system/helpers/url_helper.php */
                    
                
BaseVarDumper.php https://gitlab.com/afzalpotenza/YII_salon | PHP | 272 lines
                    
1<?php
                    
2/**
                    
56        if ($highlight) {
                    
57            $result = highlight_string("<?php\n" . self::$_output, true);
                    
58            self::$_output = preg_replace('/&lt;\\?php<br \\/>/', '', $result, 1);
                    
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.
                    
147     *
                    
148     * It also handles objects by using the PHP functions serialize() and unserialize().
                    
149     *
                    
149     *
                    
150     * PHP 5.4 or above is required to parse the exported value.
                    
151     *
                    
                
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/**
                    
540
                    
541/* End of file MY_url_helper.php */
                    
542/* Location: ./application/helpers/MY_url_helper.php */
                    
                
index.html https://gitlab.com/essere.lab.public/qualitas.class-corpus | HTML | 305 lines
                    
89<br>
                    
90<span class="element"><a href="http://jasperforge.org/scm/viewvc.php/tags/jr-3-7-4/jasperreports/demo/samples/xlsdatasource/?root=jasperreports" target="_blank">Browse Sample Source Files on SVN</a></span>
                    
91<table cellspacing="0" cellpadding="0" border="0" width="100%">
                    
                
override_form.php https://bitbucket.org/kudutest/moodlegit.git | PHP | 266 lines
                    
1<?php
                    
2// This file is part of Moodle - http://moodle.org/
                    
28
                    
29require_once($CFG->libdir . '/formslib.php');
                    
30
                    
101                    // Generate an error.
                    
102                    $link = new moodle_url('/mod/quiz/overrides.php', array('cmid'=>$cm->id));
                    
103                    print_error('groupsnone', 'quiz', $link);
                    
154                    // Generate an error.
                    
155                    $link = new moodle_url('/mod/quiz/overrides.php', array('cmid'=>$cm->id));
                    
156                    print_error('usersnone', 'quiz', $link);
                    
                
Abstract.php https://bitbucket.org/kudutest/moodlegit.git | PHP | 456 lines
                    
1<?php
                    
2/**
                    
24 */
                    
25require_once 'Zend/Validate/Interface.php';
                    
26
                    
151        if (!isset($this->_messageTemplates[$messageKey])) {
                    
152            require_once 'Zend/Validate/Exception.php';
                    
153            throw new Zend_Validate_Exception("No message template exists for key '$messageKey'");
                    
193         */
                    
194        require_once 'Zend/Validate/Exception.php';
                    
195        throw new Zend_Validate_Exception("No property exists by the name '$property'");
                    
330        } else {
                    
331            require_once 'Zend/Validate/Exception.php';
                    
332            throw new Zend_Validate_Exception('Invalid translator specified');
                    
377        } else {
                    
378            require_once 'Zend/Validate/Exception.php';
                    
379            throw new Zend_Validate_Exception('Invalid translator specified');
                    
                
multiple-featured-images.php https://gitlab.com/webkod3r/tripolis | PHP | 374 lines
                    
1<?php
                    
2/*
                    
91		public function kd_admin_init() {		
                    
92			if( strstr($_SERVER['REQUEST_URI'], 'wp-admin/post-new.php') || strstr($_SERVER['REQUEST_URI'], 'wp-admin/post.php') || strstr($_SERVER['REQUEST_URI'], 'wp-admin/media-upload.php')) {
                    
93				wp_enqueue_script(
                    
373
                    
374// Omit closing PHP tag to avoid "Headers already sent" issues.
                    
375
                    
                
Test.php https://bitbucket.org/Nemcio/kloxo-mr.git | PHP | 275 lines
                    
18 * @copyright  1997-2006 The PHP Group
                    
19 * @license    http://www.php.net/license/3_0.txt  PHP License 3.0
                    
20 * @version    CVS: $Id: Test.php,v 1.1.1.1 2009/05/08 18:30:19 root Exp $
                    
38 * @copyright  1997-2006 The PHP Group
                    
39 * @license    http://www.php.net/license/3_0.txt  PHP License 3.0
                    
40 * @version    Release: 1.4.9
                    
79                ),
                    
80                'phpunit' => array(
                    
81                    'shortopt' => 'u',
                    
81                    'shortopt' => 'u',
                    
82                    'doc' => 'Search parameters for AllTests.php, and use that to run phpunit-based tests',
                    
83                ),
                    
85            'doc' => '[testfile|dir ...]
                    
86Run regression tests with PHP\'s regression testing script (run-tests.php).',
                    
87            ),
                    
                
ext_zlib.php https://github.com/tstarling/hiphop-php.git | PHP | 376 lines
                    
1<?hh
                    
2// @generated by docskel.php
                    
3
                    
62 * @param int $encoding_mode - The encoding mode. Can be FORCE_GZIP (the
                    
63 *   default) or FORCE_DEFLATE.   Prior to PHP 5.4.0, using FORCE_DEFLATE
                    
64 *   results in a standard zlib deflated string (inclusive zlib headers)
                    
65 *   after a gzip file header but without the trailing crc32 checksum.   In
                    
66 *   PHP 5.4.0 and later, FORCE_DEFLATE generates RFC 1950 compliant
                    
67 *   output, consisting of a zlib header, the deflated data, and an Adler
                    
                
XmlFileLoader.php https://github.com/thewiredman/symfony.git | PHP | 402 lines
                    
1<?php
                    
2
                    
73
                    
74        $this->container->getParameterBag()->add($xml->parameters->getArgumentsAsPhp('parameter'));
                    
75    }
                    
84            $this->currentDir = dirname($file);
                    
85            $this->import((string) $import['resource'], (Boolean) $import->getAttributeAsPhp('ignore-errors'));
                    
86        }
                    
112                $method = 'set'.str_replace('-', '', $key);
                    
113                $definition->$method((string) $service->getAttributeAsPhp($key));
                    
114            }
                    
120
                    
121        $definition->setArguments($service->getArgumentsAsPhp('argument'));
                    
122
                    
137        foreach ($service->call as $call) {
                    
138            $definition->addMethodCall((string) $call['method'], $call->getArgumentsAsPhp('argument'));
                    
139        }
                    
                
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 .= '?';
                    
                
index.html https://github.com/rti7743/rtilabs.git | HTML | 193 lines
                    
13		<a href="http://d.hatena.ne.jp/rti7743/">お前の血は何色だ!! 4</a><br>
                    
14		技術ネタが多め?:アセンブラ/C++/Windows/PHP/運用インフラ/ etc...<br>
                    
15	<h1>twitter</h1>
                    
60	<a href="http://d.hatena.ne.jp/rti7743/20110213/1297548206">http://d.hatena.ne.jp/rti7743/20110213/1297548206</a><br>
                    
61	<h2>魔法少女好きだったらわかるphp拡張の作り方。</h2>
                    
62	PHP pecl拡張の作り方を説明してみた。<br>
                    
68	<a href="http://d.hatena.ne.jp/rti7743/20110109/1294605380">http://d.hatena.ne.jp/rti7743/20110109/1294605380</a><br>
                    
69	<h2>php 2-2250738585072011e-308 問題</h2>
                    
70	エターナルフォース2-2250738585072011e-308。 phpは死ぬ。<br>
                    
99	<a href="http://d.hatena.ne.jp/rti7743/20100514/1273790621">http://d.hatena.ne.jp/rti7743/20100514/1273790621</a><br>
                    
100	<h2>phpによるベイジアン判定機</h2>
                    
101	<a href="http://d.hatena.ne.jp/rti7743/20100322/1269213158">http://d.hatena.ne.jp/rti7743/20100322/1269213158</a><br>
                    
140	<a href="http://prezi.com/9brwewgcxtr2/javascript/">javascript で遊ぶラムダ式、クロージャ、カリー化</a><br>
                    
141	<a href="http://prezi.com/lsuiaprfasjw/php-session_handler-peclmagica/">php session_handler pecl☆magica</a><br>
                    
142	<a href="http://rtilabs.net/files/2010_12_24/moemoe_css/">萌え萌えCSS</a><br>
                    
                
Alignment.php https://gitlab.com/ptisky/API_prestashop | PHP | 409 lines
                    
22 * @package	PHPExcel_Style
                    
23 * @copyright  Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel)
                    
24 * @license	http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt	LGPL
                    
33 * @package	PHPExcel_Style
                    
34 * @copyright  Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel)
                    
35 */
                    
35 */
                    
36class PHPExcel_Style_Alignment extends PHPExcel_Style_Supervisor implements PHPExcel_IComparable
                    
37{
                    
143	 *		array(
                    
144	 *			'horizontal' => PHPExcel_Style_Alignment::HORIZONTAL_CENTER,
                    
145	 *			'vertical'   => PHPExcel_Style_Alignment::VERTICAL_CENTER,
                    
369	 * @param int $pValue
                    
370	 * @return PHPExcel_Style_Alignment
                    
371	 */
                    
                
paperclip.rb https://github.com/palladius/lovd-by-less.git | Ruby | 244 lines
                    
8# Copyright:: Copyright (c) 2008 thoughtbot, inc.
                    
9# License:: MIT License (http://www.opensource.org/licenses/mit-license.php)
                    
10#
                    
95    #   geometry strings at the ImageMagick website 
                    
96    #   (http://www.imagemagick.org/script/command-line-options.php#resize). Paperclip
                    
97    #   also adds the "#" option (e.g. "50x50#"), which will resize the image to fit maximally 
                    
                
SparqlEngineDb.php https://github.com/drobbins/s3db.git | PHP | 391 lines
                    
1<?php
                    
2require_once RDFAPI_INCLUDE_DIR . 'sparql/SparqlEngine.php';
                    
2require_once RDFAPI_INCLUDE_DIR . 'sparql/SparqlEngine.php';
                    
3require_once RDFAPI_INCLUDE_DIR . 'sparql/SparqlEngineDb/Offsetter.php';
                    
4require_once RDFAPI_INCLUDE_DIR . 'sparql/SparqlEngineDb/QuerySimplifier.php';
                    
4require_once RDFAPI_INCLUDE_DIR . 'sparql/SparqlEngineDb/QuerySimplifier.php';
                    
5require_once RDFAPI_INCLUDE_DIR . 'sparql/SparqlEngineDb/ResultConverter.php';
                    
6require_once RDFAPI_INCLUDE_DIR . 'sparql/SparqlEngineDb/SqlGenerator.php';
                    
6require_once RDFAPI_INCLUDE_DIR . 'sparql/SparqlEngineDb/SqlGenerator.php';
                    
7require_once RDFAPI_INCLUDE_DIR . 'sparql/SparqlEngineDb/SqlMerger.php';
                    
8
                    
167    {
                    
168        require_once RDFAPI_INCLUDE_DIR . 'sparql/SparqlEngineDb/PreparedStatement.php';
                    
169        require_once RDFAPI_INCLUDE_DIR . 'sparql/SparqlEngineDb/Preparator.php';
                    
                
Ini.php https://github.com/studioskylab/Docblox.git | PHP | 293 lines
                    
1<?php
                    
2/**
                    
18 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
19 * @version    $Id: Ini.php 16201 2009-06-21 18:51:15Z thomas $
                    
20 */
                    
25 */
                    
26require_once 'Zend/Config.php';
                    
27
                    
105             */
                    
106            require_once 'Zend/Config/Exception.php';
                    
107            throw new Zend_Config_Exception('Filename is not set');
                    
148                     */
                    
149                    require_once 'Zend/Config/Exception.php';
                    
150                    throw new Zend_Config_Exception("Section '$sectionName' cannot be found in $filename");
                    
182             */
                    
183            require_once 'Zend/Config/Exception.php';
                    
184            throw new Zend_Config_Exception($this->_loadFileErrorStr);
                    
                
attachments.php https://github.com/naderman/phpbb-orchestra.git | PHP | 174 lines
                    
1<?php
                    
2/**
                    
7* @version $Id$
                    
8* @copyright (c) 2005 phpBB Group
                    
9* @license http://opensource.org/licenses/gpl-license.php GNU Public License
                    
15*/
                    
16if (!defined('IN_PHPBB'))
                    
17{
                    
40	'ACP_EXTENSION_GROUPS_EXPLAIN'		=> 'Here you can add, delete, modify or disable your extension groups. Further options include the assignment of a special category to them, changing the download mechanism and defining an upload icon which will be displayed in front of the attachment which belongs to the group.',
                    
41	'ACP_MANAGE_EXTENSIONS_EXPLAIN'		=> 'Here you can manage your allowed extensions. To activate your extensions, please refer to the extension groups management panel. We strongly recommend not to allow scripting extensions (such as <code>php</code>, <code>php3</code>, <code>php4</code>, <code>phtml</code>, <code>pl</code>, <code>cgi</code>, <code>py</code>, <code>rb</code>, <code>asp</code>, <code>aspx</code>, and so forth…).',
                    
42	'ACP_ORPHAN_ATTACHMENTS_EXPLAIN'	=> 'Here you are able to see orphaned files. This happens mostly if users are attaching files but not submitting the post. You are able to delete the files or attach them to existing posts. Attaching to posts requires a valid post ID, you have to determine this ID by yourself. This will assign the already uploaded attachment to the post you entered.',
                    
                
 

Source

Language