100+ results results for 'php defined' (1448 ms)
4 * 5 * PHP versions 4 and 5 6 * 6 * 7 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org) 8 * Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org) 13 * @copyright Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org) 14 * @link http://cakephp.org CakePHP Project 15 * @package cake 16 * @subpackage cake.tests.cases.libs 17 * @since CakePHP(tm) v 1.2.0.5432 18 * @license MIT License (http://www.opensource.org/licenses/mit-license.php) 49 Configure::write('log', false); 50 if (!defined('SIMPLETESTVENDORPATH')) { 51 if (file_exists(APP . DS . 'vendors' . DS . 'simpletest' . DS . 'reporter.php')) {config.php https://bitbucket.org/kudutest1/moodlegit.git | PHP | 258 lines
1<?php 2 2 3defined('MOODLE_INTERNAL') || die(); 4 91 'base' => array( 92 'file' => 'general.php', 93 'regions' => array('side-pre', 'side-post'), 96 'standard' => array( 97 'file' => 'general.php', 98 'regions' => array('side-pre', 'side-post'), 101 'course' => array( 102 'file' => 'general.php', 103 'regions' => array('side-pre', 'side-post'), 107 'coursecategory' => array( 108 'file' => 'general.php', 109 'regions' => array('side-pre', 'side-post'),Date.php https://bitbucket.org/pastor399/newcastleunifc.git | PHP | 299 lines
1<?php 2/** 2/** 3 * @version $Id: Date.php 57540 2012-10-14 18:27:59Z btowles $ 4 * @author RocketTheme http://www.rockettheme.com 13// Check to ensure this file is within the rest of the framework 14defined('ROKCOMMON') or die('Restricted access'); 15 217 * 218 * @param string $format The date format specification string (see {@link PHP_MANUAL#strftime}) 219 * @return a date in a specific format 228 /** 229 * Translates needed strings in for JDate::toFormat (see {@link PHP_MANUAL#strftime}) 230 * 231 * @access protected 232 * @param string $format The date format specification string (see {@link PHP_MANUAL#strftime}) 233 * @param int $time Unix timestampmetaboxes.php https://gitlab.com/webkod3r/tripolis | PHP | 272 lines
127 <?php if ( 'page' == $tab_name && 'product' == $post_type ) : ?> 128 <li<?php echo $class_active; ?>><a href="<?php echo $tab_name; ?>"><?php echo $tabs_names[$post_type]; ?></a></li> 129 <?php else : ?> 162 <div class="pyre_field"> 163 <input type="text" id="pyre_<?php echo $id; ?>" name="pyre_<?php echo $id; ?>" value="<?php echo get_post_meta( $post->ID, 'pyre_' . $id, true ); ?>" /> 164 </div> 185 <?php $selected = ( $key == get_post_meta( $post->ID, 'pyre_' . $id, true ) ) ? 'selected="selected"' : ''; ?> 186 <option <?php echo $selected; ?> value="<?php echo $key; ?>"><?php echo $option; ?></option> 187 <?php endforeach; ?> 238 <div class="pyre_field"> 239 <textarea cols="120" rows="<?php echo $rows; ?>" id="pyre_<?php echo $id; ?>" name="pyre_<?php echo $id; ?>"><?php echo $value; ?></textarea> 240 </div> 258 <div class="pyre_upload"> 259 <div><input name="pyre_<?php echo $id; ?>" class="upload_field" id="pyre_<?php echo $id; ?>" type="text" value="<?php echo get_post_meta( $post->ID, 'pyre_' . $id, true ); ?>" /></div> 260 <div class="fusion_upload_button_container"><input class="fusion_upload_button" type="button" value="<?php _e( 'Browse', 'Avada' ); ?>" /></div>apc-handle.h https://gitlab.com/Blueprint-Marketing/hhvm | C Header | 238 lines
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_APC_HANDLE_H_ 18#define incl_HPHP_APC_HANDLE_H_ 22#include "hphp/util/atomic.h" 23#include "hphp/util/hash.h" 24#include "hphp/util/lock.h" 25 26#include "hphp/runtime/base/type-variant.h" 27 27 28#if (defined(__APPLE__) || defined(__APPLE_CC__)) && (defined(__BIG_ENDIAN__) || defined(__LITTLE_ENDIAN__)) 29# if defined(__LITTLE_ENDIAN__)LexerTest.php https://gitlab.com/judielsm/Handora | PHP | 246 lines
1<?php 2 2 3namespace PhpParser; 4 4 5class LexerTest extends \PHPUnit_Framework_TestCase 6{ 15 public function testError($code, $message) { 16 if (defined('HHVM_VERSION')) { 17 $this->markTestSkipped('HHVM does not throw warnings from token_get_all()'); 28 29 $this->fail('Expected PhpParser\Error'); 30 } 33 return array( 34 array('<?php /*', 'Unterminated comment on line 1'), 35 array('<?php ' . "\1", 'Unexpected character "' . "\1" . '" (ASCII 1) on unknown line'),ResponseHeaderBag.php https://gitlab.com/judielsm/Handora | PHP | 322 lines
1<?php 2 314 315 // public if s-maxage is defined, private otherwise 316 if (!isset($this->cacheControl['s-maxage'])) {standard.php https://gitlab.com/ReneMC/Codeigniter-static | PHP | 389 lines
1<?php 2/** 4 * 5 * An open source application development framework for PHP 6 * 37 */ 38defined('BASEPATH') OR exit('No direct script access allowed'); 39 40/** 41 * PHP ext/standard compatibility package 42 * 51 52if (is_php('5.5')) 53{ 63 * 64 * @link http://php.net/array_column 65 * @param string $arrayro.php https://gitlab.com/ptisky/API_prestashop | PHP | 147 lines
1<?php 2/** 31 32 // Date time formats. See http://www.php.net/manual/en/function.strftime.php 33 '_dateTimeFull' => "%A, %e %B, %Y %H:%M", 65 "Non-existing directory type." => "Tip director non-existent.", 66 "Undefined MIME types." => "Tipuri MIME nefedinite.", 67 "Fileinfo PECL extension is missing." => "Extensia PECL lipsește.",homefeatured.php https://gitlab.com/ptisky/API_prestashop | PHP | 272 lines
1<?php 2/* 9* It is also available through the world-wide-web at this URL: 10* http://opensource.org/licenses/afl-3.0.php 11* If you did not receive a copy of the license and are unable to 22* @copyright 2007-2015 PrestaShop SA 23* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) 24* International Registered Trademark & Property of PrestaShop SA 26 27if (!defined('_PS_VERSION_')) 28 exit; 115 { 116 if (isset($this->context->controller->php_self) && $this->context->controller->php_self == 'index') 117 $this->context->controller->addCSS(_THEME_CSS_DIR_.'product_list.css');html.php https://bitbucket.org/seyar/kinda.local.git | PHP | 380 lines
1<?php defined('SYSPATH') or die('No direct access allowed.'); 2/**package-summary.html https://bitbucket.org/mobileup/facebook-android-sdk.git | HTML | 211 lines
91<TD WIDTH="15%"><B><A HREF="../../../com/facebook/model/GraphLocation.html" title="interface in com.facebook.model">GraphLocation</A></B></TD> 92<TD>Provides a strongly-typed representation of a Location as defined by the Graph API.</TD> 93</TR> 108<TR BGCOLOR="white" CLASS="TableRowColor"> 109<TD WIDTH="15%"><B><A HREF="../../../com/facebook/model/GraphPlace.html" title="interface in com.facebook.model">GraphPlace</A></B></TD> 110<TD>Provides a strongly-typed representation of a Place as defined by the Graph API.</TD> 113<TD WIDTH="15%"><B><A HREF="../../../com/facebook/model/GraphUser.html" title="interface in com.facebook.model">GraphUser</A></B></TD> 114<TD>Provides a strongly-typed representation of a User as defined by the Graph API.</TD> 115</TR>reportlib_test.php https://bitbucket.org/kudutest/moodlegit.git | PHP | 197 lines
1<?php 2// This file is part of Moodle - http://moodle.org/ 17/** 18 * Unit tests for grade/report/lib.php. 19 * 20 * @pacakge core_grade 21 * @category phpunit 22 * @author Andrew Davis 25 26defined('MOODLE_INTERNAL') || die(); 27 28global $CFG; 29require_once($CFG->dirroot.'/grade/lib.php'); 30require_once($CFG->dirroot.'/grade/report/lib.php');class.splitmerge.plugin.php https://github.com/Emaratilicious/Garden.git | PHP | 195 lines
1<?php if (!defined('APPLICATION')) exit(); 2/* 111 112 $Sender->Render($this->GetView('splitcomments.php')); 113 } 187 188 $Sender->Render($this->GetView('mergediscussions.php')); 189 }Regex.php https://github.com/kervin/kyzstudio.git | PHP | 269 lines
1<?php 2/** 18 * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com) 19 * @version $Id: Regex.php 20096 2010-01-06 02:05:09Z bkarwin $ 20 * @license http://framework.zend.com/license/new-bsd New BSD License 23/** Zend_Controller_Router_Route_Abstract */ 24#require_once 'Zend/Controller/Router/Route/Abstract.php'; 25 67 /** 68 * Matches a user submitted path with a previously defined route. 69 * Assigns and returns an array of defaults on a successful match. 92 93 // array_filter_key()? Why isn't this in a standard PHP function set yet? :) 94 foreach ($values as $i => $value) { 159 /** 160 * Assembles a URL path defined by this route 161 *constants.php https://github.com/naderman/phpbb-orchestra.git | PHP | 282 lines
1<?php 2/** 3* 4* @package phpBB3 5* @version $Id$ 5* @version $Id$ 6* @copyright (c) 2005 phpBB Group 7* @license http://opensource.org/licenses/gpl-license.php GNU Public License 13*/ 14if (!defined('IN_PHPBB')) 15{ 21* PHPBB_MSG_HANDLER 22* PHPBB_DB_NEW_LINK 23* PHPBB_ROOT_PATH 23* PHPBB_ROOT_PATH 24* PHPBB_ADMIN_PATH 25*/standard.php https://gitlab.com/jLKisni/furandpaw-frontend | PHP | 389 lines
1<?php 2/** 4 * 5 * An open source application development framework for PHP 6 * 37 */ 38defined('BASEPATH') OR exit('No direct script access allowed'); 39 40/** 41 * PHP ext/standard compatibility package 42 * 51 52if (is_php('5.5')) 53{ 63 * 64 * @link http://php.net/array_column 65 * @param array $arrayRegex.php https://github.com/grjones/qframe.git | PHP | 269 lines
1<?php 2/** 18 * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com) 19 * @version $Id: Regex.php 20096 2010-01-06 02:05:09Z bkarwin $ 20 * @license http://framework.zend.com/license/new-bsd New BSD License 23/** Zend_Controller_Router_Route_Abstract */ 24require_once 'Zend/Controller/Router/Route/Abstract.php'; 25 67 /** 68 * Matches a user submitted path with a previously defined route. 69 * Assigns and returns an array of defaults on a successful match. 92 93 // array_filter_key()? Why isn't this in a standard PHP function set yet? :) 94 foreach ($values as $i => $value) { 159 /** 160 * Assembles a URL path defined by this route 161 *embedded-vfs.cpp https://gitlab.com/iranjith4/hhvm | C++ | 275 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 +----------------------------------------------------------------------+ 15*/ 16#include "hphp/util/embedded-vfs.h" 17Unit_test.php https://gitlab.com/rezaul007/Hospital-information-bank | PHP | 405 lines
1<?php 2/** 4 * 5 * An open source application development framework for PHP 6 * 37 */ 38defined('BASEPATH') OR exit('No direct script access allowed'); 39 147 */ 148 public function run($test, $expected = TRUE, $test_name = 'undefined', $notes = '') 149 {sqlite3_driver.php https://gitlab.com/rezaul007/Hospital-information-bank | PHP | 360 lines
1<?php 2/** 4 * 5 * An open source application development framework for PHP 6 * 37 */ 38defined('BASEPATH') OR exit('No direct script access allowed'); 39class.jetpack-twitter-cards.php https://gitlab.com/thisishayat/itv-2016 | PHP | 213 lines
1<?php 2 7 * 8 * @see /wp-content/blog-plugins/open-graph.php 9 * @see https://dev.twitter.com/cards/overview 19 20 /** This action is documented in class.jetpack.php */ 21 if ( apply_filters( 'jetpack_disable_twitter_cards', false ) ) { 29 $site_tag = self::site_tag(); 30 /** This action is documented in modules/sharedaddy/sharing-sources.php */ 31 $site_tag = apply_filters( 'jetpack_sharing_twitter_via', $site_tag, ( is_singular() ? $post->ID : null ) ); 31 $site_tag = apply_filters( 'jetpack_sharing_twitter_via', $site_tag, ( is_singular() ? $post->ID : null ) ); 32 /** This action is documented in modules/sharedaddy/sharing-sources.php */ 33 $site_tag = apply_filters( 'jetpack_twitter_cards_site_tag', $site_tag, $og_tags ); 62 if ( empty( $og_tags['twitter:image'] ) && empty( $og_tags['twitter:image:src'] ) ) { 63 if ( ! class_exists( 'Jetpack_Media_Summary' ) && defined('IS_WPCOM') && IS_WPCOM ) { 64 include( WP_CONTENT_DIR . '/lib/class.wpcom-media-summary.php' );TimeType.php https://gitlab.com/freebird/WebApp | PHP | 250 lines
1<?php 2 147 // we need to force the browser to display the seconds by 148 // adding the HTML attribute step if not already defined. 149 // Otherwise the browser will not display and so not send the secondsConfigurable.php https://bitbucket.org/acidel/buykoala.git | PHP | 222 lines
1<?php 2/** 9 * It is also available through the world-wide-web at this URL: 10 * http://opensource.org/licenses/osl-3.0.php 11 * If you did not receive a copy of the license and are unable to 23 * @copyright Copyright (c) 2011 Magento Inc. (http://www.magentocommerce.com) 24 * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) 25 */ 60 /** 61 * Reindex temporary (price result data) for defined product(s) 62 *VaultTest.php https://gitlab.com/crazybutterfly815/magento2 | PHP | 266 lines
1<?php 2/** 24 * Class VaultTest 25 * @SuppressWarnings(PHPMD.CouplingBetweenObjects) 26 */ 26 */ 27class VaultTest extends \PHPUnit_Framework_TestCase 28{ 53 * @expectedException \LogicException 54 * @expectedExceptionMessage Token metadata should be defined 55 */RedirectRequestSubscriberTest.php https://gitlab.com/Drulenium-bot/redirect | PHP | 280 lines
1<?php 2 12use Drupal\Tests\UnitTestCase; 13use PHPUnit_Framework_MockObject_MockObject; 14use Symfony\Component\HttpFoundation\RedirectResponse; 35 $request_query = array('key' => 'val'); 36 // The query defined by the redirect entity. 37 $redirect_query = array('dummy' => 'value'); 37 $redirect_query = array('dummy' => 'value'); 38 // The expected final query. This query must contain values defined 39 // by the redirect entity and values from the accessed url. 181 * 182 * @return PHPUnit_Framework_MockObject_MockObject 183 * The redirect repository. 204 * 205 * @return PHPUnit_Framework_MockObject_MockObject 206 * The mocked redirect object.en.php https://github.com/masuman/elgg-1.git | PHP | 217 lines
1<?php 2 /** 184 185 'dgroups:nowidgets' => 'No widgets have been defined for this group.', 186AjaxContextTest.php https://bitbucket.org/Dal-Papa/is-340-publish-base.git | PHP | 265 lines
19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: AjaxContextTest.php 24593 2012-01-05 20:35:02Z matthew $ 21 */ 23// Call Zend_Controller_Action_Helper_AjaxContextTest::main() if this source file is executed directly. 24if (!defined("PHPUnit_MAIN_METHOD")) { 25 define("PHPUnit_MAIN_METHOD", "Zend_Controller_Action_Helper_AjaxContextTest::main"); 28 29require_once 'Zend/Controller/Action/Helper/AjaxContext.php'; 30 31require_once 'Zend/Controller/Action.php'; 32require_once 'Zend/Controller/Action/HelperBroker.php'; 33require_once 'Zend/Controller/Front.php'; 33require_once 'Zend/Controller/Front.php'; 34require_once 'Zend/Controller/Request/Http.php'; 35require_once 'Zend/Controller/Request/Simple.php';RuleSetCompiler.js https://gitlab.com/nguyenthehiep3232/marius | JavaScript | 379 lines
1/* 2 MIT License http://www.opensource.org/licenses/mit-license.php 3 Author Tobias Koppers @sokra 88 } else { 89 current = undefined; 90 break; 92 } 93 if (current !== undefined) { 94 if (!condition.fn(current)) return false; 98 const value = data[p]; 99 if (value !== undefined) { 100 if (!condition.fn(value)) return false; 165 const unhandledProperties = new Set( 166 Object.keys(rule).filter(key => rule[key] !== undefined) 167 );pi.splitter.php https://bitbucket.org/tdevonshire/guinness-jazz-festival.git | PHP | 324 lines
1<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); 2/* 6 Copyright: Oliver Heine 7 http://utilitees.de/ee.php/splitter 8-------------------------------------------------------- 12======================================================== 13 File: pi.splitter.php 14-------------------------------------------------------- 34 'pi_author' => 'Oliver Heine', 35 'pi_author_url' => 'http://utilitees.de/ee.php/splitter', 36 'pi_description' => 'Split any kind of lists into blocks.', 57 58 if (!defined('PAGINATION')) define('PAGINATION', '<!-- pagination //-->') ; 59 // find pagination 310 311<?php 312$buffer = ob_get_contents();ShellDispatcher.php https://github.com/suzuki/candycane.git | PHP | 332 lines
6 * 7 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org) 8 * Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org) 13 * @copyright Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org) 14 * @link http://cakephp.org CakePHP(tm) Project 15 * @since CakePHP(tm) v 2.0 15 * @since CakePHP(tm) v 2.0 16 * @license MIT License (http://www.opensource.org/licenses/mit-license.php) 17 */ 87 define('CAKEPHP_SHELL', true); 88 if (!defined('CORE_PATH')) { 89 define('CORE_PATH', CAKE_CORE_INCLUDE_PATH . DS); 101 if (!$this->_bootstrap()) { 102 $message = "Unable to load CakePHP core.\nMake sure " . DS . 'lib' . DS . 'Cake exists in ' . CAKE_CORE_INCLUDE_PATH; 103 throw new CakeException($message);dannys_temperatureRGB_setupFINISHEDMODULAR.pde https://github.com/DannyGITHUB/Danny-Huynh-3292443.git | Processing | 232 lines
151/* 152 * getVoltage() - returns the voltage on the analog input defined by 153 * pin 160// Following code used was sourced from Action Script; 161// http://www.actionscript.org/forums/showthread.php3?t=15155 162// Code functions as a converter for changing a hue, saturation and brightnessBootup.php https://bitbucket.org/larryg/powerhut.git | PHP | 223 lines
1<?php // vi: set fenc=utf-8 ts=4 sw=4 et: 2/* 30 { 31 function_exists('utf8_encode') or require __DIR__ . '/Bootup/utf8_encode.php'; 32 } 40 { 41 user_error('php.ini settings: Please disable mbstring.encoding_translation or set mbstring.http_input to "pass"', E_USER_WARNING); 42 } 45 { 46 user_error('php.ini settings: Please disable mbstring.func_overload', E_USER_WARNING); 47 } 75 } 76 else if (!defined('MB_OVERLOAD_MAIL')) 77 { 77 { 78 require __DIR__ . '/Bootup/mbstring.php'; 79 }grid.import.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 215 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 183 ret = "{"+ xmlJsonClass.toJson(gprm,o.root,o.ident,false)+"}"; 184 if(gprm.postData.filters !== undefined) { 185 ret=ret.replace(/filters":"/,'filters":');jquery.lazy.js https://gitlab.com/Mirros/cdnjs | JavaScript | 276 lines
7 * Dual licensed under the MIT and GPL v2 licenses: 8 * http://www.opensource.org/licenses/mit-license.php 9 * http://www.gnu.org/licenses/gpl-2.0.html 13 14(function($, window, document, undefined) 15{view.html.php https://gitlab.com/julienv/joomleague | PHP | 279 lines
1<?php defined( '_JEXEC' ) or die( 'Restricted access' ); 2 4 5require_once( JLG_PATH_SITE.DS."assets".DS."classes".DS."open-flash-chart".DS."open-flash-chart.php" ); 6 160 161 //colors defined for ranking table lines 162 //todo: add support for more than 2 linessetup.php https://gitlab.com/crsr/medtrade | PHP | 290 lines
65if (($gm = extension_loaded("gmagick")) || ($im = extension_loaded("imagick"))) { 66 $server_configs["GMagick or IMagick"]["value"] = ($im ? "IMagick ".phpversion("imagick") : "GMagick ".phpversion("gmagick")); 67} 79 <tr> 80 <td class="title"><?php echo $label; ?></td> 81 <td><?php echo ($server_config["required"] === true ? "Yes" : $server_config["required"]); ?></td> 81 <td><?php echo ($server_config["required"] === true ? "Yes" : $server_config["required"]); ?></td> 82 <td class="<?php echo ($server_config["result"] ? "ok" : (isset($server_config["fallback"]) ? "warning" : "failed")); ?>"> 83 <?php 104$dompdf_constants = array(); 105$defined_constants = get_defined_constants(true); 106 230 231 <?php foreach($defined_constants["user"] as $const => $value) { ?> 232 <tr>forum_config.php https://github.com/Bigjoos/U-232-V3.git | PHP | 142 lines
1<?php 2/** 14***************************************************************/ 15if (!defined('IN_INSTALLER09_ADMIN')) { 16 $HTMLOUT.= '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 27} 28require_once (INCL_DIR.'html_functions.php'); 29require_once (CLASS_DIR.'class_check.php'); 49 sql_query('UPDATE forum_config SET delete_for_real = '.sqlesc($delete_for_real).', min_delete_view_class = '.sqlesc($min_delete_view_class).', readpost_expiry = '.sqlesc($readpost_expiry).', min_upload_class = '.sqlesc($min_upload_class).', accepted_file_extension = '.sqlesc($accepted_file_extension).', accepted_file_types = '.sqlesc($accepted_file_types).', max_file_size = '.$max_file_size.', upload_folder = '.sqlesc($upload_folder).' WHERE id = '.sqlesc($config_id)); 50 header('Location: staffpanel.php?tool=forum_config&action=forum_config'); 51 die(); 52} 53$main_links = '<p><a class="altlink" href="staffpanel.php?tool=over_forums&action=over_forums">Over Forums</a> :: 54 <a class="altlink" href="staffpanel.php?tool=forum_manage&action=forum_manage">Forum Manager</a> :: 71} 72$HTMLOUT.= $main_links.'<form method="post" action="staffpanel.php?tool=forum_config&action=forum_config"> 73 <input type="hidden" name="do_it" value="1" />Regex.php https://gitlab.com/luisrepo/ClienteWS | PHP | 269 lines
1<?php 2/** 18 * @copyright Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com) 19 * @version $Id: Regex.php 23775 2011-03-01 17:25:24Z ralph $ 20 * @license http://framework.zend.com/license/new-bsd New BSD License 23/** Zend_Controller_Router_Route_Abstract */ 24require_once 'Zend/Controller/Router/Route/Abstract.php'; 25 67 /** 68 * Matches a user submitted path with a previously defined route. 69 * Assigns and returns an array of defaults on a successful match. 92 93 // array_filter_key()? Why isn't this in a standard PHP function set yet? :) 94 foreach ($values as $i => $value) { 159 /** 160 * Assembles a URL path defined by this route 161 *OS_main.h https://github.com/chicos/TrinityCore.git | C Header | 310 lines
33 34#if defined (ACE_VXWORKS) && (ACE_VXWORKS <= 0x640) && defined (__RTP__) 35# include <resolvLib.h> 45 46# if defined (ACE_WIN32) && defined (ACE_USES_WCHAR) 47# define ACE_TMAIN wmain 75 76# if defined (ACE_VXWORKS) && !defined (__RTP__) 77 122 123# elif defined (ACE_VXWORKS) && (ACE_VXWORKS <= 0x640) && defined (__RTP__) 124 155 156# if defined (ACE_WIN32) && defined (ACE_USES_WCHAR) 157simbio_form_maker.inc.php https://github.com/awriel/s3st15_matoa.git | PHP | 261 lines
1<?php 2/** 24// be sure that this file not accessed directly 25if (!defined('INDEX_AUTH')) { 26 die("can not access this file directly"); 30 31require 'simbio_form_element.inc.php'; 32external.php https://github.com/pauln/moodle.git | PHP | 223 lines
1<?php 2// This file is part of Moodle - http://moodle.org/ 26 27defined('MOODLE_INTERNAL') || die; 28 28 29require_once("$CFG->libdir/externallib.php"); 30 56 /** 57 * Simulate the imscp/view.php web interface page: trigger events, completion, etc... 58 * 65 global $DB, $CFG; 66 require_once($CFG->dirroot . "/mod/imscp/lib.php"); 67nl.php https://gitlab.com/ptisky/API_prestashop | PHP | 154 lines
1<?php 2/** 33 34 // Date time formats. See http://www.php.net/manual/en/function.strftime.php 35 '_dateTimeFull' => "%A, %e.%B.%Y %H:%M", 67 "Non-existing directory type." => "Het maptype bestaat niet.", 68 "Undefined MIME types." => "Onbekend MIME type.", 69 "Fileinfo PECL extension is missing." => "Bestandsinformatie PECL extensie ontbreekt.",view.html.php https://bitbucket.org/eternaware/joomus.git | PHP | 271 lines
1<?php 2/** 9 10defined('_JEXEC') or die; 11 11 12require_once JPATH_COMPONENT.'/models/category.php'; 13Configure.php https://github.com/robertleeplummerjr/bluebox.git | PHP | 311 lines
1<?php defined('SYSPATH') or die('No direct access allowed.'); 2/** 10 * Version of this module. Use any php version string 11 * see http://php.net/manual/en/function.version-compare.php 12 * @var mixed 65 /** 66 * This is a list of catagories constants as defined in Core_PackageManager 67 * @var stringplugin.js https://gitlab.com/wuhang2003/phpwind | JavaScript | 211 lines
1/* 2 * PHPWind WindEditor Plugin 3 * @Copyright : Copyright 2011, phpwind.com 8 */ 9;(function ( $, window, undefined ) { 10 var WindEditor = window.WindEditor;adodb-odbc_db2.inc.php https://github.com/md-tech/openemr.git | PHP | 368 lines
1<?php 2/* 12 13From phpdb list: 14 19 20After "playing" a little bit with the php-scripts that try 21to connect to the IBM DB2, we set the optional parameter 28 29Therfore, PHP is just almost fast as calling the DB2 30from Servlets using JDBC (don't take too much care 36problem when trying to connect to DB2 from 37PHP. 38 48SQL_ATTR_ODBC_CURSORS (DB2 CLI v5) 49This connection attribute is defined by ODBC, but is not supported by DB2 50CLI. Any attempt to set or get this attribute will result in an SQLSTATE ofhtml.php https://github.com/pratikdhaboo/kodelearn.git | PHP | 386 lines
1<?php defined('SYSPATH') or die('No direct script access.'); 2/**istack.c https://bitbucket.org/tim_heap/tidy-html5.git | C | 367 lines
28 newattrs->asp = attrs->asp ? TY_(CloneNode)(doc, attrs->asp) : NULL; 29 newattrs->php = attrs->php ? TY_(CloneNode)(doc, attrs->php) : NULL; 30 return newattrs; 263 264#if 0 && defined(_DEBUG) 265 if ( lexer->istacksize == 0 )ini_setting.cpp https://github.com/kevlund/hiphop-php.git | C++ | 325 lines
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 +----------------------------------------------------------------------+ 32extern bool zend_parse_ini_string 33(HPHP::CStrRef str, HPHP::CStrRef filename, int scanner_mode, 34 HPHP::IniSetting::PFN_PARSER_CALLBACK callback, void *arg); 35 36namespace HPHP { 37/////////////////////////////////////////////////////////////////////////////// 96 97static void php_simple_ini_parser_cb 98(String *arg1, String *arg2, String *arg3, int callback_type, void *arg) { 231 if (name == "hphp.compiler_id") { 232 value = String(getHphpCompilerId()); 233 return true;options.php https://github.com/PressCrew/infinity.git | PHP | 403 lines
1<?php 2/** 246 infinity_dashboard_load_template( 247 'options/menu.php', 248 array( 'sections' => $sections ) 278 infinity_dashboard_load_template( 279 'options/menu-section.php', 280 array( 298 infinity_dashboard_load_template( 299 'options/menu-options.php', 300 array( 'options' => $options ) 396 // add form processing 397 if ( defined( 'DOING_AJAX' ) ) { 398 add_action( 'wp_ajax_infinity_options_update', array( ICE_Policy::options()->registry(), 'process_form_ajax' ) );components.php https://github.com/kelios/imshop.git | PHP | 354 lines
1<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); 2/** 58 59 if ( file_exists(APPPATH.'modules/'.$db_modules[$i]['name'].'/admin.php') ) 60 { 85 86 if ( file_exists(APPPATH.'modules/'.$module.'/'.$module.'.php') AND $this->is_installed($module) == 0 ) 87 { 126 127 if ( file_exists(APPPATH.'modules/'.$module.'/'.$module.'.php') AND $this->is_installed($module) == 1 ) 128 { 166 { 167 $info_file = APPPATH.'modules/'.$file.'/module_info.php'; 168 $com_file_admin = APPPATH.'modules/'.$file.'/admin.php'; 267 $module = $this->input->post('component'); 268 $info_file = realpath(APPPATH.'modules/'.$module).'/module_info.php'; 269lib_test.php https://bitbucket.org/moodle/moodle.git | PHP | 219 lines
1<?php 2// This file is part of Moodle - http://moodle.org/ 32 33defined('MOODLE_INTERNAL') || die(); 34 34 35require_once(__DIR__ . '/local/ltiadvantage/lti_advantage_testcase.php'); 36 178 // Set page URL to prevent debugging messages. 179 $PAGE->set_url('/enrol/editinstance.php'); 180 208 209 require_once($CFG->dirroot . '/enrol/locallib.php'); 210 $manager = new course_enrolment_manager($PAGE, $course);Abstract.php https://bitbucket.org/netglue/zf-1.12-release.git | PHP | 304 lines
1<?php 2 26 */ 27require_once 'Zend/Feed/Element.php'; 28 32 * 33 * Zend_Feed_Abstract implements two core PHP 5 interfaces: ArrayAccess and 34 * Iterator. In both cases the collection being treated as an array is 82 */ 83 require_once 'Zend/Feed/Exception.php'; 84 throw new Zend_Feed_Exception('Feed failed to load, got response code ' . $response->getStatus() . '; request: ' . $client->getLastRequest() . "\nresponse: " . $response->asString()); 117 if (!$status) { 118 // prevent the class to generate an undefined variable notice (ZF-2590) 119 if (!isset($php_errormsg)) { 120 if (function_exists('xdebug_is_enabled')) { 121 $php_errormsg = '(error message not available, when XDebug is running)'; 122 } else {BannerInfo.php https://github.com/orchestra-io/sample-openx.git | PHP | 344 lines
1<?php 2 24+---------------------------------------------------------------------------+ 25$Id: BannerInfo.php 67065 2010-11-17 23:16:15Z chris.nutting $ 26*/ 34// Require the base Info class. 35require_once MAX_PATH . '/lib/OA/Info.php'; 36 160 * Frequency capping: total views per period. 161 * (defined in seconds by "block"). 162 *class-ms-rule-url-model.php https://gitlab.com/najomie/fit-hippie | PHP | 391 lines
1<?php 2/** 79 if ( $this->get_membership()->is_base() ) { 80 // For guests all defined URL groups are denied. 81 $has_access = false; 281 * Serializes this rule in a single array. 282 * We don't use the PHP `serialize()` function to serialize the whole object 283 * because a lot of unrequired and duplicate data will be serializedclass.importcontroller.php https://github.com/dkobia/Garden.git | PHP | 210 lines
1<?php if (!defined('APPLICATION')) exit(); 2/*soundcloud.php https://gitlab.com/Gashler/sg | PHP | 261 lines
1<?php 2/* 185 $url = set_url_scheme( 'https://w.soundcloud.com/player/?' . http_build_query( $options['params'] ) ); 186 // Set default width if not defined 187 $width = isset($options['width']) && $options['width'] !== 0 ? $options['width'] : '100%'; 187 $width = isset($options['width']) && $options['width'] !== 0 ? $options['width'] : '100%'; 188 // Set default height if not defined 189 $height = isset($options['height']) && $options['height'] !== 0 204 $url = set_url_scheme( 'https://player.soundcloud.com/player.swf?' . http_build_query($options['params']) ); 205 // Set default width if not defined 206 $width = isset( $options['width'] ) && $options['width'] !== 0 ? $options['width'] : '100%'; 206 $width = isset( $options['width'] ) && $options['width'] !== 0 ? $options['width'] : '100%'; 207 // Set default height if not defined 208 $height = isset( $options['height'] ) && $options['height'] !== 0 ? $options['height'] : ( soundcloud_url_has_tracklist( $options['url'] ) ? '255' : '81'); 242 foreach ( $matches as $match ) { 243 $args = parse_url( html_entity_decode( $match[1] ), PHP_URL_QUERY ); 244 $args = wp_parse_args( $args );class.php https://gitlab.com/alexprowars/bitrix | PHP | 393 lines
1<?php 2if (!defined('B_PROLOG_INCLUDED') || B_PROLOG_INCLUDED !== true) 231 { 232 if (!defined('LANDING_TMP_CATALOG_SHOWED')) 233 {grid.locale-en.js https://gitlab.com/techniconline/kmc | JavaScript | 201 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.html 66 url: "is not a valid URL. Prefix required ('http://' or 'https://')", 67 nodefined: " is not defined!", 68 novalue: " return value is required!", 138 masks: { 139 // see http://php.net/manual/en/function.date.php for PHP format used in jqGrid 140 // and see http://docs.jquery.com/UI/Datepicker/formatDate 143 // information about date, time, numbers and currency formats used in different countries 144 // one should just convert the information in PHP format 145 ISO8601Long: "Y-m-d H:i:s",ee2e8044711aa72b8acd6199a8d340c7e0cdefd4.blockspecials-home.tpl.php https://gitlab.com/nghiep5890/prestashop | PHP | 200 lines
1<?php /*%%SmartyHeaderCode:2413358371c43434db6-66734500%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed'); 2$_valid = $_smarty_tpl->decodeProperties(array ( 27),true); /*/%%SmartyHeaderCode%%*/?> 28<?php if ($_valid && !is_callable('content_58371c43463bb4_30370757')) {function content_58371c43463bb4_30370757($_smarty_tpl) {?> 29 199 200<?php }} ?> 201Facebook.php https://gitlab.com/koodersmiikka/operaatio-terveys | PHP | 193 lines
1<?php 2 21 /** 22 * Defined scopes 23 *bcmsdh.h https://bitbucket.org/Tofe/picasso-kernel.git | C Header | 238 lines
10 * under the terms of the GNU General Public License version 2 (the "GPL"), 11 * available at http://www.broadcom.com/licenses/GPLv2.php, with the 12 * following added to such license: 42 43#if (defined(BCMSDIOH_STD) || defined(BCMSDIOH_BCM) || defined(BCMSDIOH_SPI)) 44#define BCMSDH_ADAPTER 77 78#if defined(DHD_DEBUG) 79/* Query pending interrupt status from the host controller */ 213 214#if defined(OOB_INTR_ONLY) 215extern int bcmsdh_register_oob_intr(void * dhdp);threshold_8h-source.html https://bitbucket.org/wallwizz/imagemagick-6.8.4-for-bb10.git | HTML | 69 lines
16<a name="l00007"></a>00007 <span class="comment"> </span> 17<a name="l00008"></a>00008 <span class="comment"> http://www.imagemagick.org/script/license.php</span> 18<a name="l00009"></a>00009 <span class="comment"> </span> 29<a name="l00020"></a>00020 <span class="preprocessor"></span> 30<a name="l00021"></a>00021 <span class="preprocessor">#if defined(__cplusplus) || defined(c_plusplus)</span> 31<a name="l00022"></a>00022 <span class="preprocessor"></span><span class="keyword">extern</span> <span class="stringliteral">"C"</span> { 59<a name="l00050"></a>00050 60<a name="l00051"></a>00051 <span class="preprocessor">#if defined(__cplusplus) || defined(c_plusplus)</span> 61<a name="l00052"></a>00052 <span class="preprocessor"></span>}report.php https://github.com/cmiic/moodle.git | PHP | 219 lines
1<?php 2// This file is part of Moodle - http://moodle.org/ 25 26defined('MOODLE_INTERNAL') || die(); 27 27 28require_once($CFG->dirroot . '/mod/quiz/report/attemptsreport.php'); 29require_once($CFG->dirroot . '/mod/quiz/report/responses/responses_options.php'); 29require_once($CFG->dirroot . '/mod/quiz/report/responses/responses_options.php'); 30require_once($CFG->dirroot . '/mod/quiz/report/responses/responses_form.php'); 31require_once($CFG->dirroot . '/mod/quiz/report/responses/last_responses_table.php'); 31require_once($CFG->dirroot . '/mod/quiz/report/responses/last_responses_table.php'); 32require_once($CFG->dirroot . '/mod/quiz/report/responses/first_or_all_responses_table.php'); 33IOFactory.php https://gitlab.com/hoanghung.dev/aloads | PHP | 289 lines
3/** PHPExcel root directory */ 4if (!defined('PHPEXCEL_ROOT')) { 5 /** 8 define('PHPEXCEL_ROOT', dirname(__FILE__) . '/../'); 9 require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php'); 10} 46 private static $searchLocations = array( 47 array( 'type' => 'IWriter', 'path' => 'PHPExcel/Writer/{0}.php', 'class' => 'PHPExcel_Writer_{0}' ), 48 array( 'type' => 'IReader', 'path' => 'PHPExcel/Reader/{0}.php', 'class' => 'PHPExcel_Reader_{0}' ) 180 /** 181 * Loads PHPExcel from file using automatic PHPExcel_Reader_IReader resolution 182 * 213 /** 214 * Create PHPExcel_Reader_IReader for file using automatic PHPExcel_Reader_IReader resolution 215 *util.php https://gitlab.com/unofficial-mirrors/moodle | PHP | 189 lines
1<?php 2// This file is part of Moodle - http://moodle.org/ 26 27defined('MOODLE_INTERNAL') || die(); 28 28 29require_once($CFG->dirroot . '/rating/lib.php'); 30require_once($CFG->libdir . '/externallib.php'); 102 /** 103 * Returns rating information inside a data structure like the one defined by external_ratings_structure. 104 *filter.php https://bitbucket.org/kudutest1/moodlegit.git | PHP | 169 lines
1<?php 2 26 27defined('MOODLE_INTERNAL') || die(); 28ElementTest.php https://gitlab.com/mohamed_hussein/prodt | PHP | 205 lines
1<?php 2 43 44 // Verify that all options appear in their defined order. 45 foreach (['checkbox', 'radio'] as $type) { 62 63 // Verify that all options appear in their defined order, taking a custom 64 // #weight into account.AuthChoice.php https://gitlab.com/itlboy/yii2-starter-installed | PHP | 285 lines
1<?php 2/** 25 * 26 * ```php 27 * <?= yii\authclient\widgets\AuthChoice::widget([ 35 * 36 * ```php 37 * <?php 39 * ?> 40 * <?php $authAuthChoice = AuthChoice::begin([ 41 * 'baseAuthUrl' => ['site/auth'] 43 * <ul> 44 * <?php foreach ($authAuthChoice->getClients() as $client): ?> 45 * <li><?= $authAuthChoice->clientLink($client) ?></li> 45 * <li><?= $authAuthChoice->clientLink($client) ?></li> 46 * <?php endforeach; ?> 47 * </ul>lmbObject.class.php https://github.com/idler/limb.git | PHP | 408 lines
1<?php 2/* 2/* 3 * Limb PHP Framework 4 * 8 */ 9lmb_require('limb/core/src/lmbSetInterface.interface.php'); 10lmb_require('limb/core/src/exception/lmbNoSuchMethodException.class.php'); 10lmb_require('limb/core/src/exception/lmbNoSuchMethodException.class.php'); 11lmb_require('limb/core/src/exception/lmbNoSuchPropertyException.class.php'); 12/** 65 * 66 * @version $Id: lmbObject.class.php 5567 2007-04-06 14:37:24Z serega $ 67 * @package core 83 { 84 $this->_registerPredefinedVariables(); 85DetailView.php https://gitlab.com/tjaafar/SuiteCRM | PHP | 207 lines
1<?php 2if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point'); 49 50require_once('include/upload_file.php'); 51require_once('include/DetailView/DetailView.php'); 71} else { 72 header("Location: index.php?module=Accounts&action=index"); 73} 121); 122require_once('include/Smarty/plugins/function.sugar_action_menu.php'); 123$action_button = smarty_function_sugar_action_menu(array( 134$xtpl->assign("GRIDLINE", $gridline); 135$xtpl->assign("PRINT_URL", "index.php?".$GLOBALS['request_string']); 136$xtpl->assign("ID", $focus->id); 183 $the_note = $notes_list[$i]; 184 $attachments .= "<a href=\"index.php?entryPoint=download&id={$the_note->id}&type=Notes\">".$the_note->name."</a><br />"; 185}recode_torrent.php https://gitlab.com/protoneutron/xbtbb3cker | PHP | 309 lines
10 11if (!defined('IN_PHPBB')) 12{ 17{ 18 global $config, $phpbb_root_path, $user, $db, $phpEx, $request; 19 56 57 $tracker_url=generate_board_url($config['ppkbb_phpannounce_enabled'] && $config['ppkbb_phpannounce_url'] ? false : true); 58 if(!$config['ppkbb_announce_url']) 59 { 60 $config['ppkbb_announce_url']=$tracker_url.($config['ppkbb_phpannounce_enabled'] && $config['ppkbb_phpannounce_url'] ? '' : ':'.$config['ppkbb_xclisten_port']); 61 } 63 { 64 $config['ppkbb_announce_url']=($config['ppkbb_phpannounce_enabled'] && $config['ppkbb_phpannounce_url'] ? $tracker_url : $config['ppkbb_announce_url'].':'.$config['ppkbb_xclisten_port']); 65 }view.html.php https://gitlab.com/ricardosanchez/prueba | PHP | 317 lines
1<?php 2/** 4 * 5 * @version $Id: view.html.php 3012 2011-11-16 10:29:35Z geraintedwards $ 6 * @package JEvents 12// Check to ensure this file is included in Joomla! 13defined('_JEXEC') or die(); 14 21 */ 22include_once(JEV_ADMINPATH."/views/icalrepeat/view.html.php"); 23 28 function __construct($config = array()){ 29 include_once(JPATH_ADMINISTRATOR.'/'."includes".'/'."toolbar.php"); 30 parent::__construct($config); 42 $editStrings = ""; 43 include(JEV_ADMINLIBS."/editStrings.php"); 44 $document->addScriptDeclaration($editStrings);acf-repeater-update.php https://gitlab.com/pankajmohale/chef2go | PHP | 474 lines
1<?php 2 2 3if( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly 4 69 70 require_once ABSPATH . 'wp-admin/includes/plugin.php'; 71 107 108 function request( $query = 'index.php', $body = null ) { 109 274 'acf_version' => get_option('acf_version'), 275 'acf_pro' => (defined('ACF_PRO') && ACF_PRO), 276 )), 416* 417* Example: <?php $acf_updates = acf_updates(); ?> 418*script.php https://gitlab.com/ricardosanchez/prueba | PHP | 353 lines
1<?php 2/** 9 10defined('_JEXEC') or die; 11 70 /** 71 * Minimum PHP version required to install the extension 72 * 75 */ 76 protected $minimumPhp; 77 108 // Check for the minimum PHP version before continuing 109 if (!empty($this->minimumPhp) && !version_compare(PHP_VERSION, $this->minimumPhp, '>')) 110 { 110 { 111 JLog::add(JText::sprintf('JLIB_INSTALLER_MINIMUM_PHP', $this->minimumPhp), JLog::WARNING, 'jerror'); 112 }HarmonyImportSpecifierDependency.js https://gitlab.com/ahmad.jamal/sally | JavaScript | 321 lines
1/* 2 MIT License http://www.opensource.org/licenses/mit-license.php 3 Author Tobias Koppers @sokra 46 this.namespaceObjectAsContext = false; 47 this.call = undefined; 48 this.directImport = undefined; 48 this.directImport = undefined; 49 this.shorthand = undefined; 50 this.asiSafe = undefined; 51 /** @type {Set<string> | boolean} */ 52 this.usedByExports = undefined; 53 } 79 const meta = moduleGraph.getMetaIfExisting(this); 80 if (meta === undefined) return this.ids; 81 const ids = meta[idsSymbol];auth_lang.php https://gitlab.com/Anas7232/Layout-Changes | PHP | 158 lines
1<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); 2/**Environment.php https://gitlab.com/alexandresgv/siteentec | PHP | 343 lines
1<?php 2/** 107 $migration->setAdapter($proxyAdapter); 108 /** @noinspection PhpUndefinedMethodInspection */ 109 $migration->change(); 112 } else { 113 /** @noinspection PhpUndefinedMethodInspection */ 114 $migration->change();image.html https://bitbucket.org/snail/mrpmvc.git | HTML | 268 lines
97 var fileManager = null; 98 var allowUpload = (typeof KE.g[id].allowUpload == 'undefined') ? true : KE.g[id].allowUpload; 99 var allowFileManager = (typeof KE.g[id].allowFileManager == 'undefined') ? false : KE.g[id].allowFileManager; 100 var referMethod = (typeof KE.g[id].referMethod == 'undefined') ? '' : KE.g[id].referMethod; 101 var imageUploadJson = (typeof KE.g[id].imageUploadJson == 'undefined') ? '../../php/upload_json.php' : KE.g[id].imageUploadJson; 102 var lang = KE.lang.plugins.image; 163 heightBox.value = imgNode.height; 164 titleBox.value = (typeof imgNode.alt != 'undefined') ? imgNode.alt : imgNode.title; 165 for (var i = 0, len = alignElements.length; i < len; i++) {class.ShowFleet1Page.php https://github.com/jstar88/LibreTitan.git | PHP | 265 lines
1<?php 2 8 9if(!defined('INSIDE')){ die(header ( 'location:../../' ));} 10 61 { 62 header ( 'location:game.php?page=fleet' ); 63 } 82 { 83 header ( 'location:game.php?page=fleet' ); 84 }PSServer.js https://github.com/socialplanning/oc-js.git | JavaScript | 282 lines
26 if (!this._serverConfig) { 27 Xinha._getback(Xinha.getPluginDir("PSServer") + "/config.inc.php", 28 function(config) { 69 var self = this; 70 Xinha._getback(Xinha.getPluginDir("PSServer") + "/backend.php?directory&listing", 71 function(json) { 77var treeRecurse = function treeRecurse(tree, callback, root) { 78 if (typeof root == 'undefined') { 79 root = '/'; 178 // model it off of this HTML fragment: 179 // <form target="importFrame" action="../plugins/PSServer/backend.php?upload&replace=false&" id="importForm" method="post" enctype="multipart/form-data"> 180 // File: <input type="file" name="filedata" /><input type="submit" value="_(Import)" /> 187 form.setAttribute('method', 'post'); 188 form.setAttribute('action', Xinha.getPluginDir("PSServer") + "/backend.php?upload&replace=true&"); 189ipsearch.php https://github.com/Bigjoos/U-232-V1.git | PHP | 255 lines
1<?php 2/** 8 **/ 9if ( ! defined( 'IN_TBDEV_ADMIN' ) ) 10{ 23} 24require_once(INCL_DIR.'user_functions.php'); 25require_once(INCL_DIR.'html_functions.php'); 25require_once(INCL_DIR.'html_functions.php'); 26require_once(INCL_DIR.'pager_functions.php'); 27 33 34require_once(INCL_DIR.'class_check.php'); 35class_check(UC_STAFF); 58$HTMLOUT .="<h1>Search in IP History</h1>\n 59<form method='post' action='staffpanel.php?tool=ipsearch&action=ipsearch'>\n 60<table align='center' border='1' cellspacing='0' width='115' cellpadding='5'>\nclass_check.php https://github.com/Bigjoos/U-232-V2.git | PHP | 199 lines
1<?php 2/** 25// require PIN: 26require_once 'include/class_check.php'; 27class_check(UC_MODERATOR, true, true); // staff class check & require PIN 28// USAGE in non-staff pages: // 29require_once 'include/class_check.php'; 30class_check(UC_POWER_USER, false); // use for non-staff pages 33 34if (!defined('TBVERSION')) { //cannot access this file directly 35 $HTMLOUT=''; 77 // have sent a username/pass and are using their own username 78 if (isset($_SERVER['PHP_AUTH_USER']) && isset($_SERVER['PHP_AUTH_PW']) 79 && $_SERVER['PHP_AUTH_USER'] === ($CURUSER['username'])) { 81 // generate a passhash from the sent password 82 $hash = md5($INSTALLER09['site']['salt2'].$_SERVER['PHP_AUTH_PW'].$CURUSER['secret']); 83view.html.php https://gitlab.com/lankerd/paGO---Testing-Site | PHP | 343 lines
1<?php 2/** 9 10defined('_JEXEC') or die; 11pixfmt-reserved.rst https://gitlab.com/kush/linux | ReStructuredText | 283 lines
15 16These formats are not defined by this specification, they are just 17listed for reference and to avoid naming conflicts. If you want to 18register your own format, send an e-mail to the linux-media mailing list 19`https://linuxtv.org/lists.php <https://linuxtv.org/lists.php>`__ 20for inclusion in the ``videodev2.h`` file. If you want to share your 230 All numbers in the second plane are also in big endian order. 231 Remaining data in the second plane is undefined. The information 232 in the second plane allows to easily find location of the pointerwidget-hero-unit.php https://gitlab.com/luyxtran264/myproject | PHP | 190 lines
153 <label for="<?php echo esc_attr( $this->get_field_id( 'hero_unit_title' ) ); ?>"><?php esc_html_e('Hero unit title:', 'transfers') ?></label> 154 <input type="text" class="widefat" id="<?php echo esc_attr( $this->get_field_id( 'hero_unit_title' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'hero_unit_title' ) ); ?>" value="<?php echo esc_attr( $instance['hero_unit_title'] ); ?>" /> 155 </p> 164 <label for="<?php echo esc_attr( $this->get_field_id( 'hero_unit_sub_title' ) ); ?>"><?php esc_html_e('Hero unit sub title:', 'transfers') ?></label> 165 <input type="text" class="widefat" id="<?php echo esc_attr( $this->get_field_id( 'hero_unit_sub_title' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'hero_unit_sub_title' ) ); ?>" value="<?php echo esc_attr( $instance['hero_unit_sub_title'] ); ?>" /> 166 </p> 169 <label for="<?php echo esc_attr( $this->get_field_id( 'button_1_url' ) ); ?>"><?php esc_html_e('Button 1 url', 'transfers') ?></label> 170 <input type="text" placeholder="http://" class="widefat" id="<?php echo esc_attr( $this->get_field_id( 'button_1_url' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'button_1_url' ) ); ?>" value="<?php echo esc_attr( $instance['button_1_url'] ); ?>" /> 171 </p> 174 <label for="<?php echo esc_attr( $this->get_field_id( 'button_1_text' ) ); ?>"><?php esc_html_e('Button 1 text', 'transfers') ?></label> 175 <input type="text" class="widefat" id="<?php echo esc_attr( $this->get_field_id( 'button_1_text' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'button_1_text' ) ); ?>" value="<?php echo esc_attr( $instance['button_1_text'] ); ?>" /> 176 </p> 184 <label for="<?php echo esc_attr( $this->get_field_id( 'button_2_text' ) ); ?>"><?php esc_html_e('Button 2 text', 'transfers') ?></label> 185 <input type="text" class="widefat" id="<?php echo esc_attr( $this->get_field_id( 'button_2_text' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'button_2_text' ) ); ?>" value="<?php echo esc_attr( $instance['button_2_text'] ); ?>" /> 186 </p>edit-attachment-rows.php https://gitlab.com/endomorphosis/reservationtelco | PHP | 239 lines
61 ?> 62 <th scope="row" class="check-column"><?php if ( current_user_can('edit_post', $post->ID) ) { ?><input type="checkbox" name="media[]" value="<?php the_ID(); ?>" /><?php } ?></th> 63 <?php 86 ?> 87 <td <?php echo $attributes ?>><strong><?php if ( $is_trash ) echo $att_title; else { ?><a href="<?php echo get_edit_post_link( $post->ID, true ); ?>" title="<?php echo esc_attr(sprintf(__('Edit “%s”'), $att_title)); ?>"><?php echo $att_title; ?></a><?php } ?></strong> 88 <p> 182 ?> 183 <td <?php echo $attributes ?>><strong><a href="<?php echo get_edit_post_link( $post->post_parent ); ?>"><?php echo $title ?></a></strong>, <?php echo get_the_time(__('Y/m/d')); ?></td> 184 <?php 202 echo '<strong>'; 203 comments_number("<a href='edit-comments.php?p=$id' title='$pending_phrase' class='post-com-count'><span class='comment-count'>" . /* translators: comment count link */ _x('0', 'comment count') . '</span></a>', "<a href='edit-comments.php?p=$id' title='$pending_phrase' class='post-com-count'><span class='comment-count'>" . /* translators: comment count link */ _x('1', 'comment count') . '</span></a>', "<a href='edit-comments.php?p=$id' title='$pending_phrase' class='post-com-count'><span class='comment-count'>" . /* translators: comment count link: % will be substituted by comment count */ _x('%', 'comment count') . '</span></a>'); 204 if ( $left ) 213 <td <?php echo $attributes ?>> 214 <a href="media.php?action=edit&attachment_id=<?php the_ID(); ?>" title="<?php echo esc_attr(sprintf(__('Edit “%s”'), $att_title)); ?>"><?php _e('Edit'); ?></a> | 215 <a href="<?php the_permalink(); ?>"><?php _e('Get permalink'); ?></a>jquery.lazyload.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 210 lines
6 * Licensed under the MIT license: 7 * http://www.opensource.org/licenses/mit-license.php 8 * 57 /* Maintain BC for a couple of versions. */ 58 if (undefined !== options.failurelimit) { 59 options.failure_limit = options.failurelimit; 61 } 62 if (undefined !== options.effectspeed) { 63 options.effect_speed = options.effectspeed; 70 /* Cache container as jQuery as object. */ 71 $container = (settings.container === undefined || 72 settings.container === window) ? $window : $(settings.container); 144 145 if (settings.container === undefined || settings.container === window) { 146 fold = $window.height() + $window.scrollTop();ListBullet.php https://gitlab.com/oritadeu/dompdf | PHP | 248 lines
1<?php 2/** 142 // Handle list-style-image 143 // If list style image is requested but missing, fall back to predefined types 144 if ($style->list_style_image !== "none" && 152 // See also Image::get_min_max_width 153 // Tested php ver: value measured in px, suffix "px" not in value: rtrim unnecessary. 154 //$w = $frame->get_width();polldaddy.php https://gitlab.com/juanito.abelo/nlmobile | PHP | 403 lines
1<?php 2 15 function __construct() { 16 if ( defined( 'GLOBAL_TAGS' ) == false ) 17 add_shortcode( 'polldaddy', array( $this, 'polldaddy_shortcode' ) ); 66 67 if ( defined( 'PADPRESS_LOADED' ) ) 68 $inline = true; 72 73 if ( is_feed() || ( defined( 'DOING_AJAX' ) && !$infinite_scroll ) ) 74 $no_script = false; 86 if ( empty( $title ) ) 87 /** This filter is documented in core/src/wp-includes/general-template.php */ 88 $title = apply_filters( 'wp_title', $post->post_title, '', '' ); 321 foreach( self::$scripts['rating'] as $rating ) { 322 $script .= "PDRTJS_settings_{$rating['id']}{$rating['item_id']}={$rating['settings']}; if ( typeof PDRTJS_RATING !== 'undefined' ){if ( typeof PDRTJS_{$rating['id']}{$rating['item_id']} == 'undefined' ){PDRTJS_{$rating['id']}{$rating['item_id']} = new PDRTJS_RATING( PDRTJS_settings_{$rating['id']}{$rating['item_id']} );}}"; 323 }scalar_impl.h https://gitlab.com/Ltaimao/bitcoin | C Header | 336 lines
3 * Distributed under the MIT software license, see the accompanying * 4 * file COPYING or http://www.opensource.org/licenses/mit-license.php.* 5 **********************************************************************/ 14 15#if defined HAVE_CONFIG_H 16#include "libsecp256k1-config.h" 18 19#if defined(USE_SCALAR_4X64) 20#include "scalar_4x64_impl.h" 20#include "scalar_4x64_impl.h" 21#elif defined(USE_SCALAR_8X32) 22#include "scalar_8x32_impl.h" 305static void secp256k1_scalar_inverse_var(secp256k1_scalar_t *r, const secp256k1_scalar_t *x) { 306#if defined(USE_SCALAR_INV_BUILTIN) 307 secp256k1_scalar_inverse(r, x);SaxRepresentation.java https://bitbucket.org/haris_peco/debrief.git | Java | 241 lines
12 * You can obtain a copy of the LGPL 2.1 license at 13 * http://www.opensource.org/licenses/lgpl-2.1.php 14 * 15 * You can obtain a copy of the CDDL 1.0 license at 16 * http://www.opensource.org/licenses/cddl1.php 17 * 18 * You can obtain a copy of the EPL 1.0 license at 19 * http://www.opensource.org/licenses/eclipse-1.0.php 20 * 196 throw new IOException( 197 "Couldn't parse the source representation: no content restlet defined."); 198 }PimpleTest.php https://bitbucket.org/laborautonomo/laborautonomo-site.git | PHP | 270 lines
1<?php 2 36 */ 37class PimpleTest extends \PHPUnit_Framework_TestCase 38{ 112 * @expectedException InvalidArgumentException 113 * @expectedExceptionMessage Identifier "foo" is not defined. 114 */ 188 * @expectedException InvalidArgumentException 189 * @expectedExceptionMessage Identifier "foo" is not defined. 190 */ 224 * @expectedException InvalidArgumentException 225 * @expectedExceptionMessage Identifier "foo" is not defined. 226 */proxy.php https://bitbucket.org/asikart-extension/joomclouds-client.git | PHP | 284 lines
1<?php 2/** 11// no direct access 12defined('_JEXEC') or die; 13 106 jimport('joomla.filesystem.path'); 107 if ($path = JPath::find(self::$includePaths[$prefix], strtolower($file) . '.php')) 108 { 202 * 203 * @see http://php.net/manual/en/function.call-user-func-array.php 204 */ 208 { 209 // PHP 5.3 workaround 210 $temp = array();Symbol.php https://gitlab.com/oytunistrator/coffeescript-php | PHP | 288 lines
2/** 3 * PHP_ParserGenerator, a php 5 parser generator. 4 * 45 * @version CVS: $Id: Symbol.php 302382 2010-08-17 06:08:09Z jespino $ 46 * @link http://pear.php.net/package/PHP_ParserGenerator 47 * @since File available since Release 0.1.0 57 * @version Release: @package_version@ 58 * @link http://pear.php.net/package/PHP_ParserGenerator 59 * @since Class available since Release 0.1.0 133 * One of PHP_ParserGenerator_Symbol::LEFT, 134 * PHP_ParserGenerator_Symbol::RIGHT, PHP_ParserGenerator_Symbol::NONE 135 * or PHP_ParserGenerator_Symbol::UNK 276 */ 277 public static function same_symbol(PHP_ParserGenerator_Symbol $a, PHP_ParserGenerator_Symbol $b) 278 {HeaderBag.php https://gitlab.com/oytunistrator/92five | PHP | 350 lines
1<?php 2 173 /** 174 * Returns true if the HTTP header is defined. 175 * 258 /** 259 * Returns true if the Cache-Control directive is defined. 260 * 274 * 275 * @return mixed|null The directive value if defined, null otherwise 276 */PwPostDoPoll.php https://gitlab.com/wuhang2003/phpwind | PHP | 329 lines
1<?php 2defined('WEKIT_VERSION') || exit('Forbidden'); 9 * @author MingXing Sun <mingxing.sun@aliyun-inc.com> 10 * @copyright ©2003-2103 phpwind.com 11 * @license http://www.phpwind.com 11 * @license http://www.phpwind.com 12 * @version $Id: PwPostDoPoll.php 23975 2013-01-17 10:20:11Z jieyin $ 13 * @package forumDeserializer.php https://bitbucket.org/openfisma-ondemand/openfisma.git | PHP | 306 lines
1<?php 2/** 23/** Zend_Amf_Constants */ 24// require_once 'Zend/Amf/Constants.php'; 25 26/** @see Zend_Amf_Parse_Deserializer */ 27// require_once 'Zend/Amf/Parse/Deserializer.php'; 28 29/** 30 * Read an AMF0 input stream and convert it into PHP data types 31 * 61 * @param integer $typeMarker 62 * @return mixed whatever the data type is of the marker in php 63 * @throws Zend_Amf_Exception for invalid type 91 92 // undefined 93 case Zend_Amf_Constants::AMF0_UNDEFINED:TreeRouteStack.php https://gitlab.com/yousafsyed/easternglamor | PHP | 437 lines
1<?php 2/** 49 /** 50 * factory(): defined by RouteInterface interface. 51 * 74 /** 75 * init(): defined by SimpleRouteStack. 76 * 101 /** 102 * addRoute(): defined by RouteStackInterface interface. 103 * 119 /** 120 * routeFromArray(): defined by SimpleRouteStack. 121 * 241 /** 242 * match(): defined by \Zend\Mvc\Router\RouteInterface 243 *umil.php https://github.com/paul999/umil.git | PHP | 131 lines
1<?php 2/** 7 * @version $Id$ 8 * @copyright (c) 2008 phpBB Group 9 * @license http://opensource.org/licenses/gpl-license.php GNU Public License 11 * 12 * Ελληνική μετάφραση από την ομάδα του phpbbgr.com 13 * http://phpbbgr.com 18 */ 19if (!defined('IN_PHPBB')) 20{template.php https://gitlab.com/alexprowars/bitrix | PHP | 315 lines
1<?php 2 4 5if (!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED !== true) 6{ 91 $templateLibrary[] = 'currency'; 92 $currencyList = CUtil::PhpToJSObject($arResult['CURRENCIES'], false, true, true); 93} 188 <div data-entity="items-row" class="row flex-wrap"> 189 <?php 190 if (!empty($arResult['ITEMS'])) 267</div> 268<?php 269$signer = new \Bitrix\Main\Security\Sign\Signer; 301 componentPath: '<?=CUtil::JSEscape($componentPath)?>', 302 navParams: <?=CUtil::PhpToJSObject($navParams)?>, 303 deferredLoad: <?=($arParams['DEFERRED_LOAD'] === 'Y') ? 'true' : 'false' ?>, // enable it for deferred loaddate_helper.php https://gitlab.com/sittipongwork/impro_dashboard | PHP | 612 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 * 69 * 70 * This function is identical to PHPs date() function, 71 * except that it allows date codes to be formatted using 610 611/* End of file date_helper.php */ 612/* Location: ./system/helpers/date_helper.php */using-the-service-builder.rst https://gitlab.com/x33n/respond | ReStructuredText | 316 lines
81 82Data can be source from a PHP array. The array must contain an associative ``services`` array that maps the name of a 83client to the configuration information used by the service builder to create the client. Clients are given names 91 '/path/to/other/services.json', 92 '/path/to/other/php_services.php' 93 ), 155advantage of an opcode cache like APC to speed up the process of loading and processing the configuration. The PHP 156include file is the same format as an array, but you simply create a PHP script that returns an array and save the 157file with the .php file extension. 158 159.. code-block:: php 160 178 { 179 "includes": ["/path/to/other/services.json", "/path/to/other/php_services.php"], 180 "services": {tools.js https://gitlab.com/ptisky/API_prestashop | JavaScript | 251 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 2007-2013 PrestaShop SA 22* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) 23* International Registered Trademark & Property of PrestaShop SA 27{ 28 if (typeof(roundMode) === 'undefined') 29 roundMode = 2; 29 roundMode = 2; 30 if (typeof(precision) === 'undefined') 31 precision = 2; 82{ 83 // if you modified this function, don't forget to modify the PHP function displayPrice (in the Tools.php class) 84 blank = '';container_builder.php https://github.com/AJenbo/ubuntudanmark.dk.git | PHP | 404 lines
116 * 117 * @param \phpbb\config_php_file $config_php_file 118 * @param string $phpbb_root_path Path to the phpbb includes directory. 120 */ 121 function __construct(\phpbb\config_php_file $config_php_file, $phpbb_root_path, $php_ext) 122 { 314 { 315 $dbal_driver_class = $this->config_php_file->convert_30_dbms_to_31($this->config_php_file->get('dbms')); 316 $this->dbal_connection = new $dbal_driver_class(); 322 $this->config_php_file->get('dbport'), 323 defined('PHPBB_DB_NEW_LINK') && PHPBB_DB_NEW_LINK 324 ); 401 { 402 return $this->phpbb_root_path . 'cache/container_' . md5($this->phpbb_root_path) . '.' . $this->php_ext; 403 }Dijit.php https://bitbucket.org/Ebozavrik/test-application.git | PHP | 356 lines
1<?php 2/** 19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: Dijit.php 24593 2012-01-05 20:35:02Z matthew $ 21 */ 23/** Zend_View_Helper_HtmlElement */ 24require_once 'Zend/View/Helper/HtmlElement.php'; 25 244 if (array_key_exists($param, $params)) { 245 require_once 'Zend/Json.php'; 246 342 $function = <<<EOJ 343if (zend == undefined) { 344 var zend = {};adminControllers.js https://bitbucket.org/snakeyyy/srs.git | JavaScript | 251 lines
60 event.endJSON = fixDate(event.end); 61 if (event.block) { //php si neumi poradit s html apod v jsondecode 62 event.block.perex = ''; 68 if ($.inArray(val, seen) >= 0) 69 return undefined; 70 seen.push(val); 72 if (key == 'source') { // tyto data nepotřebujeme 73 return undefined; 74 } 116 $scope.remove = function (event) { 117 if (event.block != null || event.block != undefined) { 118 event.block.program_count--; 126 this.event = $scope.event; 127 if ($scope.event.block != undefined && $scope.event.block != null) { 128 var id = $scope.event.block.idindex.mustache https://github.com/vrennert/yui3.git | Mustache | 306 lines
62 script callback parameter in order for the response to return properly. 63 This parameter specifies the name of the internally defined function that 64 the return data will be wrapped in when it returns to the page. 124``` 125var myDataSource = new Y.DataSource.IO({source:"./myScript.php"}); 126```config.php https://github.com/andreabix/moodle.git | PHP | 256 lines
1<?php 2// This file is part of Moodle - http://moodle.org/ 30 31defined('MOODLE_INTERNAL') || die(); 32 89 'base' => array( 90 'file' => 'general.php', 91 'regions' => array('side-pre', 'side-post'), 94 'standard' => array( 95 'file' => 'general.php', 96 'regions' => array('side-pre', 'side-post'), 99 'course' => array( 100 'file' => 'general.php', 101 'regions' => array('side-pre', 'side-post'), 105 'coursecategory' => array( 106 'file' => 'general.php', 107 'regions' => array('side-pre', 'side-post'),AdminBarMenu.php https://gitlab.com/ebrjose/comcebu | PHP | 380 lines
1<?php 2 139 }() );", 140 $is_wp_531_plus ? "document.addEventListener( 'DOMContentLoaded', wpforms_admin_bar_menu_init );" : "if ( typeof( jQuery ) != 'undefined' ) { jQuery( wpforms_admin_bar_menu_init ); } else { document.addEventListener( 'DOMContentLoaded', wpforms_admin_bar_menu_init ); }" 141 ); 196 'title' => 'WPForms' . $indicator, 197 'href' => admin_url( 'admin.php?page=wpforms-overview' ), 198 ] 219 'title' => esc_html__( 'Notifications', 'wpforms-lite' ) . ' <div class="wp-core-ui wp-ui-notification wpforms-menu-notification-indicator"></div>', 220 'href' => admin_url( 'admin.php?page=wpforms-overview' ), 221 ] 238 'title' => esc_html__( 'All Forms', 'wpforms-lite' ), 239 'href' => admin_url( 'admin.php?page=wpforms-overview' ), 240 ] 257 'title' => esc_html__( 'Add New', 'wpforms-lite' ), 258 'href' => admin_url( 'admin.php?page=wpforms-builder' ), 259 ]PropelCSVParser.php https://gitlab.com/Isaki/le331.fr | PHP | 314 lines
1<?php 2 12 * CSV parser. Converts data between associative array and CSV formats. 13 * CSV parsing code borrowed from php-csv-utils by Luke Visinoni 14 * http://code.google.com/p/php-csv-utils/ 25 26 // these settings are predefined for Excel CSV format 27forum.inc.php https://github.com/harriswong/ATutor.git | PHP | 195 lines
58 <col span="4" /> 59 <?php elseif($col == 'num_comments'): ?> 60 <col /> 66 <col /> 67 <?php endif; ?> 68</colgroup> 70<tr> 71 <th scope="col"><a href="<?php echo url_rewrite($_SERVER['PHP_SELF']."?$orders[$order]=subject$page_string"); ?>"><?php echo _AT('topic'); ?></a></th> 72 <th scope="col"><a href="<?php echo url_rewrite($_SERVER['PHP_SELF']."?$orders[$order]=num_comments$page_string"); ?>"><?php echo _AT('replies'); ?></a></th> 73 <th scope="col"><?php echo _AT('started_by'); ?></th> 74 <th scope="col"><a href="<?php echo url_rewrite($_SERVER['PHP_SELF']."?$orders[$order]=last_comment$page_string"); ?>"><?php echo _AT('last_comment'); ?></a></th> 75<?php 133 if ($row['locked'] != 1) { 134 echo '<a href="'.url_rewrite('mods/_standard/forums/forum/view.php?fid='.$fid.SEP.'pid='.$row['post_id']).'" title="'.AT_print($full_subject, 'forums_threads.subject').'">'.$row['subject'].'</a>'; 135