PageRenderTime 2730ms queryTime 707ms sortTime 499ms getByIdsTime 55ms findMatchingLines 79ms

100+ results results for 'php log repo:jorgenio/codeigniter' (2730 ms)

Not the results you expected?
DiffPanel.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 365 lines
                    
53import java.util.logging.Level;
                    
54import java.util.logging.Logger;
                    
55import javax.swing.JButton;
                    
84
                    
85    static final Logger LOGGER = Logger.getLogger(DiffPanel.class.getName());
                    
86
                    
133        descriptor.setValid(false);
                    
134        Dialog dialog = DialogDisplayer.getDefault().createDialog(descriptor);
                    
135        setDiffView();
                    
292        } catch (IOException ex) {
                    
293            LOGGER.log(Level.WARNING, null, ex);
                    
294            showError(Bundle.DiffPanel_error_copyContent());
                    
300        } catch (IOException ex) {
                    
301            LOGGER.log(Level.WARNING, null, ex);
                    
302            showError(Bundle.DiffPanel_error_opening());
                    
                
catalog.php https://gitlab.com/alexprowars/bitrix | PHP | 621 lines
                    
9namespace Bitrix\Main\Analytics;
                    
10use Bitrix\Catalog\CatalogViewedProductTable;
                    
11use Bitrix\Main\Application;
                    
29{
                    
30	protected static $cookieLogName = 'RCM_PRODUCT_LOG';
                    
31
                    
60		$realProductId = $basketItem->getProductId();
                    
61		$isCatalog = $basketItem->getField('MODULE') == 'catalog';
                    
62
                    
568	 */
                    
569	public static function encodeProductLog(array $log)
                    
570	{
                    
588	 */
                    
589	public static function decodeProductLog($log)
                    
590	{
                    
                
NetClient.php https://gitlab.com/wuhang2003/rainloop-webmail | PHP | 629 lines
                    
75	/**
                    
76	 * @var \MailSo\Log\Logger
                    
77	 */
                    
559	 */
                    
560	protected function writeLog($sDesc, $iDescType = \MailSo\Log\Enumerations\Type::INFO, $bDiplayCrLf = false)
                    
561	{
                    
563		{
                    
564			$this->oLogger->Write($sDesc, $iDescType, $this->getLogName(), true, $bDiplayCrLf);
                    
565		}
                    
605	/**
                    
606	 * @param \MailSo\Log\Logger $oLogger
                    
607	 *
                    
613	{
                    
614		if (!($oLogger instanceof \MailSo\Log\Logger))
                    
615		{
                    
                
File.php https://gitlab.com/devtoannh/cafe | PHP | 468 lines
                    
25 */
                    
26require_once 'Zend/CodeGenerator/Php/Abstract.php';
                    
27
                    
30 */
                    
31require_once 'Zend/CodeGenerator/Php/Class.php';
                    
32
                    
38 */
                    
39class Zend_CodeGenerator_Php_File extends Zend_CodeGenerator_Php_Abstract
                    
40{
                    
86        if ($fileName == '') {
                    
87            require_once 'Zend/CodeGenerator/Php/Exception.php';
                    
88            throw new Zend_CodeGenerator_Php_Exception('FileName does not exist.');
                    
113            if ( ($realpath = Zend_Reflection_file::findRealpathInIncludePath($filePath)) === false) {
                    
114                require_once 'Zend/CodeGenerator/Php/Exception.php';
                    
115                throw new Zend_CodeGenerator_Php_Exception('No file for ' . $realpath . ' was found.');
                    
                
pageTranslations.php https://gitlab.com/macitsimsek/fastsubtitle | PHP | 217 lines
                    
1<?php
                    
2
                    
26    'support_subtitle'      => 'Support Subtitle',
                    
27    'user_login'            => 'User Login',
                    
28    'sign_up'               => 'Sign Up',
                    
30    'change_password'       => 'Change Password',
                    
31    'logout'                => 'Logout',
                    
32    'view_profile'          => 'View Profile',
                    
                
grid.subgrid.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 298 lines
                    
4 * Tony Tomov tony@trirand.com
                    
5 * http://trirand.com/blog/ 
                    
6 * Dual licensed under the MIT and GPL licenses:
                    
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
                    
                
ZoomPrintController.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 392 lines
                    
29   private EdgesGraphComponent _edgesGraphComponent;
                    
30   private GraphPlugin _plugin;
                    
31   private GraphPrintable _printable;
                    
35
                    
36   public ZoomPrintController(ZoomerXmlBean zoomerXmlBean, PrintXmlBean printXmlBean, EdgesListener edgesListener, GraphPrintable printable, ISession session, GraphPlugin plugin)
                    
37   {
                    
40
                    
41      _panel = new ZoomPrintPanel(new GraphPluginResources(_plugin));
                    
42
                    
174      printJob.setPrintable(_printable, pf);
                    
175      if (printJob.printDialog())
                    
176      {
                    
226
                    
227            BufferedImage img = prepareImage(graphPixelSize.width, graphPixelSize.height);
                    
228            _printable.print(img.getGraphics(), pf, 0);
                    
                
cat_contractor_edit.php https://gitlab.com/alexprowars/bitrix | PHP | 339 lines
                    
2require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/prolog_admin_before.php");
                    
3require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/catalog/prolog.php");
                    
4global $APPLICATION;
                    
13
                    
14if (!($USER->CanDoOperation('catalog_read') || $USER->CanDoOperation('catalog_store')))
                    
15	$APPLICATION->AuthForm(GetMessage("ACCESS_DENIED"));
                    
20{
                    
21	require($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/prolog_admin_after.php");
                    
22
                    
25
                    
26	require($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/epilog_admin.php");
                    
27	die();
                    
121
                    
122require($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/prolog_admin_after.php");
                    
123$str_ACTIVE = "Y";
                    
338
                    
339<?require($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/epilog_admin.php");?>
                    
                
configure-vhosts.html https://gitlab.com/haris4445/techarena | HTML | 251 lines
                    
54              <li class="active"><a href="/dashboard/howto.html">HOW-TO Guides</a></li>
                    
55              <li class=""><a target="_blank" href="/dashboard/phpinfo.php">PHPInfo</a></li>
                    
56              <li class=""><a href="/phpmyadmin/">phpMyAdmin</a></li>
                    
230              <ul class="inline-list">
                    
231                <li><a href="https://www.apachefriends.org/blog.html">Blog</a></li>
                    
232                <li><a href="https://www.apachefriends.org/privacy_policy.html">Privacy Policy</a></li>
                    
234<a target="_blank" href="http://www.fastly.com/">                    CDN provided by
                    
235                    <img width="48" data-2x="/dashboard/images/fastly-logo@2x.png" src="/dashboard/images/fastly-logo.png" />
                    
236</a>                </li>
                    
                
config.values.php https://gitlab.com/trungthao379/phpmyadmin | PHP | 277 lines
                    
1<?php
                    
2/* vim: set expandtab sw=4 ts=4 sts=4: */
                    
6 *
                    
7 * @package PhpMyAdmin
                    
8 */
                    
9
                    
10if (!defined('PHPMYADMIN')) {
                    
11    exit;
                    
36$cfg_db['MemoryLimit'] = 'short_string';
                    
37$cfg_db['NavigationLogoLinkWindow'] = array('main', 'new');
                    
38$cfg_db['NavigationTreeDefaultTabTable'] = array(
                    
222/**
                    
223 * Basic validator assignments (functions from libraries/config/Validator.php
                    
224 * and 'validators' object in js/config.js)
                    
244    'LimitChars' => 'validatePositiveNumber',
                    
245    'LoginCookieValidity' => 'validatePositiveNumber',
                    
246    'LoginCookieStore' => 'validateNonNegativeNumber',
                    
                
CreditCard.php https://gitlab.com/devtoannh/cafe | PHP | 317 lines
                    
1<?php
                    
2/**
                    
16 * @package    Zend_Validate
                    
17 * @copyright  Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)
                    
18 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
18 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
19 * @version    $Id: CreditCard.php 23775 2011-03-01 17:25:24Z ralph $
                    
20 */
                    
24 */
                    
25require_once 'Zend/Validate/Abstract.php';
                    
26
                    
29 * @package    Zend_Validate
                    
30 * @copyright  Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)
                    
31 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
229        if (!is_callable($service)) {
                    
230            require_once 'Zend/Validate/Exception.php';
                    
231            throw new Zend_Validate_Exception('Invalid callback given');
                    
                
Amazon.php https://gitlab.com/devtoannh/cafe | PHP | 323 lines
                    
1<?php
                    
2
                    
18 * @subpackage Amazon
                    
19 * @copyright  Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)
                    
20 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
21 * @version    $Id: Amazon.php 23775 2011-03-01 17:25:24Z ralph $
                    
22 */
                    
26 */
                    
27require_once 'Zend/Rest/Client.php';
                    
28
                    
32 * @subpackage Amazon
                    
33 * @copyright  Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)
                    
34 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
92             */
                    
93            require_once 'Zend/Service/Exception.php';
                    
94            throw new Zend_Service_Exception("Unknown country code: $countryCode");
                    
                
Db.php https://gitlab.com/devtoannh/cafe | PHP | 286 lines
                    
1<?php
                    
2
                    
17 * @package    Zend_Db
                    
18 * @copyright  Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: Db.php 24417 2011-08-28 10:15:47Z padraic $
                    
21 */
                    
28 * @package    Zend_Db
                    
29 * @copyright  Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)
                    
30 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
85     *    'ATTR_PERSISTENT', 'ATTR_STATEMENT_CLASS', 'ATTR_FETCH_TABLE_NAMES',
                    
86     *    'ATTR_FETCH_CATALOG_NAMES', 'ATTR_DRIVER_NAME',
                    
87     *    'ATTR_STRINGIFY_FETCHES', 'ATTR_MAX_COLUMN_LEN', 'ERRMODE_SILENT',
                    
111    const ATTR_ERRMODE = 3;
                    
112    const ATTR_FETCH_CATALOG_NAMES = 15;
                    
113    const ATTR_FETCH_TABLE_NAMES = 14;
                    
                
InstallSchema.php https://gitlab.com/svillegas/magento2 | PHP | 407 lines
                    
1<?php
                    
2/**
                    
19     * {@inheritdoc}
                    
20     * @SuppressWarnings(PHPMD.ExcessiveMethodLength)
                    
21     */
                    
221            [],
                    
222            'Catalog entities (comma separated)'
                    
223        )->addColumn(
                    
                
class-wc-shortcode-my-account.php https://gitlab.com/webkod3r/tripolis | PHP | 363 lines
                    
50
                    
51				wc_get_template( 'myaccount/form-login.php' );
                    
52
                    
204	 *
                    
205	 * Based on retrieve_password() in core wp-login.php.
                    
206	 *
                    
301
                    
302		if ( empty( $login ) || ! is_string( $login ) ) {
                    
303			wc_add_notice( __( 'Invalid key', 'woocommerce' ), 'error' );
                    
306
                    
307		$user = $wpdb->get_row( $wpdb->prepare( "SELECT * FROM $wpdb->users WHERE user_login = %s", $login ) );
                    
308
                    
310			if ( empty( $wp_hasher ) ) {
                    
311				require_once ABSPATH . 'wp-includes/class-phpass.php';
                    
312				$wp_hasher = new PasswordHash( 8, true );
                    
                
PhpReferenceCompatibility.php https://gitlab.com/x33n/ImpressPages | PHP | 433 lines
                    
1<?php
                    
2/**
                    
5 * @link      http://github.com/zendframework/zf2 for the canonical source repository
                    
6 * @copyright Copyright (c) 2005-2013 Zend Technologies USA Inc. (http://www.zend.com)
                    
7 * @license   http://framework.zend.com/license/new-bsd New BSD License
                    
21 * This ArrayObject is a rewrite of the implementation to fix
                    
22 * issues with php's implementation of ArrayObject where you
                    
23 * are unable to unset multi-dimensional arrays because you
                    
25 */
                    
26abstract class PhpReferenceCompatibility implements IteratorAggregate, ArrayAccess, Serializable, Countable
                    
27{
                    
                
2012-15-107.html https://gitlab.com/bernagg/TI | HTML | 157 lines
                    
64	<li><p style="MARGIN-BOTTOM: 0.05in; FONT-WEIGHT: normal"><font color="#000000"><font face="Arial"><font size="2">website3.com/dir/dir/file.html</font></font></font></p>
                    
65	<li><p style="MARGIN-BOTTOM: 0.05in"><font color="#000000"><font face="Arial"><font size="2"><span style="FONT-WEIGHT: normal">website4.com/dir/dir2/file.php?argument1=1&amp;argument2=2
                    
66	</span></font></font></font><font color="#000000"><font face="Arial"><font size="2"><br></font></font></font><br><br>
                    
81	<li><p style="MARGIN-BOTTOM: 0.1in"><font color="#000000"><font face="Arial"><font size="2">Ensure
                    
82	that you have already logged into your account on alkasir.com</font></font></font></p></li>
                    
83</ol>
                    
147URL is acceptable or not. If you requested notification by email and
                    
148were logged into your alkasir.com account, you will automatically
                    
149receive an email with the moderators' decision.</font></font></font></p>
                    
                
grid.locale-en.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 224 lines
                    
4 * modified by Oleg Kiriljuk oleg.kiriljuk@ok-soft-gmbh.com
                    
5 * http://trirand.com/blog/ 
                    
6 * Dual licensed under the MIT and GPL licenses:
                    
6 * Dual licensed under the MIT and GPL licenses:
                    
7 * http://www.opensource.org/licenses/mit-license.php
                    
8 * http://www.gnu.org/licenses/gpl.html
                    
158                masks: {
                    
159                    // see http://php.net/manual/en/function.date.php for PHP format used in jqGrid
                    
160                    // and see http://docs.jquery.com/UI/Datepicker/formatDate
                    
163                    // information about date, time, numbers and currency formats used in different countries
                    
164                    // one should just convert the information in PHP format
                    
165                    // short date:
                    
                
component.php https://gitlab.com/alexprowars/bitrix | PHP | 255 lines
                    
1<?php
                    
2
                    
2
                    
3if (!defined('B_PROLOG_INCLUDED') || B_PROLOG_INCLUDED !== true)
                    
4{
                    
176		$arNavParams,
                    
177		array("ID", "FROM_USER_ID", "TITLE", "MESSAGE", "DATE_CREATE", "DATE_VIEW", "MESSAGE_TYPE", "FROM_USER_NAME", "FROM_USER_LAST_NAME", "FROM_USER_SECOND_NAME", "FROM_USER_LOGIN_NAME", "FROM_USER_PERSONAL_PHOTO", "FROM_USER_PERSONAL_GENDER")
                    
178	);
                    
212			"USER_SECOND_NAME" => $arMessages["FROM_USER_SECOND_NAME"],
                    
213			"USER_LOGIN" => $arMessages["FROM_USER_LOGIN"],
                    
214			"USER_PERSONAL_PHOTO" => $arMessages["FROM_USER_PERSONAL_PHOTO"],
                    
                
config.php https://gitlab.com/alexprowars/bitrix | PHP | 112 lines
                    
1<?php
                    
2$MESS["BX_IM_COMPONENT_CALL_ALL_CHATS"] = "Alle Chats";
                    
3$MESS["BX_IM_COMPONENT_CALL_BUTTON_AS_GUEST"] = "Als Besucher fortfahren";
                    
4$MESS["BX_IM_COMPONENT_CALL_BUTTON_AUTHORIZE"] = "Einloggen";
                    
5$MESS["BX_IM_COMPONENT_CALL_BUTTON_CHECK_DEVICES"] = "Hardware prüfen";
                    
43$MESS["BX_IM_COMPONENT_CALL_ERROR_MESSAGE_KICKED"] = "Sie wurden aus dieser Videokonferenz entfernt.";
                    
44$MESS["BX_IM_COMPONENT_CALL_ERROR_MESSAGE_PLEASE_LOG_IN"] = "Wir haben Ihren Account in diesem Bitrix24 gefunden. Bitte loggen Sie sich ein.";
                    
45$MESS["BX_IM_COMPONENT_CALL_ERROR_MESSAGE_USER_LIMIT"] = "Die Videokonferenz hat ihre maximale Kapazität erreicht.";
                    
53$MESS["BX_IM_COMPONENT_CALL_HARDWARE_ERROR"] = "Fehler bei der Gerätprüfung";
                    
54$MESS["BX_IM_COMPONENT_CALL_INTRANET_LOGOUT"] = "Log out";
                    
55$MESS["BX_IM_COMPONENT_CALL_INTRANET_NAME_TITLE"] = "Sie haben sich über den Bitrix24 Account eingeloggt";
                    
                
functions.wp-scripts.php https://gitlab.com/websumon/tosnib | PHP | 293 lines
                    
1<?php
                    
2/**
                    
44		'<code>admin_enqueue_scripts</code>',
                    
45		'<code>login_enqueue_scripts</code>'
                    
46	), '3.3' );
                    
51 *
                    
52 * Called by admin-header.php and wp_head hook. Since it is called by wp_head on every page load,
                    
53 * the function does not instantiate the WP_Scripts object unless script names are explicitly passed.
                    
180	if ( ( is_admin() && 'admin_enqueue_scripts' !== $current_filter ) ||
                    
181		( 'wp-login.php' === $GLOBALS['pagenow'] && 'login_enqueue_scripts' !== $current_filter )
                    
182	) {
                    
184			'jquery', 'jquery-core', 'jquery-migrate', 'jquery-ui-core', 'jquery-ui-accordion',
                    
185			'jquery-ui-autocomplete', 'jquery-ui-button', 'jquery-ui-datepicker', 'jquery-ui-dialog',
                    
186			'jquery-ui-draggable', 'jquery-ui-droppable', 'jquery-ui-menu', 'jquery-ui-mouse',
                    
                
TranslatorTest.php https://gitlab.com/Snizer/PI-DEV-TUNISIAMALL3A6-WEB | PHP | 288 lines
                    
15use Symfony\Component\HttpFoundation\RequestStack;
                    
16use Symfony\Component\Translation\MessageCatalogue;
                    
17use Symfony\Component\Filesystem\Filesystem;
                    
19
                    
20class TranslatorTest extends \PHPUnit_Framework_TestCase
                    
21{
                    
177
                    
178    protected function getCatalogue($locale, $messages)
                    
179    {
                    
179    {
                    
180        $catalogue = new MessageCatalogue($locale);
                    
181        foreach ($messages as $key => $translation) {
                    
184
                    
185        return $catalogue;
                    
186    }
                    
                
SnsClient.php https://gitlab.com/oxidigitaluser/liguelista | PHP | 378 lines
                    
182    /**
                    
183     * Reloads/compiles a PHP file.
                    
184     * @param string $filename
                    
191    /**
                    
192     * Reloads/compiles a PHP file.
                    
193     * @param string[] $filenames
                    
303        $message['actions'] = $this->messages;
                    
304        $message['blog_id'] = w3_get_blog_id();
                    
305        $message['host'] = isset($_SERVER['HTTP_HOST']) ? $_SERVER['HTTP_HOST'] : null;
                    
315            $this->_log($origin . ' sending message ' . $v);
                    
316            $this->_log('Host: ' . $message['host']);
                    
317            if (isset($_SERVER['REQUEST_URI']))
                    
317            if (isset($_SERVER['REQUEST_URI']))
                    
318                $this->_log('URL: ' . $_SERVER['REQUEST_URI']);
                    
319            if (function_exists('current_filter'))
                    
                
backend-scripts.js https://gitlab.com/glancr/system | JavaScript | 326 lines
                    
44
                    
45  $.post('writeLayout.php', {'row': row, 'modules[]': modules[row]})
                    
46    .done(function () {
                    
76  modules[row][col] = ''
                    
77  $.post('writeLayout.php', {'row': row, 'modules[]': modules[row]})
                    
78    .done(function () {
                    
115
                    
116  $.post('writeLayout.php', {'row': row, 'modules[]': modules[row]})
                    
117    .done(function () {
                    
130  moduleName = $(this).attr('data-deleteModule')
                    
131  console.log('user wants to delete ' + moduleName)
                    
132  $('[data-deleteModule-confirmbox=' + moduleName + ']').show()
                    
139  $.ajax({
                    
140    url: 'deleteModule.php',
                    
141    type: 'POST',
                    
                
general.php https://gitlab.com/digaotinfo/agenciaabear.com.br | PHP | 225 lines
                    
19            <label class="kopa-label"><?php _e('Top margin:', kopa_get_domain()); ?> </label>
                    
20            <input type="text" value="<?php echo get_option('kopa_theme_options_logo_margin_top'); ?>" id="kopa_theme_options_logo_margin_top" name="kopa_theme_options_logo_margin_top" class=" kopa-short-input">
                    
21            <label class="kopa-label"><?php _e('px', kopa_get_domain()); ?></label>
                    
25            <label class="kopa-label"><?php _e('Left margin:', kopa_get_domain()); ?> </label>
                    
26            <input type="text" value="<?php echo get_option('kopa_theme_options_logo_margin_left'); ?>" id="kopa_theme_options_logo_margin_left" name="kopa_theme_options_logo_margin_left" class=" kopa-short-input">
                    
27            <label class="kopa-label"><?php _e('px', kopa_get_domain()); ?></label>
                    
31            <label class="kopa-label"><?php _e('Right margin:', kopa_get_domain()); ?> </label>
                    
32            <input type="text" value="<?php echo get_option('kopa_theme_options_logo_margin_right'); ?>" id="kopa_theme_options_logo_margin_right" name="kopa_theme_options_logo_margin_right" class=" kopa-short-input">
                    
33            <label class="kopa-label"><?php _e('px', kopa_get_domain()); ?></label>
                    
139                ?>
                    
140                <label  for="<?php echo $kopa_header_headline_status_id; ?>" class="kopa-label-for-radio-button"><input type="radio" value="<?php echo esc_attr( $value ); ?>" id="<?php echo $kopa_header_headline_status_id; ?>" name="<?php echo $kopa_header_headline_name; ?>" <?php echo ($value == get_option($kopa_header_headline_name, 'show')) ? 'checked="checked"' : ''; ?>><?php echo $label; ?></label>
                    
141                <?php
                    
190                ?>
                    
191                <label  for="<?php echo $kopa_breadcrumb_id; ?>" class="kopa-label-for-radio-button"><input type="radio" value="<?php echo esc_attr( $value ); ?>" id="<?php echo $kopa_breadcrumb_id; ?>" name="<?php echo $kopa_breadcrumb_status_name; ?>" <?php echo ($value == get_option($kopa_breadcrumb_status_name, 'show')) ? 'checked="checked"' : ''; ?>><?php echo $label; ?></label>
                    
192                <?php
                    
                
Statistics.php https://gitlab.com/luisrepo/ClienteWS | PHP | 309 lines
                    
1<?php
                    
2
                    
18 * @subpackage YouTube
                    
19 * @copyright  Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)
                    
20 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
21 * @version    $Id: Statistics.php 23775 2011-03-01 17:25:24Z ralph $
                    
22 */
                    
26 */
                    
27require_once 'Zend/Gdata/Extension.php';
                    
28
                    
34 * @subpackage YouTube
                    
35 * @copyright  Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)
                    
36 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
295     * Magic toString method allows using this directly via echo
                    
296     * Works best in PHP >= 4.2.0
                    
297     *
                    
                
Statistics.php https://gitlab.com/gregtyka/SiberianCMS | PHP | 309 lines
                    
1<?php
                    
2
                    
18 * @subpackage YouTube
                    
19 * @copyright  Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
                    
20 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
21 * @version    $Id: Statistics.php 24593 2012-01-05 20:35:02Z matthew $
                    
22 */
                    
26 */
                    
27require_once 'Zend/Gdata/Extension.php';
                    
28
                    
34 * @subpackage YouTube
                    
35 * @copyright  Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
                    
36 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
295     * Magic toString method allows using this directly via echo
                    
296     * Works best in PHP >= 4.2.0
                    
297     *
                    
                
header.php https://gitlab.com/kaouech/theme | PHP | 198 lines
                    
1<?php include 'config.php' ?>
                    
2<!DOCTYPE html>
                    
56<body>
                    
57<?php if (!isset($no_visible_elements) || !$no_visible_elements) { ?>
                    
58    <!-- topbar starts -->
                    
67            </button>
                    
68            <a class="navbar-brand" href="index.html"> <img alt="Charisma Logo" src="img/logo20.png" class="hidden-xs"/>
                    
69                <span>Charisma</span></a>
                    
79                    <li class="divider"></li>
                    
80                    <li><a href="login.html">Logout</a></li>
                    
81                </ul>
                    
131    <!-- topbar ends -->
                    
132<?php } ?>
                    
133<div class="ch-container">
                    
176                        </li>
                    
177                        <li><a href="login.html"><i class="glyphicon glyphicon-lock"></i><span> Login Page</span></a>
                    
178                        </li>
                    
                
CategoryRepositoryTest.php https://gitlab.com/yousafsyed/easternglamor | PHP | 277 lines
                    
1<?php
                    
2/**
                    
6 */
                    
7namespace Magento\Catalog\Api;
                    
8
                    
21    /**
                    
22     * @magentoApiDataFixture Magento/Catalog/_files/category_backend.php
                    
23     */
                    
81     *
                    
82     * @magentoApiDataFixture Magento/Catalog/Model/Category/_files/service_category_create.php
                    
83     */
                    
100    /**
                    
101     * @magentoApiDataFixture Magento/Catalog/_files/category.php
                    
102     */
                    
153    /**
                    
154     * @magentoApiDataFixture Magento/Catalog/_files/category.php
                    
155     */
                    
                
wpsc-swfupload-handlers.js https://gitlab.com/endomorphosis/reservationtelco | JavaScript | 348 lines
                    
4
                    
5function wpsc_fileDialogStart() {
                    
6	jQuery("#media-upload-error").empty();
                    
43	else {
                    
44		jQuery('#media-item-' + fileObj.id).load('async-upload.php', {attachment_id:serverData, fetch:f}, function(){prepareMediaItemInit(fileObj);updateMediaForm()});
                    
45	}
                    
61		// Tell the server to delete it. TODO: handle exceptions
                    
62		jQuery.ajax({url:'admin-ajax.php',type:'post',success:deleteSuccess,error:deleteError,id:fileObj.id,data:{
                    
63			id : this.id.replace(/[^0-9]/g,''),
                    
142	}
                    
143	//console.log(fileObj);
                    
144	//console.log(serverData);
                    
150		output_html += "	<div id='gallery_image_"+image_id+"' class='previewimage'>\n";
                    
151		output_html += "		<a class='thickbox' rel='product_extra_image_"+image_id+"' href='admin.php?wpsc_admin_action=crop_image&amp;imagename="+image_src+"&amp;imgheight=480&amp;imgwidth=600&amp;product_id=103&amp;width=640&amp;height=342' id='extra_preview_link_"+image_id+"'>\n";
                    
152		output_html += "		<img title='Preview' alt='Preview' src='"+WPSC_IMAGE_URL+image_src+"' class='previewimage'/>\n";
                    
                
site_speed.php https://gitlab.com/alexprowars/bitrix | PHP | 297 lines
                    
5 */
                    
6require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/prolog_admin_before.php");
                    
7require_once($_SERVER["DOCUMENT_ROOT"].BX_ROOT."/modules/main/prolog.php");
                    
7require_once($_SERVER["DOCUMENT_ROOT"].BX_ROOT."/modules/main/prolog.php");
                    
8define("HELP_FILE", "settings/site_speed.php");
                    
9
                    
23$APPLICATION->SetTitle(Loc::getMessage("MAIN_SITE_SPEED_TITLE"));
                    
24require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/prolog_admin_after.php");
                    
25
                    
100				if (\Bitrix\Main\ModuleManager::isModuleInstalled("perfmon")):
                    
101					$mark = (double)COption::GetOptionString("perfmon", "mark_php_page_rate", "");
                    
102				?>
                    
102				?>
                    
103					<a href="/bitrix/admin/perfmon_panel.php?lang=<?=LANGUAGE_ID?>" class="site-speed-perf-label"><?=Loc::getMessage("MAIN_SITE_SPEED_PERF")?></a>:<span class="site-speed-perf-value"><?if ($mark > 0):?><?=$mark?><?else:?><?=Loc::getMessage("MAIN_SITE_SPEED_PERF_NO_RES")?><?endif?></span>
                    
104				<?endif?>
                    
296
                    
297<?require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/epilog_admin.php");?>
                    
                
RouteCollectionBuilderTest.php https://gitlab.com/ealexis.t/trends | PHP | 324 lines
                    
77        $addedRoute = $collectionBuilder->add('/checkout', 'AppBundle:Order:checkout');
                    
78        $addedRoute2 = $collectionBuilder->add('/blogs', 'AppBundle:Blog:list', 'blog_list');
                    
79        $this->assertInstanceOf('Symfony\Component\Routing\Route', $addedRoute);
                    
175        // a simple route, nothing added to it
                    
176        $routes->add('/blogs/{id}', 'editAction', 'blog_edit');
                    
177
                    
264        $adminBlogRoutes = $routes->createBuilder();
                    
265        $adminBlogRoutes->add('/new', 'BlogController::newAction', 'admin_blog_new');
                    
266        // mount into admin, but before the parent collection has been mounted
                    
266        // mount into admin, but before the parent collection has been mounted
                    
267        $adminRoutes->mount('/blog', $adminBlogRoutes);
                    
268
                    
295        $this->assertEquals('/admin/users', $collection->get('admin_users')->getPath(), 'Routes after mounting have the prefix');
                    
296        $this->assertEquals('/admin/blog/new', $collection->get('admin_blog_new')->getPath(), 'Sub-collections receive prefix even if mounted before parent prefix');
                    
297        $this->assertEquals('/admin/stats/sales', $collection->get('admin_stats_sales')->getPath(), 'Sub-collections receive prefix if mounted after parent prefix');
                    
                
sk.inc.php https://gitlab.com/Blueprint-Marketing/interoccupy.net | PHP | 272 lines
                    
1<?php
                    
2$translations = array(
                    
2$translations = array(
                    
3	'Login' => 'Prihlásiť sa',
                    
4	'Logout successful.' => 'Odhlásenie prebehlo v poriadku.',
                    
35	'Dump' => 'Export',
                    
36	'Logout' => 'Odhlásiť',
                    
37	'database' => 'databáza',
                    
84	'No extension' => 'Žiadne rozšírenie',
                    
85	'None of the supported PHP extensions (%s) are available.' => 'Nie je dostupné žiadne z podporovaných rozšírení (%s).',
                    
86	'Session support must be enabled.' => 'Session premenné musia byť povolené.',
                    
86	'Session support must be enabled.' => 'Session premenné musia byť povolené.',
                    
87	'Session expired, please login again.' => 'Session vypršala, prihláste sa prosím znova.',
                    
88	'Text length' => 'Dĺžka textov',
                    
130	'Event' => 'Udalosť',
                    
131	'%s version: %s through PHP extension %s' => 'Verzia %s: %s cez PHP rozšírenie %s',
                    
132	'%d row(s)' => array('%d riadok', '%d riadky', '%d riadkov'),
                    
                
class-wp-ms-users-list-table.php https://gitlab.com/gregtyka/helloworld1234 | PHP | 307 lines
                    
39			$logins = implode( "', '", get_super_admins() );
                    
40			$args['include'] = $wpdb->get_col( "SELECT ID FROM $wpdb->users WHERE user_login IN ('$logins')" );
                    
41		}
                    
181						<th scope="row" class="check-column">
                    
182							<label class="screen-reader-text" for="blog_<?php echo $user->ID; ?>"><?php echo sprintf( __( 'Select %s' ), $user->user_login ); ?></label>
                    
183							<input type="checkbox" id="blog_<?php echo $user->ID ?>" name="allusers[]" value="<?php echo esc_attr( $user->ID ) ?>" />
                    
192						echo "<td $attributes>"; ?>
                    
193							<?php echo $avatar; ?><strong><a href="<?php echo $edit_link; ?>" class="edit"><?php echo $user->user_login; ?></a><?php
                    
194							if ( in_array( $user->user_login, $super_admins ) )
                    
259										$class .= 'site-mature ';
                    
260									if ( get_blog_status( $val->userblog_id, 'deleted' ) == 1 )
                    
261										$class .= 'site-deleted ';
                    
261										$class .= 'site-deleted ';
                    
262									if ( get_blog_status( $val->userblog_id, 'archived' ) == 1 )
                    
263										$class .= 'site-archived ';
                    
                
layout.class.php https://gitlab.com/dali99/shimmie2-Material-Theme | PHP | 267 lines
                    
1<?php
                    
2/**
                    
15
                    
16Files: default.php, style.css
                    
17
                    
20  directory in your shimmie installation.
                    
21- Log into your shimmie and change the Theme in the Board Config to your
                    
22  desired theme.
                    
105		if($user->is_anonymous()) {
                    
106			$custom_links .= $this->navlinks(make_link('user_admin/login'), "My Account", array("user", "user_admin", "setup", "admin"));
                    
107		}
                    
127		$qp = explode("/", ltrim(_get_query(), "/"));
                    
128		// php sucks
                    
129		switch($qp[0]) {
                    
                
main.php https://gitlab.com/dali99/shimmie2-Material-Theme | PHP | 371 lines
                    
1<?php
                    
2/*
                    
295
                    
296		log_info("tag_edit", "Mass editing tags: '$search' -> '$replace'");
                    
297
                    
300			if(count($images) == 0) {
                    
301				log_info("tag_edit", "No images found with target tag, doing in-place rename");
                    
302				$database->execute("DELETE FROM tags WHERE tag=:replace",
                    
                
Curl.php https://gitlab.com/yousafsyed/easternglamor | PHP | 453 lines
                    
6
                    
7namespace Magento\Catalog\Test\Handler\CatalogProductSimple;
                    
8
                    
67            'Not Visible Individually' => 1,
                    
68            'Catalog' => 2,
                    
69            'Search' => 3,
                    
69            'Search' => 3,
                    
70            'Catalog, Search' => 4
                    
71        ],
                    
110                'ALL GROUPS' => 32000,
                    
111                'NOT LOGGED IN' => 0,
                    
112                'General' => 1
                    
175     *
                    
176     * @SuppressWarnings(PHPMD.NPathComplexity)
                    
177     * @SuppressWarnings(PHPMD.CyclomaticComplexity)
                    
                
modules-defaults.php https://gitlab.com/Magi1053/Extra | PHP | 250 lines
                    
1<?php
                    
2// Prevent file from being loaded directly
                    
151
                    
152			// Blog Feed Standard
                    
153		'et_pb_posts_blog_feed_standard-header_font_size'         => '16px',
                    
153		'et_pb_posts_blog_feed_standard-header_font_size'         => '16px',
                    
154		'et_pb_posts_blog_feed_standard-header_font_style'        => 'uppercase',
                    
155		'et_pb_posts_blog_feed_standard-header_text_color'        => '',
                    
155		'et_pb_posts_blog_feed_standard-header_text_color'        => '',
                    
156		'et_pb_posts_blog_feed_standard-header_line_height'       => '1',
                    
157		'et_pb_posts_blog_feed_standard-header_letter_spacing'    => '1.2px',
                    
158
                    
159		'et_pb_posts_blog_feed_standard-title_font_size'          => '18px',
                    
160		'et_pb_posts_blog_feed_standard-title_font_style'         => '',
                    
160		'et_pb_posts_blog_feed_standard-title_font_style'         => '',
                    
161		'et_pb_posts_blog_feed_standard-title_text_color'         => '',
                    
162		'et_pb_posts_blog_feed_standard-title_letter_spacing'     => '0.5px',
                    
                
search.php https://gitlab.com/alexprowars/bitrix | PHP | 532 lines
                    
1<?php
                    
2/**
                    
47				{
                    
48					$user = \CSocNetLogDestination::formatNetworkUser($user, array(
                    
49						"NAME_TEMPLATE" => $nameTemplate,
                    
76
                    
77		$searchResult = \CSocNetLogDestination::searchUsers(
                    
78			array(
                    
104
                    
105		return \CSocNetLogDestination::searchSonetGroups(array(
                    
106			"SEARCH" => $search,
                    
115
                    
116		$searchResult = \CSocNetLogDestination::searchCrmEntities(array(
                    
117			"SEARCH" => $search,
                    
265
                    
266				if (!empty($company['LOGO']) && intval($company['LOGO']) > 0)
                    
267				{
                    
                
template.php https://gitlab.com/alexprowars/bitrix | PHP | 409 lines
                    
2
                    
3if(!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true)die();
                    
4
                    
12Loc::loadMessages(__FILE__);
                    
13?><div class="container-fluid"><?php
                    
14if (!empty($arResult['ERRORS']['FATAL']))
                    
109			<div class="">
                    
110				<a href="<?=htmlspecialcharsbx($arParams['PATH_TO_CATALOG'])?>" class="mr-4"><?=Loc::getMessage('SPOL_TPL_LINK_TO_CATALOG')?></a>
                    
111			</div>
                    
393		$javascriptParams = array(
                    
394			"url" => CUtil::JSEscape($this->__component->GetPath().'/ajax.php'),
                    
395			"templateFolder" => CUtil::JSEscape($templateFolder),
                    
399		);
                    
400		$javascriptParams = CUtil::PhpToJSObject($javascriptParams);
                    
401		?>
                    
                
class.php https://gitlab.com/alexprowars/bitrix | PHP | 524 lines
                    
1<?php
                    
2
                    
10
                    
11if (!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED !== true) die();
                    
12
                    
143			{
                    
144				if (!empty($paySystemElement["LOGOTIP"]))
                    
145				{
                    
145				{
                    
146					$paySystemElement["LOGOTIP"] = CFile::GetFileArray($paySystemElement['LOGOTIP']);
                    
147					$fileTemp = CFile::ResizeImageGet(
                    
147					$fileTemp = CFile::ResizeImageGet(
                    
148						$paySystemElement["LOGOTIP"]["ID"],
                    
149						array("width" => "95", "height" =>"55"),
                    
152					);
                    
153					$paySystemElement["LOGOTIP"] = $fileTemp["src"];
                    
154				}
                    
                
SCP.php https://gitlab.com/wuhang2003/rainloop-webmail | PHP | 360 lines
                    
3/**
                    
4 * Pure-PHP implementation of SCP.
                    
5 *
                    
5 *
                    
6 * PHP versions 4 and 5
                    
7 *
                    
7 *
                    
8 * The API for this library is modeled after the API from PHP's {@link http://php.net/book.ftp FTP extension}.
                    
9 *
                    
11 * <code>
                    
12 * <?php
                    
13 *    include 'Net/SCP.php';
                    
13 *    include 'Net/SCP.php';
                    
14 *    include 'Net/SSH2.php';
                    
15 *
                    
                
autoload.function.php https://gitlab.com/OnBlox/OnBlox-Template | PHP | 385 lines
                    
1<?php
                    
2/*
                    
41
                    
42include_once (GLPI_ROOT."/config/based_config.php");
                    
43include_once (GLPI_ROOT."/config/define.php");
                    
89
                    
90   if (is_null($TRANSLATE)) { // before login
                    
91      return $str;
                    
301
                    
302      // Do not try to load phpcas using GLPI autoload
                    
303      if (preg_match('/^CAS_.*/', $classname)) {
                    
317
                    
318   if (file_exists("$dir$item.class.php")) {
                    
319      include_once("$dir$item.class.php");
                    
326      // trigger an error to get a backtrace, but only once (use prefix 'x' to handle empty case)
                    
327//          trigger_error("GLPI autoload : file $dir$item.class.php not founded trying to load class '$classname'");
                    
328      $notfound["x$classname"] = true;
                    
                
yii.php https://gitlab.com/Sang240892/ecommerce | PHP | 114 lines
                    
1<?php
                    
2/**
                    
27    'Invalid data received for parameter "{param}".' => 'Ogiltig data har mottagits för parameter "{param}".',
                    
28    'Login Required' => 'Inloggning krävs',
                    
29    'Missing required arguments: {params}' => 'Följande begärda variabler saknas: {params}',
                    
                
Media.php https://gitlab.com/yousafsyed/easternglamor | PHP | 356 lines
                    
1<?php
                    
2/**
                    
6
                    
7namespace Magento\Catalog\Model\Product\Attribute\Backend;
                    
8
                    
8
                    
9use Magento\Catalog\Model\Product;
                    
10use Magento\MediaStorage\Model\File\Uploader as FileUploader;
                    
48     * @return Product
                    
49     * @SuppressWarnings(PHPMD.CyclomaticComplexity)
                    
50     * @SuppressWarnings(PHPMD.NPathComplexity)
                    
124     * @return Product
                    
125     * @SuppressWarnings(PHPMD.CyclomaticComplexity)
                    
126     * @SuppressWarnings(PHPMD.NPathComplexity)
                    
207    /**
                    
208     * @param \Magento\Catalog\Model\Product $product
                    
209     * @param AbstractAttribute $attribute
                    
                
functions.inc.php https://gitlab.com/boxnia/NFU_MOVIL | PHP | 346 lines
                    
1<?php
                    
2
                    
209
                    
210function login($value) {
                    
211  
                    
                
jquery.mask.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 281 lines
                    
5 *
                    
6 * Created by Igor Escobar on 2012-03-10. Please report any bug at http://blog.igorescobar.com
                    
7 *
                    
7 *
                    
8 * Copyright (c) 2012 Igor Escobar http://blog.igorescobar.com
                    
9 *
                    
9 *
                    
10 * The MIT License (http://www.opensource.org/licenses/mit-license.php)
                    
11 *
                    
                
string.rst https://gitlab.com/albertkeba/docs | ReStructuredText | 300 lines
                    
30
                    
31.. php:staticmethod:: uuid()
                    
32
                    
50
                    
51        $data = "cakephp 'great framework' php";
                    
52        $result = String::tokenize($data, ' ', "'", "'");
                    
53        // result contains
                    
54        array('cakephp', "'great framework'", 'php');
                    
55
                    
55
                    
56.. php:staticmethod:: insert($string, $data, $options = array())
                    
57
                    
63
                    
64.. php:staticmethod:: cleanInsert($string, $options = array())
                    
65
                    
                
simulator.js https://gitlab.com/gregtyka/Scryve-Webapp | JavaScript | 362 lines
                    
19//                var events = Ext.getCmp('simulator').getRecorder().getEventSet('main');
                    
20//                console.log(JSON.stringify(events));
                    
21//                Ext.Ajax.request({
                    
21//                Ext.Ajax.request({
                    
22//                    url: '../../dump.php',
                    
23//                    method: 'POST',
                    
44                           cool like live demostration of how your app works without the need of any pre-recorded videos.</p>\n\
                    
45                           <p>Close this dialog and tap on the <b>\"Show Me!\"</b> button to see it in action. A demo series of events \n\
                    
46                              (technically an array of serialized events in JSON format) will be replayed live on the screen.</p>\n\
                    
                
PrettyPrinterAbstract.php https://gitlab.com/oytunistrator/92five | PHP | 262 lines
                    
60        'Expr_LogicalAnd'       => array(16, -1),
                    
61        'Expr_LogicalXor'       => array(17, -1),
                    
62        'Expr_LogicalOr'        => array(18, -1),
                    
75     *
                    
76     * @param PHPParser_Node[] $stmts Array of statements
                    
77     *
                    
88     *
                    
89     * @param PHPParser_Node_Expr $node Expression node
                    
90     *
                    
169
                    
170    protected function pInfixOp($type, PHPParser_Node $leftNode, $operatorString, PHPParser_Node $rightNode) {
                    
171        list($precedence, $associativity) = $this->precedenceMap[$type];
                    
199     */
                    
200    protected function pPrec(PHPParser_Node $node, $parentPrecedence, $parentAssociativity, $childPosition) {
                    
201        $type = $node->getType();
                    
                
multiple-featured-images.php https://gitlab.com/webkod3r/tripolis | PHP | 374 lines
                    
1<?php
                    
2/*
                    
6Author: Marcus Kober
                    
7Author URI: http://www.koeln-dialog.de/
                    
8*/
                    
9
                    
10/*  Copyright 2012 Marcus Kober (m.kober@koeln-dialog.de)
                    
11
                    
91		public function kd_admin_init() {		
                    
92			if( strstr($_SERVER['REQUEST_URI'], 'wp-admin/post-new.php') || strstr($_SERVER['REQUEST_URI'], 'wp-admin/post.php') || strstr($_SERVER['REQUEST_URI'], 'wp-admin/media-upload.php')) {
                    
93				wp_enqueue_script(
                    
373
                    
374// Omit closing PHP tag to avoid "Headers already sent" issues.
                    
375
                    
                
readme.md https://gitlab.com/buitenzorg812/garapic.cms | Markdown | 217 lines
                    
28
                    
29The Modules::$locations array may be set in the application/config.php file. ie:
                    
30
                    
103
                    
104The PHP5 spl_autoload feature allows you to freely extend your controllers, models and libraries from 
                    
105application/core or application/libraries base classes without the need to specifically include or require
                    
109accepted in the same fashion as model aliases, and loading config files from the module config directory 
                    
110as library parameters (re: form_validation.php) have beed added.
                    
111
                    
1597. Create module directory structure application/modules/welcome/controllers
                    
1608. Move controller application/controllers/welcome.php to application/modules/welcome/controllers/welcome.php
                    
1619. Access the URL /index.php/welcome => shows Welcome to CodeIgniter
                    
16210. Create directory application/modules/welcome/views
                    
16311. Move view application/views/welcome_message.php to application/modules/welcome/views/welcome_message.php
                    
16412. Access the URL /index.php/welcome => shows Welcome to CodeIgniter
                    
                
PlaylistListEntry.php https://gitlab.com/devtoannh/cafe | PHP | 300 lines
                    
1<?php
                    
2
                    
18 * @subpackage YouTube
                    
19 * @copyright  Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)
                    
20 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
21 * @version    $Id: PlaylistListEntry.php 23775 2011-03-01 17:25:24Z ralph $
                    
22 */
                    
26 */
                    
27require_once 'Zend/Gdata/YouTube.php';
                    
28
                    
31 */
                    
32require_once 'Zend/Gdata/Entry.php';
                    
33
                    
36 */
                    
37require_once 'Zend/Gdata/Extension/FeedLink.php';
                    
38
                    
                
autoptimizeBase.php https://gitlab.com/hop23typhu/list-theme | PHP | 317 lines
                    
1<?php
                    
2if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
                    
38			}
                    
39		} else if ((strpos($url,'//')===false) && (strpos($url,parse_url(AUTOPTIMIZE_WP_SITE_URL,PHP_URL_HOST))===false)) {
                    
40			$url = AUTOPTIMIZE_WP_SITE_URL.$url;
                    
43		// first check; hostname wp site should be hostname of url
                    
44		$thisHost=@parse_url($url,PHP_URL_HOST);
                    
45		if ($thisHost!==parse_url(AUTOPTIMIZE_WP_SITE_URL,PHP_URL_HOST)) {
                    
108	// logger
                    
109	protected function ao_logger($logmsg,$appendHTML=true) {
                    
110		if ($appendHTML) {
                    
110		if ($appendHTML) {
                    
111			$logmsg="<!--noptimize--><!-- ".$logmsg." --><!--/noptimize-->";
                    
112			$this->content.=$logmsg;
                    
113		} else {
                    
114			error_log("Autoptimize: ".$logmsg);
                    
115		}
                    
                
blog-layout.php https://gitlab.com/hop23typhu/list-theme | PHP | 281 lines
                    
15// Set the correct post container layout classes
                    
16$blog_layout = 	avada_get_blog_layout();
                    
17$post_class = sprintf( 'fusion-post-%s', $blog_layout );
                    
18if ( $blog_layout == 'grid' ) {
                    
19	$container_class = sprintf( 'fusion-blog-layout-%s fusion-blog-layout-%s-%s isotope ', $blog_layout, $blog_layout, Avada()->settings->get( 'blog_grid_columns' ) );
                    
20} else {
                    
20} else {
                    
21	$container_class = sprintf( 'fusion-blog-layout-%s ', $blog_layout );
                    
22}
                    
136				if ( ( ( is_search() && ! Avada()->settings->get( 'search_featured_images' ) ) || ( ! is_search() && Avada()->settings->get( 'featured_images' ) ) ) &&
                    
137					 $blog_layout != 'large-alternate'
                    
138				) {
                    
226								// Render all meta data for medium and large layouts
                    
227								if ( $blog_layout == 'large' || $blog_layout == 'medium' ) {
                    
228									echo avada_render_post_metadata( 'standard' );
                    
                
after-the-deadline.php https://gitlab.com/endomorphosis/falkenstein | PHP | 286 lines
                    
28include( 'after-the-deadline/config-unignore.php' );
                    
29include( 'after-the-deadline/proxy.php' );
                    
30
                    
90
                    
91	/* kill the spellchecker.. don't need no steenkin PHP spell checker */
                    
92	foreach ( $buttons as $key => $button ) {
                    
124	$init_array['atd_ignore_rpc_url'] = admin_url( 'admin-ajax.php?action=atd_ignore&phrase=' );
                    
125	$init_array['atd_rpc_id']         = 'WPORG-' . md5(get_bloginfo('wpurl'));
                    
126	$init_array['atd_theme']          = 'wordpress';
                    
151	/* set the RPC URL for AtD */
                    
152	echo "AtD.rpc = " . json_encode( esc_url_raw( admin_url( 'admin-ajax.php?action=proxy_atd&url=' ) ) ) . ";\n";
                    
153
                    
252
                    
253	$pages = array( 'post.php', 'post-new.php', 'page.php', 'page-new.php', 'admin.php', 'profile.php' );
                    
254
                    
                
apc.object-cache.php https://gitlab.com/endomorphosis/falkenstein | PHP | 380 lines
                    
19if ( version_compare( '5.2.4', phpversion(), '>=' ) ) {
                    
20	wp_die( 'The APC object cache backend requires PHP 5.2 or higher. You are running ' . phpversion() . '. Please remove the <code>object-cache.php</code> file from your content directory.' );
                    
21}
                    
96
                    
97	return $wp_object_cache->switch_to_blog( $blog_id );
                    
98}
                    
291
                    
292	function switch_to_blog( $blog_id ) {
                    
293		$blog_id = (int) $blog_id;
                    
293		$blog_id = (int) $blog_id;
                    
294 		$this->blog_prefix = ( is_multisite() ? $blog_id : $table_prefix ) . ':';
                    
295	}
                    
349			$this->global_prefix = ( is_multisite() || defined('CUSTOM_USER_TABLE') && defined('CUSTOM_USER_META_TABLE') ) ? '' : $table_prefix;
                    
350			$this->blog_prefix = ( is_multisite() ? $blog_id : $table_prefix ) . ':';
                    
351		}
                    
                
permissions.inc.php git://github.com/modxcms/revolution.git | PHP | 192 lines
                    
1<?php
                    
2/**
                    
31$_lang['perm.delete_document_desc'] = 'Untuk menghapus atau menghapus sumber daya.';
                    
32$_lang['perm.delete_eventlog_desc'] = 'Untuk mengosongkan Log peristiwa.';
                    
33$_lang['perm.delete_plugin_desc'] = 'Untuk menghapus atau menghapus plugin.';
                    
58$_lang['perm.empty_cache_desc'] = 'Untuk mengosongkan cache situs.';
                    
59$_lang['perm.error_log_erase_desc'] = 'Untuk menghapus log kesalahan.';
                    
60$_lang['perm.error_log_view_desc'] = 'Untuk melihat log kesalahan.';
                    
80$_lang['perm.logout_desc'] = 'Untuk dapat melakukan logout sebagai pengguna.';
                    
81$_lang['perm.logs_desc'] = 'Untuk melihat log, seperti log kesalahan dan manajer.';
                    
82$_lang['perm.menu_reports_desc'] = 'Menampilkan item menu paling atas "Laporan".';
                    
180$_lang['perm.view_element_desc'] = 'Untuk mendapatkan daftar unsur atau elemen kelas.';
                    
181$_lang['perm.view_eventlog_desc'] = 'Untuk melihat Log peristiwa.';
                    
182$_lang['perm.view_offline_desc'] = 'Untuk dapat melihat situs ketika sedang offline status.';
                    
                
ibase_driver.php https://gitlab.com/joshuacurci/swim-crm | PHP | 396 lines
                    
1<?php
                    
2/**
                    
4 *
                    
5 * An open source application development framework for PHP
                    
6 *
                    
8 *
                    
9 * Copyright (c) 2014 - 2016, British Columbia Institute of Technology
                    
10 *
                    
31 * @copyright	Copyright (c) 2008 - 2014, EllisLab, Inc. (https://ellislab.com/)
                    
32 * @copyright	Copyright (c) 2014 - 2016, British Columbia Institute of Technology (http://bcit.ca/)
                    
33 * @license	http://opensource.org/licenses/MIT	MIT License
                    
                
class.pop3.php https://gitlab.com/boxnia/NFU_MOVIL | PHP | 410 lines
                    
1<?php
                    
2/*~ class.pop3.php
                    
3.---------------------------------------------------------------------------.
                    
3.---------------------------------------------------------------------------.
                    
4|  Software: PHPMailer - PHP email class                                    |
                    
5|   Version: 5.2.1                                                          |
                    
25/**
                    
26 * PHPMailer - PHP POP Before SMTP Authentication Class
                    
27 * NOTE: Designed for use with PHP version 5 and up
                    
139  /**
                    
140   * Combination of public events - connect, login, disconnect
                    
141   * @access public
                    
175    if ($result) {
                    
176      $login_result = $this->Login($this->username, $this->password);
                    
177
                    
                
ArticlesController.php https://gitlab.com/forby/Trace | PHP | 476 lines
                    
1<?php namespace App\Http\Controllers;
                    
2
                    
135
                    
136		// Get the currently logged in user
                    
137		$user = Auth::user();
                    
288		// Like the Article
                    
289		// Uses currently logged in user.
                    
290		$article->like();
                    
329		// Like the Article
                    
330		// Uses currently logged in user.
                    
331		$article->unlike();
                    
                
Atom.php https://gitlab.com/blingbang2016/shop | PHP | 400 lines
                    
1<?php
                    
2/**
                    
16 * @package    Zend_Feed_Reader
                    
17 * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
                    
18 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
24 */
                    
25#require_once 'Zend/Feed/Reader.php';
                    
26
                    
29 */
                    
30#require_once 'Zend/Feed/Reader/EntryInterface.php';
                    
31
                    
34 */
                    
35#require_once 'Zend/Feed/Reader/EntryAbstract.php';
                    
36
                    
39 */
                    
40#require_once 'Zend/Feed/Reader/Extension/Atom/Entry.php';
                    
41
                    
                
Grid.php https://gitlab.com/blingbang2016/shop | PHP | 267 lines
                    
1<?php
                    
2/**
                    
9 * It is also available through the world-wide-web at this URL:
                    
10 * http://opensource.org/licenses/osl-3.0.php
                    
11 * If you did not receive a copy of the license and are unable to
                    
23 * @copyright  Copyright (c) 2006-2016 X.commerce, Inc. and affiliates (http://www.magento.com)
                    
24 * @license    http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
                    
25 */
                    
187                        'url'     => array(
                    
188                            'base'=>'*/catalog_product_review/edit',
                    
189                            'params'=> array(
                    
201
                    
202        $this->addRssList('rss/catalog/review', Mage::helper('catalog')->__('Pending Reviews RSS'));
                    
203
                    
244    {
                    
245        return $this->getUrl('*/catalog_product_review/edit', array(
                    
246            'id' => $row->getReviewId(),
                    
                
template-tags.php https://gitlab.com/aristath/mdl | PHP | 266 lines
                    
27			<div class="nav-previous"><?php next_posts_link( esc_html__( 'Older posts', 'mdl' ) ); ?></div>
                    
28			<?php endif; ?>
                    
29
                    
35	</nav><!-- .navigation -->
                    
36	<?php
                    
37}
                    
55	<nav class="navigation post-navigation" role="navigation">
                    
56		<h2 class="screen-reader-text"><?php esc_html_e( 'Post navigation', 'mdl' ); ?></h2>
                    
57		<div class="nav-links">
                    
246	if ( $all_the_cool_cats > 1 ) {
                    
247		// This blog has more than 1 category so mdl_categorized_blog should return true.
                    
248		return true;
                    
249	} else {
                    
250		// This blog has only 1 category so mdl_categorized_blog should return false.
                    
251		return false;
                    
                
account.php https://gitlab.com/Nightprince/Warcry-CMS | PHP | 234 lines
                    
146                <li>
                    
147                    <a href="<?php echo $config['BaseURL'], '/index.php?page=unstuck'; ?>">
                    
148                     <div id="icon" style="background-image:url(http://wow.zamimg.com/images/wow/icons/large/inv_misc_rune_01.jpg);"></div>
                    
156                <li>
                    
157                    <a href="<?php echo $config['BaseURL'], '/index.php?page=itemsets'; ?>">
                    
158                     <div id="icon" style="background-image:url(http://wow.zamimg.com/images/wow/icons/large/inv_chest_robe_raidpriest_k_01.jpg);"></div>
                    
211            	<li class="special"><a href="<?php echo $config['BaseURL'], '/index.php?page=pcode';?>">Promotion Codes<p></p><span></span></a></a>
                    
212            	<li><a href="<?php echo $config['BaseURL'], '/index.php?page=recruit-a-friend';?>">Recruit a Friend<p></p><span></span></a></a>
                    
213            	<li><a href="<?php echo $config['BaseURL'], '/index.php?page=items_refund'; ?>">Refund Items<p></p><span></span></a></li>
                    
216	            <li><a href="<?php echo $config['BaseURL'], '/index.php?page=changedname'; ?>">Change display name<p></p><span></span></a></li>
                    
217                <li><a href="<?php echo $config['BaseURL'], '/index.php?page=acactivity'; ?>">Account activity<p></p><span></span></a></li>
                    
218	            <li><a href="<?php echo $config['BaseURL'], '/index.php?page=sactivity'; ?>">Store activity<p></p><span></span></a></li>
                    
218	            <li><a href="<?php echo $config['BaseURL'], '/index.php?page=sactivity'; ?>">Store activity<p></p><span></span></a></li>
                    
219	            <li><a href="<?php echo $config['BaseURL'], '/index.php?page=cactivity'; ?>">Coins activity<p></p><span></span></a></li>
                    
220	        </ul>
                    
                
class-kirki-enqueue.php https://gitlab.com/aristath/kirki | PHP | 238 lines
                    
1<?php
                    
2/**
                    
203			$vars   = array(
                    
204				'logoImage'   => '',
                    
205				'description' => '',
                    
206			);
                    
207			if ( isset( $config['logo_image'] ) && '' !== $config['logo_image'] ) {
                    
208				$vars['logoImage'] = esc_url_raw( $config['logo_image'] );
                    
213
                    
214			if ( ! empty( $vars['logoImage'] ) || ! empty( $vars['description'] ) ) {
                    
215				wp_register_script( 'kirki-branding', Kirki::$url . '/assets/js/branding.js' );
                    
                
index.php git://git.savannah.nongnu.org/savane-cleanup.git | PHP | 363 lines
                    
1<?php
                    
2# Manage user preferences
                    
22
                    
23# we need to define the theme before loading the pre.php init script,
                    
24# otherwise the page needs to be reloaded for the change to take effect.
                    
25# see bug #1987
                    
26require_once('../../include/sane.php');
                    
27extract(sane_import('post',
                    
40
                    
41require_once('../../include/init.php');
                    
42require_once('../../include/timezones.php');
                    
48
                    
49session_require(array('isloggedin'=>1));
                    
50
                    
139
                    
140print '<form action="'.$_SERVER["PHP_SELF"].'" method="post">';
                    
141
                    
                
AdvancedServerDatabaseConfig.cs https://openHistorian.svn.codeplex.com/svn | C# | 388 lines
                    
10//
                    
11//      http://www.opensource.org/licenses/eclipse-1.0.php
                    
12//
                    
272            ToArchiveListSettings(settings.ArchiveList);
                    
273            settings.RolloverLog.LogPath = m_mainPath;
                    
274            settings.KeyType = new TKey().GenericTypeGuid;
                    
341
                    
342                    rollover.LogPath = m_mainPath;
                    
343                    rollover.ExecuteTimer = 1000;
                    
368            listSettings.AddPaths(FinalWritePaths);
                    
369            listSettings.LogSettings.LogPath = m_mainPath;
                    
370        }
                    
                
wp-settings.php https://gitlab.com/gregtyka/WordPress-stable | PHP | 323 lines
                    
5 *
                    
6 * Allows for some configuration in wp-config.php (see default-constants.php)
                    
7 *
                    
61if ( WP_CACHE )
                    
62	WP_DEBUG ? include( WP_CONTENT_DIR . '/advanced-cache.php' ) : @include( WP_CONTENT_DIR . '/advanced-cache.php' );
                    
63
                    
89if ( is_multisite() ) {
                    
90	require( ABSPATH . WPINC . '/ms-blogs.php' );
                    
91	require( ABSPATH . WPINC . '/ms-settings.php' );
                    
124require( ABSPATH . WPINC . '/post-thumbnail-template.php' );
                    
125require( ABSPATH . WPINC . '/category.php' );
                    
126require( ABSPATH . WPINC . '/category-template.php' );
                    
315 *
                    
316 * AJAX requests should use wp-admin/admin-ajax.php. admin-ajax.php can handle requests for
                    
317 * users not logged in.
                    
                
yii.php https://gitlab.com/aintenebris/memoria | PHP | 114 lines
                    
1<?php
                    
2/**
                    
50	'Invalid data received for parameter "{param}".' => 'Маълумоти номувофиқ барои параметри "{param}" гирифта шуд.',
                    
51	'Login Required' => 'Вуруд маҷбурист',
                    
52	'Missing required arguments: {params}' => 'Аргументи лозими вуҷд надорад: {params}',
                    
                
yii.php https://gitlab.com/aintenebris/memoria | PHP | 114 lines
                    
1<?php
                    
2/**
                    
27    'Invalid data received for parameter "{param}".' => 'Ungültige Daten erhalten für Parameter "{param}".',
                    
28    'Login Required' => 'Anmeldung erforderlich',
                    
29    'Missing required arguments: {params}' => 'Pflichtargumente fehlen: {params}',
                    
                
de_DE.js https://gitlab.com/wuhang2003/core | JavaScript | 123 lines
                    
10    "There is no error, the file uploaded with success" : "Es ist kein Fehler aufgetreten. Die Datei wurde erfolgreich hochgeladen.",
                    
11    "The uploaded file exceeds the upload_max_filesize directive in php.ini: " : "Die hochgeladene Datei überschreitet die upload_max_filesize-Vorgabe in php.ini",
                    
12    "The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form" : "Die Datei ist größer, als die MAX_FILE_SIZE-Vorgabe erlaubt, die im HTML-Formular spezifiziert ist",
                    
44    "This operation is forbidden" : "Diese Operation ist nicht erlaubt",
                    
45    "This directory is unavailable, please check the logs or contact the administrator" : "Dieses Verzeichnis ist nicht verfügbar, bitte überprüfen Sie die Logdateien oder kontaktieren Sie den Administrator",
                    
46    "Could not move \"{file}\", target exists" : "Die Datei konnte nicht verschoben werden \"{file}\", da die Datei im Zielordner bereits existiert",
                    
104    "Save" : "Speichern",
                    
105    "With PHP-FPM it might take 5 minutes for changes to be applied." : "Bei PHP-FPM kann es 5 Minuten dauern, bis Änderungen angewendet sind.",
                    
106    "Missing permissions to edit from here." : "Fehlende Berechtigungen um von hier aus zu bearbeiten.",
                    
                
city_list.php https://gitlab.com/alexprowars/bitrix | PHP | 324 lines
                    
1<?php
                    
2require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/prolog_admin_before.php");
                    
3require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/statistic/prolog.php");
                    
107				<td valign="center">
                    
108					<img src="/bitrix/admin/city_graph.php?find_data_type=<?=$find_data_type?><?=GetFilterParams($FilterArr)?>&width=<?=$width?>&height=<?=$height?>&lang=<?echo LANG?>" width="<?=$width?>" height="<?=$height?>">
                    
109				</td>
                    
117	<tr>
                    
118		<td valign="center"><img src="/bitrix/admin/city_diagram.php?<?=GetFilterParams($FilterArr)?>&lang=<?=LANG?>&find_data_type=<?=$find_data_type?>" width="<?=$diameter?>" height="<?=$diameter?>"></td>
                    
119		<td valign="center">
                    
145					elseif ($find_data_type=="NEW_GUESTS") :
                    
146					?><a href="/bitrix/admin/guest_list.php?lang=<?=LANGUAGE_ID?>&amp;find_city_id=<?echo urlencode($id)?>&amp;find_city_exact_match=Y&amp;find_sess2=1&amp;find_period_date1=<?echo urlencode($arFilter["DATE1"])?>&amp;find_period_date2=<?echo urlencode($arFilter["DATE2"])?>&amp;set_filter=Y"><?=$counter?></a><?
                    
147					elseif ($find_data_type=="HITS") :
                    
286$APPLICATION->SetTitle(GetMessage("STAT_RECORDS_LIST").': '.$group_title);
                    
287require_once ($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/prolog_admin_after.php");
                    
288
                    
323
                    
324<?require_once ($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/epilog_admin.php");?>
                    
                
2012-76-079.html https://gitlab.com/bernagg/TI | HTML | 113 lines
                    
18	<link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="http://blog.hugefree.com/feed/atom/" />
                    
19	<link rel="pingback" href="http://blog.hugefree.com/xmlrpc.php" />
                    
20
                    
20
                    
21		<link rel='archives' title='January 2012' href='http://blog.hugefree.com/2012/01/' />
                    
22	<link rel='archives' title='December 2011' href='http://blog.hugefree.com/2011/12/' />
                    
26	<link rel="alternate" type="application/rss+xml" title="World of Warcraft Gold,Buy RS Gold Instant Delivery,Fast &amp; Safe Rift Gold &raquo; World of Warcraft Gold &amp; Comments Feed" href="http://blog.hugefree.com/world-of-warcraft-gold/feed/" />
                    
27<link rel="EditURI" type="application/rsd+xml" title="RSD" href="http://blog.hugefree.com/xmlrpc.php?rsd" />
                    
28<link rel="wlwmanifest" type="application/wlwmanifest+xml" href="http://blog.hugefree.com/wp-includes/wlwmanifest.xml" /> 
                    
62	
                    
63		<a href="http://blog.hugefree.com" class="alignleft">Blog Home</a>
                    
64</div>
                    
90				<li><a href="http://blog.hugefree.com/2012/01/swtor-gold-mesothelioma-the-wrong-time-to-be-diagnosed-buy-wow-gold-world-of-warcraft-gold-swtor-credits/" title="swtor gold, Mesothelioma, The Wrong Time To Be Diagnosed | buy wow gold | world of warcraft gold | swtor credits">swtor gold, Mesothelioma, The Wrong Time To Be Diagnosed | buy wow gold | world of warcraft gold | swtor credits</a></li>
                    
91				<li><a href="http://blog.hugefree.com/2012/01/swtor-gold-you-can-overcome-loneliness-and-depression-buy-wow-gold-rs-gold/" title="swtor gold, You Can Overcome Loneliness and Depression | buy wow gold | rs gold">swtor gold, You Can Overcome Loneliness and Depression | buy wow gold | rs gold</a></li>
                    
92				<li><a href="http://blog.hugefree.com/2012/01/swtor-gold-al-kaline-detroit-tigers-mlb-baseball-biography-runescape-gold-cheap-wow-gold/" title="swtor gold, Al Kaline Detroit Tigers MLB Baseball Biography | runescape gold | cheap wow gold">swtor gold, Al Kaline Detroit Tigers MLB Baseball Biography | runescape gold | cheap wow gold</a></li>
                    
                
class-popup-public.php https://gitlab.com/darmawan.fatria/df-skp-2014 | PHP | 407 lines
                    
1<?php
                    
2// Load dependencies.
                    
2// Load dependencies.
                    
3require_once PO_INC_DIR . 'class-popup-base.php';
                    
4
                    
230	 * PopUp data is loaded via a normal WordPress ajax request, directed at
                    
231	 * the admin-ajax.php handler.
                    
232	 *
                    
237
                    
238		if ( ! in_array( $pagenow, array( 'wp-login.php', 'wp-register.php' ) ) ) {
                    
239			// Data is loaded via a normal WordPress ajax request.
                    
239			// Data is loaded via a normal WordPress ajax request.
                    
240			$this->script_data['ajaxurl'] = admin_url( 'admin-ajax.php' );
                    
241			$this->script_data['ajax_data']['orig_request_uri'] = $_SERVER['REQUEST_URI'];
                    
261
                    
262		if ( ! in_array( $pagenow, array( 'wp-login.php', 'wp-register.php' ) ) ) {
                    
263			/*
                    
                
ServerDatabasesControllerTest.php https://gitlab.com/trungthao379/phpmyadmin | PHP | 315 lines
                    
1<?php
                    
2/* vim: set expandtab sw=4 ts=4 sts=4: */
                    
5 *
                    
6 * @package PhpMyAdmin-test
                    
7 */
                    
12
                    
13require_once 'libraries/database_interface.inc.php';
                    
14
                    
14
                    
15require_once 'test/libraries/stubs/ResponseStub.php';
                    
16require_once 'test/PMATestCase.php';
                    
20 *
                    
21 * @package PhpMyAdmin-test
                    
22 */
                    
153        $this->assertRegExp(
                    
154            '/title="phpmyadmin"[[:space:]]*value="phpmyadmin"/',
                    
155            $html
                    
                
rpadlpar_core.c https://gitlab.com/deadnem/Singularity | C | 472 lines
                    
1/*
                    
2 * Interface for Dynamic Logical Partitioning of I/O Slots on
                    
3 * RPA-compliant PPC64 platform.
                    
31#include "../pci.h"
                    
32#include "rpaphp.h"
                    
33#include "rpadlpar.h"
                    
53	while ((dn = of_get_next_child(parent, dn))) {
                    
54		rc = rpaphp_get_drc_props(dn, NULL, &name, NULL, NULL);
                    
55		if ((rc == 0) && (!strcmp(drc_name, name)))
                    
62/* Find dlpar-capable pci node that contains the specified name and type */
                    
63static struct device_node *find_php_slot_pci_node(char *drc_name,
                    
64						  char *drc_type)
                    
71	while ((np = of_find_node_by_name(np, "pci"))) {
                    
72		rc = rpaphp_get_drc_props(np, NULL, &name, &type, NULL);
                    
73		if (rc == 0)
                    
                
Curl.php https://gitlab.com/blingbang2016/shop | PHP | 576 lines
                    
1<?php
                    
2/**
                    
9 * It is also available through the world-wide-web at this URL:
                    
10 * http://opensource.org/licenses/osl-3.0.php
                    
11 * If you did not receive a copy of the license and are unable to
                    
23 * @copyright  Copyright (c) 2006-2016 X.commerce, Inc. and affiliates (http://www.magento.com)
                    
24 * @license    http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
                    
25 */
                    
196     * Authorization: Basic header
                    
197     * Login credentials support
                    
198     *
                    
198     *
                    
199     * @param string $login username
                    
200     * @param string $pass password
                    
203    {
                    
204        $this->_auth['login'] = $login;
                    
205        $this->_auth['password'] = $pass;
                    
                
Flat.php https://gitlab.com/blingbang2016/shop | PHP | 362 lines
                    
1<?php
                    
2/**
                    
9 * It is also available through the world-wide-web at this URL:
                    
10 * http://opensource.org/licenses/osl-3.0.php
                    
11 * If you did not receive a copy of the license and are unable to
                    
21 * @category    Mage
                    
22 * @package     Mage_Catalog
                    
23 * @copyright  Copyright (c) 2006-2016 X.commerce, Inc. and affiliates (http://www.magento.com)
                    
23 * @copyright  Copyright (c) 2006-2016 X.commerce, Inc. and affiliates (http://www.magento.com)
                    
24 * @license    http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
                    
25 */
                    
25 */
                    
26class Mage_Catalog_Model_Product_Indexer_Flat extends Mage_Index_Model_Indexer_Abstract
                    
27{
                    
30     */
                    
31    const EVENT_MATCH_RESULT_KEY = 'catalog_product_flat_match_result';
                    
32
                    
                
mssql_driver.php https://gitlab.com/Illprotectyew/xlt | PHP | 517 lines
                    
1<?php
                    
2/**
                    
4 *
                    
5 * An open source application development framework for PHP
                    
6 *
                    
8 *
                    
9 * Copyright (c) 2014 - 2015, British Columbia Institute of Technology
                    
10 *
                    
31 * @copyright	Copyright (c) 2008 - 2014, EllisLab, Inc. (http://ellislab.com/)
                    
32 * @copyright	Copyright (c) 2014 - 2015, British Columbia Institute of Technology (http://bcit.ca/)
                    
33 * @license	http://opensource.org/licenses/MIT	MIT License
                    
124		{
                    
125			log_message('error', 'Unable to select database: '.$this->database);
                    
126
                    
361		// server the first time you request it, and query() already
                    
362		// calls error() once for logging purposes when a query fails.
                    
363		static $error = array('code' => 0, 'message' => NULL);
                    
                
SdwApi.java https://jonathan.svn.codeplex.com/svn | Java | 359 lines
                    
50      this.m_Client = Client.create (config);
                    
51      this.m_Service = this.m_Client.resource (UriBuilder.fromUri ("http://seekdeepwithin.com/code/api.php").build ());
                    
52   }
                    
167      } catch (UniformInterfaceException exception) {
                    
168         Dialogs.showErrorDialog (MainController.getInstance ().getStage (),
                    
169                                  "Unable to download library book information from the server! Please try again later.",
                    
                
Type0.php https://gitlab.com/devtoannh/cafe | PHP | 257 lines
                    
1<?php
                    
2/**
                    
17 * @subpackage Fonts
                    
18 * @copyright  Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: Type0.php 23775 2011-03-01 17:25:24Z ralph $
                    
21 */
                    
24/** Internally used classes */
                    
25require_once 'Zend/Pdf/Element/Array.php';
                    
26require_once 'Zend/Pdf/Element/Name.php';
                    
29/** Zend_Pdf_Resource_Font */
                    
30require_once 'Zend/Pdf/Resource/Font.php';
                    
31
                    
59 * @subpackage Fonts
                    
60 * @copyright  Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)
                    
61 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
                
template-bootstrap.php https://gitlab.com/danielortiz1982/spicer | PHP | 198 lines
                    
9
                    
10        <title><?php bloginfo('name');?></title>
                    
11
                    
13
                    
14        <link rel='stylesheet' type='text/css' href='<?php echo PAGEDIR; ?>/machines/libraries/mmenu/jquery.mmenu.all.css' />
                    
15        <link rel="stylesheet" type="text/css" href="<?php echo PAGEDIR; ?>/machines/libraries/owlcarousel/owlcarousel.css">
                    
25    </head>
                    
26    <body data-tempdir="<?php echo PAGEDIR; ?>" id="<?php echo get_post( $post )->post_name; ?>" <?=(returnMobile() == 'true')? 'class="mobileMode"' : 'class="desktopMode"';?>>
                    
27
                    
75                        <a class="navbar-brand" href="<?php echo home_url(); ?>">
                    
76                            <img src="<?php echo PAGEDIR; ?>/images/graphics/logo.png" alt="<?php bloginfo('name');?>" />
                    
77                        </a>
                    
192                <?php if (returnBrowser() !== "internet-explorer-8"): ?>
                    
193                    <script src="<?php echo PAGEDIR; ?>/machines/libraries/dynamics/dynamics.js"></script>
                    
194                <?php endif; ?>
                    
                
TranslationDebugCommand.php https://gitlab.com/matijabelec/bigpandadev | PHP | 268 lines
                    
128        // Load defined messages
                    
129        $currentCatalogue = new MessageCatalogue($locale);
                    
130        foreach ($transPaths as $path) {
                    
172                }
                    
173                $fallbackCatalogues[] = $fallbackCatalogue;
                    
174            }
                    
178        $headers = array('State', 'Domain', 'Id', sprintf('Message Preview (%s)', $locale));
                    
179        foreach ($fallbackCatalogues as $fallbackCatalogue) {
                    
180            $headers[] = sprintf('Fallback Message Preview (%s)', $fallbackCatalogue->getLocale());
                    
202                foreach ($fallbackCatalogues as $fallbackCatalogue) {
                    
203                    if ($fallbackCatalogue->defines($messageId, $domain) && $value === $fallbackCatalogue->get($messageId, $domain)) {
                    
204                        $states[] = self::MESSAGE_EQUALS_FALLBACK;
                    
210                $row = array($this->formatStates($states), $domain, $this->formatId($messageId), $this->sanitizeString($value));
                    
211                foreach ($fallbackCatalogues as $fallbackCatalogue) {
                    
212                    $row[] = $this->sanitizeString($fallbackCatalogue->get($messageId, $domain));
                    
                
template.php https://gitlab.com/gregtyka/WordPress-stable | PHP | 394 lines
                    
95 * Works by first retrieving the current slug for example 'category-default.php' and then
                    
96 * trying category ID, for example 'category-1.php' and will finally fallback to category.php
                    
97 * template, if those files don't exist.
                    
185 *
                    
186 * Attempts to locate 'home.php' first before falling back to 'index.php'.
                    
187 *
                    
193function get_home_template() {
                    
194	$templates = array( 'home.php', 'index.php' );
                    
195
                    
218 * Will first look for the specifically assigned page template
                    
219 * The will search for 'page-{slug}.php' followed by 'page-id.php'
                    
220 * and finally 'page.php'
                    
296 *
                    
297 * Some examples for the 'text/plain' mime type are 'text.php', 'plain.php', and
                    
298 * finally 'text_plain.php'.
                    
                
Users.php https://gitlab.com/urbanjunglestudio/movidly_admin | PHP | 132 lines
                    
1<?php
                    
2
                    
15     *     - hourly_quota integer the maximum number of emails Mandrill will deliver for this user each hour.  Any emails beyond that will be accepted and queued for later delivery.  Users with higher reputations will have higher hourly quotas
                    
16     *     - backlog integer the number of emails that are queued for delivery due to exceeding your monthly or hourly quotas
                    
17     *     - stats struct an aggregate summary of the account's sending stats
                    
                
Usermanagement.php https://gitlab.com/dmsapiens/physicians | PHP | 277 lines
                    
1<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
                    
2
                    
107    {
                    
108        if (!$this->session->userdata('logged_in')) {
                    
109            redirect('/');
                    
124    {
                    
125        if (!$this->session->userdata('logged_in')) {
                    
126            redirect('/');
                    
192                    $hash = $u['hash'];
                    
193                    $logo = $u['logo'];
                    
194                    $company = $u['company'];
                    
200                        'email' => $image->row()->email,
                    
201                        'logintype' => $image->row()->usertype,
                    
202                        'upload_image' => $image->row()->upload_image,
                    
203                        'hash' => $hash,
                    
204                        'logo' => $logo,
                    
205                        'company' => $company,
                    
                
jqplot.highlighter.min.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 57 lines
                    
8 * jqPlot is currently available for use in all personal or commercial projects 
                    
9 * under both the MIT (http://www.opensource.org/licenses/mit-license.php) and GPL 
                    
10 * version 2.0 (http://www.gnu.org/licenses/gpl-2.0.html) licenses. This means that you can 
                    
14 * know of any substantial use of jqPlot.  You can reach the author at: 
                    
15 * chris at jqplot dot com or see http://www.jqplot.com/info.php .
                    
16 *
                    
17 * If you are feeling kind and generous, consider supporting the project by
                    
18 * making a donation at: http://www.jqplot.com/donate.php .
                    
19 *
                    
23 *     author Ash Searle
                    
24 *     http://hexmen.com/blog/2007/03/printf-sprintf/
                    
25 *     http://hexmen.com/js/sprintf.js
                    
                
joomleague.php https://gitlab.com/julienv/joomleague | PHP | 431 lines
                    
1<?php
                    
2class JoomleagueConnector extends JLCalendar{
                    
193			// new insert for link to player profile
                    
194			//$newrows[$key]['link'] = 'index.php?option=com_joomleague&view=player&p='.$row->project_id.'&pid='.$row->id;
                    
195			$newrows[$key]['link'] = JoomleagueHelperRoute::getPlayerRoute( $row->project_id, $row->teamid, $row->id);
                    
209		$teams[0] = new stdclass;
                    
210		$teams[0]->name = $teams[0]->$teamnames = $teams[0]->logo_small = $teams[0]->logo_middle = $teams[0]->logo_big =  '';
                    
211
                    
262	{
                    
263		$image = $this->xparams->get('team_logos', 'logo_small');
                    
264		if ($image == '-') { return ''; }
                    
264		if ($image == '-') { return ''; }
                    
265		$logo = '';
                    
266
                    
402                     t.id, t.name, t.short_name, t.middle_name, t.info, t.club_id,
                    
403                     c.logo_small, c.logo_middle, c.logo_big, c.country,
                    
404                     p.name AS project_name
                    
                
developer_generates_method.feature https://gitlab.com/Pasantias/pasantiasASLG | Gherkin Specification | 417 lines
                    
6  Scenario: Generating a method
                    
7    Given the spec file "spec/CodeGeneration/MethodExample1/MarkdownSpec.php" contains:
                    
8      """
                    
8      """
                    
9      <?php
                    
10
                    
12
                    
13      use PhpSpec\ObjectBehavior;
                    
14      use Prophecy\Argument;
                    
24      """
                    
25    And the class file "src/CodeGeneration/MethodExample1/Markdown.php" contains:
                    
26      """
                    
26      """
                    
27      <?php
                    
28
                    
                
FAQ.htm https://gitlab.com/x33n/ProjectPier-Core | HTML | 341 lines
                    
189</div>
                    
190If you still don't see it, disable zlib.output_compression in your php.ini and it should appear.
                    
191</li>
                    
250<div class="doc-source">
                    
251<pre><code>require('a.php');
                    
252
                    
259<div class="doc-source">
                    
260<pre><code>require('b.php');
                    
261
                    
272<p><b>15.</b> <span class='question'>How can I send the PDF by email?</span></p>
                    
273As any other file, but an easy way is to use <a href="http://phpmailer.codeworxtech.com">PHPMailer</a> and
                    
274its in-memory attachment:
                    
310<br>
                    
311<a href="http://www.setasign.de/products/pdf-php-solutions/fpdi/" target="_blank">http://www.setasign.de/products/pdf-php-solutions/fpdi/</a><br>
                    
312<br>
                    
                
jlparameter.php https://gitlab.com/julienv/joomleague | PHP | 552 lines
                    
138		// Deprecation warning.
                    
139		JLog::add('JParameter::__construct is deprecated.', JLog::WARNING, 'deprecated');
                    
140
                    
347		// Deprecation warning.
                    
348		JLog::add('JParameter::getNumParams is deprecated.', JLog::WARNING, 'deprecated');
                    
349
                    
370		// Deprecation warning.
                    
371		JLog::add('JParameter::getGroups is deprecated.', JLog::WARNING, 'deprecated');
                    
372
                    
401		// Deprecation warning.
                    
402		JLog::add('JParameter::getParams is deprecated.', JLog::WARNING, 'deprecated');
                    
403
                    
432		// Deprecation warning.
                    
433		JLog::add('JParameter::__construct is deprecated.', JLog::WARNING, 'deprecated');
                    
434
                    
                
ko.js http://avblog.googlecode.com/svn/trunk/ | JavaScript | 502 lines
                    
146BrowseServerBlocked : "The resources browser could not be opened. Make sure that all popup blockers are disabled.",	//MISSING
                    
147DialogBlocked		: "It was not possible to open the dialog window. Make sure all popup blockers are disabled.",	//MISSING
                    
148
                    
175
                    
176// Image Dialog
                    
177DlgImgTitle			: "??? ??",
                    
326
                    
327// Replace Dialog
                    
328DlgReplaceTitle			: "???",
                    
335
                    
336// Paste Operations / Dialog
                    
337PasteErrorPaste	: "????? ??????? ???? ??? ??? ? ????. ??? ??? ??????. (Ctrl+V).",
                    
494
                    
495// About Dialog
                    
496DlgAboutAboutTab	: "About",
                    
                
index.py https://gitlab.com/xiaok/SaltAdmin | Python | 237 lines
                    
80            Expiry = 0 # 不记住登录,设置数据库里存储的token的过期时间与登录时间相等
                    
81        #db.query('''update users set loginhost="%s",logindate="%s" where id="%s"''' % (LoginHost,LoginDate,SID))
                    
82        db.query('''insert into login_logs (uid,ip,location,agent,token,expiry) values ("%s","%s","%s","%s","%s",NOW() + INTERVAL %d SECOND)''' % (SID,LoginHost,Location,Agent,Token,Expiry))
                    
82        db.query('''insert into login_logs (uid,ip,location,agent,token,expiry) values ("%s","%s","%s","%s","%s",NOW() + INTERVAL %d SECOND)''' % (SID,LoginHost,Location,Agent,Token,Expiry))
                    
83        db.query('''update users set loginfo=(select id from login_logs where uid="%s" and ip="%s" and token="%s" and  status="yes" order by id desc limit 1) where id="%s"''' % (SID,LoginHost,Token,SID))
                    
84    # 写入token到session,存储于服务器端
                    
123                g = db.query('''
                    
124                    select U.id,U.username,U.nickname,U.loginfo,L.id as LID,L.ip,L.date from login_logs as L
                    
125                    left join users as U on L.uid=U.id
                    
138                if d.loginfo != d.LID:
                    
139                    g2 = db.query('''select L.ip,L.date from users as U left join login_logs as L on U.loginfo=L.id where U.id="%s"''' % uid)
                    
140                    d = g2[0]
                    
166        try:
                    
167            getSQL = db.query('''select u.id,u.username,u.password,u.nickname,u.status,L.ip,L.location,L.date from users as u left join login_logs as L on u.loginfo=L.id where username="%s" and password=md5("%s")''' % (getPost.username,getPost.password))
                    
168        except:
                    
                
OLE_Root.php https://PHPExcel.svn.codeplex.com/svn | PHP | 482 lines
                    
11// | http://www.php.net/license/2_02.txt.                                 |
                    
12// | If you did not receive a copy of the PHP license and are unable to   |
                    
13// | obtain it through the world-wide-web, please send a note to          |
                    
22
                    
23require_once 'PHPExcel/Shared/OLE/OLE_PPS.php';
                    
24
                    
31*/
                    
32class PHPExcel_Shared_OLE_PPS_Root extends PHPExcel_Shared_OLE_PPS
                    
33	{
                    
162		$iSmallLen = $iSBcnt * $this->_SMALL_BLOCK_SIZE;
                    
163		$iSlCnt = floor($this->_BIG_BLOCK_SIZE / PHPExcel_Shared_OLE::OLE_LONG_INT_SIZE);
                    
164		$iSBDcnt = floor($iSBcnt / $iSlCnt) + (($iSBcnt % $iSlCnt)? 1:0);
                    
183	{
                    
184		$iWk = log($i2)/log(2);
                    
185		return ($iWk > floor($iWk))? floor($iWk)+1:$iWk;
                    
                
grupo.php https://gitlab.com/talueses/SIPVE | PHP | 237 lines
                    
45if(!isset($_SESSION['usuario'])){
                    
46	header("location: login.php",true);
                    
47	return false;
                    
51
                    
52require_once "../controller/grupo.control.op.php";// Class CONTROLLER
                    
53
                    
123                $('#accion').val('visualizar');
                    
124                $('#f1').attr('action','grupo.Acc.php');
                    
125                $('#f1').submit();
                    
188                                        <td align="center"><b><?php echo paginationSQL::$start+$key+1;?></b></td>
                    
189                                        <td><?php echo $row->nombre;?></td>
                    
190
                    
232            <div id="detalle" style="float:left;width:69%;height:650px;border-left:#000000 solid 1px;">
                    
233                <iframe name="frm1" id="frm1" frameborder="0" scrolling="no" style="width:100%; height:650px" src="grupo.Acc.php?accion=agregar"></iframe>
                    
234            </div>
                    
                
Core.class.php https://gitlab.com/adamlwalker/generatedata | PHP | 511 lines
                    
1<?php
                    
2
                    
13
                    
14	// overridable settings that the user may define in settings.php
                    
15	private static $demoMode = false;	
                    
37	private static $releaseDate = "2014-09-06";
                    
38	private static $minimumPHPVersion = "5.3.0";
                    
39	private static $minimumMySQLVersion = "4.1.3";
                    
42	private static $continents = array("africa", "asia", "central_america", "europe", "north_america", "oceania", "south_america");
                    
43	private static $isLoggedIn = false;
                    
44
                    
46	// left as public, because they're often modified / accessed, and it's just too fussy otherwise. The
                    
47	// PHPDoc helps my IDE figure out what the hell each of them are
                    
48
                    
157	private static function loadSettingsFile() {
                    
158		$settingsFilePath = realpath(__DIR__ . "/../../settings.php");
                    
159		if (file_exists($settingsFilePath)) {
                    
                
sso.php https://gitlab.com/Lidbary/foxyshop | PHP | 242 lines
                    
87
                    
88	//Auto-login if user wasn't logged in before
                    
89	//Note that if you don't have the querystring "redirect_to" set on the registration page the page will not redirect anywhere and won't appear logged in at first
                    
89	//Note that if you don't have the querystring "redirect_to" set on the registration page the page will not redirect anywhere and won't appear logged in at first
                    
90	$auto_login = apply_filters("foxyshop_new_user_auto_login", true);
                    
91	if (!is_user_logged_in() && $auto_login) wp_set_auth_cookie($user_id, false, is_ssl());
                    
116function foxyshop_login_message() {
                    
117	$message = '<p class="custom-message">' . __('Please login before checking out.', 'foxyshop') . ' <a href="' . get_bloginfo("wpurl") . '/wp-login.php?action=register">' . __('Click here to register.', 'foxyshop') . '</a></p><br />';
                    
118	return $message;
                    
174            <td class="column-columnname"><?php echo ($val['is_active'] == 1 ? __('Yes', 'foxyshop') : __('No', 'foxyshop')); ?></td>
                    
175            <td class="column-columnname"><a href="<?php echo $val['sub_token_url']; ?>&amp;cart=checkout" target="_blank"><?php _e('Update Info', 'foxyshop');?></a> | <a href="<?php echo $val['sub_token_url']; ?>&amp;sub_cancel=true&amp;cart=checkout" target="_blank"><?php _e('Cancel', 'foxyshop');?></a></td>
                    
176        </tr>
                    
194	if ((strpos($path, "action=register") !== false || strpos($path, "action=lostpassword") !== false) && isset($_REQUEST['redirect_to'])) return $path . '&amp;redirect_to='.urlencode($_REQUEST['redirect_to']);
                    
195	if (substr($path, strlen($path)-12) == "wp-login.php" && isset($_REQUEST['redirect_to'])) return $path . '?redirect_to='.urlencode($_REQUEST['redirect_to']);
                    
196	return $path;
                    
                
SimpleFontData.cpp https://gitlab.com/x33n/phantomjs | C++ | 304 lines
                    
91{
                    
92    GlyphPage* glyphPageZero = GlyphPageTreeNode::getRootChild(this, 0)->page();
                    
93
                    
94    // Treat the width of a '0' as the avgCharWidth.
                    
95    if (m_avgCharWidth <= 0.f && glyphPageZero) {
                    
96        static const UChar32 digitZeroChar = '0';
                    
111{
                    
112    GlyphPage* glyphPageZero = GlyphPageTreeNode::getRootChild(this, 0)->page();
                    
113    if (!glyphPageZero) {
                    
158    if (isCustomFont())
                    
159        GlyphPageTreeNode::pruneTreeCustomFontData(this);
                    
160    else
                    
170{
                    
171    GlyphPageTreeNode* node = GlyphPageTreeNode::getRootChild(this, character / GlyphPage::size);
                    
172    return node->page() ? node->page()->glyphAt(character % GlyphPage::size) : 0;
                    
                
server.h https://gitlab.com/Blueprint-Marketing/hhvm | C Header | 407 lines
                    
10   | http://www.php.net/license/3_01.txt                                  |
                    
11   | If you did not receive a copy of the PHP license and are unable to   |
                    
12   | obtain it through the world-wide-web, please send a note to          |
                    
12   | obtain it through the world-wide-web, please send a note to          |
                    
13   | license@php.net so we can mail you a copy immediately.               |
                    
14   +----------------------------------------------------------------------+
                    
17#ifndef incl_HPHP_HTTP_SERVER_SERVER_H_
                    
18#define incl_HPHP_HTTP_SERVER_SERVER_H_
                    
19
                    
23#include "hphp/runtime/server/takeover-agent.h"
                    
24#include "hphp/runtime/server/transport.h"
                    
25#include "hphp/util/exception.h"
                    
117   */
                    
118  virtual void logToAccessLog(Transport* transport) {}
                    
119
                    
                
umeditor.config.js https://gitlab.com/0072016/0072016-mmzrb- | JavaScript | 257 lines
                    
14    /**
                    
15     * 编辑器资源文件根路径。它所表示的含义是:以编辑器实例化页面为当前路径,指向编辑器资源文件(即dialog等文件夹)的路径。
                    
16     * 鉴于很多同学在使用编辑器的时候出现的种种路径问题,此处强烈建议大家使用"相对于网站根目录的相对路径"进行配置。
                    
139        //图片上传配置区
                    
140        ,imageUrl:"../admin/upload.php?infImgUpload=1"             //图片上传提交地址
                    
141        ,imagePath:URL                     //图片修正地址,引用了fixedImagePath,如有特殊需求,可自行配置
                    
                
wp_loaded.php https://gitlab.com/najomie/ljm | PHP | 281 lines
                    
161								));
                    
162								//$logger and call_user_func($logger, sprintf(__('Import #%s is not triggered. Request skipped.', 'wp_all_import_plugin'), $id));	
                    
163							}
                    
172								
                    
173								$log_storage = (int) PMXI_Plugin::getInstance()->getOption('log_storage');
                    
174
                    
180								if ($historyLogs->count() and $historyLogs->count() >= $log_storage ){
                    
181									$logsToRemove = $historyLogs->count() - $log_storage;
                    
182									foreach ($historyLogs as $i => $file){																					
                    
200									$wp_uploads = wp_upload_dir();	
                    
201									$log_file = wp_all_import_secure_file( $wp_uploads['basedir'] . DIRECTORY_SEPARATOR . PMXI_Plugin::LOGS_DIRECTORY, $history_log->id ) . DIRECTORY_SEPARATOR . $history_log->id . '.html';
                    
202									if ( @file_exists($log_file) ) wp_all_import_remove_source($log_file, false);	
                    
239									// $logger and call_user_func($logger, sprintf(__('Records Count %s', 'wp_all_import_plugin'), (int) $import->count));
                    
240									// $logger and call_user_func($logger, sprintf(__('Records Processed %s', 'wp_all_import_plugin'), (int) $import->queue_chunk_number));
                    
241
                    
                
redemptiondetail.php https://gitlab.com/nvtdn2006/azora | PHP | 316 lines
                    
1<?php require_once './includes/application.php'; $this->template = ''; $this->title = 'Redemption Detail'?>
                    
2
                    
2
                    
3<?php		
                    
4
                    
34				
                    
35				//Event Log
                    
36				$evtObj = new EventObject();					
                    
39				$evtObj->action_by = Authentication::getAttribute('login_id');					
                    
40				EventLog::Log($evtObj);
                    
41			
                    
63				$evtObj->action_by = Authentication::getAttribute('login_id');					
                    
64				EventLog::Log($evtObj);								
                    
65		
                    
235							<td width="60px">
                    
236								<img src="<?php echo $config['PRMSConfig']->live_site . '/domain/images/products/' . $image['sys_file_name']; ?>" width="50" height="50" alt="<?php echo $product['product']['product_name']; ?>" title="<?php echo $product['product']['product_name']; ?>"/></td>
                    
237							<td><b><?php echo $product['product']['product_name']; ?></b></td>
                    
                
QueryPluginBase.php https://gitlab.com/reasonat/test8 | PHP | 353 lines
                    
1<?php
                    
2
                    
92   *
                    
93   * This signature is something that can be used when perusing query logs to
                    
94   * discern where particular queries might be coming from.
                    
156   *   Either 'AND' or 'OR'. All items within this group will be added
                    
157   *   to the WHERE clause with this logical operator.
                    
158   * @param $group
                    
                
index.php http://pixie-cms.googlecode.com/svn/trunk/ | PHP | 548 lines
                    
43/* Check for config */
                    
44if ((!file_exists('admin/config.php')) or (filesize('admin/config.php') < 10)) {
                    
45	/* redirect to installer */
                    
88	}
                    
89	/* New! Built in php function. Tell php what the server timezone is so that we can use php 5's rewritten time and date functions with the correct time and without error messages */
                    
90	date_default_timezone_set("$server_timezone");
                    
91}
                    
92include_once 'admin/lib/lib_logs.php';
                    
93/* Start the runtime clock */
                    
110if (strnatcmp(phpversion(), '5.0.0') >= 0) {
                    
111	/* Load the php5 version of simplepie if you are running php5 */
                    
112	include_once 'admin/lib/lib_simplepie_php5.php';
                    
159	if (file_exists("admin/themes/{$site_theme}/theme.php")) {
                    
160		/* New! Your custom theme file must be named theme.php instead of index.php */
                    
161		include_once("admin/themes/{$site_theme}/theme.php");
                    
                
config.inc.php https://gitlab.com/gentotech/evotennissg | PHP | 263 lines
                    
5if(file_exists($wp_root . '/wp-load.php')) {
                    
6require_once($wp_root . "/wp-load.php");
                    
7} else if(file_exists($wp_root . '/wp-config.php')) {
                    
7} else if(file_exists($wp_root . '/wp-config.php')) {
                    
8require_once($wp_root . "/wp-config.php");
                    
9}else {
                    
28}
                    
29# Language of PHPFM.
                    
30$language       = "english";
                    
39
                    
40# Login is handled by Wordpress in this hack
                    
41# DO NOT enable phpfm_auth, as it will likely break the script
                    
91     "layout.gif"     => "html htm shtml htm pdf",
                    
92     "script.gif"     => "php php4 php3 phtml phps conf sh shar csh ksh tcl cgi pl js",
                    
93     "image2.gif"     => "jpeg jpe jpg gif png bmp",
                    
                
board.controller.php http://xe-board.googlecode.com/svn/trunk/ | PHP | 354 lines
                    
1<?php
                    
2    /**
                    
22            if(!$this->grant->write_document) return new Object(-1, 'msg_not_permitted');
                    
23            $logged_info = Context::get('logged_info');
                    
24
                    
54                $this->module_info->admin_mail = '';
                    
55                $obj->member_srl = -1*$logged_info->member_srl;
                    
56                $obj->email_address = $obj->homepage = $obj->user_id = '';
                    
153            if(!$this->grant->write_comment) return new Object(-1, 'msg_not_permitted');
                    
154            $logged_info = Context::get('logged_info');
                    
155
                    
169
                    
170                $obj->member_srl = -1*$logged_info->member_srl;
                    
171                $obj->email_address = $obj->homepage = $obj->user_id = '';
                    
324
                    
325            $logged_info = Context::get('logged_info');
                    
326
                    
                
xoops_version.php https://gitlab.com/BaseX/BaseX | PHP | 169 lines
                    
1<?php
                    
2// $Id: xoops_version.php 694 2006-09-04 11:33:22Z skalpa $
                    
3//  ------------------------------------------------------------------------ //
                    
4//                XOOPS - PHP Content Management System                      //
                    
5//                    Copyright (c) 2000 XOOPS.org                           //
                    
39$modversion['official'] = 1;
                    
40$modversion['image'] = "images/system_slogo.png";
                    
41$modversion['dirname'] = "system";
                    
44$modversion['hasAdmin'] = 1;
                    
45$modversion['adminindex'] = "admin.php";
                    
46$modversion['adminmenu'] = "menu.php";
                    
47
                    
48$modversion['onUpdate'] = "include/update.php";
                    
49
                    
82// Blocks
                    
83$modversion['blocks'][1]['file'] = "system_blocks.php";
                    
84$modversion['blocks'][1]['name'] = _MI_SYSTEM_BNAME2;
                    
                
store.php https://gitlab.com/alexprowars/bitrix | PHP | 415 lines
                    
1<?php
                    
2
                    
2
                    
3namespace Bitrix\Catalog;
                    
4
                    
38 *
                    
39 * @package Bitrix\Catalog
                    
40 *
                    
48 * @method static EO_Store_Entity getEntity()
                    
49 * @method static \Bitrix\Catalog\EO_Store createObject($setDefaultValues = true)
                    
50 * @method static \Bitrix\Catalog\EO_Store_Collection createCollection()
                    
50 * @method static \Bitrix\Catalog\EO_Store_Collection createCollection()
                    
51 * @method static \Bitrix\Catalog\EO_Store wakeUpObject($row)
                    
52 * @method static \Bitrix\Catalog\EO_Store_Collection wakeUpCollection($rows)
                    
62	{
                    
63		return 'b_catalog_store';
                    
64	}
                    
                
CurrentUrlRewritesRegeneratorTest.php https://gitlab.com/yousafsyed/easternglamor | PHP | 320 lines
                    
14{
                    
15    /** @var \Magento\CatalogUrlRewrite\Model\Product\CurrentUrlRewritesRegenerator */
                    
16    protected $currentUrlRewritesRegenerator;
                    
23
                    
24    /** @var \Magento\CatalogUrlRewrite\Model\ProductUrlPathGenerator|\PHPUnit_Framework_MockObject_MockObject */
                    
25    protected $productUrlPathGenerator;
                    
26
                    
27    /** @var \Magento\Catalog\Model\Product|\PHPUnit_Framework_MockObject_MockObject */
                    
28    protected $product;
                    
29
                    
30    /** @var \Magento\Catalog\Model\Category|\PHPUnit_Framework_MockObject_MockObject */
                    
31    protected $category;
                    
32
                    
33    /** @var \Magento\CatalogUrlRewrite\Model\ObjectRegistry|\PHPUnit_Framework_MockObject_MockObject */
                    
34    protected $objectRegistry;
                    
                
meta.js https://gitlab.com/Mirros/cdnjs | JavaScript | 181 lines
                    
14  CodeMirror.modeInfo = [
                    
15    {name: "APL", mime: "text/apl", mode: "apl", ext: ["dyalog", "apl"]},
                    
16    {name: "PGP", mimes: ["application/pgp", "application/pgp-keys", "application/pgp-signature"], mode: "asciiarmor", ext: ["pgp"]},
                    
87    {name: "Perl", mime: "text/x-perl", mode: "perl", ext: ["pl", "pm"]},
                    
88    {name: "PHP", mime: "application/x-httpd-php", mode: "php", ext: ["php", "php3", "php4", "php5", "phtml"]},
                    
89    {name: "Pig", mime: "text/x-pig", mode: "pig", ext: ["pig"]},
                    
89    {name: "Pig", mime: "text/x-pig", mode: "pig", ext: ["pig"]},
                    
90    {name: "Plain Text", mime: "text/plain", mode: "null", ext: ["txt", "text", "conf", "def", "list", "log"]},
                    
91    {name: "PLSQL", mime: "text/x-plsql", mode: "sql", ext: ["pls"]},
                    
118    {name: "LaTeX", mime: "text/x-latex", mode: "stex", ext: ["text", "ltx"], alias: ["tex"]},
                    
119    {name: "SystemVerilog", mime: "text/x-systemverilog", mode: "verilog", ext: ["v"]},
                    
120    {name: "Tcl", mime: "text/x-tcl", mode: "tcl", ext: ["tcl"]},
                    
131    {name: "Velocity", mime: "text/velocity", mode: "velocity", ext: ["vtl"]},
                    
132    {name: "Verilog", mime: "text/x-verilog", mode: "verilog", ext: ["v"]},
                    
133    {name: "XML", mimes: ["application/xml", "text/xml"], mode: "xml", ext: ["xml", "xsl", "xsd"], alias: ["rss", "wsdl", "xsd"]},
                    
                
composite_log.php https://gitlab.com/alexprowars/bitrix | PHP | 461 lines
                    
14 */
                    
15require_once(dirname(__FILE__)."/../include/prolog_admin_before.php");
                    
16require_once($_SERVER["DOCUMENT_ROOT"].BX_ROOT."/modules/main/prolog.php");
                    
118
                    
119$logEntity = LogTable::getEntity();
                    
120
                    
242				"LAST_NAME" => $record["USER_LAST_NAME"],
                    
243				"LOGIN" => $record["USER_LOGIN"],
                    
244			),
                    
289
                    
290require($_SERVER["DOCUMENT_ROOT"].BX_ROOT."/modules/main/include/prolog_admin_after.php");
                    
291?>
                    
459
                    
460require($_SERVER["DOCUMENT_ROOT"].BX_ROOT."/modules/main/include/epilog_admin.php");
                    
461
                    
                
ManageController.php https://gitlab.com/wuhang2003/phpwind | PHP | 432 lines
                    
1<?php
                    
2
                    
9 * @author peihong <jhqblxt@gmail.com> Dec 2, 2011
                    
10 * @copyright ©2003-2103 phpwind.com
                    
11 * @license http://www.phpwind.com
                    
11 * @license http://www.phpwind.com
                    
12 * @version $Id: ManageController.php 24747 2013-02-20 03:13:43Z jieyin $
                    
13 * @package src.applications.bbs.controller
                    
31
                    
32		if (!$this->loginUser->isExists()) {
                    
33			$this->showError('login.not');
                    
78		}
                    
79		$manage = new PwThreadManage(new PwFetchTopicByTid($tids), $this->loginUser);
                    
80
                    
356		Wind::import('SRV:forum.srv.manage.PwThreadManageDoBan');
                    
357		$do = new PwThreadManageDoBan($manage, $this->loginUser);
                    
358		if ($this->doAction) {
                    
                
upload.php https://gitlab.com/plusplusminus/aevitas | PHP | 245 lines
                    
1<?php
                    
2
                    
7/**
                    
8 * upload.php
                    
9 *
                    
21
                    
22		GFCommon::log_debug( 'GFAsyncUpload::upload(): Starting.' );
                    
23
                    
28
                    
29		header( 'Content-Type: text/html; charset=' . get_option( 'blog_charset' ) );
                    
30		send_nosniff_header();
                    
38		if ( ! isset( $_REQUEST['form_id'] ) ) {
                    
39			GFCommon::log_debug( 'GFAsyncUpload::upload(): File upload aborted because the form_id was not found. The file may have been bigger than the max post size ini setting.' );
                    
40			die( '{"status" : "error", "error" : {"code": 500, "message": "' . __( 'Failed to upload file.', 'gravityforms' ) . '"}}' );
                    
50
                    
51		if ( rgar( $form, 'requireLogin' ) ) {
                    
52			if ( ! is_user_logged_in() ) {
                    
                
edit.php https://gitlab.com/JrLucena/moodle | PHP | 241 lines
                    
1<?php
                    
2// This file is part of Moodle - http://moodle.org/
                    
24
                    
25require_once('../config.php');
                    
26require_once('lib.php');
                    
26require_once('lib.php');
                    
27require_once('edit_form.php');
                    
28
                    
39    if (!empty($id)) {
                    
40        $returnurl = new moodle_url($CFG->wwwroot . '/course/view.php', array('id' => $id));
                    
41    } else {
                    
46            case 'category':
                    
47                $returnurl = new moodle_url($CFG->wwwroot . '/course/index.php', array('categoryid' => $categoryid));
                    
48                break;
                    
49            case 'catmanage':
                    
50                $returnurl = new moodle_url($CFG->wwwroot . '/course/management.php', array('categoryid' => $categoryid));
                    
51                break;
                    
                
api.php https://gitlab.com/autodealer-catalog/api | PHP | 177 lines
                    
1<?php defined('LOGIN') or die('No direct script access.');
                    
2
                    
14        parent::__construct();
                    
15        static::$catalogRoot = "/etka";
                    
16        static::setMark($this->rcv('mark'));
                    
17        /// Для "хлебных крошек", на какой каталог ссылаться при построении крошек
                    
18        /// Данным значениям (static::$arrActions) в helpers/breads.php сопоставляются последовательно параметрам из A2D::$aBreads
                    
19        static::$arrActions = ['mark','market','model','year','code','dir','type','group','subgroup','graphic'];
                    
50            /// Ссылка для перехода на страницу с иллюстрацией при клике по нужной модели
                    
51            $nextUrl = "/etka/illustration.php?mark={$mark}&market={$marketCode}&model={$modelCode}&year={$prod}&code={$code}&group={$group}&subgroup={$sgroup}&graphic={$graphic}";
                    
52
                    
                
ResetPasswordPostTest.php https://gitlab.com/yousafsyed/easternglamor | PHP | 307 lines
                    
1<?php
                    
2/**
                    
10
                    
11class ResetPasswordPostTest extends \PHPUnit_Framework_TestCase
                    
12{
                    
18
                    
19    /** @var \Magento\Customer\Model\Session|\PHPUnit_Framework_MockObject_MockObject */
                    
20    protected $sessionMock;
                    
21
                    
22    /** @var \Magento\Framework\View\Result\PageFactory|\PHPUnit_Framework_MockObject_MockObject */
                    
23    protected $pageFactoryMock;
                    
24
                    
25    /** @var \Magento\Customer\Api\AccountManagementInterface|\PHPUnit_Framework_MockObject_MockObject */
                    
26    protected $accountManagementMock;
                    
27
                    
28    /** @var \Magento\Customer\Api\CustomerRepositoryInterface|\PHPUnit_Framework_MockObject_MockObject */
                    
29    protected $customerRepositoryMock;
                    
                
AuthenticationHttpTest.php https://gitlab.com/trungthao379/phpmyadmin | PHP | 458 lines
                    
1<?php
                    
2/* vim: set expandtab sw=4 ts=4 sts=4: */
                    
77            ->method('setBodyId')
                    
78            ->with('loginform');
                    
79
                    
141        $_REQUEST['old_usr'] = '1';
                    
142        $GLOBALS['cfg']['Server']['LogoutURL'] = 'http://phpmyadmin.net/logout';
                    
143
                    
145            0, 0, 0,
                    
146            array('Location: http://phpmyadmin.net/logout' . ((SID) ? '?' . SID : ''))
                    
147        );
                    
207        $GLOBALS['PHP_AUTH_USER'] = '';
                    
208        $GLOBALS['PHP_AUTH_PW'] = '';
                    
209
                    
367        $GLOBALS['PHP_AUTH_USER'] = 'testUser';
                    
368        $GLOBALS['PHP_AUTH_PW'] = 'testPass';
                    
369        $GLOBALS['cfg']['Servers'][1] = array(
                    
                
CssCollectionRenderer.php https://gitlab.com/geeta7/drupal | PHP | 223 lines
                    
1<?php
                    
2
                    
29 *   parallel, so this is an IE-specific performance quirk:
                    
30 *   http://www.stevesouders.com/blog/2009/04/09/dont-use-import/.
                    
31 *
                    
56 * this class to work correctly even if modules have implemented custom
                    
57 * logic for grouping and aggregating files.
                    
58 */
                    
                
Feed.php https://gitlab.com/gregtyka/SiberianCMS | PHP | 320 lines
                    
1<?php
                    
2/**
                    
16 * @package    Zend_Feed_Writer
                    
17 * @copyright  Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
                    
18 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
18 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
19 * @version    $Id: Feed.php 24593 2012-01-05 20:35:02Z matthew $
                    
20 */
                    
24 */
                    
25require_once 'Zend/Feed/Writer/Extension/RendererAbstract.php';
                    
26
                    
29 * @package    Zend_Feed_Writer
                    
30 * @copyright  Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
                    
31 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
                
sm750_hw.c https://gitlab.com/kush/linux | C | 568 lines
                    
130			val = peek32(SYSTEM_CTRL) & ~SYSTEM_CTRL_DPMS_MASK;
                    
131			val |= SYSTEM_CTRL_DPMS_VPHP;
                    
132			poke32(SYSTEM_CTRL, val);
                    
209		}
                    
210		ddk750_set_logical_disp_out(disp_set);
                    
211	} else {
                    
219
                    
220	pr_info("ddk setlogicdispout done\n");
                    
221	return ret;
                    
436		pr_debug("flag = FB_BLANK_UNBLANK\n");
                    
437		dpms = SYSTEM_CTRL_DPMS_VPHP;
                    
438		pps = PANEL_DISPLAY_CTRL_DATA;
                    
441		pr_debug("flag = FB_BLANK_NORMAL\n");
                    
442		dpms = SYSTEM_CTRL_DPMS_VPHP;
                    
443		crtdb = CRT_DISPLAY_CTRL_BLANK;
                    
                
Profiler.php https://gitlab.com/gregtyka/SiberianCMS | PHP | 473 lines
                    
1<?php
                    
2/**
                    
17 * @subpackage Profiler
                    
18 * @copyright  Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: Profiler.php 25127 2012-11-16 15:17:42Z rob $
                    
21 */
                    
27 * @subpackage Profiler
                    
28 * @copyright  Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
                    
29 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
106    /**
                    
107     * Logical OR of any of the filter constants.  NULL if filtering by query
                    
108     * type is disable.  If an integer is stored here, it is the logical OR of
                    
130     * Enable or disable the profiler.  If $enable is false, the profiler
                    
131     * is disabled and will not log any queries sent to it.
                    
132     *
                    
                
Cloud.php https://gitlab.com/LisovyiEvhenii/tasks | PHP | 410 lines
                    
1<?php
                    
2/**
                    
17 * @subpackage Cloud
                    
18 * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
25 */
                    
26#require_once 'Zend/Tag/Item.php';
                    
27
                    
30 * @package    Zend_Tag
                    
31 * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
                    
32 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
152            } else {
                    
153                #require_once 'Zend/Tag/Cloud/Exception.php';
                    
154                throw new Zend_Tag_Cloud_Exception('Tag must be an instance of Zend_Tag_Taggable or an array');
                    
174        } else {
                    
175            #require_once 'Zend/Tag/Cloud/Exception.php';
                    
176            throw new Zend_Tag_Cloud_Exception('Tag must be an instance of Zend_Tag_Taggable or an array');
                    
                
Pgsql.php https://gitlab.com/luisrepo/ClienteWS | PHP | 336 lines
                    
1<?php
                    
2/**
                    
17 * @subpackage Adapter
                    
18 * @copyright  Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: Pgsql.php 23775 2011-03-01 17:25:24Z ralph $
                    
21 */
                    
26 */
                    
27require_once 'Zend/Db/Adapter/Pdo/Abstract.php';
                    
28
                    
35 * @subpackage Adapter
                    
36 * @copyright  Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)
                    
37 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
251             */
                    
252            require_once 'Zend/Db/Adapter/Exception.php';
                    
253            throw new Zend_Db_Adapter_Exception("LIMIT argument count=$count is not valid");
                    
                
Pgsql.php https://gitlab.com/gregtyka/SiberianCMS | PHP | 336 lines
                    
1<?php
                    
2/**
                    
17 * @subpackage Adapter
                    
18 * @copyright  Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: Pgsql.php 24593 2012-01-05 20:35:02Z matthew $
                    
21 */
                    
26 */
                    
27require_once 'Zend/Db/Adapter/Pdo/Abstract.php';
                    
28
                    
35 * @subpackage Adapter
                    
36 * @copyright  Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
                    
37 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
251             */
                    
252            require_once 'Zend/Db/Adapter/Exception.php';
                    
253            throw new Zend_Db_Adapter_Exception("LIMIT argument count=$count is not valid");
                    
                
 

Source

Language