100+ results results for 'php ob_start repo:sebs/mosolar' (284 ms)
13else{ 14 $arrLang=(array)include(dirname(__FILE__).'/App/Zh-cn/App.lang.php'); 15} 92 $sAppName='home'; 93 $sEnterPath=$sAppPath.'/index.php'; 94 $sOutput=''; 151 <?php foreach($arrListLang as $sListLang):?> 152 <option value="?lang=<?php echo $sListLang;?>" <?php if(strtolower($sLang)==$sListLang):?>selected<?endif;?>><?php echo $sListLang;?></option> 153 <?endforeach;?> 159</div> 160 <form id="form1" name="form1" method="post" action="App.php?lang=<?php echo strtolower($sLang);?>"> 161 <p> 207 208<?php endif; ?> 209<div class="footer"><?php echo $arrLang[22];?></div>Template.php git://github.com/jeromeschneider/Baikal.git | PHP | 451 lines
1<?php 2 155 { 156 ob_start(); 157 $this->displayParentBlock($name, $context, $blocks); 175 { 176 ob_start(); 177 $this->displayBlock($name, $context, $blocks); 247 $level = ob_get_level(); 248 ob_start(); 249 try { 288 * implementation detail that has been introduced to optimize variable 289 * access for versions of PHP before 5.4. This is not a way to override 290 * the way to get a variable value.DataBaseAction.class.php http://ownerpress.googlecode.com/svn/trunk/ | PHP | 417 lines
1<?php 2// +---------------------------------------------------------------------- 2// +---------------------------------------------------------------------- 3// | ?????????? (Build on ThinkPHP) 4// +---------------------------------------------------------------------- 67 $this->display(); 68 ob_start(); 69 ob_end_flush(); 85 86 ob_start(); 87 ob_end_flush(); 93 $table_data = '$table_data = '.var_export($table_data, true).";"; 94 $db_table_file = $back_dir."tables.php"; 95 @file_put_contents($db_table_file,"<?php\n$table_data\n?>"); 200 $this->display(); 201 ob_start(); 202 ob_end_flush();i18n_example_script.php http://flaimo-php.googlecode.com/svn/trunk/ | PHP | 190 lines
105 <h3>(current time format used: <?php echo $format_date->getTimeFormat(); ?>)</h3> 106 <form method="post" action="<?php echo $_SERVER['PHP_SELF'] ?>#date" name="select_timeformat" id="select_timeformat"> 107 <select name="timeformat" id="timeformat"> 146 <p class="sample" id="formatnumber_sample"> 147 Formating ť<?php echo $money; ?>Ť <small>(currency small)</small>: <samp><?php echo $format_number->currency($money, 'full', 'gb', FALSE); ?></samp> 148 </p> 149 <p class="sample" id="formatnumber_sample"> 150 Formating ť<?php echo $money; ?>Ť <small>(currency symbol left)</small>: <samp><?php echo $format_number->currency($money, 'symbol', 'gb', TRUE, 'before'); ?></samp> 151 </p> 154 <h3>(current measure output format used: <?php echo $measure->getOutput(); ?>)</h3> 155 <form method="post" action="<?php echo $_SERVER['PHP_SELF'] ?>#measure" name="select_measure" id="select_measure"> 156 <select name="measure" id="measure2"> 171 <p class="sample" id="formatmeasure_sample"> 172 Formating ť<?php echo $number; ?> mmŤ: <samp><?php echo $measure->linear($number, 0, 0) , ' ' , $measure->Unit(2); ?></samp> 173 </p>phpt_test.php.inc git://pkgs.fedoraproject.org/php-pear-PEAR-Command-Packaging | PHP | 415 lines
1<?php 2@include_once 'Text/Diff.php'; 2@include_once 'Text/Diff.php'; 3@include_once 'Text/Diff/Renderer.php'; 4@include_once 'Text/Diff/Renderer/unified.php'; 4@include_once 'Text/Diff/Renderer/unified.php'; 5require_once 'PEAR/ErrorStack.php'; 6require_once 'PEAR.php'; 6require_once 'PEAR.php'; 7class PEAR_PHPTest 8{ 10 var $_errors; 11 function PEAR_PHPTest($diffonly = false, $noStackCatch = false) 12 { 360 { 361 ob_start(); 362 print "dumping registry...\n";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 50 $this->ajaxdata=array(); 51 ob_start(); 52 } 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 }Modules.php https://bitbucket.org/haloweb/halogy-1.0/ | PHP | 205 lines
1<?php (defined('BASEPATH')) OR exit('No direct script access allowed'); 2 2 3/* PHP5 spl_autoload */ 4spl_autoload_register('Modules::autoload'); 6/** 7 * Modular Extensions - PHP5 8 * 15 * 16 * Install this file as application/libraries/Modules.php 17 * 61 if (method_exists($class, $method)) { 62 ob_start(); 63 $args = func_get_args();CakeHtmlReporter.php git://github.com/hugodias/cakeStrap.git | PHP | 385 lines
6 * 7 * CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html> 8 * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) 14 * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) 15 * @link http://cakephp.org CakePHP(tm) Project 16 * @since CakePHP(tm) v 1.2.0.4433 16 * @since CakePHP(tm) v 1.2.0.4433 17 * @license http://www.opensource.org/licenses/mit-license.php MIT License 18 */ 104 foreach ($testCases as $testCase) { 105 $title = explode(DS, str_replace('.test.php', '', $testCase)); 106 $title[count($title) - 1] = Inflector::camelize($title[count($title) - 1]); 134 * 135 * @param PHPUnit_Framework_TestResult $result Result object 136 * @return voidmdl.trigger.php http://phpfor.googlecode.com/svn/trunk/ | PHP | 330 lines
1<?php 2require_once('shopObject.php'); 79 function object_fire_event($action , &$object, $member_id,&$target){ 80 //ob_start();'system.event_listener' 81 if(false===strpos($action,':')){ 233 if(!function_exists('shop_match_network')){ 234 require(CORE_INCLUDE_DIR.'/shop/core.match_network.php'); 235 }spView.php http://student-test.googlecode.com/svn/trunk/ | PHP | 297 lines
1<?php 2///////////////////////////////////////////////////////////////// 2///////////////////////////////////////////////////////////////// 3// SpeedPHP??PHP??, Copyright (C) 2008 - 2010 SpeedPHP.com // 4///////////////////////////////////////////////////////////////// 24 if(FALSE == $GLOBALS['G_SP']['view']['enabled'])return FALSE; 25 if(FALSE != $GLOBALS['G_SP']['view']['auto_ob_start'])ob_start(); 26 $this->engine = spClass($GLOBALS['G_SP']['view']['engine_name'],null,$GLOBALS['G_SP']['view']['engine_path']); 149 $cachedata = $this->curl_get_file_contents($remoteurl); 150 if( FALSE === $cachedata )spError("????????????????<br />1. spUrl?????????<a href='{$remoteurl}' target='_blank'>??????</a>?<br />2. ??php.ini?allow_url_fopen?On?<br />3. ??????????APACHE/PHP?????<br />4. ????CURL????"); 151 }Image.php http://hppg.googlecode.com/svn/trunk/ | PHP | 362 lines
1<?php 2/** 6 */ 7require_once 'modules/lhcaptcha/pear/Text/CAPTCHA.php'; 8require_once 'modules/lhcaptcha/pear/Image/Text.php'; 15 * 16 * @license PHP License, version 3.0 17 * @author Christian Wenz <wenz@php.net> 288 if (is_resource($this->_im)) { 289 ob_start(); 290 imagepng($this->_im); 315 if (is_resource($this->_im)) { 316 ob_start(); 317 imagejpeg($this->_im); 342 if (is_resource($this->_im)) { 343 ob_start(); 344 imagegif($this->_im);index.php http://ebpls.googlecode.com/svn/trunk/ | PHP | 250 lines
1<?php 2/* 10// application initialization 11ob_start(); 12session_start(); 12session_start(); 13require_once "includes/config.php"; 14$strSetupDir = (empty($ThUserData['domain'])) ? "" : $ThUserData['domain']; 16$strSetupDir = (is_dir("setup/{$strSetupDir}")) ? $strSetupDir . '/' : ""; 17$strSettingScript = "setup" . $strSetupDir . "setting.php"; 18include_once $strSettingScript; 18include_once $strSettingScript; 19//include_once 'ebpls5501.php'; 20require_once "lib/ebpls.lib.php"; 52 53$ses = isset($_COOKIE['PHPSESSID'])?$_COOKIE['PHPSESSID']:''; //2008.05.06 54ListTest.php git://github.com/tanakahisateru/pinoco.git | PHP | 273 lines
1<?php 2require_once dirname(__FILE__) . '/../../src/Pinoco/_bootstrap.php'; 3 4class ListTest extends PHPUnit_Framework_TestCase 5{ 220 { 221 ob_start(); 222 $l = Pinoco_List::fromArray(array(1, 2, 3));shell.test.php git://github.com/abalonepaul/eav_behavior.git | PHP | 501 lines
8 * 9 * CakePHP : Rapid Development Framework (http://cakephp.org) 10 * Copyright 2005-2011, Cake Software Foundation, Inc. 15 * @copyright Copyright 2005-2011, Cake Software Foundation, Inc. 16 * @link http://cakephp.org CakePHP Project 17 * @package cake 18 * @subpackage cake.tests.cases.console.libs 19 * @since CakePHP v 1.2.0.7726 20 * @license MIT License (http://www.opensource.org/licenses/mit-license.php) 370 371 $path = $expected = DS . 'tmp' . DS . 'ab' . DS . 'index.php'; 372 $this->assertEqual($this->Shell->shortPath($path), $expected); 409 $path = TMP . 'shell_test'; 410 $file = $path . DS . 'file1.php'; 411txp_auth.php http://textpattern.googlecode.com/svn/development/4.x/ | PHP | 277 lines
1<?php 2 56 57 ob_start(); 58} 72 73 include txpath.'/lib/txplib_head.php'; 74 $event = 'login'; 102 graf( 103 href(gTxt('back_to_login'), 'index.php') 104 , array('class' => 'login-return')). 253 254 include_once txpath.'/lib/txplib_admin.php'; 255 266 if ($nonce and $confirm === pack('H*', substr(md5($nonce), 0, 10)).$name) { 267 include_once txpath.'/lib/txplib_admin.php'; 268debugger.test.php git://github.com/abalonepaul/eav_behavior.git | PHP | 372 lines
6 * 7 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org) 8 * Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org) 13 * @copyright Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org) 14 * @link http://cakephp.org CakePHP Project 15 * @package cake 16 * @subpackage cake.tests.cases.libs 17 * @since CakePHP(tm) v 1.2.0.5432 18 * @license MIT License (http://www.opensource.org/licenses/mit-license.php) 97 98 $expected = '<code><span style="color: #000000"><?php'; 99 $expected .= '</span></code>'; 123 124 ob_start(); 125 Debugger::output('txt');functions.php http://j-ecard-28022011.googlecode.com/svn/trunk/ | PHP | 459 lines
1<?php 2defined('_JEXEC') or die('Restricted access'); // no direct access 32 33 ob_start(); 34?> 47 48 <?php if ($hasCaption): ?> 49<h2 class="art-postheader"> 49<h2 class="art-postheader"> 50 <?php echo $caption; ?> 51 53 54 <?php endif; ?> 55 <?php if ($hasContent): ?> 58 59 <?php echo artxReplaceButtons($content); ?> 60comment.php git://github.com/s9y/Serendipity.git | PHP | 237 lines
1<?php 2# Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team) 6 7include('serendipity_config.inc.php'); 8include S9Y_INCLUDE_PATH . 'include/functions_entries_admin.inc.php'; 10header('Content-Type: text/html; charset=' . LANG_CHARSET); 11$raw_post_data = file_get_contents("php://input"); 12 34 ); 35 include S9Y_INCLUDE_PATH . 'include/genpage.inc.php'; 36 $serendipity['smarty']->display(serendipity_getTemplateFile('index.tpl', 'serendipityPath')); 48 ); 49 include S9Y_INCLUDE_PATH . 'include/genpage.inc.php'; 50 $serendipity['smarty']->display(serendipity_getTemplateFile('index.tpl', 'serendipityPath')); 67 if ($pb_logging) { 68 ob_start(); 69 print_r($raw_post_data);ControlTest.php git://github.com/nella/framework.git | PHP | 137 lines
1<?php 2/** 108 109 ob_start(); 110 $this->control->render();category_items.php http://flexicontent.googlecode.com/svn/trunk/ | PHP | 338 lines
135 136 <?php if ($catid!=$currcatid) { ?> <a class='fc_cat_title' href="<?php echo JRoute::_( FlexicontentHelperRoute::getCategoryRoute($sub->slug) ); ?>"> <?php } else { echo "<span class='fc_cat_title'>"; } ?> 137 <!-- BOF subcategory title --> 185 ?> 186 <li id="faqlist_cat_<?php echo $catid; ?>item_<?php echo $i; ?>" class="<?php echo $fc_item_classes; ?>"> 187 205 <?php if ( isset($this->comments[ $item->id ]->total) ) : ?> 206 <div class="fc_comments_count_nopad hasTip" alt="<?php echo JText::_('FLEXI_NUM_OF_COMMENTS');?>" title="<?php echo JText::_('FLEXI_NUM_OF_COMMENTS');?>::<?php echo JText::_('FLEXI_NUM_OF_COMMENTS_TIP');?>"> 207 <?php echo $this->comments[ $item->id ]->total; ?> 266 <?php if ($field->label) : ?> 267 <span class="flexi label field_<?php echo $field->name; ?>"><?php echo $field->label; ?></span> 268 <?php endif; ?> 279 <li class="flexi-field"> 280 <div class="flexi value field_<?php echo $field->name; ?>"><?php echo $field->display; ?></div> 281 </li>connector.php http://opixido-ocms.googlecode.com/svn/trunk/ | PHP | 193 lines
70 71if ($fckphp_config['Debug']===true && $fckphp_config['Debug_Output']) ob_start(); 72outputHeaders(); 129 echo "Invalid resource type."; 130 if ($fckphp_config['Debug']===true && $fckphp_config['Debug_Output']) recordOutput(); 131 exit(0); 138 $action->run(); 139 if ($fckphp_config['Debug']===true && $fckphp_config['Debug_Output']) recordOutput(); 140 144 echo str_replace("\n","<br />",print_r($_GET,true)); 145 if ($fckphp_config['Debug']===true && $fckphp_config['Debug_Output']) recordOutput(); 146 exit(0); 152 153 if ($fckphp_config['Debug']===true && $fckphp_config['Debug_Output']) { 154 $contents=ob_get_contents();debugger.test.php git://github.com/Datawalke/Coordino.git | PHP | 372 lines
6 * 7 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org) 8 * Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org) 13 * @copyright Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org) 14 * @link http://cakephp.org CakePHP Project 15 * @package cake 16 * @subpackage cake.tests.cases.libs 17 * @since CakePHP(tm) v 1.2.0.5432 18 * @license MIT License (http://www.opensource.org/licenses/mit-license.php) 97 98 $expected = '<code><span style="color: #000000"><?php'; 99 $expected .= '</span></code>'; 123 124 ob_start(); 125 Debugger::output('txt');module.graphic.jpg.php https://bitbucket.org/chamilo/chamilo-dev/ | PHP | 173 lines
1<?php 2///////////////////////////////////////////////////////////////// 9// // 10// module.graphic.jpg.php // 11// module for analyzing JPEG Image files // 34 { 35 // http://php.net/iptcparse 36 // http://www.sno.phy.queensu.ca/~phil/exiftool/TagNames/IPTC.html 59 60 if (version_compare(phpversion(), '4.2.0', '>=')) 61 { 65 66 ob_start(); 67 $ThisFileInfo['jpg']['exif'] = exif_read_data($ThisFileInfo['filenamepath'], '', true, false); 87 88 $ThisFileInfo['warning'][] = 'EXIF parsing only available in PHP v4.2.0 and higher compiled with --enable-exif (or php_exif.dll enabled for Windows). You are using PHP v' . phpversion(); 89blog_item.php http://j-ecard-28022011.googlecode.com/svn/trunk/ | PHP | 138 lines
1<?php 2defined('_JEXEC') or die('Restricted access'); // no direct access 4?> 5<?php if ($this->item->state == 0) : ?> 6<div class="system-unpublished"> 6<div class="system-unpublished"> 7<?php endif; ?> 8 20<div class="art-post-inner"> 21<?php 22if ($this->item->params->get('show_title')) { 22if ($this->item->params->get('show_title')) { 23 ob_start(); 24?> 25 <h2 class="art-postheader"> 26<?php 27 artxFragmentBegin(ob_get_clean());sfPHPView.class.php http://opac-sbweb.googlecode.com/svn/trunk/ | PHP | 191 lines
1<?php 2 12/** 13 * A view that uses PHP as the templating engine. 14 * 18 * @author Sean Kerr <sean@code-box.org> 19 * @version SVN: $Id: sfPHPView.class.php 11783 2008-09-25 16:21:27Z fabien $ 20 */ 20 */ 21class sfPHPView extends sfView 22{ 74 // render 75 ob_start(); 76 ob_implicit_flush(0); 84 * 85 * Note: This will return null because PHP itself has no engine reference. 86 *headfoot.inc git://pkgs.fedoraproject.org/nordugrid-arc | PHP | 275 lines
1<?php 2 49 ob_implicit_flush(0); 50 ob_start(); 51 // ini_set("max_execution_time","120"); 172 echo " <img src=\"./mon-icons/icon-print.png\" vspace=\"4\" width=\"24\" height=\"24\" border=\"0\" align=\"absmiddle\" title=\"".$this->errors["302"]."\" alt=\"".$this->errors["302"]."\"></a>\n"; 173 echo " <a href=\"javascript:monitor('help.php?module=".$this->module."&lang=".$lang."',400,300,10);\" onClick=\"javascript:monitor('help.php?module=".$this->module."',400,300,10);\">\n"; 174 echo " <img src=\"./mon-icons/icon-help.png\" vspace=\"4\" width=\"24\" height=\"24\" border=\"0\" align=\"absmiddle\" title=\"".$this->errors["303"]."\" alt=\"".$this->errors["303"]."\"></a>\n";serendipity_admin_image_selector.php git://github.com/s9y/Serendipity.git | PHP | 306 lines
1<?php 2# Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team) 4 5include('serendipity_config.inc.php'); 6 87 $media['case'] = 'external'; 88 ob_start(); 89 include S9Y_INCLUDE_PATH . 'include/admin/images.inc.php'; 95 $media['case'] = 'external'; 96 ob_start(); 97 include S9Y_INCLUDE_PATH . 'include/admin/images.inc.php'; 101 $media['is_uploaded'] = true; 102 $serendipity['GET']['image'] = $media['imgID'] = (int)$image_id; // $image_id is passed from images.inc.php 103 break; 140 $media['case'] = 'external'; 141 ob_start(); 142 include S9Y_INCLUDE_PATH . 'include/admin/images.inc.php';functions.php http://section-cms.googlecode.com/svn/trunk/ | PHP | 292 lines
1<?php 2// Buffer Function 5 global $mod, $table, $sid, $id, $sPage, $sId, $block, $_GET, $_POST, $_COOKIE, $_FILES, $_SESSION; 6 ob_start(); # Start Buffer 7 include($f); # Include File 132{ 133 // Define Vars so PHP Would not Print Errors 134 $build = ''; 241 242 if($file != '.' && $file != '..' && $file != 'modinit.php' && $pos === false) 243 { 246 $trap[] = array( 247 0 => 'modules/'.$tmp[0].'.php', 248 1 => $tmp[0]cake.test.php git://github.com/klevo/wildflower.git | PHP | 500 lines
9 * 10 * CakePHP(tm) Tests <https://trac.cakephp.org/wiki/Developement/TestSuite> 11 * Copyright 2005-2010, Cake Software Foundation, Inc. 16 * @copyright Copyright 2005-2010, Cake Software Foundation, Inc. 17 * @link https://trac.cakephp.org/wiki/Developement/TestSuite CakePHP(tm) Tests 18 * @package cake 19 * @subpackage cake.tests.cases.console 20 * @since CakePHP(tm) v 1.2.0.5432 21 * @version $Revision$ 185 $params = array( 186 'cake.php', 187 '-app', 241 $params = array( 242 './console/cake.php', 243 'bake',error.test.php git://github.com/klevo/wildflower.git | PHP | 464 lines
1<?php 2/* SVN FILE: $Id$ */ 9 * 10 * CakePHP(tm) Tests <https://trac.cakephp.org/wiki/Developement/TestSuite> 11 * Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org) 16 * @copyright Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org) 17 * @link https://trac.cakephp.org/wiki/Developement/TestSuite CakePHP(tm) Tests 18 * @package cake 23 * @lastmodified $Date$ 24 * @license http://www.opensource.org/licenses/opengroup.php The Open Group Test Suite License 25 */ 330 function testMissingTable() { 331 ob_start(); 332 $TestErrorHandler = new TestErrorHandler('missingTable', array('className' => 'Article', 'table' => 'articles')); 343 function testMissingDatabase() { 344 ob_start(); 345 $TestErrorHandler = new TestErrorHandler('missingDatabase', array());eclipse.php git://github.com/moodle/moodle.git | PHP | 307 lines
1<?php 2/** 10 */ 11include_once 'unit_tester.php'; 12include_once 'test_case.php'; 12include_once 'test_case.php'; 13include_once 'invoker.php'; 14include_once 'socket.php'; 14include_once 'socket.php'; 15include_once 'mock_objects.php'; 16/**#@-*/ 286 function before($method){ 287 ob_start(); 288 $this->_invoker->before($method);basics.test.php http://skygames.googlecode.com/svn/trunk/ | PHP | 433 lines
1<?php 2/* SVN FILE: $Id: basics.test.php 7805 2008-10-30 17:30:26Z AD7six $ */ 3/** 7 * 8 * PHP versions 4 and 5 9 * 9 * 10 * CakePHP(tm) Tests <https://trac.cakephp.org/wiki/Developement/TestSuite> 11 * Copyright 2005-2008, Cake Software Foundation, Inc. (http://www.cakefoundation.org) 17 * @copyright Copyright 2005-2008, Cake Software Foundation, Inc. (http://www.cakefoundation.org) 18 * @link https://trac.cakephp.org/wiki/Developement/TestSuite CakePHP(tm) Tests 19 * @package cake.tests 24 * @lastmodified $Date: 2008-10-30 12:30:26 -0500 (Thu, 30 Oct 2008) $ 25 * @license http://www.opensource.org/licenses/opengroup.php The Open Group Test Suite License 26 */fc799be489be98216ba32724b9aee1877f691ec3.file.new-products.tpl.php http://marocmall.googlecode.com/svn/trunk/ | PHP | 36 lines
2 compiled from "C:\D\prestashoplf\prestashop/themes/ling/new-products.tpl" */ ?> 3<?php /*%%SmartyHeaderCode:39714efc8dff7b9087-90893982%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed'); 4$_smarty_tpl->decodeProperties(array ( 19)); /*/%%SmartyHeaderCode%%*/?> 20<?php ob_start(); ?><?php echo smartyTranslate(array('s'=>'New products'),$_smarty_tpl);?> 21<?php Smarty::$_smarty_vars['capture']['path']=ob_get_clean();?> 21<?php Smarty::$_smarty_vars['capture']['path']=ob_get_clean();?> 22<?php $_template = new Smarty_Internal_Template(($_smarty_tpl->getVariable('tpl_dir')->value)."./breadcrumb.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null); 23 echo $_template->getRenderedTemplate();?><?php unset($_template);?> 23 echo $_template->getRenderedTemplate();?><?php unset($_template);?> 24<h1><?php echo smartyTranslate(array('s'=>'New products'),$_smarty_tpl);?> 25</h1> 26<?php if ($_smarty_tpl->getVariable('products')->value){?> 27 <?php $_template = new Smarty_Internal_Template(($_smarty_tpl->getVariable('tpl_dir')->value)."./product-sort.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null); 28 echo $_template->getRenderedTemplate();?><?php unset($_template);?>admin.php git://github.com/ryancramerdesign/ProcessWire.git | PHP | 152 lines
1<?php 2 5 * 6 * This file is designed for inclusion by /site/templates/admin.php template and all the variables 7 * it references are from your template namespace. 49 htmlentities($_SERVER['HTTP_HOST'], ENT_QUOTES, 'UTF-8') . "' - " . 50 __('Please update your $config->httpHosts setting in /site/config.php') . " - " . 51 "<a target='_blank' href='https://processwire.com/api/variables/config/#httphosts'>" . __('read more') . "</a>", 76// enable modules to output their own ajax responses if they choose to 77if($config->ajax) ob_start(); 78 90 $controller->setProcessName($page->process); 91 $initFile = $config->paths->adminTemplates . 'init.php'; 92 if(is_file($initFile)) include($initFile); 148 if(!strlen($content)) $content = '<p>' . __('The process returned no content.') . '</p>'; 149 require($config->paths->adminTemplates . 'default.php'); 150 $session->removeNotices();phptal.php git://github.com/nojimage/CakePHP-TALTAL.git | PHP | 232 lines
24if (!class_exists('PHPTAL')) { 25 App::import('Vendor', 'Taltal.PHPTAL', array('file' => 'phptal' . DS . 'PHPTAL.php')); 26} 48 parent::__construct($controller); 49 $this->Phptal = new PHPTAL(); 50 $this->Phptal->setEncoding(Configure::read('App.encoding')); 50 $this->Phptal->setEncoding(Configure::read('App.encoding')); 51 $this->Phptal->setPhpCodeDestination(CACHE . 'views'); 52 $this->_createUrlModifier(); 192 } else if (preg_match('/^[a-z0-9_]+\(/i', $src)) { 193 $src = phptal_tales('php:' . $src, $nothrow); 194 } else { 207 } else if (preg_match('/^[a-z0-9_]+\(/i', $src)) { 208 $src = phptal_tales('php:' . $src, $nothrow); 209 } else {CakeHtmlReporter.php git://github.com/cakephp/cakephp.git | PHP | 351 lines
6 * 7 * CakePHP(tm) Tests <http://book.cakephp.org/view/1196/Testing> 8 * Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org) 13 * @copyright Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org) 14 * @link http://cakephp.org CakePHP(tm) Project 15 * @since CakePHP(tm) v 1.2.0.4433 15 * @since CakePHP(tm) v 1.2.0.4433 16 * @license MIT License (http://www.opensource.org/licenses/mit-license.php) 17 */ 90 foreach ($testCases as $testCaseFile => $testCase) { 91 $title = explode(DS, str_replace('.test.php', '', $testCase)); 92 $title[count($title) - 1] = Inflector::camelize($title[count($title) - 1]); 120 * 121 * @param PHPUnit_Framework_TestResult $result Result object 122 * @return voidfetchscript.php http://vanphongphamdm.googlecode.com/svn/trunk/ | PHP | 258 lines
11* 12* @version $Id: fetchscript.php 1367 2008-04-10 19:30:20Z soeren_nb $ 13* @package VirtueMart 15* @copyright Copyright (C) 2006-2007 soeren - All rights reserved. 16* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php 17* VirtueMart is free software. This version may have been modified pursuant 20* other free or open source software licenses. 21* See /administrator/components/com_virtuemart/COPYRIGHT.php for copyright notices and details. 22* 36 if ($gzip) { 37 $phpver = phpversion(); 38 $useragent = isset( $_SERVER['HTTP_USER_AGENT'] ) ? $_SERVER['HTTP_USER_AGENT'] : ''; 63 // zlib.output_compression is activated here 64 ob_start( 'ob_gzhandler' ); 65CBaseController.php http://chenjin.googlecode.com/svn/trunk/ | PHP | 304 lines
1<?php 2/** 63 * @author Qiang Xue <qiang.xue@gmail.com> 64 * @version $Id: CBaseController.php 242 2012-03-29 15:18:01Z mole1230 $ 65 * @package system.web 108 * Renders a view file. 109 * This method includes the view file as a PHP script 110 * and captures the display result if required. 124 { 125 ob_start(); 126 ob_implicit_flush(false); 164 { 165 ob_start(); 166 ob_implicit_flush(false);image.php git://github.com/enormego/EightPHP.git | PHP | 463 lines
1<?php 2/** 6 * @subpackage Helpers 7 * @author EightPHP Development Team 8 * @copyright (c) 2009-2010 EightPHP 8 * @copyright (c) 2009-2010 EightPHP 9 * @license http://license.eightphp.com 10 */ 367 $type = ltrim(rtrim(strtolower($type))); 368 ob_start(); 369 switch($type) {PartialHelper.php http://openirudi.googlecode.com/svn/trunk/ | PHP | 390 lines
1<?php 2 16 * @author Fabien Potencier <fabien.potencier@symfony-project.com> 17 * @version SVN: $Id: PartialHelper.php 10227 2008-07-11 19:36:32Z fabien $ 18 */ 160 * The partial name is composed as follows: 'mymodule/mypartial'. 161 * The partial file name is _mypartial.php and is looked for in modules/mymodule/templates/. 162 * If the partial name doesn't include a module name, 254 255 ob_start(); 256 ob_implicit_flush(0);Capsule.php git://github.com/pmjones/php-framework-benchmarks.git | PHP | 266 lines
1<?php 2 4 * Capsule is a simple "template" engine that essentially provides an isolated context 5 * for PHP scripts. 6 * 132 133 if (!empty($php_errormsg)) { 134 throw new Exception("Unable to parse template " . $__template . ": " . $php_errormsg); 151 // hopefully this works recursively ... fingers crossed. 152 ob_start(); 153new-menu.php http://jfxcms.googlecode.com/svn/ | PHP | 199 lines
1<?php 2############### COPYLEFT GPLv3 LICENSE ############### 22 23ob_start(); 24css.php https://bitbucket.org/rhizomatik/lorea_production/ | PHP | 331 lines
1<?php 2/** 11if(!defined('DOKU_DISABLE_GZIP_OUTPUT')) define('DOKU_DISABLE_GZIP_OUTPUT',1); // we gzip ourself here 12require_once(DOKU_INC.'inc/init.php'); 13require_once(DOKU_INC.'inc/pageutils.php'); 13require_once(DOKU_INC.'inc/pageutils.php'); 14require_once(DOKU_INC.'inc/httputils.php'); 15require_once(DOKU_INC.'inc/io.php'); 15require_once(DOKU_INC.'inc/io.php'); 16require_once(DOKU_INC.'inc/confutils.php'); 17 104 // start output buffering and build the stylesheet 105 ob_start(); 106smarty_internal_parsetree.php git://github.com/jasonhinkle/phreeze.git | PHP | 393 lines
85 $var = sprintf('$_tmp%d', ++Smarty_Internal_Templateparser::$prefix_number); 86 $this->parser->compiler->prefix_code[] = sprintf('<?php ob_start();?>%s<?php %s=ob_get_clean();?>', $this->data, $var); 87 118 */ 119 public function to_smarty_php() 120 { 188 } else { 189 $more_php = $subtree->to_smarty_php(); 190 } 191 192 $code .= $more_php; 193 292 if (substr($code, -1) == '<') { 293 $subtree = $this->subtrees[$key]->to_smarty_php(); 294 if (substr($subtree, 0, 1) == '?') {upgrade.php http://wordcraft.googlecode.com/svn/trunk/ | PHP | 103 lines
1<?php 2 16// do this so session check will not fail 17ob_start(); 18 18 19require_once "../include/common.php"; 20require_once "./admin_functions.php"; 21 22require_once "./header.php"; 23 77 78 <?php if(isset($next)){ ?> 79 <p> 81 </p> 82 <form action="<?php echo $_SERVER["PHP_SELF"]; ?>" method="post"> 83 <input type="submit" value="Continue">Modules.php https://bitbucket.org/hery/ci-cms/ | PHP | 247 lines
1<?php (defined('BASEPATH')) OR exit('No direct script access allowed'); 2 9 10/* PHP5 spl_autoload */ 11spl_autoload_register('Modules::autoload'); 22 * 23 * Install this file as application/third_party/MX/Modules.php 24 * 65 if (method_exists($class, $method)) { 66 ob_start(); 67 $args = func_get_args();common.lib.php git://pkgs.fedoraproject.org/pgfouine | PHP | 297 lines
1<?php 2 56function getFormattedArray(& $array) { 57 ob_start(); 58 print_r($array); 131function str_putcsv($input, $delimiter = ',', $enclosure = '"') { 132 $fp = fopen('php://temp', 'r+'); 133 fputcsv($fp, $input, $delimiter, $enclosure);TestOfGridController.php git://github.com/ginatrapani/ThinkUp.git | PHP | 303 lines
1<?php 2/** 3 * 4 * ThinkUp/tests/TestOfGridController.php 5 * 29 */ 30require_once dirname(__FILE__).'/init.tests.php'; 31require_once THINKUP_WEBAPP_PATH.'_lib/extlib/simpletest/autorun.php'; 31require_once THINKUP_WEBAPP_PATH.'_lib/extlib/simpletest/autorun.php'; 32require_once THINKUP_WEBAPP_PATH.'config.inc.php'; 33 57 $this->assertEqual('You must <a href="'.$config->getValue('site_root_path'). 58 'session/login.php">log in</a> to do this.', $v_mgr->getTemplateDataItem('error_msg')); 59 } 63 $controller = new GridController(true); 64 ob_start(); 65 $controller->control();extract.test.php git://github.com/klevo/wildflower.git | PHP | 134 lines
7 * 8 * PHP versions 4 and 5 9 * 9 * 10 * CakePHP : Rapid Development Framework (http://cakephp.org) 11 * Copyright 2006-2010, Cake Software Foundation, Inc. 16 * @copyright Copyright 2006-2010, Cake Software Foundation, Inc. 17 * @link http://cakefoundation.org/projects/info/cakephp CakePHP Project 18 * @package cake 19 * @subpackage cake.tests.cases.console.libs.tasks 20 * @since CakePHP v 1.2.0.7726 21 * @version $Revision$ 32if (!class_exists('ShellDispatcher')) { 33 ob_start(); 34 $argv = false;utility.php http://68kb.googlecode.com/svn/trunk/ | PHP | 334 lines
1<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); 2/** 26 * @link http://68kb.com/user_guide/overview/settings.html 27 * @version $Id: utility.php 172 2009-12-11 16:18:32Z suzkaw68 $ 28 */ 198 $log[] = 'Generating Tree...'; 199 ob_start(); 200 $this->generate_tree_list($categories, 0, 0); 332 333/* End of file utility.php */ 334/* Location: ./upload/includes/application/controllers/admin/utility.php */CBaseController.php git://github.com/pmjones/php-framework-benchmarks.git | PHP | 296 lines
1<?php 2/** 55 * @author Qiang Xue <qiang.xue@gmail.com> 56 * @version $Id: CBaseController.php 2497 2010-09-23 13:28:52Z mdomba $ 57 * @package system.web 100 * Renders a view file. 101 * This method includes the view file as a PHP script 102 * and captures the display result if required. 116 { 117 ob_start(); 118 ob_implicit_flush(false); 156 { 157 ob_start(); 158 ob_implicit_flush(false);shell.test.php git://github.com/pmjones/php-framework-benchmarks.git | PHP | 501 lines
8 * 9 * CakePHP : Rapid Development Framework (http://cakephp.org) 10 * Copyright 2006-2010, Cake Software Foundation, Inc. 15 * @copyright Copyright 2006-2010, Cake Software Foundation, Inc. 16 * @link http://cakephp.org CakePHP Project 17 * @package cake 18 * @subpackage cake.tests.cases.console.libs 19 * @since CakePHP v 1.2.0.7726 20 * @license MIT License (http://www.opensource.org/licenses/mit-license.php) 370 371 $path = $expected = DS . 'tmp' . DS . 'ab' . DS . 'index.php'; 372 $this->assertEqual($this->Shell->shortPath($path), $expected); 409 $path = TMP . 'shell_test'; 410 $file = $path . DS . 'file1.php'; 411Source.php git://github.com/llaville/php-compat-info.git | PHP | 138 lines
18 * @category PHP 19 * @package PHP_CompatInfo 20 * @author Laurent Laville <pear@laurent-laville.org> 24 */ 25class PHP_CompatInfo_Report_Source extends PHP_CompatInfo_Report 26{ 88 foreach ($report as $filename => $verbose) { 89 $reflect = new PHP_Reflect(); 90 $tokens = $reflect->scan($filename); 95 echo str_repeat('-', $this->width) . PHP_EOL; 96 echo 'PHP COMPAT INFO SOURCE SUMMARY' . PHP_EOL; 97 131 echo str_repeat('-', $this->width) . PHP_EOL; 132 echo PHP_Timer::resourceUsage() . PHP_EOL; 133 echo str_repeat('-', $this->width) . PHP_EOL;sfException.class.php http://openirudi.googlecode.com/svn/trunk/ | PHP | 287 lines
1<?php 2 20 * @author Sean Kerr <sean@code-box.org> 21 * @version SVN: $Id: sfException.class.php 11837 2008-09-29 08:12:42Z fabien $ 22 */ 61 { 62 // log all exceptions in php log 63 error_log($exception->getMessage()); 73 74 ob_start(sfConfig::get('sf_compressed') ? 'ob_gzhandler' : ''); 75 121 { 122 $files[] = sfConfig::get('sf_app_config_dir').'/error_500.php'; 123 } 123 } 124 $files[] = sfConfig::get('sf_config_dir').'/error_500.php'; 125 $files[] = sfConfig::get('sf_web_dir').'/errors/error500.php';PhpSoap.php git://pkgs.fedoraproject.org/horde | PHP | 214 lines
2/** 3 * The Horde_RPC_PhpSoap class provides a PHP 5 Soap implementation 4 * of the Horde RPC system. 5 * 6 * $Horde: framework/RPC/RPC/PhpSoap.php,v 1.1.2.6 2009/11/06 14:35:37 jan Exp $ 7 * 16 */ 17class Horde_RPC_PhpSoap extends Horde_RPC { 18 67 68 $this->_server = new SoapServer(Horde::url($GLOBALS['registry']->get('webroot', 'horde') . '/rpc.php?wsdl', true, -1)); 69 $this->_server->addFunction(SOAP_FUNCTIONS_ALL); 83 $beginTime = time(); 84 ob_start(); 85 $this->_server->handle($request);fixture.test.php git://github.com/abalonepaul/eav_behavior.git | PHP | 373 lines
6 * 7 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org) 8 * Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org) 13 * @copyright Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org) 14 * @link http://cakephp.org CakePHP(tm) Project 15 * @package cake 16 * @subpackage cake.tests.cases.console.libs.tasks 17 * @since CakePHP(tm) v 1.3 18 * @license MIT License (http://www.opensource.org/licenses/mit-license.php) 179 $this->Task->args = array('article'); 180 $filename = '/my/path/article_fixture.php'; 181 $this->Task->expectAt(0, 'createFile', array($filename, new PatternExpectation('/class ArticleFixture/'))); 205 $this->Task->args = array('Articles'); 206 $filename = '/my/path/article_fixture.php'; 207 $this->Task->expectAt(2, 'createFile', array($filename, new PatternExpectation('/class ArticleFixture/')));smarty_internal_cacheresource_file.php git://github.com/modolabs/Kurogo-Mobile-Web.git | PHP | 205 lines
1<?php 2 55 } 56 return $_cache_dir . $_cache_id . $_compile_id . $_filepath . '.' . basename($_source_file_path) . '.php'; 57 } 79 if (!$no_render) { 80 ob_start(); 81 }xs_topic.tpl git://github.com/MightyGorgon/icy_phoenix.git | Smarty Template | 212 lines
166 <?php if($config['allow_html'] || (($user->data['user_level'] == ADMIN) && $config['allow_html_only_for_admins'])) { ?> 167 <label><input type="checkbox" name="disable_html" <?php echo ($html_on ? '' : 'checked="checked"'); ?> /> <span class="genmed"><?php echo $lang['Disable_HTML_post']; ?></span></label><br /> 168 <?php } else { ?><input type="hidden" name="disable_html" value="checked" /><?php } ?> 170 <label><input type="checkbox" name="disable_bbcode" <?php echo ($bbcode_on ? '' : 'checked="checked"'); ?> /> <span class="genmed"><?php echo $lang['Disable_BBCode_post']; ?></span></label><br /> 171 <?php } else { ?><input type="hidden" name="disable_bbcode" value="checked" /><?php } ?> 172 <?php if($config['allow_smilies']) { ?> 173 <label><input type="checkbox" name="disable_smilies" <?php echo ($smilies_on ? '' : 'checked="checked"'); ?> /> <span class="genmed"><?php echo $lang['Disable_Smilies_post']; ?></span></label><br /> 174 <?php } else { ?><input type="hidden" name="disable_smilies" value="checked" /><?php } ?> 175 <?php if($user_sig) { ?> 175 <?php if($user_sig) { ?> 176 <label><input type="checkbox" name="attach_sig" <?php echo ($user->data['user_attachsig'] ? 'checked="checked"' : ''); ?> /> <span class="genmed"><?php echo $lang['Attach_signature']; ?></span></label><br /> 177 <?php } else { ?><input type="hidden" name="attach_sig" value="" /><?php } ?> 177 <?php } else { ?><input type="hidden" name="attach_sig" value="" /><?php } ?> 178 <label><input type="checkbox" name="notify" <?php echo ($user->data['user_notify'] ? 'checked="checked"' : ''); ?> /> <span class="genmed"><?php echo $lang['Notify']; ?></span></label><br /> 179 <!-- BEGIN switch_lock_topic -->sample_form.php http://flaimo-php.googlecode.com/svn/trunk/ | PHP | 44 lines
1<?php 2//+----------------------------------------------------------------------+ 16error_reporting(E_ALL & E_NOTICE); 17ob_start(); 18session_start(); 18session_start(); 19require_once 'class.valimage.inc.php'; 20$vi = new valImage(); 35 <h2><?php echo $message; ?></h2> 36 <form name="sampleform" id="sampleform" method="post" action="<?php echo $_SERVER['PHP_SELF']; ?>"> 37 <p>Please type the characters in the picture into the input box and hit Validate (Characters are case-sensitive).</p> 38 <img src="image_valimage.php" alt="validateImage" /><br /> 39 <input name="<?php echo $vi->getFormName(); ?>" type="text" id="<?php echo $vi->getFormName(); ?>" size="7" /><br /> 40 <input name="send" type="submit" value="Validate" /> 43</html> 44<?php ob_end_flush(); ?>ajax.php http://torrentpier2.googlecode.com/svn/trunk/ | PHP | 408 lines
1<?php 2 7 8require('./common.php'); 9 21 case 'view_post': 22 require(INC_DIR . 'bbcode.php'); 23 break; 26 case 'post_mod_comment': 27 require(INC_DIR . 'bbcode.php'); 28 require(INC_DIR . 'functions_post.php'); 28 require(INC_DIR . 'functions_post.php'); 29 require(INC_DIR . 'functions_admin.php'); 30 break; 35 case 'gen_passkey': 36 require(BB_ROOT . 'attach_mod/attachment_mod.php'); 37 require(INC_DIR . 'functions_torrent.php');CBaseController.php git://github.com/eryx/php-framework-benchmark.git | PHP | 297 lines
1<?php 2/** 55 * @author Qiang Xue <qiang.xue@gmail.com> 56 * @version $Id: CBaseController.php 2799 2011-01-01 19:31:13Z qiang.xue $ 57 * @package system.web 100 * Renders a view file. 101 * This method includes the view file as a PHP script 102 * and captures the display result if required. 116 { 117 ob_start(); 118 ob_implicit_flush(false); 156 { 157 ob_start(); 158 ob_implicit_flush(false);view_render_php.php http://enaj.googlecode.com/svn/trunk/ | PHP | 479 lines
1<?php 2// $Id: view_render_php.php 2445 2009-04-27 08:12:19Z dualface $ 3 9 * @license New BSD License {@link http://qeephp.com/license/} 10 * @version $Id: view_render_php.php 2445 2009-04-27 08:12:19Z dualface $ 11 * @package mvc 17 * @author YuLei Liao <liaoyulei@qeeyuan.com> 18 * @version $Id: view_render_php.php 2445 2009-04-27 08:12:19Z dualface $ 19 * @package mvc 67 * 68 * @var QView_Render_PHP_Parser 69 */ 234 * @author YuLei Liao <liaoyulei@qeeyuan.com> 235 * @version $Id: view_render_php.php 2445 2009-04-27 08:12:19Z dualface $ 236 * @package mvcradar.html http://atcacode.googlecode.com/svn/trunk/ | HTML | 234 lines
1<?php ob_start('ob_gzhandler') ?> 2<!DOCTYPE html>Application.php git://github.com/brysonian/vicious.git | PHP | 340 lines
1<?php 2declare(encoding='UTF-8'); 7 8 require_once(__DIR__.'/Helpers.php'); 9 require_once(__DIR__.'/Config.php'); 9 require_once(__DIR__.'/Config.php'); 10 require_once(__DIR__.'/Router.php'); 11 require_once(__DIR__.'/Renderable.php'); 11 require_once(__DIR__.'/Renderable.php'); 12 require_once(__DIR__.'/Request.php'); 13 79 public function dispatch($uri, $verb=false) { 80 # some PHP polymorphism here. 81 if ($uri instanceof Request) { 104 # run filters and catch output 105 ob_start(); 106 foreach($this->before as $filter) {Lib.hx https://code.google.com/p/haquery/ | Haxe | 300 lines
10import php.io.Path; 11import php.firePHP.FirePHP; 12import haquery.server.HaqInternals; 127 text += "DUMP\n"; 128 var dump = ''; untyped __php__("ob_start(); var_dump($v); $dump = ob_get_clean();"); 129 text += StringTools.stripTags(dump); 168 169 var f : FileOutput = php.io.File.append(HaqDefines.folders.temp + "/haquery.log", false); 170 if (f != null) 279 280 public static inline function toPhpArray(a : Array<Dynamic>) : NativeArray { return php.Lib.toPhpArray(a); } 281 290 **/ 291 public static inline function rethrow( e : Dynamic ) { return php.Lib.rethrow(e); } 292f45017e4339997e50d309ff45e7a1ee530344a8f.file.stores.tpl.php http://marocmall.googlecode.com/svn/trunk/ | PHP | 135 lines
20<?php if (!is_callable('smarty_modifier_escape')) include 'C:\D\prestashoplf\prestashop\tools\smarty\plugins\modifier.escape.php'; 21?><?php ob_start(); ?><?php echo smartyTranslate(array('s'=>'Our stores'),$_smarty_tpl);?> 22<?php Smarty::$_smarty_vars['capture']['path']=ob_get_clean();?> 38 <div class="store-small"> 39 <?php if ($_smarty_tpl->tpl_vars['store']->value['has_picture']){?><p><img src="<?php echo $_smarty_tpl->getVariable('img_store_dir')->value;?> 40<?php echo $_smarty_tpl->tpl_vars['store']->value['id_store'];?> 48<br /> 49 <?php if ($_smarty_tpl->tpl_vars['store']->value['address2']){?><?php echo smarty_modifier_escape($_smarty_tpl->tpl_vars['store']->value['address2'],'htmlall','UTF-8');?> 50<?php }?><br /> 52 <?php echo smarty_modifier_escape($_smarty_tpl->tpl_vars['store']->value['city'],'htmlall','UTF-8');?> 53<?php if ($_smarty_tpl->tpl_vars['store']->value['state']){?>, <?php echo $_smarty_tpl->tpl_vars['store']->value['state'];?> 54<?php }?><br /> 56<br /> 57 <?php if ($_smarty_tpl->tpl_vars['store']->value['phone']){?><?php echo smartyTranslate(array('s'=>'Phone:','js'=>0),$_smarty_tpl);?> 58 <?php echo $_smarty_tpl->tpl_vars['store']->value['phone'];?>serendipity_event_bbcode.php git://github.com/s9y/Serendipity.git | PHP | 332 lines
1<?php 2 23 'smarty' => '2.6.7', 24 'php' => '4.1.0' 25 )); 86 87 case 'php': 88 if (substr($input, 0, 2) != '<?') { 88 if (substr($input, 0, 2) != '<?') { 89 $input = "<?php\n\n$input\n\n?>"; 90 } 91 92 ob_start(); 93 highlight_string($input); 269 270.bb-quote, .bb-code, .bb-php, .bb-code-title, .bb-php-title { 271 margin-left: 20px;session.test.php git://github.com/klevo/wildflower.git | PHP | 286 lines
7 * 8 * PHP versions 4 and 5 9 * 9 * 10 * CakePHP(tm) Tests <https://trac.cakephp.org/wiki/Developement/TestSuite> 11 * Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org) 16 * @copyright Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org) 17 * @link https://trac.cakephp.org/wiki/Developement/TestSuite CakePHP(tm) Tests 18 * @package cake 19 * @subpackage cake.tests.cases.libs.view.helpers 20 * @since CakePHP(tm) v 1.2.0.4206 21 * @version $Revision$ 25 */ 26if (!defined('CAKEPHP_UNIT_TEST_EXECUTION')) { 27 define('CAKEPHP_UNIT_TEST_EXECUTION', 1);osj-ewlookup50.php http://osjobber.googlecode.com/svn/trunk/ | PHP | 128 lines
1<?php 2define("EW_PAGE_ID", "ewlookup", TRUE); // Page ID 3?> 4<?php 5ob_start(); // Turn on output buffering 6?> 7<?php include "osj-ewcfg50.php" ?> 8<?php include "osj-ewmysql50.php" ?> 8<?php include "osj-ewmysql50.php" ?> 9<?php include "osj-phpfn50.php" ?> 10<?php 16?> 17<?php 18$LnkFldType = 0;elFinderConnector.class.php http://getk2.googlecode.com/svn/trunk/ | PHP | 149 lines
1<?php 2/** 2/** 3 * @version $Id: elFinderConnector.class.php 1492 2012-02-22 17:40:09Z joomlaworks@gmail.com $ 4 * @package K2 12 13ob_start(); 14// mb_internal_encoding("UTF-8");App.class.php http://dyhb-frame.googlecode.com/svn/trunk/ | PHP | 163 lines
1<?php 2/* [DoYouHaoBaby!] (C)Dianniu From 2010. 6 7/** PHP __autoload???? */ 8function __autoload($sClassName){Package::autoLoad($sClassName);} 23 24 Package::import(DYHB_PATH.'/LibPHP');// ?? DoYouHaoBaby ?? 25 //if(!is_file(DYHB_PATH.'/LibCom/Js/Dyhb.package.js')){Package::importJsPackage('Dyhb',false);} 30 if($GLOBALS['_commonConfig_']['START_GZIP'] && function_exists('gz_handler')){ 31 ob_start('gz_handler'); 32 } 71 if(method_exists( $oModule,'init__')){call_user_func(array($oModule,'init__'));} 72 if(defined('DOYOUHAOBABY_TEMPLATE_BASE') && ucfirst(DOYOUHAOBABY_TEMPLATE_BASE)!==TEMPLATE_NAME && is_dir(APP_PATH."/Theme/".ucfirst(DOYOUHAOBABY_TEMPLATE_BASE)."/Public/Php/Lang")){LangPackage::addPackageDir(APP_PATH."/Theme/".ucfirst(DOYOUHAOBABY_TEMPLATE_BASE)."/Public/Php/Lang");} 73 if(method_exists( $oModule,'b'.ucfirst(ACTION_NAME).'_')){call_user_func(array($oModule,'b'.ucfirst(ACTION_NAME).'_'));} 116 117 if(is_dir(APP_PATH."/Theme/{$sTemplateSet}/Public/Php/Lang")){LangPackage::addPackageDir(APP_PATH."/Theme/{$sTemplateSet}/Public/Php/Lang");} 118 if($sTemplateSet!='Default' && is_dir(APP_PATH."/Theme/Default/Public/Php/Lang")){LangPackage::addPackageDir(APP_PATH."/Theme/Default/Public/Php/Lang");}theme.php http://cartonbank.googlecode.com/svn/trunk/ | PHP | 254 lines
1<?php 2/** 53 54 ob_start(); 55 $url = wp_nonce_url('themes.php?action=delete&template=' . $template, 'delete-theme_' . $template); 59 if ( ! empty($data) ){ 60 include_once( ABSPATH . 'wp-admin/admin-header.php'); 61 echo $data; 61 echo $data; 62 include( ABSPATH . 'wp-admin/admin-footer.php'); 63 exit; 72 if ( ! empty($data) ) { 73 include_once( ABSPATH . 'wp-admin/admin-header.php'); 74 echo $data; 74 echo $data; 75 include( ABSPATH . 'wp-admin/admin-footer.php'); 76 exit;init.php http://simpleinvoices.googlecode.com/svn/trunk/ | PHP | 319 lines
1<?php 2/* 9// Need the configuration beforehand 10include_once(APPLICATION_PATH . '/config/define.php'); 11 97 98require_once("smarty/Smarty.class.php"); 99require_once("lib/paypal/paypal.class.php"); 100 101require_once('lib/HTMLPurifier/HTMLPurifier.standalone.php'); 102require_once('sys/include/functions.php'); 103 104//ob_start('addCSRFProtection'); 105 168 169//set up app with relevant php setting 170date_default_timezone_set($config->phpSettings->date->timezone);Exceptions.php git://github.com/imagecms/ImageCMS.git | PHP | 172 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 * This function logs PHP generated error messages 67 * 123 } 124 ob_start(); 125 include(APPPATH.'errors/'.$template.EXT); 133 /** 134 * Native PHP error handler 135 * 142 */ 143 function show_php_error($severity, $message, $filepath, $line) 144 {PhptalTest.php git://github.com/pornel/PHPTAL.git | PHP | 287 lines
69 { 70 $tpl = $this->newPHPTAL('phptal.01.html'); 71 $tpl->setTemplateRepository(array('bar', 'input/')); 153 { 154 $tpl = $this->newPHPTAL('input/phptal.04.html'); 155 $exp = normalize_html_file('input/phptal.04.html'); 216 { 217 $tpl = $this->newPHPTAL()->setSource('<x tal:content="php:\'deliberate parse\' \'error test\'"/>'); 218 220 ob_start(); 221 echo "\n".__CLASS__."::testPHPParseErrorDoesNotStopPHPTAL2 failed\n"; 222 try { 255 { 256 $obj = PHPTAL::create('input/phptal.01.html'); 257 $this->assertInstanceOf('PHPTAL', $obj);Template.php http://mvh-source.googlecode.com/svn/trunk/ | PHP | 288 lines
1<?php 2/** 98 99 @ob_start(); 100 include( $path ); 132 public function block( $name ){ 133 ob_start(); 134 if( ! key_exists( $name, $this->_blocks ) ){ 231 if( ! class_exists( $klass ) ){ 232 $basename = sprintf( "%s.php", $name ); 233build.php git://github.com/polygonplanet/Pot.js.git | PHP | 189 lines
1<?php 2// 7// Run server. 8// Access http://localhost/{this-directory}/build.php?debug=true&type=full 9// Parameters: 11// "true" or "false" 12// Output PHP comiled code if "debug" is "true". 13// - type: 120 function evaluate($code) { 121 ob_start(); 122 echo eval(sprintf('?>%s', $code)); 152 if ($matches[1] === '$') { 153 $result = sprintf('<?php echo $this->%s ?>%s%s', $matches[2], $nl, $matches[4]); 154 } else { 176 } 177 $result = sprintf('<?php %s ?>%s%s', $expr, $nl, $matches[4]); 178 }exec-php.php http://cartonbank.googlecode.com/svn/trunk/ | PHP | 337 lines
167 echo " 168 <div id='execphp-warning' class='updated fade-ff0000'><p><strong>". __('Exec-PHP found malformed styled PHP tags.', EXECPHP_PLUGIN_ID). "</strong> ". sprintf(__('<a href="%1$s">Convert them on the EXEC-PHP config page</a> to let your PHP code work properly.', EXECPHP_PLUGIN_ID), "options-general.php?page=$path")."</p></div> 169 <style type='text/css'> 212 <ul> 213 <li><?php _e("<code><?php ?></code> (standard style, only usable for Wordpress 2.x)", EXECPHP_PLUGIN_ID); ?></li> 214 <li><?php _e("<code>< ?php ?></code> (spaced style, used for Wordpress 1.x)", EXECPHP_PLUGIN_ID); ?></li> 214 <li><?php _e("<code>< ?php ?></code> (spaced style, used for Wordpress 1.x)", EXECPHP_PLUGIN_ID); ?></li> 215 <li><?php _e("<code>[?php ?]</code> (alternate style, only usable for Wordpress 2.x and Exec-PHP 2.0)", EXECPHP_PLUGIN_ID); ?></li> 216 </ul> 221 <p><?php _e("By pressing the 'Migrate' button below, the plugin will automatically migrate PHP tags from malformed style to standard style. You may execute this action as often as you like even if all tags are converted. <strong>Be sure to backup your database first before pressing the button.</strong>", EXECPHP_PLUGIN_ID); ?></p> 222 <p><?php echo sprintf(__("If you feel, the probably displayed Exec-PHP warning is false and you want to just disable the warnings without migrating anything, you can use the 'Toggle warnings' button to toggle warnings on or off. You may also see the warnings if you are using the WYSIWYG editor or having the option '%s' truned on. Both is not recommened and will in almost all cases fail to execute your PHP code.", EXECPHP_PLUGIN_ID), __('WordPress should correct invalidly nested XHTML automatically')); ?></p> 223<?php 240 <p class="submit"> 241 <input type="submit" name="toggle_warning_execphp" value="<?php echo sprintf(__('Toggle warnings %s', EXECPHP_PLUGIN_ID), ($ignore_old_style_warning ? __('on', EXECPHP_PLUGIN_ID) : __('off', EXECPHP_PLUGIN_ID))); ?> »" /> 242 </p>GD.php git://github.com/centurion-project/Centurion.git | PHP | 255 lines
1<?php 2/** 71 if (!extension_loaded('gd')) { 72 throw new Centurion_Exception ('GD not enabled. Check your php.ini file.'); 73 } 184 $creator = $this->_imgCreators[$this->getMime()]; 185 ob_start(); 186 $creator($this->_thumb);Artichow.class.php git://pkgs.fedoraproject.org/pgfouine | PHP | 322 lines
1<?php 2/* 12// Some useful files 13require_once ARTICHOW."/Component.class.php"; 14require_once ARTICHOW."/Image.class.php"; 14require_once ARTICHOW."/Image.class.php"; 15require_once ARTICHOW."/common.php"; 16 16 17require_once ARTICHOW."/inc/Grid.class.php"; 18require_once ARTICHOW."/inc/Tools.class.php"; 18require_once ARTICHOW."/inc/Tools.class.php"; 19require_once ARTICHOW."/inc/Drawer.class.php"; 20require_once ARTICHOW."/inc/Math.class.php"; 20require_once ARTICHOW."/inc/Math.class.php"; 21require_once ARTICHOW."/inc/Tick.class.php"; 22require_once ARTICHOW."/inc/Axis.class.php";_head.php http://clover-mana.googlecode.com/svn/trunk/ | PHP | 197 lines
1<?php 2ini_set ("max_execution_time","3600"); 33 curl_setopt($login, CURLOPT_POSTFIELDS, $data); 34 ob_start(); // prevent any output 35 return curl_exec ($login); // execute the curl command 50 curl_setopt($ch, CURLOPT_URL, $site); 51 ob_start(); // prevent any output 52 return curl_exec ($ch); // execute the curl command 101 $loginDatas = implode('&', $postLogins); 102 curl_postaction($iarr['base_url'].'/login.php?do=login',$loginDatas,$proxy,$proxystatus); 103 //get security token 114 // $postDatas = implode('&', $postFields); 115// echo curl_postaction("http://localhost/test/checkpost.php",$postFields,$proxy,$proxystatus); 116 $postUrl = $iarr['base_url']."/newreply.php?do=postreply&t=".$iarr['topic_id']; 126function checkHeader($siteUrl){ 127 ob_start(); 128 $ch = curl_init(); // create cURL handle (ch)header-default.php http://carrington.googlecode.com/svn/ | PHP | 102 lines
25<head> 26 <meta http-equiv="content-type" content="<?php bloginfo('html_type') ?>; charset=<?php bloginfo('charset') ?>" /> 27 30 <meta name="viewport" content="initial-scale=1.0; maximum-scale=1.0; user-scalable=0;"/> 31 <link rel="stylesheet" href="<?php echo get_stylesheet_uri(); ?>" type="text/css" media="screen" charset="utf-8" /> 32 <style type="text/css"> 65 if (navigator.userAgent.indexOf(CFMOBI_TOUCH[i]) != -1) { 66 document.write('<?php echo str_replace('/', '\/', '<link rel="stylesheet" href="'.trailingslashit(get_bloginfo('template_url')).'css/touch.css" type="text/css" media="screen" charset="utf-8" />'); ?>'); 67 break; 69 } 70<?php 71 93 94<h1 id="site-name"><a rel="home" href="<?php bloginfo('url'); ?>"><?php bloginfo('name'); ?></a></h1> 95api.test.php git://github.com/abalonepaul/eav_behavior.git | PHP | 116 lines
1<?php 2/** 4 * 5 * PHP versions 4 and 5 6 * 6 * 7 * CakePHP : Rapid Development Framework (http://cakephp.org) 8 * Copyright 2005-2011, Cake Software Foundation, Inc. 13 * @copyright Copyright 2005-2011, Cake Software Foundation, Inc. 14 * @link http://cakephp.org CakePHP Project 15 * @package cake 16 * @subpackage cake.tests.cases.console.libs.tasks 17 * @since CakePHP v 1.2.0.7726 18 * @license MIT License (http://www.opensource.org/licenses/mit-license.php) 26if (!class_exists('ShellDispatcher')) { 27 ob_start(); 28 $argv = false;index.php http://ourproject.googlecode.com/svn/trunk/ | PHP | 363 lines
14if (@ include ("../data/phpyun.lock")) { 15 show_view('??????PHPyun????????phpyun_lock??????'); 16 exit (); 59 <p> 60 3. ??????????????????????????????????PHPYUN ???? ?????????????????????Powered by PHPYun.??????????????? 61 </p> 82 <p> 83 ?? ?????! ??????????????????????????PHPYUN ????????? ????????????????????????????????????????????????????????????????????????????????????????????????????????????????? PHPYUN1.3 BETA??????????????????????????????????????????????????????????????????????????????????????????????????????????? 84 </p> 147 $tablepre = $_POST[tablepre]; 148 $fp=file_get_contents("data/phpjob_table.php"); 149 $fp=str_replace("phpjob_",$tablepre,$fp); 156 //?????? 157 $fpp=file_get_contents("data/phpjob_data.php"); 158 $fpp=str_replace("phpjob_",$tablepre,$fpp);%%66^664^6640D0F6%%addresses.tpl.php http://marocmall.googlecode.com/svn/trunk/ | PHP | 183 lines
2 compiled from C:%5CD%5CMarocMall/themes/prestashop/addresses.tpl */ ?> 3<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php'); 4smarty_core_load_plugins(array('plugins' => array(array('function', 'counter', 'C:\\D\\MarocMall/themes/prestashop/addresses.tpl', 49, false),array('function', 'l', 'C:\\D\\MarocMall/themes/prestashop/addresses.tpl', 90, false),array('modifier', 'explode', 'C:\\D\\MarocMall/themes/prestashop/addresses.tpl', 105, false),array('modifier', 'escape', 'C:\\D\\MarocMall/themes/prestashop/addresses.tpl', 109, false),array('modifier', 'intval', 'C:\\D\\MarocMall/themes/prestashop/addresses.tpl', 114, false),)), $this); ?> 93 94<?php ob_start(); ?><a href="<?php echo $this->_tpl_vars['link']->getPageLink('my-account.php',true); ?> 95"><?php echo smartyTranslate(array('s' => 'My account'), $this);?> 121?> 122 <ul class="address <?php if (($this->_foreach['myLoop']['iteration'] == $this->_foreach['myLoop']['total'])): ?>last_item<?php elseif (($this->_foreach['myLoop']['iteration'] <= 1)): ?>first_item<?php endif; ?> <?php if (($this->_foreach['myLoop']['iteration']-1) % 2): ?>alternate_item<?php else: ?>item<?php endif; ?>"> 123 <li class="address_title"><?php echo $this->_tpl_vars['address']['object']['alias']; ?> 172<ul class="footer_links"> 173 <li><a href="<?php echo $this->_tpl_vars['link']->getPageLink('my-account.php',true); ?> 174"><img src="<?php echo $this->_tpl_vars['img_dir']; ?> 174"><img src="<?php echo $this->_tpl_vars['img_dir']; ?> 175icon/my-account.gif" alt="" class="icon" /></a><a href="<?php echo $this->_tpl_vars['link']->getPageLink('my-account.php',true); ?> 176"><?php echo smartyTranslate(array('s' => 'Back to Your Account'), $this);?>ObjectCacheTest.php git://github.com/zendframework/zf2.git | PHP | 263 lines
1<?php 2/** 237 238 ob_start(); 239 ob_implicit_flush(false); 247 // second call - cached 248 ob_start(); 249 ob_implicit_flush(false);template.php http://ownerpress.googlecode.com/svn/trunk/ | PHP | 381 lines
1<?php 2/** 286 if ( ! empty($this->errors) ) { 287 $errors = implode('<br />' . PHP_EOL, $this->errors); 288 echo '<div id="message" class="error">' . $errors . '</div>' . PHP_EOL; 291 if ( ! empty($this->notices) ) { 292 $notices = implode('<br />' . PHP_EOL, $this->notices); 293 echo '<div id="message" class="notice">' . $notices . '</div>' . PHP_EOL; 303 * 304 * @param string $template Template name (With no .php extension) 305 * @return boolean If template file was found or not. 351 { 352 if ( ob_start() ) { 353 $this->display($template, $default); 365 * 366 * @param string $name Template name (with no .php extension) 367 * @return string|false Absolute path to template file. False if not found.BootActiveForm.php https://bitbucket.org/Crisu83/yii-bootstrap/ | PHP | 433 lines
1<?php 2/** 5 * @copyright Copyright © Christoffer Niska 2011- 6 * @license http://www.opensource.org/licenses/bsd-license.php New BSD License 7 */ 51 { 52 ob_start(); 53 Yii::app()->controller->widget('bootstrap.widgets.BootInput',array(genControlPanel.php http://opixido-ocms.googlecode.com/svn/trunk/ | PHP | 327 lines
1<?php 2 93 $action = akev($_REQUEST, 'globalAction'); 94 //ob_start(); 95 if ($action && in_array($action, $_Gconfig['globalActions']) && $gs_obj->can($action)) { 111 $action = akev($_REQUEST, 'userAction'); 112 //ob_start(); 113 if ($gs_obj->can('edit', $action)) {index.php http://xgcalendar.googlecode.com/svn/trunk/ | PHP | 308 lines
40 <div id="showdaybtn" class="fbutton"> 41 <div><span title='<?php echo ucfmsg("day") ?>' class="showdayview"><?php echo ucfmsg("day") ; ?></span></div> 42 </div> 70 <div id="changetoenglish" class="fbutton"> 71 <div><span title='<?php echo ucfmsg("english"); ?>' class="english"><?php echo ucfmsg("english"); ?></span></div> 72 </div> 73 <div id="changetoenglishau" class="fbutton"> 74 <div><span title='<?php echo ucfmsg("english"); ?>' class="english_au"><?php echo ucfmsg("english") ; ?></span></div> 75 </div> 109 var view="week"; 110 <?php include("_part.php"); ?> 111 var op = { 209 $.alerts.cancelButton="<?php echo ucfmsg("cancel") ; ?>"; 210 hiConfirm("<?php echo ucfmsg("deleteconfirm") ; ?>", '<?php echo ucfmsg("confirm"); ?>',function(r){ r && callback(0);}); 211 }uc.php http://phpfor.googlecode.com/svn/trunk/ | PHP | 307 lines
1<?php 2define('UC_VERSION', '1.0.0'); //UCenter ???? 19ob_start(); 20define('PHP_SELF',dirname($_SERVER['PHP_SELF'] ? $_SERVER['PHP_SELF'] : $_SERVER['SCRIPT_NAME'])); 21if(include(dirname(__FILE__).'/../config/config.php')){ 25 define('CORE_INCLUDE_DIR',CORE_DIR. 26 ((!defined('SHOP_DEVELOPER') || !constant('SHOP_DEVELOPER')) && version_compare(PHP_VERSION,'5.0','>=')?'/include_v5':'/include')); 27 } 29 require(CORE_DIR.'/kernel.php'); 30 require(CORE_INCLUDE_DIR.'/shopCore.php'); 31 require_once(CORE_DIR.'/func_ext.php'); 31 require_once(CORE_DIR.'/func_ext.php'); 32 require(CORE_DIR.'/lib/uc_client/lib/xml.class.php'); 33 class ucCore extends shopCore{ 108// function uc_unserialize($s) { 109// include_once UC_CLIENT_ROOT.'./lib/xml.class.php'; 110// return xml_unserialize($s);RequestContext.cs https://Phalanger.svn.codeplex.com/svn | C# | 200 lines
27 28namespace PHP.Core 29{ 30 /// <summary> 31 /// Represents a set of data associated with the current web request targeting PHP scripts. 32 /// </summary> 94 /// <summary> 95 /// Disposes of <see cref="PhpResource"/>s created during this web request. 96 /// </summary> 102 { 103 ((PhpResource)resources[i]).Dispose(); 104 } 113 /// <summary> 114 /// Performs PHP inclusion on a specified script. Equivalent to <see cref="PHP.Core.ScriptContext.IncludeScript"/>. 115 /// </summary>cronjobs.php git://github.com/daylightstudio/FUEL-CMS.git | PHP | 115 lines
1<?php 2require_once(FUEL_PATH.'/libraries/Fuel_base_controller.php'); 24 $this->js_controller_params['method'] = 'cronjobs'; 25 $cronjob_path = INSTALL_ROOT.$cronjobs_config['crons_folder'].'crontab.php'; 26 72 { 73 // turn on output buffering so that php will work inside the crontab.php 74 ob_start(); 85 { 86 $cronjob_lines = explode(PHP_EOL, $cronjob_file); 87 } 112} 113/* End of file cronjobs.php */ 114/* Location: ./fuel/modules/cronjobs/controllers/cronjobs.php */api.test.php git://github.com/Datawalke/Coordino.git | PHP | 116 lines
1<?php 2/** 4 * 5 * PHP versions 4 and 5 6 * 6 * 7 * CakePHP : Rapid Development Framework (http://cakephp.org) 8 * Copyright 2005-2012, Cake Software Foundation, Inc. 13 * @copyright Copyright 2005-2012, Cake Software Foundation, Inc. 14 * @link http://cakephp.org CakePHP Project 15 * @package cake 16 * @subpackage cake.tests.cases.console.libs.tasks 17 * @since CakePHP v 1.2.0.7726 18 * @license MIT License (http://www.opensource.org/licenses/mit-license.php) 26if (!class_exists('ShellDispatcher')) { 27 ob_start(); 28 $argv = false;collapse_api.php git://pkgs.fedoraproject.org/mantis | PHP | 247 lines
1<?php 2# MantisBT - a php based bugtracking system 35 * 36 * @uses tokens_api.php 37 * @uses utility_api.php 37 * @uses utility_api.php 38 * @uses config_api.php 39 * @uses authentiction_api.php 39 * @uses authentiction_api.php 40 * @uses current_user_api.php 41 * @uses gpc_api.php 46 */ 47require_once( 'tokens_api.php' ); 48 113 114 ob_start(); 115sp_compatibility_test.php https://bitbucket.org/rhizomatik/lorea_production/ | PHP | 278 lines
162 <tbody> 163 <tr class="<?php echo ($php_ok) ? 'enabled' : 'disabled'; ?>"> 164 <td>PHP¹</td> 165 <td>4.3.0 or higher</td> 166 <td><?php echo phpversion(); ?></td> 167 </tr> 204 <ol> 205 <?php if ($php_ok && $xml_ok && $pcre_ok && $mbstring_ok && $iconv_ok && $curl_ok && $zlib_ok): ?> 206 <li><em>You have everything you need to run SimplePie properly! Congratulations!</em></li> 208 <?php if ($php_ok): ?> 209 <li><strong>PHP:</strong> You are running a supported version of PHP. <em>No problems here.</em></li> 210 <?php if ($xml_ok): ?> 263 <div class="chunk"> 264 <p class="footnote">¹ — SimplePie 2 will not support PHP 4.x. The core PHP team has discontinued PHP 4.x patches and support. <a href="http://simplepie.org/blog/2007/07/13/simplepie-is-going-php5-only/">Read the announcement.</a></p> 265 <p class="footnote">² — Some recent versions of the PCRE (PERL-Compatible Regular Expression) engine compiled into PHP have been buggy, and are the source of PHP segmentation faults (e.g. crashes) which cause random things like blank, white screens. Check the <a href="http://simplepie.org/support/">Support Forums</a> for the latest information on patches and ongoing fixes.</p>commontypes.php git://github.com/zendframework/zf2.git | PHP | 663 lines
1<?php 2/** 653 { 654 ob_start(); 655 $this->server->handle($request);blocks.php http://bitcero-modules.googlecode.com/svn/ | PHP | 338 lines
1<?php 2// $Id: blocks.php 1037 2012-09-07 21:19:12Z i.bitcero $ 10 11include '../../../mainfile.php'; 12 170 171 ob_start(); 172 include RMTemplate::get()->get_template('rmc_block_form.php', 'module', 'rmcommon');funcs-misc.php http://umspx.googlecode.com/svn/trunk/ | PHP | 198 lines
1<?php 2 include_once($_SERVER["DOCUMENT_ROOT"].'/umsp/funcs-config.php'); 24 $tmpPluginPath = Array( 25 dirname(__FILE__).'/user-plugins/'. $pluginName . '.php', 26 dirname(__FILE__).'/plugins/'. $pluginName . '.php', 26 dirname(__FILE__).'/plugins/'. $pluginName . '.php', 27 dirname(__FILE__).'/plugins/'. $pluginName . '/' . $tmpArr[2] . '.php', 28 dirname(__FILE__).'/plugins/'. $pluginName . '/' . $pluginName . '.php' 144 function _var_dump_ret($mixed = NULL) { 145 ob_start(); 146 var_dump($mixed); 152 function _var_dump_to_file($mixed = NULL, $prmFile = '/tmp/umsp-log.txt') { 153 ob_start(); 154 var_dump($mixed);left.php http://subfun.googlecode.com/svn/trunk/ | PHP | 73 lines
1<?php ob_start(); ?> 2<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 9 10<?php 11session_start(); 13 echo "????"; 14 echo "<meta http-equiv=\"refresh\" content=\"1;URL=index.php\">"; 15}else{ 15}else{ 16require_once("conn/conn.php"); 17$teamID=$_SESSION['log_teamID']; 20 <div id="left_container"> 21<?php 22 32{ 33 echo "<div class='title'><span class='title'><a href='memberCheck.php' target='rightIframe'>????</a></span></div>"; 34}View.php http://skeleton.googlecode.com/svn/trunk/ | PHP | 310 lines
1<?php 2/** 2/** 3 * View.php 4 * 4 * 5 * @license http://www.opensource.org/licenses/bsd-license.php BSD 6 * @link http://skeletonframework.com/ 156 { 157 if (substr($template, -4, 4) != '.php') { 158 $template .= '.php'; 230 { 231 ob_start(); 232 if ($this->use_local_vars)%%B8^B8E^B8E75A0A%%manufacturer-list.tpl.php http://marocmall.googlecode.com/svn/trunk/ | PHP | 91 lines
5 6<?php ob_start(); ?><?php echo smartyTranslate(array('s' => 'Manufacturers'), $this);?> 7<?php $this->_smarty_vars['capture']['path'] = ob_get_contents(); ob_end_clean(); ?> 23<?php else: ?> 24 <p><?php echo '<span class="bold">'; ?><?php if ($this->_tpl_vars['nbManufacturers'] == 0): ?><?php echo ''; ?><?php echo smartyTranslate(array('s' => 'There are no manufacturers.'), $this);?><?php echo ''; ?><?php else: ?><?php echo ''; ?><?php if ($this->_tpl_vars['nbManufacturers'] == 1): ?><?php echo ''; ?><?php echo smartyTranslate(array('s' => 'There is'), $this);?><?php echo ''; ?><?php else: ?><?php echo ''; ?><?php echo smartyTranslate(array('s' => 'There are'), $this);?><?php echo ''; ?><?php endif; ?><?php echo ' '; ?><?php echo $this->_tpl_vars['nbManufacturers']; ?><?php echo ' '; ?><?php if ($this->_tpl_vars['nbManufacturers'] == 1): ?><?php echo ''; ?><?php echo smartyTranslate(array('s' => 'manufacturer.'), $this);?><?php echo ''; ?><?php else: ?><?php echo ''; ?><?php echo smartyTranslate(array('s' => 'manufacturers.'), $this);?><?php echo ''; ?><?php endif; ?><?php echo ''; ?><?php endif; ?><?php echo '</span>'; ?> 25 34?> 35 <li class="clearfix <?php if (($this->_foreach['manufacturers']['iteration'] <= 1)): ?>first_item<?php elseif (($this->_foreach['manufacturers']['iteration'] == $this->_foreach['manufacturers']['total'])): ?>last_item<?php else: ?>item<?php endif; ?>"> 36 <div class="left_side"> 70 <?php if ($this->_tpl_vars['manufacturer']['nb_products'] == 1): ?><?php echo smartyTranslate(array('s' => 'product'), $this);?> 71<?php else: ?><?php echo smartyTranslate(array('s' => 'products'), $this);?> 72<?php endif; ?></span> 72<?php endif; ?></span> 73 <?php if ($this->_tpl_vars['manufacturer']['nb_products'] > 0): ?></a><?php endif; ?> 74PHP.html http://avblog.googlecode.com/svn/trunk/ | HTML | 97 lines
13 14<h2><!-- InstanceBeginEditable name="Title" -->PHP<!-- InstanceEndEditable --></h2> 15 26 <li><a href="JavaScript.html">JavaScript</a></li> 27 <li><a href="PHP.html">PHP</a></li> 28 <li><a href="Python.html">Python</a></li> 45<!-- InstanceBeginEditable name="Code" --> 46<textarea name="code" class="php" rows="15" cols="100"> 47/*********************************** 53 54ob_start("parseOutputBuffer"); // Start Code Buffering 55session_start(); 58 global $portal_small_code, $portal_gzcompress; 59 global $PHP_SELF, $HTTP_ACCEPT_ENCODING; 60cache.php http://mootoolstools.googlecode.com/svn/trunk/ | PHP | 66 lines
1<?php 2class cache 33 $this->caching = true; 34 ob_start(); 35 $now = time();category_items.php http://flexicontent.googlecode.com/svn/trunk/ | PHP | 194 lines
124 <?php foreach ($columns as $name => $label) : ?> 125 <th id="field_<?php echo $name; ?>" scope="col"><?php echo $label; ?></th> 126 <?php endforeach; ?> 133 <?php foreach ($items as $i => $item) : ?> 134 <tr id="tablelist_item_<?php echo $i; ?>" class="<?php echo $fc_item_classes; ?>"> 135 152 153 <?php if ( $buttons_exists || $comments_non_zero || $show_title || count($item->css_markups) ) : ?> 154 <td class="fc_title_col"> 161 <?php if ( isset($this->comments[ $item->id ]->total) ) : ?> 162 <div class="fc_comments_count_nopad hasTip" alt="<?php echo JText::_('FLEXI_NUM_OF_COMMENTS');?>" title="<?php echo JText::_('FLEXI_NUM_OF_COMMENTS');?>::<?php echo JText::_('FLEXI_NUM_OF_COMMENTS_TIP');?>"> 163 <?php echo $this->comments[ $item->id ]->total; ?> 170 <?php if ($link_titles) : ?> 171 <a class="fc_item_title" href="<?php echo JRoute::_(FlexicontentHelperRoute::getItemRoute($item->slug, $item->categoryslug)); ?>"><?php echo $item->title; ?></a> 172 <?php else : echo $item->title; endif; ?>index.php git://pkgs.fedoraproject.org/roundcubemail | PHP | 276 lines
1<?php 2/* 25 26 $Id: index.php 5995 2012-03-11 16:22:50Z thomasb $ 27 30// include environment 31require_once 'program/include/iniset.php'; 32 35 36// Make the whole PHP output non-cacheable (#1487797) 37send_nocacheing_headers(); 39// turn on output buffering 40ob_start(); 41 45 'code' => 601, 46 'type' => 'php', 47 'message' => $err_str), false, true);plugins.php http://core.svn.wordpress.org/ | PHP | 174 lines
22 } 23 wp_redirect('plugins.php?activate=true'); // overrides the ?error=true one above 24 } else if ('deactivate' == $_GET['action']) { 75<?php if ( isset($_GET['error']) ) : ?> 76 <div id="message" class="updated fade"><p><?php _e('Plugin could not be activated because it triggered a <strong>fatal error</strong>.') ?></p></div> 77<?php elseif ( isset($_GET['activate']) ) : ?> 86<h2><?php _e('Plugin Management'); ?></h2> 87<p><?php _e('Plugins extend and expand the functionality of WordPress. Once a plugin is installed, you may activate it or deactivate it here.'); ?></p> 88<?php 106 <th><?php _e('Description'); ?></th> 107 <th style="text-align: center"<?php if ( current_user_can('edit_plugins') ) echo ' colspan="2"'; ?>><?php _e('Action'); ?></th> 108 </tr> 154 <td colspan="3"> </td> 155 <td colspan="2" style="width:12em;"><a href="<?php echo wp_nonce_url('plugins.php?action=deactivate-all', 'deactivate-all'); ?>" class="delete"><?php _e('Deactivate All Plugins'); ?></a></td> 156</tr>FormHelper.class.php http://flumpshop.googlecode.com/svn/trunk/ | PHP | 94 lines
1<?php 2 14 } else { 15 ob_start(); 16 33 } else { 34 ob_start(); 35 58 } else { 59 ob_start(); 60 ?> 60 ?> 61 <select name="<?php echo $id;?>" id="<?php echo $id;?>" class="ui-widget required"> 62 <option disabled="disabled"></option> 62 <option disabled="disabled"></option> 63 <?php 64 $orderStats = array_keys($config->getNodes('orderstatus'));error.php git://github.com/fuel/core.git | PHP | 275 lines
1<?php 2/** 9 * @copyright 2010 - 2012 Fuel Development Team 10 * @link http://fuelphp.com 11 */ 41 /** 42 * Native PHP shutdown handler 43 * 58 { 59 static::show_php_error($error); 60 } 70 /** 71 * PHP Exception handler 72 * 87 { 88 static::show_php_error($e); 89 }sub.inc.php http://enwikinews.googlecode.com/svn/ | PHP | 60 lines
1<?php 2require_once('config.inc.php'); 8$GLOBALS['fast'] = true; 9DEFINE('API_ROOT','http://en.wikinews.org/w/api.php?'); 10DEFINE('INDEX_ROOT','http://en.wikinews.org/w/index.php?'); 43 curl_setopt($ch, CURLOPT_USERAGENT, $UA); 44 ob_start(); 45 curl_exec($ch);dumper.php git://github.com/campaignmonitor/createsend-php.git | PHP | 360 lines
1<?php 2/** 5 * @subpackage UnitTester 6 * @version $Id: dumper.php 1723 2008-04-08 00:34:10Z lastcraft $ 7 */ 352 function dump($variable) { 353 ob_start(); 354 print_r($variable);smarty_internal_compile_include.php git://github.com/benkeen/generatedata.git | PHP | 215 lines
1<?php 2/** 154 // remove header code 155 $compiled_code = preg_replace("/(<\?php \/\*%%SmartyHeaderCode:{$tpl->properties['nocache_hash']}%%\*\/(.+?)\/\*\/%%SmartyHeaderCode%%\*\/\?>\n)/s", '', $compiled_code); 156 if ($tpl->has_nocache_code) { 188 $_hash = $compiler->smarty->merged_templates_func[$tpl_name]['nocache_hash']; 189 $_output = "<?php /* Call merged included template \"" . $tpl_name . "\" */\n"; 190 $_output .= "\$_tpl_stack[] = \$_smarty_tpl;\n"; 192 if (isset($_assign)) { 193 $_output .= 'ob_start(); '; 194 } 205 if (isset($_assign)) { 206 $_output = "<?php \$_smarty_tpl->tpl_vars[$_assign] = new Smarty_variable(\$_smarty_tpl->getSubTemplate ($include_file, $_cache_id, $_compile_id, $_caching, $_cache_lifetime, $_vars, $_parent_scope));?>\n";; 207 } else { 207 } else { 208 $_output = "<?php echo \$_smarty_tpl->getSubTemplate ($include_file, $_cache_id, $_compile_id, $_caching, $_cache_lifetime, $_vars, $_parent_scope);?>\n"; 209 }packageWriter.php git://github.com/peej/phpdoctor.git | PHP | 291 lines
1<?php 2/* 2/* 3PHPDoctor: The PHP Documentation Creator 4Copyright (C) 2004 Paul James <paul@peej.co.uk> 23 * 24 * @package PHPDoctor\Doclets\Standard 25 */ 38 $rootDoc =& $this->_doclet->rootDoc(); 39 $phpdoctor =& $this->_doclet->phpdoctor(); 40 40 41 $displayTree = $phpdoctor->getOption('tree'); 42 63 64 ob_start(); 65moscomment.php http://miacms.googlecode.com/svn/trunk/ | PHP | 186 lines
1<?php 2/** 3 * @package MiaCMS 4 * @author MiaCMS see README.php 5 * @copyright see README.php 5 * @copyright see README.php 6 * See COPYRIGHT.php for copyright notices and details. 7 * @license GNU/GPL Version 2, see LICENSE.php 15 16require_once mosCorePathAppend('/components/com_comment/comment.class.php'); 17require_once mosCorePathAppend('/mambots/content/moscomment.html.php'); 53 if (in_array ($row->sectionid, $this->config['allow_comments_in_sections'])) { 54 ob_start(); 55 $total = $this->totalComments($row->id); 152 function cleanVars() { 153 require_once(mamboCore::get('mosConfig_absolute_path').'/includes/phpInputFilter/class.inputfilter.php'); 154 static $process;original_version_simple.php http://rserve-php.googlecode.com/svn/trunk/ | PHP | 202 lines
1<?php ob_start(); // just to make sure we can send headers 2// 2// 3// Simple Rserve client for PHP. 4// Supports Rserve protocol 0103 only (used by Rserve 0.5 and higher) 27// eval are not implemented (e.g. complex). Also note that 28// arrays behave strangely in PHP (e.g. string indices get 29// converted to integers and behave differently than they 29// converted to integers and behave differently than they 30// should) so beware that those quirks in PHP can cause 31// trouble for some named lists in R where the conventions 31// trouble for some named lists in R where the conventions 32// are not as erratic as in PHP. 33 122 } 123 echo "Warning: type ".$ra." is currently not implemented in the PHP client."; 124 return FALSE;XButtonColumn.php http://chenjin.googlecode.com/svn/trunk/ | PHP | 122 lines
1<?php 2/** 20 * @author Qiang Xue <qiang.xue@gmail.com> 21 * @version $Id: XButtonColumn.php 149 2011-07-22 18:39:37Z mole1230 $ 22 * @package zii.widgets.grid 40 * 'label'=>'...', // text label of the button 41 * 'url'=>'...', // a PHP expression for generating the URL of the button 42 * 'imageUrl'=>'...', // image URL of the button. If not set or false, a text link is used 44 * 'click'=>'...', // a JS function to be invoked when the button is clicked 45 * 'visible'=>'...', // a PHP expression for determining whether the button is visible 46 * ) 47 * </pre> 48 * In the PHP expression for the 'url' option and/or 'visible' option, the variable <code>$row</code> 49 * refers to the current row number (zero-based), and <code>$data</code> refers to the data model for 78 $tr = array(); 79 ob_start(); 80 foreach ($this->buttons as $id => $button) {sua_hanghoa.php http://webdienmay.googlecode.com/svn/trunk/ | PHP | 166 lines
1<?php 2ob_start(); 5if(isset($_SESSION['username'])&&$_SESSION['level']==2){ 6 require("../includes/config.php"); 7 if(isset($_POST['ok'])){ 51 mysql_close($conn); 52 header("location:hanghoa.php"); 53 exit(); 77 <link href="style.css" rel="stylesheet" name="text/css" /> 78 <form action="them_hanghoa.php" method="post"> 79 <center> 84<td width="200"> 85<select name="slloaihang" onChange="location.href='them_hanghoa.php?idloaihang='+this.value;"> 86 <option value="-1">Ch?n Lo?i Hŕng</option> 87 88 <?php 89 $sql="select * from loaihang order by tenloai ASC";Footer.class.php git://github.com/phpmyadmin/phpmyadmin.git | PHP | 337 lines
1<?php 2/* vim: set expandtab sw=4 ts=4 sts=4: */ 5 * 6 * @package PhpMyAdmin 7 */ 7 */ 8if (! defined('PHPMYADMIN')) { 9 exit; 11 12require_once 'libraries/Scripts.class.php'; 13 16 * 17 * @package PhpMyAdmin 18 */ 172 173 ob_start(); 174 print_r($_SESSION['debug']);Gateway.php http://swx-format.googlecode.com/svn/trunk/ | PHP | 424 lines
33{ 34 require_once(AMFPHP_BASE . "shared/util/CompatPhp5.php"); 35} 37{ 38 require_once(AMFPHP_BASE . "shared/util/CompatPhp4.php"); 39} 42require_once(AMFPHP_BASE . "shared/util/NetDebug.php"); 43require_once(AMFPHP_BASE . "shared/util/Headers.php"); 44require_once(AMFPHP_BASE . "shared/exception/MessageException.php"); 77 include_once(AMFPHP_BASE . "shared/app/php5Executive.php"); 78 include_once(AMFPHP_BASE . "shared/exception/php5Exception.php"); 79 } 83 include_once(AMFPHP_BASE . "shared/app/php4Executive.php"); 84 include_once(AMFPHP_BASE . "shared/exception/php4Exception.php"); 85 }index.php http://mithos-framework-muonline.googlecode.com/svn/trunk/ | PHP | 67 lines
1<?php 2 2 3require_once 'support.php'; 4 6define('DS', DIRECTORY_SEPARATOR); 7define('WWW', dirname($_SERVER['PHP_SELF']) . '/'); 8define('SMARTY_DIR', ROOT . DS . 'libs' . DS . 'Smarty' . DS); 9define('IS_AJAX', isset($_SERVER['HTTP_X_REQUESTED_WITH']) && strtolower($_SERVER['HTTP_X_REQUESTED_WITH']) == 'xmlhttprequest'); 10define('CONFIG_DATABASE_FILE', 'configs/database.php'); 11 15))); 16require_once SMARTY_DIR . 'Smarty.class.php'; 17require_once 'Zend/Loader/Autoloader.php'; 24 25 $config = new Zend_Config(require 'configs/settings.php'); 26 $database = new Zend_Config(require CONFIG_DATABASE_FILE);NMOX.class.php http://nmox.googlecode.com/svn/trunk/ | PHP | 1 lines
1<?php /** * /nmox/main/classes/NMOX.class.php * * @author David Christian Liedle <david.liedle@gmail.com> * @link http://nmox.org/ * */ class NMOX implements iNMOX { ############################################################################ # Public properties # public $NMOX_CFG; public $NMOX_MOD; public $NMOX_ANX; ######################################################################## # Protected properties # protected $manna; // what is it? #################################################################### # Private properties # // None... ############################################################################ # Constructor # public function __construct(){ // Globalize relevant resources: global $NMOX_CFG; // Configuration (in config.php) global $myXHTML, $myCSS; // module objects (deprecated) global $myANX; // ANX objects (under /annex) // AUTO-INSTANTIATE (according to config): foreach( $NMOX_CFG['AUTO'] as $key=>$value ){ switch( $key ){ case "Database": $this->database_on(); case "Foxpaws": $this->errors_on(); case "Security": $this->styles_on(); } } } ############################################################################ # NMOX Class Methods # public function become( $constant ){ // become an object type if( !$this->check_manna() ){ switch( $constant ){ case "page": $this->manna = new Page; break; case "text": $this->manna = new Text; break; default: $this->manna = "error"; echo xER( "Unknown NMOX Server Object Type: " . $constant ); } } else { // REPLACE WITH FOXPAWS ERROR, when FoxPaws is ready for that: echo xER( "I can't become a " . $constant . " object; I'm already set." ); } } protected function check_manna(){ // See what state it is in: if( is_object($this->manna) ){ return TRUE; } else { return FALSE; } } public function export_object(){ // use to hand-off the become()-triggered object instance outside here return $this->manna; } #### # NMOX Server Housekeeping Methods # public function xbreak(){ // breakpoints with exit() (find LINE) die("$X->xbreak() has been called..."); } public function chain($clink=FALSE){ // view the chain, or arg BOOL if on chain if( $clink ){ // test for $clink on chain } else { // show chain } } public function dump( $filepath=FALSE ){ // like status, but writes to file if( $filepath ){ // write to filepath } else { // force download } } public function forward(){ // use junction to alert user that forward will now occur } public function help(){ // like python module help } public function info(){ // like PHPINFO } public function powers(){ // list all we can do } public function probe(){ // see if we're up and ok // check the following: // - ? // - ? } public function redirect($target=FALSE){ // instant redirect if( !$target ) $target = 'http://nmox.org/'; // change this to pref header('Location: '.$target); } public function status(){ // snapshot of models // note: some form of ascii-art tree layout might be useful } public function trace(){ // like Emacs backtrace; probably needs to be wired in throughout } public function yelp(){ // alias to FoxPaws (in body?) } ############################################################################ # Universal Tactics Methods # public function bake(){ $this->manna->bake(); // assemble for output } public function burn(){ $this->manna->burn(); // so-far instant output } public function commit(){ $this->manna->commit(); // lock output } ############################################################################ # Deprecated Methods # public function database_on(){ // } public function doCoolStuff(){ // example function for testing oneShot("Class NMOX is doing cool stuff."); } public function errors_on(){ // } public function flow(){ // pre-bake actions } public function go_class($classname){ $my_classname = "my".$classname; global $$my_classname; } public function styles_on(){ global $NMOX_CFG; global $myCSS; if( $NMOX_CFG['MUSE']['CSS'] ){ // We have a valid module if( !isset($myCSS) ) $myCSS = new CSS; } else { // error - don't have CSS module! } } public function security_on($level){ // } public function session_on($name){ // } ############################################################################ # Page object functions # public function body( $body ){ $this->manna->add_body( $body ); } public function cssl( $css_link ){ $this->manna->set_cssl( $css_link ); } public function jsl( $js_link ){ $this->manna->set_jsl( $js_link ); } public function meta( $tag, $section='c' ){ $this->manna->add_meta( $tag, $section ); } public function postburn(){ $this->manna->postburn(); } public function preburn(){ $this->manna->preburn(); } public function title( $title ){ $this->manna->set_title( $title ); } ############################################################################ # NMOX object utils # public function obgo(){ ob_start(); } public function obend(){ ob_end_flush(); } public function __destruct(){ // handle final tasks as object is destroyed // if( !in_array('bake', $this->flog) ){ // $this->bake(); // } // if( !in_array('commit', $this->flog) ){ // $this->commit(); // } } } locateMe('/nmox/main/classes/NMOX.class.php');ob.lib.php git://github.com/jyr/MNPP.git | PHP | 112 lines
1<?php 2/* vim: set expandtab sw=4 ts=4 sts=4: */ 3/** 4 * Output buffer functions for phpMyAdmin 5 * 12 * @version $Id$ 13 * @package phpMyAdmin 14 */ 37 38 if ($GLOBALS['cfg']['OBGzip'] && function_exists('ob_start')) { 39 if (ini_get('output_handler') == 'ob_gzhandler') { 39 if (ini_get('output_handler') == 'ob_gzhandler') { 40 // If a user sets the output_handler in php.ini to ob_gzhandler, then 41 // any right frame file in phpMyAdmin will not be handled properly by 47 } elseif (function_exists('ob_get_level') && ob_get_level() > 0) { 48 // If output buffering is enabled in php.ini it's not possible to 49 // add the ob_gzhandler without a warning message from php 4.3.0.acknow.php git://pkgs.fedoraproject.org/zabbix | PHP | 218 lines
23require_once dirname(__FILE__).'/include/acknow.inc.php'; 24require_once dirname(__FILE__).'/include/triggers.inc.php'; 25require_once dirname(__FILE__).'/include/forms.inc.php'; 59 ob_end_clean(); 60 if ($_REQUEST['backurl'] == 'tr_events.php') { 61 redirect($_REQUEST['backurl'].'?eventid='.$_REQUEST['eventid'].'&triggerid='.$_REQUEST['triggerid']); 62 } 63 elseif ($_REQUEST['backurl'] == 'screenedit.php') { 64 redirect($_REQUEST['backurl'].'?screenid='.$_REQUEST['screenid']); 191} 192elseif ($_REQUEST['backurl'] == 'screenedit.php' || $_REQUEST['backurl'] == 'screens.php') { 193 $frmMsg->addVar('screenid', $_REQUEST['screenid']); 215 216require_once dirname(__FILE__).'/include/page_footer.php'; 217?>install_.php git://github.com/imagecms/ImageCMS.git | PHP | 364 lines
1<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); 2 13 14 $this->host = 'http://'.str_replace('index.php', '',$_SERVER['HTTP_HOST'].$_SERVER['SCRIPT_NAME']).'index.php/'; 15 $this->load->helper('string'); 33 $dir_array = array( 34 './application/config/config.php' => 'ok', 35 './system/cache' => 'ok', 73 74 // Check installed php exts. 75 $exts = array( 123 { 124 ob_start(); 125 phpinfo(INFO_MODULES); 278 { 279 $config_file = APPPATH.'config/config.php'; 280 $config_file_copy = APPPATH.'modules/install/config.php';Gateway.php http://swx-format.googlecode.com/svn/trunk/ | PHP | 406 lines
33{ 34 require_once(AMFPHP_BASE . "shared/util/CompatPhp5.php"); 35} 37{ 38 require_once(AMFPHP_BASE . "shared/util/CompatPhp4.php"); 39} 41require_once(AMFPHP_BASE . "shared/util/CharsetHandler.php"); 42require_once(AMFPHP_BASE . "shared/util/NetDebug.php"); 43require_once(AMFPHP_BASE . "shared/util/Headers.php"); 77 include_once(AMFPHP_BASE . "shared/app/php5Executive.php"); 78 include_once(AMFPHP_BASE . "shared/exception/php5Exception.php"); 79 } 83 include_once(AMFPHP_BASE . "shared/app/php4Executive.php"); 84 include_once(AMFPHP_BASE . "shared/exception/php4Exception.php"); 85 }upload-functions.php http://core.svn.wordpress.org/ | PHP | 359 lines
81 ?></h2> 82 <span><?php 83 echo '[ '; 98 </div> 99 <?php the_attachment_links( $id ); ?> 100 </div> 108?> 109 <form<?php echo $enctype; ?> id="upload-file" method="post" action="<?php echo get_option('siteurl') . "/wp-admin/upload.php?style=$style&tab=upload&post_id=$post_id"; ?>"> 110<?php 153 <th scope="row"><label for="post_title"><?php _e('Title'); ?></label></th> 154 <td><input type="text" id="post_title" name="post_title" value="<?php echo $attachment->post_title; ?>" /></td> 155 </tr> 156 <tr> 157 <th scope="row"><label for="post_content"><?php _e('Description'); ?></label></th> 158 <td><textarea name="post_content" id="post_content"><?php echo $attachment->post_content; ?></textarea></td>model.test.php git://github.com/klevo/wildflower.git | PHP | 109 lines
1<?php 2/* SVN FILE: $Id$ */ 7 * 8 * PHP versions 4 and 5 9 * 9 * 10 * CakePHP : Rapid Development Framework (http://cakephp.org) 11 * Copyright 2006-2010, Cake Software Foundation, Inc. 16 * @copyright Copyright 2006-2010, Cake Software Foundation, Inc. 17 * @link http://cakefoundation.org/projects/info/cakephp CakePHP Project 18 * @package cake 19 * @subpackage cake.tests.cases.console.libs.tasks 20 * @since CakePHP v 1.2.6 21 * @license http://www.opensource.org/licenses/mit-license.php The MIT License 29if (!class_exists('ShellDispatcher')) { 30 ob_start(); 31 $argv = false;url_helper.php http://xtraupload.googlecode.com/svn/trunk/ | PHP | 582 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 * 337 $x = array_reverse($x); 338 ob_start(); 339 342 var l=new Array(); 343 <?php 344 $i = 0; 344 $i = 0; 345 foreach ($x as $val){ ?>l[<?php echo $i++; ?>]='<?php echo $val; ?>';<?php } ?> 346 350 //]]> 351 </script><?php 352Client.php git://pkgs.fedoraproject.org/php-pluf | PHP | 138 lines
1<?php 2/* -*- tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ 4# ***** BEGIN LICENSE BLOCK ***** 5# This file is part of Plume Framework, a simple PHP Application Framework. 6# Copyright (C) 2001-2007 Loic d'Anterroches and contributors. 28 * <code> 29 * $client = new Pluf_Test_Client('./path/to/app-views.php'); 30 * $response = $client->get('/the/page/', array('var'=>'toto')); 74 list($request, $response) = $this->dispatcher->dispatch($page); 75 ob_start(); 76 $response->render(); 127 { 128 $page = parse_url($location, PHP_URL_PATH); 129 $query = parse_url($location, PHP_URL_QUERY);HttpTestCaseTest.php http://firephp.googlecode.com/svn/trunk/ | PHP | 0 lines
1<?php 2// Call Zend_Controller_Response_HttpTestCaseTest::main() if this source file is executed directly. 2// Call Zend_Controller_Response_HttpTestCaseTest::main() if this source file is executed directly. 3if (!defined("PHPUnit_MAIN_METHOD")) { 4 define("PHPUnit_MAIN_METHOD", "Zend_Controller_Response_HttpTestCaseTest::main"); 6 7require_once dirname(__FILE__) . '/../../../TestHelper.php'; 8 9/** Zend_Controller_Response_HttpTestCase */ 10require_once 'Zend/Controller/Response/HttpTestCase.php'; 11 14 */ 15class Zend_Controller_Response_HttpTestCaseTest extends PHPUnit_Framework_TestCase 16{ 23 { 24 $suite = new PHPUnit_Framework_TestSuite("Zend_Controller_Response_HttpTestCaseTest"); 25 $result = PHPUnit_TextUI_TestRunner::run($suite);SetupCli.php http://rhaco.googlecode.com/svn/rhaco_1_x/trunk/ | PHP | 190 lines
1<?php 2Rhaco::import("io.Stream"); 61 if(trim($store) != ""){ 62 ob_start(); 63 eval($store); 141 $result = array(); 142 $body = Http::body("http://jp2.php.net/manual/ja/function.".$func.".php"); 143 if(SimpleTag::setof($tag,$body,"body")){header.inc.php http://flaimo-php.googlecode.com/svn/trunk/ | PHP | 180 lines
1<?php 2ob_start(); 159 160include_once('class.ReloadPreventer.inc.php'); 161atom_sample_script.php http://flaimo-php.googlecode.com/svn/trunk/ | PHP | 105 lines
1<?php 2/* vim: set expandtab tabstop=4 shiftwidth=4: */ 16* @package AtomBuilder 17* @category flaimo-php 18* @filesource 20error_reporting(E_ALL); 21ob_start(); 22include_once '../inc/class.AtomBuilder.inc.php'; 29$atom->setRights('2005-2006 Š Example.com'); //optional 30$atom->setUpdated('2005-10-20T10:04:00Z'); // required !! last time the feed or one of it's entries was last modified/updated; in php5 you can use date('c', $timestamp) to generate a valid date 31$atom->setAuthor('Flaimo', 'flaimo@example.com', 'http://example.com'); // name required, email and url are optional 37/* you can add a lot of different links to the feed and it's entries, see intertwingly.net/wiki/pie/ for more infos */ 38$atom->addLink('http://php.net/', 'Official PHP homepage', 'related', 'text/html', 'en'); 39$atom->addLink('http://example.com/', 'Example.com HTML Homepage', 'alternate', 'text/html', 'en'); 74$entry_2->addLink('http://flaimo.com/'); // only the url is required, the rest is optional 75$entry_2->addCategory('PHP', 'http://www.example.com/tags', 'PHP-Scripting'); // optional 76$entry_2->setSummary('A short summary of the entry');ref.overload.html git://pkgs.fedoraproject.org/kdewebdev | HTML | 465 lines
8REL="HOME" 9TITLE="PHP Manual" 10HREF="index.html"><LINK 14REL="PREVIOUS" 15TITLE="ob_start" 16HREF="function.ob-start.html"><LINK 40ALIGN="center" 41>PHP Manual</TH 42></TR 150including the names of its functions and anything else documented 151about this extension -- may change without notice in a future release of PHP. 152Use this extension at your own risk.</P 178> In order to use these functions, you must compile 179 PHP with the <TT 180CLASS="option"%%23^23A^23A54099%%debug.tpl.php http://three-cms.googlecode.com/svn/trunk/ | PHP | 263 lines
2 compiled from ../../system/smarty/debug.tpl */ ?> 3<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php'); 4smarty_core_load_plugins(array('plugins' => array(array('function', 'assign_debug_info', '../../system/smarty/debug.tpl', 3, false),array('function', 'cycle', '../../system/smarty/debug.tpl', 119, false),array('modifier', 'escape', '../../system/smarty/debug.tpl', 102, false),array('modifier', 'string_format', '../../system/smarty/debug.tpl', 105, false),array('modifier', 'debug_print_var', '../../system/smarty/debug.tpl', 121, false),)), $this); ?> 6 7<?php ob_start(); ?> 8<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> 150?> <?php endfor; endif; ?> 151 <font color=<?php if ($this->_tpl_vars['_debug_tpls'][$this->_sections['templates']['index']]['type'] == 'template'): ?>brown<?php elseif ($this->_tpl_vars['_debug_tpls'][$this->_sections['templates']['index']]['type'] == 'insert'): ?>black<?php else: ?>green<?php endif; ?>> 152 <?php echo ((is_array($_tmp=$this->_tpl_vars['_debug_tpls'][$this->_sections['templates']['index']]['filename'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?> 157) 158 <?php if ($this->_sections['templates']['index'] == 0): ?>(total)<?php endif; ?> 159 </span> 169<table id="table_assigned_vars"> 170 <?php unset($this->_sections['vars']); 171$this->_sections['vars']['name'] = 'vars';search.php https://bitbucket.org/wez/mtrack/ | PHP | 440 lines
1<?php # vim:ts=2:sw=2:et: 2/* For licensing and copyright terms, see the file named LICENSE */ 3 4include MTRACK_INC_DIR . '/search/lucene.php'; 5include MTRACK_INC_DIR . '/search/solr.php'; 79 if (MTrackConfig::get('core', 'update_search_immediate')) { 80 ob_start(); 81 } 118 if (preg_match("/^help$/i", $q)) { 119 return array("Help on $q", $ABSWEB . 'help.php'); 120 } 123 $t = $M[1]; 124 $url = $ABSWEB . "ticket.php/$t"; 125 return array("<a href='$url' class='ticketlink'>Ticket #$t</a>", $url); 128 $t = $M[1]; 129 $url = $ABSWEB . "ticket.php/$t"; 130 return array("<a href='$url' class='ticketlink'>Ticket #$t</a>", $url);index.php http://textpattern.googlecode.com/svn/development/4.x/ | PHP | 233 lines
1<?php 2 68 69ob_start(NULL, 2048); 70 70 71if (!isset($txpcfg['table_prefix']) && !@include './config.php') { 72 ob_end_clean(); 73 header('HTTP/1.1 503 Service Unavailable'); 74 exit('config.php is missing or corrupt. To install Textpattern, visit <a href="./setup/">setup</a>.'); 75} else { 83 84include txpath.'/vendors/Textpattern/Loader.php'; 85 91 92include_once txpath.'/lib/constants.php'; 93include txpath.'/lib/txplib_misc.php';recordsetpager.php http://webpy-php-port.googlecode.com/svn/trunk/ | PHP | 237 lines
1<?php 2 167 $this->buildQuery($_GET); 168 ob_start(); 169 if (!$this->rs->AtFirstPage()) {controller.php http://j3-php-framework.googlecode.com/svn/trunk/ | PHP | 290 lines
2include("libs/log4php/Logger.php"); 3require_once("libs/FirePHPCore/FirePHP.class.php"); 4require_once("libs/localuser.php"); 15 static public $instancia = null; 16 protected $myFirePhp; 17 protected $logger; 66 ob_start(); 67 $this->myFirePhp = FirePHP::getInstance(true); 68 //Logger 95 } else 96 if (file_exists("vistas/$name/$vista.php")) { 97 $this->showView("vistas/$name/$vista.php"); 98 } else { 99 echo "ERROR: Vista <strong>$vista.php</strong> no definida. :("; 100 }zarafa.php git://pkgs.fedoraproject.org/zarafa | PHP | 249 lines
1<?php 2/* 51?> 52<?php 53 /** 58 // Include files 59 include("config.php"); 60 include("defaults.php"); 60 include("defaults.php"); 61 include("server/util.php"); 62 require("server/PEAR/JSON.php"); 63 64 require("mapi/mapi.util.php"); 65 require("mapi/mapicode.php"); 65 require("mapi/mapicode.php"); 66 require("mapi/mapidefs.php"); 67 require("mapi/mapitags.php");RECacheManager.php git://github.com/TomFrost/Hydrogen.git | PHP | 321 lines
1<?php 2/* 174 ); 175 ob_start(array($this, 'endPageCache')); 176 } 208 ); 209 ob_start(array($this, 'endPageCache')); 210 break;functions.php http://full-page-backgrounds-webdogz.googlecode.com/svn/ | PHP | 97 lines
1<?php 2 61function assignImage($image, $centerImage) { 62 ob_start(); 63 ?> 68 startheight: 480, 69 vertical_center: <?php echo $centerImage; ?>, 70 slides : [ 70 slides : [ 71 {image : '<?php echo $image; ?>' } 72 ] 76 77 <?php 78 return ob_get_clean();AkelosGenerator.php http://akelosframework.googlecode.com/svn/trunk/ | PHP | 226 lines
1<?php 2/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ 43 44 if(file_exists(AK_SCRIPT_DIR.DS.'generators'.DS.$generator_name.DS.$generator_name.'_generator.php')){ 45 include_once(AK_SCRIPT_DIR.DS.'generators'.DS.$generator_name.DS.$generator_name.'_generator.php'); 115 116 ob_start(); 117 include(AK_SCRIPT_DIR.DS.'generators'.DS.$this->type.DS.($sintags_version?'sintags_':'').'templates'.DS.(strstr($template,'.') ? $template : $template.'.tpl')); 214 $generator = array_shift(array_keys($folder)); 215 if(strstr($generator,'.php')){ 216 continue;ticker_example_script.php http://flaimo-php.googlecode.com/svn/trunk/ | PHP | 239 lines
1<?php 2/* vim: set expandtab tabstop=4 shiftwidth=4: */ 23session_start(); 24include_once 'class.Ticker.inc.php'; 25$t = new Ticker(20); 169<h1><a href="http://sourceforge.net/projects/php-flp/">SMS/E-Mail Ticker</a> <small>(V1.002)</small></h1> 170<p>To test the script, send a <acronym title="Short Message Service" lang="en" xml:lang="en">SMS</acronym> (cell phone text message) or mail to ticker@flaimo.com. The message body has to start with "<?php echo $t->getStartString(); ?>" and end with "<?php echo $t->getEndString(); ?>". Only the first 160 characters are displayed. Guidelines for a couple of cell phone companies on how to send a SMS to an e-mail can be found <a href="sms2mail.htm">here</a>.</p> 171<p>Some download servers at sourceforge.net seem to be down. Be sure to try all mirror servers that are listed there.</p> 171<p>Some download servers at sourceforge.net seem to be down. Be sure to try all mirror servers that are listed there.</p> 172<h2>Last <?php echo $t->getListSize(); ?> Messages</h2> 173<?php 191 <div name="tickerspace" id="tickerID" class="ticker"> 192 <?php echo $singlestring; ?> 193 </div> 208<?php if ($t->hasMessageWritten() === FALSE) { ?> 209 <form name="ticker" id="ticker" method="post" action="<?php echo $_SERVER['PHP_SELF']; ?>"> 210 <p>Plugin_Smarty_function_select_Test.php git://github.com/ethna/ethna.git | PHP | 57 lines
1<?php 2// vim: foldmethod=marker 3/** 4 * Plugin_Smarty_function_select_Test.php 5 * 9 10require_once ETHNA_BASE . '/class/Plugin/Smarty/function.select.php'; 11 13/** 14 * Test Case For function.select.php 15 * 36 37 ob_start(); 38 smarty_function_select($params, $dummy_smarty); 47 . "</select>\n"; 48 ob_start(); 49 smarty_function_select($params, $dummy_smarty);agressiveCache.php http://opixido-ocms.googlecode.com/svn/trunk/ | PHP | 126 lines
1<?php 2 115 */ 116 ob_start(); 117OAuthRequestLogger.php git://github.com/jasonhinkle/phreeze.git | PHP | 318 lines
1<?php 2 5 * 6 * @version $Id: OAuthRequestLogger.php 98 2010-03-08 12:48:59Z brunobg@corollarium.com $ 7 * @author Marc Worrell <marcw@pobox.com> 68 OAuthRequestLogger::$request_object = $request_object; 69 ob_start(); 70 132 133 // updated by j.hinkle to avoid re-reading php://input, which messes up PUT requests 134 include_once('verysimple/HTTP/RequestUtil.php'); 135 $body = RequestUtil::GetBody(); 136// $fh = @fopen('php://input', 'r'); 137// if ($fh) 275 * helper to try to sort out headers for people who aren't running apache, 276 * or people who are running PHP as FastCGI. 277 *moddashboardwidget.class.php git://github.com/modxcms/revolution.git | PHP | 326 lines
1<?php 2/* 75 $scriptProperties = $this->toArray(); 76 ob_start(); 77 $className = include_once $content; 95 break; 96 /* PHP (Snippet) widget */ 97 case 'php': 97 case 'php': 98 $widget = new modDashboardPhpWidget($this->xpdo,$this,$controller); 99 break; 151/** 152 * A widget that runs its content as PHP in Snippet-like format to get its content. 153 * @package modx 155 */ 156class modDashboardPhpWidget extends modDashboardWidgetInterface { 157 public function render() {config.php git://github.com/eryx/php-framework-benchmark.git | PHP | 212 lines
117 $phpini = true; 118 $majorProblems[] = 'Set the "<strong>date.timezone</strong>" setting in php.ini<a href="#phpini">*</a> (like Europe/Paris).'; 119} 122 $phpini = true; 123 $minorProblems[] = 'Set <strong>short_open_tag</strong> to <strong>off</strong> in php.ini<a href="#phpini">*</a>.'; 124} 127 $phpini = true; 128 $minorProblems[] = 'Set <strong>magic_quotes_gpc</strong> to <strong>off</strong> in php.ini<a href="#phpini">*</a>.'; 129} 132 $phpini = true; 133 $minorProblems[] = 'Set <strong>register_globals</strong> to <strong>off</strong> in php.ini<a href="#phpini">*</a>.'; 134} 137 $phpini = true; 138 $minorProblems[] = 'Set <strong>session.auto_start</strong> to <strong>off</strong> in php.ini<a href="#phpini">*</a>.'; 139}article_keywords_make.php http://jqbird.googlecode.com/svn/trunk/ | PHP | 223 lines
1<?php 2@ob_start(); 3@set_time_limit(3600); 4require_once(dirname(__FILE__).'/config.php'); 5CheckPurview('sys_Keyword'); 98 } 99 ShowMsg('??????????????????','article_keywords_main.php'); 100 exit(); 104{ 105 require_once(DEDEINC."/splitword.class.php"); 106 if(empty($startdd)) 210 { 211 $nurl = "article_keywords_make.php?dopost=fetch&totalnum=$totalnum&startdd=".($startdd+$pagesize)."&pagesize=$pagesize"; 212 ShowMsg($tjsta,$nurl,0,500);PhpEngine.php git://github.com/pmjones/php-framework-benchmarks.git | PHP | 504 lines
1<?php 2 20/** 21 * PhpEngine is an engine able to render PHP templates. 22 * 24 */ 25class PhpEngine implements EngineInterface, \ArrayAccess 26{ 130 131 return 'php' === $template->get('engine'); 132 } 147 $view = $this; 148 ob_start(); 149 require $__template__; 154 $view = $this; 155 ob_start(); 156 eval('; ?>'.$__template__.'<?php ;');xacars.php git://github.com/nshahzad/phpVMS.git | PHP | 361 lines
1<?php 2 3/** 4 * phpVMS ACARS integration 5 * 11 * The URL given is: 12 * <site>/index.php/acars/xacars/<action> 13 * 13 * 14 * SDK Docs: http://www.xacars.net/index.php?Client-Server-Protocol 15 */ 256 257 ob_start(); 258style.css.php git://github.com/Dolibarr/dolibarr.git | PHP | 521 lines
1<?php 2/* Copyright (C) 2012 Nicolas Péré <nicolas@amarok2.net> 19/** 20 * \file htdocs/theme/amarok/style.css.php 21 * \brief Fichier de style CSS du theme amarok 36 37require_once("../../main.inc.php"); 38require_once(DOL_DOCUMENT_ROOT."/core/lib/functions.lib.php"); 41header('Content-type: text/css'); 42// Important: Following code is to avoid page request by browser and PHP CPU at 43// each Dolibarr page access. 47// On the fly GZIP compression for all pages (if browser support it). Must set the bit 3 of constant to 1. 48if (isset($conf->global->MAIN_OPTIMIZE_SPEED) && ($conf->global->MAIN_OPTIMIZE_SPEED & 0x04)) { ob_start("ob_gzhandler"); } 49 67 margin:0; 68 font-size: <?php print $fontsize ?>px; 69 font-family: <?php print $fontlist ?>;raider_armory.php http://raidattendance.googlecode.com/svn/trunk/ | PHP | 318 lines
1<?php 2/** 4 * @package raidattendance 5 * @version $Id: functions_raidattendance.php 9462 2009-04-17 15:35:56Z acydburn $ 6 * @copyright (c) 2009 TA 6 * @copyright (c) 2009 TA 7 * @license http://opensource.org/licenses/gpl-license.php GNU Public License 8 * 13 */ 14if (!defined('IN_PHPBB')) 15{ 17} 18global $phpEx; 19 19 20require_once 'constants.' . $phpEx; 21require_once 'raider.' . $phpEx;%%5C^5C5^5C5DA8BF%%pager.html.php http://sharebooks.googlecode.com/svn/trunk/ | PHP | 60 lines
6 <?php if ($this->_tpl_vars['data']['first']): ?> 7 <a href="<?php $this->_tag_stack[] = array('html', array()); $_block_repeat=true;smarty_block_html($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?><?php echo $this->_tpl_vars['url_base']; ?> 8/<?php echo $this->_tpl_vars['data']['arg']; ?> 15 <?php if ($this->_tpl_vars['data']['previous']): ?> 16 <a href="<?php $this->_tag_stack[] = array('html', array()); $_block_repeat=true;smarty_block_html($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?><?php echo $this->_tpl_vars['url_base']; ?> 17/<?php echo $this->_tpl_vars['data']['arg']; ?> 34/<?php echo $this->_tpl_vars['page']; ?> 35<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_html($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); } array_pop($this->_tag_stack); ?>"><?php $this->_tag_stack[] = array('html', array()); $_block_repeat=true;smarty_block_html($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?><?php echo $this->_tpl_vars['page']; ?> 36<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_html($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); } array_pop($this->_tag_stack); ?></a> 43 <?php if ($this->_tpl_vars['data']['next']): ?> 44 <a href="<?php $this->_tag_stack[] = array('html', array()); $_block_repeat=true;smarty_block_html($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?><?php echo $this->_tpl_vars['url_base']; ?> 45/<?php echo $this->_tpl_vars['data']['arg']; ?> 52 <?php if ($this->_tpl_vars['data']['last']): ?> 53 <a href="<?php $this->_tag_stack[] = array('html', array()); $_block_repeat=true;smarty_block_html($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?><?php echo $this->_tpl_vars['url_base']; ?> 54/<?php echo $this->_tpl_vars['data']['arg']; ?>uploader.php http://novaboard.googlecode.com/svn/trunk/ | PHP | 399 lines
1<?php 2ob_start("ob_gzhandler"); 17// Best to include the config file.. 18include "../includes/config.php"; 19 19 20$my_address="http://".$_SERVER['HTTP_HOST']."".$_SERVER['PHP_SELF']; 21 21 22$nova_domain = str_replace('/uploads/uploader.php', '', $my_address); // returns http://myforum.com/forum style address 23 26 27include "../scripts/php/functions.php"; 28 122 123$findme = '.php.'; 124$pos = strpos($file, $findme);assistant_edit.php git://pkgs.fedoraproject.org/WebCalendar | PHP | 85 lines
1<?php 2/* $Id: assistant_edit.php,v 1.38 2007/07/28 19:21:57 bbannon Exp $ */ 2/* $Id: assistant_edit.php,v 1.38 2007/07/28 19:21:57 bbannon Exp $ */ 3include_once 'includes/init.php'; 4 6 // Do not allow public access. 7 do_redirect ( empty ( $STARTVIEW ) ? 'month.php' : "$STARTVIEW" ); 8 exit; 14print_header ( ( $GROUPS_ENABLED == 'Y' 15 ? array ( 'js/assistant_edit.php/true' ) : '' ) ); 16 16 17ob_start (); 18 19echo ' 20 <form action="assistant_edit_handler.php" method="post" ' 21 . 'name="assistanteditform">' . ( $user ? 'class.logger.php http://pork-dbobject.googlecode.com/svn/trunk/ | PHP | 253 lines
1<?php 2 92 $trace = debug_backtrace(); 93 self::getInstance()->PHPError($var, 'TRACE', $trace[sizeof($trace) == 1 ? 0 : 1]['file'], $trace[sizeof($trace) == 1 ? 0 : 1]['line'], $trace); 94// self::getInstance()->createLog(Array('Variable' => $var, 'Parameters' => func_get_args(), 'Trace'=>$trace), 'TRACE'); 98 /** 99 * Logger::PHPError 100 * Catches PHP errors to the database. 101 */ 102 public function PHPError($errstr, $err, $errfile, $errline, $backtrace) 103 { 146 if($type == 'TRACE') { 147 ob_start(); 148 debug_print_backtrace();tiny_mce_gzip.php http://vanilla-journal.googlecode.com/svn/trunk/ | PHP | 269 lines
1<?php 2/** 2/** 3 * $RCSfile: tiny_mce_gzip.php,v $ 4 * $Revision: $ 38 39// Patch older versions of PHP < 4.3.0 40if (!function_exists('file_get_contents')) { 80 if (!$diskCache) 81 ob_start("ob_gzhandler"); 82} else 164 for (var i=0; i<elements.length; i++) { 165 if (elements[i].src && elements[i].src.indexOf("tiny_mce_gzip.php") != -1) { 166 scriptURL = elements[i].src;functions-install.php http://yourls.googlecode.com/svn/trunk/ | PHP | 295 lines
1<?php 2 28/** 29 * Check if PHP > 4.3 30 * 31 */ 32function yourls_check_php_version() { 33 return ( version_compare( '4.3', phpversion() ) <= 0 ); 66 return true; 67 } elseif ( function_exists( 'phpinfo' ) ) { 68 ob_start(); 68 ob_start(); 69 phpinfo( 8 ); 70 $phpinfo = ob_get_clean(); 70 $phpinfo = ob_get_clean(); 71 if ( false !== strpos( $phpinfo, $mod ) ) 72 return true;Template.php git://github.com/pmjones/php-framework-benchmarks.git | PHP | 177 lines
1<?php 2 82 { 83 ob_start(); 84 try {dumper.php http://noserub.googlecode.com/svn/trunk/ | PHP | 360 lines
1<?php 2/** 5 * @subpackage UnitTester 6 * @version $Id: dumper.php 807 2008-09-10 06:38:58Z dhofstet $ 7 */ 352 function dump($variable) { 353 ob_start(); 354 print_r($variable);developer_task.php git://github.com/gallery/gallery3-contrib.git | PHP | 335 lines
1<?php defined("SYSPATH") or die("No direct script access."); 2/** 60 case 5: // Generate admin controller 61 $file = "{$context['module_path']}/controllers/admin_{$context['module']}.php"; 62 ob_start(); 71 case 6: // Generate admin form 72 $file = "{$context['module_path']}/views/admin_{$context['module']}.html.php"; 73 ob_start(); 82 case 7: // Generate controller 83 $file = "{$context['module_path']}/controllers/{$context['module']}.php"; 84 ob_start(); 94 case 8: // Generate sidebar block view 95 $file = "{$context['module_path']}/views/{$context['module']}_block.html.php"; 96 ob_start(); 106 case 9: // Generate dashboard block view 107 $file = "{$context['module_path']}/views/admin_{$context['module']}_block.html.php"; 108 ob_start();View.php http://skeleton.googlecode.com/svn/trunk/ | PHP | 500 lines
1<?php 2/** 2/** 3 * View.php 4 * 4 * 5 * @license http://www.opensource.org/licenses/bsd-license.php BSD 6 * @link http://skeletonframework.com/ 94 /** 95 * @param Parameters the same as the PHP setcookie() function 96 */ 260 { 261 if (substr($template, -4, 4) != '.php') { 262 $template .= '.php'; 278 /** 279 * Include PHP template 280 *toolkit.inc.php git://pkgs.fedoraproject.org/poweradmin | PHP | 403 lines
1<?php 2ob_start(); 23 24if (! function_exists('session_start')) die(error('You have to install PHP session extension!')); 25if (! function_exists('_')) die(error('You have to install PHP gettext extension!')); 25if (! function_exists('_')) die(error('You have to install PHP gettext extension!')); 26if (! function_exists('mcrypt_encrypt')) die(error('You have to install PHP mcrypt extension!')); 27 29 30include_once("config-me.inc.php"); 31 31 32if(!@include_once("config.inc.php")) 33{ 33{ 34 error( _('You have to create a config.inc.php!') ); 35}ping.php git://pkgs.fedoraproject.org/ipplan | PHP | 92 lines
1<?php 2 20 21// system call has issue with gzip compression in some verions of php 22define("NOCOMPRESS", "TRUE"); 24require_once("../ipplanlib.php"); 25require_once("/usr/share/php/adodb/adodb.inc.php"); 26require_once("../config.php"); 27require_once("../layout/class.layout"); 28require_once("../auth.php"); 29 61// place 62ob_start("callback"); 63printhtml($p); 76// different code for Windows 77if (strpos(strtoupper(PHP_OS),'WIN') !== false) { 78 $err=system("ping $lookup", $err);