PageRenderTime 2446ms queryTime 579ms sortTime 364ms getByIdsTime 88ms findMatchingLines 103ms

100+ results results for 'php log repo:ekiwookie/juss' (2446 ms)

Not the results you expected?
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	{
                    
                
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
                    
                
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");?>
                    
                
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.');
                    
                
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:
                    
                
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		{
                    
                
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";
                    
                
InstallSchema.php https://gitlab.com/yousafsyed/easternglamor | PHP | 407 lines
                    
1<?php
                    
2/**
                    
19     * {@inheritdoc}
                    
20     * @SuppressWarnings(PHPMD.ExcessiveMethodLength)
                    
21     */
                    
221            [],
                    
222            'Catalog entities (comma separated)'
                    
223        )->addColumn(
                    
                
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");?>
                    
                
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				}
                    
                
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
                    
                
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.';
                    
                
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
                    
                
functions.wp-scripts.php https://gitlab.com/Haithamgit/Project | 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',
                    
                
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(),
                    
                
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        }
                    
                
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");?>
                    
                
template.php https://gitlab.com/endomorphosis/jeffersonsmithmayor | PHP | 394 lines
                    
95 * Works by first retrieving the current slug for example 'category-default.php' and then
                    
96 * trying category ID, for example 'category-1.php' and will finally fallback to category.php
                    
97 * template, if those files don't exist.
                    
185 *
                    
186 * Attempts to locate 'home.php' first before falling back to 'index.php'.
                    
187 *
                    
193function get_home_template() {
                    
194	$templates = array( 'home.php', 'index.php' );
                    
195
                    
218 * Will first look for the specifically assigned page template
                    
219 * The will search for 'page-{slug}.php' followed by 'page-id.php'
                    
220 * and finally 'page.php'
                    
296 *
                    
297 * Some examples for the 'text/plain' mime type are 'text.php', 'plain.php', and
                    
298 * finally 'text_plain.php'.
                    
                
DB_result.php https://gitlab.com/betanurlaila/UI_onlineshop | PHP | 666 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
                    
                
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>
                    
                
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
                    
                
SnsClient.php https://gitlab.com/meixnertobias/thaimaidaiproductionwp | 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'))
                    
                
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;
                    
                
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.",
                    
                
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
                    
                
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",
                    
                
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;
                    
                
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");
                    
                
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>
                    
                
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	}
                    
                
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',
                    
                
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
                    
                
upload.php https://gitlab.com/plusplusminus/isissoftware | 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() ) {
                    
                
yii.php https://gitlab.com/PragmaticLinux/Yii | 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/PragmaticLinux/Yii | 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}',
                    
                
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
                    
                
class-wc-shortcode-my-account.php https://gitlab.com/hotrainer/zarmani | 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 );
                    
                
yii.php https://gitlab.com/daigiangaitu91/yii2 | 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}',
                    
                
CategoryRepositoryTest.php https://gitlab.com/daigiangaitu91/magento | 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     */
                    
                
Curl.php https://gitlab.com/daigiangaitu91/magento | 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)
                    
                
WebSocketParserD08.java git://pkgs.fedoraproject.org/jetty | Java | 389 lines
                    
11 *   The Apache License v2.0 is available at
                    
12 *   http://www.opensource.org/licenses/apache2.0.php
                    
13 *
                    
24// The Apache License v2.0 is available at
                    
25// http://www.opensource.org/licenses/apache2.0.php
                    
26// You may elect to redistribute this code under either of these licenses.
                    
35import org.eclipse.jetty.io.EndPoint;
                    
36import org.eclipse.jetty.util.log.Log;
                    
37import org.eclipse.jetty.util.log.Logger;
                    
47{
                    
48    private static final Logger LOG = Log.getLogger(WebSocketParserD08.class);
                    
49
                    
197                {
                    
198                    LOG.debug(e);
                    
199                    return (total_filled+events)>0?(total_filled+events):-1;
                    
                
RouteCollectionBuilderTest.php https://gitlab.com/jed-lagunday/laratuts | 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');
                    
                
mysql4-upgrade-1.5.9.9-1.6.0.0.php https://gitlab.com/blingbang2016/shop | PHP | 321 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 */
                    
281$installer->getConnection()->addForeignKey(
                    
282    $installer->getFkName('productalert/price', 'product_id', 'catalog/product', 'entity_id'),
                    
283    $installer->getTable('productalert/price'),
                    
284    'product_id',
                    
285    $installer->getTable('catalog/product'),
                    
286    'entity_id'
                    
313$installer->getConnection()->addForeignKey(
                    
314    $installer->getFkName('productalert/stock', 'product_id', 'catalog/product', 'entity_id'),
                    
315    $installer->getTable('productalert/stock'),
                    
                
import.php https://gitlab.com/JrLucena/moodle | PHP | 247 lines
                    
1<?php
                    
2// This file is part of Moodle - http://moodle.org/
                    
24
                    
25require_once(dirname(__FILE__).'/../../../config.php');
                    
26require_once($CFG->dirroot.'/lib/formslib.php');
                    
26require_once($CFG->dirroot.'/lib/formslib.php');
                    
27require_once($CFG->dirroot.'/grade/lib.php');
                    
28require_once($CFG->libdir.'/gradelib.php');
                    
28require_once($CFG->libdir.'/gradelib.php');
                    
29require_once('import_outcomes_form.php');
                    
30
                    
34
                    
35$PAGE->set_url('/grade/edit/outcome/import.php', array('courseid' => $courseid));
                    
36$PAGE->set_pagelayout('admin');
                    
42    }
                    
43    require_login($course);
                    
44    $context = context_course::instance($course->id);
                    
                
auto_search_table_shell.php http://prohits.googlecode.com/svn/trunk/ | PHP | 376 lines
                    
38$tableName = '';
                    
39$logfile = '../../logs/search.log';
                    
40$theTask_arr = array();
                    
59
                    
60$php_command_location = PHP_PATH;
                    
61//maybe it is remote connect prohits server---------
                    
142
                    
143checkLogSize($logfile, 2000);
                    
144$start_time = @date("Y-m-j G:i:s");
                    
237  //}
                    
238  $tpp_theURL = str_replace("autoSearch/auto_search_table_shell.php","",$tpp_theURL) . "tppTask/tpp_task_shell.php";
                    
239  $tpp_theURL .='?tableName='.$tableName.'&tppTaskID='.$theTask_arr['RunTPP'];
                    
338  writeLog("Get new created files from $tableName machine to Prohits.");
                    
339  $com_backup = PHP_PATH. " " .dirname(dirname(__FILE__))."/autoBackup/raw_backup_shell.php"." 0 ". $tableName;
                    
340  system($com_backup);
                    
                
taxonomy.post_update.php git://github.com/drupal/drupal.git | PHP | 366 lines
                    
10use Drupal\Core\Field\BaseFieldDefinition;
                    
11use Drupal\Core\Logger\RfcLogLevel;
                    
12use Drupal\Core\Site\Settings;
                    
178    'revision_created' => 'revision_created',
                    
179    'revision_log_message' => 'revision_log_message',
                    
180  ];
                    
250      $args = [
                    
251        ':url' => Url::fromRoute('dblog.overview', [], ['query' => ['type' => ['update'], 'severity' => [RfcLogLevel::WARNING]]])
                    
252          ->setOption('base_url', $base_url)
                    
255      ];
                    
256      return new PluralTranslatableMarkup($count, 'Taxonomy terms have been converted to be revisionable. One term with data integrity issues was restored. More details have been <a href=":url">logged</a>.', 'Taxonomy terms have been converted to be revisionable. @count terms with data integrity issues were restored. More details have been <a href=":url">logged</a>.', $args);
                    
257    }
                    
258    else {
                    
259      return new PluralTranslatableMarkup($count, 'Taxonomy terms have been converted to be revisionable. One term with data integrity issues was restored. More details have been logged.', 'Taxonomy terms have been converted to be revisionable. @count terms with data integrity issues were restored. More details have been logged.');
                    
260    }
                    
                
actions.c git://github.com/DimaSmirnov/Archlinux-downgrader.git | C | 352 lines
                    
148
                    
149    for (;pacmanlog_length>0;pacmanlog_length--) {
                    
150        if (!strcmp(package,pkgs[pacmanlog_length].name) && !strcmp("upgraded",pkgs[pacmanlog_length].action)) { // found necessary package
                    
150        if (!strcmp(package,pkgs[pacmanlog_length].name) && !strcmp("upgraded",pkgs[pacmanlog_length].action)) { // found necessary package
                    
151            if (strcmp(pkgs[pacmanlog_length].cur_version, pkgs[pacmanlog_length].prev_version)) { // if the same version - search next
                    
152                strcpy (full_path_to_packet,"/var/cache/pacman/pkg/");
                    
242    loglines_counter=0;
                    
243    pFile=fopen("/var/log/pacman.log","r");
                    
244    while (!feof(pFile)) {  // Count lines q-ty in pacman.log
                    
281    pacmanlog_length =loglines_counter;
                    
282    //printf ("pacman log contain %d lines\n", pacmanlog_length); //DEBUG
                    
283}
                    
292
                    
293    openlog("downgrader", LOG_PID|LOG_CONS, LOG_USER);
                    
294    alpm_handle = NULL;
                    
                
odbc_arginfo.h https://github.com/php/php-src.git | C Header | 377 lines
                    
1/* This is a generated file, edit the .stub.php file instead.
                    
2 * Stub hash: 27a50ba79ed632721ee458527ef543e4b44ee897 */
                    
41
                    
42#if defined(PHP_ODBC_HAVE_FETCH_HASH)
                    
43ZEND_BEGIN_ARG_WITH_RETURN_OBJ_TYPE_MASK_EX(arginfo_odbc_fetch_object, 0, 1, stdClass, MAY_BE_FALSE)
                    
48
                    
49#if defined(PHP_ODBC_HAVE_FETCH_HASH)
                    
50ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_odbc_fetch_array, 0, 1, MAY_BE_ARRAY|MAY_BE_FALSE)
                    
152	ZEND_ARG_INFO(0, odbc)
                    
153	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, catalog, IS_STRING, 1, "null")
                    
154	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, schema, IS_STRING, 1, "null")
                    
160	ZEND_ARG_INFO(0, odbc)
                    
161	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, catalog, IS_STRING, 1, "null")
                    
162	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, schema, IS_STRING, 1, "null")
                    
173	ZEND_ARG_INFO(0, odbc)
                    
174	ZEND_ARG_TYPE_INFO(0, catalog, IS_STRING, 1)
                    
175	ZEND_ARG_TYPE_INFO(0, schema, IS_STRING, 0)
                    
                
GenerateDoctrineEntityCommand.php https://gitlab.com/TouirMohamedMarwen/Symfony2 | PHP | 302 lines
                    
42
                    
43<info>php app/console doctrine:generate:entity --entity=AcmeBlogBundle:Blog/Post</info>
                    
44
                    
55
                    
56<info>php app/console doctrine:generate:entity --entity=AcmeBlogBundle:Blog/Post --with-repository</info>
                    
57
                    
60
                    
61<info>php app/console doctrine:generate:entity --entity=AcmeBlogBundle:Blog/Post --format=yml</info>
                    
62
                    
65
                    
66<info>php app/console doctrine:generate:entity --entity=AcmeBlogBundle:Blog/Post --format=annotation --fields="title:string(255) body:text" --with-repository --no-interaction</info>
                    
67EOT
                    
153
                    
154        $format = $dialog->askAndValidate($output, $dialog->getQuestion('Configuration format (yml, xml, php, or annotation)', $input->getOption('format')), array('Sensio\Bundle\GeneratorBundle\Command\Validators', 'validateFormat'), false, $input->getOption('format'), $formats);
                    
155        $input->setOption('format', $format);
                    
                
multiple-featured-images.php https://gitlab.com/hop23typhu/list-theme | 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
                    
                
Data.php https://gitlab.com/blingbang2016/shop | PHP | 478 lines
                    
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 */
                    
28/**
                    
29 * Catalog data helper
                    
30 *
                    
172            /* @var $product Mage_Catalog_Model_Product */
                    
173            if (Mage::helper('catalog/product')->canShow($product, 'catalog')) {
                    
174                return $product->getProductUrl();
                    
176        }
                    
177        if ($categoryId = Mage::getSingleton('catalog/session')->getLastViewedCategoryId()) {
                    
178            $category = Mage::getModel('catalog/category')->load($categoryId);
                    
425            $attribute = Mage::getModel('catalog/resource_eav_attribute')
                    
426                ->loadByCode(Mage_Catalog_Model_Product::ENTITY, 'msrp_enabled');
                    
427            $this->_mapApplyToProductType = $attribute->getApplyTo();
                    
                
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
                    
                
mssql_driver.php https://gitlab.com/digitalpoetry/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);
                    
                
social.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 452 lines
                    
11	$(function() {
                    
12		$('.social-login').click(function(e) {
                    
13			e.preventDefault();
                    
29							if (response.result == 'success') {
                    
30								// Add logged-in body class since we're not going to be refreshing the page.
                    
31								$('body').addClass('logged-in');
                    
42
                    
43								$('#primary').find('#social_login').parent().html(response.disconnect_url);
                    
44							}
                    
50
                    
51		// comments.php
                    
52		if ($('#social').length) {
                    
                
http.php https://gitlab.com/Gashler/dp | PHP | 519 lines
                    
1<?php
                    
2/**
                    
143 * 'httpversion' => '1.0'
                    
144 * 'user-agent'  => 'WordPress/' . $wp_version . '; ' . get_bloginfo( 'url' )
                    
145 * 'blocking'    => true
                    
319	if ( $url && !isset( $capabilities['ssl'] ) ) {
                    
320		$scheme = parse_url( $url, PHP_URL_SCHEME );
                    
321		if ( 'https' == $scheme || 'ssl' == $scheme ) {
                    
516		return $queried[ $host ];
                    
517	$queried[ $host ] = (bool) $wpdb->get_var( $wpdb->prepare( "SELECT domain FROM $wpdb->blogs WHERE domain = %s LIMIT 1", $host ) );
                    
518	return $queried[ $host ];
                    
                
Abstract.php https://gitlab.com/blingbang2016/shop | PHP | 385 lines
                    
1<?php
                    
2/**
                    
17 * @subpackage Helper
                    
18 * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
                    
19 * @version    $Id$
                    
27 * @subpackage Helper
                    
28 * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
                    
29 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
262        if ($this->_captureLock) {
                    
263            #require_once 'Zend/View/Helper/Placeholder/Container/Exception.php';
                    
264            $e = new Zend_View_Helper_Placeholder_Container_Exception('Cannot nest placeholder captures for the same placeholder');
                    
336     *
                    
337     * as defined by the PHP manual
                    
338     * @return int
                    
                
bltGrHairs.c git://pkgs.fedoraproject.org/blt | C | 545 lines
                    
6 *
                    
7 * Copyright 1993-1998 Lucent Technologies, Inc.
                    
8 *
                    
149	}
                    
150	XDrawSegments(graphPtr->display, Tk_WindowId(graphPtr->tkwin),
                    
151	    chPtr->gc, chPtr->segArr, 2);
                    
234    if (!graphPtr->crosshairs->hidden) {
                    
235	TurnOnHairs(graphPtr, graphPtr->crosshairs);
                    
236    }
                    
243    if (!graphPtr->crosshairs->hidden) {
                    
244	TurnOffHairs(graphPtr->tkwin, graphPtr->crosshairs);
                    
245    }
                    
325
                    
326    if (Blt_ConfigureWidgetComponent(graphPtr->interp, graphPtr->tkwin,
                    
327	    "crosshairs", "Crosshairs", configSpecs, 0, (char **)NULL,
                    
                
logs.php http://viet-group.googlecode.com/svn/trunk/ | PHP | 336 lines
                    
24$sql = "SELECT SQL_CALC_FOUND_ROWS * FROM `" . $db_config['prefix'] . "_logs` WHERE `id`!=0";
                    
25$base_url = NV_BASE_ADMINURL . "index.php?" . NV_NAME_VARIABLE . "=" . $module_name . "&" . NV_OP_VARIABLE . "=" . $op;
                    
26
                    
41	{
                    
42		nv_insert_logs( NV_LANG_DATA, $module_name, sprintf ( $lang_module['filter_check_log'], $op ), $admin_info['username'] . " - " . $admin_info['userid'], 0 );
                    
43		Header( "Location: " . NV_BASE_ADMINURL . "index.php?" . NV_NAME_VARIABLE . "=" . $module_name . "&" . NV_OP_VARIABLE . "=" . $op );
                    
81			$to = mktime( 0, 0, 0, $match[2], $match[1], $match[3] );
                    
82			$sql .= " AND `log_time` <= " . $to;
                    
83			$base_url .= "&amp;to=" . $data_search['to'];
                    
157{
                    
158	$sql .= " ORDER BY `log_time` " . $order['time']['order'];
                    
159}
                    
315    $xtpl->assign( 'CLASS', $a % 2 == 1 ? " class=\"second\"" : "" );
                    
316    $xtpl->assign( 'DEL_URL', NV_BASE_ADMINURL . "index.php?" . NV_NAME_VARIABLE . "=" . $module_name . "&amp;" . NV_OP_VARIABLE . "=log&amp;" . NV_OP_VARIABLE . "=logs_del&amp;id=" . $data_i['id'] );
                    
317    $xtpl->assign( 'BACK_URL', $base_url );
                    
                
tabby.js https://code.google.com/p/quickdiagrams/ | JavaScript | 269 lines
                    
63				if (16 == $.fn.tabby.catch_kc(e)) pressed.shft = false;
                    
64			}).bind('blur',function (e) { // workaround for Opera -- http://www.webdeveloper.com/forum/showthread.php?p=806588
                    
65				if (9 == pressed.last) $(e.target).one('focus',function (e) {pressed.last = null;}).get(0).focus();
                    
76	function debug($obj) {
                    
77		if (window.console && window.console.log)
                    
78		window.console.log('textarea count: ' + $obj.size());
                    
                
lib.php https://gitlab.com/JrLucena/moodle | PHP | 339 lines
                    
1<?php
                    
2// This file is part of Moodle - http://moodle.org/
                    
24 */
                    
25require_once($CFG->dirroot . '/repository/lib.php');
                    
26
                    
86        if (!isset($this->service)) {
                    
87            require_once($CFG->libdir . '/google/lib.php');
                    
88            $this->client = get_google_client();
                    
122
                    
123    public function check_login() {
                    
124        return !empty($this->keyword);
                    
154        $ret  = array();
                    
155        $ret['nologin'] = true;
                    
156        $ret['page'] = (int)$page;
                    
250     */
                    
251    public function print_login($ajax = true) {
                    
252        $ret = array();
                    
                
silcske_payload-silc_ske_payload_start_free.html git://pkgs.fedoraproject.org/libsilc | HTML | 220 lines
                    
127&nbsp;&nbsp;&nbsp; <a href=silctime.html><img src=box2.gif border=0 alt=>Time Utility Functions</a><br />
                    
128&nbsp;&nbsp;&nbsp; <a href=silclog.html><img src=box2.gif border=0 alt=>Logging Interface</a><br />
                    
129&nbsp;&nbsp;&nbsp; <a href=silcconfig.html><img src=box2.gif border=0 alt=>Config File Interface</a><br />
                    
131&nbsp;&nbsp;&nbsp; <a href=silchttpserver.html><img src=box2.gif border=0 alt=>SILC HTTP Server Interface</a><br />
                    
132&nbsp;&nbsp;&nbsp; <a href=silchttpphp.html><img src=box2.gif border=0 alt=>SILC HTTP PHP Translator</a><br />
                    
133
                    
                
admin-widgets.php git://github.com/q2a/question2answer.git | PHP | 346 lines
                    
1<?php
                    
2/*
                    
18
                    
19	More about this license: http://www.question2answer.org/license.php
                    
20*/
                    
26
                    
27require_once QA_INCLUDE_DIR . 'app/admin.php';
                    
28require_once QA_INCLUDE_DIR . 'db/selects.php';
                    
88
                    
89	'login' => 'users/login_title',
                    
90	'register' => 'users/register_title',
                    
133elseif (qa_clicked('dosavewidget')) {
                    
134	require_once QA_INCLUDE_DIR . 'db/admin.php';
                    
135
                    
                
KurogoSite.php git://github.com/modolabs/Kurogo-Mobile-Web.git | PHP | 319 lines
                    
1<?php
                    
2
                    
195    public function getBaseLogDir() {
                    
196        return $this->replaceDir(Kurogo::arrayVal($this->initArgs, 'BASE_LOG_DIR', $this->siteDir . DIRECTORY_SEPARATOR . 'logs'));
                    
197    }
                    
199    public function getLogDir() {
                    
200        return $this->replaceDir(Kurogo::arrayVal($this->initArgs, 'LOG_DIR', $this->siteDir . DIRECTORY_SEPARATOR . 'logs'));
                    
201    }
                    
                
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",
                    
                
PrettyPrinterAbstract.php https://gitlab.com/s.manchanda/wfa-leave-application | 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();
                    
                
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 *
                    
                
jquery.rating.js http://xbat-devel.googlecode.com/svn/trunk/ | JavaScript | 241 lines
                    
4 * Dual licensed under the MIT and GPL licenses:
                    
5 *   http://www.opensource.org/licenses/mit-license.php
                    
6 *   http://www.gnu.org/licenses/gpl.html
                    
10*//*
                    
11	Based on http://www.phpletter.com/Demo/Jquery-Star-Rating-Plugin/
                    
12 Original comments:
                    
12 Original comments:
                    
13	This is hacked version of star rating created by <a href="http://php.scripts.psu.edu/rja171/widgets/rating.php">Ritesh Agrawal</a>
                    
14	It thansform a set of radio type input elements to star rating type and remain the radio element name and value,
                    
15	so could be integrated with your form. It acts as a normal radio button.
                    
16	modified by : Logan Cai (cailongqun[at]yahoo.com.cn)
                    
17*/
                    
169			
                    
170			////if(window.console) console.log(['###', n, this.checked, $.rating.groups[n].initial]);
                    
171			if(this.checked) $.rating.groups[n].current = eStar;
                    
                
SqlController.php git://github.com/phpmyadmin/phpmyadmin.git | PHP | 324 lines
                    
1<?php
                    
2declare(strict_types=1);
                    
3
                    
4namespace PhpMyAdmin\Controllers;
                    
5
                    
5
                    
6use PhpMyAdmin\CheckUserPrivileges;
                    
7use PhpMyAdmin\Config\PageSettings;
                    
7use PhpMyAdmin\Config\PageSettings;
                    
8use PhpMyAdmin\Core;
                    
9use PhpMyAdmin\DatabaseInterface;
                    
9use PhpMyAdmin\DatabaseInterface;
                    
10use PhpMyAdmin\Html\Generator;
                    
11use PhpMyAdmin\Message;
                    
11use PhpMyAdmin\Message;
                    
12use PhpMyAdmin\ParseAnalyze;
                    
13use PhpMyAdmin\Response;
                    
                
modResource.class.php git://github.com/Dolibarr/dolibarr.git | PHP | 321 lines
                    
1<?php
                    
2/* Copyright (C) 2013-2014 Jean-François Ferry <jfefe@aternatik.fr>
                    
23 * 	\brief		Resource module descriptor.
                    
24 * 	\file		core/modules/modResource.class.php
                    
25 * 	\ingroup	resource
                    
27 */
                    
28include_once DOL_DOCUMENT_ROOT."/core/modules/DolibarrModules.class.php";
                    
29
                    
77		$this->picto = 'resource'; // mypicto@resource
                    
78		// Defined all module parts (triggers, login, substitutions, menus, css, etc...)
                    
79		// for default path (eg: /resource/core/xxxxx) (0=disable, 1=enable)
                    
80		// for specific path of parts (eg: /resource/core/modules/barcode)
                    
81		// for specific css file (eg: /resource/css/resource.css.php)
                    
82		$this->module_parts = array();
                    
87
                    
88		// Config pages. Put here list of php pages
                    
89		// stored into resource/admin directory, used to setup module.
                    
                
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;
                    
                
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' );
                    
                
GroupBenchmarkTest.php https://bitbucket.org/zurmo/zurmo/ | PHP | 351 lines
                    
1<?php
                    
2    /*********************************************************************************
                    
31     * these Appropriate Legal Notices must retain the display of the Zurmo
                    
32     * logo and Zurmo copyright notice. If the display of the logo is not reasonably
                    
33     * feasible for technical reasons, the Appropriate Legal Notices must display the words
                    
                
ncluasoap.lua git://github.com/leandrojsa/weblua.git | Lua | 281 lines
                    
48--processamento da tabela de parâmetros a serem passados a um WebService,
                    
49--pois WSs PHP feitos como a biblioteca NuSOAP, não 
                    
50--verificam o nome dos parâmetros, e sim a ordem em que são passados.
                    
63--quando o método no Web Service a ser chamado possuir um vetor como parâmetro.
                    
64--Logo, se existir um parâmetro, no método do WS, 
                    
65--de nome vet e do tipo array, a função tableToXml gerará
                    
99              --Senão, considera que a table está em formato de struct,
                    
100              --logo, possui chaves nomeadas. Desta forma, cria uma tag com o nome da table
                    
101              --e inclui seus elementos como sub-tags contendo seus respectivos nomes.
                    
116            --deve-se incluir uma letra qualquer antes do nome da chave, pois alguns
                    
117            --WS (como os em PHP) não suportam chaves numéricas no XML.
                    
118            --Isto é feito apenas quando a função é chamada para gerar o trecho XML para
                    
                
gruntfile.js https://gitlab.com/MichaelSchober/bambooclassesmompiche | JavaScript | 312 lines
                    
67                options: {
                    
68                    pretty: true,                           // Pretty print file sizes when logging.
                    
69                    archive: 'build/<%= pkg.name %>.zip'
                    
120                    src: [
                    
121                        '**/*.php',
                    
122                        '!**/node_modules/**',
                    
125                        '!**/framework/plugins/**',
                    
126                    ], //all php
                    
127                    expand: true,
                    
                
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>
                    
                
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',
                    
                
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));
                    
                
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; ?>
                    
                
api_functions.php https://github.com/openaustralia/twfy.git | PHP | 371 lines
                    
2
                    
3include_once '../../../../phplib/rabx.php';
                    
4
                    
122
                    
123function api_log_call($key) {
                    
124	if ($key=='DOCS') return;
                    
190		$out .= '<result>' . api_output_xml($arr) . '</result>';
                    
191	} elseif ($output == 'php') {
                    
192		$out = api_output_php($arr);
                    
215		$type = 'text/xml';
                    
216	} elseif ($o == 'php') {
                    
217		$type = 'text/php';
                    
233
                    
234function api_output_php($arr) {
                    
235	$out = serialize($arr);
                    
                
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",
                    
                
Users.php https://gitlab.com/hop23typhu/list-theme | PHP | 212 lines
                    
1<?php
                    
2/*+**********************************************************************************
                    
13	'LBL_MORE_INFORMATION'         => 'Pi&ugrave; Informazioni'     , 
                    
14	'LBL_USERLOGIN_ROLE'           => 'Ruolo e Login Utente'        , 
                    
15	'LBL_USER_IMAGE_INFORMATION'   => 'Fotografia Utente'           , 
                    
44	'LBL_HOME_PAGE_COMPO'          => 'Componenti di Home Page'     , 
                    
45	'LBL_LOGIN_HISTORY'            => 'Storico Login'               , 
                    
46	'LBL_USERDETAIL_INFO'          => 'Visualizzando i dettagli dell&#39;utente', 
                    
                
blog.rst https://gitlab.com/albertkeba/docs | ReStructuredText | 243 lines
                    
38Para fazer o download de uma cópia recente, visite o projeto do CakePHP no
                    
39github: `http://github.com/cakephp/cakephp/downloads
                    
40<http://github.com/cakephp/cakephp/downloads>`_
                    
43Você também pode clonar o repositório usando o `git <http://git-scm.com/>`_.
                    
44``git clone git://github.com/cakephp/cakephp.git``.
                    
45
                    
92:doc:`/getting-started/cakephp-conventions`), você será capaz de tirar proveito
                    
93de muitas funcionalidades do CakePHP e evitar arquivos de configurações.
                    
94O Cake é flexivel o bastante para acomodar até mesmo os piores esquemas de
                    
121        'port' => '',
                    
122        'login' => 'cakeBlog',
                    
123        'password' => 'c4k3-rUl3Z',
                    
222compatível) em seu servidor, você vai precisar usar o recurso de URLs amigáveis
                    
223do CakePHP. No arquivo ``/app/Config/core.php``, descomente uma linha parecida
                    
224com::
                    
                
main.js https://gitlab.com/Mirros/libs | JavaScript | 273 lines
                    
1var dialog_tpl_css = "<style>\
                    
2div.check_version_dialog .aui_header{background:transparent;opacity:1;filter: alpha(opacity=100);}\
                    
3div.check_version_dialog .aui_title{color:#fff;text-shadow:none;}\
                    
3div.check_version_dialog .aui_title{color:#fff;text-shadow:none;}\
                    
4div.check_version_dialog .aui_min,div.check_version_dialog .aui_max{display:none;}\
                    
5div.check_version_dialog .aui_close{border-radius: 12px;}\
                    
5div.check_version_dialog .aui_close{border-radius: 12px;}\
                    
6div.dialog-simple .dialog_mouse_in{.aui_header{.opacity(100);}}\
                    
7div.check_version_dialog .aui_content{overflow: visible;}\
                    
73		$.ajax({
                    
74			url:'index.php?explorer/unzip&path_to='+urlEncode(unzip_to)
                    
75				+'&path='+urlEncode(file),
                    
82		$.ajax({
                    
83			url: 'index.php?explorer/pathDelete',
                    
84			type:'POST',
                    
                
 

Source

Language