PageRenderTime 755ms queryTime 66ms sortTime 266ms getByIdsTime 133ms findMatchingLines 60ms

100+ results results for 'php next' (755 ms)

Not the results you expected?
wp-cache-f091d5ab40590bc01ee8ea7afc5372b1.html https://gitlab.com/endomorphosis/reservationtelco | HTML | 371 lines
                    
29<script type='text/javascript' src='http://localhost:8888/reservation-telephone-company/wp-content/plugins/gs-presentation/js/gs-presentation.js?ver=3.0-RC1-15112'></script>
                    
30<link rel="EditURI" type="application/rsd+xml" title="RSD" href="http://localhost:8888/reservation-telephone-company/xmlrpc.php?rsd" />
                    
31<link rel="wlwmanifest" type="application/wlwmanifest+xml" href="http://localhost:8888/reservation-telephone-company/wp-includes/wlwmanifest.xml" /> 
                    
33<link rel='prev' title='Services' href='http://localhost:8888/reservation-telephone-company/services-2-2/' />
                    
34<link rel='next' title='Links' href='http://localhost:8888/reservation-telephone-company/links/' />
                    
35<meta name="generator" content="WordPress 3.0-RC1-15112" />
                    
77     }
                    
78     .calendar-next {
                    
79        width:25%;
                    
                
Pager.php https://github.com/cawago/ci_campusync_auth.git | PHP | 576 lines
                    
1<?php
                    
2/*
                    
18 * and is licensed under the LGPL. For more information, see
                    
19 * <http://www.phpdoctrine.org>.
                    
20 */
                    
27 * @subpackage  Pager
                    
28 * @license     http://www.opensource.org/licenses/lgpl-license.php LGPL
                    
29 * @version     $Revision$
                    
29 * @version     $Revision$
                    
30 * @link        www.phpdoctrine.org
                    
31 * @since       0.9
                    
281    /**
                    
282     * getNextPage
                    
283     *
                    
283     *
                    
284     * Returns the next page
                    
285     *
                    
                
header.tmpl.php https://github.com/harriswong/ATutor.git | PHP | 237 lines
                    
87			<?php if (get_num_new_messages()): ?>
                    
88				<strong><a href="<?php echo $this->base_path; ?>inbox/index.php"><?php echo _AT('inbox'); ?> - <?php echo get_num_new_messages(); ?></a></strong> | 
                    
89			<?php else: ?>
                    
158				<?php if ($page['url'] == $this->current_top_level_page): ?>
                    
159					<li><a href="<?php echo $page['url']; ?>" <?php echo $accesskey_text; ?> title="<?php echo $page['title'] . $accesskey_title; ?>" class="active"><?php echo $page['title']; ?></a></li>
                    
160				<?php else: ?>
                    
219		<?php if ($this->sequence_links['resume']): ?>
                    
220				<a style="color:white;" href="<?php echo $this->sequence_links['resume']['url']; ?>" accesskey="."><img src="<?php echo $this->img; ?>resume.gif" border="0" title="<?php echo _AT('resume').': '.$this->sequence_links['resume']['title']; ?> Alt+." alt="<?php echo $this->sequence_links['resume']['title']; ?> Alt+." class="img-size-ascdesc" /></a>
                    
221		<?php else:
                    
222			if ($this->sequence_links['previous']): ?>
                    
223				<a href="<?php echo $this->sequence_links['previous']['url']; ?>" title="<?php echo _AT('previous_topic').': '. $this->sequence_links['previous']['title']; ?> Alt+," accesskey=","><img src="<?php echo $this->img; ?>previous.gif" border="0" alt="<?php echo _AT('previous_topic').': '. $this->sequence_links['previous']['title']; ?> Alt+," class="img-size-ascdesc" /></a>
                    
224			<?php endif;
                    
225			if ($this->sequence_links['next']): ?>
                    
226				<a href="<?php echo $this->sequence_links['next']['url']; ?>" title="<?php echo _AT('next_topic').': '.$this->sequence_links['next']['title']; ?> Alt+." accesskey="."><img src="<?php echo $this->img; ?>next.gif" border="0" alt="<?php echo _AT('next_topic').': '.$this->sequence_links['next']['title']; ?> Alt+." class="img-size-ascdesc" /></a>
                    
227			<?php endif; ?>
                    
                
packet.cpp https://gitlab.com/iranjith4/hhvm | C++ | 432 lines
                    
11   | http://www.php.net/license/3_01.txt                                  |
                    
12   | If you did not receive a copy of the PHP license and are unable to   |
                    
13   | obtain it through the world-wide-web, please send a note to          |
                    
13   | obtain it through the world-wide-web, please send a note to          |
                    
14   | license@php.net so we can mail you a copy immediately.               |
                    
15   +----------------------------------------------------------------------+
                    
116    }
                    
117    attr = attr->next;
                    
118  }
                    
123  while (trav != nullptr && trav->type != XML_ELEMENT_NODE) {
                    
124    trav = trav->next;
                    
125  }
                    
373                lval.toArrRef().append(tmp);
                    
374              } else if (val->next && get_node(val->next, (char*)val->name)) {
                    
375                Array arr = Array::Create();
                    
                
WizardController.php https://github.com/rgranadino/magento-mirror.git | PHP | 464 lines
                    
1<?php
                    
2/**
                    
9 * It is also available through the world-wide-web at this URL:
                    
10 * http://opensource.org/licenses/osl-3.0.php
                    
11 * If you did not receive a copy of the license and are unable to
                    
23 * @copyright   Copyright (c) 2011 Magento Inc. (http://www.magentocommerce.com)
                    
24 * @license     http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
                    
25 */
                    
131        if ($agree && $step = $this->_getWizard()->getStepByName('begin')) {
                    
132            $this->getResponse()->setRedirect($step->getNextUrl());
                    
133        }
                    
187
                    
188        $this->getResponse()->setRedirect($step->getNextUrl());
                    
189    }
                    
219                $step = $this->_getWizard()->getStepByName('download');
                    
220                $this->getResponse()->setRedirect($step->getNextUrl());
                    
221                break;
                    
                
arr.php https://bitbucket.org/i1598/caiyun_stat.git | PHP | 602 lines
                    
1<?php defined('SYSPATH') or die('No direct script access.');
                    
2/**
                    
141					{
                    
142						// Dig down into the next part of the path
                    
143						$array = $array[$key];
                    
351	/**
                    
352	 * Recursive version of [array_map](http://php.net/array_map), applies one or more
                    
353	 * callbacks to all elements in an array, including sub-arrays.
                    
403	 * Merges one or more arrays recursively and preserves all keys.
                    
404	 * Note that this does not work the same as [array_merge_recursive](http://php.net/array_merge_recursive)!
                    
405	 *
                    
423		{
                    
424			// Get the next array
                    
425			$arr = func_get_arg($i);
                    
                
ContributionPage.php https://github.com/michaelmcandrew/vaw.git | PHP | 354 lines
                    
1<?php
                    
2
                    
36
                    
37require_once 'CRM/Core/Form.php';
                    
38require_once 'CRM/Core/PseudoConstant.php';
                    
38require_once 'CRM/Core/PseudoConstant.php';
                    
39require_once 'CRM/Contribute/PseudoConstant.php';
                    
40
                    
115        // set up tabs
                    
116        require_once 'CRM/Contribute/Form/ContributionPage/TabHeader.php';
                    
117        CRM_Contribute_Form_ContributionPage_TabHeader::build( $this );
                    
162            $this->addButtons(array(
                    
163                                    array ( 'type'      => 'next',
                    
164                                            'name'      => ts('Save'),
                    
181            }
                    
182            $buttons[] = array ( 'type'      => 'next',
                    
183                                 'name'      => ts('Continue >>'),
                    
                
admin_review.php https://bitbucket.org/prat_h/rakbuku.git | PHP | 501 lines
                    
1<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
                    
2
                    
2
                    
3require_once(APPPATH.'controllers/project.php');
                    
4
                    
297			"project_state" => $this->input->post( "project_state" ),
                    
298			"project_state_next_state" => NULL,
                    
299			"project_state_next_url" => NULL
                    
                
SqlBase.php https://gitlab.com/mohamed_hussein/prodt | PHP | 415 lines
                    
1<?php
                    
2
                    
85        'previous' => ['default' => $this->t('‹ Previous')],
                    
86        'next' => ['default' => $this->t('Next ›')],
                    
87      ],
                    
143
                    
144    $form['tags']['next'] = [
                    
145      '#type' => 'textfield',
                    
145      '#type' => 'textfield',
                    
146      '#title' => $this->t('Next page link text'),
                    
147      '#default_value' => $this->options['tags']['next'],
                    
                
File.php https://github.com/Martin1982/IBMessagingWorkshopServer.git | PHP | 473 lines
                    
1<?php
                    
2/**
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: File.php 20096 2010-01-06 02:05:09Z bkarwin $
                    
21 */
                    
190         */
                    
191        if (PHP_INT_SIZE > 4) {
                    
192            $str = $this->_fread(8);
                    
218         */
                    
219        if (PHP_INT_SIZE > 4) {
                    
220            settype($value, 'integer');
                    
251            } else {
                    
252                // require_once 'Zend/Search/Lucene/Exception.php';
                    
253                throw new Zend_Search_Lucene_Exception('Long integers lower than -2147483648 (0x80000000) are not supported on 32-bit platforms.');
                    
281        if ($value < (int)0x80000000) {
                    
282            // require_once 'Zend/Search/Lucene/Exception.php';
                    
283            throw new Zend_Search_Lucene_Exception('Long integers lower than -2147483648 (0x80000000) are not supported on 32-bit platforms.');
                    
                
web.php https://github.com/XioNoX/Benevolus.git | PHP | 509 lines
                    
1<?php
                    
2
                    
3/**
                    
4	Web pack for the PHP Fat-Free Framework
                    
5
                    
205		if ($echo) {
                    
206			if (PHP_SAPI!='cli' && !headers_sent())
                    
207				header(self::HTTP_Content.': '.$mime[$ext[1]].'; '.
                    
295				self::HTTP_Agent.': Mozilla/5.0 '.
                    
296					'(compatible;'.PHP_OS.')'.self::EOL.
                    
297				($reqhdrs?
                    
330					self::$vars['HEADERS'][]=$hdr;
                    
331					if (PHP_SAPI!='cli' && $forward)
                    
332						// Forward HTTP header
                    
348		}
                    
349		if (PHP_SAPI!='cli') {
                    
350			if ($gzip)
                    
                
pearcmd.php https://github.com/ianbogda/FileZ.git | PHP | 445 lines
                    
57
                    
58// remove this next part when we stop supporting that crap-ass PHP 4.2
                    
59if (!isset($_SERVER['argv']) && !isset($argv) && !isset($HTTP_SERVER_VARS['argv'])) {
                    
59if (!isset($_SERVER['argv']) && !isset($argv) && !isset($HTTP_SERVER_VARS['argv'])) {
                    
60    echo 'ERROR: either use the CLI php executable, or set register_argc_argv=On in php.ini';
                    
61    exit(1);
                    
132// this is used in the error handler to retrieve a relative path
                    
133$_PEAR_PHPDIR = $config->get('php_dir');
                    
134$ui->setConfig($config);
                    
166                );
                    
167                $config->set('php_dir', $pearbase . DIRECTORY_SEPARATOR . 'php');
                    
168                $config->set('data_dir', $pearbase . DIRECTORY_SEPARATOR . 'data');
                    
377        return "PEAR Version: ".$GLOBALS['pear_package_version'].
                    
378               "\nPHP Version: ".phpversion().
                    
379               "\nZend Engine Version: ".zend_version().
                    
                
File.php https://github.com/testruby/Tine-2.0-Open-Source-Groupware-and-CRM.git | PHP | 473 lines
                    
1<?php
                    
2/**
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: File.php 10020 2009-08-18 14:34:09Z j.fischer@metaways.de $
                    
21 */
                    
190         */
                    
191        if (PHP_INT_SIZE > 4) {
                    
192            $str = $this->_fread(8);
                    
218         */
                    
219        if (PHP_INT_SIZE > 4) {
                    
220            settype($value, 'integer');
                    
251            } else {
                    
252                require_once 'Zend/Search/Lucene/Exception.php';
                    
253                throw new Zend_Search_Lucene_Exception('Long integers lower than -2147483648 (0x80000000) are not supported on 32-bit platforms.');
                    
281        if ($value < (int)0x80000000) {
                    
282            require_once 'Zend/Search/Lucene/Exception.php';
                    
283            throw new Zend_Search_Lucene_Exception('Long integers lower than -2147483648 (0x80000000) are not supported on 32-bit platforms.');
                    
                
class-wp-ms-users-list-table.php https://gitlab.com/Blueprint-Marketing/WordPress-1 | PHP | 301 lines
                    
97		$class = $role == 'super' ? ' class="current"' : '';
                    
98		$role_links['super'] = "<a href='" . network_admin_url('users.php?role=super') . "'$class>" . sprintf( _n( 'Super Admin <span class="count">(%s)</span>', 'Super Admins <span class="count">(%s)</span>', $total_admins ), number_format_i18n( $total_admins ) ) . '</a>';
                    
99
                    
159			<tr class="<?php echo $alt; ?>">
                    
160			<?php
                    
161
                    
175						<th scope="row" class="check-column">
                    
176							<label class="screen-reader-text" for="blog_<?php echo $user->ID; ?>"><?php echo sprintf( __( 'Select %s' ), $user->user_login ); ?></label>
                    
177							<input type="checkbox" id="blog_<?php echo $user->ID ?>" name="allusers[]" value="<?php echo esc_attr( $user->ID ) ?>" />
                    
186						echo "<td $attributes>"; ?>
                    
187							<?php echo $avatar; ?><strong><a href="<?php echo $edit_link; ?>" class="edit"><?php echo $user->user_login; ?></a><?php
                    
188							if ( in_array( $user->user_login, $super_admins ) )
                    
196								if ( current_user_can( 'delete_user', $user->ID ) && ! in_array( $user->user_login, $super_admins ) ) {
                    
197									$actions['delete'] = '<a href="' . $delete = esc_url( network_admin_url( add_query_arg( '_wp_http_referer', urlencode( wp_unslash( $_SERVER['REQUEST_URI'] ) ), wp_nonce_url( 'users.php', 'deleteuser' ) . '&amp;action=deleteuser&amp;id=' . $user->ID ) ) ) . '" class="delete">' . __( 'Delete' ) . '</a>';
                    
198								}
                    
                
NetClient.php https://gitlab.com/wuhang2003/rainloop-webmail | PHP | 629 lines
                    
1<?php
                    
2
                    
187	 */
                    
188	public function capturePhpErrorWithException($iErrNo, $sErrStr, $sErrFile, $iErrLine)
                    
189	{
                    
270
                    
271		\set_error_handler(array(&$this, 'capturePhpErrorWithException'));
                    
272
                    
472	 */
                    
473	protected function getNextBuffer($mReadLen = null, $bForceLogin = false)
                    
474	{
                    
                
rewrite.php https://bitbucket.org/zachisit/zachis.it-m.git | PHP | 425 lines
                    
1<?php
                    
2
                    
3/**
                    
4* nggRewrite - Rewrite Rules for NextGEN Gallery
                    
5*
                    
8*
                    
9* @package NextGEN Gallery
                    
10* @author Alex Rabe
                    
211		//TODO: I could parse for the Picture name , gallery etc, but this increase the queries
                    
212		//TODO: Class nggdb need to cache the query for the nggfunctions.php
                    
213
                    
265            // XML request
                    
266            $this->slug . '/slideshow/([0-9]+)/?$' => 'index.php?imagerotator=true&gid=$matches[1]'
                    
267		);  
                    
273	/**
                    
274	 * Mainly a copy of the same function in wp-includes\rewrite.php
                    
275     * Adding the NGG tags to each post & page. Never found easier and proper way to handle this with other functions.
                    
                
CookieJar.php https://bitbucket.org/Ebozavrik/test-application.git | PHP | 441 lines
                    
1<?php
                    
2/**
                    
17 * @subpackage CookieJar
                    
18 * @version    $Id: CookieJar.php 24856 2012-06-01 01:10:47Z adamlundrigan $
                    
19 * @copyright  Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
                    
25 */
                    
26require_once "Zend/Uri.php";
                    
27/**
                    
29 */
                    
30require_once "Zend/Http/Cookie.php";
                    
31/**
                    
33 */
                    
34require_once "Zend/Http/Response.php";
                    
35
                    
142        } else {
                    
143            require_once 'Zend/Http/Exception.php';
                    
144            throw new Zend_Http_Exception( 'Supplient argument is not a valid cookie string or object' );
                    
                
jplayer.blue.monday.css https://github.com/kawazrepos/Kommonz.git | CSS | 448 lines
                    
8 * Dual licensed under the MIT and GPL licenses.
                    
9 *  - http://www.opensource.org/licenses/mit-license.php
                    
10 *  - http://www.gnu.org/copyleft/gpl.html
                    
175}
                    
176div.jp-audio div.jp-type-playlist a.jp-next {
                    
177	left:88px;
                    
179}
                    
180div.jp-video div.jp-type-playlist a.jp-next {
                    
181	top:21px;
                    
182}
                    
183div.jp-video-270p div.jp-type-playlist a.jp-next {
                    
184	left:260px;
                    
185}
                    
186div.jp-video-360p div.jp-type-playlist a.jp-next {
                    
187	left:340px;
                    
                
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*
                    
35			$db->query('SELECT group_id,group_name,group_level FROM `#__{vm}_auth_group` ORDER BY group_level');
                    
36			while( $db->next_record() ) {
                    
37				$this->user_groups[$db->f('group_name')] = $db->f('group_level');
                    
70				$db->query( 'SELECT `name` FROM `#__core_acl_aro_groups` WHERE `'.$fieldname.'` ='.$gid );
                    
71				$db->next_record();
                    
72				$vmUser->usertype = $db->f( 'name' );
                    
                
WizardController.php https://github.com/pixel-cookers/magento_bootstrap.git | PHP | 464 lines
                    
1<?php
                    
2/**
                    
9 * It is also available through the world-wide-web at this URL:
                    
10 * http://opensource.org/licenses/osl-3.0.php
                    
11 * If you did not receive a copy of the license and are unable to
                    
23 * @copyright   Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
                    
24 * @license     http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
                    
25 */
                    
131        if ($agree && $step = $this->_getWizard()->getStepByName('begin')) {
                    
132            $this->getResponse()->setRedirect($step->getNextUrl());
                    
133        }
                    
187
                    
188        $this->getResponse()->setRedirect($step->getNextUrl());
                    
189    }
                    
219                $step = $this->_getWizard()->getStepByName('download');
                    
220                $this->getResponse()->setRedirect($step->getNextUrl());
                    
221                break;
                    
                
FormErrorsTest.php https://github.com/mfairchild365/zf2.git | PHP | 295 lines
                    
1<?php
                    
2/**
                    
26    Zend\Form\SubForm,
                    
27    Zend\View\PhpRenderer as View;
                    
28
                    
38 */
                    
39class FormErrorsTest extends \PHPUnit_Framework_TestCase
                    
40{
                    
151
                    
152    public function testRenderSeparatesContentAndErrorsWithPhpEolByDefault()
                    
153    {
                    
156        $test = $this->decorator->render($content);
                    
157        $this->assertContains($content . PHP_EOL . '<ul', $test);
                    
158    }
                    
242                }
                    
243                if (false === next($messages) && is_array(prev($messages))) {
                    
244                    $messages = current($messages);
                    
                
README.md https://github.com/elrond79/pymel.git | Markdown | 289 lines
                    
9  - graphviz: using an OS package manager like `yum`, `apt-get`, or `brew`, or
                    
10    on windows, from an [installer](http://www.graphviz.org/Download_windows.php)
                    
11  - python dependencies:
                    
141
                    
142  The `DependNode` classes are required for the next step to work (which I
                    
143  would like to fix this eventually.)
                    
202  - if you need to rebuild all the examples, delete `pymel/cache/mayaCmdsExamples.zip`.
                    
203    Be warned that the next step will cause your computer to freak out and
                    
204    possibly crash as it runs all of the examples from the Autodesk docs.
                    
                
playlist.c https://github.com/GazNicoll/libspotify-php.git | C | 322 lines
                    
25
                    
26#include "php_spotify.h"
                    
27
                    
29
                    
30PHP_METHOD(SpotifyPlaylist, __construct)
                    
31{
                    
52
                    
53PHP_METHOD(SpotifyPlaylist, __destruct)
                    
54{
                    
58
                    
59PHP_METHOD(SpotifyPlaylist, getName)
                    
60{
                    
66
                    
67PHP_METHOD(SpotifyPlaylist, getTracks)
                    
68{
                    
                
States.php https://github.com/shafiqissani/ASTRA-College-Website.git | PHP | 287 lines
                    
1<?php
                    
2/* vim: set expandtab tabstop=4 shiftwidth=4: */
                    
4// +----------------------------------------------------------------------+
                    
5// | PHP Version 4                                                        |
                    
6// +----------------------------------------------------------------------+
                    
6// +----------------------------------------------------------------------+
                    
7// | Copyright (c) 1997-2002 The PHP Group                                |
                    
8// +----------------------------------------------------------------------+
                    
8// +----------------------------------------------------------------------+
                    
9// | This source file is subject to version 2.02 of the PHP license,      |
                    
10// | that is bundled with this package in the file LICENSE, and is        |
                    
11// | available at through the world-wide-web at                           |
                    
12// | http://www.php.net/license/3_0.txt.                                  |
                    
13// | If you did not receive a copy of the PHP license and are unable to   |
                    
14// | obtain it through the world-wide-web, please send a note to          |
                    
15// | license@php.net so we can mail you a copy immediately.               |
                    
16// +----------------------------------------------------------------------+
                    
                
Tokens.html https://gitlab.com/essere.lab.public/qualitas.class-corpus | HTML | 261 lines
                    
59&nbsp;PREV&nbsp;
                    
60&nbsp;NEXT</FONT></TD>
                    
61<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
                    
152<CODE>&nbsp;void</CODE></FONT></TD>
                    
153<TD><CODE><B>PHPTokenizer.</B><B><A HREF="../../../../../net/sourceforge/pmd/cpd/PHPTokenizer.html#tokenize(net.sourceforge.pmd.cpd.SourceCode, net.sourceforge.pmd.cpd.Tokens)">tokenize</A></B>(<A HREF="../../../../../net/sourceforge/pmd/cpd/SourceCode.html" title="class in net.sourceforge.pmd.cpd">SourceCode</A>&nbsp;tokens,
                    
154         <A HREF="../../../../../net/sourceforge/pmd/cpd/Tokens.html" title="class in net.sourceforge.pmd.cpd">Tokens</A>&nbsp;tokenEntries)</CODE>
                    
235&nbsp;PREV&nbsp;
                    
236&nbsp;NEXT</FONT></TD>
                    
237<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
                    
                
function_scope.h https://gitlab.com/Blueprint-Marketing/hhvm | C Header | 444 lines
                    
2   +----------------------------------------------------------------------+
                    
3   | HipHop for PHP                                                       |
                    
4   +----------------------------------------------------------------------+
                    
16
                    
17#ifndef incl_HPHP_FUNCTION_SCOPE_H_
                    
18#define incl_HPHP_FUNCTION_SCOPE_H_
                    
29#include "hphp/util/hash-map-typedefs.h"
                    
30#include "hphp/parser/parser.h"
                    
31
                    
128  void clearUsesLSB() { m_noLSB = true; }
                    
129  bool nextLSB() const { return m_nextLSB; }
                    
130  void setNextLSB(bool f) { m_nextLSB = f; }
                    
443}
                    
444#endif // incl_HPHP_FUNCTION_SCOPE_H_
                    
445
                    
                
Files.php https://gitlab.com/Japang-Jawara/jawara-penilaian | PHP | 311 lines
                    
1<?php
                    
2/*
                    
230   * @opt_param string pageToken The token for continuing a previous list request
                    
231   * on the next page. This should be set to the value of 'nextPageToken' from the
                    
232   * previous response.
                    
                
wp-cache-phase1.php https://github.com/brandonburke/WordPress-Plugin-Baseline.git | PHP | 264 lines
                    
1<?php
                    
2// Pre-2.6 compatibility
                    
5
                    
6if( !include( WP_CONTENT_DIR . '/wp-cache-config.php' ) )
                    
7	return true;
                    
10
                    
11include( WPCACHEHOME . 'wp-cache-base.php');
                    
12
                    
26
                    
27require_once( WPCACHEHOME . 'wp-cache-phase2.php');
                    
28
                    
28
                    
29$plugins = glob( $wp_cache_plugins_dir . '/*.php' );
                    
30if( is_array( $plugins ) ) {
                    
48function gzip_accepted(){
                    
49	if( ini_get( 'zlib.output_compression' ) ) // don't compress WP-Cache data files when PHP is already doing it
                    
50		return false;
                    
                
mysqli-stmt.param-count.html https://bitbucket.org/stillzhl/manuals.git | HTML | 110 lines
                    
9 <div class="prev" style="text-align: left; float: left;"><a href="mysqli-stmt.num-rows.html">mysqli_stmt::$num_rows</a></div>
                    
10 <div class="next" style="text-align: right; float: right;"><a href="mysqli-stmt.prepare.html">mysqli_stmt::prepare</a></div>
                    
11 <div class="up"><a href="class.mysqli-stmt.html">MySQLi_STMT</a></div>
                    
11 <div class="up"><a href="class.mysqli-stmt.html">MySQLi_STMT</a></div>
                    
12 <div class="home"><a href="index.html">PHP Manual</a></div>
                    
13</div><hr /><div id="mysqli-stmt.param-count" class="refentry">
                    
16  <h1 class="refname">mysqli_stmt_param_count</h1>
                    
17  <p class="verinfo">(PHP 5)</p><p class="refpurpose"><span class="refname">mysqli_stmt::$param_count</span> -- <span class="refname">mysqli_stmt_param_count</span> &mdash; <span class="dc-title">Returns the number of parameter for the given statement</span></p>
                    
18
                    
68   <div class="example-contents">
                    
69<div class="phpcode"><code><span style="color: #000000">
                    
70<span style="color: #0000BB">&lt;?php<br />$mysqli&nbsp;</span><span style="color: #007700">=&nbsp;new&nbsp;</span><span style="color: #0000BB">mysqli</span><span style="color: #007700">(</span><span style="color: #DD0000">"localhost"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"my_user"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"my_password"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"world"</span><span style="color: #007700">);<br /><br /></span><span style="color: #FF8000">/*&nbsp;check&nbsp;connection&nbsp;*/<br /></span><span style="color: #007700">if&nbsp;(</span><span style="color: #0000BB">mysqli_connect_errno</span><span style="color: #007700">())&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">printf</span><span style="color: #007700">(</span><span style="color: #DD0000">"Connect&nbsp;failed:&nbsp;%s\n"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">mysqli_connect_error</span><span style="color: #007700">());<br />&nbsp;&nbsp;&nbsp;&nbsp;exit();<br />}<br /><br />if&nbsp;(</span><span style="color: #0000BB">$stmt&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">$mysqli</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">prepare</span><span style="color: #007700">(</span><span style="color: #DD0000">"SELECT&nbsp;Name&nbsp;FROM&nbsp;Country&nbsp;WHERE&nbsp;Name=?&nbsp;OR&nbsp;Code=?"</span><span style="color: #007700">))&nbsp;{<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">$marker&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">$stmt</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">param_count</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">printf</span><span style="color: #007700">(</span><span style="color: #DD0000">"Statement&nbsp;has&nbsp;%d&nbsp;markers.\n"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">$marker</span><span style="color: #007700">);<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">/*&nbsp;close&nbsp;statement&nbsp;*/<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">$stmt</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">close</span><span style="color: #007700">();<br />}<br /><br /></span><span style="color: #FF8000">/*&nbsp;close&nbsp;connection&nbsp;*/<br /></span><span style="color: #0000BB">$mysqli</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">close</span><span style="color: #007700">();<br /></span><span style="color: #0000BB">?&gt;</span>
                    
78   <div class="example-contents">
                    
79<div class="phpcode"><code><span style="color: #000000">
                    
80<span style="color: #0000BB">&lt;?php<br />$link&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">mysqli_connect</span><span style="color: #007700">(</span><span style="color: #DD0000">"localhost"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"my_user"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"my_password"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"world"</span><span style="color: #007700">);<br /><br /></span><span style="color: #FF8000">/*&nbsp;check&nbsp;connection&nbsp;*/<br /></span><span style="color: #007700">if&nbsp;(</span><span style="color: #0000BB">mysqli_connect_errno</span><span style="color: #007700">())&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">printf</span><span style="color: #007700">(</span><span style="color: #DD0000">"Connect&nbsp;failed:&nbsp;%s\n"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">mysqli_connect_error</span><span style="color: #007700">());<br />&nbsp;&nbsp;&nbsp;&nbsp;exit();<br />}<br /><br />if&nbsp;(</span><span style="color: #0000BB">$stmt&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">mysqli_prepare</span><span style="color: #007700">(</span><span style="color: #0000BB">$link</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"SELECT&nbsp;Name&nbsp;FROM&nbsp;Country&nbsp;WHERE&nbsp;Name=?&nbsp;OR&nbsp;Code=?"</span><span style="color: #007700">))&nbsp;{<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">$marker&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">mysqli_stmt_param_count</span><span style="color: #007700">(</span><span style="color: #0000BB">$stmt</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">printf</span><span style="color: #007700">(</span><span style="color: #DD0000">"Statement&nbsp;has&nbsp;%d&nbsp;markers.\n"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">$marker</span><span style="color: #007700">);<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">/*&nbsp;close&nbsp;statement&nbsp;*/<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">mysqli_stmt_close</span><span style="color: #007700">(</span><span style="color: #0000BB">$stmt</span><span style="color: #007700">);<br />}<br /><br /></span><span style="color: #FF8000">/*&nbsp;close&nbsp;connection&nbsp;*/<br /></span><span style="color: #0000BB">mysqli_close</span><span style="color: #007700">(</span><span style="color: #0000BB">$link</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">?&gt;</span>
                    
                
style.css https://gitlab.com/github-cloud-corp/aws-sdk-php | CSS | 672 lines
                    
399div.tree div.notlast {
                    
400  background: url('../tree-hasnext.png') left 10px no-repeat;
                    
401}
                    
438
                    
439.php-keyword1 {
                    
440  color: #468847;
                    
443
                    
444.php-keyword2 {
                    
445  font-weight: bold;
                    
447
                    
448.php-var {
                    
449  color: #c09853;
                    
490
                    
491span.l .php-var a:hover, span.l .php-var a:active, span.l .php-var a:focus {
                    
492  color: #c09853 !important;
                    
                
FreeBusyGenerator.php https://gitlab.com/wuhang2003/rainloop-webmail | PHP | 322 lines
                    
1<?php
                    
2
                    
192
                    
193                                $iterator->next();
                    
194
                    
                
tbl_replace.php https://github.com/edmondscommerce/XAMPP-Magento-Demo-Site.git | PHP | 414 lines
                    
1<?php
                    
2/* vim: set expandtab sw=4 ts=4 sts=4: */
                    
5 *
                    
6 * usally called as form action from tbl_change.php to insert or update table rows
                    
7 *
                    
7 *
                    
8 * @version $Id: tbl_replace.php 12245 2009-02-23 08:36:34Z lem9 $
                    
9 *
                    
9 *
                    
10 * @todo 'edit_next' tends to not work as expected if used ... at least there is no order by
                    
11 *       it needs the original query and the row number and than replace the LIMIT clause
                    
54 */
                    
55require_once './libraries/common.inc.php';
                    
56
                    
69    $GLOBALS['js_include'][] = 'tbl_change.js';
                    
70    require_once './libraries/header.inc.php';
                    
71    require './tbl_change.php';
                    
                
PropelPager.php https://github.com/1989gaurav/Propel.git | PHP | 597 lines
                    
1<?php
                    
2
                    
15 *
                    
16 *  require_once 'propel/util/PropelPager.php';
                    
17 *  require_once 'PEACH/Propel/Poem/poemPeer.php';
                    
52 * <td>
                    
53 * <?foreach ($pager->getNextLinks() as $link):?>
                    
54 * | <a href="somescript?page=<?=$link?>"><?=$link?></a>
                    
57 * <td>
                    
58 * <?if ($link = $pager->getNext()):?>
                    
59 * <a href="somescript?page=<?=$link?>">Last</a>|
                    
374	/**
                    
375	 * get an array of next id's
                    
376	 *
                    
379	 */
                    
380	public function getNextLinks($range = 5)
                    
381	{
                    
                
inputfilter.php https://gitlab.com/endomorphosis/OLAAaction | PHP | 551 lines
                    
2/**
                    
3 *  @class: InputFilter (PHP4 & PHP5, with comments)
                    
4 * @project: PHP Input Filter
                    
5 * @date: 10-05-2005
                    
6 * @version: 1.2.2_php4/php5
                    
7 * @author: Daniel Morris
                    
58	/**
                    
59	 * Method to be called by another php script. Processes for XSS and
                    
60	 * specified bad code.
                    
221				$fromSpace		= substr($tagLeft, ($currentSpace +1));
                    
222				$nextSpace		= strpos($fromSpace, ' ');
                    
223				$openQuotes		= strpos($fromSpace, '"');
                    
233					 * grab the substring from the closing quote, otherwise grab
                    
234					 * till the next space
                    
235					 */
                    
                
ps_function.php https://github.com/Shigaru/shigaru.git | PHP | 342 lines
                    
1<?php
                    
2if( !defined( '_VALID_MOS' ) && !defined( '_JEXEC' ) ) die( 'Direct Access to '.basename(__FILE__).' is not allowed.' );
                    
4*
                    
5* @version $Id: ps_function.php 1674 2009-03-04 02:07:57Z tkahl $
                    
6* @package VirtueMart
                    
8* @copyright Copyright (C) 2004-2007 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*
                    
74							. ' AND `f`.`module_id` = `m`.`module_id`' );
                    
75					$db->next_record();
                    
76				
                    
102							
                    
103				$db->next_record();
                    
104				$module_perms = explode(',', $db->f('module_perms') );
                    
                
File.php https://github.com/Enrise/Zend.git | PHP | 473 lines
                    
1<?php
                    
2/**
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: File.php 24593 2012-01-05 20:35:02Z matthew $
                    
21 */
                    
190         */
                    
191        if (PHP_INT_SIZE > 4) {
                    
192            $str = $this->_fread(8);
                    
218         */
                    
219        if (PHP_INT_SIZE > 4) {
                    
220            settype($value, 'integer');
                    
251            } else {
                    
252                // require_once 'Zend/Search/Lucene/Exception.php';
                    
253                throw new Zend_Search_Lucene_Exception('Long integers lower than -2147483648 (0x80000000) are not supported on 32-bit platforms.');
                    
281        if ($value < (int)0x80000000) {
                    
282            // require_once 'Zend/Search/Lucene/Exception.php';
                    
283            throw new Zend_Search_Lucene_Exception('Long integers lower than -2147483648 (0x80000000) are not supported on 32-bit platforms.');
                    
                
Value.php https://github.com/hukumonline/zfurl.git | PHP | 401 lines
                    
1<?php
                    
2/**
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: Value.php 12721 2008-11-20 18:21:58Z matthew $
                    
21 */
                    
24/** Zend_XmlRpc_Value_Exception */
                    
25require_once 'Zend/XmlRpc/Value/Exception.php';
                    
26
                    
27/** Zend_XmlRpc_Value_Scalar */
                    
28require_once 'Zend/XmlRpc/Value/Scalar.php';
                    
29
                    
30/** Zend_XmlRpc_Value_Base64 */
                    
31require_once 'Zend/XmlRpc/Value/Base64.php';
                    
32
                    
33/** Zend_XmlRpc_Value_Boolean */
                    
34require_once 'Zend/XmlRpc/Value/Boolean.php';
                    
35
                    
                
analyze.c https://bitbucket.org/JasonGross/alphabets.git | C | 236 lines
                    
23%                                                                             %
                    
24%    http://www.imagemagick.org/script/license.php                            %
                    
25%                                                                             %
                    
116  image=(*images);
                    
117  for ( ; image != (Image *) NULL; image=GetNextImageInList(image))
                    
118  {
                    
                
function.func-get-arg.html https://bitbucket.org/thncr/manuals.git | HTML | 218 lines
                    
15  <h1 class="refname">func_get_arg</h1>
                    
16  <p class="verinfo">(PHP 4, PHP 5)</p><p class="refpurpose"><span class="refname">func_get_arg</span> &mdash; <span class="dc-title">Return an item from the argument list</span></p>
                    
17
                    
125<div class="phpcode"><code><span style="color: #000000">
                    
126<span style="color: #0000BB">&lt;?php<br /></span><span style="color: #007700">function&nbsp;</span><span style="color: #0000BB">foo</span><span style="color: #007700">()<br />{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">$numargs&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">func_num_args</span><span style="color: #007700">();<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo&nbsp;</span><span style="color: #DD0000">"Number&nbsp;of&nbsp;arguments:&nbsp;</span><span style="color: #0000BB">$numargs</span><span style="color: #DD0000">&lt;br&nbsp;/&gt;\n"</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;(</span><span style="color: #0000BB">$numargs&nbsp;</span><span style="color: #007700">&gt;=&nbsp;</span><span style="color: #0000BB">2</span><span style="color: #007700">)&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo&nbsp;</span><span style="color: #DD0000">"Second&nbsp;argument&nbsp;is:&nbsp;"&nbsp;</span><span style="color: #007700">.&nbsp;</span><span style="color: #0000BB">func_get_arg</span><span style="color: #007700">(</span><span style="color: #0000BB">1</span><span style="color: #007700">)&nbsp;.&nbsp;</span><span style="color: #DD0000">"&lt;br&nbsp;/&gt;\n"</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />}<br /><br /></span><span style="color: #0000BB">foo&nbsp;</span><span style="color: #007700">(</span><span style="color: #0000BB">1</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">2</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">3</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">?&gt;</span>
                    
127</span>
                    
135    <p><strong>Example #2  <span class="function"><strong>func_get_arg()</strong></span> example before and
                    
136    after PHP 5.3</strong></p>
                    
137    <div class="example-contents">
                    
138<div class="phpcode"><code><span style="color: #000000">
                    
139test.php<br /><span style="color: #0000BB">&lt;?php<br /></span><span style="color: #007700">function&nbsp;</span><span style="color: #0000BB">foo</span><span style="color: #007700">()&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;include&nbsp;</span><span style="color: #DD0000">'./fga.inc'</span><span style="color: #007700">;<br />}<br /><br /></span><span style="color: #0000BB">foo</span><span style="color: #007700">(</span><span style="color: #DD0000">'First&nbsp;arg'</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">'Second&nbsp;arg'</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">?&gt;<br /></span><br />fga.php<br /><span style="color: #0000BB">&lt;?php<br /><br />$arg&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">func_get_arg</span><span style="color: #007700">(</span><span style="color: #0000BB">1</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">var_export</span><span style="color: #007700">(</span><span style="color: #0000BB">$arg</span><span style="color: #007700">);<br /><br /></span><span style="color: #0000BB">?&gt;</span>
                    
140</span>
                    
169<div class="phpcode"><code><span style="color: #000000">
                    
170<span style="color: #0000BB">&lt;?php<br /></span><span style="color: #007700">function&nbsp;</span><span style="color: #0000BB">byVal</span><span style="color: #007700">(</span><span style="color: #0000BB">$arg</span><span style="color: #007700">)&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;echo&nbsp;</span><span style="color: #DD0000">'As&nbsp;passed&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:&nbsp;'</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">var_export</span><span style="color: #007700">(</span><span style="color: #0000BB">func_get_arg</span><span style="color: #007700">(</span><span style="color: #0000BB">0</span><span style="color: #007700">)),&nbsp;</span><span style="color: #0000BB">PHP_EOL</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">$arg&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">'baz'</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;echo&nbsp;</span><span style="color: #DD0000">'After&nbsp;change&nbsp;&nbsp;:&nbsp;'</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">var_export</span><span style="color: #007700">(</span><span style="color: #0000BB">func_get_arg</span><span style="color: #007700">(</span><span style="color: #0000BB">0</span><span style="color: #007700">)),&nbsp;</span><span style="color: #0000BB">PHP_EOL</span><span style="color: #007700">;<br />}<br /><br />function&nbsp;</span><span style="color: #0000BB">byRef</span><span style="color: #007700">(&amp;</span><span style="color: #0000BB">$arg</span><span style="color: #007700">)&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;echo&nbsp;</span><span style="color: #DD0000">'As&nbsp;passed&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:&nbsp;'</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">var_export</span><span style="color: #007700">(</span><span style="color: #0000BB">func_get_arg</span><span style="color: #007700">(</span><span style="color: #0000BB">0</span><span style="color: #007700">)),&nbsp;</span><span style="color: #0000BB">PHP_EOL</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">$arg&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">'baz'</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;echo&nbsp;</span><span style="color: #DD0000">'After&nbsp;change&nbsp;&nbsp;:&nbsp;'</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">var_export</span><span style="color: #007700">(</span><span style="color: #0000BB">func_get_arg</span><span style="color: #007700">(</span><span style="color: #0000BB">0</span><span style="color: #007700">)),&nbsp;</span><span style="color: #0000BB">PHP_EOL</span><span style="color: #007700">;<br />}<br /><br /></span><span style="color: #0000BB">$arg&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">'bar'</span><span style="color: #007700">;<br /></span><span style="color: #0000BB">byVal</span><span style="color: #007700">(</span><span style="color: #0000BB">$arg</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">byRef</span><span style="color: #007700">(</span><span style="color: #0000BB">$arg</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">?&gt;</span>
                    
171</span>
                    
                
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;
                    
270     */
                    
271    public function getDefaultControllerNameByPluginReturnsNullIfGivenExtensionCantBeFound(): void
                    
272    {
                    
296     */
                    
297    public function getDefaultActionNameByPluginAndControllerReturnsNullIfGivenExtensionCantBeFound(): void
                    
298    {
                    
                
mysqli.overview.html https://bitbucket.org/stillzhl/manuals.git | HTML | 417 lines
                    
81  <p class="para">
                    
82PHP文档中你还会发现很多其他的<em class="emphasis">扩展</em>。PHP代码是由一个核心,一些可选扩展组成了核心功能。PHP
                    
83  的MySQL相关扩展,比如<em>mysqli</em>,<em>mysql</em>都是基于PHP扩展框架实现的。
                    
232  <p class="para">
                    
233  PHP数据对象,是PHP应用中的一个数据库抽象层规范。PDO提供了一个统一的API接口可以使得你的PHP应用不去关心具体要
                    
234  连接的数据库服务器系统类型。也就是说,如果你使用PDO的API,可以在任何需要的时候无缝切换数据库服务器,比如从Firebird
                    
247  <p class="para">
                    
248  PDO是基于PHP扩展框架实现的,它的源码在PHP源码目录的<var class="filename">ext/pdo</var>下。
                    
249  </p>
                    
268  <p class="para">
                    
269  PDO的MySQL驱动是基于PHP扩展框架实现的。它的源码在PHP源码目录下的<var class="filename">ext/pdo_mysql</var>。
                    
270  它没有向PHP程序员暴露API。
                    
304  <p class="para">
                    
305  MySQL Native驱动是基于PHP扩展框架实现的。源代码位于PHP源码目录的<var class="filename">ext/mysqlnd</var>下。
                    
306  它没有向PHP程序员暴露接口。
                    
                
Item.php https://gitlab.com/ricardosanchez/prueba | PHP | 398 lines
                    
1<?php
                    
2/**
                    
339    /**
                    
340     * Moves the current position to the next child.
                    
341     *
                    
343     */
                    
344    public function next()
                    
345    {
                    
345    {
                    
346        next($this->children);
                    
347    }
                    
369    /**
                    
370     * This method is called after Iterator::rewind() and Iterator::next() to check if the current position is valid.
                    
371     *
                    
                
Users.php https://gitlab.com/Anas7232/Layout-Changes | PHP | 209 lines
                    
1<?php
                    
2/*
                    
136   * should be returned. If the number of available results is larger than
                    
137   * maxResults, Compute Engine returns a nextPageToken that can be used to get
                    
138   * the next page of results in subsequent list requests.
                    
149   * @opt_param string pageToken Specifies a page token to use. Set pageToken to
                    
150   * the nextPageToken returned by a previous list request to get the next page of
                    
151   * results.
                    
                
members.lang.php https://bitbucket.org/speedealing/speedealing.git | PHP | 224 lines
                    
1<?php
                    
2/* Copyright (C) 2012	Regis Houssin	<regis.houssin@capnetworks.com>
                    
57		'DateSubscription' => 'Fecha afiliación',
                    
58		'DateNextSubscription' => 'Fecha próxima afiliación',
                    
59		'DateEndSubscription' => 'Fecha fin afiliación',
                    
214		'Entreprises' => 'Empresas',
                    
215		'DOLIBARRFOUNDATION_PAYMENT_FORM' => 'Para realizar el pago de su cotización por transferencia bancaria, visite la página <a target="_blank" href="http://wiki.speedealing.org/index.php/Subscribirse#Para_una_adhesi.C3.B3n_por_transferencia">http://wiki.speedealing.org/index.php/Subscribirse</a>.<br>Para pagar con tarjeta de crédito o PayPal, haga clic en el botón en la parte inferior de esta página.<br><br>',
                    
216		'ErrorBadValueForDate' => 'Erreur : La date de fin d\'adhésion ne doit être ni égale ni inférieure à la date de début.',
                    
                
shp.php https://bitbucket.org/pavolve/masterskayaludmila.git | PHP | 426 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * ESRI Shape file import plugin for phpMyAdmin
                    
4 *
                    
4 *
                    
5 * @package PhpMyAdmin-Import
                    
6 * @subpackage ESRI_Shape
                    
7 */
                    
8if (! defined('PHPMYADMIN')) {
                    
9    exit;
                    
33    set_include_path(get_include_path() . PATH_SEPARATOR . getcwd() . '/libraries/bfShapeFiles/');
                    
34    include_once './libraries/bfShapeFiles/ShapeFile.lib.php';
                    
35
                    
40    // Returns specified number of bytes from the buffer.
                    
41    // Buffer automatically fetches next chunk of data when the buffer falls short.
                    
42    // Sets $eof when $GLOBALS['finished'] is set and the buffer falls short.
                    
                
SqlBase.php https://gitlab.com/guillaumev/alkarama | PHP | 393 lines
                    
1<?php
                    
2
                    
34        'previous' => array('default' => $this->t('‹ Previous')),
                    
35        'next' => array('default' => $this->t('Next ›')),
                    
36      ),
                    
88
                    
89    $form['tags']['next'] = array(
                    
90      '#type' => 'textfield',
                    
90      '#type' => 'textfield',
                    
91      '#title' => $this->t('Next page link text'),
                    
92      '#default_value' => $this->options['tags']['next'],
                    
                
migration.15.html https://bitbucket.org/xaca/grabarvideosams.git | HTML | 235 lines
                    
24                    <td width="25%" style="text-align: right;">
                    
25                        <div class="next" style="text-align: right; float: right;"><a href="migration.10.html">Zend Framework 1.0</a></div>
                    
26                    </td>
                    
51            lowercases the action name, and uses these word separators to
                    
52            re-assemble the action method using camelCasing. However, because <acronym class="acronym">PHP</acronym>
                    
53            functions are not case sensitive, you <em class="emphasis">could</em>
                    
57            become &#039;camelcasedAction&#039;; however, due to the case insensitivity of
                    
58            <acronym class="acronym">PHP</acronym>, both will execute the same method.
                    
59        </p>
                    
107
                    
108                <div class="programlisting php"><div class="phpcode"><div class="php" style="font-family: monospace;"><ol><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #0000ff;">$viewRenderer</span> =</div></li>
                    
109<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; Zend_Controller_Action_HelperBroker::<span style="color: #006600;">getStaticHelper</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">'viewRenderer'</span><span style="color: #66cc66;">&#41;</span>;</div></li>
                    
140
                    
141                <div class="programlisting php"><div class="phpcode"><div class="php" style="font-family: monospace;"><ol><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #0000ff;">$front</span>-&gt;<span style="color: #006600;">setParam</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">'useCaseSensitiveActions'</span>, <span style="color: #000000; font-weight: bold;">true</span><span style="color: #66cc66;">&#41;</span>;</div></li></ol></div></div></div>
                    
142
                    
                
Value.php https://github.com/doctoralex/ch3-dev-preview.git | PHP | 401 lines
                    
1<?php
                    
2/**
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: Value.php 12720 2008-11-20 18:20:20Z matthew $
                    
21 */
                    
24/** Zend_XmlRpc_Value_Exception */
                    
25require_once 'Zend/XmlRpc/Value/Exception.php';
                    
26
                    
27/** Zend_XmlRpc_Value_Scalar */
                    
28require_once 'Zend/XmlRpc/Value/Scalar.php';
                    
29
                    
30/** Zend_XmlRpc_Value_Base64 */
                    
31require_once 'Zend/XmlRpc/Value/Base64.php';
                    
32
                    
33/** Zend_XmlRpc_Value_Boolean */
                    
34require_once 'Zend/XmlRpc/Value/Boolean.php';
                    
35
                    
                
UnicodeFont.html https://bitbucket.org/lothario/slick-mod.git | HTML | 277 lines
                    
58&nbsp;PREV&nbsp;
                    
59&nbsp;NEXT</FONT></TD>
                    
60<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
                    
127<TR BGCOLOR="white" CLASS="TableRowColor">
                    
128<TD><CODE><B><A HREF="../../../../org/newdawn/slick/font/GlyphPage.html#GlyphPage(org.newdawn.slick.UnicodeFont, int, int)">GlyphPage</A></B>(<A HREF="../../../../org/newdawn/slick/UnicodeFont.html" title="class in org.newdawn.slick">UnicodeFont</A>&nbsp;unicodeFont,
                    
129          int&nbsp;pageWidth,
                    
251&nbsp;PREV&nbsp;
                    
252&nbsp;NEXT</FONT></TD>
                    
253<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
                    
                
ext_spl.cpp https://gitlab.com/iranjith4/hhvm | C++ | 384 lines
                    
11   | http://www.php.net/license/3_01.txt                                  |
                    
12   | If you did not receive a copy of the PHP license and are unable to   |
                    
13   | obtain it through the world-wide-web, please send a note to          |
                    
13   | obtain it through the world-wide-web, please send a note to          |
                    
14   | license@php.net so we can mail you a copy immediately.               |
                    
15   +----------------------------------------------------------------------+
                    
29#include "hphp/runtime/base/glob-stream-wrapper.h"
                    
30#include "hphp/runtime/base/request-event-handler.h"
                    
31#include "hphp/runtime/base/stream-wrapper-registry.h"
                    
46  s_valid("valid"),
                    
47  s_next("next"),
                    
48  s_current("current"),
                    
365    HHVM_FE(hphp_object_pointer);
                    
366    HHVM_FE(hphp_get_this);
                    
367    HHVM_FE(class_implements);
                    
                
Mmc.c https://gitlab.com/envieidoc/Clover | C | 454 lines
                    
8  which accompanies this distribution.  The full text of the license may be found at
                    
9  http://opensource.org/licenses/bsd-license.php
                    
10
                    
40// This device structure is serviced as a header.
                    
41// Its next field points to the first root bridge device node.
                    
42//
                    
                
author-template.php https://github.com/vidor/vidor.me.git | PHP | 401 lines
                    
1<?php
                    
2/**
                    
250 * <ul>
                    
251 * <li>optioncount (boolean) (false): Show the count in parenthesis next to the
                    
252 * author's name.</li>
                    
                
options.php https://gitlab.com/alexprowars/bitrix | PHP | 479 lines
                    
1<?php
                    
2$module_id = 'landing';
                    
23// lang
                    
24IncludeModuleLangFile($docRoot . '/bitrix/modules/main/options.php');
                    
25Loc::loadMessages(__FILE__);
                    
55		$res = \CIBlock::getList(['sort' => 'asc']);
                    
56		while ($row = $res->GetNext(true, false))
                    
57		{
                    
333		ob_start();
                    
334		require_once($docRoot . '/bitrix/modules/main/admin/group_rights.php');
                    
335		ob_end_clean();
                    
353	$tabControl->Begin();
                    
354	$tabControl->BeginNextTab();
                    
355	foreach($allOptions as $Option):
                    
463	// access tab
                    
464	$tabControl->BeginNextTab();
                    
465	require_once($docRoot . '/bitrix/modules/main/admin/group_rights.php');
                    
                
index.php https://gitlab.com/tanvir/Library-Management-System | PHP | 322 lines
                    
196                            <select class="form-control"  id="sel1" name="itemPerPage"  onchange='this.form.submit()'>
                    
197                                <option<?php if($itemPerPage==5){?> selected <?php }?>>5</option>
                    
198                                <option<?php if($itemPerPage==10){?> selected <?php }?>>10</option>
                    
200                                <option<?php if($itemPerPage==20){?> selected <?php }?>>20</option>
                    
201                                <option<?php if($itemPerPage==25){?> selected <?php }?>>25</option>
                    
202                            </select><noscript><input type="submit" value="Submit"></noscript>
                    
241                                        <a href="edit.php?book_id=<?php echo $book->book_id ?>" ><i class="fa fa-edit"></i></a>
                    
242                                        <a href="delete.php?book_id=<?php echo $book->book_id ?>"><i class="fa fa-trash"></i></a>
                    
243                                    </td>
                    
252                                <?php if( $pageNo > 1 ): ?>
                    
253                                    <li><a href="index.php?pageNo=<?php $prev = $pageNo-1; echo $prev; ?>">Prev</a></li>
                    
254                                <?php endif; ?>
                    
258                                <?php  if( $pageNo < $noOfPage ): ?>
                    
259                                    <li><a href="index.php?pageNo=<?php $next = $pageNo+1; echo $next;?>">Next</a></li>
                    
260                                <?php endif; ?>
                    
                
pageTranslations.php https://gitlab.com/macitsimsek/fastsubtitle | PHP | 217 lines
                    
1<?php
                    
2
                    
121    'check'                 => 'Check',
                    
122    'next'                  => 'Next',
                    
123    'order_by'              => 'Order By',
                    
                
grid.subgrid.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 298 lines
                    
6 * Dual licensed under the MIT and GPL licenses:
                    
7 * http://www.opensource.org/licenses/mit-license.php
                    
8 * http://www.gnu.org/licenses/gpl-2.0.html
                    
191					var tr = $(this).parent("tr")[0];
                    
192					r = tr.nextSibling;
                    
193					if($(this).hasClass("sgcollapsed")) {
                    
                
trad4all.inc.php https://bitbucket.org/frchico/chamilo_openshift.git | PHP | 333 lines
                    
1<?php
                    
2/*
                    
55$langNo = "Tidak";
                    
56$Next = "Berikutnya";
                    
57$langAllowed = "Diijinkan";
                    
81$langOptional = "Opsional";
                    
82$NextPage = "Halaman berikutnya";
                    
83$PreviousPage = "Halaman sebelumnya";
                    
                
pwp.c https://bitbucket.org/wallwizz/imagemagick-6.8.4-for-bb10.git | C | 319 lines
                    
25%                                                                             %
                    
26%    http://www.imagemagick.org/script/license.php                            %
                    
27%                                                                             %
                    
128    *image,
                    
129    *next_image,
                    
130    *pwp_image;
                    
216    (void) fclose(file);
                    
217    next_image=ReadImage(read_info,exception);
                    
218    if (next_image == (Image *) NULL)
                    
228        */
                    
229        for (p=image; p->next != (Image *) NULL; p=GetNextImageInList(p)) ;
                    
230        next_image->previous=p;
                    
231        next_image->scene=p->scene+1;
                    
232        p->next=next_image;
                    
233      }
                    
                
resources_zh_CN.properties https://bitbucket.org/LANJr4D/sc-android.git | Properties File | 304 lines
                    
181msgDeliveryOfflineNotSupported=您正在使用的协议不支持离线消息. 请尝试其他协议或者等待该用户上线.
                    
182msgDeliveryInternalError=内部出错. 可能是程序自身错误. 请发送您的错误报告到: http://www.sip-communicator.org/index.php/Development/BugsAndIssues
                    
183msgNotDelivered=网络错误.
                    
188networkFailure=网络错误
                    
189next=&下一个
                    
190new=&新建
                    
                
mmc_ffu.c https://gitlab.com/SpasilliumNexus/frankenclark_kernel | C | 496 lines
                    
17 * http://www.gnu.org/licenses/,
                    
18 * or http://www.opensource.org/licenses/gpl-2.0.php
                    
19*/
                    
82		sg_set_page(sg, mem->arr[i].page, len, 0);
                    
83		sg = sg_next(sg);
                    
84		sctr_len++;
                    
                
export_execute.php https://gitlab.com/unofficial-mirrors/moodle | PHP | 252 lines
                    
43$allowed_what = array('all', 'user', 'groups', 'courses');
                    
44$allowed_time = array('weeknow', 'weeknext', 'monthnow', 'monthnext', 'recentupcoming', 'custom');
                    
45
                    
54
                    
55    $link = new moodle_url('/calendar/export.php', $params);
                    
56    redirect($link->out());
                    
154                // Get the next month for this calendar.
                    
155                list($nextmonth, $nextyear) = calendar_add_month($now['mon'], $now['year']);
                    
156
                    
157                // Convert to gregorian.
                    
158                $gregoriandate = $calendartype->convert_to_gregorian($nextyear, $nextmonth, 1);
                    
159
                    
162                    $gregoriandate['hour'], $gregoriandate['minute']);
                    
163                $timeend = $timestart + (calendar_days_in_month($nextmonth, $nextyear) * DAYSECS);
                    
164            break;
                    
                
ExportToHtmlTemplate.php https://gitlab.com/mattswann/launch-housing | PHP | 232 lines
                    
1<?php

                    
2/*

                    
21

                    
22require_once('ExportBase.php');

                    
23require_once('CFDBExport.php');

                    
23require_once('CFDBExport.php');

                    
24require_once('CFDBShortCodeContentParser.php');

                    
25

                    
137

                    
138        while ($this->dataIterator->nextRow()) {

                    
139            // todo: Evaluation IF-expressions

                    
                
CssSelector.php https://github.com/nattaphat/hgis.git | PHP | 322 lines
                    
164            $consumed = count($stream->getUsed());
                    
165            $nextSelector = $this->parseSimpleSelector($stream);
                    
166            if ($consumed == count($stream->getUsed())) {
                    
191        } else {
                    
192            $next = $stream->next();
                    
193            if ('*' != $next && !$next->isType('Symbol')) {
                    
228                $stream->next();
                    
229                $result = new Node\ClassNode($result, $stream->next());
                    
230
                    
234                $result = $this->parseAttrib($result, $stream);
                    
235                $next = $stream->next();
                    
236                if (']' != $next) {
                    
258                    }
                    
259                    $next = $stream->next();
                    
260                    if (')' != $next) {
                    
                
module.php https://github.com/kjavitz/SalesIgniter1.git | PHP | 215 lines
                    
1<?php
                    
2class OrderPaymentDotpay extends StandardPaymentModule {
                    
54
                    
55							$nextBillDate = strtotime('+' . $membershipMonths . ' month +' . $membershipDays . ' day');
                    
56							if (isset($paymentTerm)){
                    
57								if ($paymentTerm == 'M'){
                    
58									$nextBillDate = strtotime('+1 month');
                    
59								}elseif ($paymentTerm == 'Y'){
                    
59								}elseif ($paymentTerm == 'Y'){
                    
60									$nextBillDate = strtotime('+12 month');
                    
61								}
                    
67								if ($rentalPlan['free_trial'] > 0){
                    
68									$nextBillDate = strtotime('+'.$freeTrialPeriod.' day');
                    
69									$freeTrialEnds = strtotime('+'.$freeTrialPeriod.' day');
                    
83							}
                    
84							$membership->setNextBillDate($nextBillDate);
                    
85							$membership->setPaymentTerm($paymentTerm);
                    
                
class.swfshape.html https://bitbucket.org/thncr/manuals.git | HTML | 251 lines
                    
9 <div class="prev" style="text-align: left; float: left;"><a href="swfprebuiltclip.construct.html">SWFPrebuiltClip::__construct</a></div>
                    
10 <div class="next" style="text-align: right; float: right;"><a href="swfshape.addfill.html">SWFShape::addFill</a></div>
                    
11 <div class="up"><a href="book.ming.html">Ming</a></div>
                    
11 <div class="up"><a href="book.ming.html">Ming</a></div>
                    
12 <div class="home"><a href="index.html">PHP Manual</a></div>
                    
13</div><hr /><div id="class.swfshape" class="reference">
                    
247 <div class="prev" style="text-align: left; float: left;"><a href="swfprebuiltclip.construct.html">SWFPrebuiltClip::__construct</a></div>
                    
248 <div class="next" style="text-align: right; float: right;"><a href="swfshape.addfill.html">SWFShape::addFill</a></div>
                    
249 <div class="up"><a href="book.ming.html">Ming</a></div>
                    
249 <div class="up"><a href="book.ming.html">Ming</a></div>
                    
250 <div class="home"><a href="index.html">PHP Manual</a></div>
                    
251</div></body></html>
                    
                
Engine.php https://github.com/xoops-pi/engine.git | PHP | 287 lines
                    
1<?php
                    
2/**
                    
13 * @license         http://www.fsf.org/copyleft/gpl.html GNU public license
                    
14 * @author          Taiwen Jiang <phppp@users.sourceforge.net>
                    
15 * @since           3.0
                    
30 */
                    
31require SMARTY_DIR . 'Smarty.class.php';
                    
32
                    
39    if (substr($_class, 0, 16) === 'smarty_internal_' || $_class == 'smarty_security') {
                    
40        return SMARTY_SYSPLUGINS_DIR . $_class . '.php';
                    
41    }
                    
147     * @param mixed $compile_id compile id to be used with this template
                    
148     * @param object $ |null $parent next higher level of Smarty variables
                    
149     * @return string rendered template output
                    
                
em-ml-io.php https://gitlab.com/pankajmohale/chef2go | PHP | 266 lines
                    
1<?php
                    
2/**
                    
61                        if( key($wp_filter[$tag]) == $wp_filter_priority ) break;
                    
62                    }while ( next($wp_filter[$tag]) !== false );
                    
63                }
                    
                
editviewdefs.php https://github.com/asakusuma/sugarcrm_dev.git | PHP | 402 lines
                    
1<?php
                    
2$viewdefs ['Opportunities'] = 
                    
234          array (
                    
235            'name' => 'next_step',
                    
236            'label' => 'LBL_NEXT_STEP',
                    
236            'label' => 'LBL_NEXT_STEP',
                    
237            'customCode' => '<textarea id="{$fields.next_step.name}" name="{$fields.next_step.name}" rows="4" cols="60" title=\'\' tabindex="1">{$fields.next_step.value}</textarea>',
                    
238          ),
                    
248          array (
                    
249            'name' => 'next_step_due_date',
                    
250            'label' => 'LBL_NEXT_STEP_DUE_DATE',
                    
                
cap-and-run.php https://github.com/alderete/Cap-and-Run.git | PHP | 260 lines
                    
1<?php
                    
2/*
                    
100				if( $options['add_initial_cap'] === true ) {
                    
101					// The next three lines are copied from the Drop Caps plugin by Thomas Milburn
                    
102					// http://instantsolve.net/blog/plugins/
                    
175				
                    
176					<form method="post" action="<?php echo $_SERVER["REQUEST_URI"]; ?>">
                    
177					
                    
179						<ul>
                    
180							<li><input type="checkbox" id="car_add_initial_cap" name="car_add_initial_cap" <?php if ($options['add_initial_cap']) echo 'checked="checked"'; ?> />
                    
181							<label for="car_add_initial_cap">Stylize first letter of post/page as Drop Cap</label></li>
                    
185						<ul>
                    
186							<li><input type="radio" id="car_add_run_in_none" name="car_add_run_in" value="none" <?php 
                    
187									if ('none' === $options['add_run_in']) echo 'checked="checked"'; ?> />
                    
188								<label for="car_add_run_in_none">No text run-in</label></li>
                    
189							<li><input type="radio" id="car_add_run_in_line" name="car_add_run_in" value="line" <?php 
                    
190									if ('line' === $options['add_run_in']) echo 'checked="checked"'; ?> />
                    
                
unicode.php https://github.com/mcrider/pkpUpgradeTestSuite.git | PHP | 269 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3* @version $Id: unicode.php,v 1.1 2008/10/10 20:52:53 mj Exp $
                    
4* Tools for conversion between UTF-8 and unicode
                    
9* the Initial Developer. All Rights Reserved.
                    
10* Ported to PHP by Henri Sivonen (http://hsivonen.iki.fi)
                    
11* Slight modifications to fit with phputf8 library by Harry Fuecks (hfuecks gmail com)
                    
13* @see http://lxr.mozilla.org/seamonkey/source/intl/uconv/src/nsUnicodeToUTF8.cpp
                    
14* @see http://hsivonen.iki.fi/php-utf8/
                    
15* @package utf8
                    
25* Returns false if the input string isn't a valid UTF-8 octet sequence
                    
26* and raises a PHP error at level E_USER_WARNING
                    
27* Note: this function has been modified slightly in this library to
                    
32* @see utf8_from_unicode
                    
33* @see http://hsivonen.iki.fi/php-utf8/
                    
34* @package utf8
                    
                
makeXMLForOneService.php https://gitlab.com/florianocomercial/centreon | PHP | 287 lines
                    
45 */
                    
46include_once _CENTREON_PATH_ . "www/class/centreonXMLBGRequest.class.php";
                    
47include_once _CENTREON_PATH_ . "www/class/centreonLang.class.php";
                    
98		" s.last_notification," .
                    
99		" s.next_notification," .
                    
100		" s.last_hard_state_change," .
                    
160	if ($data["next_notification"] > 0) {
                    
161		$next_notification = $data["next_notification"];
                    
162	}
                    
199	$obj->XML->writeElement("next_check", $obj->GMT->getDate($dateFormat, $data["next_check"]));
                    
200	$obj->XML->writeElement("next_check_name", _("Next Check"), 0);
                    
201	$obj->XML->writeElement("check_latency", $data["latency"]);
                    
211	$obj->XML->writeElement("next_notification", $obj->GMT->getDate($dateFormat, $next_notification));
                    
212	$obj->XML->writeElement("next_notification_name", _("Next Notification"), 0);
                    
213	$obj->XML->writeElement("current_notification_number", $data["notification_number"]);
                    
                
mail.php https://bitbucket.org/allanxyh/uniquemall.git | PHP | 406 lines
                    
1<?php
                    
2class Mail {
                    
80
                    
81		$boundary = '----=_NextPart_' . md5(time());
                    
82
                    
95		$header .= 'Return-Path: ' . $this->from . $this->newline;
                    
96		$header .= 'X-Mailer: PHP/' . phpversion() . $this->newline;
                    
97		//$header .= 'Content-Type: multipart/related; boundary="' . $boundary . '"' . $this->newline . $this->newline;
                    
158			} else {
                    
159				if (substr(PHP_OS, 0, 3) != 'WIN') {
                    
160					socket_set_timeout($handle, $this->timeout, 0);
                    
358					foreach ($results as $result) {
                    
359						if (substr(PHP_OS, 0, 3) != 'WIN') {
                    
360							fputs($handle, $result . $this->crlf);
                    
                
tracking.inc.php https://bitbucket.org/frchico/chamilo_openshift.git | PHP | 237 lines
                    
1<?php
                    
2/*
                    
88$langPeriodYear = "Jaar";
                    
89$langNextDay = "Volgende dag";
                    
90$langPreviousDay = "Vorige dag";
                    
90$langPreviousDay = "Vorige dag";
                    
91$langNextWeek = "Volgende week";
                    
92$langPreviousWeek = "Vorige week";
                    
92$langPreviousWeek = "Vorige week";
                    
93$langNextMonth = "Volgende maand";
                    
94$langPreviousMonth = "Vorige maand";
                    
94$langPreviousMonth = "Vorige maand";
                    
95$langNextYear = "Volgend jaar";
                    
96$langPreviousYear = "Vorig jaar";
                    
140$langTrafficDetails = "Trafiekdetails";
                    
141$langSeeIndividualTracking = "Zie de <a href=\"../user/user.php\">gebruikersmodule</a> voor individuele statistieken.";
                    
142$langPathNeverOpenedByAnybody = "Dit pad is nog nooit geopend door iemand.";
                    
                
photos-sharing.php https://github.com/AJenbo/ubuntudanmark.dk.git | PHP | 220 lines
                    
1<?php
                    
2//Include wordpress files
                    
3$wp_blog_header_path = '';
                    
4if(file_exists($_SERVER['DOCUMENT_ROOT'].'/'.'wp-blog-header.php'))
                    
5{
                    
5{
                    
6    $wp_blog_header_path = $_SERVER['DOCUMENT_ROOT'].'/'.'wp-blog-header.php';
                    
7}
                    
7}
                    
8    else if(file_exists($_SERVER['DOCUMENT_ROOT'].'/'.'wp-blog-header.php'))
                    
9{
                    
9{
                    
10    $wp_blog_header_path = $_SERVER['DOCUMENT_ROOT'].'/'.'wp-blog-header.php';
                    
11}
                    
60    <link rel="prev" href="photos-printing.php" title="Udskriv billeder" />
                    
61    <link rel="next" href="photos-editing.php" title="Rediger og forbedr billeder" />
                    
62  </head>
                    
                
tour.php https://bitbucket.org/moodle/moodle.git | PHP | 333 lines
                    
1<?php
                    
2// This file is part of Moodle - http://moodle.org/
                    
325            'reflex'            => new external_value(PARAM_BOOL,
                    
326                    'Whether to move to the next step when the target element is clicked', VALUE_OPTIONAL),
                    
327            'orphan'            => new external_value(PARAM_BOOL,
                    
                
EPhotoValidator.php https://github.com/LosYear/FluentCMS.git | PHP | 284 lines
                    
1<?php
                    
2Yii::import('application.modules.user.UserModule');
                    
171		
                    
172		// prevent next validation if no file, other UPLOAD_ERR_s was checked before
                    
173		if(null===$file || ($file->getError()) == UPLOAD_ERR_NO_FILE)
                    
                
PublicDelegatedPrefixes.php https://gitlab.com/Japang-Jawara/jawara-penilaian | PHP | 257 lines
                    
1<?php
                    
2/*
                    
70   * should be returned. If the number of available results is larger than
                    
71   * `maxResults`, Compute Engine returns a `nextPageToken` that can be used to
                    
72   * get the next page of results in subsequent list requests. Acceptable values
                    
82   * @opt_param string pageToken Specifies a page token to use. Set `pageToken` to
                    
83   * the `nextPageToken` returned by a previous list request to get the next page
                    
84   * of results.
                    
198   * should be returned. If the number of available results is larger than
                    
199   * `maxResults`, Compute Engine returns a `nextPageToken` that can be used to
                    
200   * get the next page of results in subsequent list requests. Acceptable values
                    
210   * @opt_param string pageToken Specifies a page token to use. Set `pageToken` to
                    
211   * the `nextPageToken` returned by a previous list request to get the next page
                    
212   * of results.
                    
                
TestOfLinkMySQLDAO.php https://github.com/dagda/ThinkUp.git | PHP | 290 lines
                    
1<?php
                    
2require_once dirname(__FILE__).'/init.tests.php';
                    
2require_once dirname(__FILE__).'/init.tests.php';
                    
3require_once THINKUP_ROOT_PATH.'webapp/_lib/extlib/simpletest/autorun.php';
                    
4require_once THINKUP_ROOT_PATH.'webapp/config.inc.php';
                    
106    /**
                    
107     * Destructs the database, so it can be reconstructed for next test
                    
108     */
                    
119            'http://example.com/test',
                    
120            'http://very.long.domain.that.nobody.would.bother.to.type.com/index.php', 'Very Long URL', '12345678901',
                    
121            'twitter', false);
                    
129        $this->assertEqual($result->expanded_url,
                    
130        'http://very.long.domain.that.nobody.would.bother.to.type.com/index.php');
                    
131        $this->assertEqual($result->title, 'Very Long URL');
                    
179            'http://example.com/test',
                    
180            'http://very.long.domain.that.nobody.would.bother.to.type.com/index.php',
                    
181            'Very Long URL',
                    
                
create.php https://bitbucket.org/codemen_iftekhar/codemen.git | PHP | 315 lines
                    
17		<form action="<?php bp_group_creation_form_action(); ?>" method="post" id="create-group-form" class="standard-form" enctype="multipart/form-data">
                    
18			<h3><?php _e( 'Create a Group', 'buddypress' ); ?> &nbsp;<a class="button" href="<?php echo trailingslashit( bp_get_root_domain() . '/' . bp_get_groups_root_slug() ); ?>"><?php _e( 'Groups Directory', 'buddypress' ); ?></a></h3>
                    
19
                    
122
                    
123							<p><?php printf( __( '<strong>Attention Site Admin:</strong> Group forums require the <a href="%s">correct setup and configuration</a> of a bbPress installation.', 'buddypress' ), bp_core_do_network_admin() ? network_admin_url( 'settings.php?page=bb-forums-setup' ) :  admin_url( 'admin.php?page=bb-forums-setup' ) ); ?></p>
                    
124
                    
228										<div class="action">
                    
229											<a class="remove" href="<?php bp_group_invite_user_remove_invite_url(); ?>" id="<?php bp_group_invite_item_id(); ?>"><?php _e( 'Remove Invite', 'buddypress' ); ?></a>
                    
230										</div>
                    
271
                    
272						<?php /* Next Button */ ?>
                    
273						<?php if ( !bp_is_last_group_creation_step() && !bp_is_first_group_creation_step() ) : ?>
                    
274
                    
275							<input type="submit" value="<?php _e( 'Next Step', 'buddypress' ); ?>" id="group-creation-next" name="save" />
                    
276
                    
                
WindowCursor.java https://bitbucket.org/cofarrell/jgit.git | Java | 380 lines
                    
8 * accompanies this distribution, is reproduced below, and is
                    
9 * available at http://www.eclipse.org/org/documents/edl-v10.php
                    
10 *
                    
356			// If memory is low, we may need what is in our window field to
                    
357			// be cleaned up by the GC during the get for the next window.
                    
358			// So we always clear it, even though we are just going to set
                    
                
style.css https://github.com/martijnvermaat/quick-hacks.git | CSS | 647 lines
                    
13	The CSS, XHTML and design is released under GPL:
                    
14	http://www.opensource.org/licenses/gpl-license.php
                    
15
                    
347
                    
348#wp-calendar #next a {
                    
349	padding-right: 10px;
                    
                
NestedTreeRootTest.php https://github.com/kaiwa/DoctrineExtensions.git | PHP | 337 lines
                    
1<?php
                    
2
                    
15 * @link http://www.gediminasm.org
                    
16 * @license MIT License (http://www.opensource.org/licenses/mit-license.php)
                    
17 */
                    
38            $minutes = intval($took / 60); $seconds = $took % 60;
                    
39            echo sprintf("%s --> %02d:%02d", $msg, $minutes, $seconds) . PHP_EOL;
                    
40        };
                    
138
                    
139    public function testTreeUpdateShiftToNextBranch()
                    
140    {
                    
                
wp-background-process.php https://gitlab.com/campus-academy/krowkaramel | PHP | 503 lines
                    
1<?php // @codingStandardsIgnoreLine.
                    
2/**
                    
324
                    
325		// Start next batch or complete process.
                    
326		if ( ! $this->is_queue_empty() ) {
                    
455	protected function schedule_event() {
                    
456		if ( ! wp_next_scheduled( $this->cron_hook_identifier ) ) {
                    
457			wp_schedule_event( time(), $this->cron_interval_identifier, $this->cron_hook_identifier );
                    
464	protected function clear_scheduled_event() {
                    
465		$timestamp = wp_next_scheduled( $this->cron_hook_identifier );
                    
466
                    
493	 * queue item. Return the modified item for further processing
                    
494	 * in the next pass through. Or, return false to remove the
                    
495	 * item from the queue.
                    
                
atof_test.go https://gitlab.com/lobl.pavel/gcc-6.2.0 | Go | 430 lines
                    
60	{"-1.7976931348623157e308", "-1.7976931348623157e+308", nil},
                    
61	// next float64 - too large
                    
62	{"1.7976931348623159e308", "+Inf", ErrRange},
                    
116	{"2.2250738585072012e-308", "2.2250738585072014e-308", nil},
                    
117	// http://www.exploringbinary.com/php-hangs-on-numeric-value-2-2250738585072011e-308/
                    
118	{"2.2250738585072011e-308", "2.225073858507201e-308", nil},
                    
126
                    
127	// Exactly halfway between 1 and math.Nextafter(1, 2).
                    
128	// Round to even (down).
                    
138var atof32tests = []atofTest{
                    
139	// Exactly halfway between 1 and the next float32.
                    
140	// Round to even (down).
                    
151	{"-340282346638528859811704183484516925440", "-3.4028235e+38", nil},
                    
152	// next float32 - too large
                    
153	{"3.4028236e38", "+Inf", ErrRange},
                    
                
ScopeIndentSniff.php https://gitlab.com/michield/dokuwiki | PHP | 319 lines
                    
15 * @version   CVS: $Id: ScopeIndentSniff.php 270281 2008-12-02 02:38:34Z squiz $
                    
16 * @link      http://pear.php.net/package/PHP_CodeSniffer
                    
17 */
                    
76     *
                    
77     * @param PHP_CodeSniffer_File $phpcsFile All the tokens found in the document.
                    
78     * @param int                  $stackPtr  The position of the current token
                    
82     */
                    
83    public function process(PHP_CodeSniffer_File $phpcsFile, $stackPtr)
                    
84    {
                    
93        if ($tokens[$stackPtr]['code'] === T_ELSE) {
                    
94            $next = $phpcsFile->findNext(
                    
95                PHP_CodeSniffer_Tokens::$emptyTokens,
                    
166                    // methods etc.
                    
167                    $nextToken = $phpcsFile->findNext(T_SEMICOLON, $i, $scopeCloser);
                    
168                    if ($nextToken !== false) {
                    
                
mma.vim https://gitlab.com/shinvdu/vim_win_config | Vim Script | 325 lines
                    
5" Source:       http://members.wri.com/layland/vim/syntax/mma.vim
                    
6"               http://vim.sourceforge.net/scripts/script.php?script_id=1273
                    
7" Id:           $Id: mma.vim,v 1.4 2006/04/14 20:40:38 vimboss Exp $
                    
72" SelectionMove directions/units:
                    
73syntax keyword mmaVariable Next Previous After Before Character Word Expression TextLine CellContents Cell CellGroup EvaluationCell ButtonCell GeneratedCell Notebook
                    
74syntax keyword mmaVariable CellTags CellStyle CellLabel
                    
                
ProjectPropertiesProblemProviderTest.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 165 lines
                    
74        assertTrue(problemsProvider.getProblems().isEmpty());
                    
75        PhpProjectProperties.save((PhpProject) project, Collections.singletonMap(PhpProjectProperties.SRC_DIR, "nondir"), Collections.<String, String>emptyMap());
                    
76        assertEquals(1, problemsProvider.getProblems().size());
                    
85        assertTrue(problemsProvider.getProblems().isEmpty());
                    
86        PhpProjectProperties.save((PhpProject) project, Collections.singletonMap(PhpProjectProperties.TEST_SRC_DIR, "nondir"), Collections.<String, String>emptyMap());
                    
87        assertEquals(1, problemsProvider.getProblems().size());
                    
96        assertTrue(problemsProvider.getProblems().isEmpty());
                    
97        PhpProjectProperties.save((PhpProject) project, Collections.singletonMap(PhpProjectProperties.SELENIUM_SRC_DIR, "nondir"), Collections.<String, String>emptyMap());
                    
98        assertEquals(1, problemsProvider.getProblems().size());
                    
107        assertTrue(problemsProvider.getProblems().isEmpty());
                    
108        PhpProjectProperties.save((PhpProject) project, Collections.singletonMap(PhpProjectProperties.WEB_ROOT, "nondir"), Collections.<String, String>emptyMap());
                    
109        assertEquals(1, problemsProvider.getProblems().size());
                    
118        assertTrue(problemsProvider.getProblems().isEmpty());
                    
119        PhpProjectProperties.save((PhpProject) project, Collections.singletonMap(PhpProjectProperties.INCLUDE_PATH, "nondir"), Collections.<String, String>emptyMap());
                    
120        assertEquals(1, problemsProvider.getProblems().size());
                    
                
forms.php https://github.com/luthercollege/reason_package.git | PHP | 412 lines
                    
1<?php
                    
2/**
                    
19<body>
                    
20<?php
                    
21include ('reason_header.php');
                    
21include ('reason_header.php');
                    
22include_once(CARL_UTIL_INC.'db/db_selector.php');
                    
23reason_include_once('classes/entity_selector.php');
                    
23reason_include_once('classes/entity_selector.php');
                    
24reason_include_once('function_libraries/util.php');
                    
25reason_include_once('function_libraries/user_functions.php');
                    
25reason_include_once('function_libraries/user_functions.php');
                    
26reason_include_once('function_libraries/admin_actions.php');
                    
27reason_include_once('classes/field_to_entity_table_class.php');
                    
274	{
                    
275		if (reason_file_exists('scripts/upgrade/4.0b6_to_4.0b7/forms_local.php'))
                    
276		{
                    
                
_configure.php https://gitlab.com/mattswann/launch-housing | PHP | 304 lines
                    
1<?php // Settings to display in a form for a user to configure.
                    
2/*
                    
63			
                    
64			require_once( dirname( __FILE__ ) . '/class.itx_helper2.php' );
                    
65			global $wp_version;
                    
222		'title'		=>		__( 'Send per burst', 'it-l10n-backupbuddy' ),
                    
223		'tip'		=>		__( '[Example: 10] - This is the amount of data that will be sent per burst within a single PHP page load/chunk. Bursts happen within a single page load. Chunks occur when broken up between page loads/PHP instances. Reduce if hitting PHP memory limits. Chunking time limits will only be checked between bursts. Lower burst size if timeouts occur before chunking checks trigger.', 'it-l10n-backupbuddy' ),
                    
224		'rules'		=>		'required|int[0-9999999]',
                    
232		'title'		=>		__( 'Max time per chunk', 'it-l10n-backupbuddy' ),
                    
233		'tip'		=>		__( '[Example: 30] - Enter 0 for no limit (aka no chunking; bursts may still occur based on burst size setting). This is the maximum number of seconds per page load that bursts will occur. If this time is exceeded when a burst finishes then the next burst will be chunked and ran on a new page load. Multiple bursts may be sent within each chunk.', 'it-l10n-backupbuddy' ),
                    
234		'rules'		=>		'',
                    
                
PositionCalculator.php https://gitlab.com/staging06/myproject | PHP | 221 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * position-calculator.php
                    
4 *
                    
5 * This file implements the calculator for the position elements of 
                    
6 * the output of the PHPSQLParser.
                    
7 *
                    
33
                    
34require_once dirname(__FILE__) . '/../utils/PHPSQLParserConstants.php';
                    
35require_once dirname(__FILE__) . '/../exceptions/UnableToCalculatePositionException.php';
                    
153                || ($key === 'select-option' && $parsed !== false) || ($key === 'alias' && $parsed !== false)) {
                    
154                // we hold the current position and come back after the next base_expr
                    
155                // we do this, because the next base_expr contains the complete expression/subquery/record
                    
178                // SELECT, WHERE, INSERT etc.
                    
179                if (PHPSQLParserConstants::isReserved($key)) {
                    
180                    $charPos = stripos($sql, $key, $charPos);
                    
                
wl_iw.h https://github.com/getitnowmarketing/htc-kernel-msm7x30.git | C Header | 302 lines
                    
8 * under the terms of the GNU General Public License version 2 (the "GPL"),
                    
9 * available at http://www.broadcom.com/licenses/GPLv2.php, with the
                    
10 * following added to such license:
                    
130typedef struct wl_iw_ss_cache {
                    
131	struct wl_iw_ss_cache *next;
                    
132	int dirty;
                    
                
index.php https://github.com/nsswaga/OSClass.git | PHP | 168 lines
                    
27    <head>
                    
28        <?php osc_current_admin_theme_path('head.php') ; ?>
                    
29    </head>
                    
30    <body>
                    
31        <?php osc_current_admin_theme_path('header.php') ; ?>
                    
32        <div id="update_version" style="display:none;"></div>
                    
60                                "sPrevious": "<?php _e('Previous'); ?>",
                    
61                                "sNext":     "<?php _e('Next'); ?>",
                    
62                                "sLast":     "<?php _e('Last'); ?>"
                    
76                                "<input type='checkbox' name='id[]' value='<?php echo $c['pk_i_id']; ?>' />"
                    
77                                ,"<?php echo addcslashes($c['s_author_name'],'"'); ?> (<a target='_blank' href='<?php echo osc_item_url_ns( $c['fk_i_item_id'] ) ; ?>'><?php echo $c['s_title']; ?></a>)<div id='datatables_quick_edit'><a href='<?php echo osc_admin_base_url(true) ; ?>?page=comments&action=comment_edit&id=<?php echo $c['pk_i_id'] ; ?>' id='dt_link_edit'><?php _e('Edit'); ?></a><?php
                    
78                                    if(isset($c['b_active']) && ($c['b_active'] == 1)) {
                    
88                                    
                    
89                                    ?> | <a onclick=\"javascript:return confirm('<?php _e('This action can\'t be undone. Are you sure you want to continue?'); ?>')\" href='<?php echo osc_admin_base_url(true) ; ?>?page=comments&action=delete&id=<?php echo $c['pk_i_id'] ; ?>' id='dt_link_delete'><?php _e('Delete') ; ?></a></div>"
                    
90                                ,"<?php echo addcslashes(preg_replace('|\s+|',' ',$c['s_body']),'"'); ?>"
                    
                
categories.php https://github.com/mcmurdok/oscommerce.git | PHP | 247 lines
                    
1<?php
                    
2/*
                    
61      if ( !$osC_Database->isError() ) {
                    
62        $category_id = (is_numeric($id)) ? $id : $osC_Database->nextID();
                    
63
                    
132
                    
133          while ($Qproducts->next()) {
                    
134            $products[$Qproducts->valueInt('products_id')]['categories'][] = $c_entry['id'];
                    
                
DatabaseHandle.php https://gitlab.com/tomgidden/php-DatabaseObject | PHP | 375 lines
                    
1<?php
                    
2  /* DatabaseHandle
                    
6
                    
7require_once('DatabaseObject/common/vars.php');
                    
8
                    
19   *
                    
20   * The prepared query caching may not be necessary, as I think DB.php
                    
21   * does this itself.
                    
313
                    
314  public function nextId($seq) {
                    
315	throw new Exception("nextId is not currently implemented");
                    
                
ReporteEgresoView.php https://bitbucket.org/raboit/sisfac.git | PHP | 286 lines
                    
1<?php
                    
2
                    
19                        $default_border = array(
                    
20                            'style' => PHPExcel_Style_Border::BORDER_THIN,
                    
21                            'color' => array('rgb'=>'000000')
                    
31                                                    'fill' => array(
                    
32                                'type' => PHPExcel_Style_Fill::FILL_SOLID,
                    
33                                'color' => array('rgb'=>'819FF7'),
                    
180
                    
181				// Write to the cell (and advance to the next)
                    
182				
                    
245				foreach($this->columns as $n=>$column)
                    
246					self::$objPHPExcel->getActiveSheet()->getColumnDimension($this->columnName($n+1))->setAutoSize(true);
                    
247			
                    
248			//create writer for saving
                    
249			$objWriter = PHPExcel_IOFactory::createWriter(self::$objPHPExcel, $this->exportType);
                    
250			if(!$this->stream)
                    
                
ext_json.cpp https://github.com/tstarling/hiphop-php.git | C++ | 257 lines
                    
2   +----------------------------------------------------------------------+
                    
3   | HipHop for PHP                                                       |
                    
4   +----------------------------------------------------------------------+
                    
5   | Copyright (c) 2010-2014 Facebook, Inc. (http://www.facebook.com)     |
                    
6   | Copyright (c) 1997-2010 The PHP Group                                |
                    
7   +----------------------------------------------------------------------+
                    
7   +----------------------------------------------------------------------+
                    
8   | This source file is subject to version 3.01 of the PHP license,      |
                    
9   | that is bundled with this package in the file LICENSE, and is        |
                    
10   | available through the world-wide-web at the following url:           |
                    
11   | http://www.php.net/license/3_01.txt                                  |
                    
12   | If you did not receive a copy of the PHP license and are unable to   |
                    
13   | obtain it through the world-wide-web, please send a note to          |
                    
14   | license@php.net so we can mail you a copy immediately.               |
                    
15   +----------------------------------------------------------------------+
                    
                
GraphJVertex.java https://bitbucket.org/wthys/groove.git | Java | 442 lines
                    
21import groove.abs.AbstrGraph;
                    
22import groove.abs.GraphPattern;
                    
23import groove.algebra.Algebra;
                    
28import groove.graph.algebra.ValueNode;
                    
29import groove.gui.GraphPatternPopupWindow;
                    
30import groove.util.Converter;
                    
104            Iterator<String> listLabelIter = getListLabels().iterator();
                    
105            while (!result && listLabelIter.hasNext()) {
                    
106                result = !jModel.isFiltering(listLabelIter.next());
                    
108            Iterator<?> jEdgeIter = getPort().edges();
                    
109            while (!result && jEdgeIter.hasNext()) {
                    
110                result = !((GraphJEdge) jEdgeIter.next()).isFiltered();
                    
                
crt0.s https://github.com/gilligan/snesdev.git | Assembly | 585 lines
                    
32; 30 poke 256+i,j
                    
33; 40 next i
                    
34; 50 sys 256
                    
90
                    
91entry:  php
                    
92        pha
                    
328   	bne	Z1
                    
329   	inc	ptr1+1			; Next page
                    
330     	dex
                    
                
Controller.php https://gitlab.com/yasminmostfa/thomas-site | PHP | 372 lines
                    
101     *   'expected_file_size' - The expected finished file size as returned by the HTTP server.
                    
102     *   'next_screen' - When the download finishes, this is the next screen that should be shown.
                    
103     *   'error' - When an error occurs, the message is returned in this property.
                    
174
                    
175        $view->nextRunTime = GeoIPAutoUpdater::getNextRunTime();
                    
176    }
                    
203                // the browser so it can download it next
                    
204                $info = $this->getNextMissingDbUrlInfo();
                    
205                if ($info !== false) {
                    
208                    $view = new View("@UserCountry/_updaterNextRunTime");
                    
209                    $view->nextRunTime = GeoIPAutoUpdater::getNextRunTime();
                    
210                    $nextRunTimeHtml = $view->render();
                    
210                    $nextRunTimeHtml = $view->render();
                    
211                    return json_encode(array('nextRunTime' => $nextRunTimeHtml));
                    
212                }
                    
                
wizard.php https://gitlab.com/najomie/ljm | PHP | 175 lines
                    
2    <script>
                    
3        var PODS_URL = '<?php echo esc_js( PODS_URL ); ?>';
                    
4    </script>
                    
11            <?php echo PodsForm::field( 'method', $method, 'hidden' ); ?>
                    
12            <?php echo PodsForm::field( '_wpnonce', wp_create_nonce( 'pods-component-' . $component . '-' . $method ), 'hidden' ); ?>
                    
13            <?php echo PodsForm::field( 'cleanup', 0, 'hidden', array( 'attributes' => array( 'id' => 'pods_cleanup' ) ) ); ?>
                    
71                                        <p class="pods-field-option-group-label">
                    
72                                            <?php _e( 'Available Post Types', 'pods' ); ?>
                    
73                                        </p>
                    
76                                            <ul>
                    
77                                                <?php
                    
78                                                foreach ( $post_types as $post_type ) {
                    
145                        <div id="pods-wizard-toolbar">
                    
146                            <a href="#start" id="pods-wizard-start" class="button button-secondary"><?php _e( 'Start Over', 'pods' ); ?></a> <a href="#next" id="pods-wizard-next" class="button button-primary" data-next="<?php esc_attr_e( 'Next Step', 'pods' ); ?>" data-finished="<?php esc_attr_e( 'Finished', 'pods' ); ?>" data-processing="<?php esc_attr_e( 'Processing', 'pods' ); ?>.."><?php _e( 'Next Step', 'pods' ); ?></a>
                    
147                        </div>
                    
                
RTDAO.inc.php https://github.com/mcrider/pkpUpgradeTestSuite.git | PHP | 605 lines
                    
1<?php
                    
2
                    
3/**
                    
4 * RTDAO.inc.php
                    
5 *
                    
12 *
                    
13 * $Id: RTDAO.inc.php,v 1.20 2005/07/16 03:52:02 alec Exp $
                    
14 */
                    
243		while (!$versions->eof()) {
                    
244			$version = &$versions->next();
                    
245			$this->deleteVersion($version->getVersionId(), $journalId);
                    
435			
                    
436			$result->moveNext();
                    
437		}
                    
596			
                    
597			$result->moveNext();
                    
598		}
                    
                
Parser.php https://bitbucket.org/dbaltas/zend-framework-1.x-on-git.git | PHP | 407 lines
                    
1<?php
                    
2
                    
2
                    
3require_once('Scope.php');
                    
4require_once('Symbol.php');
                    
4require_once('Symbol.php');
                    
5require_once('Destructable.php');
                    
6
                    
54
                    
55    $this->token = $this->next();
                    
56
                    
58      // We can ignore line-breaks that are mid-expression
                    
59      $this->token = $this->next();
                    
60    }
                    
63  /**
                    
64   * Look at the next non-whitespace token for a value. Also needed
                    
65   * for std functions to move up to the next non-whitespace character
                    
                
sendmail.htm https://bitbucket.org/johnroyer/phpwind8.7.git | HTML | 275 lines
                    
1<!--<?php
                    
2include_once PrintEot('left');
                    
63			<td class="td1">按註冊時間 </td>
                    
64			<td class="td2"><div class="input_img fl"><i onclick="this.nextSibling.onclick()" class="input_time" title="選擇時間"></i><input name="starttime" id="starttime" value="" onclick="ShowCalendar(this.id);" type="text"></div><span class="p_lr_10 fl">至</span><div class="input_img fl"><i class="input_time" title="選擇時間"></i><input name="endtime" id="endtime" value="" onclick="ShowCalendar(this.id);" type="text"></div>
                    
65			<div class="help_a" style="display: block;">&nbsp;格式:yyyy-mm-dd,會員註冊時間範圍</div></td>
                    
70			<td class="td1">按最後登錄時間</td>
                    
71			<td class="td2"><div class="input_img fl"><i onclick="this.nextSibling.onclick()" class="input_time" title="選擇時間"></i><input name="loginstarttime" id="loginstarttime" value="" onclick="ShowCalendar(this.id);" type="text"></div><span class="p_lr_10 fl">至</span><div class="input_img fl"><i class="input_time" title="選擇時間"></i><input name="loginendtime" id="loginendtime" value="" onclick="ShowCalendar(this.id);" type="text"></div>
                    
72			<div class="help_a" style="display: block;">&nbsp;格式:yyyy-mm-dd,會員最後登錄時間範圍</div></td>
                    
                
OrderController.php https://github.com/duofei/dawuweiba.git | PHP | 336 lines
                    
1<?php
                    
2
                    
122			} elseif ($i >= ($page)*$pagenum) {
                    
123				$norationPages .= '<li class="next ma-l5px"><a href="'. url('my/order/norating', array('page'=>($page+1))) .'">下一页</a></li>';
                    
124				break;
                    
                
 

Source

Language