100+ results results for 'php print_r repo:infused/retrospect-gds' (1740 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 images1416863327-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) {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)); 148show2.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 }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();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 }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&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";dumper.php https://github.com/dagda/ThinkUp.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();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){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{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 +----------------------------------------------------------------------+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 }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); 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 }import.php https://github.com/m-fuji-0616/vtigercrm-5.1.x-ja.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']);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; 25content_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)); 336TransactionalSMSApi.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 } ?>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 *Tree.class.php https://github.com/prabhupathak/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>";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"> </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 -->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>";_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]',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 (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; ?>' /> <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 } ?>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 } ?>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)); 164Activemq.php https://gitlab.com/fabiorf/curso-zend1-aula1 | 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']."'");AuthController.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">';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;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));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>AdminController.php https://gitlab.com/tutaalexandr/ukrbride4u.local | PHP | 340 lines
1<?php namespace App\Http\Controllers\Admin; 2 50 { 51 // print_r(BillingLog::getHistoryData($id) ); 52 return view('admin.statistics-detailed', [ 218 $userId = (int)$request->get('id'); 219 // print_r(User::find($userId)); 220 /*return json_encode($userId );display_variations.php https://github.com/evadne/wp-e-commerce.git | PHP | 299 lines
174 <div class="alignleft" style='width: 500px;'> 175 <a href='' onclick='return showaddform()' class='add_item_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_ADDVARIATION;?></span></a> 176 <span id='loadingindicator_span'><img id='loadingimage' src='<?php echo WPSC_URL; ?>/images/indicator.gif' alt='Loading' title='Loading' /></span><br /> 184</div> 185 <?php 186 $num = 0; 248 <div class='inside'> 249 <?php } else { ?> 250 <div class="categorisation_title"> 270 <input type='text' class="text" name='variation_values[]' value='' /> 271 <a class='image_link' href='#' onclick='remove_variation_value_field("variation_value_1")'><img src='<?php echo WPSC_URL; ?>/images/trash.gif' alt='<?php echo TXT_WPSC_DELETE; ?>' title='<?php echo TXT_WPSC_DELETE; ?>' /></a><br /> 272 </span><span id='variation_value_2'> 273 <input type='text' class="text" name='variation_values[]' value='' /> 274 <a class='image_link' href='#' onclick='remove_variation_value_field("variation_value_2")'><img src='<?php echo WPSC_URL; ?>/images/trash.gif' alt='<?php echo TXT_WPSC_DELETE; ?>' title='<?php echo TXT_WPSC_DELETE; ?>' /></a><br /> 275 </span></div>class.jetpack-options.php https://gitlab.com/hunt9310/ras | PHP | 256 lines
1<?php 2 211 if ( ! self::is_valid( $names ) ) { 212 trigger_error( sprintf( 'Invalid Jetpack option names: %s', print_r( $names, 1 ) ), E_USER_WARNING ); 213ARC2_RdfaExtractor.php https://github.com/ntulip/tattler.git | PHP | 374 lines
1<?php 2/* 29 function extractRDF() { 30 //echo '<pre>' . htmlspecialchars(print_r($this->nodes, 1)) . '</pre>'; 31 if (!isset($this->caller->detected_formats['rdfa'])) return 0;Activemq.php https://gitlab.com/grayhamster/open-social-media-monitoring | PHP | 366 lines
1<?php 2/** 19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: Activemq.php 24594 2012-01-05 21:27:01Z 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']."'");Soft.php https://gitlab.com/redwan4re/web-apps-php-26 | PHP | 249 lines
1<?php 2 71 unset($_SESSION['formData']); 72 header('location: add.php'); 73 } catch (\PDOException $e) { 76 }else{ 77 header('location: add.php'); 78 } 114 $_SESSION['msg'] = ' <h5 style="color:green;">Software Successfully Updated!</h5> '; 115 header('location: show.php'); 116 } catch(PDOException $e) { 126 $_SESSION['msg'] = 'Data Successfully deleted'; 127 header('location: show.php'); 128 } catch(PDOException $e) { 138 $user = $STH->fetch(PDO::FETCH_ASSOC); 139// print_r($user); 140// die();lib.php https://github.com/arborrow/moodle.git | PHP | 456 lines
1<?php 2// This file is part of Moodle - http://moodle.org/ 33 34 require_once(dirname(__FILE__).'/locallib.php'); 35 48function book_get_nav_types() { 49 require_once(dirname(__FILE__).'/locallib.php'); 50 145 */ 146function book_print_recent_activity($course, $viewfullnames, $timestart) { 147 return false; // True if anything was printed, otherwise false 219 foreach ($plugins as $plugin => $dir) { 220 if (file_exists("$dir/lib.php")) { 221 require_once("$dir/lib.php"); 249 foreach ($plugins as $plugin => $dir) { 250 if (file_exists("$dir/lib.php")) { 251 require_once("$dir/lib.php");permissions.php https://gitlab.com/phamngsinh/baitaplon_sinhvien | PHP | 511 lines
1<?php 2if( !defined( '_JEXEC' ) ) die( 'Direct Access to '.basename(__FILE__).' is not allowed.' ); 4* 5* @version $Id: permissions.php 6053 2012-06-05 12:36:21Z Milbo $ 6* @package VirtueMart 10* @copyright Copyright (C) 2010-2011 Virtuemart Team - All rights reserved. 11* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php 12* VirtueMart is free software. This version may have been modified pursuant 15* other free or open source software licenses. 16* See /administrator/components/com_virtuemart/COPYRIGHT.php for copyright notices and details. 17* 72 } 73// echo 'Die Usergroups: <pre>'.print_r($this->_user_groups).'</pre>'; 74 return $this->_user_groups; 361 362 echo '<pre>'.print_r($child_groups,1).'</pre>'; 363view.php https://github.com/micaherne/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 }TwitterOAuthTest.php https://gitlab.com/Hungcis/testvagrant | PHP | 241 lines
1<?php 2/** 8 9class TwitterOAuthTest extends \PHPUnit_Framework_TestCase 10{ 54 $this->assertEquals('foo', substr($accessToken->access_token, 0, 75)); 55 $this->assertEquals('foo', print_r($result, true)); 56 }ctrl_puerta.Acc.php https://gitlab.com/talueses/SIPVE | PHP | 220 lines
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>"; 53require_once "../controller/ctrl_puerta.control.op.php";// Class CONTROLLER 167 <td> 168 <select name="numero" id="numero" onchange="" <?php echo $disabled;?> > 169 169 170 <?php 171 for ($i=1;$i<=255;$i++){ 189 <td> 190 <input type="text" name="puerta" id="puerta" maxlength="100" value="<?php echo $data->puerta;?>" <?php echo $disabled;?>> 191 </td>revision.php https://gitlab.com/juanito.abelo/nlmobile | PHP | 403 lines
302 'diffData' => $diffs, 303 'baseUrl' => parse_url( admin_url( 'revision.php' ), PHP_URL_PATH ), 304 'compareTwoMode' => absint( $compare_two_mode ), // Apparently booleans are not allowed 315 */ 316function wp_print_revision_templates() { 317 global $post; 353 <# } else if ( 'to' === data.type ) { #> 354 <strong><?php _ex( 'To:', 'Followed by post revision info' ); ?></strong> 355 <# } #> 359 <# if ( data.attributes.autosave ) { #> 360 <span class="byline"><?php printf( __( 'Autosave by %s' ), 361 '<span class="author-name">{{ data.attributes.author.name }}</span>' ); ?></span> 401 </div> 402 </script><?php 403}paypal-standard.merchant.php https://gitlab.com/endomorphosis/reservationtelco | PHP | 335 lines
1<?php 2/** 11 'requirements' => array( 12 /// so that you can restrict merchant modules to PHP 5, if you use PHP 5 features 13 'php_version' => 4.3, 20 21 // All array members below here are legacy, and use the code in paypal_multiple.php 22 'form' => 'form_paypal_multiple', 25 'supported_currencies' => array( 26 'currency_list' => array('AUD', 'BRL', 'CAD', 'CHF', 'CZK', 'DKK', 'EUR', 'GBP', 'HKD', 'HUF', 'ILS', 'JPY', 'MXN', 'MYR', 'NOK', 'NZD', 'PHP', 'PLN', 'SEK', 'SGD', 'THB', 'TWD', 'USD'), 27 'option_name' => 'paypal_curcode' 220 echo "<a href='".get_option('paypal_multiple_url')."?".$gateway_values."'>Test the URL here</a>"; 221 //echo "<pre>".print_r($this->cart_items,true)."</pre>"; 222 echo "<pre>".print_r($this->collected_gateway_data,true)."</pre>"; 224 //} 225 //exit('<pre>'.print_r($gateway_values, true).'</pre>'); 226 header("Location: ".get_option('paypal_multiple_url')."?".$gateway_values);loadEventos.php https://gitlab.com/talueses/SIPVE | PHP | 274 lines
1<?php 2/*******************************************************************************\ 63 date_default_timezone_set($eventos[0]->location); 64 //echo "<div align=\"left\"><pre>".print_r($eventos,true)."</pre></div>"; 65 $linkVerTodos = basename($_SERVER["PHP_SELF"])."?idcamara=".$_REQUEST["idcamara"]."&accion=verTodos"; 160 //echo "$(document).attr('location','setStatusEvento.php?idevento='+idevento+'&fecha='+fecha+'&evento='+evento+'&idcamara='+idcamara+'&accion=setStatusEvento');"; 161 echo "top.setLoadEvento('setStatusEvento.php?idevento='+idevento+'&fecha='+fecha+'&evento='+evento+'&idcamara='+idcamara+'&accion=setStatusEvento');"; 162 } 183 url: "getCamaraStatus.php", 184 data: "idcamara=<?php echo $eventos[0]->idcamara?>&idservidor=<?php echo $eventos[0]->idservidor?>", 185 success: function(html){ 209 <div id="guardRunningImg" align="left" style="width: 40px;float:left;display: none;" > 210 <img src="../images/Info-red-20.png" title="Existe una guardia activa para la cámara <?php echo $eventos[0]->camara;?>." onclick="alert('Existe una guardia activa para la cámara <?php echo $eventos[0]->camara;?>')" style="cursor: help;"/> 211 </div> 271 </html> 272 <?php 273}index.php https://github.com/yetanotherx/webtools.git | PHP | 348 lines
1<?php 2//error_reporting(E_ALL); 6 7include( '/home/soxred93/public_html/common/header.php' ); 8include( '/home/soxred93/wikibot.classes.php' ); 8include( '/home/soxred93/wikibot.classes.php' ); 9include( '/home/soxred93/stats.php' ); 10include( '/home/soxred93/public_html/common/rfalib2.php'); 22 echo "<pre>"; 23 print_r( $array ); 24 echo "</pre>"; 37 echo $msg; 38 include( '/home/soxred93/public_html/common/footer.php' ); 39 die(); 42 43//Tell footer.php to output source 44/*function outputSource( $msg ) {panel.php https://gitlab.com/thisishayat/itv-2016 | PHP | 332 lines
1<?php 2 83 84 $this->get_template( 'container.tpl.php' ); 85 105 echo "<br /><pre>"; 106 print_r( $wpdb->queries ); 107 echo "</pre>"; 311 <div id="message" class="error redux-message"> 312 <p><?php _e( '<strong>Your panel has bundled outdated copies of Redux Framework template files</strong> – if you encounter functionality issues this could be the reason. Ensure you update or remove them.', 'redux-framework' ); ?></p> 313 </div> 313 </div> 314 <?php 315 return;cJSCompiler.php git://github.com/clientside/amplesdk.git | PHP | 324 lines
1<?php 2 class cJSCompiler 306 arsort($aValuesTemp); 307// print_r($aValuesTemp); 308 $aValues = array_keys($aValuesTemp);dcsRealTime.php https://github.com/lauramoraes/WIS.git | PHP | 378 lines
19 20include_once("TileCalBarrel.php"); 21 85 $tempArray= array($tempString => $rowComment[4]); 86 //print_r($tempArray);echo"<BR>"; 87 $statusCommentsArray= array_merge($statusCommentsArray, $tempArray); 88 } 89 //print_r($statusCommentsArray); 90 237 { 238 var URL="wicomShowNtupleDate.php?runNumber=<?php echo $runNumber;?>&runType=<?php echo $runType;?>"; 239 // alert(URL); 314<BR> 315<A href='http://atlas-php.web.cern.ch/atlas-php/NOVA/TBAnalysis/TileCommAnalysis/version1.3/searchResult.php?runNumber=<?echo $runNumber;?>' target="_blank">See Plots or Edit Comments</A> 316</CENTER>_form.php https://gitlab.com/aintenebris/memoria | PHP | 221 lines
1<?php 2 14//echo '<pre>'; 15//print_r($model->name); 16//exit; 28 29 <?php $form = ActiveForm::begin(['id' => 'dynamic-form']); ?> 30 93 94 <?php DynamicFormWidget::begin([ 95 'widgetContainer' => 'dynamicform_wrapper', // required: only alphanumeric characters plus "_" [A-Za-z0-9_] 124 <div class="container-items"><!-- widgetBody --> 125 <?php foreach ($modelsCatalogItemSize as $i => $modelsCatalogItemSize): ?> 126 <div class="item panel panel-default"><!-- widgetItem --> 134 <div class="panel-body"> 135 <?php 136 // necessary for update action.Events.php https://bitbucket.org/VirtualReality/libaurora.php.git | PHP | 360 lines
1<?php 2//! @file Aurora/Addon/WebAPI/Events.php 318 $hash1 = spl_object_hash($WebAPI); 319 $hash2 = md5(print_r($filter, true)); 320 $hash3 = md5(print_r($sort, true));display-coupons.php https://github.com/evadne/wp-e-commerce.git | PHP | 422 lines
80 <h2><?php echo TXT_WPSC_DISPLAYCOUPONS;?></h2> 81 <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> 82 <span id='loadingindicator_span'><img id='loadingimage' src='<?php echo WPSC_URL; ?>/images/indicator.gif' alt='Loading' title='Loading' /></span><br /> 82 <span id='loadingindicator_span'><img id='loadingimage' src='<?php echo WPSC_URL; ?>/images/indicator.gif' alt='Loading' title='Loading' /></span><br /> 83 <p style='margin: 0px 0px 5px 0px;'> <?php echo TXT_WPSC_PAYPALNOTE;?> 84 352 <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> 353 <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> 354 </td> 376 <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> 377 <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> 378 </td> 417 <td> 418 <?php echo get_option('siteurl')."/index.php?rss=true&action=product_list" ?> 419 </td>xpdogenerator.class.php https://github.com/esche/revolution.git | PHP | 216 lines
1<?php 2/* 30 */ 31include_once (strtr(realpath(dirname(__FILE__)), '\\', '/') . '/../xpdogenerator.class.php'); 32 104 $tables= $tablesStmt->fetchAll(PDO::FETCH_NUM); 105 if ($this->manager->xpdo->getDebug() === true) $this->manager->xpdo->log(xPDO::LOG_LEVEL_DEBUG, print_r($tables, true)); 106 foreach ($tables as $table) { 117 $fields= $fieldsStmt->fetchAll(PDO::FETCH_ASSOC); 118 if ($this->manager->xpdo->getDebug() === true) $this->manager->xpdo->log(xPDO::LOG_LEVEL_DEBUG, print_r($fields, true)); 119 if (!empty($fields)) { 139 } 140 $PhpType= $this->manager->getPhpType($dbType); 141 $Null= ' null="' . (($Null === 'NO') ? 'false' : 'true') . '"'; 156 } 157 $xmlFields[] = "\t\t<field key=\"{$Field}\" dbtype=\"{$dbType}\"{$Precision}{$attributes} phptype=\"{$PhpType}\"{$Null}{$Default}{$Key}{$Extra} />"; 158 }Exporter.php https://gitlab.com/zan_zan/laravel_sample | PHP | 302 lines
1<?php 2/* 4 * 5 * (c) Sebastian Bergmann <sebastian@phpunit.de> 6 * 15/** 16 * A nifty utility for visualizing PHP variables. 17 * 18 * <code> 19 * <?php 20 * use SebastianBergmann\Exporter\Exporter; 26 * @package Exporter 27 * @author Sebastian Bergmann <sebastian@phpunit.de> 28 * @copyright Sebastian Bergmann <sebastian@phpunit.de> 161 162 // See https://github.com/php/php-src/commit/5721132 163 if ($key === "\0gcdata") {MediaController.php https://gitlab.com/makkooz/nikestreetbeat | PHP | 253 lines
1<?php 2/** 138 $uploadHandler = new MediaUploadHandler(null, false); 139 $uploadHandler->delete($id, MediaUploadHandler::NOT_PRINT_RESPONSE); 140 154 $uploadHandler = new MediaUploadHandler(null, false); 155 $uploadHandler->delete($id, MediaUploadHandler::NOT_PRINT_RESPONSE); 156 } 191 'year_month_dirs' => Option::get('uploads_yearmonth_based'), 192 ], MediaUploadHandler::NOT_PRINT_RESPONSE); 193 $uploadHandler->post(); 218 $this->getPermission($this->findModel($id)); 219 $uploadHandler = new MediaUploadHandler(null, MediaUploadHandler::NOT_PRINT_RESPONSE); 220 $uploadHandler->delete($id);options.php https://github.com/jkreska/test1.git | PHP | 286 lines
67 <tr><th scope="row"><?php echo wp_ozh_adminmenu__('Color Scheme'); ?></th> 68 <td><input type="text" id="oam_grad" name="oam_grad" size="7" value="<?php echo $grad ?>" /><img id="oam_cp_toggle" src="<?php echo WP_PLUGIN_URL.'/'.plugin_basename(dirname(__FILE__)).'/images/'; ?>color_wheel.png" /> <label for="oam_grad"><?php printf(wp_ozh_adminmenu__("Pick a color for your menu bar, using the color wheel or one of the presets")); ?><br/> 69 <label><?php wp_ozh_adminmenu_checkbox('nograd'); ?> <?php echo wp_ozh_adminmenu__('No subtle gradient, just plain color.');?></label> 129 <tr><th scope="row"><?php echo wp_ozh_adminmenu__('Top Links'); ?></th> 130 <td><label><?php wp_ozh_adminmenu_checkbox('toplinks'); ?> <?php echo wp_ozh_adminmenu__('Make top links clickable'); ?></label><br/> 131 <?php echo wp_ozh_adminmenu__('Uncheck this option to improve compatibility with browsers that cannot handle the "hover" event (<em>ie</em> most handheld devices)'); ?> 134 <tr><th scope="row"><?php echo wp_ozh_adminmenu__('Hide "0" Bubbles'); ?></th> 135 <td><label><?php wp_ozh_adminmenu_checkbox('hidebubble'); ?> <?php echo wp_ozh_adminmenu__('Hide speech bubbles when no awaiting comments or outdated plugins'); ?></label><br/> 136 <?php echo wp_ozh_adminmenu__('Check if those tiny "0" speech bubble are too distracting for your taste'); ?> 141 <?php printf(wp_ozh_adminmenu__('Do you DIG this plugin? Please <a href="%s">tweet about it</a>! (oh, and <a href="http://twitter.com/ozh">follow me</a> by the way :'),"http://twitter.com/?status=I%20love%20Ozh's%20Admin%20Drop%20Down%20Menu%20for%20WordPress%20http://ozh.in/kl"); ?>)<br/> 142 <?php printf(wp_ozh_adminmenu__('Do you <em>love</em> this plugin? Please <a href="%s">blog about it</a>! Tell your readers you like it so they will discover, try and hopefully like it too :)'),'post-new.php'); ?><br/> 143 <?php printf(wp_ozh_adminmenu__('Are you <span id="totallycrazy">crazy</span> about this plugin? <a href="%s">Paypal me a beer</a>! Every donation warms my heart and motivates me to release free stuff!'),'http://planetozh.com/exit/donate'); ?> 270 </ul> 271 <p class="submit" style="border-top:0px;padding:0;"><input style="color:red" name="submit" value="<?php echo wp_ozh_adminmenu__('Reset Settings');?>" onclick="return(confirm('<?php echo js_escape(wp_ozh_adminmenu__('Really do?'));?>'))" type="submit" /></p> 272 <p><?php echo wp_ozh_adminmenu__('There is no undo, so be very sure you want to click the button!');?></p>RESTTestBase.php https://gitlab.com/reasonat/test8 | PHP | 434 lines
1<?php 2 175 '<hr />Code: ' . curl_getinfo($this->curlHandle, CURLINFO_HTTP_CODE) . 176 '<hr />Response headers: ' . nl2br(print_r($headers, TRUE)) . 177 '<hr />Response body: ' . $this->responseBody);functions.php https://github.com/cakephp/cakephp.git | PHP | 336 lines
4/** 5 * CakePHP(tm) : Rapid Development Framework (https://cakephp.org) 6 * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) 12 * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) 13 * @link https://cakephp.org CakePHP(tm) Project 14 * @since 3.0.0 131 * In terminals this will act similar to using print_r() directly, when not run on CLI 132 * print_r() will also wrap `<pre>` tags around the output of given variable. Similar to debug(). 133 * 146 147 $template = PHP_SAPI !== 'cli' && PHP_SAPI !== 'phpdbg' ? '<pre class="pr">%s</pre>' : "\n%s\n\n"; 148 printf($template, trim(print_r($var, true))); 174 175 $template = PHP_SAPI !== 'cli' && PHP_SAPI !== 'phpdbg' ? '<pre class="pj">%s</pre>' : "\n%s\n\n"; 176 printf($template, trim(json_encode($var, JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES)));item_barcode_generator.php https://gitlab.com/mucill/majalengka | PHP | 302 lines
36require SIMBIO.'simbio_GUI/paging/simbio_paging.inc.php'; 37require SIMBIO.'simbio_DB/datagrid/simbio_dbgrid.inc.php'; 38require SIMBIO.'simbio_DB/simbio_dbop.inc.php'; 84 // send ajax request 85 echo 'jQuery.ajax({ url: \''.SWB.'lib/phpbarcode/barcode.php?code='.$itemID.'&encoding='.$sysconf['barcode_encoding'].'&scale='.$size.'&mode=png&act=save\', type: \'GET\', error: function() { alert(\'Error creating barcode!\'); } });'."\n"; 86 // add to sessions 214 <div class="btn-group"> 215 <a target="blindSubmit" href="<?php echo MWB; ?>bibliography/item_barcode_generator.php?action=clear" class="notAJAX btn btn-default"><i class="glyphicon glyphicon-trash"></i> <?php echo __('Clear Print Queue'); ?></a> 216 <a target="blindSubmit" href="<?php echo MWB; ?>bibliography/item_barcode_generator.php?action=print" class="notAJAX btn btn-default"><i class="glyphicon glyphicon-print"></i> <?php echo __('Print Barcodes for Selected Data');?></a> 216 <a target="blindSubmit" href="<?php echo MWB; ?>bibliography/item_barcode_generator.php?action=print" class="notAJAX btn btn-default"><i class="glyphicon glyphicon-print"></i> <?php echo __('Print Barcodes for Selected Data');?></a> 217 <a href="<?php echo MWB; ?>bibliography/pop_print_settings.php?type=barcode" class="notAJAX btn btn-default openPopUp" title="<?php echo __('Change print barcode settings'); ?>"><i class="glyphicon glyphicon-wrench"></i></a> 218 </div> 218 </div> 219 <form name="search" action="<?php echo MWB; ?>bibliography/item_barcode_generator.php" id="search" method="get" style="display: inline;"><?php echo __('Search'); ?> : 220 <input type="text" name="keywords" size="30" />firstdata.php https://gitlab.com/reclamare/mao | PHP | 222 lines
1<?php 2class ModelPaymentFirstdata extends Model { 77 78 $this->logger('Void XML request:\r\n' . print_r(simplexml_load_string($xml), 1)); 79 142 143 $this->logger('Settle XML request:\r\n' . print_r(simplexml_load_string($xml), 1)); 144 173 174 $this->logger(print_r($order, 1)); 175BaseFctipsolPeer.php https://github.com/cidesa/roraima.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 {definitions.php https://gitlab.com/scsistemas/superprime | PHP | 262 lines
1<?php 2 //$urlWS = 'http://qa.superprimeweb.com/admin/index.php?'; 2 //$urlWS = 'http://qa.superprimeweb.com/admin/index.php?'; 3 $urlWS = 'http://localhost:8080/superprime/admin/index.php?'; 4 $rutaFotos = '../images/fotos/'; 13 $fecExpira = $dataML['ml_fecToken'] + $dataML['ml_expires']; 14 //print_r('fecha expira: ' . $fecExpira . ', fecha actual: ' . time() . ', fecha(300s): ' . ($fecExpira - time()) . '</br>'); 15 if(time() > ($fecExpira) || ($fecExpira - time()) < 300){//si el token expiro o su tiempo de vida es menor de 5 min(300 Seg) se renueva 16 $tokenPre = $dataML['ml_token']; 17 //print_r('TokenPre: '.$tokenPre.'</br>'); 18 $dataML = refreshToken($dataML, $urlWS); 19 $tokenPost = $dataML['ml_token']; 20 //print_r('TokenPost: '.$tokenPost.'</br>'); 21 57 $service_url = 'http://auth.mercadolibre.com.ve/authorization?response_type=code&client_id=' . $dataML['ml_id'] . '&redirect_uri=' . $dataML['ml_redirectUri']; 58 //print_r('urlML: ' . $service_url); 59 $redir = "Location: " . $service_url;