PageRenderTime 1793ms queryFilters 0ms Sphinxql 364ms app.CodeModel.GetByIds 1310ms findMatchingLines 69ms GetByIds 1379ms meta 0ms repositoryFilters 8ms languageFilters 3ms sourceFilters 3ms

84,023 results for 'php is_null repo:younggive/WordPress' (1793 ms)

Source

Language

Repository

index.php https://github.com/max-koehler/phpMyFAQ.git | PHP | 689 lines
96$faqpassword = PMF_Filter::filterInput(INPUT_POST, 'faqpassword', FILTER_SANITIZE_STRING);
97if (!is_null($faqusername) && !is_null($faqpassword)) {
98    $user = new PMF_User_CurrentUser();
358    $inc_tpl         = $action . '.tpl';
359    $inc_php         = $action . ".php";
360    $writeLangAdress = "?" . PMF_Filter::getFilteredQueryString();
364        $inc_tpl = 'artikel.tpl';
365        $inc_php = 'artikel.php';
366    } else {
367        $inc_tpl = 'main.tpl';
368        $inc_php = 'main.php';
369    }
515    'stickyRecordsHeader' => $PMF_LANG['stickyRecordsHeader'],
516    'copyright'           => 'powered by <a href="http://www.phpmyfaq.de" target="_blank">phpMyFAQ</a> ' . 
517                             $faqconfig->get('main.currentVersion'));
setup.php https://github.com/max-koehler/phpMyFAQ.git | PHP | 1,024 lines
94/**
95 * Removes the data.php and the dataldap.php if an installation failed
96 *
253
254<p class="center">Your PHP version: <strong>PHP <?php print PHP_VERSION; ?></strong></p>
255
615            print "\n<div class=\"error\">\n";
616            print "<p><strong>Error:</strong> Please install your version of phpMyFAQ once again or send us a <a href=\"http://bugs.phpmyfaq.de\" target=\"_blank\">bug report</a>.</p>";
617            print "<p><strong>DB error:</strong> ".$db->error()."</p>\n";
929<iframe onload="iframeUpdated();" name="questionaireResult" style="display:none"></iframe>
930<form action="http://www.phpmyfaq.de/stats/getstatdata.php" method="post" target="questionaireResult" id="questionnaireForm">
931
932    <p class="center">For further development we would like to get some feedback from our users.<br />Therefore we'd ask you to take a few minutes of your time to answer a few questions.</p>
933    <p class="center">If you don't want to participate in the survey, you can directly visit <a href="../index.php">your version of phpMyFAQ</a> or login into your <a href="../admin/index.php">admin section</a>.</p>
934
Functions.php https://github.com/vykintasv/psiprogresas.git | PHP | 10,506 lines
5457			if ($PHPDateArray['day'] == '')		{ $PHPDateArray['day'] = strftime('%d'); }
5458			$excelDateValue = floor(PHPExcel_Shared_Date::FormattedPHPToExcel($PHPDateArray['year'],$PHPDateArray['month'],$PHPDateArray['day'],$PHPDateArray['hour'],$PHPDateArray['minute'],$PHPDateArray['second']));
5459
5508			if (self::$compatibilityMode == self::COMPATIBILITY_OPENOFFICE) {
5509				$excelDateValue = PHPExcel_Shared_Date::FormattedPHPToExcel($PHPDateArray['year'],$PHPDateArray['month'],$PHPDateArray['day'],$PHPDateArray['hour'],$PHPDateArray['minute'],$PHPDateArray['second']);
5510			} else {
5510			} else {
5511				$excelDateValue = PHPExcel_Shared_Date::FormattedPHPToExcel(1900,1,1,$PHPDateArray['hour'],$PHPDateArray['minute'],$PHPDateArray['second']) - 1;
5512			}
6245												  break;
6246			case self::RETURNDATE_PHP_NUMERIC	: return (integer) PHPExcel_Shared_Date::ExcelToPHP(PHPExcel_Shared_Date::PHPToExcel($PHPDateObject));
6247												  break;
6284												  break;
6285			case self::RETURNDATE_PHP_NUMERIC	: return (integer) PHPExcel_Shared_Date::ExcelToPHP(PHPExcel_Shared_Date::PHPToExcel($PHPDateObject));
6286												  break;
limonade.php https://github.com/cbrumelle/limonade.git | PHP | 2,376 lines
1006
1007      if($request_uri."index.php" == $base_path) $request_uri .= "index.php";
1008  	  $uri = str_replace($base_path, '', $request_uri);
1157 *   a function, an object method, a static method or a closure.
1158 *   See {@link http://php.net/manual/en/language.pseudo-types.php#language.types.callback php documentation}
1159 *   to learn more about callbacks.
1675  static $_name = null;
1676  if(is_null($name) && !is_null($_name))
1677  {
1737 *   or an object and the name of a method within the object
1738 *   See {@link http://php.net/manual/en/language.pseudo-types.php#language.types.callback php documentation}
1739 *   to learn more about callbacks.
2338   * For PHP 5 < 5.3.0 (backward compatibility)
2339   * (from {@link http://www.php.net/manual/fr/function.array-replace.php#92549 this php doc. note})
2340   * 
config.class.php https://github.com/multiscan/dokuwiki.git | PHP | 1,043 lines
1<?php
2/**
13    var $_name = 'conf';           // name of the config variable found in the files (overridden by $config['varname'])
14    var $_format = 'php';          // format of the config file, supported formats - php (overridden by $config['format'])
15    var $_heading = '';            // heading string written at top of config file - don't include comment indicators
154        if(@file_exists($file)){
155            $contents = @php_strip_whitespace($file);
156        }else{
181      $out = '';
182      if ($this->_format == 'php') {
183          $out .= '<'.'?php'."\n".
196      $out = '';
197      if ($this->_format == 'php') {
198 #         if ($this->_protected_file) {
950/**
951 *  Provide php_strip_whitespace (php5 function) functionality
952 *
functions.inc.php https://github.com/ifthisandthat/devbox.git | PHP | 1,604 lines
328        {
329            // Cannot open url. Either install curl-php or set allow_url_fopen = true in php.ini
330            return false;
670    {
671        if(is_null($url)) $url = $_SERVER['PHP_SELF'];
672        header("Location: $url");
851    {
852        if(!(isset($_SERVER['PHP_AUTH_USER']) && isset($_SERVER['PHP_AUTH_PW']) && $_SERVER['PHP_AUTH_USER'] == $un && $_SERVER['PHP_AUTH_PW'] == $pw))
853        {
1371			// so we skip those and only do the long opening tags.
1372			$str = str_replace(array('<?php', '<?PHP'),  array('&lt;?php', '&lt;?PHP'), $str);
1373		} else {
1373		} else {
1374			$str = str_replace(array('<?php', '<?PHP', '<?', '?'.'>'),  array('&lt;?php', '&lt;?PHP', '&lt;?', '?&gt;'), $str);
1375		}
Issue.php https://github.com/joechrysler/Campsite.git | PHP | 1,069 lines
1<?php
2/**
8 */
9require_once($GLOBALS['g_campsiteDir'].'/db_connect.php');
10require_once($GLOBALS['g_campsiteDir'].'/classes/DatabaseObject.php');
10require_once($GLOBALS['g_campsiteDir'].'/classes/DatabaseObject.php');
11require_once($GLOBALS['g_campsiteDir'].'/classes/DbObjectArray.php');
12require_once($GLOBALS['g_campsiteDir'].'/classes/SQLSelectClause.php');
12require_once($GLOBALS['g_campsiteDir'].'/classes/SQLSelectClause.php');
13require_once($GLOBALS['g_campsiteDir'].'/classes/Log.php');
14require_once($GLOBALS['g_campsiteDir'].'/classes/Language.php');
14require_once($GLOBALS['g_campsiteDir'].'/classes/Language.php');
15require_once($GLOBALS['g_campsiteDir'].'/classes/Section.php');
16require_once($GLOBALS['g_campsiteDir'].'/classes/IssuePublish.php');
16require_once($GLOBALS['g_campsiteDir'].'/classes/IssuePublish.php');
17require_once($GLOBALS['g_campsiteDir'].'/classes/CampCacheList.php');
18require_once($GLOBALS['g_campsiteDir'].'/template_engine/classes/CampTemplate.php');
limonade.php https://github.com/jblanche/limonade.git | PHP | 2,566 lines
1280 *   a function, an object method, a static method or a closure.
1281 *   See {@link http://php.net/manual/en/language.pseudo-types.php#language.types.callback php documentation}
1282 *   to learn more about callbacks.
1880 *   or an object and the name of a method within the object
1881 *   See {@link http://php.net/manual/en/language.pseudo-types.php#language.types.callback php documentation}
1882 *   to learn more about callbacks.
2510   * For PHP 5 < 5.3.0 (backward compatibility)
2511   * (from {@link http://www.php.net/manual/fr/function.array-replace.php#92549 this php doc. note})
2512   * 
2541
2542if(PHP_VERSION == '5.2.13' || PHP_VERSION == '5.3.2')
2543{
2544  # There is a bug with filter_var($site_url , FILTER_VALIDATE_URL); 
2545  # http://www.mail-archive.com/php-bugs@lists.php.net/msg134778.html
2546  function filter_var_url($str)
plugin_api.php https://github.com/markkimsal/mantisbt.git | PHP | 927 lines
1<?php
2# MantisBT - A PHP based bugtracking system
28 *
29 * @uses access_api.php
30 * @uses config_api.php
30 * @uses config_api.php
31 * @uses constant_inc.php
32 * @uses database_api.php
32 * @uses database_api.php
33 * @uses error_api.php
34 * @uses event_api.php
34 * @uses event_api.php
35 * @uses helper_api.php
36 * @uses history_api.php
781			# Final check on the class
782			if( is_null( $t_plugin->name ) || is_null( $t_plugin->version ) ) {
783				return null;
Functions.php https://bitbucket.org/joseph_b/mti-media-plic-redac-intranet | PHP | 9,538 lines
4718			if ($PHPDateArray['day'] == '')		{ $PHPDateArray['day'] = strftime('%d'); }
4719			$excelDateValue = floor(PHPExcel_Shared_Date::FormattedPHPToExcel($PHPDateArray['year'],$PHPDateArray['month'],$PHPDateArray['day'],$PHPDateArray['hour'],$PHPDateArray['minute'],$PHPDateArray['second']));
4720
4767			if (self::$compatibilityMode == self::COMPATIBILITY_OPENOFFICE) {
4768				$excelDateValue = PHPExcel_Shared_Date::FormattedPHPToExcel($PHPDateArray['year'],$PHPDateArray['month'],$PHPDateArray['day'],$PHPDateArray['hour'],$PHPDateArray['minute'],$PHPDateArray['second']);
4769			} else {
4769			} else {
4770				$excelDateValue = PHPExcel_Shared_Date::FormattedPHPToExcel(1900,1,1,$PHPDateArray['hour'],$PHPDateArray['minute'],$PHPDateArray['second']) - 1;
4771			}
5469												  break;
5470			case self::RETURNDATE_PHP_NUMERIC	: return (integer) PHPExcel_Shared_Date::ExcelToPHP(PHPExcel_Shared_Date::PHPToExcel($PHPDateObject));
5471												  break;
5507												  break;
5508			case self::RETURNDATE_PHP_NUMERIC	: return (integer) PHPExcel_Shared_Date::ExcelToPHP(PHPExcel_Shared_Date::PHPToExcel($PHPDateObject));
5509												  break;
my.php http://showslow.googlecode.com/svn/trunk/ | PHP | 251 lines
195			<td colspan="<?php echo $cols*2 ?>"/>
196		<?php } else if (!is_null($row['o']) || !is_null($row['ps_o']) || !is_null($row['dt_o'])) { ?>
197			<td style="text-align: right; padding-right: 1em"><a title="Time of last check for this URL" href="details/?url=<?php echo urlencode($row['url']); ?>"><?php echo htmlentities($row['last_update']); ?></a></td>
200				<td class="score" title="Current YSlow grade: <?php echo prettyScore($row['o'])?> (<?php echo $row['o']?>)"><?php echo prettyScore($row['o'])?> (<?php echo $row['o']?>)</td>
201				<td title="Current YSlow grade: <?php echo prettyScore($row['o'])?> (<?php echo $row['o']?>)"><div class="gbox"><div style="width: <?php echo $row['o']+1?>px" class="bar c<?php echo scoreColorStep($row['o'])?>"/></div></td>
202			<?php } else { ?>
209				<td class="score" title="Current Page Speed score: <?php echo prettyScore($row['ps_o'])?> (<?php echo $row['ps_o']?>)"><?php echo prettyScore($row['ps_o'])?> (<?php echo $row['ps_o']?>)</td>
210				<td title="Current Page Speed score: <?php echo prettyScore($row['ps_o'])?> (<?php echo $row['ps_o']?>)"><div class="gbox"><div style="width: <?php echo $row['ps_o']+1?>px" class="bar c<?php echo scoreColorStep($row['ps_o'])?>"/></div></td>
211			<?php } else { ?>
218				<td class="score" title="Current dynaTrace score: <?php echo prettyScore($row['dt_o'])?> (<?php echo $row['dt_o']?>)"><?php echo prettyScore($row['dt_o'])?> (<?php echo $row['dt_o']?>)</td>
219				<td title="Current dynaTrace score: <?php echo prettyScore($row['dt_o'])?> (<?php echo $row['dt_o']?>)"><div class="gbox"><div style="width: <?php echo $row['dt_o']+1?>px" class="bar c<?php echo scoreColorStep($row['dt_o'])?>"/></div></td>
220			<?php }else{?>
233		<?php if ($link) {?>
234		<td style="padding-left: 1em; overflow: hidden; white-space: nowrap;"><a href="details/?url=<?php echo urlencode($row['url'])?>"><?php echo htmlentities(substr($row['url'], 0, 100))?><?php if (strlen($row['url']) > 100) { ?>...<?php } ?></a></td>
235		<?php } else { ?>
Cell.php https://PHPExcel.svn.codeplex.com/svn | PHP | 722 lines
38/** PHPExcel_Worksheet */
39require_once 'PHPExcel/Worksheet.php';
40
237    {
238    	if (!is_null($this->_calculatedValue) && $this->_dataType == PHPExcel_Cell_DataType::TYPE_FORMULA) {
239    		try {
671	 */
672	public static function compareCells(PHPExcel_Cell $a, PHPExcel_Cell $b)
673	{
677			return 1;
678		} elseif (PHPExcel_Cell::columnIndexFromString($a->_column) < PHPExcel_Cell::columnIndexFromString($b->_column)) {
679			return -1;
701		if (is_null($binder)) {
702			throw new Exception("A PHPExcel_Cell_IValueBinder is required for PHPExcel to function correctly.");
703		}
Functions.php https://PHPExcel.svn.codeplex.com/svn | PHP | 5,603 lines
3988			}
3989			return floor(PHPExcel_Shared_Date::FormattedPHPToExcel($PHPDateArray['year'],$PHPDateArray['month'],$PHPDateArray['day'],$PHPDateArray['hour'],$PHPDateArray['minute'],$PHPDateArray['second']));
3990		}
4004			if (self::$compatibilityMode == self::COMPATIBILITY_OPENOFFICE) {
4005				return PHPExcel_Shared_Date::FormattedPHPToExcel($PHPDateArray['year'],$PHPDateArray['month'],$PHPDateArray['day'],$PHPDateArray['hour'],$PHPDateArray['minute'],$PHPDateArray['second']);
4006			} else {
4006			} else {
4007				return PHPExcel_Shared_Date::FormattedPHPToExcel(1900,1,1,$PHPDateArray['hour'],$PHPDateArray['minute'],$PHPDateArray['second']) - 1;
4008			}
4147
4148		$PHPEndDateObject = PHPExcel_Shared_Date::ExcelToPHPObject($endDate);
4149		$endDays = $PHPEndDateObject->format('j');
4442		// Execute function
4443		$PHPDateObject = PHPExcel_Shared_Date::ExcelToPHPObject($timeValue);
4444		return (int) $PHPDateObject->format('s');
Cell.php https://PHPExcel.svn.codeplex.com/svn | PHP | 753 lines
38/** PHPExcel_Worksheet */
39require_once 'PHPExcel/Worksheet.php';
40
247    {
248    	if (!is_null($this->_calculatedValue) && $this->_dataType == PHPExcel_Cell_DataType::TYPE_FORMULA) {
249    		try {
681	 */
682	public static function compareCells(PHPExcel_Cell $a, PHPExcel_Cell $b)
683	{
687			return 1;
688		} elseif (PHPExcel_Cell::columnIndexFromString($a->_column) < PHPExcel_Cell::columnIndexFromString($b->_column)) {
689			return -1;
711		if (is_null($binder)) {
712			throw new Exception("A PHPExcel_Cell_IValueBinder is required for PHPExcel to function correctly.");
713		}
Worksheet.php https://PHPExcel.svn.codeplex.com/svn | PHP | 1,129 lines
40/** PHPExcel_Writer_Excel2007_WriterPart */
41require_once PHPEXCEL_ROOT . 'PHPExcel/Writer/Excel2007/WriterPart.php';
42
61/** PHPExcel_Shared_String */
62require_once PHPEXCEL_ROOT . 'PHPExcel/Shared/String.php';
63
64/** PHPExcel_RichText */
65require_once PHPEXCEL_ROOT . 'PHPExcel/RichText.php';
66
67/** PHPExcel_Shared_XMLWriter */
68require_once PHPEXCEL_ROOT . 'PHPExcel/Shared/XMLWriter.php';
69
970	 */
971	private function _writeCell(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel_Worksheet $pSheet = null, PHPExcel_Cell $pCell = null, $pStringTable = null, $pFlippedStringTable = null)
972	{
Functions.php https://PHPExcel.svn.codeplex.com/svn | PHP | 5,603 lines
3988			}
3989			return floor(PHPExcel_Shared_Date::FormattedPHPToExcel($PHPDateArray['year'],$PHPDateArray['month'],$PHPDateArray['day'],$PHPDateArray['hour'],$PHPDateArray['minute'],$PHPDateArray['second']));
3990		}
4004			if (self::$compatibilityMode == self::COMPATIBILITY_OPENOFFICE) {
4005				return PHPExcel_Shared_Date::FormattedPHPToExcel($PHPDateArray['year'],$PHPDateArray['month'],$PHPDateArray['day'],$PHPDateArray['hour'],$PHPDateArray['minute'],$PHPDateArray['second']);
4006			} else {
4006			} else {
4007				return PHPExcel_Shared_Date::FormattedPHPToExcel(1900,1,1,$PHPDateArray['hour'],$PHPDateArray['minute'],$PHPDateArray['second']) - 1;
4008			}
4147
4148		$PHPEndDateObject = PHPExcel_Shared_Date::ExcelToPHPObject($endDate);
4149		$endDays = $PHPEndDateObject->format('j');
4442		// Execute function
4443		$PHPDateObject = PHPExcel_Shared_Date::ExcelToPHPObject($timeValue);
4444		return (int) $PHPDateObject->format('s');
sfForm.class.php http://openirudi.googlecode.com/svn/trunk/ | PHP | 1,217 lines
1<?php
2
20 * @author     Fabien Potencier <fabien.potencier@symfony-project.com>
21 * @version    SVN: $Id: sfForm.class.php 20298 2009-07-19 10:43:11Z fabien $
22 */
208
209    if (is_null($this->taintedValues))
210    {
213
214    if (is_null($this->taintedFiles))
215    {
373
374    $decorator = is_null($decorator) ? $widgetSchema->getFormFormatter()->getDecoratorFormat() : $decorator;
375
418
419    $decorator = is_null($decorator) ? $widgetSchema->getFormFormatter()->getDecoratorFormat() : $decorator;
420    $innerDecorator = is_null($innerDecorator) ? $widgetSchema->getFormFormatter()->getDecoratorFormat() : $innerDecorator;
sfForm.class.php http://openirudi.googlecode.com/svn/trunk/ | PHP | 942 lines
1<?php
2
20 * @author     Fabien Potencier <fabien.potencier@symfony-project.com>
21 * @version    SVN: $Id: sfForm.class.php 11621 2008-09-17 18:46:34Z nicolas $
22 */
165
166    if (is_null($this->taintedValues))
167    {
170
171    if (is_null($this->taintedFiles))
172    {
278
279    $decorator = is_null($decorator) ? $widgetSchema->getFormFormatter()->getDecoratorFormat() : $decorator;
280
324
325    $decorator = is_null($decorator) ? $widgetSchema->getFormFormatter()->getDecoratorFormat() : $decorator;
326    $innerDecorator = is_null($innerDecorator) ? $widgetSchema->getFormFormatter()->getDecoratorFormat() : $innerDecorator;
adodb-session2.php http://scriptz.googlecode.com/svn/trunk/ | PHP | 947 lines
1<?php
2
58if (!defined('_ADODB_LAYER')) {
59	require realpath(dirname(__FILE__) . '/../adodb.inc.php');
60}
67/* 
68	Unserialize session data manually. See http://phplens.com/lens/lensforum/msgs.php?id=9821 
69	
86/*
87	Thanks Joe Li. See http://phplens.com/lens/lensforum/msgs.php?id=11487&x=1
88	Since adodb 4.61.
119    Generate database table for session data
120    @see http://phplens.com/lens/lensforum/msgs.php?id=12280
121    @return 0 if failure, 1 if errors, 2 if successful.
150	
151		if (!is_null($lock)) $_lock = $lock;
152		return $lock;
utility.php http://carrington.googlecode.com/svn/ | PHP | 690 lines
1<?php
2
9// Released under the GPL license
10// http://www.opensource.org/licenses/gpl-license.php
11//
21	if (!empty($str)) {
22		include(CFCT_PATH.'error/exit.php');
23		die();
28	if (!empty($str)) {
29		include(CFCT_PATH.'misc/banner.php');
30	}
54function cfct_default_file($dir) {
55	$fancy = $dir.'-default.php';
56	file_exists(CFCT_PATH.$dir.'/'.$fancy) ? $default = $fancy : $default = 'default.php';
162	// fallback for category, author, tag, etc.
163	$path = CFCT_PATH.$dir.'/'.$file.'.php';
164	if (!file_exists($path)) {
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21