PageRenderTime 981ms queryTime 72ms sortTime 177ms getByIdsTime 80ms findMatchingLines 204ms

100+ results results for 'php glob repo:gaurav1981/HockeyKit' (981 ms)

Not the results you expected?
postMash.php https://gitlab.com/Gashler/sg | PHP | 345 lines
                    
82		foreach ($pageposts as $page): //list pages, [the 'li' ID must be pm_'page ID'] ?>
                    
83			<li id="pm_<?php echo $page->ID; ?>"<?php if($page->post_status == "draft"){ echo ' class="remove"'; } //if page is draft, add class remove ?>>
                    
84				<span style="float:right;">
                    
98						id:<?php echo $page->ID;?>
                    
99						[<a href="<?php echo get_bloginfo('wpurl').'/wp-admin/post.php?action=edit&post='.$page->ID; ?>" title="Edit This Post">edit</a>]
                    
100						<?php if($switchDraftToPublishFeature): ?>
                    
101							[<a href="#" title="Draft|Publish" class="excludeLink" onclick="toggleRemove(this); return false">toggle-draft</a>]
                    
102						<?php endif; ?>
                    
103					</span>
                    
145			<select name='m'>
                    
146			<option<?php selected( $m, 0 ); ?> value='0'><?php _e('Show all dates'); ?></option>
                    
147			<?php
                    
244	if($wp_version >= 2.7){
                    
245		$page = add_submenu_page('edit.php', 'postMash: Order Posts', 'postMash', $minlevel,  __FILE__, 'postMash_main'); 
                    
246	}else{
                    
                
Data.php https://gitlab.com/LisovyiEvhenii/ismextensions | PHP | 478 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 */
                    
36{
                    
37    const PRICE_SCOPE_GLOBAL               = 0;
                    
38    const PRICE_SCOPE_WEBSITE              = 1;
                    
42    const CONFIG_PARSE_URL_DIRECTIVES      = 'catalog/frontend/parse_url_directives';
                    
43    const XML_PATH_CONTENT_TEMPLATE_FILTER = 'global/catalog/content/tempate_filter';
                    
44    const XML_PATH_DISPLAY_PRODUCT_COUNT   = 'catalog/layered_navigation/display_product_count';
                    
239    /**
                    
240     * Is Global Price
                    
241     *
                    
                
wikiparser_test.php https://gitlab.com/unofficial-mirrors/moodle | PHP | 247 lines
                    
1<?php
                    
2// This file is part of Moodle - http://moodle.org/
                    
20 * @package   mod_wiki
                    
21 * @category  phpunit
                    
22 * @copyright 2009 Marc Alier, Jordi Piguillem marc.alier@upc.edu
                    
35
                    
36global $CFG;
                    
37require_once($CFG->dirroot . '/mod/wiki/parser/parser.php');
                    
91        $input = '<h1>Code &amp; Test</h1>';
                    
92        $output = '<h3><a name="toc-1"></a>Code &amp; Test <a href="edit.php?pageid=&amp;section=Code+%26amp%3B+Test" '.
                    
93            'class="wiki_edit_section">[edit]</a></h3>' . "\n";
                    
94        $toc = '<div class="wiki-toc"><p class="wiki-toc-title">Table of contents</p><p class="wiki-toc-section-1 '.
                    
95            'wiki-toc-section">1. <a href="#toc-1">Code &amp; Test <a href="edit.php?pageid=&amp;section=Code+%26amp%3B+'.
                    
96            'Test" class="wiki_edit_section">[edit]</a></a></p></div>';
                    
104        $input = '<h1>Another áéíóúç€ test</h1>';
                    
105        $output = '<h3><a name="toc-1"></a>Another áéíóúç€ test <a href="edit.php?pageid=&amp;section=Another+%C'.
                    
106            '3%A1%C3%A9%C3%AD%C3%B3%C3%BA%C3%A7%E2%82%AC+test" class="wiki_edit_section">[edit]</a></h3>' . "\n";
                    
                
jquery.blockUI.js https://bitbucket.org/berlotto/asciiblog.git | JavaScript | 398 lines
                    
8 * Dual licensed under the MIT and GPL licenses:
                    
9 * http://www.opensource.org/licenses/mit-license.php
                    
10 * http://www.gnu.org/licenses/gpl.html
                    
23
                    
24// global $ methods for blocking/unblocking the entire page
                    
25$.blockUI   = function(opts) { install(window, opts); };
                    
                
template.php https://bitbucket.org/postal/stratv2.git | PHP | 383 lines
                    
1<?php
                    
2// $Id: template.php 8021 2010-10-19 13:01:34Z sheena $
                    
70  // Format the footer message
                    
71  // We do this here instead of in page.tpl.php because 
                    
72  // we need a formatted message to pass along to the
                    
89function commons_roots_preprocess_comment(&$vars) {
                    
90  global $user;
                    
91  static $comment_odd = TRUE;                                                                             // Comment is odd or even
                    
148function commons_roots_shoutbox_post($shout, $links = array(), $alter_row_color=TRUE) {
                    
149  global $user;
                    
150  
                    
                
Context.cs https://bitbucket.org/kkszysiu/flashdevelop.git | C# | 389 lines
                    
13
                    
14namespace PHPContext
                    
15{
                    
19        new static readonly protected Regex re_CMD_BuildCommand =
                    
20            new Regex("@php[\\s]+(?<params>.*)", RegexOptions.Compiled | RegexOptions.Multiline);
                    
21
                    
25        private ContextSettings langSettings;
                    
26        private List<InlineRange> phpRanges; // inlined PHP ranges in HTML
                    
27
                    
186            phpRanges = new List<InlineRange>();
                    
187            return PhpFilter.FilterSource(src, phpRanges);
                    
188        }
                    
197        {
                    
198            PhpFilter.FilterSource(model, phpRanges);
                    
199        }
                    
                
javascript.php https://bitbucket.org/tdevonshire/hoolux.git | PHP | 625 lines
                    
1<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');
                    
2/**
                    
77		{
                    
78			require APPPATH.'libraries/Spellcheck.php'; 
                    
79		}
                    
99		{
                    
100			require APPPATH.'libraries/Spellcheck.php'; 
                    
101		}
                    
231	 *
                    
232	 * This private method is intended for usage by the 'add_global_cp_js' hook 
                    
233	 *
                    
623
                    
624/* End of file javascript.php */
                    
625/* Location: ./system/expressionengine/controllers/cp/javascript.php */
                    
                
appcachemanifest.php https://gitlab.com/Rad1calDreamer/honey | PHP | 611 lines
                    
1<?php
                    
2namespace Bitrix\Main\Data;
                    
9
                    
10	const MANIFEST_CHECK_FILE = "/bitrix/tools/check_appcache.php";
                    
11	private static $debug;
                    
155	{
                    
156		global $APPLICATION;
                    
157		$selfObject = self::getInstance();
                    
519	{
                    
520		$cache = new \CPHPCache();
                    
521		$manifestId = $arFields["ID"];
                    
531	{
                    
532		$cache = new \CPHPCache();
                    
533
                    
544	{
                    
545		$cache = new \CPHPCache();
                    
546		$cachePath = self::getCachePath($manifestId);
                    
                
init.php https://gitlab.com/mattswann/launch-housing | PHP | 368 lines
                    
1<?php
                    
2
                    
2
                    
3// DO NOT CALL THIS CLASS DIRECTLY. CALL VIA: pb_backupbuddy_destination in bootstrap.php.
                    
4
                    
24		'url'			=>		'',		// optional url for migration that corresponds to this ftp/path.
                    
25		'disable_file_management'	=>		'0',		// When 1, _manage.php will not load which renders remote file management DISABLED.
                    
26		'disabled'					=>		'0',		// When 1, disable this destination.
                    
38	public static function send( $settings = array(), $files = array(), $send_id = '' ) {
                    
39		global $pb_backupbuddy_destination_errors;
                    
40		if ( '1' == $settings['disabled'] ) {
                    
82			} else {
                    
83				pb_backupbuddy::status( 'details',  'Your web server doesnt support FTPS in PHP.', 'error' );
                    
84				return false;
                    
95			} else {
                    
96				pb_backupbuddy::status( 'details',  'Your web server doesnt support FTP in PHP.', 'error' );
                    
97				return false;
                    
                
eventapi.html.md https://gitlab.com/ggsaavedra/PredictionIO | Markdown | 412 lines
                    
37
                    
38INFO: By default, the Event Server is bound to 0.0.0.0, which serves global
                    
39traffic. To tighten security, you may use `pio eventserver --ip 127.0.0.1` to
                    
109  </div>
                    
110  <div data-tab="PHP SDK" data-lang="php">
                    
111```php
                    
111```php
                    
112<?php
                    
113  require_once("vendor/autoload.php");
                    
204  </div>
                    
205  <div data-tab="PHP SDK" data-lang="php">
                    
206```php
                    
206```php
                    
207<?php
                    
208  require_once("vendor/autoload.php");
                    
                
catalog.php https://gitlab.com/alexprowars/bitrix | PHP | 621 lines
                    
1<?php
                    
2/**
                    
153		// debug info
                    
154		global $USER;
                    
155
                    
233		// add debug info
                    
234		global $USER;
                    
235
                    
                
Command.php https://bitbucket.org/maatao/estrutura-b-sica-doctrine.git | PHP | 512 lines
                    
1<?php
                    
2
                    
378            $name,
                    
379            $_SERVER['PHP_SELF'].' '.$name
                    
380        );
                    
486        $commandXML->setAttribute('id', $this->getFullName());
                    
487        $commandXML->setAttribute('namespace', $this->getNamespace() ? $this->getNamespace() : '_global');
                    
488        $commandXML->setAttribute('name', $this->getName());
                    
                
css.js https://gitlab.com/wilane/Booktype | JavaScript | 455 lines
                    
6 * Licensed under the MIT License at:
                    
7 * 		http://www.opensource.org/licenses/mit-license.php
                    
8 *
                    
10
                    
11(function (global) {
                    
12
                    
44 *
                    
45 * Global configuration options:
                    
46 *
                    
101		// doc will be undefined during a build
                    
102		doc = global.document,
                    
103		// find the head element and set it to it's standard property if nec.
                    
                
rewrite.php https://bitbucket.org/zachisit/zachis.it-m.git | PHP | 425 lines
                    
1<?php
                    
2
                    
80	function get_permalink( $args ) {
                    
81		global $wp_rewrite, $wp_query;
                    
82
                    
164	function flush() { 
                    
165		global $wp_rewrite, $ngg;
                    
166		
                    
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
                    
261	function RewriteRules($wp_rewrite) {
                    
262        global $ngg;
                    
263        
                    
265            // XML request
                    
266            $this->slug . '/slideshow/([0-9]+)/?$' => 'index.php?imagerotator=true&gid=$matches[1]'
                    
267		);  
                    
                
Autoscalers.php https://gitlab.com/efabian/maya | PHP | 275 lines
                    
1<?php
                    
2/*
                    
54   * @opt_param bool includeAllScopes Indicates whether every visible scope for
                    
55   * each scope type (zone, region, global) should be included in the response.
                    
56   * For new resource types added after this field, the flag has no effect as new
                    
                
VarCloner.php https://gitlab.com/riandy_db/self-monitoring | PHP | 324 lines
                    
1<?php
                    
2
                    
40        $cookie = (object) array();     // Unique object used to detect hard references
                    
41        $gid = uniqid(mt_rand(), true); // Unique string used to detect the special $GLOBALS variable
                    
42        $a = null;                      // Array cast for nested structures
                    
127
                    
128                            // Copies of $GLOBALS have very strange behavior,
                    
129                            // let's detect them with some black magic
                    
132
                    
133                            // Happens with copies of $GLOBALS
                    
134                            if (isset($v[$gid])) {
                    
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                                }
                    
                
class-config.php https://gitlab.com/ngochuynh1991/cuacuon | PHP | 414 lines
                    
1<?php
                    
2/**
                    
40			WPSEO_Options::reset();
                    
41			wp_redirect( admin_url( 'admin.php?page=wpseo_dashboard' ) );
                    
42		}
                    
55		wp_enqueue_style( 'thickbox' );
                    
56		wp_enqueue_style( 'global' );
                    
57		wp_enqueue_style( 'wp-admin' );
                    
357		?>
                    
358			<div id="<?php echo esc_attr( $id ); ?>" class="yoastbox">
                    
359				<h1><?php echo $title; ?></h1>
                    
359				<h1><?php echo $title; ?></h1>
                    
360				<?php echo $content; ?>
                    
361			</div>
                    
361			</div>
                    
362		<?php
                    
363	}
                    
                
Pro.php https://gitlab.com/crazybutterfly815/magento2 | PHP | 436 lines
                    
1<?php
                    
2/**
                    
334    {
                    
335        $pendingReason = $payment->getAdditionalInformation(\Magento\Paypal\Model\Info::PENDING_REASON_GLOBAL);
                    
336        return $this->_isPaymentReviewRequired(
                    
                
questiontype.php https://gitlab.com/unofficial-mirrors/moodle | PHP | 284 lines
                    
1<?php
                    
2// This file is part of Moodle - http://moodle.org/
                    
27
                    
28require_once($CFG->dirroot . '/question/type/ddimageortext/questiontypebase.php');
                    
29
                    
58    public function save_question_options($formdata) {
                    
59        global $DB, $USER;
                    
60        $context = $formdata->context;
                    
146    public function move_files($questionid, $oldcontextid, $newcontextid) {
                    
147        global $DB;
                    
148        $fs = get_file_storage();
                    
170    protected function delete_files($questionid, $contextid) {
                    
171        global $DB;
                    
172        $fs = get_file_storage();
                    
                
config.php https://bitbucket.org/olivopablo/iphoto.git | PHP | 364 lines
                    
1<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');
                    
2
                    
25|
                    
26| Typically this will be your index.php file, unless you've renamed it to
                    
27| something else. If you are using mod_rewrite to remove the page set this
                    
37|
                    
38| This item determines which server global should be used to retrieve the
                    
39| URI string.  The default setting of 'AUTO' works for most servers.
                    
151| invoke your controllers and its functions:
                    
152| example.com/index.php?c=controller&m=function
                    
153|
                    
175|	0 = Disables logging, Error logging TURNED OFF
                    
176|	1 = Error Messages (including PHP errors)
                    
177|	2 = Debug Messages
                    
202|
                    
203| Each item that is logged has an associated date. You can use PHP date
                    
204| codes to set your own date formatting
                    
                
gva_row.php https://gitlab.com/kryber/wizionary | PHP | 344 lines
                    
1<?php
                    
2class element_gva_row{
                    
244	public function render_content( $settings = array(), $content = '' ) {
                    
245		global $base_url, $base_path;
                    
246         extract(gavias_merge_atts(array(
                    
322		
                    
323		  	<div class="gbb-row-wrapper section <?php print trim($row_class) ?>" <?php if($row_id) print 'id="'.$row_id.'"' ?> style="<?php print $row_style ?>" <?php if($data_bg_video) print $data_bg_video; ?> <?php if($row_name) print 'data-onepage-title="'.$row_name.'"'; ?>>
                    
324		  	<?php if($icon){ ?><span class="icon-row <?php print $icon ?>"></span><?php } ?>
                    
324		  	<?php if($icon){ ?><span class="icon-row <?php print $icon ?>"></span><?php } ?>
                    
325		    	<div class="bb-inner <?php if($style_space) print $style_space; ?>">  
                    
326		      	<div class="bb-container <?php print $layout ?>">
                    
327			        	<div class="row row-wrapper">
                    
328							<?php print $content ?>
                    
329	     	 			</div>
                    
337			  	?>
                    
338			    <div style="background-repeat: <?php print $bg_repeat; ?>;background-position:<?php print $bg_position ?>;<?php print ($bg_size=='width-100'?'background-size: 100%;':'')?>" class="gva-parallax-inner skrollable skrollable-between <?php print $row_bg_size ?>" <?php print $data_parallax ?>></div>
                    
339			  <?php } ?>
                    
                
openid.php https://gitlab.com/BeS/io.schiessle.org | PHP | 398 lines
                    
1<?php
                    
2/*
                    
23
                    
24require_once('Auth/OpenID.php');
                    
25require_once('Auth/OpenID/Consumer.php');
                    
25require_once('Auth/OpenID/Consumer.php');
                    
26require_once('Auth/OpenID/Server.php');
                    
27require_once('Auth/OpenID/SReg.php');
                    
27require_once('Auth/OpenID/SReg.php');
                    
28require_once('Auth/OpenID/MySQLStore.php');
                    
29
                    
87{
                    
88    global $_PEAR;
                    
89
                    
                
question.php https://gitlab.com/gregtyka/lfmawordpress | PHP | 406 lines
                    
8	// Base class for custom post type to extends
                    
9	learn_press_include( 'custom-post-types/abstract.php' );
                    
10
                    
196					if (0 == $title.val().length) {
                    
197						alert('<?php _e( 'Please enter the title of the question', 'learnpress' );?>');
                    
198						$title.focus();
                    
200					} else if ($('.lpr-question-types').length && ( 0 == $('.lpr-question-types').val().length )) {
                    
201						alert('<?php _e( 'Please a type of question', 'learnpress' );?>');
                    
202						$('.lpr-question-types').focus();
                    
222							<?php foreach ( $questions as $type => $name ): ?>
                    
223								<option value="<?php echo $type; ?>"><?php echo $name; ?></option>
                    
224							<?php endforeach; ?>
                    
389			global $pagenow, $post_type;
                    
390			if ( !is_admin() || ( $pagenow != 'edit.php' ) || ( LP()->question_post_type != $post_type ) ) {
                    
391				return false;
                    
                
BotApi.php https://gitlab.com/rasadeghnasab/advisor-telegrambot | PHP | 482 lines
                    
1<?php
                    
2
                    
103
                    
104    isset($this->keyboard_configs['global_buttons']) && $current_state->last_state != null ? $this->keyboardGlobalButtons() : $this->keyboard;
                    
105    if ($current_state->body == 'قبل از نمایش نتیجه') {
                    
105    if ($current_state->body == 'قبل از نمایش نتیجه') {
                    
106      $this->keyboardGlobalButtons(['']);
                    
107    }
                    
185    $this->getKeyboard($current_state, $question);
                    
186    $this->keyboardGlobalButtons(['global_buttons' => '']);
                    
187    $this->keyboardMarkup();
                    
222    $this->getKeyboard($current_state, $question);
                    
223    $this->keyboardGlobalButtons(['global_buttons' => '']);
                    
224    $this->keyboardMarkup();
                    
249    $this->getKeyboard($currentState, $question);
                    
250//    $this->keyboardGlobalButtons(['global_buttons' => '']);
                    
251    $this->keyboardMarkup();
                    
                
TextArea.php https://gitlab.com/ElvisAns/tiki | PHP | 377 lines
                    
1<?php
                    
2
                    
121
                    
122        global $user, $prefs;
                    
123        $language = $prefs['language'];
                    
234    {
                    
235        global $prefs;
                    
236        $baseKey = $this->getBaseKey();
                    
249
                    
250    public function getGlobalFields()
                    
251    {
                    
251    {
                    
252        global $prefs;
                    
253        $baseKey = $this->getBaseKey();
                    
267    {
                    
268        global $prefs;
                    
269        $schema = new Tracker\Tabular\Schema($this->getTrackerDefinition());
                    
                
class-cp-user-relationships.php https://gitlab.com/clusterpress/clusterpress | PHP | 543 lines
                    
1<?php
                    
2/**
                    
46	public function __construct( $args = array() ) {
                    
47		global $wpdb;
                    
48
                    
177	public function add( $args = array() ) {
                    
178		global $wpdb;
                    
179
                    
228	public function update( $args = array(), $where = array() ) {
                    
229		global $wpdb;
                    
230
                    
269	public function get_last_active( $user_id = 0 ) {
                    
270		global $wpdb;
                    
271
                    
283	public function get_last_actives( $user_ids = array() ) {
                    
284		global $wpdb;
                    
285
                    
                
class-wp-terms-list-table.php https://gitlab.com/haque.mdmanzurul/barongbarong | PHP | 454 lines
                    
14	function __construct( $args = array() ) {
                    
15		global $post_type, $taxonomy, $action, $tax;
                    
16
                    
366		if ( 'attachment' == $this->screen->post_type )
                    
367			return "<a href='" . esc_url ( add_query_arg( $args, 'upload.php' ) ) . "'>$count</a>";
                    
368
                    
413				<label>
                    
414					<span class="title"><?php _ex( 'Name', 'term name' ); ?></span>
                    
415					<span class="input-text-wrap"><input type="text" name="name" class="ptitle" value="" /></span>
                    
416				</label>
                    
417	<?php if ( !global_terms_enabled() ) { ?>
                    
418				<label>
                    
421				</label>
                    
422	<?php } ?>
                    
423			</div></fieldset>
                    
                
Admin.php https://gitlab.com/michield/phpList | PHP | 416 lines
                    
1<?php
                    
2namespace phpList;
                    
3
                    
4use phpList\helper\String;
                    
5use phpList\helper\Util;
                    
5use phpList\helper\Util;
                    
6use phpList\Entity\AdminEntity;
                    
7
                    
55        if ($this->id != 0) {
                    
56            phpList::DB()->query(
                    
57                sprintf(
                    
84    {
                    
85        $result = phpList::DB()->query(
                    
86            sprintf(
                    
111
                    
112        $result = phpList::DB()->query(
                    
113            sprintf(
                    
                
global.html https://bitbucket.org/jcjordan/jcjordan.bitbucket.org.git | HTML | 247 lines
                    
5<meta charset="utf-8">
                    
6<title>phpDocumentor » global</title>
                    
7<meta name="author" content="Mike van Riel">
                    
17<div class="navbar-inner"><div class="container">
                    
18<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse"><span class="icon-bar"></span><span class="icon-bar"></span><span class="icon-bar"></span></a><a class="brand" href="../index.html">phpDocumentor</a><div class="nav-collapse"><ul class="nav">
                    
19<li class="dropdown">
                    
69<li>
                    
70<a href="../namespaces/global.html" title="global"><i class="icon-th"></i>global</a><ul class="nav nav-list nav-namespaces"></ul>
                    
71</li>
                    
78</li>
                    
79<li class="active"><a href="../namespaces/global.html">global</a></li>
                    
80</ul>
                    
242            Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
                    
243            Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a12</a> and<br>
                    
244            generated on 2013-02-20T14:44:48-06:00.<br></footer></div>
                    
                
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
                    
88	protected static function getSettings() {
                    
89		global $current_user;
                    
90
                    
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
                    
                
config.php https://gitlab.com/phamngsinh/baitaplon_sinhvien | PHP | 364 lines
                    
1<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');
                    
2
                    
23|
                    
24| Typically this will be your index.php file, unless you've renamed it to
                    
25| something else. If you are using mod_rewrite to remove the page set this
                    
28*/
                    
29$config['index_page'] = 'index.php';
                    
30
                    
35|
                    
36| This item determines which server global should be used to retrieve the
                    
37| URI string.  The default setting of 'AUTO' works for most servers.
                    
149| invoke your controllers and its functions:
                    
150| example.com/index.php?c=controller&m=function
                    
151|
                    
173|	0 = Disables logging, Error logging TURNED OFF
                    
174|	1 = Error Messages (including PHP errors)
                    
175|	2 = Debug Messages
                    
                
blacklistlib.php https://gitlab.com/ElvisAns/tiki | PHP | 360 lines
                    
1<?php
                    
2
                    
135    {
                    
136        global $prefs;
                    
137
                    
176            while ($foo = $result->fetchrow()) {
                    
177                if (! fwrite($pointer, $foo['password'] . PHP_EOL)) {
                    
178                    Feedback::error(tr('File Error. Password file generation interrupted.'));
                    
184            while ($foo = $result->fetchrow()) {
                    
185                echo $foo['password'] . PHP_EOL;
                    
186            }
                    
201    {
                    
202        global $prefs;
                    
203
                    
222    {
                    
223        if ($GLOBALS['prefs']['pass_blacklist'] == 'n' || ! isset($GLOBALS['prefs']['pass_blacklist'])) {
                    
224            return 'Disabled';
                    
                
ssp.class.php https://gitlab.com/ealexis.t/trends | PHP | 390 lines
                    
1<?php
                    
2
                    
19// REMOVE THIS BLOCK - used for DataTables test environment only!
                    
20$file = $_SERVER['DOCUMENT_ROOT'].'/datatables/mysql.php';
                    
21if ( is_file( $file ) ) {
                    
138	{
                    
139		$globalSearch = array();
                    
140		$columnSearch = array();
                    
152					$binding = self::bind( $bindings, '%'.$str.'%', PDO::PARAM_STR );
                    
153					$globalSearch[] = "`".$column['db']."` LIKE ".$binding;
                    
154				}
                    
175
                    
176		if ( count( $globalSearch ) ) {
                    
177			$where = '('.implode(' OR ', $globalSearch).')';
                    
                
mkdist.php https://gitlab.com/0072016/appengine-php | PHP | 548 lines
                    
15
                    
16$dist_dir = $build_dir . "/php-" . phpversion();
                    
17$test_dir = $build_dir . "/php-test-pack-" . phpversion();
                    
215$phplib = str_replace(".dll", ".lib", $phpdll);
                    
216copy("$build_dir/$phplib", "$dist_dir/dev/$phplib");
                    
217/* debug builds; copy the symbols too */
                    
240	"win32/install.txt" => "install.txt",
                    
241	"win32/pws-php5cgi.reg" => "pws-php5cgi.reg",
                    
242	"win32/pws-php5isapi.reg" => "pws-php5isapi.reg",
                    
461}
                    
462copy('run-tests.php', $test_dir . '/run-test.php');
                    
463
                    
495
                    
496	/* Now, we want PEAR.php, Getopt.php (Console_Getopt) and Tar.php (Archive_Tar)
                    
497	 * broken out of the tarballs */
                    
                
Object.php https://github.com/wrobel/horde-fw3.git | PHP | 433 lines
                    
1<?php
                    
2/**
                    
5 *
                    
6 * $Horde: turba/lib/Object.php,v 1.17.10.13 2009-10-24 18:48:23 mrubinsk Exp $
                    
7 *
                    
92            if (is_callable(array('Horde', 'loadConfiguration'))) {
                    
93                Horde::loadConfiguration('hooks.php', null, 'turba');
                    
94            } else {
                    
94            } else {
                    
95                if (file_exists(TURBA_BASE . '/config/hooks.php')) {
                    
96                    include_once TURBA_BASE . '/config/hooks.php';
                    
123            return null;
                    
124        } elseif (isset($GLOBALS['attributes'][$attribute]) &&
                    
125                  $GLOBALS['attributes'][$attribute]['type'] == 'image') {
                    
147            if (is_callable(array('Horde', 'loadConfiguration'))) {
                    
148                Horde::loadConfiguration('hooks.php', null, 'turba');
                    
149            } else {
                    
                
ListCommand.php https://gitlab.com/Sigpot/AirSpot | PHP | 278 lines
                    
1<?php
                    
2
                    
17use Psy\Command\ListCommand\FunctionEnumerator;
                    
18use Psy\Command\ListCommand\GlobalVariableEnumerator;
                    
19use Psy\Command\ListCommand\InterfaceEnumerator;
                    
76
                    
77                new InputOption('globals',     'g', InputOption::VALUE_NONE,     'Include global variables.'),
                    
78                new InputOption('internal',    'n', InputOption::VALUE_NONE,     'Limit to internal functions and classes.'),
                    
150                new FunctionEnumerator($mgr),
                    
151                new GlobalVariableEnumerator($mgr),
                    
152                new InterfaceEnumerator($mgr),
                    
249
                    
250            foreach (array('globals', 'vars', 'constants', 'functions', 'classes', 'interfaces', 'traits') as $option) {
                    
251                if ($input->getOption($option)) {
                    
259            // if a target is passed, classes, functions, etc don't make sense
                    
260            foreach (array('vars', 'globals', 'functions', 'classes', 'interfaces', 'traits') as $option) {
                    
261                if ($input->getOption($option)) {
                    
                
fckeditor.css https://gitlab.com/ptisky/API_prestashop | CSS | 536 lines
                    
1/*~~~~~~Global Setting ~~~~~~~~*/

                    
2html, body{

                    
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);}

                    
532

                    
533/*~~~~~~Global Low Priority Setting ~~~~~~~~*/

                    
534.left, td.left, th.left, td.leftDisabled{text-align:left;}

                    
                
http.php https://gitlab.com/morganestes/wordpress-develop | PHP | 374 lines
                    
1<?php
                    
2/**
                    
99
                    
100			// < PHP 5.4.7: Schemeless URL
                    
101			array(
                    
123
                    
124			// < PHP 5.4.7: Scheme separator in the URL.
                    
125			array(
                    
134
                    
135			// < PHP 5.4.7: IPv6 literals in schemeless URLs are handled incorrectly.
                    
136			array(
                    
143
                    
144			// PHP's parse_url() calls this an invalid url, we handle it as a path
                    
145			array( '/://example.com/', array( 'path' => '/://example.com/' ) ),
                    
146
                    
147			// Schemeless URL containing colons cause parse errors in PHP 7+.
                    
148			array(
                    
                
class-admin.php https://gitlab.com/haque.mdmanzurul/wp-harpar-carolyn | PHP | 441 lines
                    
1<?php
                    
2
                    
55		 *
                    
56		 * @global object $wp_embed
                    
57		 * @return void
                    
92		 *
                    
93		 * @global string $pagenow
                    
94		 * @return void
                    
98			global $pagenow;
                    
99			$enabled_pages = apply_filters( 'black_studio_tinymce_enable_pages', array( 'widgets.php', 'customize.php', 'admin-ajax.php' ) );
                    
100			return apply_filters( 'black_studio_tinymce_enable', in_array( $pagenow, $enabled_pages ) );
                    
                
querylib.php https://github.com/cwaclawik/moodle.git | PHP | 495 lines
                    
1<?php
                    
2/** 
                    
2/** 
                    
3* Global Search Engine for Moodle
                    
4*
                    
16*/
                    
17require_once($CFG->dirroot.'/search/Zend/Search/Lucene.php');
                    
18
                    
159    public function __construct($term = '', $page = 1, $results_per_page = 10, $cache = false) {
                    
160        global $CFG;
                    
161
                    
221    private function process_results($all=false) {
                    
222        global $USER;
                    
223
                    
337      if ($page > 1) {
                    
338        $ret .= "<a href='query.php?query_string={$query}&page=".($page-1)."'>&lt; {$back}</a>&nbsp;";
                    
339      } else {
                    
                
grid.locale-en.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 224 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
                    
11/*jslint white: true */
                    
12/*global jQuery */
                    
13(function ($) {
                    
158                masks: {
                    
159                    // see http://php.net/manual/en/function.date.php for PHP format used in jqGrid
                    
160                    // and see http://docs.jquery.com/UI/Datepicker/formatDate
                    
160                    // and see http://docs.jquery.com/UI/Datepicker/formatDate
                    
161                    // and https://github.com/jquery/globalize#dates for alternative formats used frequently
                    
162                    // one can find on https://github.com/jquery/globalize/tree/master/lib/cultures many
                    
163                    // information about date, time, numbers and currency formats used in different countries
                    
164                    // one should just convert the information in PHP format
                    
165                    // short date:
                    
                
cURL.php https://gitlab.com/x33n/ampache | PHP | 349 lines
                    
1<?php
                    
2/**
                    
25	 *
                    
26	 * @var array cURL information array, see {@see http://php.net/curl_getinfo}
                    
27	 */
                    
127	 * @param array $requests Request data
                    
128	 * @param array $options Global options
                    
129	 * @return array Array of Requests_Response objects (may contain Requests_Exception or string responses as well)
                    
313	 * @param string $url
                    
314	 * @param array|object $data Data to build query using, see {@see http://php.net/http_build_query}
                    
315	 * @return string URL with data
                    
                
sysvmsg.c https://gitlab.com/envieidoc/tomato | C | 477 lines
                    
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          |
                    
25#include "php.h"
                    
26#include "php_globals.h"
                    
27#include "ext/standard/info.h"
                    
145{
                    
146	php_info_print_table_start();
                    
147	php_info_print_table_row(2, "sysvmsg support", "enabled");
                    
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. */
                    
                
template.php https://gitlab.com/endomorphosis/jeffersonsmithmayor | PHP | 394 lines
                    
95 * Works by first retrieving the current slug for example 'category-default.php' and then
                    
96 * trying category ID, for example 'category-1.php' and will finally fallback to category.php
                    
97 * template, if those files don't exist.
                    
185 *
                    
186 * Attempts to locate 'home.php' first before falling back to 'index.php'.
                    
187 *
                    
193function get_home_template() {
                    
194	$templates = array( 'home.php', 'index.php' );
                    
195
                    
218 * Will first look for the specifically assigned page template
                    
219 * The will search for 'page-{slug}.php' followed by 'page-id.php'
                    
220 * and finally 'page.php'
                    
296 *
                    
297 * Some examples for the 'text/plain' mime type are 'text.php', 'plain.php', and
                    
298 * finally 'text_plain.php'.
                    
                
config.php https://gitlab.com/mautic-master/mautic | PHP | 258 lines
                    
1<?php
                    
2/**
                    
186            'mautic.form.type.slideshow_config'         => [
                    
187                'class' => 'Mautic\PageBundle\Form\Type\SlideshowGlobalConfigType',
                    
188                'alias' => 'slideshow_config'
                    
                
FieldInstancePerFormDisplayTest.php https://gitlab.com/reasonat/test8 | PHP | 184 lines
                    
1<?php
                    
2
                    
35      'required' => FALSE,
                    
36      'global_settings' => array(),
                    
37    ),
                    
47      'required' => FALSE,
                    
48      'global_settings' => array(),
                    
49    ),
                    
59      'required' => FALSE,
                    
60      'global_settings' => array(),
                    
61    ),
                    
71      'required' => FALSE,
                    
72      'global_settings' => array(),
                    
73    ),
                    
                
class.php https://gitlab.com/alexprowars/bitrix | PHP | 524 lines
                    
1<?php
                    
2
                    
117	{
                    
118		global $USER;
                    
119
                    
186	{
                    
187		global $APPLICATION;
                    
188		$templateName = null;
                    
316
                    
317		global $USER;
                    
318
                    
390	{
                    
391		global $USER;
                    
392
                    
423	{
                    
424		global $USER;
                    
425
                    
                
class-storefront-woocommerce.php https://gitlab.com/leobelizquierdo/cabotsubmitter-wordpress | PHP | 339 lines
                    
1<?php
                    
2/**
                    
73		public function woocommerce_scripts() {
                    
74			global $storefront_version;
                    
75
                    
101			</script>
                    
102		<?php
                    
103			}
                    
                
css_editor.js https://gitlab.com/oxidigitaluser/liguelista | JavaScript | 343 lines
                    
8// Safety first
                    
9/** global window.i18nLocale */
                    
10if (_.isUndefined(window.vc)) var vc = {atts: {}};
                    
11(function ($) {
                    
12	var preloaderUrl = ajaxurl.replace(/admin\-ajax\.php/, 'images/wpspin_light.gif'),
                    
13		template_options = {
                    
                
ServerDatabasesControllerTest.php https://gitlab.com/trungthao379/phpmyadmin | PHP | 315 lines
                    
14
                    
15require_once 'test/libraries/stubs/ResponseStub.php';
                    
16require_once 'test/PMATestCase.php';
                    
20 *
                    
21 * @package PhpMyAdmin-test
                    
22 */
                    
41
                    
42        $GLOBALS['table'] = "table";
                    
43        $GLOBALS['replication_info']['master']['status'] = false;
                    
120        $this->assertContains(
                    
121            '<form class="ajax" action="server_databases.php" ',
                    
122            $html
                    
153        $this->assertRegExp(
                    
154            '/title="phpmyadmin"[[:space:]]*value="phpmyadmin"/',
                    
155            $html
                    
                
DbSearchTest.php https://gitlab.com/trungthao379/phpmyadmin | PHP | 270 lines
                    
12require_once 'libraries/database_interface.inc.php';
                    
13require_once 'test/PMATestCase.php';
                    
14
                    
20 *
                    
21 * @package PhpMyAdmin-test
                    
22 */
                    
88
                    
89        $GLOBALS['dbi'] = $dbi;
                    
90
                    
163                . '</td><td><a name="browse_search" class="ajax" '
                    
164                . 'href="sql.php?db=pma&amp;table'
                    
165                . '=table1&amp;goto=db_sql.php&amp;pos=0&amp;is_js_confirmed=0&amp;'
                    
175                . '<a name="delete_search" class="ajax" href'
                    
176                . '="sql.php?db=pma&amp;table=table1&amp;goto=db_sql.php&amp;pos=0'
                    
177                . '&amp;is_js_confirmed=0&amp;sql_query=column2&amp;server=0&amp;'
                    
                
file_browser_test.php https://gitlab.com/unofficial-mirrors/moodle | PHP | 248 lines
                    
1<?php
                    
2// This file is part of Moodle - http://moodle.org/
                    
54    public function setUp() {
                    
55        global $DB;
                    
56        $this->resetAfterTest();
                    
                
course_bin.php https://gitlab.com/unofficial-mirrors/moodle | PHP | 335 lines
                    
1<?php
                    
2// This file is part of Moodle - http://moodle.org/
                    
69    public function get_item($itemid) {
                    
70        global $DB;
                    
71
                    
82    public function get_items() {
                    
83        global $DB;
                    
84
                    
96    public function store_item($cm) {
                    
97        global $CFG, $DB;
                    
98
                    
98
                    
99        require_once($CFG->dirroot . '/backup/util/includes/backup_includes.php');
                    
100
                    
188    public function restore_item($item) {
                    
189        global $CFG, $OUTPUT, $PAGE;
                    
190
                    
                
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// +-----------------------------------------------------------------------+
                    
53  {
                    
54    global $conf;
                    
55
                    
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      }
                    
379      $rel_url = 'i';
                    
380      if ($conf['php_extension_in_urls']) $rel_url .= '.php';
                    
381      if ($conf['question_mark_in_urls']) $rel_url .= '?';
                    
                
class-wc-settings-tax.php https://gitlab.com/campus-academy/krowkaramel | PHP | 348 lines
                    
1<?php
                    
2/**
                    
79	public function get_settings_for_default_section() {
                    
80		return include __DIR__ . '/views/settings-tax.php';
                    
81	}
                    
86	public function output() {
                    
87		global $current_section;
                    
88
                    
101	public function save() {
                    
102		// phpcs:disable WordPress.Security.NonceVerification.Missing
                    
103		global $current_section;
                    
108			if ( isset( $_POST['woocommerce_tax_classes'] ) ) {
                    
109				$this->save_tax_classes( wp_unslash( $_POST['woocommerce_tax_classes'] ) ); // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized
                    
110			}
                    
121		WC_Cache_Helper::get_transient_version( 'shipping', true );
                    
122		// phpcs:enable WordPress.Security.NonceVerification.Missing
                    
123	}
                    
                
watchpack.js https://gitlab.com/nguyenthehiep3232/marius | JavaScript | 383 lines
                    
1/*
                    
2	MIT License http://www.opensource.org/licenses/mit-license.php
                    
3	Author Tobias Koppers @sokra
                    
9const EventEmitter = require("events").EventEmitter;
                    
10const globToRegExp = require("glob-to-regexp");
                    
11const watchEventSource = require("./watchEventSource");
                    
25const stringToRegexp = ignored => {
                    
26	const source = globToRegExp(ignored, { globstar: true, extended: true })
                    
27		.source;
                    
                
header.php https://gitlab.com/kaouech/theme | PHP | 198 lines
                    
1<?php include 'config.php' ?>
                    
2<!DOCTYPE html>
                    
56<body>
                    
57<?php if (!isset($no_visible_elements) || !$no_visible_elements) { ?>
                    
58    <!-- topbar starts -->
                    
106            <ul class="collapse navbar-collapse nav navbar-nav top-menu">
                    
107                <li><a href="#"><i class="glyphicon glyphicon-globe"></i> Visit Site</a></li>
                    
108                <li class="dropdown">
                    
131    <!-- topbar ends -->
                    
132<?php } ?>
                    
133<div class="ch-container">
                    
134    <div class="row">
                    
135        <?php if (!isset($no_visible_elements) || !$no_visible_elements) { ?>
                    
136
                    
171                                    class="glyphicon glyphicon-th"></i><span> Grid</span></a></li>
                    
172                        <li><a href="tour.html"><i class="glyphicon glyphicon-globe"></i><span> Tour</span></a></li>
                    
173                        <li><a class="ajax-link" href="icon.html"><i
                    
                
mxml-entity.c https://gitlab.com/pine64-android/linux-3.10 | C | 449 lines
                    
32{
                    
33  _mxml_global_t *global = _mxml_global();
                    
34					/* Global data */
                    
36
                    
37  if (global->num_entity_cbs < (int)(sizeof(global->entity_cbs) / sizeof(global->entity_cbs[0])))
                    
38  {
                    
93  int		ch;			/* Character value */
                    
94  _mxml_global_t *global = _mxml_global();
                    
95					/* Global data */
                    
114  int		i;			/* Looping var */
                    
115  _mxml_global_t *global = _mxml_global();
                    
116					/* Global data */
                    
129        memmove(global->entity_cbs + i, global->entity_cbs + i + 1,
                    
130	        (global->num_entity_cbs - i) * sizeof(global->entity_cbs[0]));
                    
131
                    
                
Input.php https://gitlab.com/dleonov/my-framework-two | PHP | 419 lines
                    
120
                    
121		$superGlobal = '_' . strtoupper($name);
                    
122
                    
122
                    
123		if (isset($GLOBALS[$superGlobal]))
                    
124		{
                    
124		{
                    
125			$this->inputs[$name] = new Input($GLOBALS[$superGlobal], $this->options);
                    
126
                    
393			// Load up all the globals.
                    
394			foreach ($GLOBALS as $global => $data)
                    
395			{
                    
399					// Convert global name to input name.
                    
400					$global = strtolower($global);
                    
401					$global = substr($global, 1);
                    
                
site_speed.php https://gitlab.com/alexprowars/bitrix | PHP | 297 lines
                    
2/**
                    
3 * @global CUser $USER
                    
4 * @global CMain $APPLICATION
                    
5 */
                    
6require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/prolog_admin_before.php");
                    
7require_once($_SERVER["DOCUMENT_ROOT"].BX_ROOT."/modules/main/prolog.php");
                    
7require_once($_SERVER["DOCUMENT_ROOT"].BX_ROOT."/modules/main/prolog.php");
                    
8define("HELP_FILE", "settings/site_speed.php");
                    
9
                    
23$APPLICATION->SetTitle(Loc::getMessage("MAIN_SITE_SPEED_TITLE"));
                    
24require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/prolog_admin_after.php");
                    
25
                    
100				if (\Bitrix\Main\ModuleManager::isModuleInstalled("perfmon")):
                    
101					$mark = (double)COption::GetOptionString("perfmon", "mark_php_page_rate", "");
                    
102				?>
                    
                
annotate.html https://gitlab.com/jiapei100/ImageMagick | HTML | 300 lines
                    
15  <meta name="application-url" content="http://www.imagemagick.org"/>
                    
16  <meta name="generator" content="PHP"/>
                    
17  <meta name="keywords" content="magickcore, c, api, for, imagemagick:, annotate, an, image, ImageMagick, PerlMagick, image processing, image, photo, software, Magick++, OpenMP, convert"/>
                    
24  <meta name="copyright" content="Copyright (c) 1999-2016 ImageMagick Studio LLC"/>
                    
25  <meta name="distribution" content="Global"/>
                    
26  <meta name="magick-serial" content="P131-S030410-R485315270133-P82224-A6668-G1245-1"/>
                    
51      <a class="magick-nav-item " href="api.html">Develop</a>
                    
52      <a class="magick-nav-item " href="http://www.imagemagick.org/script/search.php">Search</a>
                    
53      <a class="magick-nav-item pull-right" href="https://www.imagemagick.org/discourse-server/">Community</a>
                    
290    <a href="http://pgp.mit.edu:11371/pks/lookup?op=get&amp;search=0x89AB63D48277377A">Public Key</a> •
                    
291    <a href="http://www.imagemagick.org/script/contact.php">Contact Us</a></p>
                    
292        <p><small>©  1999-2016 ImageMagick Studio LLC</small></p>
                    
                
class-wp-media-list-table.php https://gitlab.com/puppet-br/puppet-br.org-wordpress | PHP | 396 lines
                    
174?>
                    
175	<tr id='post-<?php echo $id; ?>' class='<?php echo trim( $alt . ' author-' . $post_owner . ' status-' . $post->post_status ); ?>' valign="top">
                    
176<?php
                    
253?>
                    
254		<td <?php echo $attributes ?>><?php
                    
255		$tags = get_the_tags();
                    
270?>
                    
271		<td <?php echo $attributes ?>><?php echo has_excerpt() ? $post->post_excerpt : ''; ?></td>
                    
272<?php
                    
291?>
                    
292		<td <?php echo $attributes ?>><?php echo $h_time ?></td>
                    
293<?php
                    
313?>
                    
314			<td <?php echo $attributes ?>><?php _e( '(Unattached)' ); ?><br />
                    
315			<?php if( $user_can_edit ) {?>
                    
                
Cost_Utils.php https://gitlab.com/kath.de/cibedo_cibedo.de | PHP | 481 lines
                    
1<?php
                    
2/**
                    
44	public function get_all_costs() {
                    
45		global $wpdb;
                    
46
                    
274	public function has_uncosted_events() {
                    
275		global $wpdb;
                    
276
                    
                
default.php https://bitbucket.org/eternaware/joomus.git | PHP | 218 lines
                    
22?>
                    
23<form action="<?php echo JRoute::_('index.php?option=com_banners&view=banners'); ?>" method="post" name="adminForm" id="adminForm">
                    
24	<fieldset id="filter-bar">
                    
27			<label class="filter-search-lbl" for="filter_search"><?php echo JText::_('JSEARCH_FILTER_LABEL'); ?></label>
                    
28			<input type="text" name="filter_search" id="filter_search" value="<?php echo $this->escape($this->state->get('filter.search')); ?>" title="<?php echo JText::_('Banners_Search_in_title'); ?>" />
                    
29			<button type="submit"><?php echo JText::_('JSEARCH_FILTER_SUBMIT'); ?></button>
                    
75				<th class="checkmark-col">
                    
76					<input type="checkbox" name="checkall-toggle" value="" title="<?php echo JText::_('JGLOBAL_CHECK_ALL'); ?>" onclick="Joomla.checkAll(this)" />
                    
77				</th>
                    
143					<p class="smallsub">
                    
144						<?php echo JText::sprintf('JGLOBAL_LIST_ALIAS', $this->escape($item->alias));?></p>
                    
145				</td>
                    
169						<?php $disabled = $saveOrder ?  '' : 'disabled="disabled"'; ?>
                    
170						<input type="text" name="order[]" value="<?php echo $item->ordering;?>" <?php echo $disabled; ?> class="text-area-order" title="<?php echo $item->name; ?> order" />
                    
171					<?php else : ?>
                    
                
Config.php https://bitbucket.org/webpolis/liiv.git | PHP | 514 lines
                    
377
                    
378        if (!isset($GLOBALS['config']['ResourceType']) || !is_array($GLOBALS['config']['ResourceType'])) {
                    
379            return $_null;
                    
402        if (!isset($this->_thumbnailsConfigCache)) {
                    
403            $this->_thumbnailsConfigCache = new CKFinder_Connector_Core_ThumbnailsConfig(isset($GLOBALS['config']['Thumbnails']) ? $GLOBALS['config']['Thumbnails'] : array());
                    
404        }
                    
417        if (!isset($this->_imagesConfigCache)) {
                    
418            $this->_imagesConfigCache = new CKFinder_Connector_Core_ImagesConfig(isset($GLOBALS['config']['Images']) ? $GLOBALS['config']['Images'] : array());
                    
419        }
                    
432        if (!isset($this->_accessControlConfigCache)) {
                    
433            $this->_accessControlConfigCache = new CKFinder_Connector_Core_AccessControlConfig(isset($GLOBALS['config']['AccessControl']) ? $GLOBALS['config']['AccessControl'] : array());
                    
434        }
                    
500    {
                    
501        if (!isset($GLOBALS['config']['ResourceType']) || !is_array($GLOBALS['config']['ResourceType'])) {
                    
502            return array();
                    
                
slideshow.php https://gitlab.com/relacilia/cakra | PHP | 306 lines
                    
1<?php
                    
2
                    
9	function __construct() {
                    
10		global $shortcode_tags;
                    
11
                    
91		<fieldset>
                    
92			<select name="<?php echo esc_attr( $name ); ?>" id="<?php esc_attr( $name ); ?>">
                    
93				<?php foreach ( $values as $key => $value ) : ?>
                    
93				<?php foreach ( $values as $key => $value ) : ?>
                    
94					<option value="<?php echo esc_attr( $key ); ?>" <?php selected( $key, $option ); ?>>
                    
95						<?php echo esc_html( $value ); ?>
                    
96					</option>
                    
97				<?php endforeach; ?>
                    
98			</select>
                    
98			</select>
                    
99			<?php if ( ! empty( $extra_text ) ) : ?>
                    
100				<p class="description"><?php echo esc_html( $extra_text ); ?></p>
                    
                
postgres7.php https://bitbucket.org/ciceidev/cicei_moodle_conditional_activities.git | PHP | 217 lines
                    
1<?php  // $Id$
                    
2
                    
5// IT IS USED ONLY FOR UPGRADES FROM BEFORE MOODLE 1.7, ALL 
                    
6// LATER CHANGES SHOULD USE upgrade.php IN THIS DIRECTORY.
                    
7
                    
11
                    
12    global $CFG;
                    
13
                    
15        if (!empty($CFG->textfilters)) {
                    
16            $CFG->textfilters = str_replace("dynalink.php", "filter.php", $CFG->textfilters);
                    
17            set_config("textfilters", $CFG->textfilters);
                    
170    if ($oldversion < 2005041100) { // replace wiki-like with markdown
                    
171        include_once( "$CFG->dirroot/lib/wiki_to_markdown.php" );
                    
172        $wtm = new WikiToMarkdown();
                    
211
                    
212    //////  DO NOT ADD NEW THINGS HERE!!  USE upgrade.php and the lib/ddllib.php functions.
                    
213
                    
                
class-admin.php https://gitlab.com/treighton/wpgit | PHP | 440 lines
                    
1<?php
                    
2
                    
55		 *
                    
56		 * @global object $wp_embed
                    
57		 * @since 2.0.0
                    
91		 *
                    
92		 * @global string $pagenow
                    
93		 * @return void
                    
97			global $pagenow;
                    
98			$enabled_pages = apply_filters( 'black_studio_tinymce_enable_pages', array( 'widgets.php', 'customize.php', 'admin-ajax.php' ) );
                    
99			return apply_filters( 'black_studio_tinymce_enable', in_array( $pagenow, $enabled_pages ) );
                    
                
class-wp-ms-users-list-table.php https://gitlab.com/woxiprogrammers/infinia-wordpress | PHP | 307 lines
                    
1<?php
                    
2/**
                    
105	/**
                    
106	 * @global string $mode
                    
107	 * @param string $which
                    
109	protected function pagination( $which ) {
                    
110		global $mode;
                    
111
                    
181						<th scope="row" class="check-column">
                    
182							<label class="screen-reader-text" for="blog_<?php echo $user->ID; ?>"><?php echo sprintf( __( 'Select %s' ), $user->user_login ); ?></label>
                    
183							<input type="checkbox" id="blog_<?php echo $user->ID ?>" name="allusers[]" value="<?php echo esc_attr( $user->ID ) ?>" />
                    
184						</th>
                    
185					<?php
                    
186					break;
                    
192						echo "<td $attributes>"; ?>
                    
193							<?php echo $avatar; ?><strong><a href="<?php echo $edit_link; ?>" class="edit"><?php echo $user->user_login; ?></a><?php
                    
194							if ( in_array( $user->user_login, $super_admins ) )
                    
                
layout.class.php https://gitlab.com/dali99/shimmie2-Material-Theme | PHP | 267 lines
                    
1<?php
                    
2/**
                    
15
                    
16Files: default.php, style.css
                    
17
                    
46	public function display_page($page) {
                    
47		global $config, $user;
                    
48
                    
127		$qp = explode("/", ltrim(_get_query(), "/"));
                    
128		// php sucks
                    
129		switch($qp[0]) {
                    
                
main.php https://gitlab.com/dali99/shimmie2-Material-Theme | PHP | 371 lines
                    
1<?php
                    
2/*
                    
153	public function onPageRequest(PageRequestEvent $event) {
                    
154		global $user, $page;
                    
155		if($event->page_matches("tag_edit")) {
                    
175	public function onPostListBuilding(PostListBuildingEvent $event) {
                    
176		global $user;
                    
177		if($user->can("bulk_edit_image_source") && !empty($event->search_terms)) {
                    
182	public function onImageInfoSet(ImageInfoSetEvent $event) {
                    
183		global $user;
                    
184		if($user->can("edit_image_owner")) {
                    
206	public function onOwnerSet(OwnerSetEvent $event) {
                    
207		global $user;
                    
208		if($user->can("edit_image_owner") && (!$event->image->is_locked() || $user->can("edit_image_lock"))) {
                    
213	public function onTagSet(TagSetEvent $event) {
                    
214		global $user;
                    
215		if($user->can("edit_image_tag") && (!$event->image->is_locked() || $user->can("edit_image_lock"))) {
                    
                
provider.php https://bitbucket.org/moodle/moodle.git | PHP | 259 lines
                    
1<?php
                    
2// This file is part of Moodle - http://moodle.org/
                    
131    public static function export_user_data(approved_contextlist $contextlist) {
                    
132        global $DB;
                    
133
                    
188    public static function delete_data_for_all_users_in_context(\context $context) {
                    
189        global $DB;
                    
190
                    
205    public static function delete_data_for_user(approved_contextlist $contextlist) {
                    
206        global $DB;
                    
207
                    
229    public static function delete_data_for_users(approved_userlist $userlist) {
                    
230        global $DB;
                    
231        $context = $userlist->get_context();
                    
                
behat_core_question.php https://bitbucket.org/moodle/moodle.git | PHP | 217 lines
                    
1<?php
                    
2// This file is part of Moodle - http://moodle.org/
                    
16
                    
17// NOTE: no MOODLE_INTERNAL test here, this file may be required by behat before including /config.php.
                    
18
                    
18
                    
19require_once(__DIR__ . '/behat_question_base.php');
                    
20
                    
70            case 'course question bank':
                    
71                return new moodle_url('/question/edit.php',
                    
72                        ['courseid' => $this->get_course_id($identifier)]);
                    
74            case 'course question import':
                    
75                return new moodle_url('/question/bank/importquestions/import.php',
                    
76                        ['courseid' => $this->get_course_id($identifier)]);
                    
78            case 'course question export':
                    
79                return new moodle_url('/question/bank/exportquestions/export.php',
                    
80                        ['courseid' => $this->get_course_id($identifier)]);
                    
                
README.md https://gitlab.com/matijabelec/bigpandadev | Markdown | 343 lines
                    
12$js = new AssetCollection(array(
                    
13    new GlobAsset('/path/to/js/*'),
                    
14    new FileAsset('/path/to/another.js'),
                    
65
                    
66``` php
                    
67<?php
                    
95 * `LessFilter`: parses LESS into CSS (using less.js with node.js)
                    
96 * `LessphpFilter`: parses LESS into CSS (using lessphp)
                    
97 * `OptiPngFilter`: optimize your PNGs
                    
104 * `Sass\ScssFilter`: parses SCSS into CSS
                    
105 * `ScssphpFilter`: parses SCSS using scssphp
                    
106 * `SeparatorFilter`: inserts a separator between assets to prevent merge failures
                    
134
                    
135``` php
                    
136<?php
                    
                
editor.php https://gitlab.com/phamngsinh/baitaplon_sinhvien | PHP | 522 lines
                    
1<?php
                    
2/**
                    
91	/**
                    
92	 * Returns the global Editor object, only creating it
                    
93	 * if it doesn't already exist.
                    
488		$name = JFilterInput::getInstance()->clean($this->_name, 'cmd');
                    
489		$path = JPATH_PLUGINS . '/editors/' . $name . '.php';
                    
490
                    
492		{
                    
493			$path = JPATH_PLUGINS . '/editors/' . $name . '/' . $name . '.php';
                    
494			if (!JFile::exists($path))
                    
                
class-ms-model-customposttype.php https://gitlab.com/najomie/fit-hippie | PHP | 471 lines
                    
1<?php
                    
2/**
                    
16	 *
                    
17	 * Both static and class property are used to handle php 5.2 limitations.
                    
18	 * Override this value in child object.
                    
189
                    
190		global $wp_current_filter;
                    
191		if ( ! in_array( 'ms_saved_' . $class, $wp_current_filter ) ) {
                    
274	private function clean_metadata( $data_to_keep ) {
                    
275		global $wpdb;
                    
276
                    
                
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;
                    
                
toolbar.php https://gitlab.com/michield/dokuwiki | PHP | 255 lines
                    
1<?php
                    
2/**
                    
18function toolbar_JSdefines($varname){
                    
19    global $lang;
                    
20
                    
198                'icon'   => 'image.png',
                    
199                'url'    => 'lib/exe/mediamanager.php?ns=',
                    
200                'name'   => 'mediaselect',
                    
241function toolbar_signature(){
                    
242    global $conf;
                    
243    global $INFO;
                    
                
session.php https://github.com/mathieu/fusionforge.git | PHP | 552 lines
                    
1<?php
                    
2/**
                    
77	$session_serial = base64_decode($session_serial);
                    
78	$new_hash = md5($session_serial.$GLOBALS['sys_session_key']);
                    
79
                    
91	}
                    
92	if (($GLOBALS['sys_session_expire'] > 0) && 
                    
93	    ($time - time() >= $GLOBALS['sys_session_expire'])) {
                    
126 *	@param		bool	Allow login to non-confirmed user account (only for confirmation of the very account)
                    
127 *	@return true/false, if false reason is in global $feedback
                    
128 *	@access public
                    
386function session_set_new($user_id) {
                    
387	global $G_SESSION,$session_ser;
                    
388
                    
490
                    
491//TODO - this should be generalized and used for pre.php, squal_pre.php, 
                    
492//SOAP, forum_gateway.php, tracker_gateway.php, etc to 
                    
                
tbl_structure.php https://gitlab.com/ctheilman92/Aging-In-Place | PHP | 469 lines
                    
19require_once 'libraries/structure.lib.php';
                    
20require_once 'libraries/index.lib.php';
                    
21
                    
42if (isset($_REQUEST['change_column'])) {
                    
43    PMA_displayHtmlForColumnChange($db, $table, null, 'tbl_structure.php');
                    
44    exit;
                    
94            // browsing the table displaying only selected fields/columns
                    
95            $GLOBALS['active_page'] = 'sql.php';
                    
96            $sql_query = '';
                    
137require_once 'libraries/tbl_common.inc.php';
                    
138$url_query .= '&amp;goto=tbl_structure.php&amp;back=tbl_structure.php';
                    
139$url_params['goto'] = 'tbl_structure.php';
                    
442    //return the list of index
                    
443    $response->addJSON('indexes_list', PMA_Index::getView($GLOBALS['table'], $GLOBALS['db']));
                    
444    $response->addHTML(PMA_getHtmlForDisplayIndexes());
                    
                
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
                    
38    function hotpot_backup_mods($bf, $preferences) {
                    
39        global $DB;
                    
40
                    
83        if ($backup_userdata_selected) {
                    
84            $more_backup .= '$GLOBALS["hotpot_backup_string_ids"] = array();';
                    
85            $more_backup .= '$status = hotpot_backup_attempts($bf, $record, $level, $status);';
                    
87            $more_backup .= '$status = hotpot_backup_strings($bf, $record, $level, $status);';
                    
88            $more_backup .= 'unset($GLOBALS["hotpot_backup_string_ids"]);'; // tidy up
                    
89        }
                    
179        // The string ids are used later by "hotpot_backup_strings"
                    
180        // $GLOBALS['hotpot_backup_string_ids'] was initialized in "hotpot_backup_mods"
                    
181        // store the ids of strings used in this $record's $fields
                    
191                    } else {
                    
192                        $GLOBALS['hotpot_backup_string_ids'][$id] = true;
                    
193                    }
                    
                
install.php https://bitbucket.org/bsnowman/classyblog.git | PHP | 249 lines
                    
20	<h2>Error: PHP is not running</h2>
                    
21	<p>WordPress requires that your web server is running PHP. Your server does not have PHP installed, or PHP is turned off.</p>
                    
22</body>
                    
133			<th scope="row"><label for="blog_public"><?php _e( 'Privacy' ); ?></label></th>
                    
134			<td colspan="2"><label><input type="checkbox" name="blog_public" value="1" <?php checked( $blog_public ); ?> /> <?php _e( 'Allow my site to appear in search engines like Google and Technorati.' ); ?></label></td>
                    
135		</tr>
                    
149$mysql_version  = $wpdb->db_version();
                    
150$php_compat     = version_compare( $php_version, $required_php_version, '>=' );
                    
151$mysql_compat   = version_compare( $mysql_version, $required_mysql_version, '>=' ) || file_exists( WP_CONTENT_DIR . '/db.php' );
                    
153if ( !$mysql_compat && !$php_compat )
                    
154	$compat = sprintf( __('You cannot install because <a href="http://codex.wordpress.org/Version_%1$s">WordPress %1$s</a> requires PHP version %2$s or higher and MySQL version %3$s or higher. You are running PHP version %4$s and MySQL version %5$s.'), $wp_version, $required_php_version, $required_mysql_version, $php_version, $mysql_version );
                    
155elseif ( !$php_compat )
                    
155elseif ( !$php_compat )
                    
156	$compat = sprintf( __('You cannot install because <a href="http://codex.wordpress.org/Version_%1$s">WordPress %1$s</a> requires PHP version %2$s or higher. You are running version %3$s.'), $wp_version, $required_php_version, $php_version );
                    
157elseif ( !$mysql_compat )
                    
                
Clover.php https://gitlab.com/ealexis.t/trends | PHP | 284 lines
                    
1<?php
                    
2/*
                    
2/*
                    
3 * This file is part of the PHP_CodeCoverage package.
                    
4 *
                    
4 *
                    
5 * (c) Sebastian Bergmann <sebastian@phpunit.de>
                    
6 *
                    
11/**
                    
12 * Generates a Clover XML logfile from an PHP_CodeCoverage object.
                    
13 *
                    
15 */
                    
16class PHP_CodeCoverage_Report_Clover
                    
17{
                    
18    /**
                    
19     * @param  PHP_CodeCoverage $coverage
                    
20     * @param  string           $target
                    
                
api_alipay.php https://gitlab.com/phamngsinh/baitaplon_sinhvien | PHP | 296 lines
                    
1<?php
                    
2
                    
6 *
                    
7 *      $Id: api_alipay.php 30091 2012-05-10 03:26:33Z zhengqingpeng $
                    
8 */
                    
27function credit_payurl($price, &$orderid) {
                    
28	global $_G;
                    
29
                    
36		'partner' 		=> DISCUZ_PARTNER,
                    
37		'notify_url' 		=> $_G['siteurl'].'api/trade/notify_credit.php',
                    
38		'return_url' 		=> $_G['siteurl'].'api/trade/notify_credit.php',
                    
59function invite_payurl($amount, $price, &$orderid) {
                    
60	global $_G;
                    
61
                    
68		'partner' 		=> DISCUZ_PARTNER,
                    
69		'notify_url' 		=> $_G['siteurl'].'api/trade/notify_invite.php',
                    
70		'return_url' 		=> $_G['siteurl'].'api/trade/notify_invite.php',
                    
                
Relation.php https://gitlab.com/madwanz64/laravel | PHP | 403 lines
                    
1<?php
                    
2
                    
181    {
                    
182        return $this->query->withoutGlobalScopes()->update($attributes);
                    
183    }
                    
                
api.php https://gitlab.com/mostafame/team_website | PHP | 344 lines
                    
1<?php
                    
2
                    
342function PLL() {
                    
343	return $GLOBALS['polylang'];
                    
344}
                    
                
class-wc-frontend-scripts.php https://gitlab.com/haque.mdmanzurul/soundkreationsfinal | PHP | 301 lines
                    
1<?php
                    
2/**
                    
107	public static function load_scripts() {
                    
108		global $post;
                    
109
                    
161
                    
162		// Global frontend scripts
                    
163		self::enqueue_script( 'woocommerce', $frontend_script_path . 'woocommerce' . $suffix . '.js', array( 'jquery', 'jquery-blockui' ) );
                    
194	private static function get_script_data( $handle ) {
                    
195		global $wp;
                    
196
                    
                
imageupload.php https://gitlab.com/haque.mdmanzurul/nga-loyaltymatters | PHP | 287 lines
                    
1<?php
                    
2
                    
68
                    
69    include_once AIU_BASE_PATH . 'includes/fileuploader/fileuploader.class.php';
                    
70
                    
81    if (!function_exists('includeFile')) {
                    
82        function includeFile($name, $type = 'config', $defaultName = 'default', $fileType = '.inc.php') {
                    
83            $folder = (substr($type, -1) != 'y') ? $type . 's/' : substr($folder, 0, -1) . 'ies/';
                    
83            $folder = (substr($type, -1) != 'y') ? $type . 's/' : substr($folder, 0, -1) . 'ies/';
                    
84            $allowedConfigs = glob(AIU_BASE_PATH . $folder . '*.' . $type . $fileType);
                    
85            foreach ($allowedConfigs as $config) {
                    
93                } else {
                    
94                    $modx->messageQuit('Default AjaxImageUpload ' . $type . ' file "' . AIU_BASE_PATH . $folder . $defaultName . '.' . $type . '.inc.php" not found. Did you upload all snippet files?');
                    
95                }
                    
106
                    
107    include_once AIU_BASE_PATH . 'includes/PhpThumbFactory/ThumbLib.inc.php';
                    
108    // delete uploaded images
                    
                
setupPostdata.php https://gitlab.com/morganestes/wordpress-develop | PHP | 419 lines
                    
15
                    
16		foreach ( $this->global_keys as $global_key ) {
                    
17			if ( isset( $GLOBALS[ $global_key ] ) ) {
                    
17			if ( isset( $GLOBALS[ $global_key ] ) ) {
                    
18				$this->global_data[ $global_key ] = $GLOBALS[ $global_key ];
                    
19				unset( $GLOBALS[ $global_key ] );
                    
20			} else {
                    
21				$this->global_data[ $global_key ] = null;
                    
22			}
                    
399	 * setup_postdata( $a_post ) followed by the_content() in a loop that does not update
                    
400	 * global $post should use the content of $a_post rather then the global post.
                    
401	 */
                    
403		$post_id                   = self::factory()->post->create( array( 'post_content' => 'global post' ) );
                    
404		$GLOBALS['wp_query']->post = $GLOBALS['post'] = get_post( $post_id );
                    
405
                    
                
class-vc-edit-form-fields.php https://gitlab.com/furrutia1991/imosa_web | PHP | 317 lines
                    
1<?php
                    
2/**
                    
298	 *
                    
299	 * List of params stored in global variable $vc_params_list.
                    
300	 * Please check include/params/load.php for default params list.
                    
304	public function loadDefaultParams() {
                    
305		global $vc_params_list;
                    
306		if ( empty( $vc_params_list ) ) {
                    
                
functions_styles.php https://gitlab.com/bulwye/reliquerunt | PHP | 324 lines
                    
1<?php
                    
2/***************************************************************************
                    
2/***************************************************************************
                    
3 * Module           : PNphpBB2 (The forum for Postnuke)
                    
4 * Filename         : functions_styles.php
                    
6 * Original file by : Carl Slaughter
                    
7 * Copyright        : (C) 2003 The PNphpBB Group
                    
8 * Contact          : support@pnphpbb.com
                    
8 * Contact          : support@pnphpbb.com
                    
9 *                  : http://www.pnphpbb.com
                    
10 *
                    
10 *
                    
11 * $Id: functions_styles.php,v 1.6 2004/10/18 19:47:28 carls Exp $
                    
12 *
                    
23
                    
24if ( !defined('IN_PHPBB') )
                    
25{
                    
                
meta-descriptions.php https://gitlab.com/Gashler/sg | PHP | 240 lines
                    
1<?php
                    
2/**
                    
85		
                    
86		global $post;
                    
87		
                    
114		} elseif (suwp::is_tax()) {
                    
115			global $wp_query;
                    
116			$tax_descriptions = $this->get_setting('taxonomy_descriptions');
                    
143		
                    
144		global $wp_query, $numpages;
                    
145		
                    
208	<li><strong>Blog Homepage Meta Description</strong> &mdash; When your blog homepage appears in search results, it&#8217;ll have a title and a description. When you type a description into this box, the Meta Editor will add code to your blog homepage (the <code>&lt;meta name=&quot;description&quot; /&gt;</code> tag) that asks search engines to use what you&#8217;ve entered as the homepage&#8217;s search results description.</li>
                    
209	<li><strong>Use this blog&#8217;s tagline as the default homepage description.</strong> &mdash; If this box is checked and if the Blog Homepage Meta Description field is empty, Meta Editor will use your blog&#8217;s tagline as the meta description. You can edit the blog&#8217;s tagline under <a href='options-general.php'>Settings &rArr; General</a>.</li>
                    
210</ul>
                    
227	<li>
                    
228		<p><strong>What do I do if my site has multiple meta tags?</strong><br />First, try removing your theme&#8217;s built-in meta tags if it has them. Go to <a href='theme-editor.php' target='_blank'>Appearance &rArr; Editor</a> and edit <code>header.php</code>. Delete or comment-out any <code>&lt;meta&gt;</code> tags.</p>
                    
229		<p>If the problem persists, try disabling other SEO plugins that may be generating meta tags.</p>
                    
                
Makefile https://gitlab.com/envieidoc/advancedtomato2 | Makefile | 214 lines
                    
91$(BUILD_DIR)\$(PHPDLL): generated_files $(PHPDEF) $(PHP_GLOBAL_OBJS) $(STATIC_EXT_OBJS) $(PHPDLL_RES) $(MCFILE)
                    
92	@$(CC) $(PHP_GLOBAL_OBJS) $(STATIC_EXT_OBJS) $(STATIC_EXT_LIBS) $(LIBS) $(PHPDLL_RES) /link /out:$(BUILD_DIR)\$(PHPDLL) $(PHP5_PGD_OPTION) $(PHP_LDFLAGS) $(LDFLAGS) $(STATIC_EXT_LDFLAGS)
                    
93	-@$(_VC_MANIFEST_EMBED_DLL)
                    
153	-rd /s /q $(BUILD_DIR)\pecl-$(PHP_VERSION_STRING)
                    
154	-del /f /q $(BUILD_DIR)\php-$(PHP_VERSION_STRING)$(PHP_ZTS_ARCHIVE_POSTFIX)-Win32-$(PHP_COMPILER_SHORT)-$(PHP_ARCHITECTURE).zip
                    
155	-del /f /q $(BUILD_DIR)\php-debug-pack-$(PHP_VERSION_STRING)$(PHP_ZTS_ARCHIVE_POSTFIX)-Win32-$(PHP_COMPILER_SHORT)-$(PHP_ARCHITECTURE).zip
                    
167	cd $(BUILD_DIR)
                    
168	-$(ZIP) -9 -q php-debug-pack-$(PHP_VERSION_STRING)$(PHP_ZTS_ARCHIVE_POSTFIX)-Win32-$(PHP_COMPILER_SHORT)-$(PHP_ARCHITECTURE).zip *.pdb
                    
169	cd
                    
170	cd
                    
171	-$(ZIP) -9 -q -r php-devel-pack-$(PHP_VERSION_STRING)$(PHP_ZTS_ARCHIVE_POSTFIX)-Win32-$(PHP_COMPILER_SHORT)-$(PHP_ARCHITECTURE).zip $(BUILD_DIR_DEV_NAME)
                    
172	cd ..\..
                    
212	@echo It's okay for this step to fail:
                    
213	-$(PHP_PREFIX)\php.exe -n -dextension_dir=$(PHP_PREFIX) win32/build/registersyslog.php $(PHP_PREFIX)\$(PHPDLL)
                    
214
                    
                
walkthrough_test.php https://gitlab.com/JrLucena/moodle | PHP | 309 lines
                    
1<?php
                    
2// This file is part of Moodle - http://moodle.org/
                    
29
                    
30global $CFG;
                    
31require_once(dirname(__FILE__) . '/../../../engine/lib.php');
                    
31require_once(dirname(__FILE__) . '/../../../engine/lib.php');
                    
32require_once(dirname(__FILE__) . '/../../../engine/tests/helpers.php');
                    
33
                    
                
AutoloadGenerator.php https://gitlab.com/ngochuynh1991/cuacuon | PHP | 346 lines
                    
140		file_put_contents($vendorPath.'/autoload_52.php', $this->getAutoloadFile($vendorPathToTargetDirCode, $suffix));
                    
141		file_put_contents($targetDir.'/autoload_real_52.php', $this->getAutoloadRealFile(true, (bool) $includePathFile, $targetDirLoader, $filesCode, $vendorPathCode, $appBaseDirCode, $suffix, $useGlobalIncludePath, $prependAutoloader));
                    
142
                    
221
                    
222// autoload_52.php generated by xrstf/composer-php52
                    
223
                    
234		// - https://github.com/composer/composer/issues/959
                    
235		// - https://bugs.php.net/bug.php?id=52144
                    
236		// - https://bugs.php.net/bug.php?id=61576
                    
236		// - https://bugs.php.net/bug.php?id=61576
                    
237		// - https://bugs.php.net/bug.php?id=59298
                    
238
                    
245
                    
246// autoload_real_52.php generated by xrstf/composer-php52
                    
247
                    
                
compat.php https://gitlab.com/thisishayat/itv-2016 | PHP | 339 lines
                    
2/**
                    
3 * WordPress implementation for PHP functions either missing from older PHP versions or not included by default.
                    
4 *
                    
4 *
                    
5 * @package PHP
                    
6 * @access private
                    
185	function json_encode( $string ) {
                    
186		global $wp_json;
                    
187
                    
188		if ( ! ( $wp_json instanceof Services_JSON ) ) {
                    
189			require_once( ABSPATH . WPINC . '/class-json.php' );
                    
190			$wp_json = new Services_JSON();
                    
204	function json_decode( $string, $assoc_array = false ) {
                    
205		global $wp_json;
                    
206
                    
                
smile_edit.php https://gitlab.com/alexprowars/bitrix | PHP | 342 lines
                    
1<?
                    
2require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/prolog_admin_before.php");
                    
3/** @global CMain $APPLICATION */
                    
3/** @global CMain $APPLICATION */
                    
4/** @global CDatabase $DB */
                    
5
                    
13
                    
14require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/socialnetwork/include.php");
                    
15
                    
17
                    
18require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/socialnetwork/prolog.php");
                    
19
                    
191	if ($save <> '' && $strErrorMessage == '')
                    
192		LocalRedirect("socnet_smile.php?lang=".LANG."&".GetFilterParams("filter_", false));
                    
193}
                    
                
class.php https://gitlab.com/alexprowars/bitrix | PHP | 339 lines
                    
1<?php
                    
2use Bitrix\Main,
                    
50		{
                    
51			global $USER, $DB;
                    
52			if(is_object($USER) && $USER->isAuthorized())
                    
59					array('=DATE_TO' => false),
                    
60					array('>DATE_TO' => date($DB->dateFormatToPHP(\CLang::getDateFormat('FULL')), time()))
                    
61				)
                    
289
                    
290		global $APPLICATION;
                    
291		$cleanedParams = array('result', 'contact', 'message', static::ACTION_SUBSCRIBER_IDENTIFICATION);
                    
309
                    
310		global $APPLICATION;
                    
311		$cleanedParams = array('result', 'message',
                    
333
                    
334		global $APPLICATION;
                    
335		$cleanedParams = array('subscribeId', 'message', 'userContact', 'productId', static::ACTION_UNSUBSCRIBE);
                    
                
pay_system.php https://gitlab.com/alexprowars/bitrix | PHP | 410 lines
                    
1<?php
                    
2use Bitrix\Sale\PaySystem;
                    
137	{
                    
138		global $DB, $USER;
                    
139
                    
141		{
                    
142			$GLOBALS["APPLICATION"]->ThrowException(GetMessage("SKGPS_EMPTY_NAME"), "ERROR_NO_NAME");
                    
143			return false;
                    
176		{
                    
177			$GLOBALS["APPLICATION"]->ThrowException(GetMessage("SKGPS_ORDERS_TO_PAYSYSTEM"), "ERROR_ORDERS_TO_PAYSYSTEM");
                    
178			return false;
                    
                
trainer.php https://gitlab.com/tonmoy1a/Bitm-Course-Manager | PHP | 193 lines
                    
64                <a class="dropdown-toggle" data-toggle="dropdown">
                    
65                    <img src="../elements/user_images/<?php echo $loged_user['image']; ?>" width="28" height="28" alt="">
                    
66                    <span><?php echo $loged_user['username']; ?></span>
                    
69                <ul class="dropdown-menu dropdown-menu-right">
                    
70                    <li><a href="../user/user_view_single.php?id=<?php echo $loged_user['id']; ?>"><i class="icon-user-plus"></i> My profile</a></li>
                    
71                    <li class="divider"></li>
                    
92                            <div class="media-body">
                    
93                                <span class="media-heading text-semibold"><?php echo $loged_user['full_name']; ?></span>
                    
94                                <div class="text-size-mini text-muted">
                    
115                            <li class="navigation-header"><span>Main</span> <i class="icon-menu" title="Main pages"></i></li>
                    
116                            <li><a href="../dashboard.php"><i class="icon-home4"></i> <span>Dashboard</span></a></li>
                    
117                            <li><a href="../user/user_manager.php"><i class="icon-user"></i> <span>User Menu</span></a></li>
                    
117                            <li><a href="../user/user_manager.php"><i class="icon-user"></i> <span>User Menu</span></a></li>
                    
118                            <li class="active"><a href="../trainer/trainer.php"><i class="icon-people"></i> <span>Trainer</span></a></li>
                    
119                            <li><a href="../course/course.php"><i class="icon-book"></i> <span>Course</span></a></li>
                    
                
import.php https://gitlab.com/JrLucena/moodle | PHP | 247 lines
                    
1<?php
                    
2// This file is part of Moodle - http://moodle.org/
                    
24
                    
25require_once(dirname(__FILE__).'/../../../config.php');
                    
26require_once($CFG->dirroot.'/lib/formslib.php');
                    
26require_once($CFG->dirroot.'/lib/formslib.php');
                    
27require_once($CFG->dirroot.'/grade/lib.php');
                    
28require_once($CFG->libdir.'/gradelib.php');
                    
28require_once($CFG->libdir.'/gradelib.php');
                    
29require_once('import_outcomes_form.php');
                    
30
                    
34
                    
35$PAGE->set_url('/grade/edit/outcome/import.php', array('courseid' => $courseid));
                    
36$PAGE->set_pagelayout('admin');
                    
46    if (empty($CFG->enableoutcomes)) {
                    
47        redirect('../../index.php?id='.$courseid);
                    
48    }
                    
                
media-template.php https://gitlab.com/Blueprint-Marketing/interoccupy.net | PHP | 467 lines
                    
1<?php
                    
2/**
                    
15function wp_print_media_templates() {
                    
16	global $is_IE;
                    
17	$class = 'media-modal wp-core-ui';
                    
30	<script type="text/html" id="tmpl-media-modal">
                    
31		<div class="<?php echo $class; ?>">
                    
32			<a class="media-modal-close" href="#" title="<?php esc_attr_e('Close'); ?>"><span class="media-modal-icon"></span></a>
                    
95
                    
96				<?php if ( ( $GLOBALS['is_IE'] || $GLOBALS['is_opera']) && $max_upload_size > 100 * 1024 * 1024 ) :
                    
97					$browser_uploader = admin_url( 'media-new.php?browser-uploader&post_id=' ) . '{{ data.postId }}';
                    
328						if ( size ) { #>
                    
329							<option value="<?php echo esc_attr( $value ); ?>" <?php selected( $value, 'full' ); ?>>
                    
330								<?php echo esc_html( $name ); ?> &ndash; {{ size.width }} &times; {{ size.height }}
                    
363				<?php for ( $i = 1; $i <= 9; $i++ ) : ?>
                    
364					<option value="<?php echo esc_attr( $i ); ?>" <?php selected( $i, 3 ); ?>>
                    
365						<?php echo esc_html( $i ); ?>
                    
                
class-vc-backend-editor.php https://gitlab.com/mattswann/launch-housing | PHP | 356 lines
                    
1<?php
                    
2if ( ! defined( 'ABSPATH' ) ) {
                    
55		), 5 );
                    
56		add_action( 'admin_print_scripts-post.php', array(
                    
57			&$this,
                    
59		) );
                    
60		add_action( 'admin_print_scripts-post-new.php', array(
                    
61			&$this,
                    
106		$this->post_custom_css = $post_custom_css;
                    
107		vc_include_template( 'editors/backend_editor.tpl.php', array(
                    
108			'editor' => $this,
                    
125	public function renderEditorFooter() {
                    
126		vc_include_template( 'editors/partials/backend_editor_footer.tpl.php', array(
                    
127			'editor' => $this,
                    
254		wp_register_script( 'vc_accordion_script', vc_asset_url( 'lib/vc_accordion/vc-accordion.min.js' ), array( 'jquery' ), WPB_VC_VERSION, true );
                    
255		wp_register_script( 'wpb_php_js', vc_asset_url( 'lib/php.default/php.default.min.js' ), array( 'jquery' ), WPB_VC_VERSION, true );
                    
256		// used as polyfill for JSON.stringify and etc
                    
                
class-mb-include-exclude.php https://gitlab.com/code26/selah | PHP | 379 lines
                    
1<?php
                    
2/**
                    
274		 */
                    
275		if ( isset( $GLOBALS['pagenow'] ) && 'user-edit.php' === $GLOBALS['pagenow'] ) {
                    
276			// If edit other's profile, check edited user.
                    
283			return ! empty( $roles );
                    
284		} elseif ( isset( $GLOBALS['pagenow'] ) && 'profile.php' === $GLOBALS['pagenow'] ) {
                    
285			// If edit profile, check current user.
                    
298	protected static function check_edited_user_id( $user_ids ) {
                    
299		if ( isset( $GLOBALS['pagenow'] ) && 'user-edit.php' === $GLOBALS['pagenow'] ) {
                    
300			// If edit other's profile, check edited user.
                    
303			return in_array( $user_id, self::csv_to_array( $user_ids ) );
                    
304		} elseif ( isset( $GLOBALS['pagenow'] ) && 'profile.php' === $GLOBALS['pagenow'] ) {
                    
305			// If edit profile, check current user.
                    
                
SQLAzureFederationsSynchronizer.php https://bitbucket.org/alessandro-aglietti/itis-leonardo-da-vinci.git | PHP | 297 lines
                    
75
                    
76        $globalSql = $this->synchronizer->getCreateSchema($global);
                    
77        if ($globalSql) {
                    
79                     "USE FEDERATION ROOT WITH RESET;";
                    
80            $sql = array_merge($sql, $globalSql);
                    
81        }
                    
147
                    
148        if ($globalSql) {
                    
149            $sql[] = "-- Work on Root Federation\nUSE FEDERATION ROOT WITH RESET;";
                    
149            $sql[] = "-- Work on Root Federation\nUSE FEDERATION ROOT WITH RESET;";
                    
150            $sql = array_merge($sql, $globalSql);
                    
151        }
                    
239        $this->shardManager->selectGlobal();
                    
240        $globalSql = $operation($this->synchronizer, $global);
                    
241
                    
                
database.php https://gitlab.com/unofficial-mirrors/moodle | PHP | 303 lines
                    
117     *
                    
118     * {@see http://php.net/manual/en/function.session-set-save-handler.php}
                    
119     *
                    
131     *
                    
132     * {@see http://php.net/manual/en/function.session-set-save-handler.php}
                    
133     *
                    
151     *
                    
152     * {@see http://php.net/manual/en/function.session-set-save-handler.php}
                    
153     *
                    
216     *
                    
217     * {@see http://php.net/manual/en/function.session-set-save-handler.php}
                    
218     *
                    
256     *
                    
257     * {@see http://php.net/manual/en/function.session-set-save-handler.php}
                    
258     *
                    
                
init.php https://gitlab.com/iamgraeme/royalmile | PHP | 350 lines
                    
1<?php
                    
2/*
                    
31        {
                    
32        	global $psp;
                    
33
                    
65			// social sharing module
                    
66			require_once( $this->the_plugin->cfg['paths']['plugin_dir_path'] . 'aa-framework/utils/social_sharing.php' );
                    
67			$ssh = new pspSocialSharing( $this->the_plugin );
                    
119						</script>
                    
120					<?php
                    
121					}
                    
135
                    
136					<?php
                    
137					}
                    
141
                    
142		<?php
                    
143		}
                    
                
class-fusion-widget-tabs.php https://gitlab.com/woxiprogrammers/infinia-wordpress | PHP | 240 lines
                    
150												<div class="fusion-meta">
                    
151													<a class="comment-text-side" href="<?php echo get_permalink( $comment->ID ); ?>#comment-<?php echo $comment->comment_ID; ?>" title="<?php printf( __( '%1$s on %2$s', 'Avada' ), strip_tags( $comment->comment_author ), $comment->post_title ); ?>"><?php printf( __( '%s...', 'Avada' ), fusion_string_limit_words( strip_tags( $comment->com_excerpt ), 12 ) ); ?></a>
                    
152												</div>
                    
212			<label for="<?php echo $this->get_field_id('posts'); ?>"><?php _e( 'Number of popular posts:', 'Avada' ); ?></label>
                    
213			<input class="widefat" type="text" style="width: 30px;" id="<?php echo $this->get_field_id( 'posts' ); ?>" name="<?php echo $this->get_field_name( 'posts' ); ?>" value="<?php echo $instance['posts']; ?>" />
                    
214		</p>
                    
220			<label for="<?php echo $this->get_field_id( 'comments' ); ?>"><?php _e( 'Number of comments:', 'Avada' ); ?></label>
                    
221			<input class="widefat" type="text" style="width: 30px;" id="<?php echo $this->get_field_id('comments'); ?>" name="<?php echo $this->get_field_name('comments'); ?>" value="<?php echo $instance['comments']; ?>" />
                    
222		</p>
                    
227		<p>
                    
228			<input class="checkbox" type="checkbox" <?php checked( $instance['show_recent_posts'], 'on' ); ?> id="<?php echo $this->get_field_id( 'show_recent_posts' ); ?>" name="<?php echo $this->get_field_name( 'show_recent_posts' ); ?>" />
                    
229			<label for="<?php echo $this->get_field_id( 'show_recent_posts' ); ?>"><?php _e( 'Show recent posts', 'Avada' ); ?></label>
                    
231		<p>
                    
232			<input class="checkbox" type="checkbox" <?php checked( $instance['show_comments'], 'on' ); ?> id="<?php echo $this->get_field_id( 'show_comments' ); ?>" name="<?php echo $this->get_field_name( 'show_comments' ); ?>" />
                    
233			<label for="<?php echo $this->get_field_id( 'show_comments' ); ?>"><?php _e( 'Show comments', 'Avada' ); ?></label>
                    
                
HookApi.php https://gitlab.com/iamgraeme/royalmile | PHP | 337 lines
                    
1<?php
                    
2namespace WebSharks\HtmlCompressor;
                    
37    {
                    
38        if (empty($GLOBALS[__NAMESPACE__.'_early_hooks'])) {
                    
39            return; // Nothing more to do here.
                    
40        }
                    
41        $GLOBALS[__NAMESPACE__.'_early_hooks'] = (array) $GLOBALS[__NAMESPACE__.'_early_hooks'];
                    
42        $early_hooks                           = &$GLOBALS[__NAMESPACE__.'_early_hooks'];
                    
                
variables_8php_source.html https://gitlab.com/zaverichintan/geometry_viewer | HTML | 127 lines
                    
6<meta name="generator" content="Doxygen 1.8.4"/>
                    
7<title>BRL-CAD Online Geometry Viewer: variables.php Source File</title>
                    
8<link href="tabs.css" rel="stylesheet" type="text/css"/>
                    
84<div class="contents">
                    
85<a href="variables_8php.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;&lt;?php</div>
                    
86<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment">/*                     V A R I A B L E S . P H P</span></div>
                    
104<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="comment"> */</span></div>
                    
105<div class="line"><a name="l00026"></a><span class="lineno"><a class="line" href="variables_8php.html#a9b2aca73038168dc85a3fb6d6af948a8">   26</a></span>&#160;    <a class="code" href="variables_8php.html#a9b2aca73038168dc85a3fb6d6af948a8">$uploadPath</a> = <span class="stringliteral">&quot;user_accounts/$username&quot;</span>;</div>
                    
106<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;</div>
                    
106<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;</div>
                    
107<div class="line"><a name="l00029"></a><span class="lineno"><a class="line" href="variables_8php.html#a107cb3732c3eb625a67c9896596c6c74">   29</a></span>&#160;    <a class="code" href="variables_8php.html#a107cb3732c3eb625a67c9896596c6c74">$objPath</a> = <span class="stringliteral">&quot;user_accounts/$username/obj&quot;</span>;</div>
                    
108<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160; </div>
                    
116<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;?&gt;</div>
                    
117<div class="ttc" id="variables_8php_html_a9b2aca73038168dc85a3fb6d6af948a8"><div class="ttname"><a href="variables_8php.html#a9b2aca73038168dc85a3fb6d6af948a8">$uploadPath</a></div><div class="ttdeci">$uploadPath</div><div class="ttdef"><b>Definition:</b> <a href="variables_8php_source.html#l00026">variables.php:26</a></div></div>
                    
118<div class="ttc" id="variables_8php_html_a107cb3732c3eb625a67c9896596c6c74"><div class="ttname"><a href="variables_8php.html#a107cb3732c3eb625a67c9896596c6c74">$objPath</a></div><div class="ttdeci">$objPath</div><div class="ttdef"><b>Definition:</b> <a href="variables_8php_source.html#l00029">variables.php:29</a></div></div>
                    
                
PMA_SetupIndex_test.php https://gitlab.com/luyxtran264/myproject | PHP | 397 lines
                    
1<?php
                    
2/* vim: set expandtab sw=4 ts=4 sts=4: */
                    
3/**
                    
4 * tests for methods under setup/lib/index.lib.php
                    
5 *
                    
5 *
                    
6 * @package PhpMyAdmin-test
                    
7 */
                    
14
                    
15require_once 'libraries/sanitizing.lib.php';
                    
16require_once 'libraries/config/config_functions.lib.php';
                    
16require_once 'libraries/config/config_functions.lib.php';
                    
17require_once 'setup/lib/index.lib.php';
                    
18require_once 'libraries/sanitizing.lib.php';
                    
20/**
                    
21 * tests for methods under setup/lib/index.lib.php
                    
22 *
                    
                
categories.php https://github.com/Bushmaster/oscommerce.git | PHP | 336 lines
                    
1<?php
                    
2/*
                    
16    public static function get($id, $language_id = null, $key = null) {
                    
17      global $osC_Database, $osC_Language, $osC_CategoryTree;
                    
18
                    
44    public static function getAll($id = null) {
                    
45      global $osC_Database, $osC_Language, $current_category_id;
                    
46
                    
75    public static function find($search, $id = null) {
                    
76      global $osC_Database, $osC_Language, $current_category_id;
                    
77
                    
129    public static function save($id = null, $data) {
                    
130      global $osC_Database, $osC_Language;
                    
131
                    
206    public static function delete($id) {
                    
207      global $osC_Database, $osC_CategoryTree;
                    
208
                    
                
class-wcs-query.php https://gitlab.com/remyvianne/krowkaramel | PHP | 389 lines
                    
1<?php
                    
2/**
                    
94	public function change_my_account_endpoint_title( $title, $endpoint ) {
                    
95		global $wp;
                    
96
                    
175
                    
176		wc_get_template( 'myaccount/subscriptions.php', array( 'current_page' => $current_page ), '', WC_Subscriptions_Core_Plugin::instance()->get_subscriptions_core_directory( 'templates/' ) );
                    
177	}
                    
185	protected function is_query( $query_var ) {
                    
186		global $wp;
                    
187
                    
253
                    
254		wp_redirect( $url ); // phpcs:ignore WordPress.Security.SafeRedirect.wp_redirect_wp_redirect
                    
255		exit();
                    
                
Bouncer.php git://github.com/znarf/Bouncer.git | PHP | 645 lines
                    
1<?php
                    
2
                    
211
                    
212        $request = Request::createFromGlobals();
                    
213        $request->setTrustedProxies(array('127.0.0.1'));
                    
560        else {
                    
561            // $this->error('No exit callable set. PHP exit construct will be used.');
                    
562            exit;
                    
                
wysiwyg.api.php https://gitlab.com/endomorphosis/tactilevision | PHP | 206 lines
                    
1<?php
                    
2
                    
64            ),
                    
65            // A list of global, native editor configuration settings to
                    
66            // override. To be used rarely and only when required.
                    
                
Observer.php https://bitbucket.org/kdms/sh-magento.git | PHP | 266 lines
                    
1<?php
                    
2/**
                    
163        /**
                    
164         * generate global crontab jobs
                    
165         */
                    
                
Status.php https://bitbucket.org/mengqing/magento-mirror.git | PHP | 350 lines
                    
1<?php
                    
2/**
                    
9 * It is also available through the world-wide-web at this URL:
                    
10 * http://opensource.org/licenses/osl-3.0.php
                    
11 * If you did not receive a copy of the license and are unable to
                    
23 * @copyright   Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
                    
24 * @license     http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
                    
25 */
                    
310
                    
311        if ($this->getAttribute()->isScopeGlobal()) {
                    
312            $tableName = $attributeCode . '_t';
                    
                
SupplyOrder.php https://bitbucket.org/enurkov/prestashop.git | PHP | 531 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
                    
22*  @copyright  2007-2012 PrestaShop SA
                    
23*  @license    http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
                    
24*  International Registered Trademark & Property of PrestaShop SA
                    
62	/**
                    
63	 * @var int Currency used by default in main global configuration (i.e. by default for all shops)
                    
64	 */
                    
209	 * Checks all products in this order and calculate prices
                    
210	 * Applies the global discount if necessary
                    
211	 */
                    
227		{
                    
228			// applys global discount rate on each product if possible
                    
229			if ($is_discount)
                    
                
about.css https://gitlab.com/webkod3r/tripolis | CSS | 481 lines
                    
3
                    
4   1.0 Global: About, Credits, Freedoms
                    
5    1.1 Typography
                    
14/*------------------------------------------------------------------------------
                    
15  1.0 - Global: About, Credits, Freedoms
                    
16------------------------------------------------------------------------------*/
                    
408
                    
409.freedoms-php .about-wrap ol {
                    
410	margin: 40px 60px;
                    
412
                    
413.freedoms-php .about-wrap ol li {
                    
414	list-style-type: decimal;
                    
417
                    
418.freedoms-php .about-wrap ol p {
                    
419	font-weight: normal;
                    
                
widgets.php https://gitlab.com/Blueprint-Marketing/WordPress-1 | PHP | 241 lines
                    
1<?php
                    
2/**
                    
14function wp_list_widgets() {
                    
15	global $wp_registered_widgets, $sidebars_widgets, $wp_registered_widget_controls;
                    
16
                    
78			<div class="sidebar-name-arrow"><br /></div>
                    
79			<h3><?php echo esc_html( $sidebar_name ); ?> <span class="spinner"></span></h3>
                    
80		</div>
                    
80		</div>
                    
81		<?php
                    
82	}
                    
105function wp_list_widget_controls_dynamic_sidebar( $params ) {
                    
106	global $wp_registered_widgets;
                    
107	static $i = 0;
                    
126function next_widget_id_number($id_base) {
                    
127	global $wp_registered_widgets;
                    
128	$number = 1;
                    
                
AdminCarriers.php http://marocmall.googlecode.com/svn/trunk/ | PHP | 298 lines
                    
1<?php
                    
2
                    
3/**
                    
4  * Carriers tab for admin panel, AdminCarriers.php
                    
5  * @category admin
                    
8  * @copyright PrestaShop
                    
9  * @license http://www.opensource.org/licenses/osl-3.0.php Open-source licence 3.0
                    
10  * @version 1.3
                    
13
                    
14include_once(PS_ADMIN_DIR.'/../classes/AdminTab.php');
                    
15
                    
21	{
                    
22		global $cookie;
                    
23
                    
48	{
                    
49		global $currentIndex, $cookie;
                    
50		parent::displayForm();
                    
                
ar.php https://gitlab.com/ptisky/API_prestashop | PHP | 72 lines
                    
1<?php
                    
2
                    
2
                    
3global $_MODULE;
                    
4$_MODULE = array();
                    
                
light_editor.php https://gitlab.com/neuser/bitrix-core | PHP | 359 lines
                    
6	{
                    
7		global $USER, $APPLICATION;
                    
8		$basePath = '/bitrix/js/fileman/light_editor/';
                    
48		//Messages
                    
49		$langPath = $_SERVER['DOCUMENT_ROOT'].'/bitrix/modules/fileman/lang/'.LANGUAGE_ID.'/classes/general/light_editor_js.php';
                    
50		if(!file_exists($langPath))
                    
50		if(!file_exists($langPath))
                    
51			$langPath = $_SERVER['DOCUMENT_ROOT'].'/bitrix/modules/fileman/lang/en/classes/general/light_editor_js.php';
                    
52		$this->mess = __IncludeLang($langPath, true, true);
                    
58
                    
59			$jsMsg = "<script bxrunfirst>LHE_MESS = window.LHE_MESS = ".CUtil::PhpToJSObject($this->messOld)."; (window.BX||top.BX).message(".CUtil::PhpToJSObject($this->mess, false).");</script>";
                    
60
                    
262				<?if (!empty($this->mess)):?>
                    
263				LHE_MESS = window.LHE_MESS = "<?=CUtil::PhpToJSObject($this->messOld)?>"; (window.BX||top.BX).message(<?=CUtil::PhpToJSObject($this->mess, false)?>);
                    
264				<?endif?>
                    
                
site_main.tpl https://gitlab.com/raku.takayama/eccube-2_13 | Smarty Template | 199 lines
                    
39                        <!--{if $HeaderTopNaviItem.php_path != ""}-->
                    
40                            <!--{include_php file=$HeaderTopNaviItem.php_path items=$HeaderTopNaviItem}-->
                    
41                        <!--{else}-->
                    
106                            <!--{if $MainHeadItem.php_path != ""}-->
                    
107                                <!--{include_php file=$MainHeadItem.php_path items=$MainHeadItem}-->
                    
108                            <!--{else}-->
                    
142                            <!--{if $RightNaviItem.php_path != ""}-->
                    
143                                <!--{include_php file=$RightNaviItem.php_path items=$RightNaviItem}-->
                    
144                            <!--{else}-->
                    
160                            <!--{if $BottomNaviItem.php_path != ""}-->
                    
161                                <!--{include_php file=$BottomNaviItem.php_path items=$BottomNaviItem}-->
                    
162                            <!--{else}-->
                    
185                        <!--{if $FooterBottomNaviItem.php_path != ""}-->
                    
186                            <!--{include_php file=$FooterBottomNaviItem.php_path items=$FooterBottomNaviItem}-->
                    
187                        <!--{else}-->
                    
                
content.php https://bitbucket.org/asosso/joomla25.git | PHP | 401 lines
                    
1<?php
                    
2/**
                    
195		{
                    
196			$this->setError(JText::_('JGLOBAL_ARTICLE_MUST_HAVE_TEXT'));
                    
197			return false;
                    
202		{
                    
203			$this->setError(JText::_('JGLOBAL_START_PUBLISH_AFTER_FINISH'));
                    
204			return false;
                    
                
mod_form.php https://github.com/nicolasconnault/moodle2.0.git | PHP | 255 lines
                    
1<?php
                    
2require_once ($CFG->dirroot.'/course/moodleform_mod.php');
                    
6    function definition() {
                    
7        global $CFG, $COURSE, $DB;
                    
8
                    
                
bcmnvram.h https://gitlab.com/buktemirlnk/mirrors | C Header | 329 lines
                    
8 * under the terms of the GNU General Public License version 2 (the "GPL"),
                    
9 * available at http://www.broadcom.com/licenses/GPLv2.php, with the
                    
10 * following added to such license:
                    
74/*
                    
75 * Append a chunk of nvram variables to the global list
                    
76 */
                    
78
                    
79extern void nvram_get_global_vars(char **varlst, uint *varsz);
                    
80
                    
                
common.php https://bitbucket.org/DenizYldrm/openemr.git | PHP | 397 lines
                    
46<script type="text/javascript" src="<?php echo $GLOBALS['webroot'] ?>/library/js/jquery-1.4.3.min.js"></script>
                    
47<script type="text/javascript" src="<?php echo $GLOBALS['webroot'] ?>/library/js/common.js"></script>
                    
48<script type="text/javascript" src="<?php echo $GLOBALS['webroot'] ?>/library/js/fancybox-1.3.4/jquery.fancybox-1.3.4.pack.js"></script>
                    
55<script type="text/javascript" src="<?php echo $GLOBALS['webroot'] ?>/library/dynarch_calendar.js"></script>
                    
56<?php include_once("{$GLOBALS['srcdir']}/dynarch_calendar_en.inc.php"); ?>
                    
57<script type="text/javascript" src="<?php echo $GLOBALS['webroot'] ?>/library/dynarch_calendar_setup.js"></script>
                    
57<script type="text/javascript" src="<?php echo $GLOBALS['webroot'] ?>/library/dynarch_calendar_setup.js"></script>
                    
58<?php include_once("{$GLOBALS['srcdir']}/ajax/facility_ajax_jav.inc.php"); ?>
                    
59<script language="JavaScript">
                    
220?>
                    
221       <option value="<?php echo $iter['id']; ?>" <?php if ($def_facility == $iter['id']) echo "selected";?>><?php echo $iter['name']; ?></option>
                    
222<?php
                    
293
                    
294    <tr<?php if ($GLOBALS['ippf_specific'] || $GLOBALS['athletic_team']) echo " style='visibility:hidden;'"; ?>>
                    
295     <td class='bold' nowrap><?php xl('Onset/hosp. date:','e'); ?></td>
                    
                
 

Source

Language