PageRenderTime 588ms queryFilters 1ms Sphinxql 462ms GetByIds 94ms meta 0ms repositoryFilters 6ms languageFilters 0ms sourceFilters 1ms

206,208 results for 'php is_null repo:lyrixx/phpcr-utils' (588 ms)

Source

Language

Repository

barangayedit.php https://bitbucket.org/joemarmatulac/ebutton | PHP | 1,181 lines
6<?php include_once "ewmysql8.php" ?>
7<?php include_once "phpfn8.php" ?>
8<?php include_once "barangayinfo.php" ?>
8<?php include_once "barangayinfo.php" ?>
9<?php include_once "userinfo.php" ?>
10<?php include_once "userfn8.php" ?>
144</script>
145<p class="phpmaker ewTitle"><?php echo $Language->Phrase("Edit") ?>&nbsp;<?php echo $Language->Phrase("TblTypeTABLE") ?><?php echo $barangay->TableCaption() ?></p>
146<p class="phpmaker"><a href="<?php echo $barangay->getReturnUrl() ?>"><?php echo $Language->Phrase("GoBack") ?></a></p>
259		<td<?php echo $barangay->brgyaltitude->CellAttributes() ?>><span id="el_brgyaltitude">
260<input type="text" name="x_brgyaltitude" id="x_brgyaltitude" size="30" value="<?php echo $barangay->brgyaltitude->EditValue ?>"<?php echo $barangay->brgyaltitude->EditAttributes() ?>>
261</span><?php echo $barangay->brgyaltitude->CustomMsg ?></td>
284</script>
285<?php include_once "footer.php" ?>
286<?php
user.php https://bitbucket.org/ogsteam/ogspy | PHP | 2,897 lines
1<?php
2/**
2/**
3 * user.php Fonctions concernant les utilisateurs
4 * @author Kyser
9 * @author Kyser
10 * @link $HeadURL: http://svn.ogsteam.fr/trunk/ogspy/includes/user.php $
11 * @version 3.04b ( $Rev: 7752 $ ) 
11 * @version 3.04b ( $Rev: 7752 $ ) 
12 * $Id: user.php 7752 2012-11-05 12:04:30Z darknoon $
13 */
32                1)
33                redirection("index.php?action=message&id_message=forbidden&info");
34
39                1)
40                redirection("index.php?action=message&id_message=forbidden&info");
41
jpgraph.php https://bitbucket.org/y_widyatama/ijepa2 | PHP | 856 lines
21 *
22 * @category	PHPExcel
23 * @package		PHPExcel_Chart_Renderer
23 * @package		PHPExcel_Chart_Renderer
24 * @copyright	Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel)
25 * @license		http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt	LGPL
29
30require_once(PHPExcel_Settings::getChartRendererPath().'/jpgraph.php');
31
37 * @package		PHPExcel_Chart_Renderer
38 * @copyright	Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel)
39 */
237		$yAxisLabel = $this->_chart->getYAxisLabel();
238		if (!is_null($yAxisLabel)) {
239			$title = $this->_getCaption($yAxisLabel);
jpgraph.php https://bitbucket.org/synergylearning/campusconnect.git | PHP | 840 lines
21 *
22 * @category	PHPExcel
23 * @package		PHPExcel_Chart
23 * @package		PHPExcel_Chart
24 * @copyright	Copyright (c) 2006 - 2012 PHPExcel (http://www.codeplex.com/PHPExcel)
25 * @license		http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt	LGPL
29
30require_once(PHPExcel_Settings::getChartRendererPath().'/jpgraph.php');
31
37 * @package		PHPExcel_Chart_Renderer
38 * @copyright	Copyright (c) 2006 - 2012 PHPExcel (http://www.codeplex.com/PHPExcel)
39 */
239		$yAxisLabel = $this->_chart->getYAxisLabel();
240		if (!is_null($yAxisLabel)) {
241			$title = $this->_getCaption($yAxisLabel);
AIT.php https://github.com/touv/ait.git | PHP | 2,472 lines
1<?php
2// vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4 encoding=utf-8 fdm=marker :
39require_once 'AIT/Item.php';
40require_once 'AIT/TagType.php';
41require_once 'AIT/Tag.php';
50 * @copyright 2009 Nicolas Thouvenin
51 * @license   http://opensource.org/licenses/lgpl-license.php LGPL
52 * @link      http://ait.touv.fr/
1054        try {
1055            if (is_null($t) and !is_null($i)) {
1056                $field = 'item_id';
1058            }
1059            elseif (!is_null($t) and is_null($i)) {
1060                $field = 'tag_id';
1737            }
1738            if (!is_null($offset) && !is_null($lines)) {
1739                $sql .= sprintf(' LIMIT %d,%d', (int)$offset, (int)$lines);
lightvc.php https://github.com/bencochran/yeti.git | PHP | 1,453 lines
45	protected static $controllerPaths = array();
46	protected static $controllerSuffix = '.php'; // e.g. _controller.php
47	protected static $controllerViewPaths = array();
47	protected static $controllerViewPaths = array();
48	protected static $controllerViewSuffix = '.php'; // e.g. .tpl.php
49	protected static $layoutViewPaths = array();
49	protected static $layoutViewPaths = array();
50	protected static $layoutViewSuffix = '.php'; // e.g. .tpl.php
51	protected static $elementViewPaths = array();
51	protected static $elementViewPaths = array();
52	protected static $elementViewSuffix = '.php'; // e.g. .tpl.php
53	protected static $viewClassName = 'Lvc_View'; // e.g. AppView
636	 * 
637	 *     'redirect' => a replacement string that will be used to redirect to.  You can have parts of the original url mapped into the new one (like IDs).  See http://www.php.net/manual/en/function.preg-replace.php's documentation for the replacement parameter.
638	 * 
lightvc.php https://github.com/mamu/yeti.git | PHP | 1,448 lines
45	protected static $controllerPaths = array();
46	protected static $controllerSuffix = '.php'; // e.g. _controller.php
47	protected static $controllerViewPaths = array();
47	protected static $controllerViewPaths = array();
48	protected static $controllerViewSuffix = '.php'; // e.g. .tpl.php
49	protected static $layoutViewPaths = array();
49	protected static $layoutViewPaths = array();
50	protected static $layoutViewSuffix = '.php'; // e.g. .tpl.php
51	protected static $elementViewPaths = array();
51	protected static $elementViewPaths = array();
52	protected static $elementViewSuffix = '.php'; // e.g. .tpl.php
53	protected static $viewClassName = 'Lvc_View'; // e.g. AppView
636	 * 
637	 *     'redirect' => a replacement string that will be used to redirect to.  You can have parts of the original url mapped into the new one (like IDs).  See http://www.php.net/manual/en/function.preg-replace.php's documentation for the replacement parameter.
638	 * 
person.php https://github.com/palfrey/phplib.git | PHP | 390 lines
1<?php
2/*
8 *
9 * $Id: person.php,v 1.28 2008-12-01 13:46:50 matthew Exp $
10 * 
12
13require_once 'utility.php';
14require_once 'stash.php';
14require_once 'stash.php';
15require_once 'rabx.php';
16require_once 'auth.php';
50            err('value passed to person constructor must be person ID or email address');
51        if (is_null($this->id))
52            err("No such person '$id'");
254        $P = person_if_signed_on();
255    if (!is_null($P) && (is_null($email) || strtolower($P->email()) == strtolower($email))) {
256        if (!is_null($name) && !$P->matches_name($name))
mpd.php https://github.com/jinzora/jinzora3.git | PHP | 1,714 lines
1<?php if (!defined(JZ_SECURE_ACCESS)) die ('Security breach detected.');
2	/**
117				</form>
118				<?php
119				exit();
141				// Ok, let's create the settings file
142				$content  = "<?". "php\n";
143				$content .= "$". "jbArr[0]['server'] = '". $_POST['edit_server']. "';\n";
150				// Now let's write it out IF we can
151				$filename = getcwd(). "/jukebox/settings.php";
152				if (is_writable($filename)){
159					</form>
160					<?php
161					exit();
165					echo "Or copy and paste the below information into the file at: ". getcwd(). "/jukebox/settings.php<br><br>";
166					echo str_replace("    ","&nbsp;&nbsp;&nbsp;&nbsp;",nl2br(str_replace("<?php", "&lt;php",$content)));
167					echo "<br><br>";
Savant.php https://github.com/clayhinson/sgl2.git | PHP | 757 lines
1<?php
2
59    * 
60    * @version $Id: Savant.php,v 1.7 2005/05/14 03:39:11 alan_k Exp $
61    * 
91        
92        if (! is_null($set_unchecked)) {
93            // this sets the unchecked value of the checkbox.
120    * 
121    * @version $Id: Savant.php,v 1.7 2005/05/14 03:39:11 alan_k Exp $
122    * 
171                
172                if (! is_null($set_unchecked)) {
173                    // this sets the unchecked value of the checkbox.
388        // get the width and height of the image
389        if (is_null($width) && is_null($height)) {
390        
settings.php https://github.com/ketzaldev/VCD-Db.git | PHP | 2,018 lines
1<?php
2/**
17?>
18<?php
19
19
20require_once(dirname(__FILE__).'/settingsObj.php');
21require_once(dirname(__FILE__).'/sourceSiteObj.php');
21require_once(dirname(__FILE__).'/sourceSiteObj.php');
22require_once(dirname(__FILE__).'/mediaTypeObj.php');
23require_once(dirname(__FILE__).'/movieCategoryObj.php');
23require_once(dirname(__FILE__).'/movieCategoryObj.php');
24require_once(dirname(__FILE__).'/borrowerObj.php');
25require_once(dirname(__FILE__).'/loanObj.php');
25require_once(dirname(__FILE__).'/loanObj.php');
26require_once(dirname(__FILE__).'/commentObj.php');
27require_once(dirname(__FILE__).'/statisticsObj.php');
Section.php https://github.com/joechrysler/Campsite.git | PHP | 657 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/CampCacheList.php');
14require_once($GLOBALS['g_campsiteDir'].'/classes/CampCacheList.php');
15require_once($GLOBALS['g_campsiteDir'].'/template_engine/classes/CampTemplate.php');
16
111	{
112		if (is_null($p_destIssueLanguageId)) {
113			$p_destIssueLanguageId = $this->m_data['IdLanguage'];
Run-main.php https://github.com/clalancette/condor-dcloud.git | PHP | 658 lines
1<?php
2
45  
46  if ( is_null( $re ) ) {
47    # trim down the array - remove keys whose value is ALL or ""
48    foreach ($args as $key => $val) {
49      if($val == "" || $val == " " || is_null($val) || (strstr($val, "ALL")) ) { 
50        unset($args[$key]);
77  $arg_users = $args["user"];
78  if ( is_null( $arg_users ) ) {
79    $users["ALL"] = "SELECTED";
97  $arg_run_type = $args["run_type"];
98  if ( is_null( $arg_run_type ) ) {
99    $run_types["ALL"] = "SELECTED";
380  # Put all date calculations here 
381  # TODO: To get PHP's date functions to work, you have to compile PHP with --enable-calendar.
382  # TODO: Some of the date calculations are broken.  Fix them when we have date functions available.   
Lite.php https://github.com/saltybeagle/config_lite.git | PHP | 490 lines
99     * 
100     * prepends a php exit if suffix is php,
101     * it is valid to write an empty Config file,
184    {
185        if (is_null($this->sections) && is_null($default)) {
186            throw new Config_Lite_RuntimeException(
213    {
214        if (is_null($this->sections) && is_null($default)) {
215            throw new Config_Lite_RuntimeException(
241    {
242        if (is_null($this->sections) && is_null($default)) {
243            throw new Config_Lite_RuntimeException(
280    {
281        if (is_null($this->sections) && is_null($default)) {
282            throw new Config_Lite_RuntimeException(
phprpc_client.php https://gitlab.com/yoage/thinkphp.git | PHP | 583 lines
5|                                                          |
6| phprpc_client.php                                        |
7|                                                          |
66    function keep_phprpc_cookie_in_session() {
67        global $_PHPRPC_COOKIES, $_PHPRPC_COOKIE;
68        $_SESSION['phprpc_cookies'] = $_PHPRPC_COOKIES;
281        }
282        $this->_warning = new PHPRPC_Error($phprpc_errno, $phprpc_errstr);
283        if (array_key_exists('phprpc_output', $result)) {
513        if (!is_null($this->_key) || ($this->_encryptMode == 0)) return true;
514        $request = "phprpc_encrypt=true&phprpc_keylen={$this->_keylen}";
515        $result = $this->_post($request);
576else {
577    class PHPRPC_Client extends _PHPRPC_Client {
578        function __call($function, $arguments) {
YahooOAuthApplication.class.php https://bitbucket.org/excellencetechnologies/sociallogin | PHP | 482 lines
1<?php
2
3/**
4 * Yahoo! PHP5 SDK
5 *
10 *
11 * Hosted on GitHub: http://github.com/yahoo/yos-social-php5/tree/master
12 *
12 *
13 * @package    yos-social-php5
14 * @subpackage yahoo
39
40require_once 'YahooCurl.class.php';
41require_once 'YahooYQLQuery.class.php';
41require_once 'YahooYQLQuery.class.php';
42require_once 'YahooOAuthApplicationException.class.php';
43require_once 'YahooOAuthAccessToken.class.php';
jpgraph.php https://bitbucket.org/rlm3/rlm3_staging | PHP | 856 lines
21 *
22 * @category	PHPExcel
23 * @package		PHPExcel_Chart_Renderer
23 * @package		PHPExcel_Chart_Renderer
24 * @copyright	Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel)
25 * @license		http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt	LGPL
29
30require_once(PHPExcel_Settings::getChartRendererPath().'/jpgraph.php');
31
37 * @package		PHPExcel_Chart_Renderer
38 * @copyright	Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel)
39 */
237		$yAxisLabel = $this->_chart->getYAxisLabel();
238		if (!is_null($yAxisLabel)) {
239			$title = $this->_getCaption($yAxisLabel);
jpgraph.php https://bitbucket.org/matyhaty/senses-designertravelv3 | PHP | 832 lines
21 *
22 * @category	PHPExcel
23 * @package		PHPExcel_Chart
23 * @package		PHPExcel_Chart
24 * @copyright	Copyright (c) 2006 - 2012 PHPExcel (http://www.codeplex.com/PHPExcel)
25 * @license		http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt	LGPL
29
30require_once(PHPExcel_Settings::getChartRendererPath().'/jpgraph.php');
31
37 * @package		PHPExcel_Chart_Renderer
38 * @copyright	Copyright (c) 2006 - 2012 PHPExcel (http://www.codeplex.com/PHPExcel)
39 */
237		$yAxisLabel = $this->_chart->getYAxisLabel();
238		if (!is_null($yAxisLabel)) {
239			$title = $this->_getCaption($yAxisLabel);
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		}
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21