PageRenderTime 3665ms queryTime 903ms sortTime 227ms getByIdsTime 185ms findMatchingLines 347ms

100+ results results for 'php glob repo:asdtech/cloudike' (3665 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";
                    
                
PDF.php https://github.com/libersoft/fengoffice-ls.git | PHP | 461 lines
                    
22 * @package    PHPExcel_Writer
                    
23 * @copyright  Copyright (c) 2006 - 2008 PHPExcel (http://www.codeplex.com/PHPExcel)
                    
24 * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt	LGPL
                    
34 * @package    PHPExcel_Writer
                    
35 * @copyright  Copyright (c) 2006 - 2008 PHPExcel (http://www.codeplex.com/PHPExcel)
                    
36 */
                    
36 */
                    
37class PHPExcel_Writer_PDF implements PHPExcel_Writer_IWriter {
                    
38	/**
                    
68	 *
                    
69	 * @param 	PHPExcel	$phpExcel	PHPExcel object
                    
70	 */
                    
71	public function __construct(PHPExcel $phpExcel) {
                    
72		$this->_phpExcel = $phpExcel;
                    
73		$this->_sheetIndex 	= 0;
                    
                
Page.php https://github.com/grandison/budo16.git | PHP | 402 lines
                    
1<?php
                    
2/**
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: Page.php 16974 2009-07-22 19:23:08Z matthew $
                    
21 */
                    
26 */
                    
27// require_once 'Zend/Cache/Core.php';
                    
28
                    
61     *     - (boolean) cacheWithXXXVariables  (XXXX = 'Get', 'Post', 'Session', 'Files' or 'Cookie') :
                    
62     *       if true,  cache is still on even if there are some variables in this superglobal array
                    
63     *       if false, cache is off if there are some variables in this superglobal array
                    
64     *     - (boolean) makeIdWithXXXVariables (XXXX = 'Get', 'Post', 'Session', 'Files' or 'Cookie') :
                    
65     *       if true, we have to use the content of this superglobal array to make a cache id
                    
66     *       if false, the cache id won't be dependent of the content of this superglobal array
                    
67     *     - (int) specific_lifetime : cache specific lifetime
                    
68     *                                (false => global lifetime is used, null => infinite lifetime,
                    
69     *                                 integer => this lifetime is used), this "lifetime" is probably only
                    
                
jCoordinator.class.php https://github.com/foxmask/Booster.git | PHP | 418 lines
                    
1<?php
                    
2/**
                    
80    function __construct ($configFile, $enableErrorHandler=true) {
                    
81        global $gJCoord, $gJConfig;
                    
82
                    
104    private function _loadPlugins(){
                    
105        global $gJConfig;
                    
106
                    
121            }
                    
122            include( $gJConfig->_pluginsPathList_coord[$name].$name.'.coord.php');
                    
123            $class= $name.'CoordPlugin';
                    
134    public function process ($request){
                    
135        global $gJConfig;
                    
136
                    
278    public function handleError($type, $code, $message, $file, $line, $trace){
                    
279        global $gJConfig;
                    
280
                    
                
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/myockey/clearcreek-chapel-website.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);
                    
                
index.html https://github.com/sethladd/alohaonrails-site.git | HTML | 216 lines
                    
13<link rel="alternate" type="application/atom+xml" title="Aloha On Rails - Hawaii Ruby on Rails Conference - Waikiki - Oct 5-6 2009 Atom Feed" href="http://www.alohaonrails.com/feed/atom/" />
                    
14<link rel="pingback" href="http://www.alohaonrails.com/xmlrpc.php" />
                    
15<link rel="EditURI" type="application/rsd+xml" title="RSD" href="http://www.alohaonrails.com/xmlrpc.php?rsd" />
                    
38	<div class="container_16">
                    
39		<div class="grid_11 prefix_1" id="globalNav">
                    
40  		<ul>
                    
114
                    
115<form action="http://www.alohaonrails.com/wp-comments-post.php" method="post" id="commentform">
                    
116
                    
171	<ul class='xoxo blogroll'>
                    
172<li><a href="http://www.facebook.com/home.php#/event.php?eid=83813944777" title="Facebook Event for Aloha on Rails">Facebook Event</a></li>
                    
173<li><a href="http://events.linkedin.com/Aloha-Rails-Hawaii-Ruby-Rails-Conference/pub/65989" title="LinkedIn event page">LinkedIn Event</a></li>
                    
182<div><script type="text/javascript">var addthis_pub="sethladd";</script>
                    
183<a href="http://www.addthis.com/bookmark.php?v=20" onmouseover="return addthis_open(this, '', '[URL]', '[TITLE]')" onmouseout="addthis_close()" onclick="return addthis_sendto()"><img src="http://s7.addthis.com/static/btn/lg-share-en.gif" width="125" height="16" alt="Bookmark and Share" style="border:0"/></a><script type="text/javascript" src="http://s7.addthis.com/js/200/addthis_widget.js"></script></div>
                    
184<!-- AddThis Button END -->
                    
                
jquery.blockUI.js https://github.com/louc4u/Massive-Coupon---Open-source-groupon-clone.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); };
                    
                
VarCloner.php https://gitlab.com/Sigpot/AirSpot | 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                                }
                    
                
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;
                    
                
skeinforge_application.skeinforge_plugins.craft_plugins.export.html https://github.com/hmeyer/ReplicatorG.git | HTML | 217 lines
                    
18The export manual page is at:<br>
                    
19<a href="http://www.bitsfrombytes.com/wiki/index.php?title=Skeinforge_Export">http://www.bitsfrombytes.com/wiki/index.php?title=Skeinforge_Export</a><br>
                    
20 <br>
                    
54
                    
55Export presents the user with a choice of the export plugins in the export_plugins folder.  The chosen plugin will then modify the gcode or translate it into another format.  There is also the "Do Not Change Output" choice, which will not change the output.  An export plugin is a script in the export_plugins folder which has the getOutput function, the globalIsReplaceable variable and if it's output is not replaceable, the writeOutput function.<br>
                    
56 <br>
                    
                
Driver.php.html https://github.com/akentner/LexsignExtensions.git | HTML | 215 lines
                    
8        <link rel="stylesheet" type="text/css" href="../../../../js/jquery.sidebar/css/codebrowser/sidebar.css" />
                    
9        <link rel="stylesheet" type="text/css" href="../../../../css/global.css" />
                    
10        <link rel="stylesheet" type="text/css" href="../../../../css/cruisecontrol.css" />
                    
24            <a href="./../../../../index.html">Go back to index</a> |
                    
25            <a href="http://github.com/mayflowergmbh/PHP_CodeBrowser">PHP CodeBrowser</a>
                    
26        </div>
                    
29            <div class="filepath">
                    
30                library/Doctrine/ORM/Mapping/Driver/Driver.php            </div>
                    
31
                    
34<span class="lineNumber">&nbsp;1&nbsp;</span><span>
                    
35</span><span class="default">&lt;?php</span><a name="line_1"></a>
                    
36</li>
                    
                
admin.php https://github.com/shamoons/pyrocms.git | PHP | 540 lines
                    
1<?php defined('BASEPATH') OR exit('No direct script access allowed');
                    
2
                    
40			'field' => 'keywords',
                    
41			'label' => 'lang:global:keywords',
                    
42			'rules' => 'trim'
                    
                
Page.php https://github.com/Ezku/xi-framework.git | PHP | 402 lines
                    
1<?php
                    
2/**
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: Page.php 16974 2009-07-22 19:23:08Z matthew $
                    
21 */
                    
26 */
                    
27require_once 'Zend/Cache/Core.php';
                    
28
                    
61     *     - (boolean) cacheWithXXXVariables  (XXXX = 'Get', 'Post', 'Session', 'Files' or 'Cookie') :
                    
62     *       if true,  cache is still on even if there are some variables in this superglobal array
                    
63     *       if false, cache is off if there are some variables in this superglobal array
                    
64     *     - (boolean) makeIdWithXXXVariables (XXXX = 'Get', 'Post', 'Session', 'Files' or 'Cookie') :
                    
65     *       if true, we have to use the content of this superglobal array to make a cache id
                    
66     *       if false, the cache id won't be dependent of the content of this superglobal array
                    
67     *     - (int) specific_lifetime : cache specific lifetime
                    
68     *                                (false => global lifetime is used, null => infinite lifetime,
                    
69     *                                 integer => this lifetime is used), this "lifetime" is probably only
                    
                
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
                    
                
properties.php https://github.com/markdev/markandkitty.git | PHP | 460 lines
                    
178<?php  if (!$previewMode) { ?>
                    
179	<li><a href="javascript:void(0)" id="ccm-file-properties-versions-<?php echo $f->getFileID()?>-<?php echo $fv->getFileVersionID()?>"><?php echo t('Versions')?></a></li>
                    
180<?php  } ?>
                    
180<?php  } ?>
                    
181<li><a href="javascript:void(0)" id="ccm-file-properties-statistics-<?php echo $f->getFileID()?>-<?php echo $fv->getFileVersionID()?>"><?php echo t('Statistics')?></a></li>
                    
182</ul>
                    
246	<th><?php echo t('Size')?></th>
                    
247	<td colspan="2"><?php echo $fv->getSize()?> (<?php echo number_format($fv->getFullSize())?> <?php echo t('bytes')?>)</td>
                    
248</tr>
                    
356		foreach($versions as $fvv) { ?>
                    
357			<tr fID="<?php echo $f->getFileID()?>" fvID="<?php echo $fvv->getFileVersionID()?>" <?php  if ($fvv->getFileVersionID() == $fv->getFileVersionID()) { ?> class="ccm-file-versions-grid-active" <?php  } ?>>
                    
358				<td style="text-align: center">
                    
362					<div style="width: 150px; word-wrap: break-word">
                    
363					<a href="<?php echo REL_DIR_FILES_TOOLS_REQUIRED?>/files/properties?fID=<?php echo $f->getFileID()?>&fvID=<?php echo $fvv->getFileVersionID()?>&task=preview_version" dialog-modal="false" dialog-width="630" dialog-height="450" dialog-title="<?php echo t('Preview File')?>" class="dialog-launch">
                    
364						<?php echo $fvv->getFilename()?>
                    
                
reader.php https://github.com/axshavan/nitrofuran.git | PHP | 540 lines
                    
1<?php
                    
2
                    
14
                    
15require_once(DOCUMENT_ROOT.'/nitrofuran/crud.class.php');
                    
16
                    
69		{
                    
70			// за счёт разных часовых поясов и тупого php могут быть косяки со временными метками
                    
71			// накинем ещё сутки
                    
115		}
                    
116		global $AUTH;
                    
117		if
                    
160		);
                    
161		curl_setopt($curl, CURLOPT_USERAGENT, 'Nitrofuran Reader: PHP bot collecting RSS feeds');
                    
162		ob_start();
                    
332	{
                    
333		require_once(DOCUMENT_ROOT.'/nitrofuran/graph.class.php');
                    
334		global $AUTH;
                    
                
engine.php https://github.com/ankitagarwal/moodle.git | PHP | 391 lines
                    
1<?php
                    
2// This file is part of Moodle - http://moodle.org/
                    
54    public function execute_query($filters, $usercontexts, $limit = 0) {
                    
55        global $DB, $USER;
                    
56
                    
149                        // Sorry for the hack, but it does not seem that we will have a solution for
                    
150                        // this soon (https://bugs.mysql.com/bug.php?id=78485).
                    
151                        if ($filters->q === '*') {
                    
242    public function add_document($document, $fileindexing = false) {
                    
243        global $DB;
                    
244
                    
275    public function delete_by_id($id) {
                    
276        global $DB;
                    
277        $DB->delete_records('search_simpledb_index', array('docid' => $id));
                    
286    public function delete($areaid = null) {
                    
287        global $DB;
                    
288        if ($areaid) {
                    
                
yii.php https://github.com/AlexMarlo/web-file-manager.git | PHP | 206 lines
                    
1<?php
                    
2/**
                    
26  'Authorization item "{item}" has already been assigned to user "{user}".' => '',
                    
27  'CApcCache requires PHP apc extension to be loaded.' => '',
                    
28  'CAssetManager.basePath "{path}" is invalid. Please make sure the directory exists and is writable by the Web server process.' => '',
                    
51  'CFlexWidget.name cannot be empty.' => '',
                    
52  'CGlobalStateCacheDependency.stateName cannot be empty.' => '',
                    
53  'CHttpCookieCollection can only hold CHttpCookie objects.' => '',
                    
59  'CHttpSession.savePath "{path}" is not a valid directory.' => '',
                    
60  'CMemCache requires PHP memcache extension to be loaded.' => '',
                    
61  'CMemCache server configuration must be an array.' => '',
                    
65  'CProfileLogRoute.report "{report}" is invalid. Valid values include "summary" and "callstack".' => '',
                    
66  'CSecurityManager requires PHP mcrypt extension to be loaded in order to use data encryption feature.' => '',
                    
67  'CSecurityManager.encryptionKey cannot be empty.' => '',
                    
71  'CUrlManager.UrlFormat must be either "path" or "get".' => '',
                    
72  'CXCache requires PHP XCache extension to be loaded.' => '',
                    
73  'Cache table "{tableName}" does not exist.' => '',
                    
                
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());
                    
                
high-dynamic-range.html https://github.com/trevor/ImageMagick.git | HTML | 300 lines
                    
17  <meta name="application-url" content="http://www.imagemagick.org"/>
                    
18  <meta name="generator" content="PHP"/>
                    
19  <meta name="keywords" content="high, dynamic-range, images, ImageMagick, PerlMagick, image processing, OpenMP, software development library, image, photo, software, Magick++, MagickWand"/>
                    
26  <meta name="copyright" content="Copyright (c) 1999-2012 ImageMagick Studio LLC"/>
                    
27  <meta name="distribution" content="Global"/>
                    
28  <link rel="icon" href="../images/wand.png"/>
                    
                
rewrite.php https://bitbucket.org/dkrzos/phc.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		);  
                    
                
MaildirFolderTest.php https://github.com/obias/zf2.git | PHP | 444 lines
                    
1<?php
                    
2/**
                    
36 */
                    
37class MaildirFolderTest extends \PHPUnit_Framework_TestCase
                    
38{
                    
199
                    
200    public function testGlobalName()
                    
201    {
                    
203        try {
                    
204            // explicit call of __toString() needed for PHP < 5.2
                    
205            $this->assertEquals($mail->getFolders()->subfolder->__toString(), 'subfolder');
                    
206        } catch (\Exception $e) {
                    
207            $this->fail('exception raised while selecting existing folder and getting global name');
                    
208        }
                    
231        foreach ($iterator as $localName => $folder) {
                    
232            if (!isset($search_folders[$folder->getGlobalName()])) {
                    
233                continue;
                    
                
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.
                    
                
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
                    
                
bp-loader.php https://bitbucket.org/codemen_iftekhar/codemen.git | PHP | 487 lines
                    
46	 * Components are encouraged to store their data in the $bp global rather
                    
47	 * than new globals to keep all BuddyPress data in one place.
                    
48	 */
                    
224	 * @uses BuddyPress::constants() Setup legacy constants
                    
225	 * @uses BuddyPress::setup_globals() Setup globals needed
                    
226	 * @uses BuddyPress::includes() Includ required files
                    
239	 * Try to avoid using these. Their values have been moved into variables
                    
240	 * in the $bp global, and have matching functions to get/set their value.
                    
241	 *
                    
397				require( $this->plugin_dir . 'bp-core/bp-core-caps.php'      );
                    
398				require( $this->plugin_dir . 'bp-core/bp-core-options.php'   );
                    
399
                    
414			// Require all of the BuddyPress core libraries
                    
415			require( $this->plugin_dir . 'bp-core/bp-core-actions.php'    );
                    
416			require( $this->plugin_dir . 'bp-core/bp-core-caps.php'       );
                    
                
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	}
                    
                
ps_perm.php https://github.com/Shigaru/shigaru.git | PHP | 461 lines
                    
1<?php
                    
2if( !defined( '_VALID_MOS' ) && !defined( '_JEXEC' ) ) die( 'Direct Access to '.basename(__FILE__).' is not allowed.' );
                    
4*
                    
5* @version $Id: ps_perm.php 1818 2009-06-23 19:07:21Z soeren_nb $
                    
6* @package VirtueMart
                    
8* @copyright Copyright (C) 2004-2009 soeren - All rights reserved.
                    
9* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php
                    
10* VirtueMart is free software. This version may have been modified pursuant
                    
13* other free or open source software licenses.
                    
14* See /administrator/components/com_virtuemart/COPYRIGHT.php for copyright notices and details.
                    
15*
                    
50
                    
51		global $my, $acl, $user;
                    
52		$db = new ps_DB;
                    
226	function list_perms( $name, $group_name, $size=1, $multi=false ) {
                    
227		global $VM_LANG;
                    
228		$auth = $_SESSION['auth'];
                    
                
view.html.php https://bitbucket.org/ke2083/transfans.co.uk-website.git | PHP | 496 lines
                    
1<?php
                    
2/**
                    
183				$item->params->set('marker_address',   JText::_('COM_CONTACT_ADDRESS') . ': ');
                    
184				$item->params->set('marker_email',     JText::_('JGLOBAL_EMAIL') . ': ');
                    
185				$item->params->set('marker_telephone', JText::_('COM_CONTACT_TELEPHONE') . ': ');
                    
216				{
                    
217					$image2 = JHtml::_('image', $item->params->get('icon_email', 'emailButton.png'), JText::_('JGLOBAL_EMAIL') . ': ', null, false);
                    
218				}
                    
220				{
                    
221					$image2 = JHtml::_('image', 'contacts/' . $item->params->get('icon_email', 'emailButton.png'), JText::_('JGLOBAL_EMAIL') . ': ', null, true);
                    
222				}
                    
                
Page.php https://github.com/tuteke/isaved.git | PHP | 402 lines
                    
1<?php
                    
2/**
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: Page.php 16974 2009-07-22 19:23:08Z matthew $
                    
21 */
                    
26 */
                    
27#require_once 'Zend/Cache/Core.php';
                    
28
                    
61     *     - (boolean) cacheWithXXXVariables  (XXXX = 'Get', 'Post', 'Session', 'Files' or 'Cookie') :
                    
62     *       if true,  cache is still on even if there are some variables in this superglobal array
                    
63     *       if false, cache is off if there are some variables in this superglobal array
                    
64     *     - (boolean) makeIdWithXXXVariables (XXXX = 'Get', 'Post', 'Session', 'Files' or 'Cookie') :
                    
65     *       if true, we have to use the content of this superglobal array to make a cache id
                    
66     *       if false, the cache id won't be dependent of the content of this superglobal array
                    
67     *     - (int) specific_lifetime : cache specific lifetime
                    
68     *                                (false => global lifetime is used, null => infinite lifetime,
                    
69     *                                 integer => this lifetime is used), this "lifetime" is probably only
                    
                
class-wp-ms-sites-list-table.php https://github.com/terry69/fluxflex_wordpress.git | PHP | 340 lines
                    
214						<th scope="row" class="check-column">
                    
215							<input type="checkbox" id="blog_<?php echo $blog['blog_id'] ?>" name="allblogs[]" value="<?php echo esc_attr( $blog['blog_id'] ) ?>" />
                    
216						</th>
                    
221						<th valign="top" scope="row">
                    
222							<?php echo $blog['blog_id'] ?>
                    
223						</th>
                    
228						echo "<td class='column-$column_name $column_name'$style>"; ?>
                    
229							<a href="<?php echo esc_url( network_admin_url( 'site-info.php?id=' . $blog['blog_id'] ) ); ?>" class="edit"><?php echo $blogname . $blog_state; ?></a>
                    
230							<?php
                    
249								else
                    
250									$actions['deactivate']	= '<span class="activate"><a href="' . esc_url( wp_nonce_url( network_admin_url( 'edit.php?action=confirm&amp;action2=deactivateblog&amp;id=' . $blog['blog_id'] . '&amp;msg=' . urlencode( sprintf( __( 'You are about to deactivate the site %s' ), $blogname ) ) ), 'confirm') ) . '">' . __( 'Deactivate' ) . '</a></span>';
                    
251
                    
254								else
                    
255									$actions['archive']	= '<span class="archive"><a href="' . esc_url( wp_nonce_url( network_admin_url( 'edit.php?action=confirm&amp;action2=archiveblog&amp;id=' . $blog['blog_id'] . '&amp;msg=' . urlencode( sprintf( __( 'You are about to archive the site %s.' ), $blogname ) ) ), 'confirm') ) . '">' . _x( 'Archive', 'verb; site' ) . '</a></span>';
                    
256
                    
                
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://github.com/adamli/ckfinder.git | PHP | 535 lines
                    
395
                    
396        if (!isset($GLOBALS['config']['ResourceType']) || !is_array($GLOBALS['config']['ResourceType'])) {
                    
397            return $_null;
                    
420        if (!isset($this->_thumbnailsConfigCache)) {
                    
421            $this->_thumbnailsConfigCache = new CKFinder_Connector_Core_ThumbnailsConfig(isset($GLOBALS['config']['Thumbnails']) ? $GLOBALS['config']['Thumbnails'] : array());
                    
422        }
                    
435        if (!isset($this->_imagesConfigCache)) {
                    
436            $this->_imagesConfigCache = new CKFinder_Connector_Core_ImagesConfig(isset($GLOBALS['config']['Images']) ? $GLOBALS['config']['Images'] : array());
                    
437        }
                    
450        if (!isset($this->_accessControlConfigCache)) {
                    
451            $this->_accessControlConfigCache = new CKFinder_Connector_Core_AccessControlConfig(isset($GLOBALS['config']['AccessControl']) ? $GLOBALS['config']['AccessControl'] : array());
                    
452        }
                    
521    {
                    
522        if (!isset($GLOBALS['config']['ResourceType']) || !is_array($GLOBALS['config']['ResourceType'])) {
                    
523            return array();
                    
                
IndexController.php https://bitbucket.org/dnejedly/eaparts.git | PHP | 390 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 */
                    
99    /**
                    
100     * Global Search Action
                    
101     */
                    
101     */
                    
102    public function globalSearchAction()
                    
103    {
                    
103    {
                    
104        $searchModules = Mage::getConfig()->getNode("adminhtml/global_search");
                    
105        $items = array();
                    
                
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 } ?>
                    
                
wp-shopping-cart.php https://github.com/evadne/wp-e-commerce.git | PHP | 358 lines
                    
1<?php
                    
2/*
                    
14// this is to make sure it sets up the table name constants correctly on activation
                    
15global $wpdb;
                    
16define('WPSC_VERSION', '3.7');
                    
53} else {
                    
54  require(WPSC_FILE_PATH.'/languages/EN_en.php');
                    
55}
                    
99// start including the rest of the plugin here
                    
100require_once(WPSC_FILE_PATH.'/wpsc-includes/wpsc_query.php');
                    
101require_once(WPSC_FILE_PATH.'/wpsc-includes/variations.class.php');
                    
101require_once(WPSC_FILE_PATH.'/wpsc-includes/variations.class.php');
                    
102require_once(WPSC_FILE_PATH.'/wpsc-includes/ajax.functions.php');
                    
103require_once(WPSC_FILE_PATH.'/wpsc-includes/misc.functions.php');
                    
103require_once(WPSC_FILE_PATH.'/wpsc-includes/misc.functions.php');
                    
104require_once(WPSC_FILE_PATH.'/wpsc-includes/mimetype.php');
                    
105require_once(WPSC_FILE_PATH.'/wpsc-includes/cart.class.php');
                    
                
transaction_result_functions.php https://github.com/evadne/wp-e-commerce.git | PHP | 285 lines
                    
1<?php
                    
2function transaction_results($sessionid, $echo_to_screen = true, $transaction_id = null) {
                    
2function transaction_results($sessionid, $echo_to_screen = true, $transaction_id = null) {
                    
3	global $wpdb,$wpsc_cart;
                    
4	//$curgateway = get_option('payment_gateway');
                    
24		}
                    
25		$order_url = $siteurl."/wp-admin/admin.php?page=".WPSC_DIR_NAME."/display-log.php&amp;purchcaseid=".$purchase_log['id'];
                    
26
                    
                
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
                    
                
class.ShowOptionsPage.php https://github.com/jstar88/LibreTitan.git | PHP | 346 lines
                    
1<?php
                    
2
                    
39	{
                    
40		global $lang;
                    
41
                    
54
                    
55				die(header("location:game.php?page=options"));
                    
56			}
                    
59				$urlaubs_modus = "1";
                    
60				die(header("location:game.php?page=options"));
                    
61			}
                    
187				{
                    
188					message($lang['op_cant_activate_vacation_mode'], "game.php?page=options",2);
                    
189				}
                    
261						setcookie(COOKIE_NAME, "", time()-100000, "/", "", 0);
                    
262						message($lang['op_password_changed'],"index.php",1);
                    
263					}
                    
                
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;
                    
                
index.php https://github.com/shamilcm/wireus.git | PHP | 291 lines
                    
4
                    
5<?php 
                    
6
                    
8        if($_SESSION['authuser']!=1)
                    
9                header("Location:../index.php");
                    
10      ?>  
                    
24        $('#gridfriends').tableScroll({height:700, width:270});
                    
25   $(".globalheader").click(function(){
                    
26                $(".globalheader").stop().animate({top:"0px"},"slow");
                    
27           });
                    
28 $(".globalheader").hover(function(){
                    
29         },
                    
30         function() {
                    
31		 $(".globalheader").stop().animate({top:"-30px"},"slow");
                    
32         });
                    
                
EditView.php https://github.com/lukio/sugarcrm_dev.git | PHP | 349 lines
                    
107	$params[] = "<a href='index.php?module={$focus->module_dir}&action=DetailView&record={$focus->id}'>{$focus->name}</a>";
                    
108	$params[] = $GLOBALS['app_strings']['LBL_EDIT_BUTTON_LABEL'];
                    
109}
                    
172$xtpl->assign("CANCEL_SCRIPT", $cancel_script);
                    
173$xtpl->assign("PRINT_URL", "index.php?".$GLOBALS['request_string']);
                    
174$xtpl->assign("JAVASCRIPT", get_set_focus_js() . $quicksearch_js);
                    
175
                    
176if(!is_file($GLOBALS['sugar_config']['cache_dir'] . 'jsLanguage/' . $GLOBALS['current_language'] . '.js')) {
                    
177    require_once('include/language/jsLanguage.php');
                    
177    require_once('include/language/jsLanguage.php');
                    
178    jsLanguage::createAppStringsCache($GLOBALS['current_language']);
                    
179}
                    
179}
                    
180$jsLang = '<script type="text/javascript" src="' . $GLOBALS['sugar_config']['cache_dir'] . 'jsLanguage/' . $GLOBALS['current_language'] . '.js?s=' . $GLOBALS['sugar_version'] . '&c=' . $GLOBALS['sugar_config']['js_custom_version'] . '&j=' . $GLOBALS['sugar_config']['js_lang_version'] . '"></script>';
                    
181$xtpl->assign("JSLANG", $jsLang);
                    
                
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-theme-install-list-table.php https://bitbucket.org/technicise/wordpress.git | PHP | 394 lines
                    
116	function get_views() {
                    
117		global $tabs, $tab;
                    
118
                    
121			$class = ( $action == $tab ) ? ' class="current"' : '';
                    
122			$href = self_admin_url('theme-install.php?tab=' . $action);
                    
123			$display_tabs['theme-install-'.$action] = "<a href='$href'$class>$text</a>";
                    
226		?>
                    
227		<a class="screenshot install-theme-preview" href="<?php echo esc_url( $preview_url ); ?>" title="<?php echo esc_attr( $preview_title ); ?>">
                    
228			<img src='<?php echo esc_url( $theme->screenshot_url ); ?>' width='150' />
                    
260				<div class="wp-full-overlay-footer">
                    
261					<a href="#" class="collapse-sidebar button-secondary" title="<?php esc_attr_e('Collapse Sidebar'); ?>">
                    
262						<span class="collapse-sidebar-label"><?php _e('Collapse'); ?></span>
                    
347				<div class="theme-description">
                    
348					<?php echo wp_kses( $theme->description, $themes_allowedtags ); ?>
                    
349				</div>
                    
                
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>
                    
                
tbl_replace.php https://github.com/edmondscommerce/XAMPP-Magento-Demo-Site.git | PHP | 414 lines
                    
77    $url_params['after_insert'] = $_REQUEST['after_insert'];
                    
78    //$GLOBALS['goto'] = 'tbl_change.php';
                    
79    $goto_include = 'tbl_change.php';
                    
110    }
                    
111    if ($GLOBALS['goto'] == 'db_sql.php' && strlen($GLOBALS['table'])) {
                    
112        $GLOBALS['table'] = '';
                    
202
                    
203	$primary_field = PMA_BS_GetPrimaryField($GLOBALS['db'], $GLOBALS['table']);
                    
204
                    
296            // build update query
                    
297            $query[] = 'UPDATE ' . PMA_backquote($GLOBALS['db']) . '.' . PMA_backquote($GLOBALS['table'])
                    
298                    . ' SET ' . implode(', ', $query_values) . ' WHERE ' . str_replace('&#93;', ']', $primary_key) . ' LIMIT 1';
                    
309if ($is_insert && count($value_sets) > 0) {
                    
310    $query[] = 'INSERT INTO ' . PMA_backquote($GLOBALS['db']) . '.' . PMA_backquote($GLOBALS['table'])
                    
311        . ' (' . implode(', ', $query_fields) . ') VALUES (' . implode('), (', $value_sets) . ')';
                    
                
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(
                    
                
faq-content.html https://github.com/jlongster/mozilla.com.git | HTML | 201 lines
                    
1<?php
                    
2    // please translate the variable below
                    
40    <dt id="q2">Tem custos?</dt>
                    
41    <dd>Não. O Firefox foi criado como parte da fundação sem fins lucrativos Mozilla que se comprometeu com a aberura, inovação e oportunidade da Internet. Achamos que software gratuito e de código aberto como o Firefox é fundamental para manter a internet como um recurso global. <a href="http://www.mozilla.org/foundation">Saber mais</a>.</dd>
                    
42
                    
49    <dt id="q6">Quem faz o Firefox?</dt>
                    
50    <dd>O Firefox foi produzido pela fundação sem fins lucrativos Mozilla com a ajuda de uma comunidade global. Devido às contribuições da comunidade, adicionamos novos extras e actualizações que tronam o Firefox mais rápido, seguro e potente. Quer ajudar? Visite a página <a href="../developers/">Desenvolver para o Mobile</a>.</dd>
                    
51
                    
146    <dt id="q18">Preciso de obter o extra Firefox Sync para utilizar o Firefox no meu telemóvel?</dt>
                    
147    <dd>Não. Embora sincronizar o Firefox entre o seu PC e o telemóvel com o Firefox Sync, na nossa opinião, é super útil, é um serviço opcional que pode ou não escolher. Pode ainda desfrutar do Firefox em que confia sem o ter. O Firefox Sync permite partilhar o histórico, marcadores, preferências e muito mais, melhorando a sua experiência global de navegação onde quer que esteja.</dd>
                    
148
                    
                
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>
                    
                
config.php https://github.com/olberger/fusionforge.git | PHP | 396 lines
                    
16define ('_DEBUG_PARSER',    4); // verbose parsing steps
                    
17define ('_DEBUG_TRACE',     8); // test php memory usage, prints php debug backtraces
                    
18define ('_DEBUG_INFO',     16);
                    
45    if (!$HTTP_USER_AGENT)
                    
46        $HTTP_USER_AGENT = @$GLOBALS['HTTP_SERVER_VARS']['HTTP_USER_AGENT'];
                    
47    if (!$HTTP_USER_AGENT) // CGI
                    
47    if (!$HTTP_USER_AGENT) // CGI
                    
48        $HTTP_USER_AGENT = @$GLOBALS['HTTP_ENV_VARS']['HTTP_USER_AGENT'];
                    
49    if (!$HTTP_USER_AGENT) // local CGI testing
                    
186                    if (in_array($locale, $locs) or in_array($lang, $locs)) {
                    
187                    	//if (empty($GLOBALS['LANG'])) $GLOBALS['LANG'] = $try;
                    
188                        return $try;
                    
242        // do reinit to purge PHP's static cache [43ms]
                    
243        if ( ($lcfile = FindLocalizedFile("LC_MESSAGES/phpwiki.php", 'missing_ok', 'reinit')) ) {
                    
244            include($lcfile);
                    
                
filterlib.php https://github.com/nadavkav/Moodle-RTL--Shenkar-Translation-Team-.git | PHP | 365 lines
                    
1<?php // $Id: filterlib.php,v 1.24.10.4 2009/02/18 11:02:11 stronk7 Exp $
                    
2      // Contains special functions that are particularly useful to filters
                    
57
                    
58    global $CFG;
                    
59
                    
332function filter_add_javascript($text) {
                    
333    global $CFG;
                    
334
                    
                
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
                    
                
store.php https://github.com/totara/moodle.git | PHP | 362 lines
                    
1<?php
                    
2// This file is part of Moodle - http://moodle.org/
                    
63            $replace = "module = 'course' AND action = 'new' AND userid = :userid AND url = :url AND time > :since";
                    
64            $params += array('url' => "view.php?id={$params['courseid']}");
                    
65            return array($replace, $params, $sort);
                    
86    public function get_events_select($selectwhere, array $params, $sort, $limitfrom, $limitnum) {
                    
87        global $DB;
                    
88
                    
129    public function get_events_select_iterator($selectwhere, array $params, $sort, $limitfrom, $limitnum) {
                    
130        global $DB;
                    
131
                    
157    public function get_events_select_count($selectwhere, array $params) {
                    
158        global $DB;
                    
159
                    
199        // so it has been optimised for speed.
                    
200        global $DB, $CFG, $USER;
                    
201        if (!$this->is_logging()) {
                    
                
version.html https://github.com/trevor/ImageMagick.git | HTML | 365 lines
                    
12  <meta name="application-url" content="http://www.imagemagick.org"></meta>
                    
13  <meta name="generator" content="PHP"></meta>
                    
14  <meta name="keywords" content="magickcore, c, api, for, imagemagick:, get, the, version, copyrights, ImageMagick, PerlMagick, image processing, OpenMP, software development library, image, photo, software, Magick++, MagickWand"></meta>
                    
21  <meta name="copyright" content="Copyright (c) 1999-2012 ImageMagick Studio LLC"></meta>
                    
22  <meta name="distribution" content="Global"></meta>
                    
23  <link rel="icon" href="../../images/wand.png"></link>
                    
148<div class="menu">
                    
149  <a title="Search" href="http://www.imagemagick.org/script/search.php">Search</a>
                    
150</div>
                    
                
transformation.php https://github.com/xc/zetacomponents.git | PHP | 417 lines
                    
1<?php
                    
2/**
                    
126     *
                    
127     * @param ezcImageConverter $converter     The global converter.
                    
128     * @param string $name                     Name for the transformation.
                    
                
ExtensionServiceTest.php https://github.com/TYPO3/TYPO3.CMS.git | PHP | 367 lines
                    
1<?php
                    
2
                    
20use Prophecy\Argument;
                    
21use Prophecy\PhpUnit\ProphecyTrait;
                    
22use Prophecy\Prophecy\ObjectProphecy;
                    
56        parent::setUp();
                    
57        $GLOBALS['TSFE'] = new \stdClass();
                    
58        $this->extensionService = new ExtensionService();
                    
60        $this->extensionService->injectConfigurationManager($this->mockConfigurationManager);
                    
61        $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['extbase']['extensions'] = [
                    
62            'ExtensionName' => [
                    
                
mogrify.html https://github.com/trevor/ImageMagick.git | HTML | 288 lines
                    
17  <meta name="Application-url" content="http://www.imagemagick.org"/>
                    
18  <meta name="Generator" content="PHP"/>
                    
19  <meta name="Keywords" content="magickwc, api, for, imagemagick:, command-line, interface, ImageMagick, ImageMagic, MagickCore, MagickWand, PerlMagick, Magick++, RMagick, PythonMagick, JMagick, TclMagick, Image, Magick, Magic, Wand, ImageMagickObject, Image, Processing, Automagically"/>
                    
26  <meta name="Copyright" content="Copyright (c) 1999-2011 ImageMagick Studio LLC"/>
                    
27  <meta name="Distribution" content="Global"/>
                    
28  <link rel="icon" href="../../images/wand.png"/>
                    
272    <span id="footer-west">&copy; 1999-2011 ImageMagick Studio LLC</span>
                    
273    <span id="footer-east"> <a href="../http://www.imagemagick.org/script/contact.php">Contact the Wizards</a></span>
                    
274  </div>
                    
                
studio.h https://github.com/trevor/ImageMagick.git | C Header | 494 lines
                    
7  
                    
8    http://www.imagemagick.org/script/license.php
                    
9  
                    
132# endif
                    
133# define WandGlobal  __declspec(thread)
                    
134# if defined(_VISUALC_)
                    
145# define ModuleExport
                    
146# define WandGlobal
                    
147#endif
                    
                
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';
                    
                
ListCommand.php https://gitlab.com/ealexis.t/trends | 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)) {
                    
                
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 {
                    
                
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/nicolasconnault/moodle2.0.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:
                    
                
display-debug.page.php https://github.com/evadne/wp-e-commerce.git | PHP | 365 lines
                    
49			<li>
                    
50				<a href='?page=wpsc-debug&amp;wpsc_debug_action=phpinfo'>Display phpinfo</a>
                    
51			</li>
                    
52			<li>
                    
53				<a href='<?php echo $fixpage; ?>'>Fix Purchaselogs</a>
                    
54			</li>
                    
55		</ul>
                    
56		<?php
                    
57		if (defined('WPSC_ADD_DEBUG_PAGE') && (constant('WPSC_ADD_DEBUG_PAGE') == true)) {
                    
114			case 'filters':
                    
115			global $wp_filter, $merged_filters;
                    
116			print_r($wp_filter);
                    
119			
                    
120			case 'phpinfo':
                    
121			echo "</pre>";
                    
                
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'.
                    
                
MailScannerInfo.php https://github.com/hitchby/PLEXUS.git | PHP | 398 lines
                    
1<?php
                    
2/*********************************************************************************
                    
10 ********************************************************************************/
                    
11require_once('modules/Settings/MailScanner/core/MailScannerRule.php');
                    
12
                    
63	function __crypt($password, $encrypt=true) {
                    
64		require_once('include/utils/encryption.php');
                    
65		$cryptobj = new Encryption();
                    
73	function initialize($scannername) {
                    
74		global $adb;
                    
75		$result = $adb->pquery("SELECT * FROM vtiger_mailscanner WHERE scannername=?", Array($scannername));
                    
100	function initializeFolderInfo() {
                    
101		global $adb;
                    
102		if($this->scannerid) {
                    
122	function clearLastscan() {
                    
123		global $adb;
                    
124		$adb->pquery("DELETE FROM vtiger_mailscanner_folders WHERE scannerid=?", Array($this->scannerid));
                    
                
lib.php https://github.com/telematika/moodle.git | PHP | 460 lines
                    
1<?php
                    
2// This file is part of Moodle - http://moodle.org/
                    
31function book_get_numbering_types() {
                    
32    global $CFG; // required for the include
                    
33
                    
33
                    
34    require_once(dirname(__FILE__).'/locallib.php');
                    
35
                    
60function book_add_instance($data, $mform) {
                    
61    global $DB;
                    
62
                    
79function book_update_instance($data, $mform) {
                    
80    global $DB;
                    
81
                    
102function book_delete_instance($id) {
                    
103    global $DB;
                    
104
                    
                
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
                    
                
plugin.php https://github.com/mrmark/moodle.git | PHP | 352 lines
                    
1<?php
                    
2// This file is part of Moodle - http://moodle.org/
                    
54    public function embed($urls, $name, $width, $height, $options) {
                    
55        global $CFG;
                    
56        require_once($CFG->libdir . '/filelib.php');
                    
200    public function get_supported_extensions() {
                    
201        global $CFG;
                    
202        require_once($CFG->libdir . '/filelib.php');
                    
261    protected function find_language() {
                    
262        global $CFG;
                    
263        $this->language = current_language();
                    
314     * Returns regular expression used to match URLs for single youtube video
                    
315     * @return string PHP regular expression e.g. '~^https?://example.org/~'
                    
316     */
                    
                
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
                    
                
ping.php https://github.com/agnesrambaud/yacs.git | PHP | 326 lines
                    
53 * @see articles/publish.php
                    
54 * @see categories/view.php
                    
55 * @see links/links.php
                    
116 */
                    
117include_once '../shared/global.php';
                    
118include_once '../links/link.php';
                    
136include_once 'codec.php';
                    
137include_once 'xml_rpc_codec.php';
                    
138$codec = new xml_rpc_Codec();
                    
278		// check we can read the given address, or the same with an additional '/'
                    
279		elseif((($content = Link::fetch($url, '', '', 'services/ping.php')) === FALSE) && (($content = Link::fetch($url.'/', '', '', 'services/ping.php')) === FALSE))
                    
280			$response = array('flerror' => 1, 'message' => 'Cannot read source address '.$url);
                    
318if(isset($context['debug_ping']) && ($context['debug_ping'] == 'Y'))
                    
319	Logger::remember('services/ping.php', 'ping response', $response, 'debug');
                    
320elseif(isset($context['debug_trackback']) && ($context['debug_trackback'] == 'Y') && ($parameters['methodName'] == 'pingback.ping'))
                    
                
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;
                    
                
examples.html https://github.com/trevor/ImageMagick.git | HTML | 279 lines
                    
17  <meta name="Application-url" content="http://www.imagemagick.org"/>
                    
18  <meta name="Generator" content="PHP"/>
                    
19  <meta name="Keywords" content="examples, of, imagemagick, usage, ImageMagick, PerlMagick, image processing, OpenMP, software development library, image, photo, software, Magick++, MagickWand"/>
                    
26  <meta name="Copyright" content="Copyright (c) 1999-2012 ImageMagick Studio LLC"/>
                    
27  <meta name="Distribution" content="Global"/>
                    
28  <link rel="icon" href="../images/wand.png"/>
                    
263    <span id="footer-west">&copy; 1999-2011 ImageMagick Studio LLC</span>
                    
264    <span id="footer-east"> <a href="http://www.imagemagick.org/script/contact.php">Contact the Wizards</a></span>
                    
265  </div>
                    
                
backuplib.php https://github.com/ewout/moodle-atpusp.git | PHP | 252 lines
                    
1<?php //$Id: backuplib.php,v 1.7 2007/04/22 22:07:03 stronk7 Exp $
                    
2    //This php script contains all the stuff to backup/restore
                    
20    function mplayer_backup_mods($bf,$preferences) {
                    
21        global $CFG;
                    
22
                    
38
                    
39        global $CFG;
                    
40    
                    
177
                    
178        global $CFG;
                    
179
                    
182        //Link to the list of mplayers
                    
183        $buscar="/(".$base."\/mod\/mplayer\/index.php\?id\=)([0-9]+)/";
                    
184        $result= preg_replace($buscar,'$@MPLAYERINDEX*$2@$',$content);
                    
186        //Link to mplayer view by moduleid
                    
187        $buscar="/(".$base."\/mod\/mplayer\/view.php\?id\=)([0-9]+)/";
                    
188        $result= preg_replace($buscar,'$@MPLAYERVIEWBYID*$2@$',$result);
                    
                
resource_document.php https://github.com/slee2004/moodle.git | PHP | 363 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3* Global Search Engine for Moodle
                    
4*
                    
17* Functions for iterating and retrieving the necessary records are now also included
                    
18* in this file, rather than mod/resource/lib.php
                    
19*/
                    
23*/
                    
24require_once($CFG->dirroot.'/search/documents/document.php');
                    
25require_once($CFG->dirroot.'/mod/resource/lib.php');
                    
58function resource_make_link($resource_id) {
                    
59    global $CFG;
                    
60    
                    
60    
                    
61    return $CFG->wwwroot.'/mod/resource/view.php?id='.$resource_id;
                    
62} 
                    
                
simplified_chinese.php https://github.com/shamblett/janitor.git | PHP | 323 lines
                    
79);
                    
80$GLOBALS["messages"] = array(
                    
81	// links
                    
186	'siphpversion'		=> 'PHP 版本',
                    
187	'siphpupdate'		=> '信息: <span style="color: red;">您正在使用的PHP版本是 <strong>not</strong> actual!</span><br />为保证 eXtplorer 及其插件的所有功能正常运行,<br />您必须最低使用 <strong>PHP. 4.3 版本</strong>!',
                    
188	'siwebserver'		=> '服务器',
                    
188	'siwebserver'		=> '服务器',
                    
189	'siwebsphpif'		=> '服务器 - PHP 界面',
                    
190	'simamboversion'	=> 'eXtplorer 版本',
                    
198	'simagicquotes'		=> '魔力引用',
                    
199	'siregglobals'		=> 'Register Globals',
                    
200	'sioutputbuf'		=> '输出缓存',
                    
208	'siphpinfo'			=> 'PHP 信息',
                    
209	'siphpinformation'	=> 'PHP 信息',
                    
210	'sipermissions'		=> '允许',
                    
                
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
                    
                
view.php https://github.com/Socrattes2099/ezpublish.git | PHP | 255 lines
                    
1<?php
                    
2//
                    
97            // We should use "reference" if multiply removing of ini setting.
                    
98            // if eZINI::instance() is called twice instance will be fetched from GLOBAL variable.
                    
99            // Without reference there will be a inconsistency with GLOBAL instance and stored ini file.
                    
99            // Without reference there will be a inconsistency with GLOBAL instance and stored ini file.
                    
100            $iniTemp = eZINI::create( $settingFile . '.append.php', $path, null, null, null, true );
                    
101            $iniTemp->removeSetting( $block, $setting );
                    
109{
                    
110    if ( $GLOBALS['eZCurrentAccess']['name'] !== $currentSiteAccess )
                    
111    {
                    
230// find all .ini files in active extensions
                    
231foreach ( eZINI::globalOverrideDirs() as $iniDataSet )
                    
232{
                    
234    $iniFiles = array_merge( $iniFiles, eZDir::recursiveFindRelative( $iniPath, '', '.ini' ) );
                    
235    $iniFiles = array_merge( $iniFiles, eZDir::recursiveFindRelative( $iniPath, '', '.ini.append.php' ) );
                    
236}
                    
                
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				?>
                    
                
PresenterComponent.php https://github.com/iguana007/gui-for-ACL-NETTE-2.0.git | PHP | 438 lines
                    
1<?php
                    
2
                    
78		if ($presenter instanceof Presenter) {
                    
79			$this->loadState($presenter->popGlobalParams($this->getUniqueId()));
                    
80		}
                    
                
facilities_add.php https://github.com/amcl/openemr.git | PHP | 268 lines
                    
41function submitform() {
                    
42	<?php if($GLOBALS['erx_enable']){ ?>
                    
43	alertMsg='';
                    
195        <td>&nbsp;</td>
                    
196        <td><span class="text"><?php xl('Tax ID','e'); ?>: </span></td><td><select name=tax_id_type><option value="EI"><?php xl('EIN','e'); ?></option><option value="SY"><?php xl('SSN','e'); ?></option></select><input type=entry size=11 name=federal_ein value=""></td>
                    
197        </tr>
                    
207          <td>&nbsp;</td>
                    
208          <td><span class='text'><?php xl('Accepts Assignment','e'); ?><br>(<?php xl('only if billing location','e'); ?>): </span></td> <td><input type='checkbox' name='accepts_assignment' value = '1'></td>
                    
209        </tr>
                    
212          <td>&nbsp;</td>
                    
213          <td><span class='text'><?php echo htmlspecialchars(xl('Color'),ENT_QUOTES); ?>: </span><span class="mandatory">&nbsp;*</span></td> <td><input type=entry name=ncolor id=ncolor size=20 value="">[<a href="javascript:void(0);" onClick="pick('pick','newcolor');return false;" NAME="pick" ID="pick"><?php echo htmlspecialchars(xl('Pick'),ENT_QUOTES); ?></a>]</td>
                    
214        </tr>
                    
222          <td><span class='text'><?php xl('Primary Business Entity','e'); ?>: </span></td>
                    
223          <td><input type='checkbox' name='primary_business_entity' id='primary_business_entity' value='1' <?php if ($facility['primary_business_entity'] == 1) echo 'checked'; ?> <?php if($GLOBALS['erx_enable']){ ?> onchange='return displayAlert()' <?php } ?> <?php echo $disabled;?>></td>
                    
224          <td>&nbsp;</td>
                    
                
TeapotPerPixel.html https://github.com/blackberry/WebKit-Smartphone.git | HTML | 369 lines
                    
35          Copyright (c) 2008 Seneca College
                    
36          Licenced under the MIT License (http://www.c3dl.org/index.php/mit-license/)
                    
37        */
                    
82        // material
                    
83        uniform vec4 u_globalAmbientColor;
                    
84        uniform Material u_frontMaterial;
                    
124            v_ambient = u_frontMaterial.ambient * ambient;
                    
125            v_ambient += u_globalAmbientColor * u_frontMaterial.ambient;
                    
126            v_diffuse = u_frontMaterial.diffuse * diffuse;
                    
237            gl.uniform1i(gl.getUniformLocation(gl.program, "u_sampler2d"), 0);
                    
238            gl.uniform4f(gl.getUniformLocation(gl.program, "u_globalAmbientColor"), 0.2, 0.2, 0.2, 1);
                    
239
                    
                
import.php https://github.com/pauln/moodle.git | 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    }
                    
                
walkthrough_test.php https://github.com/pauln/moodle.git | 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
                    
                
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 : ?>
                    
                
int_bugtracking.php https://github.com/viglesiasce/testlink.git | PHP | 387 lines
                    
1<?php
                    
2/**
                    
4 *
                    
5 * Filename $RCSfile: int_bugtracking.php,v $
                    
6 *
                    
17 * All bug tracking customization should be done in a sub class of this
                    
18 * class . for an example look at the bugzilla.cfg.php and mantis.cfg.php
                    
19 *
                    
30 *	20081217 - franciscom - BUGID 1939
                    
31 *							removed global coupling, usign config_get()
                    
32 *	20081102 - franciscom - refactored to ease configuration
                    
38**/
                    
39require_once(TL_ABS_PATH. "/lib/functions/database.class.php");
                    
40
                    
365	$btsname = strtolower($bts_type);
                    
366	$configPHP = $btsname . '.cfg.php';
                    
367	$interfacePHP = 'int_' . $btsname . '.php';
                    
                
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>
                    
                
 

Source

Language