PageRenderTime 1516ms queryTime 525ms sortTime 33ms getByIdsTime 246ms findMatchingLines 163ms

100+ results results for 'php print_r repo:udfr/uc3-udfr-ontowiki' (1516 ms)

Not the results you expected?
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);
                    
                
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);
                    
                
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
                    
                
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) {
                    
                
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()
                    
                
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();
                    
                
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							}
                    
                
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();
                    
                
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;?>);
                    
                
Collection.php https://gitlab.com/habracoder/advertising | PHP | 509 lines
                    
1<?php
                    
2
                    
487     * <code>
                    
488     * print_r($robot->toArray());
                    
489     * </code>
                    
                
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 } ?>
                    
                
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 />';
                    
                
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   +----------------------------------------------------------------------+
                    
                
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		}
                    
                
MailboxHeader.php https://gitlab.com/x33n/platform | PHP | 316 lines
                    
1<?php
                    
2
                    
77     * <code>
                    
78     * <?php
                    
79     * //Sets two mailboxes in the Header, one with a personal name
                    
101     * <code>
                    
102     * <?php
                    
103     * $header = new Swift_Mime_Headers_MailboxHeader('From',
                    
106     *  );
                    
107     * print_r($header->getNameAddressStrings());
                    
108     * // array (
                    
128     * <code>
                    
129     * <?php
                    
130     * $header = new Swift_Mime_Headers_MailboxHeader('From',
                    
133     *  );
                    
134     * print_r($header->getNameAddresses());
                    
135     * // array (
                    
                
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        //生成某一天所在月份的最后一天的日期
                    
                
BaseVarDumper.php https://gitlab.com/Sang240892/ecommerce | 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.
                    
                
Activemq.php https://gitlab.com/gregtyka/SiberianCMS | 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']."'");
                    
                
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 );
                    
                
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();
                    
                
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>
                    
                
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}
                    
                
revision.php https://gitlab.com/rio.munas/gddc | 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}
                    
                
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.
                    
                
panel.php https://gitlab.com/websumon/tosnib | 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;
                    
                
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 } ?>
                    
                
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		}
                    
                
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')));
                    
                
Exporter.php https://gitlab.com/dzakiafif/cokelatklasik | 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") {
                    
                
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
                    
                
Grid.php https://gitlab.com/svillegas/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        }
                    
                
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 */
                    
                
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})();
                    
                
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>
                    
                
form.api.php https://gitlab.com/geeta7/drupal | PHP | 325 lines
                    
1<?php
                    
2
                    
128      '%error_operation' => $error_operation[0],
                    
129      '@arguments' => print_r($error_operation[1], TRUE)
                    
130    ));
                    
                
__CatalogitemController.php https://gitlab.com/aintenebris/memoria | PHP | 388 lines
                    
1<?php
                    
2
                    
118//                echo '<pre>';
                    
119//                print_r($request->post());
                    
120//                print_r($model);
                    
175//        echo '<pre>';
                    
176//        print_r($request->post());
                    
177//        print_r($model);
                    
187//                echo '<pre>';
                    
188//                print_r($this->findModel($id)->catalog);
                    
189
                    
208            }else{
                    
209                print_r($model);
                    
210exit;
                    
348
                    
349//        print_r($items[0]->icon->icon->icon);
                    
350
                    
                
firstdata.php https://gitlab.com/firstrate/firstrate | 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
                    
                
todo.php https://gitlab.com/conquerthechaos/hs-hubot-scripts | PHP | 323 lines
                    
1<?php
                    
2
                    
83		// 	// echo "<pre>";
                    
84		// 	// 	print_r($issue);
                    
85		// 	// echo "</pre>";
                    
114			// echo "<pre>";
                    
115			// 	print_r($issue);
                    
116			// echo "</pre>";
                    
146					// echo "<pre>";
                    
147					// 	print_r($issue);
                    
148					// echo "</pre>";
                    
                
display-debug.page.php https://gitlab.com/endomorphosis/reservationtelco | PHP | 355 lines
                    
49			<li>
                    
50				<a href='?page=wpsc-debug&amp;wpsc_debug_action=phpinfo'>Display phpinfo</a>
                    
51			</li>
                    
58			<li>
                    
59				<a href='<?php echo $fixpage; ?>'>Fix Purchaselogs</a>
                    
60			</li>
                    
61		</ul>
                    
62		<?php
                    
63		if (defined('WPSC_ADD_DEBUG_PAGE') && (constant('WPSC_ADD_DEBUG_PAGE') == true)) {
                    
118			global $wp_filter, $merged_filters;
                    
119			print_r($wp_filter);
                    
120			
                    
128			
                    
129			case 'phpinfo':
                    
130			echo "</pre>";
                    
                
class_install.php https://gitlab.com/elasa/vb-elasa.ir | PHP | 270 lines
                    
1<?php
                    
2/*======================================================================*\
                    
93		// Grab the DBAlter class
                    
94		require_once(DIR . '/includes/class_dbalter.php');
                    
95		
                    
115		
                    
116		if (!file_exists(self::$installpath . '/' . $version . '.php'))
                    
117		{
                    
118			// Missing version file
                    
119			self::error($version . '.php not found in directory ' . self::$installpath);
                    
120		}
                    
125		echo '<ul>';
                    
126		require_once(self::$installpath . '/' . $version . '.php');
                    
127		echo '</ul>';
                    
132			
                    
133			require_once(DIR . '/includes/class_bitfield_builder.php');
                    
134			if (vB_Bitfield_Builder::build(false) !== false)
                    
                
Permission.php https://gitlab.com/shubam39/CakeTooDoo | PHP | 257 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
                    
4 * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
                    
10 * @copyright     Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
                    
11 * @link          http://cakephp.org CakePHP(tm) Project
                    
12 * @package       Cake.Model
                    
12 * @package       Cake.Model
                    
13 * @since         CakePHP(tm) v 0.2.9
                    
14 * @license       http://www.opensource.org/licenses/mit-license.php MIT License
                    
86					'DbAcl::check()',
                    
87					print_r($aro, true),
                    
88					print_r($aco, true)),
                    
97					'DbAcl::check()',
                    
98					print_r($aro, true),
                    
99					print_r($aco, true)),
                    
                
amazon.php https://gitlab.com/firstrate/firstrate | PHP | 504 lines
                    
1<?php
                    
2namespace openbay;
                    
139			if(!empty($quantity_data)) {
                    
140				$logger->write('Updating with: ' . print_r($quantity_data, true));
                    
141				$this->updateQuantities($quantity_data);
                    
197
                    
198		$log->write('order/bulkUpdate call: ' . print_r($request, 1));
                    
199
                    
327		if(!empty($quantity_data)) {
                    
328			$logger->write('Quantity data to be sent:' . print_r($quantity_data, true));
                    
329			$response = $this->updateQuantities($quantity_data);
                    
329			$response = $this->updateQuantities($quantity_data);
                    
330			$logger->write('Submit to API. Response: ' . print_r($response, true));
                    
331		} else {
                    
                
Adapter.php https://gitlab.com/habracoder/advertising | PHP | 461 lines
                    
1<?php
                    
2
                    
62		 *	$robot = $connection->fecthOne("SELECT * FROM robots");
                    
63		 *	print_r($robot);
                    
64		 *
                    
66		 *	$robot = $connection->fecthOne("SELECT * FROM robots", \Phalcon\Db::FETCH_ASSOC);
                    
67		 *	print_r($robot);
                    
68		 *</code>
                    
85		 *	foreach($robots as $robot){
                    
86		 *		print_r($robot);
                    
87		 *	}
                    
91		 *	foreach($robots as $robot){
                    
92		 *		print_r($robot);
                    
93		 *	}
                    
379		 *<code>
                    
380		 * 	print_r($connection->listTables("blog");
                    
381		 *</code>
                    
                
adodb-error.inc.php https://gitlab.com/mrktinh/bookonline | PHP | 265 lines
                    
1<?php
                    
2/**
                    
12 * The following code is adapted from the PEAR DB error handling code.
                    
13 * Portions (c)1997-2002 The PHP Group.
                    
14 */
                    
57	else {
                    
58		include_once(ADODB_DIR."/lang/adodb-$ADODB_LANG.inc.php");
                    
59    }
                    
87	}
                    
88	//print_r($map);
                    
89	//var_dump($errno);
                    
                
Projects.php https://gitlab.com/joshuacurci/swim-crm | PHP | 262 lines
                    
1<?php
                    
2defined('BASEPATH') OR exit('No direct script access allowed');
                    
226
                    
227    //print_r($projectID);
                    
228  }
                    
                
ModelInterface.php https://gitlab.com/szlongshu/manaphp | PHP | 266 lines
                    
1<?php
                    
2
                    
2
                    
3namespace ManaPHP\Mvc {
                    
4
                    
5    /**
                    
6     * ManaPHP\Mvc\ModelInterface initializer
                    
7     */
                    
63         *
                    
64         * @return \ManaPHP\DbInterface
                    
65         */
                    
70         *
                    
71         * @return \ManaPHP\DbInterface
                    
72         */
                    
251         * @return array
                    
252         * @throws \ManaPHP\Mvc\Model\Exception|\ManaPHP\Di\Exception
                    
253         */
                    
                
atomlib.php https://gitlab.com/VTTE/sitios-vtte | PHP | 394 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * Atom Syndication Format PHP Library
                    
4 *
                    
5 * @package AtomLib
                    
6 * @link http://code.google.com/p/phpatomlib/
                    
7 *
                    
84
                    
85    var $FILE = "php://input";
                    
86
                    
90	/**
                    
91	 * PHP5 constructor.
                    
92	 */
                    
150        if ( ! function_exists( 'xml_parser_create_ns' ) ) {
                    
151        	trigger_error( __( "PHP's XML extension is not available. Please contact your hosting provider to enable PHP's XML extension." ) );
                    
152        	return false;
                    
                
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']."'");
                    
                
init.inc.php https://gitlab.com/endomorphosis/fusenews | PHP | 196 lines
                    
6if (phpversion() < '5.1'){
                    
7	die (phpversion()." detected. php 5.1 or higher required for this version.\n\n" );
                    
8}	
                    
8}	
                    
9include_once(BASE.'functions/init/sanitize.php');
                    
10include_once(BASE.'functions/init/set_error_reporting.php');
                    
11include_once(BASE.'functions/init/configs.php');
                    
12include_once(BASE.'functions/init/cpaths.php');
                    
13include_once(BASE.'functions/init/date_range.php');
                    
51//load cal_filenames if $ALL_CALENDARS_COMBINED
                    
52if ($cal_filenames[0] == $phpiCal_config->ALL_CALENDARS_COMBINED){
                    
53	$cal_filenames = availableCalendars($username, $password, $phpiCal_config->ALL_CALENDARS_COMBINED);
                    
61	foreach ($list_webcals as $tmp_cal){
                    
62		if($cal_filename == md5($phpiCal_config->salt.$tmp_cal)) $cal_filename = $tmp_cal;
                    
63	}
                    
                
tenonTest.class.php https://gitlab.com/tenon-io/tenon-js-embed-code | PHP | 205 lines
                    
1<?php
                    
2
                    
57            echo '<h2>Curl Info </h2><pre><br>';
                    
58            print_r(curl_getinfo($ch));
                    
59            echo '</pre>';
                    
113                if (false != $handle) {
                    
114                    fwrite($handle, $this->hash . PHP_EOL);
                    
115                    fclose($handle);
                    
                
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);
                    
                
13calculation.php https://PHPExcel.svn.codeplex.com/svn | PHP | 248 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * PHPExcel
                    
4 *
                    
22 * @package    PHPExcel
                    
23 * @copyright  Copyright (c) 2006 - 2009 PHPExcel (http://www.codeplex.com/PHPExcel)
                    
24 * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt	LGPL
                    
34/** PHPExcel */
                    
35include 'PHPExcel.php';
                    
36
                    
37/** PHPExcel_Calculation */
                    
38require_once 'PHPExcel/Calculation.php';
                    
39
                    
46echo date('H:i:s') . " Create new PHPExcel object\n";
                    
47$objPHPExcel = new PHPExcel();
                    
48
                    
                
13calculation.php https://PHPExcel.svn.codeplex.com/svn | PHP | 248 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * PHPExcel
                    
4 *
                    
22 * @package    PHPExcel
                    
23 * @copyright  Copyright (c) 2006 - 2008 PHPExcel (http://www.codeplex.com/PHPExcel)
                    
24 * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt	LGPL
                    
34/** PHPExcel */
                    
35include 'PHPExcel.php';
                    
36
                    
37/** PHPExcel_Calculation */
                    
38require_once 'PHPExcel/Calculation.php';
                    
39
                    
46echo date('H:i:s') . " Create new PHPExcel object\n";
                    
47$objPHPExcel = new PHPExcel();
                    
48
                    
                
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>';
                    
                
PersonController.php https://gitlab.com/Griffolion/Final-Year-Project | PHP | 339 lines
                    
1<?php
                    
2
                    
6     * @var string the default layout for the views. Defaults to '//layouts/column2', meaning
                    
7     * using two-column layout. See 'protected/views/layouts/column2.php'.
                    
8     */
                    
98            $params = array(); 
                    
99            parse_str($_POST['Person'], $params); // Parsing JSON object back to PHP array
                    
100            $model->attributes = $params['Person']; // Massive assignment to model from JSON parsed array
                    
140            } else {
                    
141                print_r($params);
                    
142                echo "failure";
                    
                
Adapter.php https://gitlab.com/habracoder/advertising | PHP | 461 lines
                    
1<?php 
                    
2
                    
62		 *	$robot = $connection->fecthOne("SELECT * FROM robots");
                    
63		 *	print_r($robot);
                    
64		 *
                    
66		 *	$robot = $connection->fecthOne("SELECT * FROM robots", \Phalcon\Db::FETCH_ASSOC);
                    
67		 *	print_r($robot);
                    
68		 *</code>
                    
85		 *	foreach($robots as $robot){
                    
86		 *		print_r($robot);
                    
87		 *	}
                    
91		 *	foreach($robots as $robot){
                    
92		 *		print_r($robot);
                    
93		 *	}
                    
379		 *<code>
                    
380		 * 	print_r($connection->listTables("blog");
                    
381		 *</code>
                    
                
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{
                    
                
ctrl_sincronizar.control.op.php https://gitlab.com/talueses/SIPVE | PHP | 171 lines
                    
1<?php 
                    
2/*******************************************************************************\
                    
37?>
                    
38<?php
                    
39
                    
39
                    
40require_once "../../ctrlsincronizar/controller/ctrl_sincronizar.control.php";// Class CONTROL ControlCtrlSincronizar()
                    
41
                    
55        $this->setNombres();        
                    
56        //echo "<div align='left'><pre>".print_r($_REQUEST,true)."</pre></div>";
                    
57        $this->setAccion("agregar");
                    
89        if (count($data) > 0){
                    
90            //echo "<div align='left'><pre>".print_r($data,true)."</pre></div>";
                    
91            foreach ($data as $key => $row){
                    
                
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");
                    
                
Usersetting.php https://gitlab.com/ashish21590/rigalio.com | PHP | 272 lines
                    
1<?php
                    
2defined('BASEPATH') OR exit('No direct script access allowed');
                    
35				   $data['usercomment'] = $this->settingmodel->getusercomment($userregistrationid);
                    
36				   // print_r($data['usercomment']);  exit;
                    
37				   $data['userpost'] = $this->settingmodel->getuserpost($userregistrationid);
                    
41				   //print_r($data['getfollower']);  exit;
                    
42				   //print_r($getuserpostimage['is_active']); exit;
                    
43				   $data['useremail'] = $this->settingmodel->alluseremail($userregistrationid);
                    
44				   $data['userphoneno'] = $this->settingmodel->alluserphoneno($userregistrationid); 
                    
45				 // print_r($data['useremail']); exit;
                    
46                    $this->load->view('pages/head.php',$data);
                    
111			$checkemail1=$this->settingmodel->checkemailidreg($addemail, $userregistrationid);
                    
112			//print_r($checkemail); print_r($checkemail1); exit;
                    
113			if(count($checkemail)==0 && count($checkemail1)==0){
                    
165		 $wantstomakephpk = $wantstomakeph[0]['phoneno']; 
                    
166		 //echo $wantstomakephpk; exit;
                    
167		 $updatenonprimaryph = $this->settingmodel->updatenonprimaryph($id, $primaryphoneno);
                    
                
Ods.php https://gitlab.com/izabella.matos/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        
                    
                
TemplateHelper.php https://gitlab.com/lighty/whoops | PHP | 196 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * Whoops - php errors for cool kids
                    
4 * @author Filipe Dobreira <http://github.com/filp>
                    
99        }
                    
100        return print_r($value, true);
                    
101    }
                    
                
plugin-install.php https://gitlab.com/webkod3r/tripolis | PHP | 144 lines
                    
1<?php
                    
2/**
                    
14 */
                    
15require_once( dirname( __FILE__ ) . '/admin.php' );
                    
16
                    
20if ( is_multisite() && ! is_network_admin() ) {
                    
21	wp_redirect( network_admin_url( 'plugin-install.php' ) );
                    
22	exit();
                    
48$title = __( 'Add Plugins' );
                    
49$parent_file = 'plugins.php';
                    
50
                    
99 */
                    
100include(ABSPATH . 'wp-admin/admin-header.php');
                    
101?>
                    
103<h1>
                    
104	<?php
                    
105	echo esc_html( $title );
                    
                
followers.php https://gitlab.com/ashish21590/live-rigalio | PHP | 198 lines
                    
43				  ?>
                    
44                  <div class="profile-result-img"> <a href="<?php echo base_url();?><?php echo $follower[0]['username'];?>"><span class="pf-img" style="background:url(<?php echo base_url(); ?>content/images/profile/profile_pcture.jpg);"> </span><?php /*?><?php echo $follower[0]['firstname'];?> <?php echo $follower[0]['lastname'];?><?php */?></a>
                    
45                  <?php } else{ ?>
                    
45                  <?php } else{ ?>
                    
46                    <div class="profile-result-img"> <a href="<?php echo base_url();?><?php echo $follower[0]['username'];?>"><span class="pf-img" style="background:url(<?php echo base_url(); ?><?php echo $follower[0]['profile_picture'];?>);"> </span><?php /*?><?php echo $follower[0]['firstname'];?> <?php echo $follower[0]['lastname'];?><?php */?></a>
                    
47                    <?php } ?>
                    
75				  ?>
                    
76                  <div class="profile-result-img"> <a href="<?php echo base_url();?><?php echo $following[0]['username'];?>"><span class="pf-img" style="background:url(<?php echo base_url(); ?>content/images/profile/profile_pcture.jpg);"> </span><?php /*?><?php echo $following[0]['firstname'];?> <?php echo $following[0]['lastname'];?><?php */?></a>
                    
77                  <?php } else{ ?>
                    
77                  <?php } else{ ?>
                    
78                    <div class="profile-result-img"> <a href="<?php echo base_url();?><?php echo $following[0]['username'];?>"><span class="pf-img" style="background:url(<?php echo base_url(); ?><?php echo $following[0]['profile_picture'];?>);"> </span><?php /*?><?php echo $following[0]['firstname'];?> <?php echo $following[0]['lastname'];?><?php */?></a>
                    
79                    <?php } ?>
                    
109                  <?php } else{ ?>
                    
110                    <a href="<?php echo base_url();?><?php echo $notification2['username'];?>"><span class="pf-img" style="background:url(<?php echo base_url(); ?><?php echo $notification2['profile_picture']; ?>);"></span> <?php /*?></span><img src="<?php echo base_url(); ?><?php echo $notification2['profile_picture']; ?>"><?php */?> </a></span>
                    
111                    <?php } ?>
                    
                
firstdata.php https://gitlab.com/firstrate/firstrate | 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		}
                    
                
overlapping_events.php https://gitlab.com/endomorphosis/fusenews | PHP | 274 lines
                    
1<?php
                    
2// function to determine maximum necessary columns per day
                    
223//print '<pre>';
                    
224//print_r($master_array[$event_date]);
                    
225//print_r($overlap_array[$event_date]);
                    
                
pdo_driver.php https://gitlab.com/ablu/invertika-backup-web | PHP | 610 lines
                    
1<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
                    
2/**
                    
4*
                    
5* An open source application development framework for PHP 4.3.2 or newer
                    
6*
                    
65
                    
66        log_message('debug', print_r($conn_id, true));
                    
67
                    
                
timber-twig.php https://gitlab.com/aristath/timber | PHP | 374 lines
                    
1<?php
                    
2
                    
56		$twig->addFilter( new Twig_SimpleFilter( 'get_type', 'get_type' ) );
                    
57		$twig->addFilter( new Twig_SimpleFilter( 'print_r', function( $arr ) {
                    
58					return print_r( $arr, true );
                    
327		ksort( $rets );
                    
328		$str = print_r( $rets, true );
                    
329		$str = str_replace( 'Array', $class . ' Object', $str );
                    
                
class.jetpack-options.php https://gitlab.com/memuller.web/wp_site | 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
                    
                
adminPage.php http://phpfor.googlecode.com/svn/trunk/ | PHP | 356 lines
                    
1<?php
                    
2
                    
6 * @package
                    
7 * @version $Id: adminPage.php 1903 2008-04-24 07:06:22Z ever $
                    
8 * @copyright 2003-2007 ShopEx
                    
12
                    
13require('pageFactory.php');
                    
14
                    
68                //echo "<pre>";
                    
69                //error_log(print_r($this->op->system->_in,true),3,"D:/2.txt");
                    
70                $oOpt = &$this->system->loadModel('admin/operator','config');
                    
94            if($type=='noaccount'){
                    
95                echo $url = 'index.php?ctl=passport&act=loginaccount';exit;
                    
96            }else{
                    
96            }else{
                    
97                $url = 'index.php?ctl=passport&act=login';
                    
98            }            
                    
                
search.php https://gitlab.com/ashish21590/live-rigalio | PHP | 330 lines
                    
137         var total_brand_count="<?php echo $brand_count[0]['no']; ?>";
                    
138          var brand_text="<?php print_r($brand); ?>";
                    
139          var per_page=4;
                    
191      var total_prod_count="<?php echo $prod_count[0]['no']; ?>";
                    
192      var product_text="<?php print_r($product); ?>";
                    
193      var per_page=4;
                    
212          var total_prod_count="<?php echo $prod_count[0]['no']; ?>";
                    
213          var product_text="<?php print_r($product); ?>";
                    
214          var per_page=4;
                    
261      var total_people_count="<?php echo $people_count[0]['no']; ?>";
                    
262      var people_text="<?php print_r($people); ?>";
                    
263      var per_page=4;
                    
282         var total_people_count="<?php echo $people_count[0]['no']; ?>";
                    
283      var people_text="<?php print_r($people); ?>";
                    
284          var per_page=4;
                    
                
WindFtp.php https://gitlab.com/wuhang2003/phpwind | PHP | 215 lines
                    
1<?php
                    
2Wind::import('WIND:ftp.AbstractWindFtp');
                    
9 * $ftp = new WindFtp(array('server' => '192.168.1.10', 'port' => '21', ‘user' => 'test', 'pwd' => '123456'));
                    
10 * print_r($ftp->fileList());
                    
11 * </code>
                    
13 * @author xiaoxia.xu <xiaoxia.xuxx@aliyun-inc.com>
                    
14 * @copyright ©2003-2103 phpwind.com
                    
15 * @license http://www.windframework.com
                    
15 * @license http://www.windframework.com
                    
16 * @version $Id: WindFtp.php 3904 2013-01-08 07:01:26Z yishuo $
                    
17 * @package ftp
                    
80	
                    
81	/* (non-PHPdoc)
                    
82	 * @see AbstractWindFtp::rename()
                    
87	
                    
88	/* (non-PHPdoc)
                    
89	 * @see AbstractWindFtp::delete()
                    
                
vid_camara_axisguard_tour.Acc.php https://gitlab.com/talueses/SIPVE | PHP | 170 lines
                    
1<?php 
                    
2/*******************************************************************************\
                    
35?>
                    
36<?php
                    
37/**
                    
41
                    
42session_start(); // start up your PHP session!
                    
43if(!isset($_SESSION['usuario'])){
                    
43if(!isset($_SESSION['usuario'])){
                    
44	header("location: login.php",true);
                    
45	return false;
                    
49
                    
50//echo "<div align='left'><pre>".print_r($_REQUEST,true)."</pre></div>";
                    
51require_once "../controller/vid_camara_axisguard_tour.control.op.php";// Class CONTROLLER
                    
124        <iframe name="ifrm1" id="ifrm1" frameborder="0" width="0" height="0"  scrolling="no"></iframe>
                    
125        <form method="POST" name="f1" action="vid_camara_axisguard_tour.Op.php" target="ifrm1">
                    
126            <div id="contenido" align="center">            
                    
                
Oracle.php https://gitlab.com/habracoder/advertising | PHP | 257 lines
                    
1<?php
                    
2
                    
195     * <code>
                    
196     * print_r($dialect->describeColumns("posts"));
                    
197     * </code>
                    
207     * <code>
                    
208     * print_r($dialect->listTables("blog"))
                    
209     * </code>
                    
                
ViewTestBase.php https://gitlab.com/geeta7/drupal | PHP | 154 lines
                    
1<?php
                    
2
                    
127    if ($view->build_info['query'] instanceof SelectInterface) {
                    
128      $verbose_message .= '<pre>Arguments: ' . print_r($view->build_info['query']->getArguments(), TRUE) . '</pre>';
                    
129    }
                    
                
index.php https://gitlab.com/yameen15/CrudB22 | PHP | 195 lines
                    
1<?php
                    
2    //var_dump($_POST);
                    
83        <a href="trashed.php" class="btn btn-primary" role="button">View Trashed list</a>
                    
84        <a href="pdf.php" class="btn btn-primary" role="button">Download as PDF</a>
                    
85        <a href="xl.php" class="btn btn-primary" role="button">Download as XL</a>
                    
85        <a href="xl.php" class="btn btn-primary" role="button">Download as XL</a>
                    
86        <a href="mail.php" class="btn btn-primary" role="button">Email to friend</a>
                    
87        <div id="message">
                    
138                    <td><?php echo $book-> id?></td>
                    
139                    <td><?php echo $book->title?></td>
                    
140                    <td><?php echo $book->description?></td>
                    
140                    <td><?php echo $book->description?></td>
                    
141                    <td><a href="view.php?id=<?php echo $book-> id ?>" class="btn btn-primary" role="button">View</a>
                    
142                        <a href="edit.php?id=<?php echo $book-> id ?>"  class="btn btn-info" role="button">Edit</a>
                    
143                        <a href="delete.php?id=<?php echo $book->id?>" class="btn btn-danger" role="button" id="delete"  Onclick="return ConfirmDelete()">Delete</a>
                    
144                        <a href="trash.php?id=<?php echo $book->id ?>"  class="btn btn-info" role="button">Trash</a>
                    
145                    </td>
                    
                
ctrl_sincronizar.control.op.php https://gitlab.com/talueses/SIPVE | PHP | 210 lines
                    
1<?php 
                    
2/*******************************************************************************\
                    
37?>
                    
38<?php
                    
39define("CATEGORIA", "CTRLHRS"); //Categoria del modulo
                    
39define("CATEGORIA", "CTRLHRS"); //Categoria del modulo
                    
40require_once "../../ctrlsincronizar/controller/ctrl_sincronizar.control.php";// Class CONTROL ControlCtrlSincronizar()
                    
41
                    
54        $this->setNombres();        
                    
55        //echo "<div align='left'><pre>".print_r($_REQUEST,true)."</pre></div>";
                    
56        $this->setAccion("agregar");
                    
64        if (count($data) > 0){
                    
65            //echo "<div align='left'><pre>".print_r($data,true)."</pre></div>";
                    
66            foreach ($data as $key => $row){
                    
                
checkbrowser.php https://gitlab.com/kim.carter/dpr | PHP | 142 lines
                    
1<?php
                    
2function getBrowser() 
                    
92
                    
93print_r("<link rel=\"stylesheet\" href=\"style.css\" type=\"text/css\" />");
                    
94print_r("<div id=\"wrap\">");
                    
95
                    
96print_r("<b><center><h2>Browser Check</h2><p><h4>This is a browser compatability check for accessing the secure portal for the GLI Gas Transfer Project.</h4></p>");
                    
97#print_r($yourbrowser);
                    
101{
                    
102	print_r("<p>Your browser is Google Chrome, Version ".$ua['version']." on ".$ua['platform']." - everything should work okay.</p><p><img src=\"/images/thumbsup.gif\"</p>");
                    
103}
                    
107	{
                    
108		print_r("<p>Your browser is Mozilla Firefox, Version ".$ua['version']." on ".$ua['platform']." - this version is out of date, please upgrade by going to <a href=\"www.firefox.com\" target=\"_blank\">http://www.firefox.com</a>.</p></p><img src=\"/images/thumbsdown.gif\"</p>");
                    
109	}
                    
111	{
                    
112		print_r("<p>Your browser is Mozilla Firefox, Version ".$ua['version']." on ".$ua['platform']." - everything should work okay.</p><p><img src=\"/images/thumbsup.gif\"</p>");
                    
113	}
                    
                
ext_std_variable.cpp https://gitlab.com/Blueprint-Marketing/hhvm | C++ | 489 lines
                    
2   +----------------------------------------------------------------------+
                    
3   | HipHop for PHP                                                       |
                    
4   +----------------------------------------------------------------------+
                    
5   | Copyright (c) 2010-2014 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   +----------------------------------------------------------------------+
                    
                
ctrl_sincronizar.control.op.php https://gitlab.com/talueses/SIPVE | PHP | 161 lines
                    
1<?php 
                    
2/*******************************************************************************\
                    
37?>
                    
38<?php
                    
39require_once "../../ctrlsincronizar/controller/ctrl_sincronizar.control.php";// Class CONTROL ControlCtrlSincronizar()
                    
54        $this->setNombres();        
                    
55        //echo "<div align='left'><pre>".print_r($_REQUEST,true)."</pre></div>";
                    
56        $this->setAccion("agregar");
                    
64        if (count($data) > 0){
                    
65            //echo "<div align='left'><pre>".print_r($data,true)."</pre></div>";
                    
66            
                    
                
merchant.class.php https://gitlab.com/endomorphosis/reservationtelco | PHP | 290 lines
                    
1<?php
                    
2/**
                    
61	function wpsc_merchant($purchase_id = null, $is_receiving = false){
                    
62		if(version_compare(PHP_VERSION,"5.0.0","<")){
                    
63			$this->__construct($purchase_id, $is_receiving);
                    
122				$address_data_set = 'shipping';
                    
123//					exit('<pre>'.print_r($collected_form_row,true).'</pre>');
                    
124				$address_key =  array_search($collected_form_row['unique_name'], $address_keys['shipping']);
                    
137		}
                    
138//		exit('<pre>'.print_r($address_data,true).'</pre>');
                    
139		if(count($address_data['shipping']) < 1) {
                    
149			'has_discounts' => false,
                    
150			'notification_url' => add_query_arg('wpsc_action', 'gateway_notification', (get_option('siteurl')."/index.php")),
                    
151			'transaction_results_url' => get_option('transact_url'),
                    
171		$original_cart_data = $wpdb->get_results("SELECT * FROM `".WPSC_TABLE_CART_CONTENTS."` WHERE `purchaseid` = {$purchase_id}", ARRAY_A);
                    
172		//print_r($original_cart_data);
                    
173		//return;
                    
                
DbAcl.php https://gitlab.com/digaotinfo/agendaLegislativa | PHP | 293 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
                    
4 * Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org)
                    
9 * @copyright     Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org)
                    
10 * @link          http://cakephp.org CakePHP(tm) Project
                    
11 * @package       Cake.Controller.Component
                    
11 * @package       Cake.Controller.Component
                    
12 * @since         CakePHP(tm) v 0.10.0.1076
                    
13 * @license       MIT License (http://www.opensource.org/licenses/mit-license.php)
                    
78		if (empty($aroPath) || empty($acoPath)) {
                    
79			trigger_error(__d('cake_dev', "DbAcl::check() - Failed ARO/ACO node lookup in permissions check.  Node references:\nAro: ") . print_r($aro, true) . "\nAco: " . print_r($aco, true), E_USER_WARNING);
                    
80			return false;
                    
83		if ($acoPath == null || $acoPath == array()) {
                    
84			trigger_error(__d('cake_dev', "DbAcl::check() - Failed ACO node lookup in permissions check.  Node references:\nAro: ") . print_r($aro, true) . "\nAco: " . print_r($aco, true), E_USER_WARNING);
                    
85			return false;
                    
                
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
                    
                
search_filter.php https://gitlab.com/VTTE/sitios-vtte | PHP | 225 lines
                    
1<?php
                    
2
                    
157		}
                    
158		//echo '<pre>'; print_r($default); echo '</pre>';
                    
159		return $default;
                    
                
AdminCategoriesController.php https://gitlab.com/devtoannh/cafe | PHP | 250 lines
                    
1<?php
                    
2class AdminCategoriesController extends Zendvn_Controller_Action
                    
242        catch (Exception $e) {
                    
243            print_r($e);
                    
244            die();
                    
                
Signup.php https://gitlab.com/Zamal/My-Web2-php | PHP | 338 lines
                    
1<?php
                    
2namespace App\bitm\seip14\Signup;
                    
63//        echo "<pre>";
                    
64//        print_r($data);
                    
65//        die();
                    
198                $_SESSION['username'] = "Username already exists";
                    
199                header('location:register.php');
                    
200            } elseif (!empty($user2)) {
                    
201                $_SESSION['username'] = "Already register with this email";
                    
202                header('location:register.php');
                    
203            }  else {
                    
225        $_SESSION['success']="Successfully Registration"; 
                    
226        $msg = "Click the below link for verify your email address.<br/> http://zamalhossain.cse@gmail.com/Views/verify.php?vid=$verification_code";
                    
227              
                    
239                
                    
240            header('location:register.php');
                    
241            }
                    
                
tripal_feature_sequence.tpl.php https://gitlab.com/vijaya.tsavatapalli/drupal7 | PHP | 194 lines
                    
1<?php
                    
2/*
                    
19if (count($object_rels) > 0 or count($subject_rels) > 0) { ?>
                    
20  <div class="tripal_feature-data-block-desc tripal-data-block-desc"></div> <?php
                    
21  
                    
102       </p>
                    
103       <br><?php
                    
104     }
                    
123	    $obj_feature = chado_expand_var($subject, 'table', 'featureloc');
                    
124        //echo "<pre>"; print_r($subject);echo "</pre>";		
                    
125        // Genomic sequence - nothing but co-ordinates sequence 		 		  
                    
187       </p>
                    
188       <br><?php
                    
189     }
                    
                
Schools.php https://gitlab.com/gregtyka/opensis | PHP | 183 lines
                    
1<?php
                    
2#**************************************************************************
                    
34$RET = DBGet($QI);
                    
35//print_r($RET);
                    
36echo $RET[1]['ID'];
                    
55			DBQuery($sql);
                    
56			echo '<script language=JavaScript>parent.side.location="'.$_SESSION['Side_PHP_SELF'].'?modcat="+parent.side.document.forms[0].modcat.value;</script>';
                    
57			$note[] = 'This school has been modified.';
                    
78				$_SESSION['UserSchool'] = $id;
                    
79				echo '<script language=JavaScript>parent.side.location="'.$_SESSION['Side_PHP_SELF'].'?modcat="+parent.side.document.forms[0].modcat.value;</script>';
                    
80				unset($_REQUEST['new_school']);
                    
108				unset($_SESSION['UserSchool']);
                    
109				echo '<script language=JavaScript>parent.side.location="'.$_SESSION['Side_PHP_SELF'].'?modcat="+parent.side.document.forms[0].modcat.value;</script>';
                    
110				unset($_REQUEST);
                    
110				unset($_REQUEST);
                    
111				$_REQUEST['modname'] = "School_Setup/Schools.php?new_school=true";
                    
112				$_REQUEST['new_school'] = true;
                    
                
post-new-process.php https://gitlab.com/awolad/owncms | PHP | 354 lines
                    
1<?php
                    
2
                    
6
                    
7include_once '../vendor/autoload.php';
                    
8
                    
16if (!$user->getSession()) {
                    
17    header('Location:../login.php');
                    
18}
                    
69    } else {
                    
70        print_r($errors);
                    
71    }
                    
114        <!-- Logo -->
                    
115        <a href="index.php" class="logo">
                    
116            <!-- mini logo for sidebar mini 50x50 pixels -->
                    
144                                <div class="pull-right">
                    
145                                    <a href="../logout.php" class="btn btn-default btn-flat">Logout</a>
                    
146                                </div>
                    
                
segmento.Acc.php https://gitlab.com/talueses/SIPVE | PHP | 175 lines
                    
51
                    
52//echo "<div align='left'><pre>".print_r($_REQUEST,true)."</pre></div>";
                    
53require_once "../controller/segmento.control.op.php";// Class CONTROLLER
                    
137                <iframe name="ifrm1" id="ifrm1" frameborder="0" width="0" height="0"  scrolling="no"></iframe>
                    
138                <form method="POST" name="f1" action="segmento.Op.php" target="ifrm1">
                    
139                    <div id="datos"  align="center">
                    
143                                <td>
                    
144                                    <input type="text" name="segmento" id="segmento" maxlength="50" value="<?php echo $data->segmento;?>" <?php echo $disabled;?>>
                    
145                                </td>
                    
150                                    <div class="divTextarea" >
                    
151                                        <textarea name="descripcion" id="descripcion" <?php echo $disabled;?> rows="6" cols="28" maxlength="100" <?php echo $disabled;?>><?php echo $data->descripcion;?></textarea>
                    
152                                        <div class="charLeftDiv"  align="right"><input type="text" class="charLeft" id="charLeft_descripcion" size="4" readonly > Caracteres Restantes</div>
                    
153                                    </div>
                    
154                                    <!--input type="text" name="descripcion" id="descripcion" maxlength="100" value="<?php echo $data->descripcion;?>" <?php echo $disabled;?>-->
                    
155                                </td>
                    
                
Pages.php https://bitbucket.org/rightshore/saskatoon-landscape-store.git | PHP | 292 lines
                    
1<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
                    
2class Pages extends MY_Controller 
                    
89                $data['selected'] = $parent_id;
                    
90//                print_r($data);
                    
91                $this->load->view('pages/pages_list',$data);		
                    
                
Reports.php https://gitlab.com/hop23typhu/list-theme | PHP | 129 lines
                    
1<?php
                    
2/*+**********************************************************************************
                    
116	'Emails sent to Vendors'       => 'Emails sent to Vendors'      ,
                    
117	'LBL_PRINT_REPORT'             => 'Print Report'                , // TODO: Review
                    
118	'LBL_RECORDS'                  => 'Records'                     , // TODO: Review
                    
                
php.js https://gitlab.com/Blueprint-Marketing/cdnjs | JavaScript | 132 lines
                    
23    atoms: keywords("true false null TRUE FALSE NULL __CLASS__ __DIR__ __FILE__ __LINE__ __METHOD__ __FUNCTION__ __NAMESPACE__ __TRAIT__"),
                    
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 hex2bin 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 http_response_code get_declared_traits getimagesizefromstring socket_import_stream stream_set_chunk_size trait_exists header_register_callback class_uses session_status session_register_shutdown 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;
                    
130  CodeMirror.defineMIME("application/x-httpd-php-open", {name: "php", startOpen: true});
                    
131  CodeMirror.defineMIME("text/x-php", phpConfig);
                    
132})();
                    
                
class.pop3.php https://gitlab.com/vince.omega/General-Code-Dump-From-Desktop | 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>
                    
                
 

Source

Language