100+ results results for 'php function_exists' (354 ms)
27 include ABSPATH . WPINC . '/version.php'; // include an unmodified $wp_version 28 $php_version = phpversion(); 29 61 'version' => $wp_version, 62 'php' => $php_version, 63 'locale' => $locale, 104 $offer = (object) array_intersect_key( $offer, array_fill_keys( array( 'response', 'download', 'locale', 105 'packages', 'current', 'php_version', 'mysql_version', 'new_bundled', 'partial_version' ), '' ) ); 106 } 146 // Check for updated every 60 minutes if hitting update pages; else, check every 12 hours. 147 $timeout = in_array( current_filter(), array( 'load-plugins.php', 'load-update.php', 'load-update-core.php' ) ) ? 3600 : 43200; 148 $time_not_changed = isset( $current->last_checked ) && $timeout > ( time() - $current->last_checked ); 225 // Check for updated every 60 minutes if hitting update pages; else, check every 12 hours. 226 $timeout = in_array( current_filter(), array( 'load-themes.php', 'load-update.php', 'load-update-core.php' ) ) ? 3600 : 43200; 227 $time_not_changed = isset( $last_update->last_checked ) && $timeout > ( time( ) - $last_update->last_checked );options-framework.php https://gitlab.com/Blueprint-Marketing/interoccupy.net | PHP | 394 lines
61 * Creates the settings in the database by looping through the array 62 * we supplied in options.php. This is a neat way to do it since 63 * we won't have to save settings for headers, descriptions, or arguments. 179 180 // Inline scripts from options-interface.php 181 add_action('admin_head', 'of_admin_head'); 206 207if ( !function_exists( 'optionsframework_page' ) ) { 208function optionsframework_page() { 214 <div class="icon32" id="options_ico"><br /></div> 215 <?php //screen_icon( 'themes' ); 216 ?> 229 <input type="submit" class="button-primary" name="update" value="<?php esc_attr_e( 'Save Options' ); ?>" /> 230 <input type="submit" class="reset-button button-secondary" name="reset" value="<?php esc_attr_e( 'Restore Defaults' ); ?>" onclick="return confirm( '<?php print esc_js( __( 'Click OK to reset. Any theme settings will be lost!' ) ); ?>' );" /> 231 <div class="clear"></div>date_helper.php https://gitlab.com/ricoru21/py_incidencia | PHP | 611 lines
1<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); 2/** 4 * 5 * An open source application development framework for PHP 5.1.6 or newer 6 * 37 */ 38if ( ! function_exists('now')) 39{ 68 * 69 * This function is identical to PHPs date() function, 70 * except that it allows date codes to be formatted using 82 */ 83if ( ! function_exists('mdate')) 84{ 109 */ 110if ( ! function_exists('standard_date')) 111{autonav-widget.php https://bitbucket.org/wlindley/autonav.git | PHP | 260 lines
1<?php 2/* 29if (!class_exists('WL_Config_Form')) { 30 include 'wl-config-form.php'; 31} 32 33if (!function_exists('get_filter')) { 34 function get_filter($tag) {ClassLoader.php https://bitbucket.org/pastor399/newcastleunifc.git | PHP | 412 lines
1<?php 2/** 2/** 3 * @version $Id: ClassLoader.php 57540 2012-10-14 18:27:59Z btowles $ 4 * @author RocketTheme http://www.rockettheme.com 9 * SplClassLoader implementation that implements the technical interoperability 10 * standards for PHP 5.3 namespaces and class names. 11 * 11 * 12 * http://groups.google.com/group/php-standards/web/final-proposal 13 * 36 */ 37 const FILE_EXTENSION = '.php'; 38 /** 103 $commonsPath = realpath(dirname(__FILE__) . '/..'); 104 $fileName = str_replace('_', DIRECTORY_SEPARATOR, $className) . ".php"; 105 $full_file_path = $commonsPath . DIRECTORY_SEPARATOR . $fileName;variantlp-functions.php https://gitlab.com/vanafroo/voipWEB | PHP | 341 lines
1<?php 2define('VARIANTLP_DIR', get_template_directory() . '/mods/'); 4 5require VARIANTLP_DIR . 'class-tgm-plugin-activation.php'; 6 14 */ 15require_once VARIANTLP_DIR . '/inc/customizer/variant-customizer.php'; 16require_once VARIANTLP_DIR . '/inc/customizer/variant-custom-controls.php'; 61function variantlp_four_get_option($option_id, $default = '') { 62 if (function_exists('get_theme_mod')) { 63 $option_val = get_theme_mod($option_id); 74function variantlp_load_template() { 75// include_once VARIANTLP_DIR . 'template/landing-page.php'; 76 locate_template('mods/template/landing-page.php', true); 107 </style> 108 <?php 109 }CodeIgniter.php https://github.com/cloudmanic/CodeIgniter.git | PHP | 414 lines
1<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); 2/** 4 * 5 * An open source application development framework for PHP 5.1.6 or newer 6 * 62 */ 63 require(BASEPATH.'core/Common.php'); 64 69 */ 70 if (defined('ENVIRONMENT') AND file_exists(APPPATH.'config/'.ENVIRONMENT.'/constants.php')) 71 { 71 { 72 require(APPPATH.'config/'.ENVIRONMENT.'/constants.php'); 73 } 75 { 76 require(APPPATH.'config/constants.php'); 77 }fpdi_pdf_parser.php https://bitbucket.org/amitholkar/zenfile-18-05.git | PHP | 363 lines
1<?php 2// 217 case "/FlateDecode": 218 if (function_exists('gzuncompress')) { 219 $stream = (strlen($stream) > 0) ? @gzuncompress($stream) : ''; 220 } else { 221 $this->fpdi->error(sprintf("To handle %s filter, please compile php with zlib support.",$_filter[1])); 222 } 228 case '/LZWDecode': 229 include_once(_MPDF_PATH.'mpdfi/filters/FilterLZW.php'); 230 // mPDF 5.0 Removed pass by reference =& 234 case '/ASCII85Decode': 235 include_once(_MPDF_PATH.'mpdfi/filters/FilterASCII85.php'); 236 // mPDF 5.0 Removed pass by reference =&Config.php https://bitbucket.org/webpolis/liiv.git | PHP | 514 lines
1<?php 2/* 22 */ 23require_once CKFINDER_CONNECTOR_LIB_DIR . "/Core/AccessControlConfig.php"; 24/** 26 */ 27require_once CKFINDER_CONNECTOR_LIB_DIR . "/Core/ResourceTypeConfig.php"; 28/** 30 */ 31require_once CKFINDER_CONNECTOR_LIB_DIR . "/Core/ThumbnailsConfig.php"; 32/** 34 */ 35require_once CKFINDER_CONNECTOR_LIB_DIR . "/Core/ImagesConfig.php"; 36 445 { 446 if (function_exists('CheckAuthentication')) { 447 $this->_isEnabled = CheckAuthentication();http.php https://github.com/sharpmachine/wakeupmedia.com.git | PHP | 407 lines
1<?php 2 24 25 if ( function_exists('curl_init') || is_callable('curl_init') ) { 26 $this->implementation = new blcCurlHttp( 34 if ( !class_exists('Snoopy') ){ 35 $snoopy_file = ABSPATH. WPINC . '/class-snoopy.php'; 36 if (file_exists($snoopy_file) ){ 78 array( 79 '/([\?&]PHPSESSID=\w+)$/i', //remove session ID 80 '/(#[^\/]*)$/', //and anchors/fragments 170 171 //Set the proxy configuration. The user can provide this in wp-config.php 172 if (defined('WP_PROXY_HOST')) { 238 //libcurl "CURLE_" constants can't be used here because some of them have 239 //different names or values in PHP. 240 switch( $error_code ) {DirectFilesystem.php https://github.com/ChuguluGames/mediawiki-svn.git | PHP | 500 lines
1<?php 2 5 * 6 * @file DirectFilesystem.php 7 * @ingroup Deployment 17/** 18 * Filesystem class for direct PHP file and folder manipulation. 19 * 268 269 if ( function_exists( 'posix_getgrgid' ) ) { 270 $groupArray = posix_getgrgid( $gid ); 298 299 if ( function_exists( 'posix_getpwuid' ) ) { 300 $ownerArray = posix_getpwuid( $owneruid ); 426 public function makeDir( $path, $chmod = false, $chown = false, $chgrp = false ) { 427 // Safe mode fails with a trailing slash under certain PHP versions. 428 $path = rtrim( $path, '/' );index.php https://github.com/ddrl46/bugspray.git | PHP | 467 lines
1<?php 2/* 24 25// any function from functions.php would do 26$done = function_exists('db_query'); 51?> 52<?php if (!$done): ?> 53<!DOCTYPE html> 77 <body> 78<?php else: ?> 79 <script type="text/javascript"> 82 </script> 83<?php endif; ?> 84 <div id="installer_wrap1"> 84 <div id="installer_wrap1"> 85 <img src="<?php echo $done ? 'install/' : ''; ?>bg.jpg" id="installer_bg" alt="" /> 86 <table id="installer_wrap2">simpletest.php https://github.com/orchestra-io/sample-openx.git | PHP | 433 lines
1<?php 2 /** 5 * @subpackage UnitTester 6 * @version $Id: simpletest.php 7321 2007-06-05 09:08:01Z andrew.hill@openads.org $ 7 */ 12 if (version_compare(phpversion(), '5') >= 0) { 13 require_once(dirname(__FILE__) . '/reflection_php5.php'); 14 } else { 14 } else { 15 require_once(dirname(__FILE__) . '/reflection_php4.php'); 16 } 39 * because the class is an abstract case that should 40 * not be run. Once PHP4 is dropped this will disappear 41 * as a public method and "abstract" will rule. 205 * test run. Makes things like error queues 206 * available to PHP event handlers, and also 207 * gets around some nasty reference issues inaioseop_performance.php https://bitbucket.org/iwtechru/rivoinvest.com.git | PHP | 242 lines
1<?php 2/** 142 else $memory_usage = __('N/A', 'all_in_one_seo_pack' ); 143 if (is_callable('exif_read_data')) $exif = __('Yes', 'all_in_one_seo_pack' ). " ( V" . substr(phpversion('exif'),0,4) . ")" ; 144 else $exif = __('No', 'all_in_one_seo_pack' ); 149 150 if ( function_exists( 'wp_get_theme' ) ) { 151 $theme = wp_get_theme(); 156 157 if ( function_exists( 'is_multisite' ) ) { 158 if ( is_multisite() ) { 175 __('SQL Mode', 'all_in_one_seo_pack' ) => $sql_mode, 176 __('PHP Version', 'all_in_one_seo_pack' ) => PHP_VERSION, 177 __('PHP Safe Mode', 'all_in_one_seo_pack' ) => $safe_mode, 177 __('PHP Safe Mode', 'all_in_one_seo_pack' ) => $safe_mode, 178 __('PHP Allow URL fopen', 'all_in_one_seo_pack' ) => $allow_url_fopen, 179 __('PHP Memory Limit', 'all_in_one_seo_pack' ) => $memory_limit,GetFileController.php https://gitlab.com/staging06/myproject | PHP | 332 lines
1<?php 2/* 9* It is also available through the world-wide-web at this URL: 10* http://opensource.org/licenses/osl-3.0.php 11* If you did not receive a copy of the license and are unable to 22* @copyright 2007-2015 PrestaShop SA 23* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) 24* International Registered Trademark & Property of PrestaShop SA 51 if (!file_exists($file)) { 52 Tools::redirect('index.php'); 53 } 60 if (!$this->context->customer->isLogged() && !Tools::getValue('secure_key') && !Tools::getValue('id_order')) { 61 Tools::redirect('index.php?controller=authentication&back=get-file.php&key='.$key); 62 } elseif (!$this->context->customer->isLogged() && Tools::getValue('secure_key') && Tools::getValue('id_order')) { 123 $mimeType = false; 124 if (function_exists('finfo_open')) { 125 $finfo = @finfo_open(FILEINFO_MIME);self_test.php https://github.com/sharpmachine/wakeupmedia.com.git | PHP | 314 lines
33 <?php if (PHP_VERSION >= 5): ?> 34 <code><?php echo PHP_VERSION; ?></code> 35 <?php else: ?> 35 <?php else: ?> 36 <code><?php echo PHP_VERSION; ?></code>; 37 <?php endif; ?> 59 FTP functions: 60 <?php if (function_exists('ftp_connect')): ?> 61 <code>Installed</code> 69 Multibyte String support: 70 <?php if (function_exists('mb_substr')): ?> 71 <code>Installed</code> 79 cURL extension: 80 <?php if (function_exists('curl_init')): ?> 81 <code>Installed</code>memberCommentPlus.php https://github.com/joelbrock/is4c_nofc.git | PHP | 301 lines
1<? 2if (!function_exists("memDataConnect")) include_once("connect.php"); 3if (!function_exists("pinghost")) include_once("connect.php"); 34<div style='float: right;'> 35<form method=post action=pos.php> 36<input type=submit value=Back style='width: 70px;'> 291 echo "No details available."; 292 echo "<form method=post action=pos.php>"; 293 echo "<input type=submit value=Back style='width: 100px;'>";Security.php https://gitlab.com/wewo/evina-cake | PHP | 384 lines
4 * 5 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org) 6 * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) 12 * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) 13 * @link http://cakephp.org CakePHP(tm) Project 14 * @package Cake.Utility 14 * @package Cake.Utility 15 * @since CakePHP(tm) v .0.10.0.1233 16 * @license http://www.opensource.org/licenses/mit-license.php MIT License 86 * - Comparing Hashes: Simply pass the originally hashed password as the salt. 87 * The salt is prepended to the hash and php handles the parsing automagically. 88 * For convenience the `BlowfishPasswordHasher` class is available for use with 103 * @return string Hash 104 * @link http://book.cakephp.org/2.0/en/core-utility-libraries/security.html#Security::hash 105 */Memcache.php https://gitlab.com/team_fsn/fsn-php | PHP | 312 lines
20 * 21 * @category PHPExcel 22 * @package PHPExcel_CachedObjectStorage 22 * @package PHPExcel_CachedObjectStorage 23 * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) 24 * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL 33 * @package PHPExcel_CachedObjectStorage 34 * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) 35 */ 35 */ 36class PHPExcel_CachedObjectStorage_Memcache extends PHPExcel_CachedObjectStorage_CacheBase implements PHPExcel_CachedObjectStorage_ICache { 37 106 /** 107 * Is a value set in the current PHPExcel_CachedObjectStorage_ICache for an indexed cell? 108 *adodb-session.php https://github.com/christopher444/clearhealth.git | PHP | 434 lines
1<?php 2/* 11 12 This file provides PHP4 session management using the ADODB database 13wrapper library. 18 GLOBAL $HTTP_SESSION_VARS; 19 include('adodb.inc.php'); 20 include('adodb-session.php'); 29 include('adodb.inc.php'); 30 include('adodb-session.php'); 31 adodb_sess_open(false,false,false); 70 3. Recommended is PHP 4.0.6 or later. There are documented 71 session bugs in earlier versions of PHP. 72 110 /* 111 Thanks Joe Li. See http://phplens.com/lens/lensforum/msgs.php?id=11487&x=1 112*/functions.php https://gitlab.com/i-have-a-green/digitemis-v3 | PHP | 334 lines
105 $handler = null; 106 if (function_exists('curl_multi_exec') && function_exists('curl_exec')) { 107 $handler = Proxy::wrapSync(new CurlMultiHandler(), new CurlHandler()); 107 $handler = Proxy::wrapSync(new CurlMultiHandler(), new CurlHandler()); 108 } elseif (function_exists('curl_exec')) { 109 $handler = new CurlHandler(); 139 } 140 $defaultAgent .= ' PHP/' . PHP_VERSION; 141 } 298 * @throws Exception\InvalidArgumentException if the JSON cannot be decoded. 299 * @link http://www.php.net/manual/en/function.json-decode.php 300 */ 321 * @throws Exception\InvalidArgumentException if the JSON cannot be encoded. 322 * @link http://www.php.net/manual/en/function.json-encode.php 323 */Twig.php https://gitlab.com/3dplex/3d-plex-main-site | PHP | 420 lines
1<?php 2<<<<<<< HEAD 147 $this->twig->registerUndefinedFunctionCallback(function ($name) { 148 if (function_exists($name)) { 149 return new \Twig_Function_Function($name); 158 $this->twig->registerUndefinedFilterCallback(function ($name) { 159 if (function_exists($name)) { 160 return new \Twig_Filter_Function($name);ezbenchmarkrunner.php https://github.com/eeggenberger/ezpublish.git | PHP | 293 lines
1<?php 2/** 11/*! 12 \class eZBenchmarkrunner ezbenchmarkrunner.php 13 \brief The class eZBenchmarkrunner does 135 $function = $entry['function']; 136 if ( function_exists( $function ) ) 137 {class.uploadimage.php https://github.com/abhishekmica/Garden.git | PHP | 221 lines
1<?php if (!defined('APPLICATION')) exit(); 2/* 23 // Do we have GD? 24 if (!function_exists('gd_info')) 25 return FALSE; 40 41 if (!function_exists('gd_info')) 42 throw new Exception(T('The uploaded file could not be processed because GD is not installed.')); 89 90 if (!function_exists('gd_info')) 91 throw new Exception(T('The uploaded file could not be processed because GD is not installed.')); 177 // Create a new image from the raw source 178 if (function_exists('imagecreatetruecolor')) { 179 $TargetImage = imagecreatetruecolor($Width, $Height); // Only exists if GD2 is installedFtpFilesystem.php https://github.com/ChuguluGames/mediawiki-svn.git | PHP | 614 lines
1<?php 2 5 * 6 * @file FtpFilesystem.php 7 * @ingroup Deployment 85 // Attempt to create a connection, either with ssl or without. 86 if ( $this->options['ssl'] && function_exists( 'ftp_ssl_connect' ) ) { 87 wfSuppressWarnings(); 158 if ( !$recursive || !$this->isDir( $file ) ) { 159 if ( !function_exists( 'ftp_chmod' ) ) { 160 wfSuppressWarnings(); 524 /** 525 * Function copied from wp-admin/includes/class-wp-filesystem-ftpext.php in WP 3.0. 526 * Only made it conform to the general MW guidelines, might still be messy at places though.Common.php https://gitlab.com/sittipongwork/impro_dashboard | PHP | 560 lines
39*/ 40if ( ! function_exists('is_php')) 41{ 41{ 42 function is_php($version = '5.0.0') 43 { 48 { 49 $_is_php[$version] = (version_compare(PHP_VERSION, $version) < 0) ? FALSE : TRUE; 50 } 225 { 226 $file_path = APPPATH.'config/config.php'; 227 } 558 559/* End of file Common.php */ 560/* Location: ./system/core/Common.php */date.php https://gitlab.com/kath.de/cibedo_cibedo.de | PHP | 319 lines
25 * @param bool $display_time If true shows date and time, if false only shows date 26 * @param string $date_format Allows date and time formating using standard php syntax (http://php.net/manual/en/function.date.php) 27 * 68 * @param string $date The date to find the beginning of the day, defaults to today 69 * @param string $format Allows date and time formating using standard php syntax (http://php.net/manual/en/function.date.php) 70 * 159 * @param int $event (optional) 160 * @param string $date_format Allows date and time formating using standard php syntax (http://php.net/manual/en/function.date.php) 161 * @param string $timezone Timezone in which to present the date/time (or default behaviour if not set) 248 * @param bool $display_time If true shows date and time, if false only shows date 249 * @param string $date_format Allows date and time formating using standard php syntax (http://php.net/manual/en/function.date.php) 250 * @param string $timezone Timezone in which to present the date/time (or default behaviour if not set) 288 * @param bool $display_time If true shows date and time, if false only shows date 289 * @param string $date_format Allows date and time formating using standard php syntax (http://php.net/manual/en/function.date.php) 290 * @param string $timezone Timezone in which to present the date/time (or default behaviour if not set)options.php https://gitlab.com/edgarze188/sunrise | PHP | 220 lines
73 </label><br /> 74 <input name="read_more" type="text" id="read-more" value="<?php echo $read_more; ?>" <?php echo ( 1 !== $add_link ) ? 'disabled="disabled"' : ''; ?> /> 75 </td> 140 <label for="<?php echo $key_dashed; ?>"> 141 <input name="exclude_pages[]" type="checkbox" id="<?php echo $key_dashed; ?>" value="<?php echo $key; ?>" <?php echo ( in_array( $key, $exclude_pages ) ) ? 'checked="checked"' : ''; ?> /> 142 <?php echo $label; ?> 179 <label for="<?php echo 'ae-' . $tag; ?>"> 180 <input name="allowed_tags[]" type="checkbox" id="<?php echo 'ae-' . $tag; ?>" value="<?php echo $tag; ?>" <?php echo ( in_array( $tag, $allowed_tags ) ) ? 'checked="checked" ' : ''; ?> /> 181 <code><?php echo $tag; ?></code> 200 <?php foreach ( array_diff( $this->options_all_tags, $this->options_basic_tags ) as $tag ) : ?> 201 <option value="<?php echo $tag; ?>"><?php echo $tag; ?></option> 202 <?php endforeach; ?> 215 216 <?php require_once $this->plugin_dir_path . 'template/sidebar.php'; ?> 217block-patterns.php https://gitlab.com/suporte.spturis/carnaval2015.spturis.com.br | PHP | 203 lines
1<?php 2/** 15 */ 16if ( function_exists( 'register_block_pattern_category' ) ) { 17 26 */ 27if ( function_exists( 'register_block_pattern' ) ) { 28readmes.inc.php https://gitlab.com/Gashler/dp | PHP | 236 lines
1<?php 2/** 61 62 if (!function_exists ("NC_Markdown")) 63 include_once dirname (dirname (__FILE__)) . "/externals/markdown/nc-markdown.inc.php"; 65 $rm = file_get_contents ($path); // Get readme.txt file contents. 66 $mb = function_exists ("mb_convert_encoding") ? @mb_convert_encoding ($rm, "UTF-8", $GLOBALS["WS_PLUGIN__"]["s2member"]["c"]["mb_detection_order"]) : $rm; 67 $rm = ($mb) ? $mb : $rm; // Double check this, just in case conversion fails on an unpredicted charset. 99 if ($process_wp_syntax) // If we're processing <pre><code> tags for WP-Syntax. 100 if (function_exists ("wp_syntax_before_filter") && function_exists ("wp_syntax_before_filter")) 101 { 101 { 102 $rm = preg_replace ("/\<pre\>\<code\>/i", '<pre lang="php" escaped="true">', $rm); 103 $rm = preg_replace ("/\<\/code\>\<\/pre\>/i", '</pre>', $rm); 151 if ($process_wp_syntax) // If we're processing <pre><code> tags for WP-Syntax. 152 if (function_exists ("wp_syntax_before_filter") && function_exists ("wp_syntax_before_filter")) 153 {Inline.php https://github.com/thewiredman/symfony.git | PHP | 399 lines
1<?php 2 22 /** 23 * Convert a YAML string to a PHP array. 24 * 26 * 27 * @return array A PHP array representing the YAML string 28 */ 36 37 if (function_exists('mb_internal_encoding') && ((int) ini_get('mbstring.func_overload')) & 2) { 38 $mbEncoding = mb_internal_encoding(); 60 /** 61 * Dumps a given PHP variable to a YAML string. 62 * 62 * 63 * @param mixed $value The PHP variable to convert 64 *fruitful-function.php https://gitlab.com/sihabudinahmad/asppi | PHP | 331 lines
1<?php 2 18 19 if( function_exists( 'wp_enqueue_media' ) ){ 20 wp_enqueue_media(); 215 <div class="slides-btn"> 216 <span class="collapse_all"><?php _e('Collapse all', 'fruitful'); ?></span> 217 <span class="expand_all"><?php _e('Expand all', 'fruitful'); ?></span> 219 <ul class="slides"> 220 <?php 221 /*Init First Slide for noraml work script*/ 238 </ul> 239 <input type="button" class="button-primary add_new_btn" value="<?php _e('Add New Slide', 'fruitful'); ?>" /> 240<?phpheader.php https://gitlab.com/webkod3r/tripolis | PHP | 270 lines
2<?php global $woocommerce; ?> 3<html class="<?php echo ( ! Avada()->settings->get( 'smooth_scrolling' ) ) ? 'no-overflow-y' : ''; ?>" <?php language_attributes(); ?>> 4<head> 143 <?php if ( ( ( 'Boxed' == Avada()->settings->get( 'layout' ) && ( 'default' == get_post_meta( $c_pageID, 'pyre_page_bg_layout', true ) || '' == get_post_meta( $c_pageID, 'pyre_page_bg_layout', true ) ) ) || 'boxed' == get_post_meta( $c_pageID, 'pyre_page_bg_layout', true ) ) && 'Top' != Avada()->settings->get( 'header_position' ) ) : ?> 144 <?php if ( Avada()->settings->get( 'slidingbar_widgets' ) && ! is_page_template( 'blank.php' ) && ( 'Right' == Avada()->settings->get( 'header_position' ) || 'Left' == Avada()->settings->get( 'header_position' ) ) ) : ?> 145 <?php get_template_part( 'slidingbar' ); ?> 151 <div id="home" style="position:relative;top:1px;"></div> 152 <?php if ( Avada()->settings->get( 'slidingbar_widgets' ) && ! is_page_template( 'blank.php' ) && ! $boxed_side_header_right ) : ?> 153 <?php get_template_part( 'slidingbar' ); ?> 202 203 <?php if ( is_page_template( 'contact.php' ) && Avada()->settings->get( 'recaptcha_public' ) && Avada()->settings->get( 'recaptcha_private' ) ) : ?> 204 <script type="text/javascript">var RecaptchaOptions = { theme : '<?php echo Avada()->settings->get( 'recaptcha_color_scheme' ); ?>' };</script> 206 207 <?php if ( is_page_template( 'contact.php' ) && Avada()->settings->get( 'gmap_address' ) && ! Avada()->settings->get( 'status_gmap' ) ) : ?> 208 <?phpIP.php https://github.com/quarkness/piwik.git | PHP | 606 lines
1<?php 2/** 12 13if(Piwik_Common::isWindows() || !function_exists('inet_ntop')) { 14 function _inet_ntop($in_addr) { 14 function _inet_ntop($in_addr) { 15 return php_compat_inet_ntop($in_addr); 16 } 21} 22if(Piwik_Common::isWindows() || !function_exists('inet_pton')) { 23 function _inet_pton($address) { 23 function _inet_pton($address) { 24 return php_compat_inet_pton($address); 25 } 437 { 438 // PHP's reverse lookup supports ipv4 and ipv6 439 // except on Windows before PHP 5.3config.php https://gitlab.com/hop23typhu/bryepoxy | PHP | 216 lines
78 if ( ! function_exists( 'wp_http_supports' ) ) { 79 ?><b><?php esc_html_e( 'Disabled.', 'akismet' ); ?></b> <?php printf( esc_html( 'Your WordPress installation does not include the function %s; upgrade to the latest version of WordPress.', 'akismet' ), '<code>wp_http_supports</code>' ); ?><?php 80 } 81 else if ( ! wp_http_supports( array( 'ssl' ) ) ) { 82 ?><b><?php esc_html_e( 'Disabled.', 'akismet' ); ?></b> <?php esc_html_e( 'Your Web server cannot make SSL requests; contact your Web host and ask them to add support for SSL requests.', 'akismet' ); ?><?php 83 } 87 if ( $ssl_disabled ) { 88 ?><b><?php esc_html_e( 'Temporarily disabled.', 'akismet' ); ?></b> <?php esc_html_e( 'Akismet encountered a problem with a previous SSL request and disabled it temporarily. It will begin using SSL for requests again shortly.', 'akismet' ); ?><?php 89 } 90 else { 91 ?><b><?php esc_html_e( 'Enabled.', 'akismet' ); ?></b> <?php esc_html_e( 'All systems functional.', 'akismet' ); ?><?php 92 } 104 <p> 105 <label for="akismet_show_user_comments_approved" title="<?php esc_attr_e( 'Show approved comments' , 'akismet'); ?>"><input name="akismet_show_user_comments_approved" id="akismet_show_user_comments_approved" value="1" type="checkbox" <?php checked('1', get_option('akismet_show_user_comments_approved')); ?>> <?php esc_html_e('Show the number of approved comments beside each comment author', 'akismet'); ?></label> 106 </p>Storage.php https://bitbucket.org/kudutest1/moodlegit.git | PHP | 507 lines
1<?php 2/** 25 */ 26require_once 'Zend/Service/WindowsAzure/Credentials/CredentialsAbstract.php'; 27 30 */ 31require_once 'Zend/Service/WindowsAzure/Credentials/SharedKey.php'; 32 35 */ 36require_once 'Zend/Service/WindowsAzure/RetryPolicy/RetryPolicyAbstract.php'; 37 40 */ 41require_once 'Zend/Service/WindowsAzure/Exception.php'; 42 45 */ 46require_once 'Zend/Http/Client.php'; 47imageupload.php https://gitlab.com/haque.mdmanzurul/nga-loyaltymatters | PHP | 287 lines
1<?php 2 68 69 include_once AIU_BASE_PATH . 'includes/fileuploader/fileuploader.class.php'; 70 80 81 if (!function_exists('includeFile')) { 82 function includeFile($name, $type = 'config', $defaultName = 'default', $fileType = '.inc.php') { 93 } else { 94 $modx->messageQuit('Default AjaxImageUpload ' . $type . ' file "' . AIU_BASE_PATH . $folder . $defaultName . '.' . $type . '.inc.php" not found. Did you upload all snippet files?'); 95 } 106 107 include_once AIU_BASE_PATH . 'includes/PhpThumbFactory/ThumbLib.inc.php'; 108 // delete uploaded images 243 } 244 $thumb = PhpThumbFactory::create($path . $uniqueName); 245 $thumb->adaptiveResize($thumbX, $thumbY);router.php https://github.com/iconifyit/SkyBlue-1.1.git | PHP | 471 lines
1<?php 2 8* Examples: http://mydomain.tld/sbc/parentpagename/pagename.html 9* -> http://mydomain.tld/sbc/index.php?pid=pageid 10* http://mydomain.tld/sbc/parentpagename/pagename.25.htm 10* http://mydomain.tld/sbc/parentpagename/pagename.25.htm 11* -> http://mydomain.tld/sbc/index.php?pid=pageid&show=25 12*/ 229 else { 230 return FULL_URL . "index.php?pid={$pageID}" . $this->build_query($params); 231 } 241 function build_query($params) { 242 if (function_exists('http_build_query')) { 243 return http_build_query($params);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"); 2require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/prolog_admin_before.php"); 3require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/statistic/prolog.php"); 4/** @var CMain $APPLICATION */ 4/** @var CMain $APPLICATION */ 5include($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/statistic/colors.php"); 6require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/img.php"); 82 83if(!function_exists("ImageCreate")): 84 ShowError(GetMessage("STAT_GD_NOT_INSTALLED")); 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">presentations.php https://github.com/chopsuei3/oscc.git | PHP | 431 lines
1<?php 2/* 90 // Bail without 3.0. 91 if ( ! function_exists( '__return_false' ) ) 92 return;Xmlrpcs.php https://github.com/cawago/ci_campusync_auth.git | PHP | 536 lines
1<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); 2/** 4 * 5 * An open source application development framework for PHP 4.3.2 or newer 6 * 15 16if ( ! function_exists('xml_parser_create')) 17{ 17{ 18 show_error('Your PHP installation does not support XML'); 19} 534 535/* End of file Xmlrpcs.php */ 536/* Location: ./system/libraries/Xmlrpcs.php */lessen.tpl.d17.php https://github.com/jonathanslenders/balancirk-website.git | PHP | 361 lines
1<?php 2/* template head */ 2/* template head */ 3if (function_exists('Dwoo_Plugin_include')===false) 4 $this->getLoader()->loadPlugin('include'); 251 252 <?php if ((isset($this->scope["authenticated"]) ? $this->scope["authenticated"] : null)) { 253?> 253?> 254 <?php echo Dwoo_Plugin_include($this, "templates/_edit.tpl", null, null, null, '_root', null);?> 255 255 256 <?php 257}?> 358 359<?php /* end template body */ 360return $this->buffer . ob_get_clean();GetFileController.php https://gitlab.com/A.Julien/sendstockbymail-module-prestashop | PHP | 332 lines
1<?php 2/* 9* It is also available through the world-wide-web at this URL: 10* http://opensource.org/licenses/osl-3.0.php 11* If you did not receive a copy of the license and are unable to 22* @copyright 2007-2016 PrestaShop SA 23* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) 24* International Registered Trademark & Property of PrestaShop SA 51 if (!file_exists($file)) { 52 Tools::redirect('index.php'); 53 } 60 if (!$this->context->customer->isLogged() && !Tools::getValue('secure_key') && !Tools::getValue('id_order')) { 61 Tools::redirect('index.php?controller=authentication&back=get-file.php&key='.$key); 62 } elseif (!$this->context->customer->isLogged() && Tools::getValue('secure_key') && Tools::getValue('id_order')) { 123 $mimeType = false; 124 if (function_exists('finfo_open')) { 125 $finfo = @finfo_open(FILEINFO_MIME);Ftp.php https://gitlab.com/ricoru21/py_incidencia | PHP | 660 lines
1<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); 2/** 4 * 5 * An open source application development framework for PHP 5.1.6 or newer 6 * 467 468 // Permissions can only be set when running PHP 5 469 if ( ! function_exists('ftp_chmod')) 601 'text', 602 'php', 603 'phps', 603 'phps', 604 'php4', 605 'js', 658 659/* End of file Ftp.php */ 660/* Location: ./system/libraries/Ftp.php */compatibility.php https://gitlab.com/campus-academy/krowkaramel | PHP | 371 lines
1<?php 2namespace Elementor; 46 // W3 Total Cache. 47 if ( function_exists( 'w3tc_flush_all' ) ) { 48 w3tc_flush_all(); 56 // WP Super Cache 57 if ( function_exists( 'wp_cache_clean_cache' ) ) { 58 global $file_prefix; 79 // Introduced in WP 5.0 80 if ( function_exists( 'use_block_editor_for_post' ) && ! use_block_editor_for_post( $typenow ) ) { 81 return; 84 // Deprecated/removed in Gutenberg plugin v5.3.0 85 if ( function_exists( 'gutenberg_can_edit_post_type' ) && ! gutenberg_can_edit_post_type( $typenow ) ) { 86 return; 97 98 var url = '<?php echo esc_url( Plugin::$instance->documents->get_create_new_post_url( $typenow ) ); ?>'; 99Blueprint.php https://gitlab.com/x33n/grav | PHP | 432 lines
1<?php 2namespace Grav\Common\Data; 347 list($o, $f) = preg_split('/::/', $func); 348 if (!$f && function_exists($o)) { 349 $data = call_user_func_array($o, $value);cron_functions.php https://github.com/md-tech/openemr.git | PHP | 354 lines
1<?php 2//////////////////////////////////////////////////////////////////// 65 { 66 include("../../library/classes/smtp/smtp.php"); 67 include("../../library/classes/smtp/sasl.php"); 105 { 106 if(!function_exists("GetMXRR")) 107 { 108 $_NAMESERVERS=array(); 109 include("getmxrr.php"); 110 } 167//////////////////////////////////////////////////////////////////// 168if( !function_exists( 'my_print_r' ) ) 169{mysqli_driver.php https://github.com/mkhairul/Presta.git | PHP | 650 lines
1<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); 2/** 4 * 5 * An open source application development framework for PHP 4.3.2 or newer 6 * 18/** 19 * MySQLi Database Adapter Class - MySQLi only works with PHP 5 20 * 250 { 251 if (function_exists('mysqli_real_escape_string') AND is_object($this->conn_id)) 252 { 254 } 255 elseif (function_exists('mysql_escape_string')) 256 { 648 649/* End of file mysqli_driver.php */ 650/* Location: ./system/database/drivers/mysqli/mysqli_driver.php */class-wp-filesystem-direct.php https://github.com/MikeLockz/lockwitz.git | PHP | 364 lines
1<?php 2/** 9/** 10 * WordPress Filesystem Class for direct PHP file and folder manipulation. 11 * 169 return false; 170 if ( ! function_exists('posix_getpwuid') ) 171 return $owneruid; 189 return false; 190 if ( ! function_exists('posix_getgrgid') ) 191 return $gid; 286 function mkdir($path, $chmod = false, $chown = false, $chgrp = false) { 287 // safe mode fails with a trailing slash under certain PHP versions. 288 $path = untrailingslashit($path);Subversion.php https://github.com/ChuguluGames/mediawiki-svn.git | PHP | 406 lines
1<?php 2 17 return new SubversionProxy( $repo, $wgSubversionProxy, $wgSubversionProxyTimeout ); 18 } elseif ( function_exists( 'svn_log' ) ) { 19 return new SubversionPecl( $repo ); 83 * existed since version 0.3 of the Pecl extension (per release notes). 84 * Nobody ever bothered filling in the documentation on php.net though. 85 * The function returns a big array of a bunch of info about the repositoryfunction.patch https://bitbucket.org/deonjo/vulnerablity_crawler.git | Patch | 420 lines
41 - Fixed random number generator replacement error case behaviour in PHP 5.3.x 42 - Fixed error case handling in function_exists() PHP 5.3.x 43 - Merged changes/fixes in import_request_variables()/extract() from upstream PHP 78 - Fixed PHP 5.3 compilation problem 79 - Changed PHP default POST handler to PHP's current handler 80 172 173 - More compatible support for ap_php_snprintf() for old PHP 174 - Changed phpinfo() output to put suhosin logo into a data: URL 178 179 - Adding ap_php_snprintf() when compiling against PHP 4.3.9 180 - Added suhosin.protectkey to remove cryptkeys from phpinfo() output 246 - Changed definition of binary to: 0..31, 128..255 except whitespace 247 - Added suhosin.log.phpscript(.name) directive to log to a PHP script 248image-widget.php https://bitbucket.org/antonyravel/cape-resorts.git | PHP | 406 lines
1<?php 2/* 40 if ( $this->use_old_uploader() ) { 41 require_once( 'lib/ImageWidgetDeprecated.php' ); 42 new ImageWidgetDeprecated( $this ); 45 } 46 add_action( 'admin_head-widgets.php', array( $this, 'admin_head' ) ); 47 61 if ( defined( 'IMAGE_WIDGET_COMPATIBILITY_TEST' ) ) return true; 62 return !function_exists('wp_enqueue_media'); 63 } 196 </style> 197 <?php 198 } 364 function getTemplateHierarchy($template) { 365 // whether or not .php was added 366 $template_slug = rtrim($template, '.php');ftr_compatibility_test.php https://bitbucket.org/timgws/full-text-rss.git | PHP | 350 lines
17 18$php_ok = (function_exists('version_compare') && version_compare(phpversion(), '5.2.0', '>=')); 19$pcre_ok = extension_loaded('pcre'); 311 <?php else: ?> 312 <li><strong>PCRE:</strong> Your PHP installation doesn't support Perl-Compatible Regular Expressions. <em><?php echo $app_name; ?> will not work here.</em></li> 313 <?php endif; ?> 317 <?php else: ?> 318 <li><strong>PHP:</strong> You are running an unsupported version of PHP. <em><?php echo $app_name; ?> will not work here.</em></li> 319 <?php endif; ?> 324 <div class="chunk"> 325 <?php if ($php_ok && $xml_ok && $pcre_ok && $mbstring_ok && $iconv_ok && $filter_ok && $allow_url_fopen_ok) { ?> 326 <h3>Bottom Line: Yes, you can!</h3> 329 <p><strong>Note</strong>: Passing this test does not guarantee that <?php echo $app_name; ?> will run on your webhost — it only ensures that the basic requirements have been addressed. If you experience any problems, please let us know.</p> 330 <?php } else if ($php_ok && $xml_ok && $pcre_ok && $mbstring_ok && $allow_url_fopen_ok && $filter_ok) { ?> 331 <h3>Bottom Line: Yes, you can!</h3>Attribute.php https://bitbucket.org/acidel/buykoala.git | PHP | 417 lines
1<?php 2/** 18 * @license http://framework.zend.com/license/new-bsd New BSD License 19 * @version $Id: Attribute.php 22996 2010-09-22 17:01:46Z sgehrig $ 20 */ 24 */ 25#require_once 'Zend/Ldap/Converter.php'; 26 214 /** 215 * Converts a PHP data type into its LDAP representation 216 * 218 * @param mixed $value 219 * @return string|null - null if the PHP data type cannot be converted. 220 */ 226 /** 227 * Converts an LDAP value into its PHP data type 228 *template.php https://github.com/rentasite/drupal6_sandbox.git | PHP | 273 lines
1<?php 2// $Id: template.php,v 3.1.0.12 2009/06/07 00:00:00 hass Exp $ 30 $yaml_theme_settings_install_function = '_'. $theme .'_theme_settings_install'; 31 if (function_exists($yaml_theme_settings_install_function)) { 32 $yaml_theme_settings_install_function($theme); 75 $yaml_css_function = '_'. $theme .'_add_css'; 76 if (function_exists($yaml_css_function)) { 77 $vars['css'] = $yaml_css_function($vars); 79 $yaml_styles_function = '_'. $theme .'_add_styles'; 80 if (function_exists($yaml_styles_function)) { 81 $vars['styles'] = $yaml_styles_function($vars); 87 */ 88function phptemplate_preprocess_maintenance_page(&$vars) { 89 // Dynamic sidebar switching. Turn off sidebars in maintenance mode.base.php https://github.com/PressCrew/infinity.git | PHP | 562 lines
1<?php 2/** 147 // is title-tag feature support missing from running version of WP? 148 false === function_exists( '_wp_render_title_tag' ) 149 ) { 151 ?> 152 <title><?php wp_title( '|', true, 'right' ); ?></title> 153 <?php 177 // is title-tag support missing from the running copy of WordPress? 178 false === function_exists( '_wp_render_title_tag' ) && 179 // is the current screen NOT a feed? 319 // open the list ?> 320 <ul class="sf-menu"><?php 321 wp_list_pages(array( 325 // close list?> 326 </ul><?php 327}XsdTest.php https://gitlab.com/crazybutterfly815/magento2 | PHP | 277 lines
1<?php 2/** 10 */ 11class XsdTest extends \PHPUnit_Framework_TestCase 12{ 19 { 20 if (!function_exists('libxml_set_external_entity_loader')) { 21 $this->markTestSkipped('Skipped on HHVM. Will be fixed in MAGETWO-45033'); 53 * @return array 54 * @SuppressWarnings(PHPMD.ExcessiveMethodLength) 55 */columns.php https://gitlab.com/VTTE/sitios-vtte | PHP | 448 lines
1<?php 2// exit if accessed directly 32 $block_editor = has_action( 'enqueue_block_assets' ); 33 $gutenberg = function_exists( 'gutenberg_can_edit_post_type' ); 34 173 174 <?php wp_nonce_field( 'post_views_count', 'pvc_nonce' ); ?> 175 176 <span id="post-views-display"> 177 <?php echo __( 'Post Views', 'post-views-counter' ) . ': <b>' . number_format_i18n( $count ) . '</b>'; ?> 178 </span> 179 180 <?php 181 // restrict editing 185 ?> 186 <a href="#post-views" class="edit-post-views hide-if-no-js"><?php _e( 'Edit', 'post-views-counter' ); ?></a> 187functions_install.php https://github.com/naderman/phpbb-orchestra.git | PHP | 559 lines
1<?php 2/** 5* @version $Id$ 6* @copyright (c) 2006 phpBB Group 7* @license http://opensource.org/licenses/gpl-license.php GNU Public License 36 } 37 return ((@ini_get('enable_dl') || strtolower(@ini_get('enable_dl')) == 'on') && (!@ini_get('safe_mode') || strtolower(@ini_get('safe_mode')) == 'off') && function_exists('dl') && @dl($dll . '.' . PHP_SHLIB_SUFFIX)) ? true : false; 38} 278{ 279 global $phpbb_root_path, $phpEx, $config, $lang; 280 285 // Include the DB layer 286 include($phpbb_root_path . 'includes/db/' . $dbms . '.' . $phpEx); 287 } 301 // Make sure we don't have a daft user who thinks having the SQLite database in the forum directory is a good idea 302 if ($dbms_details['DRIVER'] == 'sqlite' && stripos(phpbb_realpath($dbhost), phpbb_realpath('../')) === 0) 303 {base_admin.class.php https://gitlab.com/hop23typhu/list-theme | PHP | 526 lines
180 if(!empty(self::$master_view) && !isset(self::$tempVars["is_masterView"]) ){ 181 $masterViewFilepath = self::$path_views.self::$master_view.".php"; 182 UniteFunctionsRev::validateFilepath($masterViewFilepath,"Master View"); 187 else{ //simple require the view file. 188 $viewFilepath = self::$path_views.$view.".php"; 189 206 207 $pathTemplate = self::$path_templates.$templateName.".php"; 208 UniteFunctionsRev::validateFilepath($pathTemplate,"Template"); 219 try{ 220 require self::$path_plugin."settings/$settingsFile.php"; 221 }catch (Exception $e){ 417 if( UniteZipRev::isZipExists() == false) 418 UniteFunctionsRev::throwError("The ZipArchive php extension not exists, can't extract the update file. Please turn it on in php ini."); 419 }class-wc-query.php https://gitlab.com/hop23typhu/list-theme | PHP | 496 lines
1<?php 2/** 96 // Fix WP SEO 97 if ( function_exists( 'wpseo_get_value' ) ) { 98 add_filter( 'wpseo_metadesc', array( $this, 'wpseo_metadesc' ) );tribe-field.class.php https://bitbucket.org/codemen_iftekhar/codemen.git | PHP | 527 lines
1<?php 2 143 144 if ( $this->display_callback && is_string($this->display_callback) && function_exists($this->display_callback) ) { 145traffic.php https://gitlab.com/alexprowars/bitrix | PHP | 487 lines
1<?php 2require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/prolog_admin_before.php"); 2require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/prolog_admin_before.php"); 3require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/statistic/prolog.php"); 4/** @var CMain $APPLICATION */ 7 $APPLICATION->AuthForm(GetMessage("ACCESS_DENIED")); 8include($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/statistic/colors.php"); 9 131 132elseif (!function_exists("ImageCreate")) : 133 CAdminMessage::ShowMessage(GetMessage("STAT_GD_NOT_INSTALLED")); 142 <td valign="center" class="graph"> 143 <img class="graph" src="/bitrix/admin/traffic_graph.php?<?=GetFilterParams($FilterArr1)?>&<?=GetFilterParams($FilterArr2)?>&width=<?=$width?>&height=<?=$height?>&lang=<?=LANG?>&rand=<?=rand()?>&find_graph_type=<?=$graph_type?>" width="<?=$width?>" height="<?=$height?>"> 144 </td> 148 <tr> 149 <td valign="center"><img src="/bitrix/admin/graph_legend.php?color=<?=$arrColor["HITS"]?>" width="45" height="2"></td> 150 <td nowrap><img src="/bitrix/images/1.gif" width="3" height="1"><?=GetMessage("STAT_HITS_2")?></td>auth.php https://gitlab.com/michield/dokuwiki | PHP | 418 lines
1<?php 2// must be run within Dokuwiki 31 32 if(!function_exists('pg_connect')) { 33 $this->_debug("PgSQL err: PHP Postgres extension not found.", -1, __LINE__, __FILE__);class.p3-profiler-reader.php https://gitlab.com/mattswann/launch-housing | PHP | 374 lines
1<?php 2if ( !defined('P3_PATH') ) 62 /** 63 * Number of plugin related function calls (does not include php internal 64 * calls due to a limitation of how the tick handler works) 197 $this->report_date = strtotime( $o->date ); 198 $scheme = parse_url( $o->url, PHP_URL_SCHEME ); 199 $host = parse_url( $o->url, PHP_URL_HOST ); 199 $host = parse_url( $o->url, PHP_URL_HOST ); 200 $path = parse_url( $o->url, PHP_URL_PATH ); 201 $this->report_url = sprintf( '%s://%s%s', $scheme, $host, $path ); 325 public function get_plugin_name( $plugin ) { 326 if ( function_exists( 'get_plugin_data' ) ) { 327 $plugin_info = array(); 328 $possible_paths = array( 329 WP_PLUGIN_DIR . "/$plugin.php", 330 WP_PLUGIN_DIR . "/$plugin/$plugin.php",class-wp-image-editor-gd.php https://gitlab.com/darmawan.fatria/df-skp-2014 | PHP | 470 lines
1<?php 2/** 38 public static function test( $args = array() ) { 39 if ( ! extension_loaded('gd') || ! function_exists('gd_info') ) 40 return false; 44 in_array( 'rotate', $args['methods'] ) && 45 ! function_exists('imagerotate') ){ 46 110 111 if ( function_exists( 'imagealphablending' ) && function_exists( 'imagesavealpha' ) ) { 112 imagealphablending( $this->image, false ); 282 283 if ( function_exists( 'imageantialias' ) ) 284 imageantialias( $dst, true ); 299 * Rotates current image counter-clockwise by $angle. 300 * Ported from image-edit.php 301 *Storage.php https://github.com/shevron/zf2.git | PHP | 475 lines
1<?php 2/** 180 ); 181 if (function_exists('curl_init')) { 182 // Set cURL options if cURL is used afterwardsRandom.php https://gitlab.com/x33n/ImpressPages | PHP | 249 lines
66 // ie. class_alias is a function that was introduced in PHP 5.3 67 if (function_exists('mcrypt_create_iv') && function_exists('class_alias')) { 68 return mcrypt_create_iv($length); 75 // https://github.com/php/php-src/blob/7014a0eb6d1611151a286c0ff4f2238f92c120d6/ext/openssl/openssl.c#L5008 76 // https://github.com/php/php-src/blob/7014a0eb6d1611151a286c0ff4f2238f92c120d6/ext/mcrypt/mcrypt.c#L1392 77 // 79 // 80 // https://github.com/php/php-src/blob/7014a0eb6d1611151a286c0ff4f2238f92c120d6/win32/winutil.c#L80 81 // 82 // we're calling it, all the same, in the off chance that the mcrypt extension is not available 83 if (function_exists('openssl_random_pseudo_bytes') && version_compare(PHP_VERSION, '5.3.4', '>=')) { 84 return openssl_random_pseudo_bytes($length); 101 // method 3. pretty much does the same thing as method 2 per the following url: 102 // https://github.com/php/php-src/blob/7014a0eb6d1611151a286c0ff4f2238f92c120d6/ext/mcrypt/mcrypt.c#L1391 103 // surprisingly slower than method 2. maybe that's because mcrypt_create_iv does a bunch of error checking that we'refunctions.php https://bitbucket.org/Quartermain/viettrungtravel_wordpress.git | PHP | 346 lines
226 <td width="20%" rowspan="2" valign="middle"><strong><?php echo $value['name']; ?></strong></td> 227 <td width="80%"><input style="width:100%;" name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>" type="<?php echo $value['type']; ?>" value="<?php echo get_theme_settings( $value['id'] ); ?>" /></td> 228 </tr> 241 <td width="20%" rowspan="2" valign="middle"><strong><?php echo $value['name']; ?></strong></td> 242 <td width="80%"><textarea name="<?php echo $value['id']; ?>" style="width:100%; height:140px;" type="<?php echo $value['type']; ?>" cols="" rows=""><?php echo get_theme_settings( $value['id'] ); ?></textarea></td> 243 260 foreach ($value['options'] as $option) { ?> 261 <option value="<?php echo $option['value']; ?>" <?php if ( get_theme_settings( $value['id'] ) == $option['value']) { echo ' selected="selected"'; } ?>><?php echo $option['title']; ?></option> 262 <?php } ?> 278 <td width="80%"><? if(get_theme_settings($value['id'])){ $checked = "checked=\"checked\""; }else{ $checked = ""; } ?> 279 <input type="checkbox" name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>" value="true" <?php echo $checked; ?> /> 280 </td> 331?> 332<?php if ( function_exists("add_theme_support") ) { add_theme_support("post-thumbnails"); } ?> 333<?phpGD.php https://github.com/mihalyf/gallery3-contrib.git | PHP | 440 lines
1<?php defined('SYSPATH') OR die('No direct access allowed.'); 2/** 4 * 5 * $Id: GD.php 4679 2009-11-10 01:45:52Z isaiah $ 6 * 9 * @copyright (c) 2007-2009 Kohana Team 10 * @license http://kohanaphp.com/license 11 */ 21 // Make sure that GD2 is available 22 if ( ! function_exists('gd_info')) 23 throw new Kohana_Exception('The Image library requires GD2. Please see http://php.net/gd_info for more information.'); 29 if (strpos($info['GD Version'], '2.') === FALSE) 30 throw new Kohana_Exception('The Image library requires GD2. Please see http://php.net/gd_info for more information.'); 31 } 359 * A replacement for php's imagecopymerge() function that supports the alpha channel 360 * See php bug #23815: http://bugs.php.net/bug.php?id=23815 361 *postviews-options.php https://gitlab.com/phamngsinh/baitaplon_sinhvien | PHP | 309 lines
105 case 'end-UNINSTALL': 106 $deactivate_url = 'plugins.php?action=deactivate&plugin=wp-postviews/wp-postviews.php'; 107 if(function_exists('wp_nonce_url')) { 203 <select name="views_display_single" size="1"> 204 <option value="0"<?php selected('0', $views_options['display_single']); ?>><?php _e('Display to everyone', 'wp-postviews'); ?></option> 205 <option value="1"<?php selected('1', $views_options['display_single']); ?>><?php _e('Display to registered users only', 'wp-postviews'); ?></option> 235 <option value="1"<?php selected('1', $views_options['display_search']); ?>><?php _e('Display to registered users only', 'wp-postviews'); ?></option> 236 <option value="2"<?php selected('2', $views_options['display_search']); ?>><?php _e('Don\'t display on search pages', 'wp-postviews'); ?></option> 237 </select> 258<!-- Uninstall WP-PostViews --> 259<form method="post" action="<?php echo admin_url('admin.php?page='.plugin_basename(__FILE__)); ?>"> 260<div class="wrap"> 302 <input type="checkbox" name="uninstall_views_yes" value="yes" /> <?php _e('Yes', 'wp-postviews'); ?><br /><br /> 303 <input type="submit" name="do" value="<?php _e('UNINSTALL WP-PostViews', 'wp-postviews'); ?>" class="button" onclick="return confirm('<?php _e('You Are About To Uninstall WP-PostViews From WordPress.\nThis Action Is Not Reversible.\n\n Choose [Cancel] To Stop, [OK] To Uninstall.', 'wp-postviews'); ?>')" /> 304 </p>index.php https://github.com/damanlovett/SEAHO.git | PHP | 313 lines
6// technocurve arc 3 php bv block1/3 end 7?><?php require_once('../../../Connections/Programming.php'); ?> 8<?php 37?> 38<?php require_once('../../includefiles/init.php'); ?> 39 105<body> 106<div id="header"><?php require_once('../../includefiles/userInfo.php'); ?></div> 107<div id="sidebar"><?php require_once('../../includefiles/navPage.php'); ?></div> 154 <td> </td> 155 <td><div align="right"><a href="index.php?recordID=<?php echo $row_rsTopicArea['id']; ?>&delete=yes&table=topic_area"><img src="../../images/imgAdminDelete.gif" alt="Delete" width="14" height="14" border="0" /></a></div></td> 156 </tr> 300</div> 301<div id="footer"><?php require_once('../../includefiles/footer.php'); ?> 302</div>LegacyTableHelperTest.php https://gitlab.com/judielsm/Handora | PHP | 324 lines
1<?php 2 19 */ 20class LegacyTableHelperTest extends \PHPUnit_Framework_TestCase 21{ 25 { 26 $this->stream = fopen('php://memory', 'r+'); 27 } 260 { 261 if (!function_exists('mb_strwidth')) { 262 $this->markTestSkipped('The "mbstring" extension is not available'); 287 { 288 if (!function_exists('mb_strwidth')) { 289 $this->markTestSkipped('The "mbstring" extension is not available'); 321 322 return str_replace(PHP_EOL, "\n", stream_get_contents($output->getStream())); 323 }wikimarkup.php https://github.com/kpike/moodle.git | PHP | 433 lines
1<?php 2 98 99 if (function_exists($callback[1])) { 100 $this->linkgeneratorcallback = $callback[1]; 113 114 if (function_exists($callback[1])) { 115 $this->realpathcallback = $callback[1]; 128 129 if (function_exists($callback[1])) { 130 $this->tablegeneratorcallback = $callback[1]; 183 if (!$this->pretty_print && $level == 1) { 184 $text .= parser_utils::h('a', $this->section_edit_text, array('href' => "edit.php?pageid={$this->wiki_page_id}§ion=" . urlencode($text), 'class' => 'wiki_edit_section')); 185 }cake.php https://github.com/adivik2000/nigraha.git | PHP | 511 lines
2<?php 3/* SVN FILE: $Id: cake.php 5318 2007-06-20 09:01:21Z phpnut $ */ 4/** 10 * 11 * CakePHP(tm) : Rapid Development Framework <http://www.cakephp.org/> 12 * Copyright 2005-2007, Cake Software Foundation, Inc. 20 * @copyright Copyright 2005-2007, Cake Software Foundation, Inc. 21 * @link http://www.cakefoundation.org/projects/info/cakephp CakePHP(tm) Project 22 * @package cake 148 } 149 define('PHP5', (phpversion() >= 5)); 150 define('DS', DIRECTORY_SEPARATOR); 165 if (!isset($this->args[0]) || !isset($this->params['working'])) { 166 $this->stdout("\nCakePHP Console: "); 167 $this->stdout('This file has been loaded incorrectly and cannot continue.');prefs.php https://gitlab.com/ElvisAns/tiki | PHP | 345 lines
89 'fgal_root_wiki_attachments_id' => 3, // Ancestor of wiki "attachments" type galleries (feature_use_fgal_for_wiki_attachments). 90 // For old installs, overriden by 20101210_fgal_add_wiki_attachments_tiki.php 91 //can probably be removed - doesn't seem to be set or used anywhere 105 // user 106 'userlevels' => function_exists('tra') ? ['1' => tra('Simple'),'2' => tra('Advanced')] : ['1' => 'Simple','2' => 'Advanced'], 107 'userbreadCrumb' => 4, 143 'auth_phpbb_dbport' => '', 144 'auth_phpbb_dbtype' => 'mysql', 145 147 'login_url' => 'tiki-login.php', 148 'login_scr' => 'tiki-login_scr.php', 149 'register_url' => 'tiki-register.php', 194 'minical_reminders' => 0, 195 'php_docroot' => 'http://php.net/', 196 'shoutbox_autolink' => 'n',wp-cache-phase2.php https://github.com/brandonburke/WordPress-Plugin-Baseline.git | PHP | 454 lines
1<?php 2 2 3/** Diable here because PHP4.3 does not make the global 4 Serious bug? 14 wp_cache_mutex_init(); 15 if(function_exists('add_action')) { 16 // Post ID is received 34 return; 35 $script = basename($_SERVER['PHP_SELF']); 36 if (!in_array($script, $cache_acceptable_files) && 45function wp_cache_get_response_headers() { 46 if(function_exists('apache_response_headers')) { 47 flush(); 48 $headers = apache_response_headers(); 49 } else if(function_exists('headers_list')) { 50 $headers = array();class-options.php https://gitlab.com/chernushov881/charity-fund | PHP | 481 lines
1<?php 2/** 110 public function set_late_default() { 111 /** This filter is already documented in json-endpoints/jetpack/class.wpcom-json-api-get-option-endpoint.php */ 112 $late_options = apply_filters( 'jetpack_options_whitelist', array() ); 153 */ 154 public function enqueue_full_sync_actions( $config, $max_items_to_enqueue, $state ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable 155 /** 179 */ 180 public function send_full_sync_actions( $config, $send_until, $state ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable 181 // we call this instead of do_action when sending immediately. 195 */ 196 public function estimate_full_sync_actions( $config ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable 197 return 1; 375 if ( defined( 'JETPACK__PLUGIN_DIR' ) ) { 376 if ( ! function_exists( 'jetpack_site_icon_url' ) ) { 377 require_once JETPACK__PLUGIN_DIR . 'modules/site-icon/site-icon-functions.php';mysql.php https://bitbucket.org/seyar/kinda.local.git | PHP | 379 lines
1<?php defined('SYSPATH') or die('No direct script access.'); 2/** 8 * @copyright (c) 2008-2009 Kohana Team 9 * @license http://kohanaphp.com/license 10 */ 18 19 // Identifier for this connection within the PHP driver 20 protected $_connection_id; 32 // Determine if we can use mysql_set_charset(), which is only 33 // available on PHP 5.2.3+ when compiled against MySQL 5.0+ 34 Database_MySQL::$_set_names = ! function_exists('mysql_set_charset'); 72 73 // \xFF is a better delimiter, but the PHP driver uses underscore 74 $this->_connection_id = sha1($hostname.'_'.$username.'_'.$password); 135 { 136 // PHP is compiled against MySQL 4.x 137 $status = (bool) mysql_query('SET NAMES '.$this->quote($charset), $this->_connection);text_helper.php https://github.com/romaricdrigon/Keypass-server.git | PHP | 535 lines
115 */ 116if ( ! function_exists('ascii_to_entities')) 117{ 292 $str = str_replace(array('<?', '?>', '<%', '%>', '\\', '</script>'), 293 array('phptagopen', 'phptagclose', 'asptagopen', 'asptagclose', 'backslashtmp', 'scriptclose'), $str); 294 304 305 if (abs(PHP_VERSION) < 5) 306 { 316 // Replace our markers back to PHP tags. 317 $str = str_replace(array('phptagopen', 'phptagclose', 'asptagopen', 'asptagclose', 'backslashtmp', 'scriptclose'), 318 array('<?', '?>', '<%', '%>', '\\', '</script>'), $str); 503 */ 504if ( ! function_exists('ellipsize')) 505{adminer.php https://gitlab.com/Blueprint-Marketing/interoccupy.net | PHP | 397 lines
9 * Domain Path: /languages 10 * Description: <a href="http://www.adminer.org/en/">Adminer</a> (formerly phpMinAdmin) is a full-featured MySQL management tool written in PHP. This plugin include this tool in WordPress for a fast management of your database. 11 * Author: Frank Bültge 264 <img class="alignright" src="<?php echo WP_PLUGIN_URL . '/' . dirname( plugin_basename(__FILE__) ); ?>/images/logo.png" alt="Adminer Logo" /> 265 <p><a href="http://www.adminer.org/">Adminer</a> <?php _e( '(formerly phpMinAdmin) is a full-featured MySQL management tool written in PHP.', 'adminer' ); ?><br><?php _e( 'Current used version of Plugin', 'adminer' ); echo ' ' . self :: get_plugin_data( 'Name' ) . ': ' . self :: get_plugin_data( 'Version' ); ?></p> 266 <br class="clear"/> 287 //document.write('<p class="textright">Your viewport width is '+viewportwidth+'x'+viewportheight+'</p>' ); 288 document.write('<a onclick="return false;" href="<?php echo WP_PLUGIN_URL . '/' . dirname( plugin_basename(__FILE__) ); ?>/inc/adminer/loader.php?username=<?php echo DB_USER . '&db=' . DB_NAME; ?>&?KeepThis=true&TB_iframe=true&height=' + viewportheight + '&width=' + viewportwidth + '" class="thickbox button"><?php _e( 'Start Adminer inside', 'adminer' ); ?></a>' ); 289 //--> 290 </script> 291 <a target="_blank" href="<?php echo WP_PLUGIN_URL . '/' . dirname( plugin_basename(__FILE__) ); ?>/inc/adminer/loader.php?username=<?php echo DB_USER . '&db=' . DB_NAME; ?>" class="button"><?php _e( 'Start Adminer in a new tab', 'adminer' ); ?></a> 292 </p> 314 <li><a href="http://www.amazon.de/gp/registry/3NTOGEK181L23/ref=wl_s_3" title="<?php esc_attr_e( 'Frank B�ltge\'s Amazon Wish List', 'adminer' ); ?>"><?php _e( 'Get me something from my wish list.', 'adminer' ); ?></a></li> 315 <li><a href="http://adminer.org" title="<?php _e( 'Adminer website for more informations and versions without WordPress', 'adminer' ); ?>"><?php _e( 'More about Adminer', 'adminer' ); ?></a></li> 316 </ul>template-tags.php https://github.com/mchow01/Security.git | PHP | 298 lines
1<?php 2/** 11 12if ( ! function_exists( 'twentyfifteen_paging_nav' ) ) : 13/** 36 <nav class="navigation pagination" role="navigation"> 37 <h1 class="screen-reader-text"><?php esc_html_e( 'Posts navigation', 'twentyfifteen' ); ?></h1> 38 <div class="nav-links"> 38 <div class="nav-links"> 39 <?php echo $links; ?> 40 </div><!-- .nav-links --> 41 </nav><!-- .pagination --> 42 <?php 43 endif; 46 47if ( ! function_exists( 'twentyfifteen_post_nav' ) ) : 48/**PgsqlPlatform.php https://github.com/homer6/Propel.git | PHP | 467 lines
1<?php 2 10 11require_once dirname(__FILE__) . '/DefaultPlatform.php'; 12 44 $this->setSchemaDomainMapping(new Domain(PropelTypes::OBJECT, "TEXT")); 45 $this->setSchemaDomainMapping(new Domain(PropelTypes::PHP_ARRAY, "TEXT")); 46 $this->setSchemaDomainMapping(new Domain(PropelTypes::ENUM, "INT2")); 70 { 71 if (function_exists('pg_escape_string')) { 72 return pg_escape_string($text);adodb-session.php https://github.com/CORE-POS/IS4C.git | PHP | 440 lines
1<?php 2/* 13 14 This file provides PHP4 session management using the ADODB database 15wrapper library. 19 20 include('adodb.inc.php'); 21 include('adodb-session.php'); 30 include('adodb.inc.php'); 31 include('adodb-session.php'); 32 adodb_sess_open(false,false,false); 72 3. Recommended is PHP 4.1.0 or later. There are documented 73 session bugs in earlier versions of PHP. 74 112 /* 113 Thanks Joe Li. See http://phplens.com/lens/lensforum/msgs.php?id=11487&x=1 114*/Json.php https://gitlab.com/rsilveira1987/Expresso | PHP | 339 lines
1<?php 2/** 18 * @license http://framework.zend.com/license/new-bsd New BSD License 19 * @version $Id: Json.php 10020 2009-08-18 14:34:09Z j.fischer@metaways.de $ 20 */ 26 */ 27require_once 'Zend/Json/Expr.php'; 28 73 { 74 if (function_exists('json_decode') && self::$useBuiltinEncoderDecoder !== true) { 75 return json_decode($encodedValue, $objectDecodeType); 77 78 require_once 'Zend/Json/Decoder.php'; 79 return Zend_Json_Decoder::decode($encodedValue, $objectDecodeType); 115 */ 116 require_once "Zend/Json/Encoder.php"; 117 $valueToEncode = self::_recursiveJsonExprFinder($valueToEncode, $javascriptExpressions);text_helper.php https://github.com/lixinyang/weixiao001.com.git | PHP | 535 lines
115 */ 116if ( ! function_exists('ascii_to_entities')) 117{ 236 */ 237if ( ! function_exists('word_censor')) 238{ 292 $str = str_replace(array('<?', '?>', '<%', '%>', '\\', '</script>'), 293 array('phptagopen', 'phptagclose', 'asptagopen', 'asptagclose', 'backslashtmp', 'scriptclose'), $str); 294 316 // Replace our markers back to PHP tags. 317 $str = str_replace(array('phptagopen', 'phptagclose', 'asptagopen', 'asptagclose', 'backslashtmp', 'scriptclose'), 318 array('<?', '?>', '<%', '%>', '\\', '</script>'), $str); 503 */ 504if ( ! function_exists('ellipsize')) 505{ProjectTaskTest.php https://bitbucket.org/ManiAdil/jardinorient.git | PHP | 387 lines
8 * 9 * CakePHP : Rapid Development Framework (http://cakephp.org) 10 * Copyright 2005-2012, Cake Software Foundation, Inc. 15 * @copyright Copyright 2005-2012, Cake Software Foundation, Inc. 16 * @link http://cakephp.org CakePHP Project 17 * @package Cake.Test.Case.Console.Command.Task 17 * @package Cake.Test.Case.Console.Command.Task 18 * @since CakePHP v 1.3.0 19 * @license MIT License (http://www.opensource.org/licenses/mit-license.php) 229 230 $File = new File($path . 'Config' . DS . 'core.php'); 231 $contents = $File->read(); 246 247 $File = new File($path . 'Config' . DS . 'core.php'); 248 $contents = $File->read();class-wp-filesystem-ftpext.php https://bitbucket.org/jstroschein/wordpress-3.5.1-clean.git | PHP | 393 lines
1<?php 2/** 27 if ( ! extension_loaded('ftp') ) { 28 $this->errors->add('no_ftp_ext', __('The ftp PHP extension is not available')); 29 return false; 67 function connect() { 68 if ( isset($this->options['ssl']) && $this->options['ssl'] && function_exists('ftp_ssl_connect') ) 69 $this->link = @ftp_ssl_connect($this->options['hostname'], $this->options['port'], FS_CONNECT_TIMEOUT); 166 // chmod the file or directory 167 if ( ! function_exists('ftp_chmod') ) 168 return (bool)@ftp_site($this->link, sprintf('CHMOD %o %s', $mode, $file));component.php https://gitlab.com/alexprowars/bitrix | PHP | 324 lines
13 14if(!function_exists("GetUserName")) 15{ 70 $arParams["PM_PER_PAGE"] = intval($arParams["PM_PER_PAGE"] > 0 ? $arParams["PM_PER_PAGE"] : 20); 71 $arParams["DATE_FORMAT"] = trim(empty($arParams["DATE_FORMAT"]) ? $DB->DateFormatToPHP(CSite::GetDateFormat("SHORT")) : $arParams["DATE_FORMAT"]); 72 $arParams["DATE_TIME_FORMAT"] = trim(empty($arParams["DATE_TIME_FORMAT"]) ? $DB->DateFormatToPHP(CSite::GetDateFormat("FULL")) : $arParams["DATE_TIME_FORMAT"]);Oauth.php https://gitlab.com/0072016/0072016-fbphp | PHP | 352 lines
1<?php 2/** 2/** 3 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org) 4 * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) 9 * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) 10 * @link http://cakephp.org CakePHP(tm) Project 11 * @since 3.0.0 11 * @since 3.0.0 12 * @license http://www.opensource.org/licenses/mit-license.php MIT License 13 */ 168 { 169 if (!function_exists('openssl_pkey_get_private')) { 170 throw new \RuntimeException('RSA-SHA1 signature method requires the OpenSSL extension.'); 208 $resource = $credentials['privateKeyPassphrase']; 209 $passphrase = stream_get_line($resource, 0, PHP_EOL); 210 rewind($resource);Rss.php https://github.com/vtiger-jp/vtigercrm-5.1.x-ja.git | PHP | 464 lines
1<?php 2/********************************************************************************* 16 17require_once('data/CRMEntity.php'); 18require_once('include/database/PearDatabase.php'); 19// Require the xmlParser class 20//require_once('include/feedParser/xmlParser.php'); 21 22// Require the feedParser class 23//require_once('include/feedParser/feedParser.php'); 24 76 { 77 $stringConvert = function_exists(iconv) ? @iconv("UTF-8",$default_charset,$item[title]) : $item[title]; 78 $rss_title= ltrim(rtrim($stringConvert)); 177 } 178 $shtml .= "<td class=\"rssTitle\"><a href=\"index.php?module=Rss&action=ListView&record=$allrssrow[rssid] 179 \" class=\"rssTitle\">".$allrssrow[rsstitle]."</a></td>";general.php https://gitlab.com/kath.de/cibedo_cibedo.de | PHP | 456 lines
1<?php 2/** 14 15if ( ! function_exists( 'tribe_get_option' ) ) { 16 /** 32 33if ( ! function_exists( 'tribe_update_option' ) ) { 34 /** 49 50if ( ! function_exists( 'tribe_get_network_option' ) ) { 51 /** 67 68if ( ! function_exists( 'tribe_resource_url' ) ) { 69 /** 128 129if ( ! function_exists( 'tribe_multi_line_remove_empty_lines' ) ) { 130 /**class-yoast-plugin-conflict.php https://gitlab.com/najomie/fit-hippie | PHP | 333 lines
1<?php 2/** 116 public function get_conflicting_plugins_as_string( $plugin_section ) { 117 if ( ! function_exists( 'get_plugin_data' ) ) { 118 require_once( ABSPATH . '/wp-admin/includes/plugin.php' ); 201 /* translators: %s: 'Facebook' plugin name of possibly conflicting plugin */ 202 $error_message .= '<a class="button button-primary" href="' . wp_nonce_url( 'plugins.php?action=deactivate&plugin=' . $plugin_file . '&plugin_status=all', 'deactivate-plugin_' . $plugin_file ) . '">' . sprintf( __( 'Deactivate %s', 'wordpress-seo' ), WPSEO_Utils::get_plugin_name( $plugin_file ) ) . '</a> '; 203functions.php https://gitlab.com/gpinela/proin-theme | PHP | 437 lines
32 33if ( ! function_exists( 'proin_setup' ) ) : 34 115function proin_widgets_init() { 116 require_once('inc/widget-proin-recent-posts.php'); 117 register_widget('Widget_Proin_Recent_Posts'); 320 </p> 321 <a class="button contributor-posts-link" href="<?php echo esc_url( get_author_posts_url( $contributor_id ) ); ?>"> 322 <?php printf( _n( '%d Article', '%d Articles', $post_count, 'twentyfourteen' ), $post_count ); ?> 327 328 <?php 329 endforeach; 377 378 $format = $wp_rewrite->using_index_permalinks() && ! strpos( $pagenum_link, 'index.php' ) ? 'index.php/' : ''; 379 $format .= $wp_rewrite->using_permalinks() ? user_trailingslashit( $wp_rewrite->pagination_base . '/%#%', 'paged' ) : '?paged=%#%';dbo_adodb.php https://github.com/geeknbar/projet-tut-site-web.git | PHP | 525 lines
1<?php 2/* SVN FILE: $Id$ */ 7 * 8 * PHP versions 4 and 5 9 * 9 * 10 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org) 11 * Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org) 16 * @copyright Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org) 17 * @link http://cakephp.org CakePHP(tm) Project 18 * @package cake 19 * @subpackage cake.cake.libs.model.datasources.dbo 20 * @since CakePHP(tm) v 0.2.9 21 * @version $Revision$ 23 * @lastmodified $Date$ 24 * @license http://www.opensource.org/licenses/mit-license.php The MIT License 25 */fire_cake.php https://github.com/mngdiouf/elimusys.git | PHP | 546 lines
2/** 3 * FirePHP Class for CakePHP 4 * 11 * 12 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org) 13 * Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org) 358 $structureIndex = 2; 359 $_this->_sendHeader('X-Wf-1-Structure-2','http://meta.firephp.org/Wildfire/Structure/FirePHP/Dump/0.1'); 360 } else { 360 } else { 361 $_this->_sendHeader('X-Wf-1-Structure-1','http://meta.firephp.org/Wildfire/Structure/FirePHP/FirebugConsole/0.1'); 362 } 364 $_this->_sendHeader('X-Wf-Protocol-1', 'http://meta.wildfirehq.org/Protocol/JsonStream/0.2'); 365 $_this->_sendHeader('X-Wf-1-Plugin-1', 'http://meta.firephp.org/Wildfire/Plugin/FirePHP/Library-FirePHPCore/'. $_this->_version); 366 if ($type == $_this->_levels['groupStart']) {index.php https://github.com/damanlovett/SEAHO.git | PHP | 197 lines
101 <td width="182" valign="top" id="contentleftmain"><!-- InstanceBeginEditable name="leftNav" --> 102 <?php require_once('../../includefiles/leftNavAssociates.php'); ?> 103<!-- InstanceEndEditable --><img src="../../../images/dropshadowlogo.jpg" alt="Seaho Logo" /></td> 129 <tr> 130 <td class="tablerows"><a href="regdetails.php?recordID=<?php echo $row_rsRegistrations['registration_id']; ?>&conferenceID=<?php echo $row_rsRegistrations['conference_id']; ?>"><?php echo $row_rsRegistrations['conference_name']; ?></a></td> 131 <td class="tablerows"> </td> 131 <td class="tablerows"> </td> 132 <td class="tablerows"><?php echo basicDate($row_rsRegistrations['start_date']); ?> - <?php echo basicDate($row_rsRegistrations['end_date']); ?></td> 133 <td class="tablerows"> </td> 134 <td class="tablerows"><?php echo $row_rsRegistrations['status']; ?></td> 135 <td class="tablerows"><div align="center"><a href="reps.php?recordID=<?php echo $row_rsRegistrations['registration_id']; ?>"><img src="../../images/imgAdminView.gif" alt="View" width="14" height="14" /></a></div></td> 136 <td class="tablerows"><?php echo DoFormatCurrency($row_rsRegistrations['trans_sum'], 2, '.', ',', '$'); ?></td> 186 </tr> 187 <?php require_once('../../../includefiles/footer.inc.php'); ?> 188</table>Configure.php https://gitlab.com/grlopez90/servipro | PHP | 480 lines
2/** 3 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org) 4 * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) 10 * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) 11 * @link http://cakephp.org CakePHP(tm) Project 12 * @package Cake.Core 74 "Can't find application core file. Please create %s, and make sure it is readable by PHP.", 75 APP . 'Config' . DS . 'core.php'), 76 E_USER_ERROR 202 * This is primarily used during bootstrapping to move configuration data 203 * out of configure into the various other classes in CakePHP. 204 * 345 * is decided by the config reader attached as $config. For example, if the 346 * 'default' adapter is a PhpReader, the generated file will be a PHP 347 * configuration file loadable by the PhpReader.class-wpb-map.php https://gitlab.com/juanito.abelo/nlmobile | PHP | 563 lines
1<?php 2/** 12 * This class maps shortcodes settings to VC editors. You can manage add new shortcodes or manage default shortcodes 13 * mapped in config/map.php. For developers it is possible to use API functions to add update settings attributes. 14 * 14 * 15 * @see config/map.php 16 * @see include/helpers/helpers_api.php 91 if ( self::$settings === null ) { 92 if ( function_exists( 'get_currentuserinfo' ) ) { 93 get_currentuserinfo(); 126 * You need to shortcode's tag and settings to map correctly. 127 * Default shortcodes are mapped in config/map.php file. 128 * The best way is to call this method with "init" action callback function of WP. 541 /** 542 * Sorting method for WPBMap::generateUserData method. Called by usort php function. 543 * @deprecated - use Vc_Sort::sortByKey since 4.4Trackback.php https://gitlab.com/lisit1003/TTPHPServer | PHP | 548 lines
1<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); 2/** 4 * 5 * An open source application development framework for PHP 5.1.6 or newer 6 * 149 150 if ($val != 'url' && function_exists('mb_convert_encoding')) 151 { 546 547/* End of file Trackback.php */ 548/* Location: ./system/libraries/Trackback.php */url_helper.php https://bitbucket.org/mbaily/tremain.git | PHP | 610 lines
58 */ 59if ( ! function_exists('base_url')) 60{ 78 */ 79if ( ! function_exists('current_url')) 80{ 259 */ 260if ( ! function_exists('safe_mailto')) 261{ 344 $i = 0; 345 foreach ($x as $val){ ?>l[<?php echo $i++; ?>]='<?php echo $val; ?>';<?php } ?> 346 576 */ 577if ( ! function_exists('_parse_attributes')) 578{APC.php https://bitbucket.org/kudutest1/moodlegit.git | PHP | 280 lines
1<?php 2/** 22 * @package PHPExcel_CachedObjectStorage 23 * @copyright Copyright (c) 2006 - 2012 PHPExcel (http://www.codeplex.com/PHPExcel) 24 * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL 33 * @package PHPExcel_CachedObjectStorage 34 * @copyright Copyright (c) 2006 - 2012 PHPExcel (http://www.codeplex.com/PHPExcel) 35 */ 35 */ 36class PHPExcel_CachedObjectStorage_APC extends PHPExcel_CachedObjectStorage_CacheBase implements PHPExcel_CachedObjectStorage_ICache { 37 85 */ 86 public function addCacheData($pCoord, PHPExcel_Cell $cell) { 87 if (($pCoord !== $this->_currentObjectID) && ($this->_currentObjectID !== null)) { 238 */ 239 public function __construct(PHPExcel_Worksheet $parent, $arguments) { 240 $cacheTime = (isset($arguments['cacheTime'])) ? $arguments['cacheTime'] : 600;reflection_php5.php https://github.com/limb-php-framework/limb-app-buildman.git | PHP | 275 lines
1<?php 2 /** 5 * @subpackage UnitTester 6 * @version $Id: reflection_php5.php 4378 2006-10-27 10:04:53Z pachanga $ 7 */ 27 * Checks that a class has been declared. Versions 28 * before PHP5.0.2 need a check that it's not really 29 * an interface. 41 /** 42 * Needed to kill the autoload feature in PHP5 43 * for classes created dynamically. 61 /** 62 * Needed to kill the autoload feature in PHP5 63 * for classes created dynamically. 71 /** 72 * Needed to select the autoload feature in PHP5 73 * for classes created dynamically.adodb-session.php https://github.com/dixcart/Rackspace-Load-Balancers-Log-Reader.git | PHP | 439 lines
1<?php 2/* 11 12 This file provides PHP4 session management using the ADODB database 13wrapper library. 17 18 include('adodb.inc.php'); 19 include('adodb-session.php'); 28 include('adodb.inc.php'); 29 include('adodb-session.php'); 30 adodb_sess_open(false,false,false); 70 3. Recommended is PHP 4.1.0 or later. There are documented 71 session bugs in earlier versions of PHP. 72 110 /* 111 Thanks Joe Li. See http://phplens.com/lens/lensforum/msgs.php?id=11487&x=1 112*/Encoder.php https://github.com/sharpmachine/wakeupmedia.com.git | PHP | 297 lines
1<?php 2/** 37 * 38 * Note: If you don't need header mgmt, use PHP's native gzencode, gzdeflate, 39 * and gzcompress functions for gzip, deflate, and compress-encoding 200 201 if (stristr($_SERVER['HTTP_ACCEPT_ENCODING'], 'gzip') && function_exists('gzencode')) { 202 return array('gzip', 'gzip');url_helper.php https://bitbucket.org/saifshuvo/codeigniter.git | PHP | 558 lines
81 82if ( ! function_exists('current_url')) 83{ 100 101if ( ! function_exists('uri_string')) 102{ 234 235if ( ! function_exists('mailto')) 236{ 259 260if ( ! function_exists('safe_mailto')) 261{ 352 <?php 353 for ($i = 0, $c = count($x); $i < $c; $i++) { ?>l[<?php echo $i; ?>]='<?php echo $x[$i]; ?>';<?php } ?> 354 557/* End of file url_helper.php */ 558/* Location: ./system/helpers/url_helper.php */class-yoast-notification-center.php https://gitlab.com/ngochuynh1991/cuacuon | PHP | 589 lines
1<?php 2/** 274 // Never display notifications for network admin. 275 if ( function_exists( 'is_network_admin' ) && is_network_admin() ) { 276 return;sqlvalidator.class.php https://github.com/md-tech/openemr.git | PHP | 412 lines
3/** 4* PHP interface to MimerSQL Validator 5* 12* Install instructions for PEAR SOAP 13* Make sure you have a really recent PHP with PEAR support 14* run this: "pear install Mail_Mime Net_DIME SOAP" 15* 16* If you got this file from somewhere other than phpMyAdmin 17* please be aware that the latest copy will always be in the 18* phpMyAdmin subversion tree as 19* $HeadURL: https://phpmyadmin.svn.sourceforge.net/svnroot/phpmyadmin/trunk/phpMyAdmin/libraries/sqlvalidator.class.php $ 20* 20* 21* This code that also used to depend on the PHP overload module, but that has been 22* removed now.