PageRenderTime 1155ms queryTime 354ms sortTime 38ms getByIdsTime 344ms findMatchingLines 143ms

100+ results results for 'php print_r repo:melnik/Contingent' (1155 ms)

Not the results you expected?
Ods.php https://gitlab.com/rsilveira1987/Expresso | PHP | 400 lines
                    
1<?php
                    
2/**
                    
128        Tinebase_Core::getLogger()->info(__METHOD__ . '::' . __LINE__ . ' Creating export for ' . $this->_modelName . ' . ' . $this->_getDataTableName());
                    
129        if (Tinebase_Core::isLogLevel(Zend_Log::TRACE)) Tinebase_Core::getLogger()->trace(__METHOD__ . '::' . __LINE__ . ' ' . print_r($this->_config->toArray(), TRUE));
                    
130        
                    
                
imageupload.php https://gitlab.com/haque.mdmanzurul/nga-loyaltymatters | PHP | 287 lines
                    
1<?php
                    
2
                    
45    
                    
46    //echo '<pre>' . print_r($sourceProperties,1) . '</pre>';
                    
47    $allowedExtensions = $modx->getOption('allowedFileTypes', $sourceProperties, '');
                    
68
                    
69    include_once AIU_BASE_PATH . 'includes/fileuploader/fileuploader.class.php';
                    
70
                    
81    if (!function_exists('includeFile')) {
                    
82        function includeFile($name, $type = 'config', $defaultName = 'default', $fileType = '.inc.php') {
                    
83            $folder = (substr($type, -1) != 'y') ? $type . 's/' : substr($folder, 0, -1) . 'ies/';
                    
93                } else {
                    
94                    $modx->messageQuit('Default AjaxImageUpload ' . $type . ' file "' . AIU_BASE_PATH . $folder . $defaultName . '.' . $type . '.inc.php" not found. Did you upload all snippet files?');
                    
95                }
                    
106
                    
107    include_once AIU_BASE_PATH . 'includes/PhpThumbFactory/ThumbLib.inc.php';
                    
108    // delete uploaded images
                    
                
1416863327-migrate-reports.php https://gitlab.com/e0/X2CRM | PHP | 315 lines
                    
1<?php
                    
2/***********************************************************************************
                    
91    foreach ($reports as $rep) {
                    
92        print_r ($rep);
                    
93        if (!in_array ($rep['type'], array ('grid', 'deal'), 1)) {
                    
93        if (!in_array ($rep['type'], array ('grid', 'deal'), 1)) {
                    
94            print_r ('invalid type');
                    
95            continue;
                    
109            } else {
                    
110                print_r ('invalid field1'."\n");
                    
111                continue; // invalid saved report
                    
116            } else {
                    
117                print_r ('invalid field2'."\n");
                    
118                continue; // invalid saved report
                    
130                } else {
                    
131                    print_r ('invalid cellData'."\n");
                    
132                    continue; // invalid saved report
                    
                
admin_review.php https://bitbucket.org/prat_h/rakbuku.git | PHP | 501 lines
                    
1<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
                    
2
                    
2
                    
3require_once(APPPATH.'controllers/project.php');
                    
4
                    
45	}
                    
46	//print_r($this->names);
                    
47	
                    
129		
                    
130		//print_r($this->input->post());
                    
131		$par = array(
                    
294		
                    
295		//print_r($this->input->post());
                    
296		$parstate = array(
                    
337		
                    
338		print_r($project_chaps_id);
                    
339		
                    
                
projectteam.php https://gitlab.com/julienv/joomleague | PHP | 394 lines
                    
1<?php
                    
2/**
                    
3* @copyright	Copyright (C) 2006-2014 joomleague.at. All rights reserved.
                    
4* @license		GNU/GPL, see LICENSE.php
                    
5* Joomla! is free software. This version may have been modified pursuant
                    
8* other free or open source software licenses.
                    
9* See COPYRIGHT.php for copyright notices and details.
                    
10*/
                    
55		if ($model->isCheckedOut($user->get('id'))) {
                    
56			$this->setRedirect('index.php?option=com_joomleague&task=projectteam.display&view=projectteams', JText::_('EDITED BY ANOTHER ADMIN'));
                    
57		}
                    
97	    }	
                    
98	    $link = 'index.php?option=com_joomleague&view=projectteams&task=projectteam.display';
                    
99	  	$this->setRedirect($link, $msg);  
                    
174
                    
175		$link = 'index.php?option=com_joomleague&view=projectteams&task=projectteam.display';
                    
176		$this->setRedirect($link, $msg);
                    
                
ActiveSync.php https://gitlab.com/rsilveira1987/Expresso | PHP | 362 lines
                    
1<?php
                    
2/**
                    
145    /**
                    
146     * (non-PHPdoc)
                    
147     * @see ActiveSync_Frontend_Abstract::toSyncrotonModel()
                    
151        if (Tinebase_Core::isLogLevel(Zend_Log::TRACE)) Tinebase_Core::getLogger()->trace(
                    
152            __METHOD__ . '::' . __LINE__ . " contact data " . print_r($entry->toArray(), TRUE));
                    
153        
                    
343        if (Tinebase_Core::isLogLevel(Zend_Log::TRACE))
                    
344            Tinebase_Core::getLogger()->trace(__METHOD__ . '::' . __LINE__ . " contactData " . print_r($contact->toArray(), true));
                    
345        
                    
                
joomleague.php https://gitlab.com/julienv/joomleague | PHP | 431 lines
                    
1<?php
                    
2class JoomleagueConnector extends JLCalendar{
                    
54		// echo '<pre>';
                    
55		// print_r($fav);
                    
56		// echo '</pre>';
                    
193			// new insert for link to player profile
                    
194			//$newrows[$key]['link'] = 'index.php?option=com_joomleague&view=player&p='.$row->project_id.'&pid='.$row->id;
                    
195			$newrows[$key]['link'] = JoomleagueHelperRoute::getPlayerRoute( $row->project_id, $row->teamid, $row->id);
                    
                
Move.php https://gitlab.com/rsilveira1987/Expresso | PHP | 299 lines
                    
1<?php
                    
2/**
                    
146        if (Tinebase_Core::isLogLevel(Zend_Log::TRACE)) Tinebase_Core::getLogger()->trace(__METHOD__ . '::' . __LINE__ 
                    
147            . ' Moving messages: ' . print_r($messagesInFolder->getArrayOfIds(), TRUE));
                    
148        
                    
                
show2.php https://gitlab.com/redwan4re/web-apps-php-26 | PHP | 182 lines
                    
14
                    
15<?php include_once 'header.php'; ?>
                    
16<!-- Page container -->
                    
40                <!-- detached sidebar -->
                    
41                <?php include_once 'sidebar.php'; ?>
                    
42                <!-- /sidebar -->
                    
58                                <div class="heading-btn-group">
                    
59                                    <a type="button" class="btn bg-teal btn-labeled" href="edit.php?id=<?php echo $oneData['unique_id']; ?>"><b><i class="icon-pencil7"></i></b> Edit Course</a>
                    
60                                    
                    
60                                    
                    
61                                    <a type="button" onclick="return checkDelete()" class="btn bg-teal btn-labeled" href="trash.php?id=<?php echo $oneData['unique_id']; ?>"><b><i class="icon-close2"></i></b> Disable Course</a>
                    
62                                    
                    
181
                    
182                <?php include_once 'footer.php'; ?>
                    
183
                    
                
sum_enhance_log.php https://gitlab.com/xusasuke6/Slg_php | PHP | 297 lines
                    
1<?php
                    
2
                    
3define('IN_DATANG_SYSTEM', true);
                    
4include "../../../config/config.php";
                    
5include SYSDIR_ADMIN."/include/global.php";
                    
76//exit($dateStart.'--'.$dateEnd);
                    
77//exit(print_r($match_data));
                    
78$ttype = isset($_REQUEST['ttype']) ? $_REQUEST['ttype'] :1;
                    
81
                    
82//if($ttype == 2){exit(print_r($date_arr));}
                    
83
                    
116}
                    
117//if($ttype == 1){exit(print_r($data_per));}
                    
118$data10 = array();
                    
144			}
                    
145			//if($ttype == 2){print_r($rid_arr[$v1['do_type']]);echo "<br>";}
                    
146		}
                    
                
Type.php https://gitlab.com/oytunistrator/92five | 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) {
                    
                
ClientesController.php https://gitlab.com/fabiorf/fsipedidos | PHP | 320 lines
                    
1<?php
                    
2 
                    
2 
                    
3// namespace de localizacao clientesController.php
                    
4namespace Cliente\Controller;
                    
187        #print "<pre>";
                    
188        #print_r($this->params()->fromRoute());
                    
189        
                    
                
cache.php https://gitlab.com/endomorphosis/reservationtelco | PHP | 503 lines
                    
1<?php
                    
2/**
                    
411	 * The $expire parameter is not used, because the cache will automatically
                    
412	 * expire for each time a page is accessed and PHP finishes. The method is
                    
413	 * more for cache plugins which use files.
                    
459			echo "<pre>";
                    
460			print_r($cache);
                    
461			echo "</pre>";
                    
465	/**
                    
466	 * PHP4 constructor; Calls PHP 5 style constructor
                    
467	 *
                    
476	/**
                    
477	 * Sets up object properties; PHP 5 style constructor
                    
478	 *
                    
483		/**
                    
484		 * @todo This should be moved to the PHP4 style constructor, PHP5
                    
485		 * already calls __destruct()
                    
                
ARC2_TestHandler.php https://gitlab.com/klausmig/CloudSemanticWeb | PHP | 434 lines
                    
91      $pass = 0;
                    
92      $r .= htmlspecialchars($nl . $nl . print_r($errors, 1) . $nl . print_r($rest, 1));
                    
93    }
                    
124      $pass = 1;
                    
125      $r .= htmlspecialchars($nl . $nl . print_r($errors, 1) . $nl . print_r($rest, 1));
                    
126    }
                    
226    }
                    
227    //echo '<pre>query result: ' . $nl . htmlspecialchars(print_r($qr_result, 1)) . '</pre>';
                    
228    if (!$query || $errors || $rest) {
                    
248    $pass_info = $sub_r['info'];
                    
249    $info = print_r($pass_info, 1) . $nl;
                    
250    $info .= '<hr />sql: ' . $nl . htmlspecialchars($sql['result']) . '<hr />';
                    
250    $info .= '<hr />sql: ' . $nl . htmlspecialchars($sql['result']) . '<hr />';
                    
251    $info .= $pass ? '' : print_r($graph_data, 1) . $nl . htmlspecialchars(print_r($graph_data_value, 1)) . '<hr />';
                    
252    $info .= $pass ? '' : print_r($data, 1) . $nl . htmlspecialchars(print_r($data_value, 1)) . '<hr />';
                    
                
UserApi.md https://gitlab.com/akkhil2012/swagger-codegen | Markdown | 374 lines
                    
24### Example 
                    
25```php
                    
26<?php
                    
26<?php
                    
27require_once(__DIR__ . '/vendor/autoload.php');
                    
28
                    
68### Example 
                    
69```php
                    
70<?php
                    
70<?php
                    
71require_once(__DIR__ . '/vendor/autoload.php');
                    
72
                    
112### Example 
                    
113```php
                    
114<?php
                    
                
ctrl_controladora.estado.list.php https://gitlab.com/talueses/SIPVE | PHP | 243 lines
                    
1<?php 
                    
2/*******************************************************************************\
                    
37?>
                    
38<?php
                    
39/**
                    
43
                    
44session_start(); // start up your PHP session!
                    
45if(!isset($_SESSION['usuario'])){
                    
45if(!isset($_SESSION['usuario'])){
                    
46	header("location: login.php",true);
                    
47	return false;
                    
51
                    
52//echo "<div align='left'><pre>".print_r($_REQUEST,true)."</pre></div>";
                    
53
                    
53
                    
54require_once "../controller/ctrl_controladora.control.op.php";// Class CONTROLLER
                    
55$obj = new ControlOpCtrlControladora();
                    
                
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&#038;action=deactivate&#038;module={{{ item.module }}}&#038;_wpnonce={{{ item.deactivate_nonce }}}"><?php _e( 'Deactivate', 'jetpack' ); ?></a></span>
                    
76						<# } else if ( item.available ) { #>
                    
76						<# } else if ( item.available ) { #>
                    
77							<span class='activate'><a href="<?php echo admin_url( 'admin.php' ); ?>?page=jetpack&#038;action=activate&#038;module={{{ item.module }}}&#038;_wpnonce={{{ item.activate_nonce }}}"><?php _e( 'Activate', 'jetpack' ); ?></a></span>
                    
78						<# } #>
                    
86				<tr class="no-modules-found">
                    
87					<td colspan="2"><?php esc_html_e( 'No Modules Found' , 'jetpack' ); ?></td>
                    
88				</tr>
                    
215			<div class="module-image">
                    
216				<p><span class="module-image-badge"><?php echo $badge_text; ?></span><span class="module-image-free" style="display: none"><?php echo $free_text; ?></span></p>
                    
217			</div>
                    
                
all_activity_type_log.php https://gitlab.com/xusasuke6/Slg_php | PHP | 476 lines
                    
1<?php
                    
2
                    
3define('IN_DATANG_SYSTEM', true);
                    
4include "../../../config/config.php";
                    
5include SYSDIR_ADMIN."/include/global.php";
                    
202
                    
203//if($ttype == 3){exit(print_r($date_arr));};
                    
204if(isset($match_data))
                    
234}
                    
235//if($ttype == 2 ){exit(print_r($data_per));}
                    
236$log_all = array();
                    
250}
                    
251//if($ttype == 2 ){exit(print_r($log_all));}
                    
252
                    
436        $rt['start'] = $startday;
                    
437        print_r($data_arr);
                    
438        //生成某一天所在月份的最后一天的日期
                    
                
order_edit.php https://gitlab.com/Rad1calDreamer/honey | PHP | 239 lines
                    
82$MESS["SALE_PR_NOTE3"] = "All chosen documents will open in new browser windows. Some text still can be modified in some documents before printing. You can press &lt;TAB&gt; button when viewing some document, and all the text parts available for modifying will be highlighted one by one.";
                    
83$MESS["SALE_PR_NOTE4"] = "<b>User templates</b> for the documents should be placed in <b>/bitrix/admin/reports/</b> folder, <b>predefined templates</b> are located in <b>/bitrix/modules/sale/reports/</b> folder. System offers any \".php\" files placed in these folders as templates. If there is a user template with the same name as a predefined one then the user template will be used instead of the predefined template. Content of the &lt;title&gt; tag will be used as a template name.";
                    
84$MESS["SALE_PR_NOTE5"] = "You can modify template according to your needs. Just copy the template file from the predefined templates folder to the user templates folder before changing them.";
                    
84$MESS["SALE_PR_NOTE5"] = "You can modify template according to your needs. Just copy the template file from the predefined templates folder to the user templates folder before changing them.";
                    
85$MESS["SALE_PRINT_RECORD"] = "Print the document for order # #ID#";
                    
86$MESS["SOE_MODULE_CATALOG"] = "Commercial Catalog";
                    
                
ApProductList.php https://gitlab.com/ptisky/API_prestashop | PHP | 428 lines
                    
1<?php
                    
2/**
                    
16
                    
17require_once( _PS_MODULE_DIR_.'appagebuilder/classes/ApPageBuilderProductsModel.php');
                    
18
                    
83		$profile_list = $profile->getAllProductProfileByShop();
                    
84		//echo '<pre>';print_r($profile_list);die;
                    
85		array_unshift($profile_list, array('plist_key' => 'default', 'name' => $this->l('Use Default')));
                    
                
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/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{
                    
                
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();
                    
                
CMB2_Field_Display.php https://gitlab.com/ebrjose/comcebu | PHP | 505 lines
                    
1<?php
                    
2/**
                    
171	protected function _display() {
                    
172		print_r( $this->value );
                    
173	}
                    
287	protected function _display() {
                    
288		echo '<xmp class="cmb2-code">' . print_r( $this->value, true ) . '</xmp>';
                    
289	}
                    
                
content_old.php https://gitlab.com/wildanoo/E-procurement | PHP | 342 lines
                    
1<?php defined('BASEPATH') OR exit('No direct script access allowed');
                    
2
                    
115		$content 			   = $this->crud->browse("","content_type","","","true","id,type_name");
                    
116		//print_r($content);
                    
117		$id   				   = $this->uri->segment(3);
                    
197				$data['browse'] = $browse;
                    
198				//print_r($data['browse']);
                    
199				$data['view']	= "subcontent/browse";
                    
287				$msg  = !$is_exist ? $msg1 : $msg2;
                    
288				//print_r($data);exit;
                    
289		
                    
327			 $this->crud->update("","subcontent_type","id",$id,$update);
                    
328			//print_r($update);
                    
329			
                    
                
axis214ipptz_extra.php https://gitlab.com/talueses/SIPVE | PHP | 287 lines
                    
1<?php 
                    
2/*******************************************************************************\
                    
37?>
                    
38<?php
                    
39
                    
39
                    
40session_start(); // start up your PHP session!
                    
41
                    
44
                    
45require_once "../controller/monitorremoto.control.php"; // Class CONTROLLER
                    
46
                    
48
                    
49//echo "<div align='left'><pre>".print_r($_REQUEST,true)."</pre></div>";
                    
50
                    
84            $(function() {
                    
85                var maxFocus = parseInt(<?php echo $obj->maxFocus;?>);
                    
86                var minFocus = parseInt(<?php echo $obj->minFocus;?>);
                    
                
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");
                    
                
globalpay_remote.php https://gitlab.com/dadangnh/sb1-bon | PHP | 348 lines
                    
1<?php
                    
2class ControllerExtensionPaymentGlobalpayRemote extends Controller {
                    
113
                    
114				$this->model_extension_payment_globalpay_remote->logger('Verify 3DS result:\r\n' . print_r($verify_3ds, 1));
                    
115
                    
221
                    
222		$this->model_extension_payment_globalpay_remote->logger('Capture result:\r\n' . print_r($capture_result, 1));
                    
223
                    
244
                    
245			$this->model_extension_payment_globalpay_remote->logger('Signature result:\r\n' . print_r($signature_result, 1));
                    
246
                    
334
                    
335			$this->model_extension_payment_globalpay_remote->logger('Capture result:\r\n' . print_r($capture_result, 1));
                    
336
                    
                
TransactionalSMSApi.md https://gitlab.com/i-have-a-green/digitemis-v3 | Markdown | 266 lines
                    
18### Example
                    
19```php
                    
20<?php
                    
20<?php
                    
21require_once(__DIR__ . '/vendor/autoload.php');
                    
22
                    
48    $result = $apiInstance->getSmsEvents($limit, $startDate, $endDate, $offset, $days, $phoneNumber, $event, $tags);
                    
49    print_r($result);
                    
50} catch (Exception $e) {
                    
50} catch (Exception $e) {
                    
51    echo 'Exception when calling TransactionalSMSApi->getSmsEvents: ', $e->getMessage(), PHP_EOL;
                    
52}
                    
89### Example
                    
90```php
                    
91<?php
                    
                
Collection.php https://gitlab.com/habracoder/advertising | PHP | 509 lines
                    
1<?php
                    
2
                    
487     * <code>
                    
488     * print_r($robot->toArray());
                    
489     * </code>
                    
                
BaseVarDumper.php https://gitlab.com/afzalpotenza/YII_salon | PHP | 272 lines
                    
1<?php
                    
2/**
                    
29     * Displays a variable.
                    
30     * This method achieves the similar functionality as var_dump and print_r
                    
31     * but is more robust when handling complex objects such as Yii controllers.
                    
42     * Dumps a variable in terms of a string.
                    
43     * This method achieves the similar functionality as var_dump and print_r
                    
44     * but is more robust when handling complex objects such as Yii controllers.
                    
56        if ($highlight) {
                    
57            $result = highlight_string("<?php\n" . self::$_output, true);
                    
58            self::$_output = preg_replace('/&lt;\\?php<br \\/>/', '', $result, 1);
                    
119                    self::$_output .= "$className#$id\n" . $spaces . '(';
                    
120                    if ('__PHP_Incomplete_Class' !== get_class($var) && method_exists($var, '__debugInfo')) {
                    
121                        $dumpValues = $var->__debugInfo();
                    
141     *
                    
142     * The string is a valid PHP expression that can be evaluated by PHP parser
                    
143     * and the evaluation result will give back the variable value.
                    
                
collection.php https://gitlab.com/ashish21590/rigalio.com | PHP | 246 lines
                    
7
                    
8 //print_r($mytimeline); //print_r($user_detail);
                    
9//  echo count($user_data)."ashishi";
                    
43      <img src="<?php echo base_url(); ?>content/images/icons/user.png" class="img-responsive">
                    
44      <?php } else{ ?> <span class="profile-img1" style="background: url(<?php echo base_url(); ?><?php echo $user_detail[0]['profile_picture']; ?>);"> </span>
                    
45        
                    
94                                   <a href="javascript:void(0)" class="lock">
                    
95                                   <i class="fa fa-lock" <?php if($collection_show['status']==0){?> style="display: block;" <?php } else { ?> style="display: none;"<?php } ?> ></i>
                    
96
                    
96
                    
97                                   <i class="fa fa-unlock-alt"  <?php if($collection_show['status']==0){?> style="display: none;" <?php } else { ?> style="display: block;"<?php } ?>>
                    
98                                   </i></a> 
                    
101                                   <div class="tab-cell">
                    
102                                     <span class="cat-name"><a href="<?php echo base_url(); ?>ajax/mycollection/<?php echo $userregistrationid=$this->session->userdata('registrationid'); ?>/<?php echo $collection_show['subCategoryId']; ?>"><?php echo $collection_show['subCategory_Name']; ?></a> </span>
                    
103                                     <p><?php  echo $collection_show['no'];?> products </p>
                    
                
index.php https://gitlab.com/iarafat/web-apps-php-b-26 | PHP | 234 lines
                    
1<?php
                    
2include_once "../vendor/autoload.php";
                    
12//echo "<pre>";
                    
13//print_r($showdata);
                    
14//echo "</pre>";
                    
27    <body>
                    
28    <?php include_once "include/log-navbar.php"; ?>
                    
29    <div class="container">
                    
31            <div class="col-md-12" style="margin-top: 50px">
                    
32                <h4 class="text-success"><?php $obj->Validation("Login"); ?></h4>
                    
33                <?php
                    
200
                    
201                                <td><a href="profile2.php?id=<?php echo $onedata['users_id'] ?>">View</a></td>
                    
202                                <td><a href="profile.php?id=<?php echo $onedata['users_id'] ?>">Edit</a></td>
                    
203                                <td><?php if ($onedata['is_admin'] == 0) { ?>
                    
204                                        <a href="trash.php?id=<?php echo $onedata['users_id'] ?>">Delete</a>
                    
205                                    <?php } ?>
                    
                
BaseVarDumper.php https://gitlab.com/makkooz/nikestreetbeat | PHP | 271 lines
                    
1<?php
                    
2/**
                    
28     * Displays a variable.
                    
29     * This method achieves the similar functionality as var_dump and print_r
                    
30     * but is more robust when handling complex objects such as Yii controllers.
                    
41     * Dumps a variable in terms of a string.
                    
42     * This method achieves the similar functionality as var_dump and print_r
                    
43     * but is more robust when handling complex objects such as Yii controllers.
                    
55        if ($highlight) {
                    
56            $result = highlight_string("<?php\n" . self::$_output, true);
                    
57            self::$_output = preg_replace('/&lt;\\?php<br \\/>/', '', $result, 1);
                    
140     *
                    
141     * The string is a valid PHP expression that can be evaluated by PHP parser
                    
142     * and the evaluation result will give back the variable value.
                    
146     *
                    
147     * It also handles objects by using the PHP functions serialize() and unserialize().
                    
148     *
                    
                
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]',
                    
                
QuoteController.php https://bitbucket.org/acidel/buykoala.git | PHP | 240 lines
                    
1<?php
                    
2
                    
10 * It is also available through the world-wide-web at this URL:
                    
11 * http://opensource.org/licenses/osl-3.0.php
                    
12 * If you did not receive a copy of the license and are unable to
                    
24 * @copyright  Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
                    
25 * @license    http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
                    
26 */
                    
27
                    
28include_once('app'.DS.'code'.DS.'community'.DS.'TBT'.DS.'Rewards'.DS.'controllers'.DS.'Admin'.DS.'AbstractController.php');
                    
29class TBT_Rewards_Manage_Promo_QuoteController extends TBT_Rewards_Admin_AbstractController {
                    
72			if (! $model->getRuleId ()) {
                    
73				//print_r($model->getData());
                    
74				Mage::getSingleton ( 'adminhtml/session' )->addError ( Mage::helper ( 'rewards' )->__ ( 'This rule no longer exists' ) );
                    
                
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 (
                    
                
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));
                    
164
                    
                
Activemq.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>';
                    
                
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;
                    
                
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;           
                    
                
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 );
                    
                
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 );
                    
213
                    
                
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();
                    
                
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>';
                    
363
                    
                
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}
                    
                
shopping_cart_page.php https://gitlab.com/endomorphosis/reservationtelco | PHP | 356 lines
                    
25		<tr class="product_row">
                    
26			<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>
                    
27			<td class="firstcol">
                    
124							<?php if(wpsc_have_morethanone_shipping_methods_and_quotes()): ?>
                    
125								<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' />
                    
126							<?php else: ?>
                    
126							<?php else: ?>
                    
127								<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' />
                    
128									<?php wpsc_update_shipping_single_method(); ?>
                    
295							<?php if(wpsc_gateway_internal_name() == 'noca'){ ?>
                    
296								<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>
                    
297							<?php }else{ ?>
                    
297							<?php }else{ ?>
                    
298								<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>
                    
299							<?php } ?>
                    
                
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&aacute;mara <?php echo $eventos[0]->camara;?>." onclick="alert('Existe una guardia activa para la c&aacute;mara <?php echo $eventos[0]->camara;?>')" style="cursor: help;"/>
                    
211                                </div>
                    
271    </html>
                    
272    <?php
                    
273}
                    
                
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> &#8211; 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);
                    
                
_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.
                    
                
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);
                    
                
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);
                    
                
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>&nbsp;<?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>&nbsp;<?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>&nbsp;<?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));
                    
175
                    
                
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;
                    
                
dl_print.php https://gitlab.com/mucill/majalengka | PHP | 312 lines
                    
26// main system configuration
                    
27require '../../../sysconfig.inc.php';
                    
28// IP based access limitation
                    
35require SIMBIO.'simbio_GUI/form_maker/simbio_form_table_AJAX.inc.php';
                    
36require SIMBIO.'simbio_GUI/paging/simbio_paging.inc.php';
                    
37require SIMBIO.'simbio_DB/datagrid/simbio_dbgrid.inc.php';
                    
222    <div class="btn-group">
                    
223      <a target="blindSubmit" href="<?php echo MWB; ?>bibliography/dl_print.php?action=clear" class="notAJAX btn btn-default"><i class="glyphicon glyphicon-trash"></i>&nbsp;<?php echo __('Clear Print Queue'); ?></a>
                    
224      <a target="blindSubmit" href="<?php echo MWB; ?>bibliography/dl_print.php?action=print" class="notAJAX btn btn-default"><i class="glyphicon glyphicon-print"></i>&nbsp;<?php echo __('Print Labels for Selected Data'); ?></a>
                    
224      <a target="blindSubmit" href="<?php echo MWB; ?>bibliography/dl_print.php?action=print" class="notAJAX btn btn-default"><i class="glyphicon glyphicon-print"></i>&nbsp;<?php echo __('Print Labels for Selected Data'); ?></a>
                    
225	    <a href="<?php echo MWB; ?>bibliography/pop_print_settings.php?type=label" class="notAJAX btn btn-default openPopUp" title="<?php echo __('Change print barcode settings'); ?>"><i class="glyphicon glyphicon-wrench"></i></a>
                    
226	</div>
                    
226	</div>
                    
227    <form name="search" action="<?php echo MWB; ?>bibliography/dl_print.php" id="search" method="get" style="display: inline;"><?php echo __('Search'); ?> :
                    
228    <input type="text" name="keywords" size="30" />
                    
                
_html_1_stash.php https://gitlab.com/mattswann/launch-housing | PHP | 308 lines
                    
1<!-- _html_1_stash.php -->
                    
2<?php
                    
3global $wp_version;
                    
35	echo 'BODY:<pre>';
                    
36	print_r( $body );
                    
37	echo '</pre>';
                    
48	echo 'RESPONSE:<pre>';
                    
49	print_r( $response->body );
                    
50	echo '</pre>';
                    
64			if ( isset( $response_decoded['error']['message'] ) ) {
                    
65				$error = 'Error #39752893. Server reported an error performing action `' . $action . '` with additional params: `' . print_r( $additionalParams, true ) . '`. Details: `' . print_r( $response_decoded['error'], true ) . '`.';
                    
66				pb_backupbuddy::status( 'warning', $error );
                    
96</style>
                    
97<?php
                    
98$ITXAPI_KEY = 'ixho7dk0p244n0ob';
                    
                
class-cbxdynamicsidebar-admin.php https://gitlab.com/vanafroo/landingpage | PHP | 406 lines
                    
303					<td>
                    
304						<textarea id="cbxdynamicsidebarmetabox_fields_description" class="regular-text" name="cbxdynamicsidebarmetabox[description]" placeholder="<?php echo $description; ?>"><?php echo htmlentities($description); ?></textarea>
                    
305
                    
316					<td>
                    
317						<input id="cbxdynamicsidebarmetabox_fields_before_widget" class="regular-text" type="text"  name="cbxdynamicsidebarmetabox[before_widget]" placeholder="<?php echo htmlentities($before_widget); ?>" value="<?php echo htmlentities($before_widget); ?>" />
                    
318					</td>
                    
322					<td>
                    
323						<input id="cbxdynamicsidebarmetabox_fields_after_widget" class="regular-text" type="text"  name="cbxdynamicsidebarmetabox[after_widget]" placeholder="<?php echo htmlentities($after_widget); ?>" value="<?php echo htmlentities($after_widget); ?>" />
                    
324					</td>
                    
328					<td>
                    
329						<input id="cbxdynamicsidebarmetabox_fields_before_title" class="regular-text" type="text"  name="cbxdynamicsidebarmetabox[before_title]" placeholder="<?php echo htmlentities($before_title); ?>" value="<?php echo htmlentities($before_title); ?>" />
                    
330					</td>
                    
334					<td>
                    
335						<input id="cbxdynamicsidebarmetabox_fields_after_title" class="regular-text" type="text"  name="cbxdynamicsidebarmetabox[after_title]" placeholder="<?php echo htmlentities($after_title); ?>" value="<?php echo htmlentities($after_title); ?>" />
                    
336					</td>
                    
                
dumper.php https://bitbucket.org/phindmarsh/wave.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();
                    
                
layout.tpl https://gitlab.com/12chakram/Bigkart | Smarty Template | 279 lines
                    
65					<?php for( $i=1; $i<=6; $i++ )  {?>
                    
66						<option value="<?php echo $i;?>" <?php if( $i==$module['block_showcase']) { ?> selected="selected" <?php }?>><?php echo $i; ?></option>
                    
67					<?php } ?>
                    
89					<?php for( $i=1; $i<=6; $i++ )  {?>
                    
90						<option value="<?php echo $i;?>" <?php if( $i==$module['block_promotion']) { ?> selected="selected" <?php }?>><?php echo $i; ?></option>
                    
91					<?php } ?>
                    
186						<?php for( $i=1; $i<=6; $i++ )  {?>
                    
187							<option value="<?php echo $i;?>" <?php if( $i==$module['block_footer_top']) { ?> selected="selected" <?php }?>><?php echo $i; ?></option>
                    
188						<?php } ?>
                    
211						<?php for( $i=1; $i<=6; $i++ )  {?>
                    
212							<option value="<?php echo $i;?>" <?php if( $i==$module['block_footer_center']) { ?> selected="selected" <?php }?>><?php echo $i; ?></option>
                    
213						<?php } ?>
                    
237						<?php for( $i=1; $i<=6; $i++ )  {?>
                    
238							<option value="<?php echo $i;?>" <?php if( $i==$module['block_footer_bottom']) { ?> selected="selected" <?php }?>><?php echo $i; ?></option>
                    
239						<?php } ?>
                    
                
SliderController.php https://gitlab.com/kryber/wizionary | PHP | 259 lines
                    
1<?php
                    
2
                    
63    $layers = (isset($sliderlayers->layers) && $sliderlayers->layers) ? ($sliderlayers->layers) : 'null';
                    
64    //print"<pre>";print_r($layers); die();
                    
65    $settings = (isset($sliderlayers->settings) && $sliderlayers->settings) ? ($sliderlayers->settings):'null';
                    
148    ob_start();
                    
149    include GAV_SLIDERLAYER_PATH . '/templates/backend/slider.php';
                    
150    $content = ob_get_clean();
                    
                
comment.php https://gitlab.com/billyprice1/source | PHP | 289 lines
                    
1<?php
                    
2
                    
2
                    
3require "common.php";
                    
4
                    
6 // Based on
                    
7 // http://ankwebprogramming.wordpress.com/2011/10/08/translating-text-using-the-google-translate-api-and-php-json-and-curl/
                    
8 //  Kartik Rangholiya
                    
245  
                    
246#  print_r($_SERVER);
                    
247  
                    
260<body>
                    
261<?php
                    
262
                    
                
tab_class.php https://gitlab.com/mohsentm/downloadchibashi | PHP | 346 lines
                    
1<?php
                    
2
                    
3if ( ! class_exists( 'WP_List_Table' ) ) {
                    
4	require_once( ABSPATH . 'wp-admin/includes/class-wp-list-table.php' );
                    
5}
                    
140			default:
                    
141				return print_r( $item, true ); //Show the whole array for troubleshooting purposes
                    
142		}
                    
149			default:
                    
150				return print_r( $item, true ); //Show the whole array for troubleshooting purposes
                    
151		}
                    
                
realex_remote.php https://gitlab.com/shapcy/opencart | PHP | 348 lines
                    
1<?php
                    
2class ControllerPaymentRealexRemote extends Controller {
                    
113
                    
114				$this->model_payment_realex_remote->logger('Verify 3DS result:\r\n' . print_r($verify_3ds, 1));
                    
115
                    
221
                    
222		$this->model_payment_realex_remote->logger('Capture result:\r\n' . print_r($capture_result, 1));
                    
223
                    
244
                    
245			$this->model_payment_realex_remote->logger('Signature result:\r\n' . print_r($signature_result, 1));
                    
246
                    
334
                    
335			$this->model_payment_realex_remote->logger('Capture result:\r\n' . print_r($capture_result, 1));
                    
336
                    
                
editorial_subcat.php https://gitlab.com/akanshagupta/jigglylanding | PHP | 163 lines
                    
50                                    <div class="editorial-icon"> <img src="<?php echo base_url(); ?>content/images/icons/editorial-icon-block.png" class="img-responsive"> </div>
                    
51                                    <div class="hover-content-cat" data-url="<?php echo base_url(); ?>editorial/artical/<?php echo $editorial_cat_val['editorial_id']; ?>">
                    
52                                        <div class="tab">
                    
62                                    <a href="<?php echo base_url(); ?>/editorial/artical/<?php echo $editorial_cat_val['cproduct_id']; ?>">
                    
63                                        <h3><a href="<?php echo base_url(); ?>editorial/artical/<?php echo $editorial_cat_val['editorial_id']; ?>"> <?php echo $editorial_cat_val['cproduct_Title']; ?></h3></a>
                    
64                                    <h2><?php echo $editorial_cat_val['cproductSmallDiscription']; ?></h2>
                    
66                                <div class="cur-infor">
                    
67                                    <a href="<?php echo  base_url(); ?>editorial/curator/<?php echo $editorial_cat_val['curator_id']; ?>"><span class="pf-img" style="background:url(<?php echo base_url(); ?><?php echo $editorial_cat_val['curator_picture']; ?>);"> </span>
                    
68                                        <span class="cur-name"><?php echo $editorial_cat_val['curator_name']; ?></span></a> <a target="_blank" href="#"><span class="read-more">Read More </span></a>
                    
94                                                            {?> 
                    
95                     <td class="crown-sectn11 cproduct-crown active" id="<?php echo $editorial_cat_val['cproduct_id']; ?>"> <span id="cproductcrowncount"><?php foreach ($this->getdata->cproduct_count_crown($editorial_cat_val['cproduct_id']) as $count_no) {
                    
96                                echo $count_no['no'];
                    
100                                                           
                    
101                                                             <td class="crown-sectn11 cproduct-crown" id="<?php echo $editorial_cat_val['cproduct_id']; ?>"> <span id="cproductcrowncount"><?php foreach ($this->getdata->cproduct_count_crown($editorial_cat_val['cproduct_id']) as $count_no) {
                    
102                                echo $count_no['no'];
                    
                
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 ) {
                    
                
readme.md https://gitlab.com/plusplusminus/htwe | Markdown | 254 lines
                    
13
                    
14The following filter will display the image associated with the term asked for in the query string of the URL. This filter only works in views that naturally use templates like category.php, tag.php, taxonomy.php and all of their derivatives. Please read about [template hierarchy](http://codex.wordpress.org/Template_Hierarchy) for more information about these templates. The simplest use of this filter looks like:
                    
15
                    
51
                    
52```php
                    
53$image_id = apply_filters( 'taxonomy-images-queried-term-image-id', 0 );
                    
57
                    
58```php
                    
59$image = apply_filters( 'taxonomy-images-queried-term-image-object', '' );
                    
69
                    
70```php
                    
71$image_url = apply_filters( 'taxonomy-images-queried-term-image-url', '', array(
                    
137
                    
138Here is what php's `print_r()` function may return:
                    
139
                    
                
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");
                    
                
class.pop3.php https://gitlab.com/vince.omega/ajax-form | PHP | 397 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * PHPMailer POP-Before-SMTP Authentication Class.
                    
4 * PHP Version 5
                    
5 * @package PHPMailer
                    
6 * @link https://github.com/PHPMailer/PHPMailer/
                    
7 * @author Marcus Bointon (Synchro/coolbru) <phpmailer@synchromedia.co.uk>
                    
20/**
                    
21 * PHPMailer POP-Before-SMTP Authentication Class.
                    
22 * Specifically for PHPMailer to use for RFC1939 POP-before-SMTP authentication.
                    
23 * Does not support APOP.
                    
24 * @package PHPMailer
                    
25 * @author Richard Davey (original author) <rich@corephp.co.uk>
                    
25 * @author Richard Davey (original author) <rich@corephp.co.uk>
                    
26 * @author Marcus Bointon (Synchro/coolbru) <phpmailer@synchromedia.co.uk>
                    
27 * @author Jim Jagielski (jimjag) <jimjag@gmail.com>
                    
                
GroupTest.php https://gitlab.com/rsilveira1987/Expresso | PHP | 320 lines
                    
1<?php
                    
2/**
                    
46        $group = Tinebase_Group::getInstance()->addGroup(new Tinebase_Model_Group(array(
                    
47            'name'          => 'tine20phpunit' . Tinebase_Record_Abstract::generateUID(),
                    
48            'description'   => 'Group from test testAddGroup'
                    
70    /**
                    
71     * try to get the group with the name tine20phpunit
                    
72     *
                    
195        Tinebase_Model_Group::convertGroupIdToInt(new Tinebase_Model_Group(array(
                    
196            'name'          => 'tine20phpunit noid',
                    
197            'description'   => 'noid group'
                    
276        $group = Tinebase_Group::getInstance()->getGroupById($testGroup);
                    
277        $this->assertTrue(! empty($group->list_id), 'list id empty: ' . print_r($group->toArray(), TRUE));
                    
278        
                    
281        $this->assertEquals($group->name, $list->name);
                    
282        $this->assertTrue(! empty($list->members), 'list members empty: ' . print_r($list->toArray(), TRUE) 
                    
283            . ' should contain: ' . print_r($testUser->toArray(), TRUE));
                    
                
themes.php https://gitlab.com/WPonEB/WPonEB | PHP | 323 lines
                    
115
                    
116			$parent_file = 'themes.php';
                    
117
                    
125					<h1><?php _e( 'Delete Theme' ); ?></h1>
                    
126					<div class="error"><p><strong><?php _e( 'Caution:' ); ?></strong> <?php _e( 'This theme may be active on other sites in the network.' ); ?></p></div>
                    
127					<p><?php _e( 'You are about to remove the following theme:' ); ?></p>
                    
129					<h1><?php _e( 'Delete Themes' ); ?></h1>
                    
130					<div class="error"><p><strong><?php _e( 'Caution:' ); ?></strong> <?php _e( 'These themes may be active on other sites in the network.' ); ?></p></div>
                    
131					<p><?php _e( 'You are about to remove the following themes:' ); ?></p>
                    
149				<?php endif; ?>
                    
150				<form method="post" action="<?php echo esc_url($_SERVER['REQUEST_URI']); ?>" style="display:inline;">
                    
151					<input type="hidden" name="verify-delete" value="1" />
                    
252<?php if ( current_user_can( 'install_themes' ) ) : ?>
                    
253	<a href="theme-install.php" class="page-title-action"><?php echo esc_html_x( 'Add New', 'theme' ); ?></a>
                    
254<?php endif; ?>
                    
                
footer.inc.php https://gitlab.com/albert925/lading-ach | PHP | 222 lines
                    
1<?php
                    
2/* vim: set expandtab sw=4 ts=4 sts=4: */
                    
5 *
                    
6 * updates javascript variables in index.php for correct working with querywindow
                    
7 * and navigation frame refreshing
                    
44 * @version $Id$
                    
45 * @package phpMyAdmin
                    
46 */
                    
46 */
                    
47if (! defined('PHPMYADMIN')) {
                    
48    exit;
                    
53 */
                    
54require_once './libraries/relation.lib.php';
                    
55
                    
90    echo '<pre>';
                    
91    print_r($_SESSION['debug']);
                    
92    echo '</pre>';
                    
                
homepage_products_functions.php https://gitlab.com/endomorphosis/reservationtelco | PHP | 244 lines
                    
1<?php
                    
2function nszhpcrt_homepage_products($content = '') {
                    
75
                    
76	//echo("<pre>".print_r($categories,true)."</pre>");
                    
77	$siteurl = get_option('siteurl');
                    
                
Examples.php https://gitlab.com/CurC/ProjectW | PHP | 421 lines
                    
1<?php
                    
2defined('BASEPATH') or exit('No direct script access allowed');
                    
51     * Remember to add "examples/optional_login_test" to the
                    
52     * allowed_pages_for_login array in config/authentication.php.
                    
53     *
                    
113
                    
114                print_r( $http_user_cookie_contents );
                    
115
                    
419
                    
420/* End of file Examples.php */
                    
421/* Location: /application/controllers/Examples.php */
                    
                
EmailUser.php https://gitlab.com/rsilveira1987/Expresso | PHP | 162 lines
                    
1<?php
                    
2/**
                    
139                $e = new Tinebase_Exception_Record_Validation($message);
                    
140                Tinebase_Core::getLogger()->err(__METHOD__ . '::' . __LINE__ . ":\n" . print_r($errors, true). $e);
                    
141                throw $e;
                    
                
Usersetting.php https://gitlab.com/akanshagupta/jigglylanding | PHP | 389 lines
                    
42                 //  $data['getbrand'] = $this->settingmodel->getbrand($userregistrationid);
                    
43				   //print_r($data['getfollower']);  exit;
                    
44				   //print_r($getuserpostimage['is_active']); exit;
                    
126			$checkemail1=$this->settingmodel->checkemailidreg($addemail, $userregistrationid);
                    
127			//print_r($checkemail); print_r($checkemail1); exit;
                    
128			if(count($checkemail)==0 && count($checkemail1)==0){
                    
131			//print_r($addemailajax);
                    
132			$this->load->view('pages/addemail.php',$data);
                    
133				//echo "0";
                    
182		 $wantstomakeph = $this->settingmodel->wantstomakeph($id);
                    
183		 $wantstomakephpk = $wantstomakeph[0]['phoneno']; 
                    
184		 //echo $wantstomakephpk; exit;
                    
303		$updatebrand = $this->settingmodel->updatetimeline($userregistrationid, $seebrand);
                    
304		//print_r($keepyou); exit;
                    
305		//}
                    
                
helper.php https://gitlab.com/phamngsinh/baitaplon_sinhvien | PHP | 909 lines
                    
1<?php
                    
2
                    
52
                    
53require_once (JPATH_SITE . DS . 'components' . DS . 'com_content' . DS . 'helpers' . DS . 'route.php');
                    
54
                    
96			$resultOthers = $db->loadObjectList();
                    
97			//echo $qry;echo "<pre>";print_r($listOthers);exit("123");
                    
98			return $resultOthers;
                    
512
                    
513						script.setAttribute('href', '<?php
                    
514
                    
540
                    
541<?php
                    
542
                    
                
php.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 129 lines
                    
23    atoms: keywords("true false null TRUE FALSE NULL __CLASS__ __DIR__ __FILE__ __LINE__ __METHOD__ __FUNCTION__ __NAMESPACE__"),
                    
24    builtin: keywords("func_num_args func_get_arg func_get_args strlen strcmp strncmp strcasecmp strncasecmp each error_reporting define defined trigger_error user_error set_error_handler restore_error_handler get_declared_classes get_loaded_extensions extension_loaded get_extension_funcs debug_backtrace constant bin2hex sleep usleep time mktime gmmktime strftime gmstrftime strtotime date gmdate getdate localtime checkdate flush wordwrap htmlspecialchars htmlentities html_entity_decode md5 md5_file crc32 getimagesize image_type_to_mime_type phpinfo phpversion phpcredits strnatcmp strnatcasecmp substr_count strspn strcspn strtok strtoupper strtolower strpos strrpos strrev hebrev hebrevc nl2br basename dirname pathinfo stripslashes stripcslashes strstr stristr strrchr str_shuffle str_word_count strcoll substr substr_replace quotemeta ucfirst ucwords strtr addslashes addcslashes rtrim str_replace str_repeat count_chars chunk_split trim ltrim strip_tags similar_text explode implode setlocale localeconv parse_str str_pad chop strchr sprintf printf vprintf vsprintf sscanf fscanf parse_url urlencode urldecode rawurlencode rawurldecode readlink linkinfo link unlink exec system escapeshellcmd escapeshellarg passthru shell_exec proc_open proc_close rand srand getrandmax mt_rand mt_srand mt_getrandmax base64_decode base64_encode abs ceil floor round is_finite is_nan is_infinite bindec hexdec octdec decbin decoct dechex base_convert number_format fmod ip2long long2ip getenv putenv getopt microtime gettimeofday getrusage uniqid quoted_printable_decode set_time_limit get_cfg_var magic_quotes_runtime set_magic_quotes_runtime get_magic_quotes_gpc get_magic_quotes_runtime import_request_variables error_log serialize unserialize memory_get_usage var_dump var_export debug_zval_dump print_r highlight_file show_source highlight_string ini_get ini_get_all ini_set ini_alter ini_restore get_include_path set_include_path restore_include_path setcookie header headers_sent connection_aborted connection_status ignore_user_abort parse_ini_file is_uploaded_file move_uploaded_file intval floatval doubleval strval gettype settype is_null is_resource is_bool is_long is_float is_int is_integer is_double is_real is_numeric is_string is_array is_object is_scalar ereg ereg_replace eregi eregi_replace split spliti join sql_regcase dl pclose popen readfile rewind rmdir umask fclose feof fgetc fgets fgetss fread fopen fpassthru ftruncate fstat fseek ftell fflush fwrite fputs mkdir rename copy tempnam tmpfile file file_get_contents stream_select stream_context_create stream_context_set_params stream_context_set_option stream_context_get_options stream_filter_prepend stream_filter_append fgetcsv flock get_meta_tags stream_set_write_buffer set_file_buffer set_socket_blocking stream_set_blocking socket_set_blocking stream_get_meta_data stream_register_wrapper stream_wrapper_register stream_set_timeout socket_set_timeout socket_get_status realpath fnmatch fsockopen pfsockopen pack unpack get_browser crypt opendir closedir chdir getcwd rewinddir readdir dir glob fileatime filectime filegroup fileinode filemtime fileowner fileperms filesize filetype file_exists is_writable is_writeable is_readable is_executable is_file is_dir is_link stat lstat chown touch clearstatcache mail ob_start ob_flush ob_clean ob_end_flush ob_end_clean ob_get_flush ob_get_clean ob_get_length ob_get_level ob_get_status ob_get_contents ob_implicit_flush ob_list_handlers ksort krsort natsort natcasesort asort arsort sort rsort usort uasort uksort shuffle array_walk count end prev next reset current key min max in_array array_search extract compact array_fill range array_multisort array_push array_pop array_shift array_unshift array_splice array_slice array_merge array_merge_recursive array_keys array_values array_count_values array_reverse array_reduce array_pad array_flip array_change_key_case array_rand array_unique array_intersect array_intersect_assoc array_diff array_diff_assoc array_sum array_filter array_map array_chunk array_key_exists pos sizeof key_exists assert assert_options version_compare ftok str_rot13 aggregate session_name session_module_name session_save_path session_id session_regenerate_id session_decode session_register session_unregister session_is_registered session_encode session_start session_destroy session_unset session_set_save_handler session_cache_limiter session_cache_expire session_set_cookie_params session_get_cookie_params session_write_close preg_match preg_match_all preg_replace preg_replace_callback preg_split preg_quote preg_grep overload ctype_alnum ctype_alpha ctype_cntrl ctype_digit ctype_lower ctype_graph ctype_print ctype_punct ctype_space ctype_upper ctype_xdigit virtual apache_request_headers apache_note apache_lookup_uri apache_child_terminate apache_setenv apache_response_headers apache_get_version getallheaders mysql_connect mysql_pconnect mysql_close mysql_select_db mysql_create_db mysql_drop_db mysql_query mysql_unbuffered_query mysql_db_query mysql_list_dbs mysql_list_tables mysql_list_fields mysql_list_processes mysql_error mysql_errno mysql_affected_rows mysql_insert_id mysql_result mysql_num_rows mysql_num_fields mysql_fetch_row mysql_fetch_array mysql_fetch_assoc mysql_fetch_object mysql_data_seek mysql_fetch_lengths mysql_fetch_field mysql_field_seek mysql_free_result mysql_field_name mysql_field_table mysql_field_len mysql_field_type mysql_field_flags mysql_escape_string mysql_real_escape_string mysql_stat mysql_thread_id mysql_client_encoding mysql_get_client_info mysql_get_host_info mysql_get_proto_info mysql_get_server_info mysql_info mysql mysql_fieldname mysql_fieldtable mysql_fieldlen mysql_fieldtype mysql_fieldflags mysql_selectdb mysql_createdb mysql_dropdb mysql_freeresult mysql_numfields mysql_numrows mysql_listdbs mysql_listtables mysql_listfields mysql_db_name mysql_dbname mysql_tablename mysql_table_name pg_connect pg_pconnect pg_close pg_connection_status pg_connection_busy pg_connection_reset pg_host pg_dbname pg_port pg_tty pg_options pg_ping pg_query pg_send_query pg_cancel_query pg_fetch_result pg_fetch_row pg_fetch_assoc pg_fetch_array pg_fetch_object pg_fetch_all pg_affected_rows pg_get_result pg_result_seek pg_result_status pg_free_result pg_last_oid pg_num_rows pg_num_fields pg_field_name pg_field_num pg_field_size pg_field_type pg_field_prtlen pg_field_is_null pg_get_notify pg_get_pid pg_result_error pg_last_error pg_last_notice pg_put_line pg_end_copy pg_copy_to pg_copy_from pg_trace pg_untrace pg_lo_create pg_lo_unlink pg_lo_open pg_lo_close pg_lo_read pg_lo_write pg_lo_read_all pg_lo_import pg_lo_export pg_lo_seek pg_lo_tell pg_escape_string pg_escape_bytea pg_unescape_bytea pg_client_encoding pg_set_client_encoding pg_meta_data pg_convert pg_insert pg_update pg_delete pg_select pg_exec pg_getlastoid pg_cmdtuples pg_errormessage pg_numrows pg_numfields pg_fieldname pg_fieldsize pg_fieldtype pg_fieldnum pg_fieldprtlen pg_fieldisnull pg_freeresult pg_result pg_loreadall pg_locreate pg_lounlink pg_loopen pg_loclose pg_loread pg_lowrite pg_loimport pg_loexport echo print global static exit array empty eval isset unset die include require include_once require_once"),
                    
25    multiLineStrings: true,
                    
54    var htmlMode = CodeMirror.getMode(config, "text/html");
                    
55    var phpMode = CodeMirror.getMode(config, phpConfig);
                    
56
                    
82        return style;
                    
83      } else if (isPHP && state.php.tokenize == null && stream.match("?>")) {
                    
84        state.curMode = htmlMode;
                    
103        var html = state.html, htmlNew = CodeMirror.copyState(htmlMode, html),
                    
104            php = state.php, phpNew = CodeMirror.copyState(phpMode, php), cur;
                    
105        if (state.curMode == htmlMode) cur = htmlNew;
                    
127  CodeMirror.defineMIME("application/x-httpd-php-open", {name: "php", startOpen: true});
                    
128  CodeMirror.defineMIME("text/x-php", phpConfig);
                    
129})();
                    
                
SystemStateEdit.php https://gitlab.com/Drulenium-bot/devel | PHP | 189 lines
                    
1<?php
                    
2
                    
73      '#title' => $this->t('Current value for %name', array('%name' => $state_name)),
                    
74      '#markup' => kprint_r($old_value, TRUE),
                    
75    );
                    
                
bankart_slovenia.php https://gitlab.com/jo0054/bankart-opencart | PHP | 298 lines
                    
1<?php
                    
2require_once DIR_APPLICATION . 'controller/payment/bankart_slovenia.e24PaymentPipe.php';
                    
48        $paymentPipe->setLanguage($this->config->get('bankart_slovenia_language'));
                    
49        $paymentPipe->setResponseURL(HTTPS_SERVER . 'bankart_callback.php');
                    
50        $paymentPipe->setErrorURL(HTTPS_SERVER . 'bankart_error.php');
                    
71        if ($paymentPipe->performPaymentInitialization() != $paymentPipe->SUCCESS) {
                    
72            $this->log->write("Bankart Slovenia Error: " . print_r($paymentPipe->getErrorMsg(), true));
                    
73			echo "<script type='text/javascript'>alert('" . print_r($paymentPipe->getErrorMsg(), true) . "');</script>";
                    
                
Table1_list.htm https://gitlab.com/Lidbary/PHPRunner | HTML | 471 lines
                    
1<!doctype html><p align=center><font size=+1 color=red>This website was created by evaluation version of PHPRunner Trial.</font></p>
                    
2<p align=center><font size=+1 color=red>This warning message will not appear on website created by a paid-for version of PHPRunner Trial.</font></p>
                    
45		{BEGIN print_friendly_all}
                    
46		<td class="rnr-printScopeCell"><input type="radio" id="printAll{$id}" data-href="Table1_print.php?all=1&amp;{$crosstable_attrs}" name="printScope">&nbsp;<label for="printAll{$id}">Print all pages</label></td>
                    
47		{END print_friendly_all}
                    
51		<td></td>
                    
52		<td class="rnr-printScopeCell"><input type="radio" id="printPage{$id}" data-href="Table1_print.php?{$crosstable_attrs}" name="printScope" checked>&nbsp;<label for="printPage{$id}">Print this page</label></td>
                    
53	</tr>
                    
63	Records Per Page:
                    
64</label>&nbsp;<input type=number id="printPerPage{$id}" value="{$print_recspp}" class="rnr-printrecspp">&nbsp;
                    
65</div>
                    
207<div  class="style1 rnr-bl rnr-b-recordcontrols_new {$brickclass_recordcontrols_new}">		{BEGIN add_link}
                    
208		<a href="Table1_add.php{$addlink_getparams}" class="rnr-button" {$addlink_attrs}>Add new</a>
                    
209	{END add_link}
                    
264<li>
                    
265	<a href="Table1_search.php" class="rnr-button link" {$advsearchlink_attrs}>Advanced search</a>
                    
266</li>
                    
                
firstdata.php https://gitlab.com/reclamare/mao | PHP | 251 lines
                    
1<?php
                    
2class ControllerPaymentFirstdata extends Controller {
                    
101		if ($this->config->get('firstdata_debug') == 1) {
                    
102			$this->model_payment_firstdata->logger(print_r($this->request->post, 1));
                    
103		}
                    
                
service_tp50.php https://gitlab.com/goyz87/dacon-pc | PHP | 258 lines
                    
1<?Php
                    
2
                    
31		$list=getDirContents($dir,$path);
                    
32		//echo "<pre>";print_r($list);exit;
                    
33		foreach($list as $a=>$b){
                    
80		//echo $dir;exit;
                    
81		//echo "<pre>";print_r($file);exit;
                    
82		if($jml_file > 2 ){
                    
99	function getDirContents($dir,$dir_repo,&$results = array()) {
                    
100		//print_r($dir_repo);exit;
                    
101		$servername = "localhost";
                    
116		//echo $dir_ftp."<br>".$dir_rep;exit;
                    
117		//echo "<pre>";print_r($files);exit;
                    
118		foreach ($files as $key => $value) {
                    
151						//echo $tgl. ' '.$waktu.' '.$kat_id;exit;
                    
152						//print_r($ex);exit;
                    
153						
                    
                
generateController.php https://gitlab.com/efabian/maya | PHP | 381 lines
                    
20require_once __DIR__.'/../config/database.cfg.php';
                    
21require_once __DIR__.'/../config/paths.cfg.php';
                    
22$paths = new Paths();
                    
127    {
                    
128        print_r("No primary key");
                    
129        die();
                    
133    $entity="<?php \r\n$header\r\n";
                    
134    $entity.="require_once 'MayaSecurity.php';\nrequire_once 'security.cfg.php';\n";
                    
135    if (defined('GOOGLE_CLIENT_ID') || defined('FACEBOOK_CLIENT_ID'))
                    
371    {
                    
372        print_r("Writing ../usr/controller/$controller_name"."Controller.php\n");
                    
373        file_put_contents("../usr/controller/$controller_name"."Controller.php",$entity_extended);        
                    
376    file_put_contents("../usr_generated/controller/Maya$controller_name"."Controller.php",$entity);
                    
377    print_r("done! $table created at ../usr_generated/controller/Maya$controller_name"."Controller.php\n");
                    
378}
                    
                
 

Source

Language