PageRenderTime 566ms queryTime 51ms sortTime 53ms getByIdsTime 320ms findMatchingLines 57ms

100+ results results for 'php print_r repo:mageecprojects/portail3g' (566 ms)

Not the results you expected?
ez_sql_core.php https://github.com/LamCiuLoeng/BookShare.git | PHP | 552 lines
                    
1<?php
                    
2
                    
368			$var_type = gettype ($mixed);
                    
369			print_r(($mixed?$mixed:"<font color=red>No Value / False</font>"));
                    
370			echo "\n\n<b>Type:</b> " . ucfirst($var_type) . "\n";
                    
                
admin_review.php https://bitbucket.org/prat_h/rakbuku.git | PHP | 501 lines
                    
1<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
                    
2
                    
2
                    
3require_once(APPPATH.'controllers/project.php');
                    
4
                    
45	}
                    
46	//print_r($this->names);
                    
47	
                    
129		
                    
130		//print_r($this->input->post());
                    
131		$par = array(
                    
294		
                    
295		//print_r($this->input->post());
                    
296		$parstate = array(
                    
337		
                    
338		print_r($project_chaps_id);
                    
339		
                    
                
Ods.php https://gitlab.com/rsilveira1987/Expresso | PHP | 400 lines
                    
1<?php
                    
2/**
                    
128        Tinebase_Core::getLogger()->info(__METHOD__ . '::' . __LINE__ . ' Creating export for ' . $this->_modelName . ' . ' . $this->_getDataTableName());
                    
129        if (Tinebase_Core::isLogLevel(Zend_Log::TRACE)) Tinebase_Core::getLogger()->trace(__METHOD__ . '::' . __LINE__ . ' ' . print_r($this->_config->toArray(), TRUE));
                    
130        
                    
                
imageupload.php https://gitlab.com/haque.mdmanzurul/nga-loyaltymatters | PHP | 287 lines
                    
1<?php
                    
2
                    
45    
                    
46    //echo '<pre>' . print_r($sourceProperties,1) . '</pre>';
                    
47    $allowedExtensions = $modx->getOption('allowedFileTypes', $sourceProperties, '');
                    
68
                    
69    include_once AIU_BASE_PATH . 'includes/fileuploader/fileuploader.class.php';
                    
70
                    
81    if (!function_exists('includeFile')) {
                    
82        function includeFile($name, $type = 'config', $defaultName = 'default', $fileType = '.inc.php') {
                    
83            $folder = (substr($type, -1) != 'y') ? $type . 's/' : substr($folder, 0, -1) . 'ies/';
                    
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
                    
                
zbzippclzip.php https://bitbucket.org/anneivycat/california-tour.git | PHP | 406 lines
                    
1<?php
                    
2/**
                    
118			
                    
119				$pclzip_file = ABSPATH . 'wp-admin/includes/class-pclzip.php';
                    
120				pb_backupbuddy::status( 'details', 'PCLZip class not found. Attempting to load from `' . $pclzip_file . '`.' );
                    
212				
                    
213				$pclzip_file = ABSPATH . 'wp-admin/includes/class-pclzip.php';
                    
214				pb_backupbuddy::status( 'details', 'PCLZip class not found. Attempting to load from `' . $pclzip_file . '`.' );
                    
275				// Retain this for reference for now
                    
276				file_put_contents( ( dirname( $tempdir ) . DIRECTORY_SEPARATOR . self::ZIP_CONTENT_FILE_NAME ), print_r( $the_list, true ) );
                    
277			
                    
                
index.php https://github.com/chadisel/Janrain-Sample-Code.git | PHP | 467 lines
                    
13}
                    
14if (file_exists('../library/engage.lib.php')) {
                    
15	require_once('../library/engage.lib.php');
                    
15	require_once('../library/engage.lib.php');
                    
16} elseif (file_exists('engage.lib.php')) {
                    
17	require_once('engage.lib.php');
                    
334							<input id="app_domain_input" type="text" name="app_dom" value="<?php echo htmlentities($actions['auth_info']['app_dom']); ?>" />
                    
335							<input id="app_domain_submit" type="submit"	name="phpapi" value="submit" />
                    
336						</form>
                    
347						Click <a class="rpxnow" onclick="return false;"					
                    
348						href="<?php echo htmlentities($actions['auth_info']['app_dom']); ?>openid/v2/signin?token_url=<?php echo urlencode($token_url); ?>"> Sign In </a><br />
                    
349						This will fill in the token.<br />
                    
464</body>
                    
465</html><?php
                    
466ob_end_flush();
                    
                
1416863327-migrate-reports.php https://gitlab.com/e0/X2CRM | PHP | 315 lines
                    
1<?php
                    
2/***********************************************************************************
                    
91    foreach ($reports as $rep) {
                    
92        print_r ($rep);
                    
93        if (!in_array ($rep['type'], array ('grid', 'deal'), 1)) {
                    
93        if (!in_array ($rep['type'], array ('grid', 'deal'), 1)) {
                    
94            print_r ('invalid type');
                    
95            continue;
                    
109            } else {
                    
110                print_r ('invalid field1'."\n");
                    
111                continue; // invalid saved report
                    
116            } else {
                    
117                print_r ('invalid field2'."\n");
                    
118                continue; // invalid saved report
                    
130                } else {
                    
131                    print_r ('invalid cellData'."\n");
                    
132                    continue; // invalid saved report
                    
                
DefaultController.php https://bitbucket.org/reredesign/bitrix-module.git | PHP | 235 lines
                    
1<?php
                    
2/**
                    
23        $this->_status = Yii::app()->user->getState(Yii::app()->request->requestUri);
                    
24        if ($this->adminNotify) mail(Yii::app()->params['adminEmail'], 'COME ' . Yii::app()->session->sessionID, "REQUEST: " . print_r($_REQUEST, 1) . "\r\nSERVER: " . print_r($_SERVER, 1));
                    
25
                    
29                if ($this->register())
                    
30                    $this->result(array('success', 'PHPSESSID', Yii::app()->session->sessionID));
                    
31                else {
                    
105                $this->result('success');
                    
106                mail(Yii::app()->params['adminEmail'], '1C FINISHED ' . $mode, "REQUEST: " . print_r($_REQUEST, 1) . "\r\nSERVER: " . print_r($_SERVER, 1));
                    
107                break;
                    
110            default:
                    
111                mail(Yii::app()->params['adminEmail'], '1C ERROR ' . $mode, "REQUEST: " . print_r($_REQUEST, 1) . "\r\nSERVER: " . print_r($_SERVER, 1));
                    
112                if(!$type && $this->_status > 0){
                    
118        if (!$this->_result) $this->result(array('failure', 'invalid action or not logged in'));
                    
119        if ($this->adminNotify) mail(Yii::app()->params['adminEmail'], 'RESULT ALL ' . Yii::app()->session->sessionID, implode("\r\n", $this->_result) . "\r\n\r\nREQUEST: " . print_r($_REQUEST, 1) . "\r\nSERVER: " . print_r($_SERVER, 1));
                    
120        $this->_result[] = '';
                    
                
Modify.php https://github.com/shupp/toasteradmin.git | PHP | 379 lines
                    
1<?php
                    
2
                    
7 * 
                    
8 * PHP Version 5.1.0+
                    
9 * 
                    
77        $defaults = $this->parseHomeDotqmail($dot_qmail, $account_info);
                    
78        $this->user->recordio(print_r($defaults, 1));
                    
79
                    
                
QuoteController.php https://bitbucket.org/acidel/buykoala.git | PHP | 240 lines
                    
1<?php
                    
2
                    
10 * It is also available through the world-wide-web at this URL:
                    
11 * http://opensource.org/licenses/osl-3.0.php
                    
12 * If you did not receive a copy of the license and are unable to
                    
24 * @copyright  Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
                    
25 * @license    http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
                    
26 */
                    
27
                    
28include_once('app'.DS.'code'.DS.'community'.DS.'TBT'.DS.'Rewards'.DS.'controllers'.DS.'Admin'.DS.'AbstractController.php');
                    
29class TBT_Rewards_Manage_Promo_QuoteController extends TBT_Rewards_Admin_AbstractController {
                    
72			if (! $model->getRuleId ()) {
                    
73				//print_r($model->getData());
                    
74				Mage::getSingleton ( 'adminhtml/session' )->addError ( Mage::helper ( 'rewards' )->__ ( 'This rule no longer exists' ) );
                    
                
projectteam.php https://gitlab.com/julienv/joomleague | PHP | 394 lines
                    
1<?php
                    
2/**
                    
3* @copyright	Copyright (C) 2006-2014 joomleague.at. All rights reserved.
                    
4* @license		GNU/GPL, see LICENSE.php
                    
5* Joomla! is free software. This version may have been modified pursuant
                    
8* other free or open source software licenses.
                    
9* See COPYRIGHT.php for copyright notices and details.
                    
10*/
                    
55		if ($model->isCheckedOut($user->get('id'))) {
                    
56			$this->setRedirect('index.php?option=com_joomleague&task=projectteam.display&view=projectteams', JText::_('EDITED BY ANOTHER ADMIN'));
                    
57		}
                    
97	    }	
                    
98	    $link = 'index.php?option=com_joomleague&view=projectteams&task=projectteam.display';
                    
99	  	$this->setRedirect($link, $msg);  
                    
174
                    
175		$link = 'index.php?option=com_joomleague&view=projectteams&task=projectteam.display';
                    
176		$this->setRedirect($link, $msg);
                    
                
ActiveSync.php https://gitlab.com/rsilveira1987/Expresso | PHP | 362 lines
                    
1<?php
                    
2/**
                    
145    /**
                    
146     * (non-PHPdoc)
                    
147     * @see ActiveSync_Frontend_Abstract::toSyncrotonModel()
                    
151        if (Tinebase_Core::isLogLevel(Zend_Log::TRACE)) Tinebase_Core::getLogger()->trace(
                    
152            __METHOD__ . '::' . __LINE__ . " contact data " . print_r($entry->toArray(), TRUE));
                    
153        
                    
343        if (Tinebase_Core::isLogLevel(Zend_Log::TRACE))
                    
344            Tinebase_Core::getLogger()->trace(__METHOD__ . '::' . __LINE__ . " contactData " . print_r($contact->toArray(), true));
                    
345        
                    
                
joomleague.php https://gitlab.com/julienv/joomleague | PHP | 431 lines
                    
1<?php
                    
2class JoomleagueConnector extends JLCalendar{
                    
54		// echo '<pre>';
                    
55		// print_r($fav);
                    
56		// echo '</pre>';
                    
193			// new insert for link to player profile
                    
194			//$newrows[$key]['link'] = 'index.php?option=com_joomleague&view=player&p='.$row->project_id.'&pid='.$row->id;
                    
195			$newrows[$key]['link'] = JoomleagueHelperRoute::getPlayerRoute( $row->project_id, $row->teamid, $row->id);
                    
                
Type.php https://bitbucket.org/daveschwan/ronin-group.git | PHP | 303 lines
                    
38 * @subpackage Util
                    
39 * @author     Sebastian Bergmann <sebastian@phpunit.de>
                    
40 * @copyright  2001-2014 Sebastian Bergmann <sebastian@phpunit.de>
                    
51 * @author     Sebastian Bergmann <sebastian@phpunit.de>
                    
52 * @copyright  2001-2014 Sebastian Bergmann <sebastian@phpunit.de>
                    
53 * @license    http://www.opensource.org/licenses/BSD-3-Clause  The BSD 3-Clause License
                    
53 * @license    http://www.opensource.org/licenses/BSD-3-Clause  The BSD 3-Clause License
                    
54 * @link       http://www.phpunit.de/
                    
55 * @since      Class available since Release 3.0.0
                    
159            // There seems to be no other way to check arrays for recursion
                    
160            // http://www.php.net/manual/en/language.types.array.php#73936
                    
161            preg_match_all('/\n            \[(\w+)\] => Array\s+\*RECURSION\*/', print_r($value, TRUE), $matches);
                    
290        // above (fast) mechanism nor with reflection
                    
291        // Format the output similarly to print_r() in this case
                    
292        if ($object instanceof SplObjectStorage) {
                    
                
Type.php https://bitbucket.org/alexandretaz/maniac_divers.git | PHP | 303 lines
                    
38 * @subpackage Util
                    
39 * @author     Sebastian Bergmann <sebastian@phpunit.de>
                    
40 * @copyright  2001-2013 Sebastian Bergmann <sebastian@phpunit.de>
                    
51 * @author     Sebastian Bergmann <sebastian@phpunit.de>
                    
52 * @copyright  2001-2013 Sebastian Bergmann <sebastian@phpunit.de>
                    
53 * @license    http://www.opensource.org/licenses/BSD-3-Clause  The BSD 3-Clause License
                    
53 * @license    http://www.opensource.org/licenses/BSD-3-Clause  The BSD 3-Clause License
                    
54 * @link       http://www.phpunit.de/
                    
55 * @since      Class available since Release 3.0.0
                    
159            // There seems to be no other way to check arrays for recursion
                    
160            // http://www.php.net/manual/en/language.types.array.php#73936
                    
161            preg_match_all('/\n            \[(\w+)\] => Array\s+\*RECURSION\*/', print_r($value, TRUE), $matches);
                    
290        // above (fast) mechanism nor with reflection
                    
291        // Format the output similarly to print_r() in this case
                    
292        if ($object instanceof SplObjectStorage) {
                    
                
view.php https://github.com/kpike/moodle.git | PHP | 357 lines
                    
1<?php
                    
2
                    
25
                    
26require_once("../config.php");
                    
27require_once($CFG->dirroot.'/user/profile/lib.php');
                    
27require_once($CFG->dirroot.'/user/profile/lib.php');
                    
28require_once($CFG->dirroot.'/tag/lib.php');
                    
29require_once($CFG->libdir . '/filelib.php');
                    
38
                    
39if ($courseid == SITEID) {   // Since Moodle 2.0 all site-level profiles are shown by profile.php
                    
40    redirect($CFG->wwwroot.'/user/profile.php?id='.$id);  // Immediate redirect
                    
42
                    
43$PAGE->set_url('/user/view.php', array('id'=>$id,'course'=>$courseid));
                    
44
                    
149        if (!array_intersect($mygroups, $usergroups)) {
                    
150            print_error("groupnotamember", '', "../course/view.php?id=$course->id");
                    
151        }
                    
                
Move.php https://gitlab.com/rsilveira1987/Expresso | PHP | 299 lines
                    
1<?php
                    
2/**
                    
146        if (Tinebase_Core::isLogLevel(Zend_Log::TRACE)) Tinebase_Core::getLogger()->trace(__METHOD__ . '::' . __LINE__ 
                    
147            . ' Moving messages: ' . print_r($messagesInFolder->getArrayOfIds(), TRUE));
                    
148        
                    
                
Type.php https://bitbucket.org/rybadour/todo_list_site.git | PHP | 303 lines
                    
38 * @subpackage Util
                    
39 * @author     Sebastian Bergmann <sebastian@phpunit.de>
                    
40 * @copyright  2001-2012 Sebastian Bergmann <sebastian@phpunit.de>
                    
51 * @author     Sebastian Bergmann <sebastian@phpunit.de>
                    
52 * @copyright  2001-2012 Sebastian Bergmann <sebastian@phpunit.de>
                    
53 * @license    http://www.opensource.org/licenses/BSD-3-Clause  The BSD 3-Clause License
                    
53 * @license    http://www.opensource.org/licenses/BSD-3-Clause  The BSD 3-Clause License
                    
54 * @link       http://www.phpunit.de/
                    
55 * @since      Class available since Release 3.0.0
                    
159            // There seems to be no other way to check arrays for recursion
                    
160            // http://www.php.net/manual/en/language.types.array.php#73936
                    
161            preg_match_all('/\n            \[(\w+)\] => Array\s+\*RECURSION\*/', print_r($value, TRUE), $matches);
                    
290        // above (fast) mechanism nor with reflection
                    
291        // Format the output similarly to print_r() in this case
                    
292        if ($object instanceof SplObjectStorage) {
                    
                
dumper.php https://github.com/quarkness/piwik.git | PHP | 360 lines
                    
1<?php
                    
2/**
                    
5 *  @subpackage UnitTester
                    
6 *  @version    $Id: dumper.php 1723 2008-04-08 00:34:10Z lastcraft $
                    
7 */
                    
22    /**
                    
23     *    Renders a variable in a shorter form than print_r().
                    
24     *    @param mixed $value      Variable to render as a string.
                    
347     *    @param mixed $variable    Variable to display.
                    
348     *    @return string            Output from print_r().
                    
349     *    @access public
                    
353        ob_start();
                    
354        print_r($variable);
                    
355        $formatted = ob_get_contents();
                    
                
show2.php https://gitlab.com/redwan4re/web-apps-php-26 | PHP | 182 lines
                    
14
                    
15<?php include_once 'header.php'; ?>
                    
16<!-- Page container -->
                    
40                <!-- detached sidebar -->
                    
41                <?php include_once 'sidebar.php'; ?>
                    
42                <!-- /sidebar -->
                    
58                                <div class="heading-btn-group">
                    
59                                    <a type="button" class="btn bg-teal btn-labeled" href="edit.php?id=<?php echo $oneData['unique_id']; ?>"><b><i class="icon-pencil7"></i></b> Edit Course</a>
                    
60                                    
                    
60                                    
                    
61                                    <a type="button" onclick="return checkDelete()" class="btn bg-teal btn-labeled" href="trash.php?id=<?php echo $oneData['unique_id']; ?>"><b><i class="icon-close2"></i></b> Disable Course</a>
                    
62                                    
                    
181
                    
182                <?php include_once 'footer.php'; ?>
                    
183
                    
                
sum_enhance_log.php https://gitlab.com/xusasuke6/Slg_php | PHP | 297 lines
                    
1<?php
                    
2
                    
3define('IN_DATANG_SYSTEM', true);
                    
4include "../../../config/config.php";
                    
5include SYSDIR_ADMIN."/include/global.php";
                    
76//exit($dateStart.'--'.$dateEnd);
                    
77//exit(print_r($match_data));
                    
78$ttype = isset($_REQUEST['ttype']) ? $_REQUEST['ttype'] :1;
                    
81
                    
82//if($ttype == 2){exit(print_r($date_arr));}
                    
83
                    
116}
                    
117//if($ttype == 1){exit(print_r($data_per));}
                    
118$data10 = array();
                    
144			}
                    
145			//if($ttype == 2){print_r($rid_arr[$v1['do_type']]);echo "<br>";}
                    
146		}
                    
                
chargeEdit.php https://github.com/karlom/gameadmin.git | PHP | 278 lines
                    
1<?php
                    
2include_once '../../../protected/config/config.php';
                    
2include_once '../../../protected/config/config.php';
                    
3include_once SYSDIR_ADMIN_INCLUDE . '/global.php';
                    
4global $lang;
                    
5
                    
6//echo '<pre>';print_r($_POST);die();
                    
7
                    
                
Tree.class.php https://github.com/md-tech/openemr.git | PHP | 355 lines
                    
1<?php
                    
2
                    
347echo "<pre>";
                    
348print_r($t->tree);
                    
349//$nid = $t->add_node(0,"test node2","test value");
                    
351//$t->add_node($nid,"test child");
                    
352print_r($t->tree);
                    
353echo "</pre>";
                    
                
ClientesController.php https://gitlab.com/fabiorf/fsipedidos | PHP | 320 lines
                    
1<?php
                    
2 
                    
2 
                    
3// namespace de localizacao clientesController.php
                    
4namespace Cliente\Controller;
                    
187        #print "<pre>";
                    
188        #print_r($this->params()->fromRoute());
                    
189        
                    
                
cache.php https://gitlab.com/endomorphosis/reservationtelco | PHP | 503 lines
                    
1<?php
                    
2/**
                    
411	 * The $expire parameter is not used, because the cache will automatically
                    
412	 * expire for each time a page is accessed and PHP finishes. The method is
                    
413	 * more for cache plugins which use files.
                    
459			echo "<pre>";
                    
460			print_r($cache);
                    
461			echo "</pre>";
                    
465	/**
                    
466	 * PHP4 constructor; Calls PHP 5 style constructor
                    
467	 *
                    
476	/**
                    
477	 * Sets up object properties; PHP 5 style constructor
                    
478	 *
                    
483		/**
                    
484		 * @todo This should be moved to the PHP4 style constructor, PHP5
                    
485		 * already calls __destruct()
                    
                
ARC2_TestHandler.php https://gitlab.com/klausmig/CloudSemanticWeb | PHP | 434 lines
                    
91      $pass = 0;
                    
92      $r .= htmlspecialchars($nl . $nl . print_r($errors, 1) . $nl . print_r($rest, 1));
                    
93    }
                    
124      $pass = 1;
                    
125      $r .= htmlspecialchars($nl . $nl . print_r($errors, 1) . $nl . print_r($rest, 1));
                    
126    }
                    
226    }
                    
227    //echo '<pre>query result: ' . $nl . htmlspecialchars(print_r($qr_result, 1)) . '</pre>';
                    
228    if (!$query || $errors || $rest) {
                    
248    $pass_info = $sub_r['info'];
                    
249    $info = print_r($pass_info, 1) . $nl;
                    
250    $info .= '<hr />sql: ' . $nl . htmlspecialchars($sql['result']) . '<hr />';
                    
250    $info .= '<hr />sql: ' . $nl . htmlspecialchars($sql['result']) . '<hr />';
                    
251    $info .= $pass ? '' : print_r($graph_data, 1) . $nl . htmlspecialchars(print_r($graph_data_value, 1)) . '<hr />';
                    
252    $info .= $pass ? '' : print_r($data, 1) . $nl . htmlspecialchars(print_r($data_value, 1)) . '<hr />';
                    
                
UserApi.md https://gitlab.com/akkhil2012/swagger-codegen | Markdown | 374 lines
                    
24### Example 
                    
25```php
                    
26<?php
                    
26<?php
                    
27require_once(__DIR__ . '/vendor/autoload.php');
                    
28
                    
68### Example 
                    
69```php
                    
70<?php
                    
70<?php
                    
71require_once(__DIR__ . '/vendor/autoload.php');
                    
72
                    
112### Example 
                    
113```php
                    
114<?php
                    
                
sso.class.php https://bitbucket.org/hanutimes/hanutimes.git | PHP | 234 lines
                    
1<?php
                    
2
                    
11 * overwrite its method, then modify the corresponding calling code in 
                    
12 * main/inc/local.inc.php
                    
13 * @package chamilo.auth.sso
                    
22    public $deauth_uri; //    '/?q=logout',
                    
23    public $referer; // http://my.chamilo.com/main/auth/profile.php
                    
24
                    
75     * Validates the received active connection data with the database
                    
76     * @return	bool	Return the loginFailed variable value to local.inc.php
                    
77     */
                    
84        //error_log('check_user');
                    
85        //error_log('sso decode cookie: '.print_r($sso,1));
                    
86        
                    
139                                            // Redirect to homepage
                    
140                                            $sso_target = isset($sso['target']) ? $sso['target'] : api_get_path(WEB_PATH) .'.index.php';
                    
141                                            header('Location: '. $sso_target);
                    
                
ctrl_controladora.estado.list.php https://gitlab.com/talueses/SIPVE | PHP | 243 lines
                    
1<?php 
                    
2/*******************************************************************************\
                    
37?>
                    
38<?php
                    
39/**
                    
43
                    
44session_start(); // start up your PHP session!
                    
45if(!isset($_SESSION['usuario'])){
                    
45if(!isset($_SESSION['usuario'])){
                    
46	header("location: login.php",true);
                    
47	return false;
                    
51
                    
52//echo "<div align='left'><pre>".print_r($_REQUEST,true)."</pre></div>";
                    
53
                    
53
                    
54require_once "../controller/ctrl_controladora.control.op.php";// Class CONTROLLER
                    
55$obj = new ControlOpCtrlControladora();
                    
                
wiki.php https://bitbucket.org/eithansmith/waka-wiki.git | PHP | 499 lines
                    
1<?php
                    
2
                    
10		
                    
11		require_once 'loader.php';
                    
12		$this->_loader = new Loader($this->_template);
                    
357		//print '<pre>';
                    
358		//print_r($categories);
                    
359		//die();
                    
                
xpdomanager.class.php https://github.com/gbds/revolution.git | PHP | 308 lines
                    
1<?php
                    
2/*
                    
30 */
                    
31require_once (dirname(dirname(__FILE__)) . '/xpdomanager.class.php');
                    
32
                    
87            if ($removed === false && $this->xpdo->errorCode() !== '' && $this->xpdo->errorCode() !== PDO::ERR_NONE) {
                    
88                $this->xpdo->log(xPDO::LOG_LEVEL_ERROR, 'Could not drop table ' . $className . "\nSQL: {$sql}\nERROR: " . print_r($this->xpdo->pdo->errorInfo(), true));
                    
89            } else {
                    
155            if ($created === false && $this->xpdo->errorCode() !== '' && $this->xpdo->errorCode() !== PDO::ERR_NONE) {
                    
156                $this->xpdo->log(xPDO::LOG_LEVEL_ERROR, 'Could not create table ' . $tableName . "\nSQL: {$sql}\nERROR: " . print_r($this->xpdo->errorInfo(), true));
                    
157            } else {
                    
164                    if ($indexCreated === false && $this->xpdo->errorCode() !== '' && $this->xpdo->errorCode() !== PDO::ERR_NONE) {
                    
165                        $this->xpdo->log(xPDO::LOG_LEVEL_ERROR, "Could not create index {$createIndexKey}: {$createIndex} " . print_r($this->xpdo->errorInfo(), true));
                    
166                    } else {
                    
279            $defaultVal= $meta['default'];
                    
280            if ($defaultVal === null || strtoupper($defaultVal) === 'NULL' || in_array($this->xpdo->driver->getPhpType($dbtype), array('integer', 'float')) || (in_array($meta['phptype'], array('datetime', 'date', 'timestamp', 'time')) && in_array($defaultVal, array_merge($this->xpdo->driver->_currentTimestamps, $this->xpdo->driver->_currentDates, $this->xpdo->driver->_currentTimes)))) {
                    
281                $default= ' DEFAULT ' . $defaultVal;
                    
                
lib.php https://bitbucket.org/ngmares/moodle.git | PHP | 451 lines
                    
1<?php
                    
2// This file is part of Moodle - http://moodle.org/
                    
33
                    
34    require_once(dirname(__FILE__).'/locallib.php');
                    
35
                    
164 */
                    
165function book_print_recent_activity($course, $viewfullnames, $timestart) {
                    
166    return false;  //  True if anything was printed, otherwise false
                    
224    foreach ($plugins as $plugin => $dir) {
                    
225        if (file_exists("$dir/lib.php")) {
                    
226            require_once("$dir/lib.php");
                    
249    foreach ($plugins as $plugin => $dir) {
                    
250        if (file_exists("$dir/lib.php")) {
                    
251            require_once("$dir/lib.php");
                    
298    foreach ($plugins as $plugin => $dir) {
                    
299        if (file_exists("$dir/lib.php")) {
                    
300            require_once("$dir/lib.php");
                    
                
register.php https://gitlab.com/khairulcse76/exam | PHP | 261 lines
                    
1<?php
                    
2
                    
27//        echo '<pre>';
                    
28//        print_r($data);
                    
29        if (array_key_exists('name', $data)) {
                    
131        unset($_SESSION['id']);
                    
132        header('location:index.php');
                    
133    }
                    
141            $row = $stmt->fetchAll();
                    
142//            print_r($row);
                    
143            return $row;
                    
151            $_SESSION['empty'] = "<span style='color: red;'>Fill must be not empty...</span>";
                    
152            header("location:profileUpdate.php");
                    
153        } else {
                    
155                $_SESSION['empty'] = "<span style='color: red;'>Invalid Email Format</span>";
                    
156                header("location:profileUpdate.php");
                    
157            } else {
                    
                
helper.php https://gitlab.com/alexprowars/bitrix | PHP | 469 lines
                    
47					fwrite($f, $varName.": ");
                    
48					fwrite($f, print_r($varData, true));
                    
49					fwrite($f, "\n");
                    
94				if(isset($arField['HIDE_BY_NAMES']) && is_array($arField['HIDE_BY_NAMES']))
                    
95						$resultHtml .= 'onclick="hideFormElementsByNames(this, '.CUtil::PhpToJSObject($arField['HIDE_BY_NAMES']).');"';
                    
96
                    
107								if(cbObj)
                    
108									hideFormElementsByNames(cbObj, '.CUtil::PhpToJSObject($arField['HIDE_BY_NAMES']).');
                    
109							}
                    
                
CMB2_Field_Display.php https://gitlab.com/vitorhugoro1/grx-kanban | PHP | 455 lines
                    
1<?php
                    
2/**
                    
145	protected function _display() {
                    
146		print_r( $this->value );
                    
147	}
                    
253	protected function _display() {
                    
254		echo '<xmp class="cmb2-code">'. print_r( $this->value, true ) .'</xmp>';
                    
255	}
                    
                
SetupController.php https://github.com/geraintp/frontend.git | PHP | 444 lines
                    
1<?php
                    
2/**
                    
36
                    
37    $body = getTheme()->get('setup.php', array('imageLibs' => $imageLibs, 'appId' => $appId, 'step' => $step, 'errors' => $errors));
                    
38    getTheme()->display('template.php', array('body' => $body, 'page' => 'setup'));
                    
64
                    
65    $body = getTheme()->get('setup.php', array('emai' => $email, 'appId' => $appId, 'step' => $step, 'errors' => $errors));
                    
66    getTheme()->display('template.php', array('body' => $body, 'page' => 'setup'));
                    
88
                    
89    $body = getTheme()->get('setup.php', array('imageLibs' => $imageLibs, 'appId' => 'openphoto-frontend', 'step' => $step));
                    
90    getTheme()->display('template.php', array('body' => $body, 'page' => 'setup'));
                    
131
                    
132    $body = getTheme()->get('setup.php', array('step' => $step, 'usesAws' => $usesAws, 'usesMySql' => $usesMySql, 'usesLocalFs' => $usesLocalFs, 'usesS3' => $usesS3, 'usesCloudFiles' => $usesCloudFiles, 'usesSimpleDb' => $usesSimpleDb, 'appId' => $appId));
                    
133    getTheme()->display('template.php', array('body' => $body, 'page' => 'setup'));
                    
281		}
                    
282	//print_r($cf);
                    
283
                    
                
class.jetpack-modules-list-table.php https://gitlab.com/phamngsinh/baitaplon_sinhvien | PHP | 305 lines
                    
1<?php
                    
2
                    
3if ( ! class_exists( 'WP_List_Table' ) )
                    
4	require_once ABSPATH . 'wp-admin/includes/class-wp-list-table.php';
                    
5
                    
74						<# if ( item.activated && 'vaultpress' !== item.module ) { #>
                    
75							<span class='delete'><a href="<?php echo admin_url( 'admin.php' ); ?>?page=jetpack&#038;action=deactivate&#038;module={{{ item.module }}}&#038;_wpnonce={{{ item.deactivate_nonce }}}"><?php _e( 'Deactivate', 'jetpack' ); ?></a></span>
                    
76						<# } else if ( item.available ) { #>
                    
76						<# } else if ( item.available ) { #>
                    
77							<span class='activate'><a href="<?php echo admin_url( 'admin.php' ); ?>?page=jetpack&#038;action=activate&#038;module={{{ item.module }}}&#038;_wpnonce={{{ item.activate_nonce }}}"><?php _e( 'Activate', 'jetpack' ); ?></a></span>
                    
78						<# } #>
                    
86				<tr class="no-modules-found">
                    
87					<td colspan="2"><?php esc_html_e( 'No Modules Found' , 'jetpack' ); ?></td>
                    
88				</tr>
                    
215			<div class="module-image">
                    
216				<p><span class="module-image-badge"><?php echo $badge_text; ?></span><span class="module-image-free" style="display: none"><?php echo $free_text; ?></span></p>
                    
217			</div>
                    
                
all_activity_type_log.php https://gitlab.com/xusasuke6/Slg_php | PHP | 476 lines
                    
1<?php
                    
2
                    
3define('IN_DATANG_SYSTEM', true);
                    
4include "../../../config/config.php";
                    
5include SYSDIR_ADMIN."/include/global.php";
                    
202
                    
203//if($ttype == 3){exit(print_r($date_arr));};
                    
204if(isset($match_data))
                    
234}
                    
235//if($ttype == 2 ){exit(print_r($data_per));}
                    
236$log_all = array();
                    
250}
                    
251//if($ttype == 2 ){exit(print_r($log_all));}
                    
252
                    
436        $rt['start'] = $startday;
                    
437        print_r($data_arr);
                    
438        //生成某一天所在月份的最后一天的日期
                    
                
Revert.php https://github.com/bermi/akelos.git | PHP | 300 lines
                    
1<?php
                    
2/* vim: set expandtab tabstop=4 shiftwidth=4: */
                    
3// +----------------------------------------------------------------------+
                    
4// | PHP version 5                                                        |
                    
5// +----------------------------------------------------------------------+
                    
9// | This LICENSE is in the BSD license style.                            |
                    
10// | http://www.opensource.org/licenses/bsd-license.php                   |
                    
11// |                                                                      |
                    
43//
                    
44// $Id: Revert.php 106 2004-06-08 07:00:10Z clay $
                    
45//
                    
86 * <code>
                    
87 * <?php
                    
88 * require_once 'VersionControl/SVN.php';
                    
105 * if ($output = $svn->revert->run($args, $switches)) {
                    
106 *     print_r($output);
                    
107 * } else {
                    
                
order_edit.php https://gitlab.com/Rad1calDreamer/honey | PHP | 239 lines
                    
82$MESS["SALE_PR_NOTE3"] = "All chosen documents will open in new browser windows. Some text still can be modified in some documents before printing. You can press &lt;TAB&gt; button when viewing some document, and all the text parts available for modifying will be highlighted one by one.";
                    
83$MESS["SALE_PR_NOTE4"] = "<b>User templates</b> for the documents should be placed in <b>/bitrix/admin/reports/</b> folder, <b>predefined templates</b> are located in <b>/bitrix/modules/sale/reports/</b> folder. System offers any \".php\" files placed in these folders as templates. If there is a user template with the same name as a predefined one then the user template will be used instead of the predefined template. Content of the &lt;title&gt; tag will be used as a template name.";
                    
84$MESS["SALE_PR_NOTE5"] = "You can modify template according to your needs. Just copy the template file from the predefined templates folder to the user templates folder before changing them.";
                    
84$MESS["SALE_PR_NOTE5"] = "You can modify template according to your needs. Just copy the template file from the predefined templates folder to the user templates folder before changing them.";
                    
85$MESS["SALE_PRINT_RECORD"] = "Print the document for order # #ID#";
                    
86$MESS["SOE_MODULE_CATALOG"] = "Commercial Catalog";
                    
                
ApProductList.php https://gitlab.com/ptisky/API_prestashop | PHP | 428 lines
                    
1<?php
                    
2/**
                    
16
                    
17require_once( _PS_MODULE_DIR_.'appagebuilder/classes/ApPageBuilderProductsModel.php');
                    
18
                    
83		$profile_list = $profile->getAllProductProfileByShop();
                    
84		//echo '<pre>';print_r($profile_list);die;
                    
85		array_unshift($profile_list, array('plist_key' => 'default', 'name' => $this->l('Use Default')));
                    
                
aws_s3.php https://github.com/talmdal/gallery3-contrib.git | PHP | 330 lines
                    
1<?php defined("SYSPATH") or die("No direct script access.");
                    
2
                    
12        if (!self::$_s3) {
                    
13            require_once(MODPATH . "aws_s3/lib/s3.php");
                    
14            S3::setAuth(module::get_var("aws_s3", "access_key"), module::get_var("aws_s3", "secret_key"));
                    
60        else
                    
61            $item = print_r($item, true);
                    
62
                    
234    static function validate_access_details($access_key, $secret_key, $bucket_name) {
                    
235        require_once(MODPATH . "aws_s3/lib/s3.php");
                    
236        S3::setAuth($access_key, $secret_key);
                    
                
member.php https://gitlab.com/zetrosoft/pos-accounting | PHP | 270 lines
                    
1<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');
                    
2//class member
                    
11		$this->load->library("zetro_auth");
                    
12		$this->load->helper("print_report");
                    
13		$this->userid=$this->session->userdata('idlevel');
                    
51		$datax=$this->Admin_model->show_list('mst_anggota',$where.' '.$ordby);
                    
52		//print_r($datax);
                    
53		if(count($datax)>0){
                    
                
xpdoquery.class.php https://github.com/rostislav/revolution.git | PHP | 294 lines
                    
1<?php
                    
2/*
                    
28/** Include the base {@see xPDOQuery} class */
                    
29include_once (dirname(dirname(__FILE__)) . '/xpdoquery.class.php');
                    
30
                    
58                    }
                    
59                    $isString= in_array($fieldMeta[$k]['phptype'], $this->_quotable);
                    
60                    $field= array();
                    
82                        } else {
                    
83                            $this->xpdo->log(xPDO::LOG_LEVEL_ERROR, "Error parsing condition with key {$key}: " . print_r($val, true));
                    
84                            continue;
                    
110                        }
                    
111                        elseif (isset($fieldMeta[$key]) && !in_array($fieldMeta[$key]['phptype'], $this->_quotable)) {
                    
112                            $type= PDO::PARAM_INT;
                    
127                                    default:
                    
128                                        $this->xpdo->log(xPDO::LOG_LEVEL_ERROR, "Error parsing {$operator} condition with key {$key}: " . print_r($v, true));
                    
129                                        break;
                    
                
wl_roam.c https://gitlab.com/minsuu/osproj3 | C | 424 lines
                    
8 * under the terms of the GNU General Public License version 2 (the "GPL"),
                    
9 * available at http://www.broadcom.com/licenses/GPLv2.php, with the
                    
10 * following added to such license:
                    
284
                    
285void print_roam_cache(void)
                    
286{
                    
                
Opened.php https://github.com/timstephenson/NatureBridge.git | PHP | 356 lines
                    
1<?php
                    
2
                    
36
                    
37require_once 'CRM/Report/Form.php';
                    
38
                    
176        $this->_select = "SELECT " . implode( ', ', $select ) . " ";
                    
177		//print_r($this->_select);
                    
178    }
                    
205	
                    
206		//print_r($this->_from);
                    
207    }
                    
271		
                    
272		// print_r($sql);
                    
273             
                    
297        // build the chart.
                    
298        require_once 'CRM/Utils/OpenFlashChart.php';
                    
299        CRM_Utils_OpenFlashChart::buildChart( $chartInfo, $this->_params['charts'] );
                    
                
referafriend_form.php https://github.com/jamesming/stage_beta.git | PHP | 284 lines
                    
23if($_POST['action'] == 'Submit') {
                    
24	//print_r($_POST);
                    
25	//echo "INSERT INTO custom_refer_friend VALUES ('', '$_POST[fname]', '$_POST[lname]', '$_POST[addr]', '$_POST[addr2]', '$_POST[city]', '$_POST[state]', '$_POST[zip]', '$_POST[email]', '$_POST[email1]', '$_POST[email2]', '$_POST[email3]', '$_POST[email4]', '$_POST[email5]', '$_POST[shirt_size]', '$_POST[shirt_style]', '$_POST[newsletter]') ";
                    
89			<img src="images/step1.jpg" width="480" />
                    
90			<form name="registration" id="registration" method="post" action="referafriend.php">
                    
91
                    
                
functions.inc.php https://bitbucket.org/vsposato/vivo-tools.git | PHP | 520 lines
                    
26 * PHP License, version 3.0 or later.  A copy of this license should have
                    
27 * been distributed with this file in the file LICENSE.PHP .  If this is not
                    
28 * the case, you can obtain a copy at http://www.php.net/license/3_0.txt.
                    
68
                    
69  if ( php_sapi_name() !== "cli")
                    
70    echo ("<pre>");
                    
70    echo ("<pre>");
                    
71  print_r($mixed);
                    
72
                    
395 *
                    
396 * @see http://www.php.net/manual/en/function.set-error_handler.php
                    
397 *
                    
506 *
                    
507 * @link http://us.php.net/manual/en/function.sys-get-temp-dir.php#85261
                    
508 */
                    
                
ext_std_variable.cpp https://gitlab.com/0072016/0072016-PHP.LLC | C++ | 516 lines
                    
2   +----------------------------------------------------------------------+
                    
3   | HipHop for PHP                                                       |
                    
4   +----------------------------------------------------------------------+
                    
5   | Copyright (c) 2010-2015 Facebook, Inc. (http://www.facebook.com)     |
                    
6   | Copyright (c) 1997-2010 The PHP Group                                |
                    
7   +----------------------------------------------------------------------+
                    
7   +----------------------------------------------------------------------+
                    
8   | This source file is subject to version 3.01 of the PHP license,      |
                    
9   | that is bundled with this package in the file LICENSE, and is        |
                    
10   | available through the world-wide-web at the following url:           |
                    
11   | http://www.php.net/license/3_01.txt                                  |
                    
12   | If you did not receive a copy of the PHP license and are unable to   |
                    
13   | obtain it through the world-wide-web, please send a note to          |
                    
14   | license@php.net so we can mail you a copy immediately.               |
                    
15   +----------------------------------------------------------------------+
                    
                
attendee_edit_record.php https://bitbucket.org/anneivycat/ebcookhouse.git | PHP | 342 lines
                    
117//			echo 'print_r($answers) = <br/>';
                    
118//			print_r($answers);
                    
119	/* END DEBUG */
                    
209
                    
210						//echo '<p>'.print_r($answers).'</p>';
                    
211						//echo '<p>$answers[question_id]'.$answers['question_id'].'</p>';
                    
211						//echo '<p>$answers[question_id]'.$answers['question_id'].'</p>';
                    
212						//print_r($answer_a);
                    
213						//print_r($answers);
                    
235	?></h3>
                    
236		<p><strong><?php _e('Event:', 'event_espresso'); ?> <?php echo $event_name; ?></strong></p>
                    
237		<form method="post" action="<?php echo $_SERVER['REQUEST_URI'] ?>" class="espresso_form" id="registration_form">
                    
340	</div><!-- / .event_espresso_form_wrapper .event-data-display -->
                    
341	<?php
                    
342}
                    
                
index.php https://github.com/srahn/kvwmap.git | PHP | 350 lines
                    
1<?php
                    
2
                    
2
                    
3include_once(CLASSPATH . 'PgObject.php');
                    
4include_once(CLASSPATH . 'Layer.php');
                    
4include_once(CLASSPATH . 'Layer.php');
                    
5// include('funktionen/input_check_functions.php');
                    
6include_once(PLUGINS . 'wasserrecht/config/config.php');
                    
6include_once(PLUGINS . 'wasserrecht/config/config.php');
                    
7include(PLUGINS . 'wasserrecht/helper/Log.php');
                    
8include(PLUGINS . 'wasserrecht/helper/CommonClassTrait.php');
                    
8include(PLUGINS . 'wasserrecht/helper/CommonClassTrait.php');
                    
9include(PLUGINS . 'wasserrecht/helper/DateHelper.php');
                    
10// include(PLUGINS . 'wasserrecht/helper/LayerNames.php');
                    
10// include(PLUGINS . 'wasserrecht/helper/LayerNames.php');
                    
11include(PLUGINS . 'wasserrecht/model/FestsetzungsSammelbescheidDaten.php');
                    
12include(PLUGINS . 'wasserrecht/model/AufforderungsBescheidDaten.php');
                    
                
SalesForceClient.php https://github.com/gotham-city-drupal/Houston.git | PHP | 523 lines
                    
1<?php
                    
2
                    
3require_once 'Houston/Controllers/Controller.php';
                    
4require_once 'Houston/Controllers/Salesforce/phptoolkit/soapclient/SforceEnterpriseClient.php';
                    
5require_once 'Houston/Application.php';
                    
165    if ($this->connect() && !$this->reachedMaxSalesForceApiHits()) {
                    
166      $this->debugLog("Creating SF object $type with " . print_r($data, TRUE));
                    
167      try {
                    
194      try {
                    
195        $this->debugLog("Updating SF object $type with " . print_r($data, TRUE));
                    
196        $result = parent::update($data, $type);
                    
216    if ($this->connect() && !$this->reachedMaxSalesForceApiHits()) {
                    
217      $this->debugLog("Retrieving SF objects $type with " . print_r($ids, TRUE));
                    
218      try {
                    
243    if ($this->connect() && !$this->reachedMaxSalesForceApiHits()) {
                    
244      $this->debugLog("Deleting SF objects $type with " . print_r($ids, TRUE));
                    
245      try {
                    
                
Grid.php https://gitlab.com/crazybutterfly815/magento2 | PHP | 502 lines
                    
1<?php
                    
2/**
                    
17 *
                    
18 * @SuppressWarnings(PHPMD.NumberOfChildren)
                    
19 * @SuppressWarnings(PHPMD.TooManyFields)
                    
266        } else {
                    
267            throw new \Exception("Searched item was not found by filter\n" . print_r($filter, true));
                    
268        }
                    
295        } else {
                    
296            throw new \Exception("Searched item was not found by filter\n" . print_r($filter, true));
                    
297        }
                    
                
import.php https://github.com/hitchby/PLEXUS.git | PHP | 302 lines
                    
1<?php
                    
2/*********************************************************************************
                    
12
                    
13require_once 'Excel/reader.php';
                    
14require_once('database/DatabaseConnection.php');
                    
30{
                    
31  // print_r($HTTP_POST_FILES);
                    
32  if (!is_uploaded_file($HTTP_POST_FILES['userfile']['tmp_name'])) 
                    
35    echo $error;
                    
36    include "fetchfile.php";
                    
37    //unlink($HTTP_POST_FILES['userfile']['tmp_name']);
                    
47      echo $error;
                    
48      include "fetchfile.php";
                    
49      unlink($HTTP_POST_FILES['userfile']['tmp_name']);
                    
57      echo $error;
                    
58      include "fetchfile.php";
                    
59      unlink($HTTP_POST_FILES['userfile']['tmp_name']);
                    
                
level_search.blade.php https://gitlab.com/ehubnepal/educationhubnepal | PHP | 160 lines
                    
1<?php 
                    
2	/*foreach($res as $r):
                    
3		foreach($r as $a):
                    
4			print_r($a->affiliation);
                    
5			die();
                    
                
dumper.php https://github.com/syfisher/limb.git | PHP | 360 lines
                    
1<?php
                    
2/**
                    
5 *  @subpackage UnitTester
                    
6 *  @version    $Id: dumper.php 7198 2008-11-01 11:57:17Z korchasa $
                    
7 */
                    
22    /**
                    
23     *    Renders a variable in a shorter form than print_r().
                    
24     *    @param mixed $value      Variable to render as a string.
                    
347     *    @param mixed $variable    Variable to display.
                    
348     *    @return string            Output from print_r().
                    
349     *    @access public
                    
353        ob_start();
                    
354        print_r($variable);
                    
355        $formatted = ob_get_contents();
                    
                
checkout.class.php https://github.com/evadne/wp-e-commerce.git | PHP | 528 lines
                    
1<?php
                    
2/**
                    
16	get_currentuserinfo();
                    
17	//	exit('<pre>'.print_r($current_user, true).'</pre>');
                    
18	if($current_user->display_name != ''){
                    
19		foreach($wpsc_checkout->checkout_items as $checkoutfield){
                    
20		//	exit(print_r($checkoutfield,true));
                    
21			if($checkoutfield->unique_name == 'billingfirstname'){
                    
27		foreach($wpsc_checkout->checkout_items as $checkoutfield){
                    
28		//	exit(print_r($checkoutfield,true));
                    
29			if($checkoutfield->unique_name == 'billingemail'){
                    
325		  }	
                    
326		 // echo '<pre>'.print_r($form_data,true).'</pre>';
                    
327		  if(is_array($value)){
                    
                
Configurable.php https://github.com/cinnamong/mag3nt0.git | PHP | 273 lines
                    
1<?php
                    
2/**
                    
9 * It is also available through the world-wide-web at this URL:
                    
10 * http://opensource.org/licenses/osl-3.0.php
                    
11 * If you did not receive a copy of the license and are unable to
                    
23 * @copyright   Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
                    
24 * @license     http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
                    
25 */
                    
149        /*echo '<pre>';
                    
150        print_r($this->_prices);
                    
151        echo '</pre>';die();*/
                    
                
run.php https://github.com/nwsw/wxphp.git | PHP | 316 lines
                    
1<?php
                    
2	$mapClasses = array(
                    
313	
                    
314	//print_r($defIni);
                    
315
                    
                
CMB2_Field_Display.php https://gitlab.com/ebrjose/comcebu | PHP | 505 lines
                    
1<?php
                    
2/**
                    
171	protected function _display() {
                    
172		print_r( $this->value );
                    
173	}
                    
287	protected function _display() {
                    
288		echo '<xmp class="cmb2-code">' . print_r( $this->value, true ) . '</xmp>';
                    
289	}
                    
                
createcontent.php https://github.com/paragjagdale/people-aggregator.git | PHP | 343 lines
                    
1<?php
                    
2/** !
                    
12?>
                    
13<?php
                    
14//TO DO: while saving content save function should be called once
                    
16
                    
17require_once "api/BlogPost/BlogPost.php";
                    
18require_once "api/Contribution/Contribution.php";
                    
18require_once "api/Contribution/Contribution.php";
                    
19require_once "api/Suggestion/Suggestion.php";
                    
20require_once "web/includes/functions/auto_email_notify.php";
                    
20require_once "web/includes/functions/auto_email_notify.php";
                    
21require_once "api/Activities/Activities.php";
                    
22require_once "api/api_constants.php";
                    
23
                    
24// echo "_POST <pre>".print_r($_POST,1)."</pre>"; exit;
                    
25
                    
                
SqlTest.php https://github.com/tine20/Tine-2.0-Open-Source-Groupware-and-CRM.git | PHP | 317 lines
                    
1<?php
                    
2/**
                    
237            if (strpos($event->summary, '_not_') === false) {
                    
238                $this->assertTrue(in_array($eventId, $eventsFoundIds), 'The following event is missing in the search result :' . print_r($event->toArray(), true));
                    
239            } else {
                    
239            } else {
                    
240                $this->assertFalse(in_array($eventId, $eventsFoundIds), 'The following event is in the search result, but should not be :' . print_r($event->toArray(), true));
                    
241            }
                    
                
content_old.php https://gitlab.com/wildanoo/E-procurement | PHP | 342 lines
                    
1<?php defined('BASEPATH') OR exit('No direct script access allowed');
                    
2
                    
115		$content 			   = $this->crud->browse("","content_type","","","true","id,type_name");
                    
116		//print_r($content);
                    
117		$id   				   = $this->uri->segment(3);
                    
197				$data['browse'] = $browse;
                    
198				//print_r($data['browse']);
                    
199				$data['view']	= "subcontent/browse";
                    
287				$msg  = !$is_exist ? $msg1 : $msg2;
                    
288				//print_r($data);exit;
                    
289		
                    
327			 $this->crud->update("","subcontent_type","id",$id,$update);
                    
328			//print_r($update);
                    
329			
                    
                
axis214ipptz_extra.php https://gitlab.com/talueses/SIPVE | PHP | 287 lines
                    
1<?php 
                    
2/*******************************************************************************\
                    
37?>
                    
38<?php
                    
39
                    
39
                    
40session_start(); // start up your PHP session!
                    
41
                    
44
                    
45require_once "../controller/monitorremoto.control.php"; // Class CONTROLLER
                    
46
                    
48
                    
49//echo "<div align='left'><pre>".print_r($_REQUEST,true)."</pre></div>";
                    
50
                    
84            $(function() {
                    
85                var maxFocus = parseInt(<?php echo $obj->maxFocus;?>);
                    
86                var minFocus = parseInt(<?php echo $obj->minFocus;?>);
                    
                
CLI.php https://bitbucket.org/jokusafet/magento2.git | PHP | 441 lines
                    
1<?php
                    
2/**
                    
9 * It is also available through the world-wide-web at this URL:
                    
10 * http://opensource.org/licenses/osl-3.0.php
                    
11 * If you did not receive a copy of the license and are unable to
                    
23 * @copyright   Copyright (c) 2012 X.commerce, Inc. (http://www.magentocommerce.com)
                    
24 * @license     http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
                    
25 */
                    
269            if(is_array($data)) {
                    
270                $this->write(print_r($data,true));
                    
271            } else {
                    
                
cts_claim_note_preparation_model.php https://gitlab.com/bipsahu/ptcs | PHP | 410 lines
                    
1<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
                    
2
                    
213			$this->email->message($body);	
                    
214			//print_r($this->upload->display_errors());
                    
215			$this->email->set_mailtype("html");
                    
                
Sortable.php https://github.com/robo47/csDoctrineActAsSortablePlugin.git | PHP | 376 lines
                    
1<?php
                    
2
                    
7 * @subpackage  template
                    
8 * @license     http://www.opensource.org/licenses/lgpl-license.php LGPL
                    
9 * @link        www.phpdoctrine.org
                    
305        exit((string) $parentColumnName);
                    
306        exit(print_r($parents[0]->toArray()));
                    
307      }
                    
                
globalpay_remote.php https://gitlab.com/dadangnh/sb1-bon | PHP | 348 lines
                    
1<?php
                    
2class ControllerExtensionPaymentGlobalpayRemote extends Controller {
                    
113
                    
114				$this->model_extension_payment_globalpay_remote->logger('Verify 3DS result:\r\n' . print_r($verify_3ds, 1));
                    
115
                    
221
                    
222		$this->model_extension_payment_globalpay_remote->logger('Capture result:\r\n' . print_r($capture_result, 1));
                    
223
                    
244
                    
245			$this->model_extension_payment_globalpay_remote->logger('Signature result:\r\n' . print_r($signature_result, 1));
                    
246
                    
334
                    
335			$this->model_extension_payment_globalpay_remote->logger('Capture result:\r\n' . print_r($capture_result, 1));
                    
336
                    
                
takemultiupload.php https://github.com/Bigjoos/U-232-V2.git | PHP | 350 lines
                    
1<?php
                    
2/**
                    
8 **/
                    
9require_once(dirname(__FILE__).DIRECTORY_SEPARATOR.'include'.DIRECTORY_SEPARATOR.'bittorrent.php');
                    
10require_once(INCL_DIR.'benc.php');
                    
10require_once(INCL_DIR.'benc.php');
                    
11require_once(INCL_DIR.'user_functions.php');
                    
12require_once(CLASS_DIR.'page_verify.php');
                    
19    if ($CURUSER['class'] < UC_UPLOADER OR $CURUSER["uploadpos"] == 0 || $CURUSER["uploadpos"] > 1 || $CURUSER['suspended'] == 'yes')
                    
20    header( "Location: {$INSTALLER09['baseurl']}/multiupload.php" );
                    
21
                    
61    // echo $d["type"];
                    
62    // print_r($d);
                    
63    if ($d["type"] != "dictionary")
                    
341    if ($CURUSER["anonymous"] == 'yes')
                    
342    $message = "[url={$INSTALLER09['baseurl']}/multidetails.php?id1=$ids[0]&id2=$ids[1]&id3=$ids[2]&id4=$ids[3]&id5=$ids[4]]Multiple Torrents were just uploaded! Click here to see them[/url] - Anonymous User";
                    
343    else
                    
                
Mdb.php https://github.com/escusado/Sinapsis.git | PHP | 333 lines
                    
1<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
                    
2
                    
72					if (is_array($sort) and count($sort)) {
                    
73						//print_r($sort);
                    
74						$cursor->sort($sort);
                    
75						// foreach($cursor as $record){
                    
76						// 	print_r( $record );
                    
77						// }
                    
                
TransactionalSMSApi.md https://gitlab.com/i-have-a-green/digitemis-v3 | Markdown | 266 lines
                    
18### Example
                    
19```php
                    
20<?php
                    
20<?php
                    
21require_once(__DIR__ . '/vendor/autoload.php');
                    
22
                    
48    $result = $apiInstance->getSmsEvents($limit, $startDate, $endDate, $offset, $days, $phoneNumber, $event, $tags);
                    
49    print_r($result);
                    
50} catch (Exception $e) {
                    
50} catch (Exception $e) {
                    
51    echo 'Exception when calling TransactionalSMSApi->getSmsEvents: ', $e->getMessage(), PHP_EOL;
                    
52}
                    
89### Example
                    
90```php
                    
91<?php
                    
                
Collection.php https://gitlab.com/habracoder/advertising | PHP | 509 lines
                    
1<?php
                    
2
                    
487     * <code>
                    
488     * print_r($robot->toArray());
                    
489     * </code>
                    
                
BaseVarDumper.php https://gitlab.com/afzalpotenza/YII_salon | PHP | 272 lines
                    
1<?php
                    
2/**
                    
29     * Displays a variable.
                    
30     * This method achieves the similar functionality as var_dump and print_r
                    
31     * but is more robust when handling complex objects such as Yii controllers.
                    
42     * Dumps a variable in terms of a string.
                    
43     * This method achieves the similar functionality as var_dump and print_r
                    
44     * but is more robust when handling complex objects such as Yii controllers.
                    
56        if ($highlight) {
                    
57            $result = highlight_string("<?php\n" . self::$_output, true);
                    
58            self::$_output = preg_replace('/&lt;\\?php<br \\/>/', '', $result, 1);
                    
119                    self::$_output .= "$className#$id\n" . $spaces . '(';
                    
120                    if ('__PHP_Incomplete_Class' !== get_class($var) && method_exists($var, '__debugInfo')) {
                    
121                        $dumpValues = $var->__debugInfo();
                    
141     *
                    
142     * The string is a valid PHP expression that can be evaluated by PHP parser
                    
143     * and the evaluation result will give back the variable value.
                    
                
collection.php https://gitlab.com/ashish21590/rigalio.com | PHP | 246 lines
                    
7
                    
8 //print_r($mytimeline); //print_r($user_detail);
                    
9//  echo count($user_data)."ashishi";
                    
43      <img src="<?php echo base_url(); ?>content/images/icons/user.png" class="img-responsive">
                    
44      <?php } else{ ?> <span class="profile-img1" style="background: url(<?php echo base_url(); ?><?php echo $user_detail[0]['profile_picture']; ?>);"> </span>
                    
45        
                    
94                                   <a href="javascript:void(0)" class="lock">
                    
95                                   <i class="fa fa-lock" <?php if($collection_show['status']==0){?> style="display: block;" <?php } else { ?> style="display: none;"<?php } ?> ></i>
                    
96
                    
96
                    
97                                   <i class="fa fa-unlock-alt"  <?php if($collection_show['status']==0){?> style="display: none;" <?php } else { ?> style="display: block;"<?php } ?>>
                    
98                                   </i></a> 
                    
101                                   <div class="tab-cell">
                    
102                                     <span class="cat-name"><a href="<?php echo base_url(); ?>ajax/mycollection/<?php echo $userregistrationid=$this->session->userdata('registrationid'); ?>/<?php echo $collection_show['subCategoryId']; ?>"><?php echo $collection_show['subCategory_Name']; ?></a> </span>
                    
103                                     <p><?php  echo $collection_show['no'];?> products </p>
                    
                
couchAdmin.php https://github.com/rwaldron/PHP-on-Couch.git | PHP | 534 lines
                    
1<?PHP
                    
2
                    
161// 		$doc->_deleted = true;
                    
162// 		print_r($doc);
                    
163// 		$url = '/_users/'.urlencode($doc->_id);
                    
                
index.php https://gitlab.com/iarafat/web-apps-php-b-26 | PHP | 234 lines
                    
1<?php
                    
2include_once "../vendor/autoload.php";
                    
12//echo "<pre>";
                    
13//print_r($showdata);
                    
14//echo "</pre>";
                    
27    <body>
                    
28    <?php include_once "include/log-navbar.php"; ?>
                    
29    <div class="container">
                    
31            <div class="col-md-12" style="margin-top: 50px">
                    
32                <h4 class="text-success"><?php $obj->Validation("Login"); ?></h4>
                    
33                <?php
                    
200
                    
201                                <td><a href="profile2.php?id=<?php echo $onedata['users_id'] ?>">View</a></td>
                    
202                                <td><a href="profile.php?id=<?php echo $onedata['users_id'] ?>">Edit</a></td>
                    
203                                <td><?php if ($onedata['is_admin'] == 0) { ?>
                    
204                                        <a href="trash.php?id=<?php echo $onedata['users_id'] ?>">Delete</a>
                    
205                                    <?php } ?>
                    
                
BaseVarDumper.php https://gitlab.com/makkooz/nikestreetbeat | PHP | 271 lines
                    
1<?php
                    
2/**
                    
28     * Displays a variable.
                    
29     * This method achieves the similar functionality as var_dump and print_r
                    
30     * but is more robust when handling complex objects such as Yii controllers.
                    
41     * Dumps a variable in terms of a string.
                    
42     * This method achieves the similar functionality as var_dump and print_r
                    
43     * but is more robust when handling complex objects such as Yii controllers.
                    
55        if ($highlight) {
                    
56            $result = highlight_string("<?php\n" . self::$_output, true);
                    
57            self::$_output = preg_replace('/&lt;\\?php<br \\/>/', '', $result, 1);
                    
140     *
                    
141     * The string is a valid PHP expression that can be evaluated by PHP parser
                    
142     * and the evaluation result will give back the variable value.
                    
146     *
                    
147     * It also handles objects by using the PHP functions serialize() and unserialize().
                    
148     *
                    
                
send_interview.php https://github.com/pennsong/ShiyishiWeb.git | PHP | 397 lines
                    
1<?php
                    
2//企业面试
                    
106					$app['endtime'] = date('H:i',$app['endtime']);
                    
107					//print_r($pidrows);exit;
                    
108					$this->assign('app',$app);
                    
181				}
                    
182				//print_r($vodrooms);exit;
                    
183
                    
189					}
                    
190					//print_r($interview);exit;
                    
191					if(($aid=$this->app_video_interview->save($interview)) === false){
                    
216					$enddate_p = $this->_get('enddate_p');
                    
217					//print_r($starttime_p);print_r($endtime_p);
                    
218				
                    
                
directory.php https://bitbucket.org/murtuza88/carolina-home-stone.git | PHP | 275 lines
                    
1<?php
                    
2/**
                    
152		foreach ( $this->options as $o ) {
                    
153			//die(print_r($o, true));
                    
154			$hash = $this->get_props();
                    
192	 * I couldn't think of a clean way to do this, but the fundamental problem is
                    
193	 * that both PHP and JS need to draw the same HTML into this form:
                    
194	 * PHP draws it when an existing definition is *edited*, whereas JS draws it
                    
                
mobileoffer.php https://github.com/deviltry/qmigo.git | PHP | 345 lines
                    
10//session_save_path(); // see if dreamhost can do something...
                    
11require "info_session.php"; 
                    
12session_name($mySessionName); 
                    
68	//echo "TROUBLESHOOT : NO PEOPLE identified";
                    
69	//print_r($_GET);
                    
70	header("Location: member404.php"); 
                    
144
                    
145// checking to make sure sendsms.php won't blast old offers out -http://qmigo.com/qmigo_sendsms.php
                    
146#########################################################
                    
180	mysql_close($connection);
                    
181	header("Location: member404.php"); // change for member specific
                    
182	exit;
                    
249# Get our site info -> menu bar
                    
250require "offersiteinfo.php"; 	
                    
251# Write the Mobile-Friendly header 
                    
                
default.tpl https://github.com/bhmhrex/ignite.git | Smarty Template | 204 lines
                    
7	                <ul class="publisherTabItems" id="tabs1publisher">
                    
8	                    <li style="padding: 0pt 20px; position:relative" type="BrowseCategories"><a href="#"><span><?php echo _('Categories')?></span></a><div class="articleCatFilter"><?php displayAttributeNodeRow( $this->categories, 0 ) ?></div></li>
                    
9	                  	<li style="padding: 0pt 18px;" type="communityArticles" class="current"><a href="#"><span><?php echo _('Community Articles')?></span></a></li>
                    
31	             			</div>
                    
32	             			<?php // print_R($this->allarticles)?>
                    
33	             			<div class="tuiyoTableCell col2body" style="width: 90%">
                    
68	             			</div>
                    
69	             			<?php // print_R($this->allarticles)?>
                    
70	             			<div class="tuiyoTableCell col2body" style="width: 90%">
                    
76		             					<span class="descrInfo"> By </span>
                    
77		             					<a href="<?php echo JRoute::_(TUIYO_INDEX.'&view=profile&do=view&user='.$article->username ) ?>"><span><?php echo $article->username ?></span></a>
                    
78		             					<a class="statustime" href="#"><span><?php echo $article->datetime ?></span></a>  
                    
194            <div style="width: 95%; white-space: nowrap; overflow:hidden" class="tuiyoTableCell">
                    
195            	<?php for($i=0; $i<$index+1; $i++) :?><a class="indenter">&nbsp;</a><?php endfor;?><a href="#"><?php echo $node['title']; ?></a> - <span style="white-space: nowrap; overflow: hidden"><?php echo $node['description'] ?></span>
                    
196            </div> <!---//user name -->
                    
                
parser.modifysubpanel.php https://github.com/jacknicole/sugarcrm_dev.git | PHP | 257 lines
                    
1<?php
                    
2if (! defined ( 'sugarEntry' ) || ! sugarEntry)
                    
49
                    
50require_once ('modules/ModuleBuilder/parsers/parser.modifylistview.php') ;
                    
51
                    
74        $module = new $class ( ) ;
                    
75        require_once ('include/SubPanel/SubPanelDefinitions.php') ;
                    
76        $spd = new SubPanelDefinitions ( $module ) ;
                    
139            }
                    
140            $GLOBALS [ 'log' ]->debug ( 'parser.modifylistview.php->getAvailableFields(): field_defs=' . print_r ( $this->availableFields, true ) ) ;
                    
141            foreach ( $this->subPanelParentModule->field_defs as $key => $fieldDefinition )
                    
194        $GLOBALS [ 'log' ]->debug ( "in ParserModifySubPanel->handleSave()" ) ;
                    
195        require_once ('include/SubPanel/SubPanel.php') ;
                    
196        $subpanel = new SubPanel ( $this->moduleName, 'fab4', $this->subPanelName, $this->panel ) ;
                    
                
array.php https://bitbucket.org/matyhaty/senses-thwaites.git | PHP | 290 lines
                    
1<?php
                    
2
                    
5 *
                    
6 * Quickly convert DataMapper models to-and-from PHP arrays.
                    
7 *
                    
233			//echo 'heelo';
                    
234			//echo 'All_from_array<hr><pre>'.print_r($data, true).'</pre><hr>';
                    
235			
                    
288
                    
289/* End of file array.php */
                    
290/* Location: ./application/datamapper/array.php */
                    
                
WSClaim.class.php https://github.com/md-tech/openemr.git | PHP | 255 lines
                    
1<?php
                    
2
                    
2
                    
3require_once (dirname(__FILE__) . "/WSWrapper.class.php");
                    
4include_once (dirname(__FILE__) . "/../sqlconf.php");
                    
5include_once (dirname(__FILE__) . "/../sql.inc");
                    
6include_once (dirname(__FILE__) . "/../../includes/config.php");
                    
7
                    
36    }
                    
37    //print_r($this->claim);
                    
38  }
                    
234    }
                    
235    // See comments in globals.php:
                    
236    if ($GLOBALS['insurance_companies_are_not_customers']) {
                    
                
MailboxHeader.php https://github.com/nattaphat/hgis.git | PHP | 358 lines
                    
1<?php
                    
2
                    
88     * <code>
                    
89     * <?php
                    
90     * //Sets two mailboxes in the Header, one with a personal name
                    
116     * <code>
                    
117     * <?php
                    
118     * $header = new Swift_Mime_Headers_MailboxHeader('From',
                    
121     *  );
                    
122     * print_r($header->getNameAddressStrings());
                    
123     * // array (
                    
147     * <code>
                    
148     * <?php
                    
149     * $header = new Swift_Mime_Headers_MailboxHeader('From',
                    
152     *  );
                    
153     * print_r($header->getNameAddresses());
                    
154     * // array (
                    
                
function.array-merge.html https://bitbucket.org/thncr/manuals.git | HTML | 237 lines
                    
11 <div class="up"><a href="ref.array.html">数组 函数</a></div>
                    
12 <div class="home"><a href="index.html">PHP Manual</a></div>
                    
13</div><hr /><div id="function.array-merge" class="refentry">
                    
15    <h1 class="refname">array_merge</h1>
                    
16    <p class="verinfo">(PHP 4, PHP 5)</p><p class="refpurpose"><span class="refname">array_merge</span> &mdash; <span class="dc-title">合并一个或多个数组</span></p>
                    
17
                    
97         <p class="para">
                    
98       <span class="function"><strong>array_merge()</strong></span> 的行为在 PHP 5 中被修改了。和 PHP 4
                    
99      不同, <span class="function"><strong>array_merge()</strong></span> 现在只接受
                    
106<div class="phpcode"><code><span style="color: #000000">
                    
107<span style="color: #0000BB">&lt;?php<br />$beginning&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">'foo'</span><span style="color: #007700">;<br /></span><span style="color: #0000BB">$end&nbsp;</span><span style="color: #007700">=&nbsp;array(</span><span style="color: #0000BB">1&nbsp;</span><span style="color: #007700">=&gt;&nbsp;</span><span style="color: #DD0000">'bar'</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">$result&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">array_merge</span><span style="color: #007700">((array)</span><span style="color: #0000BB">$beginning</span><span style="color: #007700">,&nbsp;(array)</span><span style="color: #0000BB">$end</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">print_r</span><span style="color: #007700">(</span><span style="color: #0000BB">$result</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">?&gt;</span>
                    
108</span>
                    
141<div class="phpcode"><code><span style="color: #000000">
                    
142<span style="color: #0000BB">&lt;?php<br />$array1&nbsp;</span><span style="color: #007700">=&nbsp;array(</span><span style="color: #DD0000">"color"&nbsp;</span><span style="color: #007700">=&gt;&nbsp;</span><span style="color: #DD0000">"red"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">2</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">4</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">$array2&nbsp;</span><span style="color: #007700">=&nbsp;array(</span><span style="color: #DD0000">"a"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"b"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"color"&nbsp;</span><span style="color: #007700">=&gt;&nbsp;</span><span style="color: #DD0000">"green"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"shape"&nbsp;</span><span style="color: #007700">=&gt;&nbsp;</span><span style="color: #DD0000">"trapezoid"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">4</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">$result&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">array_merge</span><span style="color: #007700">(</span><span style="color: #0000BB">$array1</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">$array2</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">print_r</span><span style="color: #007700">(</span><span style="color: #0000BB">$result</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">?&gt;</span>
                    
143</span>
                    
                
view.metadata.php https://gitlab.com/tjaafar/SuiteCRM | PHP | 375 lines
                    
1<?php
                    
2
                    
41
                    
42require_once('include/DetailView/DetailView2.php');
                    
43
                    
82 		echo "<pre>";
                    
83 		print_r($value);
                    
84 		echo "</pre>";
                    
                
inc-base.php https://bitbucket.org/pombredanne/spip-zone-treemap.git | PHP | 259 lines
                    
1<?php
                    
2
                    
115	);
                    
116	//if($typeSalle!='') echo "<br/>tRang<pre>";print_r($tRang);echo"</pre>";
                    
117	return $tRang;
                    
200	}
                    
201	//echo"<hr/>$sql<br/>";print_r($tSeries);
                    
202	return $tSeries;
                    
227	}
                    
228	//echo"<hr/>$sql<br/>";print_r($tSeries);
                    
229	return $tSeries;	
                    
                
ReporteEgresoView.php https://bitbucket.org/raboit/sisfac.git | PHP | 286 lines
                    
1<?php
                    
2
                    
19                        $default_border = array(
                    
20                            'style' => PHPExcel_Style_Border::BORDER_THIN,
                    
21                            'color' => array('rgb'=>'000000')
                    
31                                                    'fill' => array(
                    
32                                'type' => PHPExcel_Style_Fill::FILL_SOLID,
                    
33                                'color' => array('rgb'=>'819FF7'),
                    
84//                                    
                    
85//                                    print_r($solicitud);
                    
86//                                    echo "nombre de la wea: ".$solicitud->proyecto->nombre;
                    
245				foreach($this->columns as $n=>$column)
                    
246					self::$objPHPExcel->getActiveSheet()->getColumnDimension($this->columnName($n+1))->setAutoSize(true);
                    
247			
                    
248			//create writer for saving
                    
249			$objWriter = PHPExcel_IOFactory::createWriter(self::$objPHPExcel, $this->exportType);
                    
250			if(!$this->stream)
                    
                
lxportmonitor.php https://github.com/lxcenter/hypervm.git | PHP | 526 lines
                    
1<?php 
                    
2
                    
127			dprint("Sending Data\n");
                    
128			//print_r($sendserverhistlist);
                    
129			dprintr($sendserverhistlist);
                    
154			//$oldserverhistlist = null;
                    
155			//print_r($list);
                    
156			getDnsesFirst($list);
                    
243
                    
244	$ch = curl_init("http://$raddress:$port/htmllib/mibin/monitordata.php");
                    
245	curl_setopt($ch, CURLOPT_POST, true);
                    
462
                    
463	$val = @ file_get_contents("commands.php");
                    
464	if ($val === "2") {
                    
483	if ($debug_var >= 2) {
                    
484		print_r($var);
                    
485	}
                    
                
_configure.php https://gitlab.com/mattswann/launch-housing | PHP | 304 lines
                    
1<?php // Settings to display in a form for a user to configure.
                    
2/*
                    
63			
                    
64			require_once( dirname( __FILE__ ) . '/class.itx_helper2.php' );
                    
65			global $wp_version;
                    
77			if ( ! is_array( $response ) ) { // Error message.
                    
78				pb_backupbuddy::alert( 'Error #23333: Unexpected server response. Check your login and try again. Detailed response: `' . print_r( $response, true ) .'`.' );
                    
79				$credentials_form->display_settings( 'Submit' );
                    
87					} else {
                    
88						pb_backupbuddy::alert( 'Error #382383232: Unexpected server response. Token missing. Check your login and try again. Detailed response: `' . print_r( $response, true ) .'`.' );
                    
89						$credentials_form->display_settings( 'Submit' );
                    
165		
                    
166		echo '<!-- STASH DETAILS: ' . print_r( $account_info, true ) . ' -->';
                    
167		
                    
222		'title'		=>		__( 'Send per burst', 'it-l10n-backupbuddy' ),
                    
223		'tip'		=>		__( '[Example: 10] - This is the amount of data that will be sent per burst within a single PHP page load/chunk. Bursts happen within a single page load. Chunks occur when broken up between page loads/PHP instances. Reduce if hitting PHP memory limits. Chunking time limits will only be checked between bursts. Lower burst size if timeouts occur before chunking checks trigger.', 'it-l10n-backupbuddy' ),
                    
224		'rules'		=>		'required|int[0-9999999]',
                    
                
ControllerTest.php https://github.com/corneliusweiss/Tine-2.0-Open-Source-Groupware-and-CRM.git | PHP | 266 lines
                    
1<?php
                    
2/**
                    
165
                    
166        $this->assertArrayHasKey($this->_specialFolderName, $allSyncrotonFolders, "key {$this->_specialFolderName} not found in " . print_r($allSyncrotonFolders, true));
                    
167    }
                    
193                . var_export($syncrotonContact, TRUE)
                    
194                . ' tine contact: ' . print_r(Addressbook_Controller_Contact::getInstance()->get($serverId)->toArray(), TRUE));
                    
195        } catch (Syncroton_Exception_NotFound $senf) {
                    
223        
                    
224        $this->assertContains($serverId, $changedEntries, 'did not get changed record id in ' . print_r($changedEntries, TRUE));
                    
225    }
                    
239    
                    
240        $this->assertContains($serverId, $changedEntries, 'did not get changed record id in ' . print_r($changedEntries, TRUE));
                    
241    }
                    
                
Theora.php https://github.com/ChuguluGames/mediawiki-svn.git | PHP | 267 lines
                    
1<?php
                    
2/* vim: set expandtab tabstop=4 shiftwidth=4: */
                    
23
                    
24require_once dirname(__FILE__) . '/Bitstream.php';
                    
25
                    
36 * @license     http://www.gnu.org/copyleft/lesser.html GNU LGPL
                    
37 * @link        http://pear.php.net/package/File_Ogg
                    
38 * @link        http://www.xiph.org/theora/
                    
39 * @package     File_Ogg
                    
40 * @version     CVS: $Id: Theora.php,v 1.9 2005/11/16 20:43:27 djg Exp $
                    
41 */
                    
81				$time =  ( $keyFramePos + $offset ) / $this->_frameRate;
                    
82	    		/*print "paket:: " . print_r($packet, true) . "
                    
83	   				K:$kTime
                    
94        // First make some "numeric strings"
                    
95        // These might not fit into PHP's integer type, but they will fit into
                    
96        // the 53-bit mantissa of a double-precision number
                    
                
display-coupons.php https://github.com/evadne/wp-e-commerce.git | PHP | 451 lines
                    
84
                    
85  <a href='' onclick='return show_status_box("add_coupon_box","add_coupon_box_link");' class='add_item_link' id='add_coupon_box_link'><img src='<?php echo WPSC_URL; ?>/images/package_add.png' alt='<?php echo TXT_WPSC_ADD; ?>' title='<?php echo TXT_WPSC_ADD; ?>' />&nbsp;<span><?php echo TXT_WPSC_ADD_COUPON;?></span></a>
                    
86  
                    
358        <input type='radio' value='1' name='wpsc_also_bought' id='wpsc_also_bought1' <?php echo $wpsc_also_bought1; ?> /> <label for='wpsc_also_bought1'><?php echo TXT_WPSC_YES;?></label> &nbsp;
                    
359        <input type='radio' value='0' name='wpsc_also_bought' id='wpsc_also_bought2' <?php echo $wpsc_also_bought2; ?> /> <label for='wpsc_also_bought2'><?php echo TXT_WPSC_NO;?></label>
                    
360      </td>
                    
382        <input type='radio' value='1' name='wpsc_share_this' id='wpsc_share_this1' <?php echo $wpsc_share_this1; ?> /> <label for='wpsc_share_this1'><?php echo TXT_WPSC_YES;?></label> &nbsp;
                    
383        <input type='radio' value='0' name='wpsc_share_this' id='wpsc_share_this2' <?php echo $wpsc_share_this2; ?> /> <label for='wpsc_share_this2'><?php echo TXT_WPSC_NO;?></label>
                    
384      </td>
                    
423		<td>
                    
424			<?php echo get_option('siteurl')."/index.php?rss=true&amp;action=product_list" ?>
                    
425		</td>
                    
437				$itemsFeedURL = "http://www.google.com/base/feeds/items";
                    
438				$next_url  = 'http://' . $_SERVER['HTTP_HOST'] . $_SERVER['PHP_SELF']."?page=".WPSC_DIR_NAME."/display-items.php";
                    
439				$redirect_url = 'https://www.google.com/accounts/AuthSubRequest?session=1';
                    
                
shopping_cart_page.php https://github.com/evadne/wp-e-commerce.git | PHP | 351 lines
                    
22		<tr class="product_row">
                    
23			<td class="firstcol"><img src='<?php echo wpsc_cart_item_image(48,48); ?>' alt='<?php echo wpsc_cart_item_name(); ?>' title='<?php echo wpsc_cart_item_name(); ?>' /></td>
                    
24			<td class="firstcol">
                    
119							<?php if(wpsc_have_morethanone_shipping_methods_and_quotes()): ?>
                    
120								<input type='radio' id='<?php echo wpsc_shipping_quote_html_id(); ?>' <?php echo wpsc_shipping_quote_selected_state(); ?>  onclick='switchmethod("<?php echo wpsc_shipping_quote_name(); ?>", "<?php echo wpsc_shipping_method_internal_name(); ?>")' value='<?php echo wpsc_shipping_quote_value(true); ?>' name='shipping_method' />
                    
121							<?php else: ?>
                    
121							<?php else: ?>
                    
122								<input <?php echo wpsc_shipping_quote_selected_state(); ?> disabled='disabled' type='radio' id='<?php echo wpsc_shipping_quote_html_id(); ?>'  value='<?php echo wpsc_shipping_quote_value(true); ?>' name='shipping_method' />
                    
123									<?php wpsc_update_shipping_single_method(); ?>
                    
290							<?php if(wpsc_gateway_internal_name() == 'noca'){ ?>
                    
291								<label><input type="radio" id='noca_gateway' value="<?php echo wpsc_gateway_internal_name();?>" <?php echo wpsc_gateway_is_checked(); ?> name="custom_gateway" class="custom_gateway"/><?php echo wpsc_gateway_name();?></label>
                    
292							<?php }else{ ?>
                    
292							<?php }else{ ?>
                    
293								<label><input type="radio" value="<?php echo wpsc_gateway_internal_name();?>" <?php echo wpsc_gateway_is_checked(); ?> name="custom_gateway" class="custom_gateway"/><?php echo wpsc_gateway_name();?></label>
                    
294							<?php } ?>
                    
                
Activemq.php https://bitbucket.org/Dal-Papa/is-340-publish-base.git | PHP | 366 lines
                    
1<?php
                    
2/**
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: Activemq.php 24593 2012-01-05 20:35:02Z matthew $
                    
21 */
                    
25 */
                    
26require_once 'Zend/Queue/Adapter/AdapterAbstract.php';
                    
27
                    
30 */
                    
31require_once 'Zend/Queue/Stomp/Client.php';
                    
32
                    
35 */
                    
36require_once 'Zend/Queue/Stomp/Frame.php';
                    
37
                    
105        ) {
                    
106            require_once 'Zend/Queue/Exception.php';
                    
107            throw new Zend_Queue_Exception("Unable to authenticate to '".$options['scheme'].'://'.$options['host'].':'.$options['port']."'");
                    
                
training_partner_game_update.php https://bitbucket.org/itoxable/chiron-gaming.git | PHP | 264 lines
                    
1<?php
                    
2/*******************************************************************************/
                    
6
                    
7include('general_include.php');
                    
8include"checklogin.php";
                    
73			
                    
74			/*print_r($fields_values);	
                    
75			exit();*/
                    
106			
                    
107			/*print_r($fields_values);	
                    
108			
                    
112		}		
                    
113		echo "<script>window.location.href='training_partner_gamemanager.php?messg=".$msgreport."&u_id=".$u_id."&IsPreserved=Y'</script>";
                    
114		exit; 
                    
236	
                    
237//print_r($submited_race);
                    
238//print_r($submited_ladder);
                    
                
mcu-cli.php https://gitlab.com/Slind/MCUpdater | PHP | 380 lines
                    
1#!/usr/bin/env php
                    
2<?php
                    
10 *    server jar.
                    
11 * 1) Copy the default config to 'mcu-cli-config.php'
                    
12 * 2) Edit your new config, updating at a minimum the pack url, server id,
                    
13 *    server jar, and memory settings.
                    
14 * 3) Execute mcu-cli.php and hope for the best :)
                    
15 *
                    
22
                    
23msg("MCU-CLI.php Starting...");
                    
24msg(date("r"));
                    
38// load config, copying from default if one is not found
                    
39$cfg_default_filename = "mcu-cli-config.default.php";
                    
40$cfg_filename = "mcu-cli-config.php";
                    
81	msg("Unable to parse malformed XML", true);
                    
82	print_r(libxml_get_errors());
                    
83	exit(1);
                    
                
adminAdministrators.php https://gitlab.com/scsistemas/superprime | PHP | 258 lines
                    
70                            <tr>
                    
71                              <td><?php print_r(ucfirst($administradores[$f]['Nombre'])); ?> <?php print_r(ucfirst($administradores[$f]['Apellido'])); ?></td> 
                    
72                              <td><?php print_r(ucfirst($administradores[$f]['Usuario'])); ?></td>
                    
72                              <td><?php print_r(ucfirst($administradores[$f]['Usuario'])); ?></td>
                    
73                              <td><?php print_r(($administradores[$f]['telcel'])); ?></td>
                    
74                              <td id="acceso_td"><?php print_r(ucfirst($administradores[$f]['acceso'])); ?></td>
                    
76                              <a href="" class="btn btn-xs btn-primary" data-toggle="modal" data-target="#edituser"><span name="edit" id="<?php print_r($administradores[$f]['IdUser']); ?>" class="glyphicon glyphicon-pencil"></span></a>
                    
77                              <a href="" class="btn btn-xs btn-danger"  data-remodal-target="deleteUser" name="delete" id="<?php print_r($administradores[$f]['IdUser']); ?>" ><i class="fa fa-trash" aria-hidden="true"></i></a></td>
                    
78                            </tr>
                    
151                                  <?php foreach ($accesos as $f=>$value) { ?>
                    
152                                  <option value="<?php print_r(ucfirst($accesos[$f]['nombre'])); ?>" id="<?php print_r($accesos[$f]['id']); ?>"><?php print_r(ucfirst($accesos[$f]['nombre'])); ?> </option>
                    
153                                <?php } ?>
                    
210                                  <?php foreach ($accesos as $f=>$value) { ?>
                    
211                                  <option id="<?php print_r($accesos[$f]['id']); ?>"><?php print_r(ucfirst($accesos[$f]['nombre'])); ?> </option>
                    
212                                <?php } ?>
                    
                
function.inotify-init.html https://bitbucket.org/thncr/manuals.git | HTML | 93 lines
                    
11 <div class="up"><a href="ref.inotify.html">Inotify 函数</a></div>
                    
12 <div class="home"><a href="index.html">PHP Manual</a></div>
                    
13</div><hr /><div id="function.inotify-init" class="refentry">
                    
48<div class="phpcode"><code><span style="color: #000000">
                    
49<span style="color: #0000BB">&lt;?php<br /></span><span style="color: #FF8000">//&nbsp;Open&nbsp;an&nbsp;inotify&nbsp;instance<br /></span><span style="color: #0000BB">$fd&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">inotify_init</span><span style="color: #007700">();<br /><br /></span><span style="color: #FF8000">//&nbsp;Watch&nbsp;__FILE__&nbsp;for&nbsp;metadata&nbsp;changes&nbsp;(e.g.&nbsp;mtime)<br /></span><span style="color: #0000BB">$watch_descriptor&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">inotify_add_watch</span><span style="color: #007700">(</span><span style="color: #0000BB">$fd</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">__FILE__</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">IN_ATTRIB</span><span style="color: #007700">);<br /><br /></span><span style="color: #FF8000">//&nbsp;generate&nbsp;an&nbsp;event<br /></span><span style="color: #0000BB">touch</span><span style="color: #007700">(</span><span style="color: #0000BB">__FILE__</span><span style="color: #007700">);<br /><br /></span><span style="color: #FF8000">//&nbsp;Read&nbsp;events<br /></span><span style="color: #0000BB">$events&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">inotify_read</span><span style="color: #007700">(</span><span style="color: #0000BB">$fd</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">print_r</span><span style="color: #007700">(</span><span style="color: #0000BB">$events</span><span style="color: #007700">);<br /><br /></span><span style="color: #FF8000">//&nbsp;The&nbsp;following&nbsp;methods&nbsp;allows&nbsp;to&nbsp;use&nbsp;inotify&nbsp;functions&nbsp;without&nbsp;blocking&nbsp;on&nbsp;inotify_read():<br /><br />//&nbsp;-&nbsp;Using&nbsp;stream_select()&nbsp;on&nbsp;$fd:<br /></span><span style="color: #0000BB">$read&nbsp;</span><span style="color: #007700">=&nbsp;array(</span><span style="color: #0000BB">$fd</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">$write&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">null</span><span style="color: #007700">;<br /></span><span style="color: #0000BB">$except&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">null</span><span style="color: #007700">;<br /></span><span style="color: #0000BB">stream_select</span><span style="color: #007700">(</span><span style="color: #0000BB">$read</span><span style="color: #007700">,</span><span style="color: #0000BB">$write</span><span style="color: #007700">,</span><span style="color: #0000BB">$except</span><span style="color: #007700">,</span><span style="color: #0000BB">0</span><span style="color: #007700">);<br /><br /></span><span style="color: #FF8000">//&nbsp;-&nbsp;Using&nbsp;stream_set_blocking()&nbsp;on&nbsp;$fd<br /></span><span style="color: #0000BB">stream_set_blocking</span><span style="color: #007700">(</span><span style="color: #0000BB">$fd</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">0</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">inotify_read</span><span style="color: #007700">(</span><span style="color: #0000BB">$fd</span><span style="color: #007700">);&nbsp;</span><span style="color: #FF8000">//&nbsp;Does&nbsp;no&nbsp;block,&nbsp;and&nbsp;return&nbsp;false&nbsp;if&nbsp;no&nbsp;events&nbsp;are&nbsp;pending<br /><br />//&nbsp;-&nbsp;Using&nbsp;inotify_queue_len()&nbsp;to&nbsp;check&nbsp;if&nbsp;event&nbsp;queue&nbsp;is&nbsp;not&nbsp;empty<br /></span><span style="color: #0000BB">$queue_len&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">inotify_queue_len</span><span style="color: #007700">(</span><span style="color: #0000BB">$fd</span><span style="color: #007700">);&nbsp;</span><span style="color: #FF8000">//&nbsp;If&nbsp;&gt;&nbsp;0,&nbsp;inotify_read()&nbsp;will&nbsp;not&nbsp;block<br /><br />//&nbsp;Stop&nbsp;watching&nbsp;__FILE__&nbsp;for&nbsp;metadata&nbsp;changes<br /></span><span style="color: #0000BB">inotify_rm_watch</span><span style="color: #007700">(</span><span style="color: #0000BB">$fd</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">$watch_descriptor</span><span style="color: #007700">);<br /><br /></span><span style="color: #FF8000">//&nbsp;Close&nbsp;the&nbsp;inotify&nbsp;instance<br />//&nbsp;This&nbsp;may&nbsp;have&nbsp;closed&nbsp;all&nbsp;watches&nbsp;if&nbsp;this&nbsp;was&nbsp;not&nbsp;already&nbsp;done<br /></span><span style="color: #0000BB">fclose</span><span style="color: #007700">(</span><span style="color: #0000BB">$fd</span><span style="color: #007700">);<br /><br /></span><span style="color: #0000BB">?&gt;</span>
                    
50</span>
                    
91 <div class="up"><a href="ref.inotify.html">Inotify 函数</a></div>
                    
92 <div class="home"><a href="index.html">PHP Manual</a></div>
                    
93</div></body></html>
                    
                
wikiplugin_trackeritemcopy.php https://gitlab.com/ElvisAns/tiki | PHP | 283 lines
                    
1<?php
                    
2
                    
162
                    
163                //print_r(array($trackerId, $updateFieldIds, $updateFieldValues, $copyFieldIds, $itemIds, $linkFieldId, $itemLinkId, $copies));
                    
164
                    
                
 

Source

Language