100+ results results for 'php ob_start repo:stormeus/Kusaba-Z' (161 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>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>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();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 }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 }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 54mdl.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 }txp_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'; 268category_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(); 89cake.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);?>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); ?> 60CakeHtmlReporter.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 voidCBaseController.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);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);blog_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 *new-menu.php http://jfxcms.googlecode.com/svn/ | PHP | 199 lines
1<?php 2############### COPYLEFT GPLv3 LICENSE ############### 22 23ob_start(); 24functions.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]css.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(); 106upgrade.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();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;fetchscript.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' ); 65utility.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 */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';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 mvcLib.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'];?>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");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);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);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> 95%%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 }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;sp_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);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");}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}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>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 ); 233theme.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;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; 60category_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; ?>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);_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)progress.html http://atcacode.googlecode.com/svn/trunk/ | HTML | 138 lines
1<?php ob_start('ob_gzhandler') ?> 2<!DOCTYPE html>moscomment.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";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://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);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');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);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 | 358 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 352dumper.php https://bitbucket.org/chamilo/chamilo/ | 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);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);cache.php http://mootoolstools.googlecode.com/svn/trunk/ | PHP | 66 lines
1<?php 2class cache 33 $this->caching = true; 34 ob_start(); 35 $now = time();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');%%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';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>agressiveCache.php http://opixido-ocms.googlecode.com/svn/trunk/ | PHP | 126 lines
1<?php 2 115 */ 116 ob_start(); 117moddashboardwidget.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);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(); 258raider_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);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;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 *AjaxGetAutocompletionQuery.php https://code.google.com/p/ontowiki/ | PHP | 80 lines
1<? 2 //require_once("lib/Sajax.php"); 3 require_once("PrefixHandler.php"); 3 require_once("PrefixHandler.php"); 4 require_once("QueryOptimizer.php"); 5 require_once("Logger.php"); 5 require_once("Logger.php"); 6 require_once("Options.php"); 7 7 8 include('sparqlRetrieval.php'); 9 63 function tostr($x){ 64 ob_start(); 65 print_r($x);%%3C^3C8^3C8E8BC5%%history.tpl.php http://marocmall.googlecode.com/svn/trunk/ | PHP | 127 lines
5 6<?php ob_start(); ?><a href="<?php echo $this->_tpl_vars['link']->getPageLink('my-account.php',true); ?> 7"><?php echo smartyTranslate(array('s' => 'My account'), $this);?> 55?> 56 <tr class="<?php if (($this->_foreach['myLoop']['iteration'] <= 1)): ?>first_item<?php elseif (($this->_foreach['myLoop']['iteration'] == $this->_foreach['myLoop']['total'])): ?>last_item<?php else: ?>item<?php endif; ?> <?php if (($this->_foreach['myLoop']['iteration']-1) % 2): ?>alternate_item<?php endif; ?>"> 57 <td class="history_link bold"> 94 <a href="<?php if (isset ( $this->_tpl_vars['opc'] ) && $this->_tpl_vars['opc']): ?><?php echo $this->_tpl_vars['link']->getPageLink('order-opc.php',true); ?> 95<?php else: ?><?php echo $this->_tpl_vars['link']->getPageLink('order.php',true); ?> 96<?php endif; ?>?submitReorder&id_order=<?php echo ((is_array($_tmp=$this->_tpl_vars['order']['id_order'])) ? $this->_run_mod_handler('intval', true, $_tmp) : intval($_tmp)); ?> 116<ul class="footer_links"> 117 <li><a href="<?php echo $this->_tpl_vars['link']->getPageLink('my-account.php',true); ?> 118"><img src="<?php echo $this->_tpl_vars['img_dir']; ?> 118"><img src="<?php echo $this->_tpl_vars['img_dir']; ?> 119icon/my-account.gif" alt="" class="icon" /></a><a href="<?php echo $this->_tpl_vars['link']->getPageLink('my-account.php',true); ?> 120"><?php echo smartyTranslate(array('s' => 'Back to Your Account'), $this);?>WHErrorHandler.php http://phaux.googlecode.com/svn/trunk/ | PHP | 141 lines
1<?php 2/** 55 protected $cleanExit = FALSE; 56 protected $errorUrl = "/error.php"; 57 protected $nonFatalErrors = array(); 60 $this->registerErrorHandler(); 61 ob_start(array($this, 'checkForErrorsAndOutput')); 62 return $this;View.php git://github.com/codeguy/Slim.git | PHP | 283 lines
1<?php 2/** 2/** 3 * Slim - a micro PHP 5 framework 4 * 276 extract($data); 277 ob_start(); 278 require $templatePathname;ccdsXajaxResponsePlugin.inc.php http://ccds.googlecode.com/svn/trunk/ | PHP | 305 lines
1<?php 2class ccdsResponse 67 68 ob_start(); 69 $this->_printResponse_XML(); 92 { 93 ob_start(); 94 $this->_printResponse_XML(); 133 134 ob_start(); 135 $this->_printResponse_XML();init.inc.php http://freewms.googlecode.com/svn/trunk/ | PHP | 139 lines
1<?php if(!defined('BASEPATH')) die('Access Denied'); 2/*------------------------------------------------- 22 *-----------------------------------------------*/ 23require_once BASEPATH.'config/database.php'; 24require_once BASEPATH.'config/system.php'; 28 *-----------------------------------------------*/ 29require_once BASEPATH.'inc/global.func.php'; 30 51function __autoload($class_name) { 52 $clsfile = BASEPATH.'inc/'.strtolower($class_name).'.class.php'; 53 if(!is_file($clsfile)) { 68}else{ 69 $session_lib_file = BASEPATH.'inc/session/'.SESSION_TYPE.'.php'; 70 if(is_file($session_lib_file)) { 83if(SITE_GZIP && function_exists('ob_gzhandler')) { 84 ob_start('ob_gzhandler'); 85}else{ClassInfo.php http://cmsdemo1.googlecode.com/svn/trunk/ | PHP | 99 lines
72 <td width="20%" align="center"><img src="../Img/menu_edit.png" alt="修改菜单信息" class="img" /> 73 <a href='EditClass.php?Id=<?php echo $Id ?>&MenuId=<?php echo $MenuId?>'>修改菜单信息</a> 74 </td> 75 <td width="20%" align="center"><img src="../Img/menu_delete.png" alt="删除菜单" class="img" /> 76 <a href='DeleteClass.php?Id=<?php echo $Id ?>&MenuId=<?php echo $MenuId?>' 77 onclick="return confirm('真的要删除该菜单吗?')">删除菜单</a> 79 <td width="20%" align="center"><img src="../Img/menu_add1.png" alt="添加子菜单" class="img" /> 80 <a href='AddSubClass.php?Id=<?php echo $Id ?>&MenuId=<?php echo $MenuId?>'>添加子菜单</a> 81 </td> 82 <td width="20%" align="center"><img src="../Img/news.png" alt="文章列表" class="img" /> 83 <a href='NewsList.php?Id=<?php echo $Id ?>&MenuId=<?php echo $MenuId?>'>文章列表</a> 84 </td> 85 <td width="20%" align="center"><img src="../Img/html.png" alt="生成页面" class="img" /> 86 <a href='GenPage.php?Id=<?php echo $Id ?>&MenuId=<?php echo $MenuId?>'>生成页面</a> 87 </td>admin.languages.class.php http://miacms.googlecode.com/svn/trunk/ | PHP | 333 lines
1<?php 2/** 4* @subpackage Languages 5* @author MiaCMS see README.php 6* @copyright see README.php 6* @copyright see README.php 7* See COPYRIGHT.php for copyright notices and details. 8* @license GNU/GPL Version 2, see LICENSE.php 99 100 $actionfile = dirname(__FILE__)."/actions/$actionname.action.php"; 101 $actionclass = $actionname.'Action'; 111 { 112 $viewfile = dirname(__FILE__)."/views/$viewname.view.php"; 113 $viewclass = $viewname.'View'; 121 { 122 $url = $_SERVER['PHP_SELF'].'?option='.$this->name; 123 $url .= !is_null($task) ? '&task='.$task : '';perf-db2.inc.php http://akelosframework.googlecode.com/svn/trunk/ | PHP | 102 lines
1<?php 2/* 78 $ok = $this->conn->Execute("EXPLAIN PLAN SET QUERYNO=$qno FOR $sql"); 79 ob_start(); 80 if (!$ok) echo "<p>Have EXPLAIN tables been created?</p>";function.gzip.php http://seekstudio.googlecode.com/svn/trunk/ | PHP | 93 lines
1<?php 2function gzip_ob_start($val=null) { 8 if (!isset($gz_kind)) { 9 if (ob_start($val)){ 10 $gz_kind = true; 18function chk_gzip() { 19 if (!gzip_ob_start()) { 20recordsetpager.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()) {Php.php https://code.google.com/p/mwenhanced/ | PHP | 359 lines
47 { 48 // QUERY_STRING is in form: PHPSESSID=<sid>&a=aaa&b=bbb&<id> 49 // where <id> is request ID, <sid> - session ID (if present), 49 // where <id> is request ID, <sid> - session ID (if present), 50 // PHPSESSID - session parameter name (by default = "PHPSESSID"). 51 67 ini_set('error_append_string', ini_get('error_append_string') . $this->_uniqHash); 68 ob_start(array(&$this, "_obHandler")); 69 144 */ 145 function php2js($a) 146 { 164 } else { 165 foreach ($a as $k=>$v) $result[] = JsHttpRequest::php2js($k) . ': ' . JsHttpRequest::php2js($v); 166 return '{ ' . join(', ', $result) . ' }';Dispatch.php http://kohana-mptt.googlecode.com/svn/trunk/ | PHP | 129 lines
1<?php 2 87 88 ob_start(); 89imager.module.php http://jfxcms.googlecode.com/svn/ | PHP | 374 lines
1<?php 2############### COPYLEFT GPLv3 LICENSE ############### 71function makeTree(&$tree, &$moduleObj, $showFiles=false, $folderUrl='', $fileUrl='', $folderClick='', $fileClick=''){ 72 ob_start(); 73 98 if($fileClick!=''){ 99 $click = str_replace(':|url|:', $moduleObj->imageUrl.'/serve.php?absolutepath='.htmlentities($file->getAbsolutePath()), $fileClick); 100 $click = str_replace(':|path|:', htmlentities($file->meta['filepath']), $click); 103 } 104 $url = str_replace(':|url|:', $moduleObj->imageUrl.'/serve.php?absolutepath='.urlencode($file->getAbsolutePath()), $fileUrl); 105 $url = str_replace(':|path|:', urlencode($file->meta['filepath']), $url); 194 case 'upload': 195 require($this->dirname.'/actions/upload.php'); 196 break; 198 default: 199 require($this->dirname.'/actions/browse.php'); 200 break;34a8cbaa7ed539cf4d7b5a75164294c741936e56.file.contact-form.tpl.php http://marocmall.googlecode.com/svn/trunk/ | PHP | 169 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'=>'Contact'),$_smarty_tpl);?> 22<?php Smarty::$_smarty_vars['capture']['path']=ob_get_clean();?> 26 - <?php if (isset($_smarty_tpl->getVariable('customerThread',null,true,false)->value)&&$_smarty_tpl->getVariable('customerThread')->value){?><?php echo smartyTranslate(array('s'=>'Your reply'),$_smarty_tpl);?> 27<?php }else{ ?><?php echo smartyTranslate(array('s'=>'Contact us'),$_smarty_tpl);?> 28<?php }?></h1> 85 <option value="<?php echo intval($_smarty_tpl->tpl_vars['contact']->value['id_contact']);?> 86" <?php if (isset($_POST['id_contact'])&&$_POST['id_contact']==$_smarty_tpl->tpl_vars['contact']->value['id_contact']){?>selected="selected"<?php }?>><?php echo smarty_modifier_escape($_smarty_tpl->tpl_vars['contact']->value['name'],'htmlall','UTF-8');?> 87</option> 125 <input type="text" name="id_order" id="id_order" value="<?php if (isset($_smarty_tpl->getVariable('customerThread',null,true,false)->value['id_order'])&&$_smarty_tpl->getVariable('customerThread')->value['id_order']>0){?><?php echo intval($_smarty_tpl->getVariable('customerThread')->value['id_order']);?> 126<?php }else{ ?><?php if (isset($_POST['id_order'])){?><?php echo intval($_POST['id_order']);?> 127<?php }?><?php }?>" /> 159</label> 160 <textarea id="message" name="message" rows="15" cols="20"><?php if (isset($_smarty_tpl->getVariable('message',null,true,false)->value)){?><?php echo stripslashes(smarty_modifier_escape($_smarty_tpl->getVariable('message')->value,'htmlall','UTF-8'));?> 161<?php }?></textarea>bwcookie.class.php http://firmkernel.googlecode.com/svn/trunk/ | PHP | 268 lines
1<?php 2/* 3+-----------------------------------------------------------------------------+ 4| $Id: bwcookie.class.php 2008-10-16 19:18:10Z Bleakwind $ 5| System Cookies 119 { 120 ob_start(); 121 session_cache_limiter("private, must-revalidate");test.php http://xe-core.googlecode.com/svn/trunk/ | PHP | 0 lines
1<?php 2// $Id: test.php 1641 2008-01-22 20:13:52Z pp11 $ 2// $Id: test.php 1641 2008-01-22 20:13:52Z pp11 $ 3require_once dirname(__FILE__) . '/../../autorun.php'; 4require_once dirname(__FILE__) . '/../testdox.php'; 18 $dox = new TestDoxReporter(); 19 ob_start(); 20 $dox->paintCaseStart('TestOfTestDoxReporter'); 26 $dox = new TestDoxReporter('/^(.*)Test$/'); 27 ob_start(); 28 $dox->paintCaseStart('SomeGreatWidgetTest'); 34 $dox = new TestDoxReporter(''); 35 ob_start(); 36 $dox->paintCaseStart('TestOfTestDoxReporter'); 42 $dox = new TestDoxReporter(); 43 ob_start(); 44 $dox->paintCaseEnd('TestOfTestDoxReporter');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 }osj-login.php http://osjobber.googlecode.com/svn/trunk/ | PHP | 227 lines
7?> 8<?php include "osj-ewcfg50.php" ?> 9<?php include "osj-ewmysql50.php" ?> 9<?php include "osj-ewmysql50.php" ?> 10<?php include "osj-phpfn50.php" ?> 11<?php include "osj-osj2dusersinfo.php" ?> 88?> 89<?php include "osj-header.php" ?> 90<script language="JavaScript" type="text/javascript"> 128 <td><span class="phpmaker">User Name</span></td> 129 <td><span class="phpmaker"><input type="text" name="username" id="username" size="20" value="<?php echo @$_COOKIE[EW_PROJECT_NAME]['UserName'] ?>"></span></td> 130 </tr> 164</script> 165<?php include "osj-footer.php" ?> 166<?phpadmin_khachhang.php http://xoxoshop2010.googlecode.com/svn/trunk/ | PHP | 82 lines
1<?php ob_start(); session_start(); ob_clean(); 2?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 14 <p align="center">Danh Sách Khách Hŕng ??t Mua<br /> 15 <a href="admin_trangchu.php">Trang Admin</a>----<a href="kiemtra_xml.php">Ki?m Tra Khách Hŕng T? File XML</a>----<a href="xoa_khachhang_all.php">Xóa Danh Sách Khách Hŕng</a><br /> 16 </p> 43 <tr> 44 <td width="10"><div align="center"><?php echo $i; ?></div></td> 45 <td width="150"><div align="center"><?php echo $dong4["hoten"]; ?></div></td> 45 <td width="150"><div align="center"><?php echo $dong4["hoten"]; ?></div></td> 46 <td width="250"><div align="center"><?php echo $dong4["dclienlac"]; ?></div></td> 47 <td width="100"><div align="center"><?php echo $dong4["cmnd"]; ?></div></td> 50 <td width="100"><div align="center"><?php echo $dong4["tinh"]; ?></div></td> 51 <td width="100"><div align="center"><?php echo $dong4["mail"]; ?></div></td> 52 <td width="70"><div align="center"><a href="xem_khachhang.php?cm=<?php echo $dong4["cmnd"] ?>">Xem</a></div></td> 52 <td width="70"><div align="center"><a href="xem_khachhang.php?cm=<?php echo $dong4["cmnd"] ?>">Xem</a></div></td> 53 <td width="70"><div align="center"><a href="xoa_khachhang.php?cm=<?php echo $dong4["cmnd"];?>">Xóa</a></div></td> 54 </tr>bench.php git://github.com/infusion/PHP.git | PHP | 423 lines
1<?php 2if (function_exists("date_default_timezone_set")) { 356{ 357 ob_start(); 358 return getmicrotime(); 370 echo $name.$pad.$num."\n"; 371 ob_start(); 372 return getmicrotime();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();Class.php http://firephp.googlecode.com/svn/trunk/ | PHP | 0 lines
1<?php 2/** 24 */ 25require_once 'Zend/Cache/Core.php'; 26 217 // A cache is not available 218 ob_start(); 219 ob_implicit_flush(false);vendors git://github.com/ornicar/lichess.git | PHP | 155 lines
61 if (2 !== count($parts)) { 62 exit(sprintf('The deps version file is not valid (near "%s")', $line).PHP_EOL); 63 } 70if (false === $deps) { 71 exit('The deps file is not valid ini syntax. Perhaps missing a trailing newline?'.PHP_EOL); 72} 86 if ('install' === $command || 'update' === $command) { 87 echo '> Installing/Updating '.$name.PHP_EOL; 88 107 if (!empty($status)) { 108 exit(sprintf('"%s" has local modifications. Please revert or commit/push them before running this command again.', $name).PHP_EOL); 109 } 144// php on windows can't use the shebang line from system() 145$interpreter = defined('PHP_WINDOWS_VERSION_BUILD') ? 'php.exe' : ''; 146admin.php http://rqcms.googlecode.com/svn/trunk/ | PHP | 90 lines
1<?php 2if(!defined('RQ_ROOT')) exit('Access Denied'); 5$datadir=basename(RQ_DATA);//data?? 6$cssfile ='admin.php?file=css';//?????css?? 7$viewdir=$coredir.'/manager/view/'; 17//????? 18include RQ_CORE.'/library/func.image.php'; 19include RQ_CORE.'/library/func.admin.php'; 27 ob_end_clean(); 28 ob_start(); 29 include RQ_CORE.'/manager/view/redirect.php'; 79 80if(!in_array($incfile,$other)&&!array_key_exists($incfile,$adminitem)) redirect('?????','admin.php?file=main'); 81if($groupid!=4&&$incfile=='special') redirect('???????????','admin.php?file=main'); 81if($groupid!=4&&$incfile=='special') redirect('???????????','admin.php?file=main'); 82if($groupid<3&&$incfile=='tag') redirect('??????tag??','admin.php?file=main'); 83if($groupid!=4&&$incfile=='database') redirect('???????????','admin.php?file=main');mqueue.php http://webgloo.googlecode.com/svn/trunk/ | PHP | 131 lines
1#!/usr/bin/php 2<?php 13 //do nothing 14 // PEAR packages use PHP-4 compatible code that throws 15 // errors in E_STRICT mode 62 // PEAR MAIL will not work with our error handler 63 // there are many issues with using PEAR mail with PHP 5.3 64 // turn On this error handler for debugging other part of script 65 //set_error_handler('mailer_error_handler'); 66 ob_start(); 67voicemailGroupSayTest.php git://github.com/twilio/OpenVBX.git | PHP | 81 lines
1<?php 2 2 3include_once dirname(__FILE__).'/../CIUnit.php'; 4 43 { 44 ob_start(); 45 $this->CI->voice(1, 'f274cd'); 66 67 ob_start(); 68 $this->CI->voice(1, 'f274cd');sorter.php http://monday1705.googlecode.com/svn/trunk/ | PHP | 57 lines
1<?php 2ob_start();hanghoa.php http://webdienmay.googlecode.com/svn/trunk/ | PHP | 77 lines
1<?php 2ob_start(); 6{ 7 require_once("../includes/config.php"); 8?> 10<center> <div class="tieude">Danh Sách Hŕng Hóa</div> <br /> 11 <font size="5"><a href=them_hanghoa.php>Thęm Hŕng Hóa </a>---- 12 <a href=index.php>Tr? V? Trang Qu?n Tr?</a></font> 27 28<?php 29 50 51 echo "<td align='center'><a href='sua_hanghoa.php?id=".$row['idhanghoa']."'><img width='50' height='50' src='../images/".$row['urlhinh']."'/></a></td>"; 52 echo "<td align='center'>".$row['ghichu']."</td>"; 52 echo "<td align='center'>".$row['ghichu']."</td>"; 53 echo "<td align=center><a href=sua_hanghoa.php?id=".$row['idhanghoa'].">S?a</a></td>"; 54 echo "<td align=center><a href=xoa_hanghoa.php?id=".$row['idhanghoa'].">Xóa</a></td>";cake_html_reporter.php git://github.com/Datawalke/Coordino.git | PHP | 378 lines
4 * 5 * PHP versions 4 and 5 6 * 6 * 7 * CakePHP(tm) Tests <http://book.cakephp.org/view/1196/Testing> 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(tm) Project 15 * @package cake 16 * @subpackage cake.tests.libs.reporter 17 * @since CakePHP(tm) v 1.2.0.4433 18 * @license http://www.opensource.org/licenses/opengroup.php The Open Group Test Suite License 19 */ 20include_once dirname(__FILE__) . DS . 'cake_base_reporter.php'; 21xajaxRequest.inc.php https://code.google.com/p/evedev-kb/ | PHP | 360 lines
1<?php 2/** 2/** 3 File: xajaxRequest.inc.php 4 8 9 Please see <copyright.inc.php> for a detailed description, copyright 10 and license information. 14 @package xajax 15 @version $Id: xajaxRequest.inc.php 362 2007-05-29 15:32:24Z calltoconstruct $ 16 @copyright Copyright (c) 2005-2007 by Jared White & J. Max Wilson 253 { 254 ob_start(); 255 $this->printScript();index.php http://db-script.googlecode.com/svn/trunk/ | PHP | 84 lines
1<?php ob_start (); // ?????? ????????? ????????? ? ?????? DBSCRIPT v2.1 (?) dj--alex 2//header ("Location: main.php"); ??? ???? ?????? ?? ?? ?????????? ?? ???? ??? <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><html> 9 10 //pre-rendered command script /?VARNAME=parameter filemgr.php reserved $c,$i,$f r.php reserved $r 11 17$q=($_SERVER['QUERY_STRING']); 18if (($q[0]=="f")OR($q[0]=="c")OR($q[0]=="i")) { $redirectto="filemgr.php"; }; // typical link ?c=IDID 19if (($q[0]=="a")OR($q[0]=="u")) { $redirectto="admin.php"; }; 19if (($q[0]=="a")OR($q[0]=="u")) { $redirectto="admin.php"; }; 20if (($q[0]=="r")OR($q[0]=="t")) { $redirectto="r.php"; }; // typical link ?tbl=6&m=2&vID=361&vID2= 21if (($q[0]=="w")) { $redirectto="w.php"; }; 30 31@$a=opendir ("_conf"); if ($a==false) Header("Location: install.php"); 32 require ('dbscore.lib'); // ??????? ?????????? ? ?????? ? ??????????? 33 34if ($frameoldcore==0) {require_once ("main.php");} 35?>general.php http://cmsfromscratch.googlecode.com/svn/trunk/ | PHP | 318 lines
21 */ 22 require ('cmsfns.php') ; 23 global $mode ; 121 122 case "phpx" : 123 ob_start(); 266 } 267 $setContentsValue = 'cms/phpthumb.php?src=' . REALIMGDIR . '/' . $setContents[$item][$rqdColPos] ; 268 if ($param1) {welcome.php https://code.google.com/p/vtiger-ru-fork/ | PHP | 146 lines
10 11//get php configuration settings. requires elaborate parsing of phpinfo() output 12ob_start(); 57 <tr> 58 <td class="cwHeadBg" align=left><img src="include/install/images/configwizard.gif" alt="<?php echo $installationStrings['LBL_CONFIG_WIZARD']; ?>" hspace="20" title="<?php echo $installationStrings['LBL_CONFIG_WIZARD']; ?>"></td> 59 <td class="cwHeadBg1" align=right><img src="include/install/images/vtigercrm5.gif" alt="<?php echo $installationStrings['LBL_VTIGER_CRM_5']; ?>" title="<?php echo $installationStrings['LBL_VTIGER_CRM_5']; ?>"></td> 78 <tr> 79 <td class=small align=left colspan=2><img src="include/install/images/welcome.gif" alt="<?php echo $installationStrings['LBL_WELCOME_CONFIG_WIZARD']; ?>" title="<?php echo $installationStrings['LBL_WELCOME_CONFIG_WIZARD']; ?>"> 80 <br><hr noshade size=1> 100 <input type="hidden" name="install" value="true" /> 101 <input type="button" class="button" value='<?php echo $installationStrings['LBL_INSTALL']; ?>' alt="<?php echo $installationStrings['LBL_INSTALL']; ?>" title="<?php echo $installationStrings['LBL_INSTALL']; ?>" onClick="window.document.installform.submit();"> 102 </form> 116 <input type="hidden" name="migrate" value="true" /> 117 <input type="button" class="button" value='<?php echo $installationStrings['LBL_MIGRATE']; ?>' alt="<?php echo $installationStrings['LBL_MIGRATE']; ?>" title="<?php echo $installationStrings['LBL_MIGRATE']; ?>" onClick="window.document.Migrateform.submit();"> 118 </form>eclipse.php https://bitbucket.org/chamilo/chamilo-dev/ | PHP | 338 lines
1<?php 2/** 5 * @subpackage Eclipse 6 * @version $Id: eclipse.php 1723 2008-04-08 00:34:10Z lastcraft $ 7 */ 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/**#@-*/ 316 { 317 ob_start(); 318 $this->_invoker->before($method);view.php git://github.com/highslide-software/highcharts.com.git | PHP | 141 lines
1<?php 2$path = $_GET['path']; 14 // No idea why file_get_contents doesn't work here... 15 ob_start(); 16 include("$path/demo.details"); 53 <script type="text/javascript" src="http://code.jquery.com/jquery-1.7.js"></script> 54 <?php echo getResources(); ?> 55 <script type="text/javascript"> 55 <script type="text/javascript"> 56 <?php @include("$path/demo.js"); ?> 57 </script> 121 122 <h2 style="margin: 0"><?php echo ($next - 1) ?>. <?php echo $path ?></h2> 123 127 <a style="color: white; font-weight: bold; text-decoration: none; margin-left: 1em" 128 href="../compare-svg/view.php?path=<?php echo $path ?>&i=<?php echo $i ?>">Compare</a> 129 <a style="color: white; font-weight: bold; text-decoration: none; margin-left: 1em"addon.php http://three-cms.googlecode.com/svn/trunk/ | PHP | 226 lines
1<?php 2/* 201 // Create message: 202 ob_start(); 203 include('email.tpl'); 207 // $cartConfig = array(); 208 include('cart_config.php'); 209 $this->email->initialize($cartConfig);ConsoleInputTest.php git://github.com/phpundercontrol/phpUnderControl.git | PHP | 326 lines
44 * @version SVN: $Id$ 45 * @link http://www.phpundercontrol.org/ 46 */ 47 48require_once dirname( __FILE__ ) . '/../AbstractTest.php'; 49 60 */ 61class phpucConsoleInputTest extends phpucAbstractTest 62{ 157 { 158 $definition = new phpucConsoleInputDefinition(); 159 $definition->addCommand( 'foo', 'The foo command.' ); 274 $this->assertRegExp( 275 '/^Usage: phpuc.php <command> <options> <arguments>/', $out1 276 );default.php http://j-ecard-28022011.googlecode.com/svn/trunk/ | PHP | 153 lines
1<?php 2defined('_JEXEC') or die('Restricted access'); // no direct access 3 4ob_start(); 5require_once realpath(dirname(__FILE__) . str_replace('/', DIRECTORY_SEPARATOR, '/../../../../modules/mod_mainmenu/tmpl/default.php')); 99 $result = ''; 100 ob_start(); 101?> 104 <div class="r"></div> 105<?php 106 $result .= ob_get_clean() . $content; 106 $result .= ob_get_clean() . $content; 107 ob_start(); 108?> 109</div> 110<?php 111 $result .= ob_get_clean();xajaxRequest.inc.php http://prosporous.googlecode.com/svn/trunk/ | PHP | 343 lines
1<?php 2/* 2/* 3 File: xajaxRequest.inc.php 4 8 9 Please see <copyright.inc.php> for a detailed description, copyright 10 and license information. 14 @package xajax 15 @version $Id: xajaxRequest.inc.php 362 2007-05-29 15:32:24Z calltoconstruct $ 16 @copyright Copyright (c) 2005-2006 by Jared White & J. Max Wilson 243 { 244 ob_start(); 245 $this->printScript();DisallowObEndFlushSniff.php https://bitbucket.org/chamilo/chamilo-dev/ | PHP | 71 lines
13 * @version CVS: $Id: DisallowObEndFlushSniff.php 247282 2007-11-29 04:02:47Z squiz $ 14 * @link http://pear.php.net/package/PHP_CodeSniffer 15 */ 28 * @version Release: 1.2.2 29 * @link http://pear.php.net/package/PHP_CodeSniffer 30 */ 30 */ 31class Squiz_Sniffs_PHP_DisallowObEndFlushSniff implements PHP_CodeSniffer_Sniff 32{ 48 * 49 * @param PHP_CodeSniffer_File $phpcsFile The file being scanned. 50 * @param int $stackPtr The position of the current token in the 54 */ 55 public function process(PHP_CodeSniffer_File $phpcsFile, $stackPtr) 56 {taglib.php http://prails.googlecode.com/svn/trunk/ | PHP | 194 lines
1<?php 2/** 71 } 72 ob_start(); 73 require($path); 92 if (file_exists("lib/tags/".$arr_matches[4][$key].".var")) { 93 ob_start(); 94 $var["name"] = $arr_matches[4][$key];index.php http://wowroster-addons.googlecode.com/svn/trunk/ | PHP | 87 lines
1<?php 2 15//$roster->output['body_onload'] .= 'initARC(\'rp_menu\',\'radioOn\',\'radioOff\',\'checkboxOn\',\'checkboxOff\');'; 16include( $addon['dir'] . 'inc/functions.php' ); 17//$roster->output['show_menu'] = false; 57echo ' 58<form action="index.php?p=rostercp-addon-progress&a=g:1" name="list_select" method="post" style="margin:0;"> 59'.$roster->locale->act['admin']['config'].' 74{ 75ob_start(); 76include_once( $addon['dir'].'admin/'.$_GET['cfg'].'.php' );php-web-back-end-optimization.html http://dyhb-frame.googlecode.com/svn/trunk/ | HTML | 91 lines
3 <head> 4 <title>The DoYouHaoBaby PHP Framework For PHP5 | ????????</title> 5 <meta http-equiv="content-type" content="text/html; charset=gbk" /> 48 <div class="title2"><span style="color: #0000ff"><strong>?2?????????</strong></span></div></p> 49 <p>?????????????PHP ??????????????????????PHP??????????? ?????????????????????php???????50%???</p> 50 <p> 51 ???????php??????<br /> 52 APC? <a href="http://pecl.php.net/package-info.php?package=APC">http://pecl.php.net/package-info.php?package=APC</a>?<br /> 53 Turck MMCache?<a href="http://turck-mmcache.sourceforge.net">http://turck-mmcache.sourceforge.net</a>?<br /> 53 Turck MMCache?<a href="http://turck-mmcache.sourceforge.net">http://turck-mmcache.sourceforge.net</a>?<br /> 54 php accelebrator(<a href="http://www.php-accelerator.co.uk">www.php-accelerator.co.uk</a>)<br /> 55 ???Zend Performance Suite(<a href="http://www.zend.com">www.zend.com</a>)</p> 60 <p> 61 <div class="title2"><span style="color: #0000ff"><strong>?5?????????????????????????</strong></span></div><br />??????????????????????????????????????farm??????????????????????????????????????????mysql?<span style="color: #008000"><strong>innoDB</strong></span>?????????????????????????????????????????????? php??<span style="color: #008000"><strong>ob_start</strong></span>???????????????????????????????????????<span style="color: #008000"><strong>memcache</strong></span>???????????????????????????????????</p> 62 <p>flashuploader.php http://bitcero-modules.googlecode.com/svn/ | PHP | 142 lines
1<?php 2// $Id: flashuploader.php 999 2012-07-02 03:53:17Z i.bitcero $ 18 * @param string Name of instance 19 * @param string Target uploader url (e.g. uploader.php) 20 * @param array SWFUploader settings 135 136 ob_start(); 137 include RMTemplate::get()->get_template('uploadify.js.php', 'module', 'rmcommon');Albums_Controller_Test.php git://github.com/gallery/gallery3.git | PHP | 74 lines
1<?php defined("SYSPATH") or die("No direct script access."); 2/** 44 45 ob_start(); 46 $controller->update($album->id);InstantClientScript.php https://code.google.com/p/celebrio/ | PHP | 259 lines
1<?php 2 90 $formName = json_encode((string) $this->form->getElementPrototype()->id); 91 ob_start(); 92 require __DIR__ . '/InstantClientScript.phtml';View.php http://shozu.googlecode.com/svn/trunk/ | PHP | 311 lines
1<?php 2namespace shozu; 75 { 76 ob_start(); 77 extract($this->vars, EXTR_SKIP); 251 * <code> 252 * <?php if($this->cacheBegin('myCacheId')){ ?> 253 * <!-- some dynamic content here will be cached for 600 seconds --> 253 * <!-- some dynamic content here will be cached for 600 seconds --> 254 * <?php $this->cacheEnd(600);} ?> 255 * </code> 265 { 266 ob_start(); 267 return true;swx.php http://swx-format.googlecode.com/svn/trunk/ | PHP | 439 lines
111 // Change to the service folder from here on. 112 // This works exactly like Amfphp to make sure that Amfphp and SWX 113 // services are compatible. 320 // array.) 321 if ($dataAsPhp === "undefined") $dataAsPhp = "[]"; 322 324 // way to do this?) 325 $dataAsPhp = str_replace('\\t', '\t', $dataAsPhp); 326 $dataAsPhp = str_replace('\\n', '\n', $dataAsPhp); 326 $dataAsPhp = str_replace('\\n', '\n', $dataAsPhp); 327 $dataAsPhp = str_replace("\\'", "'", $dataAsPhp); 328 363 //$dataAsPhp = str_replace('undefined', 'NULL', $dataAsPhp); 364 $dataAsPhp = str_replace('null', 'NULL', $dataAsPhp); 365eclipse.php http://logisticsouth.googlecode.com/svn/trunk/ | PHP | 307 lines
1<?php 2/** 5 * @subpackage Eclipse 6 * @version $Id: eclipse.php 1787 2008-04-26 20:35:39Z pp11 $ 7 */ 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);shopCore.php http://phpfor.googlecode.com/svn/trunk/ | PHP | 417 lines
33 34 if(file_exists(BASE_DIR.'/upgrade.php')){ //review: ???? 35 header('HTTP/1.1 503 Service Unavailable',true,503); 35 header('HTTP/1.1 503 Service Unavailable',true,503); 36 require(CORE_DIR.'/func_ext.php'); 37 $smarty = &$this->loadModel('system/frontend'); 98 if(!function_exists('remote_addr')){ 99 require(CORE_DIR.'/func_ext.php'); 100 } 143 if(!function_exists('shop_core_debugger')){ 144 require(CORE_INCLUDE_DIR.'/shop/core.debugger.php'); 145 shop_core_debugger($this); 152 $cookieLife = $this->getConf('system.cookie.life'); 153 $this->_cookiePath = substr(PHP_SELF, 0, strrpos(PHP_SELF, '/')).'/'; 154 $this->_cookieLife = $cookieLife;