100+ results results for 'php print_r' (879 ms)
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); 339Ods.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)); 130imageupload.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 imagesindex.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 reportModify.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)); 79QuoteController.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)); 345joomleague.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)); 148Type.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) {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'; ?> 183sum_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 }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()); 189cache.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<?phpctrl_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();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;dumper.php https://github.com/williamswebworks/transparencydata-php.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();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); 283class.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&action=deactivate&module={{{ item.module }}}&_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&action=activate&module={{{ item.module }}}&_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 <TAB> 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 <title> 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/SerenityS/slteskt_kernel | 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{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"> 91functions.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 +----------------------------------------------------------------------+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/idler/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); 315CMB2_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; 25SqlTest.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); 329axis214ipptz_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;?>);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)); 336takemultiupload.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 elseMdb.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<?phpCollection.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('/<\\?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 } ?>Opened.php https://github.com/michaelmcandrew/lms.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'] );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('/<\\?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); 218directory.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 itmobileoffer.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 headerdefault.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"> </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 -->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']) {parser.modifysubpanel.php https://github.com/joshbhamilton/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 ) ;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>";function.array-merge.html https://bitbucket.org/stillzhl/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> — <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"><?php<br />$beginning </span><span style="color: #007700">= </span><span style="color: #DD0000">'foo'</span><span style="color: #007700">;<br /></span><span style="color: #0000BB">$end </span><span style="color: #007700">= array(</span><span style="color: #0000BB">1 </span><span style="color: #007700">=> </span><span style="color: #DD0000">'bar'</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">$result </span><span style="color: #007700">= </span><span style="color: #0000BB">array_merge</span><span style="color: #007700">((array)</span><span style="color: #0000BB">$beginning</span><span style="color: #007700">, (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">?></span> 108</span> 141<div class="phpcode"><code><span style="color: #000000"> 142<span style="color: #0000BB"><?php<br />$array1 </span><span style="color: #007700">= array(</span><span style="color: #DD0000">"color" </span><span style="color: #007700">=> </span><span style="color: #DD0000">"red"</span><span style="color: #007700">, </span><span style="color: #0000BB">2</span><span style="color: #007700">, </span><span style="color: #0000BB">4</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">$array2 </span><span style="color: #007700">= array(</span><span style="color: #DD0000">"a"</span><span style="color: #007700">, </span><span style="color: #DD0000">"b"</span><span style="color: #007700">, </span><span style="color: #DD0000">"color" </span><span style="color: #007700">=> </span><span style="color: #DD0000">"green"</span><span style="color: #007700">, </span><span style="color: #DD0000">"shape" </span><span style="color: #007700">=> </span><span style="color: #DD0000">"trapezoid"</span><span style="color: #007700">, </span><span style="color: #0000BB">4</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">$result </span><span style="color: #007700">= </span><span style="color: #0000BB">array_merge</span><span style="color: #007700">(</span><span style="color: #0000BB">$array1</span><span style="color: #007700">, </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">?></span> 143</span>lxportmonitor.php https://github.com/yourhty/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 }MailboxHeader.php https://gitlab.com/dsasmita/talita-shop | 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 (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 numberdisplay-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; ?>' /> <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> 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> 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&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"><?php<br /></span><span style="color: #FF8000">// Open an inotify instance<br /></span><span style="color: #0000BB">$fd </span><span style="color: #007700">= </span><span style="color: #0000BB">inotify_init</span><span style="color: #007700">();<br /><br /></span><span style="color: #FF8000">// Watch __FILE__ for metadata changes (e.g. mtime)<br /></span><span style="color: #0000BB">$watch_descriptor </span><span style="color: #007700">= </span><span style="color: #0000BB">inotify_add_watch</span><span style="color: #007700">(</span><span style="color: #0000BB">$fd</span><span style="color: #007700">, </span><span style="color: #0000BB">__FILE__</span><span style="color: #007700">, </span><span style="color: #0000BB">IN_ATTRIB</span><span style="color: #007700">);<br /><br /></span><span style="color: #FF8000">// generate an 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">// Read events<br /></span><span style="color: #0000BB">$events </span><span style="color: #007700">= </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">// The following methods allows to use inotify functions without blocking on inotify_read():<br /><br />// - Using stream_select() on $fd:<br /></span><span style="color: #0000BB">$read </span><span style="color: #007700">= array(</span><span style="color: #0000BB">$fd</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">$write </span><span style="color: #007700">= </span><span style="color: #0000BB">null</span><span style="color: #007700">;<br /></span><span style="color: #0000BB">$except </span><span style="color: #007700">= </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">// - Using stream_set_blocking() on $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">, </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">); </span><span style="color: #FF8000">// Does no block, and return false if no events are pending<br /><br />// - Using inotify_queue_len() to check if event queue is not empty<br /></span><span style="color: #0000BB">$queue_len </span><span style="color: #007700">= </span><span style="color: #0000BB">inotify_queue_len</span><span style="color: #007700">(</span><span style="color: #0000BB">$fd</span><span style="color: #007700">); </span><span style="color: #FF8000">// If > 0, inotify_read() will not block<br /><br />// Stop watching __FILE__ for metadata 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">, </span><span style="color: #0000BB">$watch_descriptor</span><span style="color: #007700">);<br /><br /></span><span style="color: #FF8000">// Close the inotify instance<br />// This may have closed all watches if this was not already 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">?></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)); 164AuthController.php https://gitlab.com/Sang240892/real-estate-system | PHP | 223 lines
1<?php 2/** 5 * Time: 14:24 6 * File name: UserController.php 7 * Project name: Fit Road 84// echo '<pre>'; 85// print_r($form->getScenario()); 86// echo '</pre>';taoviewlib.php https://github.com/nadavkav/MoodleTAO.git | PHP | 300 lines
1<?php 2/** 94 if (!empty($user)) { 95 echo '<div class="taoview-user">'.get_string('submittedby','local').': <a href="'.$CFG->wwwroot.'/local/mahara/taoview'.$viewtype.'.php?tag='.$tagfilter.'&filteruser='.$artefact['uploader'].'&sort='.$sort.'">'.fullname($user).'</a></div>'; 96 } 106 foreach($artefact['tags'] as $tag) { 107 echo '<a href="'.$CFG->wwwroot.'/local/mahara/taoview'.$viewtype.'.php?tag='.$tag.'&sort='.$sort.'">'.$tag.'</a>, '; 108 } 114 echo '<span class="taoviewratingtext">'; 115 tao_print_ratings($artefact['id'], $possiblevalues); 116 echo '</span>'; 117 if (!empty($user) && $user->id <> $USER->id && !isguest()) { 118 tao_print_rating_menu($artefact['id'],$USER->id,$possiblevalues); 119 } 235 $a = new stdclass(); 236 $a->link = $CFG->wwwroot.'/auth/mnet/jump.php?hostid='.$host->id.'&wantsurl=local/taoview.php?view='.$viewtype; 237 echo '<div class="taoviwdesc">';BaseFctipsolPeer.php https://github.com/cidesa/siga-universitario.git | PHP | 408 lines
1<?php 2 52 53 private static $phpNameMap = null; 54 57 private static $fieldNames = array ( 58 BasePeer::TYPE_PHPNAME => array ('Codtip', 'Destip', 'Monsol', 'Valsol', 'Privdeu', 'Privmsg', 'Anocom', 'Fueing', 'Gendeu', 'Id', ), 59 BasePeer::TYPE_COLNAME => array (FctipsolPeer::CODTIP, FctipsolPeer::DESTIP, FctipsolPeer::MONSOL, FctipsolPeer::VALSOL, FctipsolPeer::PRIVDEU, FctipsolPeer::PRIVMSG, FctipsolPeer::ANOCOM, FctipsolPeer::FUEING, FctipsolPeer::GENDEU, FctipsolPeer::ID, ), 65 private static $fieldKeys = array ( 66 BasePeer::TYPE_PHPNAME => array ('Codtip' => 0, 'Destip' => 1, 'Monsol' => 2, 'Valsol' => 3, 'Privdeu' => 4, 'Privmsg' => 5, 'Anocom' => 6, 'Fueing' => 7, 'Gendeu' => 8, 'Id' => 9, ), 67 BasePeer::TYPE_COLNAME => array (FctipsolPeer::CODTIP => 0, FctipsolPeer::DESTIP => 1, FctipsolPeer::MONSOL => 2, FctipsolPeer::VALSOL => 3, FctipsolPeer::PRIVDEU => 4, FctipsolPeer::PRIVMSG => 5, FctipsolPeer::ANOCOM => 6, FctipsolPeer::FUEING => 7, FctipsolPeer::GENDEU => 8, FctipsolPeer::ID => 9, ), 74 { 75 include_once 'lib/model/map/FctipsolMapBuilder.php'; 76 return BasePeer::getMapBuilder('lib.model.map.FctipsolMapBuilder'); 78 79 public static function getPhpNameMap() 80 {checkbase.php https://github.com/brandonburke/WordPress-Plugin-Baseline.git | PHP | 231 lines
1<?php 2// main global to hold our checks 13 // should return true for good/okay/acceptable, false for bad/not-okay/unacceptable 14 public function check( $php_files, $css_files, $other_files ); 15 21$dir = 'checks'; 22foreach (glob(dirname(__FILE__). "/{$dir}/*.php") as $file) { 23 include $file; 25 26function run_themechecks($php, $css, $other) { 27 global $themechecks; 30 if ($check instanceof themecheck) { 31 $pass = $pass & $check->check($php, $css, $other); 32 } 173 174function tc_print_r( $data ) { 175 $out = "\n<pre class='html-print-r'";zkuser.php https://gitlab.com/zubair_xenomorph/zubair_zklib | PHP | 269 lines
1<?php 2 function getSizeUser($self) { 22echo "<br>byte1=<br>"; 23print_r(unpack("H*",$byte1)); 24 $byte2 = chr((int)($uid >> 8)); 25echo "<br>byte1=<br>"; 26print_r(unpack("H*",$byte2)); 27 28echo "<br>strpad pass=<br>"; 29print_r(str_pad($password, 8, chr(0))); 30echo "<br>strpad pass unpackd=<br>"; 30echo "<br>strpad pass unpackd=<br>"; 31print_r(unpack("H*",str_pad($password, 8, chr(0)))); 32 $command_string = $byte1.$byte2.chr($role).str_pad($password, 8, chr(0)).str_pad($name, 28, chr(0)).str_pad(chr(1), 9, chr(0)).str_pad($userid, 8, chr(0)).str_repeat(chr(0),16); 34echo "<br>unpacked cmd str<br>"; 35print_r(unpack("H*",$command_string)); 36 $chksum = 0;Release2.php https://github.com/testruby/Tine-2.0-Open-Source-Groupware-and-CRM.git | PHP | 246 lines
1<?php 2/** 117 118 if (Tinebase_Core::isLogLevel(Zend_Log::DEBUG)) Tinebase_Core::getLogger()->debug(__METHOD__ . '::' . __LINE__ . print_r($queryResult, TRUE)); 119 152 153 //if (Tinebase_Core::isLogLevel(Zend_Log::DEBUG)) Tinebase_Core::getLogger()->debug(__METHOD__ . '::' . __LINE__ . print_r($queryResult, TRUE)); 154 187 $updateRelation->remark = $remark; 188 //if (Tinebase_Core::isLogLevel(Zend_Log::DEBUG)) Tinebase_Core::getLogger()->debug(__METHOD__ . '::' . __LINE__ . ' ' . print_r($updateRelation->toArray(), TRUE)); 189 $relationsBackend->updateRelation($updateRelation);teilgewaesserbenutzungen.php https://github.com/srahn/kvwmap.git | PHP | 352 lines
1<?php 2class Teilgewaesserbenutzungen extends WrPgObject { 283 284// print_r($teilgewaesserbenutzung_value_array); 285 $this->log->log_debug('teilgewaesserbenutzung_value_array: ' . var_export($teilgewaesserbenutzung_value_array, true)); 305 306// // print_r($teilgewaesserbenutzung_value_array); 307// $this->log->log_debug('teilgewaesserbenutzung_value_array: ' . var_export($teilgewaesserbenutzung_value_array, true));generate.php https://github.com/ryangroth5/claims.git | PHP | 374 lines
1<?php 2 2 3# php generate.php 4# -- Runs everything in the modules directory 4# -- Runs everything in the modules directory 5# php generate.php custom 6# -- Runs only the module starting with "custom" 6# -- Runs only the module starting with "custom" 7# php generate.php --outfile=custom-api custom 8# -- Runs the custom module, serializes to custom-api.xml 8# -- Runs the custom module, serializes to custom-api.xml 9# php generate.php dijit dojo 10# -- Runs both dijit and dojo modules 19require_once('includes/dojo.inc'); 20require_once('lib/generator/JsonSerializer.php'); 21require_once('lib/generator/XmlSerializer.php');ActionsTest.php https://gitlab.com/e0/X2CRM | PHP | 284 lines
1<?php 2 126 X2_TEST_DEBUG_LEVEL > 1 && print ('$profileUsernames = '); 127 X2_TEST_DEBUG_LEVEL > 1 && print_r ($profileUsernames); 128 147 X2_TEST_DEBUG_LEVEL > 1 && print ('$profileUsernames = '); 148 X2_TEST_DEBUG_LEVEL > 1 && print_r ($profileUsernames); 149 204 $notifAssignees = array_map (function ($a) { return $a->user; }, $notifs); 205 X2_TEST_DEBUG_LEVEL > 1 && print_r ($notifAssignees); 206 $this->assertTrue (in_array ('Guest', $notifAssignees));modresponse.class.php https://github.com/gbds/revolution.git | PHP | 260 lines
1<?php 2/* 46 if ($this->modx->getDebug() === true) { 47 $this->modx->log(modX::LOG_LEVEL_DEBUG, "No valid content type for RESOURCE: " . print_r($this->modx->resource->toArray(), true)); 48 } 92 $phpTime= $totalTime - $queryTime; 93 $phpTime= sprintf("%2.4f s", $phpTime); 94 $source= $this->modx->resourceGenerated ? "database" : "cache"; 96 $this->modx->resource->_output= str_replace("[^qt^]", $queryTime, $this->modx->resource->_output); 97 $this->modx->resource->_output= str_replace("[^p^]", $phpTime, $this->modx->resource->_output); 98 $this->modx->resource->_output= str_replace("[^t^]", $totalTime, $this->modx->resource->_output); 154 155 /* tell PHP to call _postProcess after returning the response (for caching) */ 156 register_shutdown_function(array (Clinic.php https://gitlab.com/jeamar1234/medicloud | PHP | 242 lines
1<?php 2 169 170 //print_r($clinicData); 171 return $clinicData;README.md https://bitbucket.org/moodle/moodle.git | Markdown | 297 lines
1![Build Status](https://github.com/firebase/php-jwt/actions/workflows/tests.yml/badge.svg) 2[![Latest Stable Version](https://poser.pugx.org/firebase/php-jwt/v/stable)](https://packagist.org/packages/firebase/php-jwt) 3[![Total Downloads](https://poser.pugx.org/firebase/php-jwt/downloads)](https://packagist.org/packages/firebase/php-jwt) 3[![Total Downloads](https://poser.pugx.org/firebase/php-jwt/downloads)](https://packagist.org/packages/firebase/php-jwt) 4[![License](https://poser.pugx.org/firebase/php-jwt/license)](https://packagist.org/packages/firebase/php-jwt) 5 233- Miscellaneous cleanup, documentation and test fixes. 234 See [#107](https://github.com/firebase/php-jwt/pull/107), [#115](https://github.com/firebase/php-jwt/pull/115), 235 [#160](https://github.com/firebase/php-jwt/pull/160), [#161](https://github.com/firebase/php-jwt/pull/161), and 242- Fixes to exceptions classes. See [#81](https://github.com/firebase/php-jwt/pull/81) for details. Thanks to [@Maks3w](https://github.com/Maks3w)! 243- Fixes to PHPDoc. See [#76](https://github.com/firebase/php-jwt/pull/76) for details. Thanks to [@akeeman](https://github.com/akeeman)! 244 281$ pear install PHPUnit 282$ phpunit --configuration phpunit.xml.dist 283PHPUnit 3.7.10 by Sebastian Bergmann.functions.php https://github.com/mikitracey/ifusa.git | PHP | 393 lines
89 $lc = ( strlen($lc[0]) == 3 ) ? $lc[0]{0}.$lc[0]{0}.$lc[0]{1}.$lc[0]{1}.$lc[0]{2}.$lc[0]{2} : $lc[0]; 90 update_option('kubrick_header_image', "header-img.php?upper=$uc&lower=$lc"); 91 } 123 //print_r($_REQUEST); 124 header("Location: themes.php?page=functions.php&saved=true"); 125 die; 218 document.getElementById('advlowercolor').value = document.getElementById('lowercolor').value = '#4180b6'; 219 document.getElementById('header').style.background = 'url("<?php echo get_template_directory_uri(); ?>/images/kubrickheader.jpg") center no-repeat'; 220 document.getElementById('header').style.color = '#FFFFFF'; 276 text-align: center; 277 background: url('<?php echo kubrick_header_image_url(); ?>') center no-repeat; 278 } 282 width: 100%; 283 display: <?php echo kubrick_header_display_string(); ?>; 284 }collection_view.php https://gitlab.com/akanshagupta/jigglylanding | PHP | 206 lines
38 <div class="cat-minus-icon" style="display:none;"><span class="fa-minus icomoon icon-fa-minus"></span> </div> 39 <h4><a href="<?php echo base_url(); ?>brand/<?php echo str_replace(" ","_",strtolower($product['brand_Name'])); ?>/<?php echo $product['brandId']; ?>/legacy"><?php echo $product['brand_Name']; ?> </a></h4> 40 <a href="javascript:void(0)" class="myan follow-brand-sectn" id="<?php echo $product['brandId'];?>"> 68 <div class="relative-struct"> 69 <h1 class="hea"><a href="<?php echo base_url();?>category/<?php echo str_replace(" ","_",strtolower($product['category_Name']));?>/<?php echo $product['categoryId'];?>"><?php echo $product['category_Name'];?></a> 70 <div class="tooltip cat-follow-popup"> 75 <img src="<?php echo base_url();?>content/images/icons/follow-arrow.png" class="arrow"> 76 <h1 class=""><a href="<?php echo base_url();?>category/<?php echo str_replace(" ","-",strtolower($product['category_Name'])); ?>/<?php echo $product['categoryId'];?>"><?php echo $product['category_Name']; ?></a> </h1> 77 <div class="follow-status" id="<?php echo $product['categoryId']; ?>"> 150 <li> 151 <a target="_blank" href="https://www.facebook.com/sharer/sharer.php?u=<?php echo base_url();?>product/<?php echo str_replace(" ","_",strtolower($product['product_Name']));?>/<?php echo $product['productId'];?>/overview" class="fb"></a> 152 </li> 164 165<a target="_blank" href="https://www.linkedin.com/shareArticle?mini=true&url=<?php echo base_url();?>product/<?php echo str_replace(" ","_",strtolower($product['product_Name']));?>/<?php echo $product['productId'];?>/overview&title=Rigalio&summary=Rigalio%20content&source=<?php echo base_url();?>product/<?php echo str_replace(" ","_",strtolower($product['product_Name']));?>/<?php echo $product['productId'];?>/overview" class="linkdin"></a> 166 </li>