PageRenderTime 309ms queryTime 33ms sortTime 3ms getByIdsTime 53ms findMatchingLines 65ms

100+ results results for 'php chr repo:mstowe/zurmo' (309 ms)

Not the results you expected?
auto_search_table_shell.php http://prohits.googlecode.com/svn/trunk/ | PHP | 376 lines
                    
28  7. get searched resuts file.
                    
29  8. shell > php auto_search_table_shell.php tableName taskID thisScriptURL sleepSec
                    
30  9. check shell process 
                    
59
                    
60$php_command_location = PHP_PATH;
                    
61//maybe it is remote connect prohits server---------
                    
76		$theURL = $_SERVER['argv'][3];
                    
77    $frm_theURL = str_replace("autoSearch/auto_search_table_shell.php","",$theURL) . "autoBackup/download_raw_file.php";
                    
78    
                    
237  //}
                    
238  $tpp_theURL = str_replace("autoSearch/auto_search_table_shell.php","",$tpp_theURL) . "tppTask/tpp_task_shell.php";
                    
239  $tpp_theURL .='?tableName='.$tableName.'&tppTaskID='.$theTask_arr['RunTPP'];
                    
338  writeLog("Get new created files from $tableName machine to Prohits.");
                    
339  $com_backup = PHP_PATH. " " .dirname(dirname(__FILE__))."/autoBackup/raw_backup_shell.php"." 0 ". $tableName;
                    
340  system($com_backup);
                    
                
func.php http://snowcms.googlecode.com/svn/trunk/ | PHP | 272 lines
                    
1<?php
                    
2////////////////////////////////////////////////////////////////////////////
                    
66			'stripos' => create_function('$haystack, $needle, $offset = 0', '
                    
67										 // This function doesn\'t exist until PHP 5.2.0 >=
                    
68										 if(function_exists(\'mb_stripos\'))
                    
81			'strpos' => 'mb_strpos',
                    
82			'strrchr' => 'mb_strrchr',
                    
83			'strrichr' => create_function('$haystack, $needle, $part = false', '
                    
83			'strrichr' => create_function('$haystack, $needle, $part = false', '
                    
84											if(function_exists(\'mb_strrichr\'))
                    
85												return mb_strrichr($haystack, $needle, $part);
                    
86											else
                    
87												return mb_strrchr(mb_strtolower($haystack), mb_strtolower($needle), $part);'),
                    
88			'strripos' => create_function('$haystack, $needle, $offset = 0', '
                    
113			'strpos' => 'strpos',
                    
114			'strrchr' => 'strrchr',
                    
115			'strrichr' => create_function('$haystack, $needle, $part = false', '
                    
                
categories.php http://flexicontent.googlecode.com/svn/trunk/ | PHP | 404 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * @version 1.5 stable $Id: categories.php 1614 2013-01-04 03:57:15Z ggppdk $
                    
4 * @package Joomla
                    
9 * FLEXIcontent is a derivative work of the excellent QuickFAQ component
                    
10 * @copyright (C) 2008 Christoph Lukes
                    
11 * see www.schlu.net for more information
                    
86		$tbl = 'flexicontent_categories';
                    
87		$redirect_url = 'index.php?option=com_flexicontent&view=categories';
                    
88		flexicontent_db::checkin($tbl, $redirect_url, $this);
                    
158				JError::raiseWarning(500, $model->getError());
                    
159				$this->setRedirect( 'index.php?option=com_flexicontent&view=categories', $msg );
                    
160				return;
                    
173		// redirect to categories management tab
                    
174		$this->setRedirect( 'index.php?option=com_flexicontent&view=categories', $msg );
                    
175	}
                    
                
logs.php http://nuke-viet.googlecode.com/svn/trunk/ | PHP | 0 lines
                    
1<?php
                    
2
                    
24$sql = "SELECT SQL_CALC_FOUND_ROWS * FROM `" . $db_config['prefix'] . "_logs` WHERE `id`!=0";
                    
25$base_url = NV_BASE_ADMINURL . "index.php?" . NV_NAME_VARIABLE . "=" . $module_name . "&" . NV_OP_VARIABLE . "=" . $op;
                    
26
                    
42		nv_insert_logs( NV_LANG_DATA, $module_name, sprintf ( $lang_module['filter_check_log'], $op ), $admin_info['username'] . " - " . $admin_info['userid'], 0 );
                    
43		Header( "Location: " . NV_BASE_ADMINURL . "index.php?" . NV_NAME_VARIABLE . "=" . $module_name . "&" . NV_OP_VARIABLE . "=" . $op );
                    
44		exit();
                    
170
                    
171list( $all_page ) = $db->sql_fetchrow( $result );
                    
172while ( $data_i = $db->sql_fetchrow( $result_query ) )
                    
193	$result_users = $db->sql_query( $sql );
                    
194	while ( $data_i = $db->sql_fetchrow( $result_users ) )
                    
195	{
                    
278$xtpl->assign( 'URL_DEL', $base_url . "&" . NV_OP_VARIABLE . "=logs_del" );
                    
279$xtpl->assign( 'URL_CANCEL', NV_BASE_ADMINURL . "index.php?" . NV_NAME_VARIABLE . "=" . $module_name . "&" . NV_OP_VARIABLE . "=" . $op );
                    
280$xtpl->assign( 'DISABLE', $disabled );
                    
                
instructions_de.htm git://github.com/MattWilcox/Adaptive-Images.git | HTML | 177 lines
                    
22    <h2>Basis Anweisungen</h2>
                    
23    <p>Kopieren Sie <code>adaptive-images.php</code> und <code>.htaccess</code> 
                    
24    in das Hauptverzeichniss ihres Internetauftritts. 
                    
24    in das Hauptverzeichniss ihres Internetauftritts. 
                    
25    Wenn Sie bereits eine htaccess Datei haben BITTE NICHT ÜBERSCHREIBEN, lesen sie die dafür vorgesehenen Instruktionen.</p>
                    
26    <p>Erstellen Sie ein Verzeichniss mit dem Namen <code>ai-cache</code> im Hauptverzeichniss 
                    
26    <p>Erstellen Sie ein Verzeichniss mit dem Namen <code>ai-cache</code> im Hauptverzeichniss 
                    
27    mit Schreibberechtigung (CHMOD 777).</p>
                    
28    <p>Kopieren Sie folgendes Javascript in den &lt;head&gt; Bereich ihrer Seiten. 
                    
33    <p>Das wars. Sie sind fertig</p>
                    
34    <p>ANMERKUNG: Die <code>ai-cookie.php</code> Datei wird normalerweise nicht 
                    
35    benötigt. Nur beim Einsatz der <a href="#alternate">Alternativen Methode</a> 
                    
55directories
                    
56# to adaptive-images.php so we can select appropriately sized versions
                    
57RewriteRule \.(?:jpe?g|gif|png)$ adaptive-images.php
                    
                
helper.php https://bitbucket.org/joomla/joomla-platform/ | PHP | 530 lines
                    
1<?php
                    
2/**
                    
336				for ($i = $length; $i > 0; $i >>= 1) {
                    
337					$context .= ($i & 1) ? chr(0) : $plaintext[0];
                    
338				}
                    
476		$stat = @stat(__FILE__);
                    
477		if (empty($stat) || !is_array($stat)) $stat = array(php_uname());
                    
478
                    
524			$tmp = sscanf(substr($hex, $i, 2), '%x');
                    
525			$bin .= chr(array_shift($tmp));
                    
526		}
                    
                
group.php http://nuke-viet.googlecode.com/svn/trunk/ | PHP | 0 lines
                    
1<?php
                    
2
                    
45    }
                    
46    list( $check_alias ) = $db->sql_fetchrow( $db->sql_query( "SELECT count(*) FROM " . $table_name . " WHERE groupid!=" . $data['groupid'] . " and `" . NV_LANG_DATA . "_alias`=" . $db->dbescape( $data['alias'] ) . "" ) );
                    
47    if ( $check_alias and $data['parentid'] > 0 )
                    
48    {
                    
49        list( $parentid_alias ) = $db->sql_fetchrow( $db->sql_query( "SELECT `" . NV_LANG_DATA . "_alias` FROM " . $table_name . " WHERE groupid=" . $data['parentid'] . "" ) );
                    
50        $data['alias'] = $parentid_alias . "-" . $data['alias'];
                    
68        }
                    
69        list( $weight ) = $db->sql_fetchrow( $db->sql_query( "SELECT max(`weight`) FROM " . $table_name . " WHERE `parentid`=" . $db->dbescape( $data['parentid'] ) . "" ) );
                    
70        $weight = intval( $weight ) + 1;
                    
82            nv_del_moduleCache( $module_name );
                    
83            Header( "Location: " . NV_BASE_ADMINURL . "index.php?" . NV_NAME_VARIABLE . "=" . $module_name . "&" . NV_OP_VARIABLE . "=" . $op . "&parentid=" . $data['parentid'] . "" );
                    
84            die();
                    
101            {
                    
102                list( $weight ) = $db->sql_fetchrow( $db->sql_query( "SELECT max(`weight`) FROM " . $table_name . " WHERE `parentid`=" . $db->dbescape( $data['parentid'] ) . "" ) );
                    
103                $weight = intval( $weight ) + 1;
                    
                
ucp.php https://code.google.com/p/phpbbex/ | PHP | 361 lines
                    
14define('IN_PHPBB', true);
                    
15$phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : './';
                    
16$phpEx = substr(strrchr(__FILE__, '.'), 1);
                    
96
                    
97		$message = $message . '<br /><br />' . sprintf($user->lang['RETURN_INDEX'], '<a href="' . append_sid("{$phpbb_root_path}index.$phpEx") . '">', '</a> ');
                    
98		trigger_error($message);
                    
111			{
                    
112				redirect(append_sid("{$phpbb_root_path}index.$phpEx"));
                    
113			}
                    
128			'AGREEMENT_TEXT'		=> sprintf($user->lang[$message], $config['sitename'], generate_board_url()),
                    
129			'U_BACK'				=> append_sid("{$phpbb_root_path}ucp.$phpEx", 'mode=login'),
                    
130			'L_BACK'				=> $user->lang['BACK_TO_LOGIN'],
                    
204		{
                    
205			redirect(append_sid("{$phpbb_root_path}index.$phpEx"));
                    
206		}
                    
                
MessageController.php http://mock-project.googlecode.com/svn/trunk/ | PHP | 217 lines
                    
1<?php
                    
2
                    
17
                    
18//            require_once APPLICATION_PATH . '/modules/user/models/DbTable/Member.php';
                    
19            $us = new User_Model_DbTable_Member();
                    
88                        ->where("MessageID = '$MessageID'");
                    
89                if ($row = $message->fetchRow($select)) {
                    
90                    $status = 'success';
                    
                
rss.php http://creative-portal.googlecode.com/svn/trunk/ | PHP | 70 lines
                    
1<?php
                    
2
                    
18$channel['title'] = $global_config['site_name'] . ' RSS: ' . $module_info['custom_title'];
                    
19$channel['link'] = NV_MY_DOMAIN . NV_BASE_SITEURL . "index.php?" . NV_LANG_VARIABLE . "=" . NV_LANG_DATA . "&amp;" . NV_NAME_VARIABLE . "=" . $module_name;
                    
20$channel['atomlink'] = NV_MY_DOMAIN . NV_BASE_SITEURL . "index.php?" . NV_LANG_VARIABLE . "=" . NV_LANG_DATA . "&amp;" . NV_NAME_VARIABLE . "=" . $module_name . "&amp;" . NV_OP_VARIABLE . "=rss";
                    
39    $channel['title'] = $global_config['site_name'] . ' RSS: ' . $module_info['custom_title'] . ' - ' . $global_array_cat[$catid]['title'];
                    
40    $channel['link'] = NV_MY_DOMAIN . NV_BASE_SITEURL . "index.php?" . NV_LANG_VARIABLE . "=" . NV_LANG_DATA . "&amp;" . NV_NAME_VARIABLE . "=" . $module_name . "&amp;" . NV_OP_VARIABLE . "=rss/" . $alias_cat_url;
                    
41    $channel['description'] = $global_array_cat[$catid]['description'];
                    
52    $result = $db->sql_query( $sql );
                    
53    while ( list( $id, $listcatid, $publtime, $title, $alias, $hometext, $homeimgfile ) = $db->sql_fetchrow( $result ) )
                    
54    {
                    
60            'title' => $title, //
                    
61			'link' => NV_MY_DOMAIN . NV_BASE_SITEURL . "index.php?" . NV_LANG_VARIABLE . "=" . NV_LANG_DATA . "&amp;" . NV_NAME_VARIABLE . "=" . $module_name . "&amp;" . NV_OP_VARIABLE . "=" . $catalias . '/' . $alias . '-' . $id, //
                    
62			'guid' => $module_name . '_' . $id, //
                    
                
Generic.php https://code.google.com/p/molinos-cms/ | PHP | 322 lines
                    
1<?php
                    
2/**
                    
95
                    
96		$ax = new Auth_OpenID_AX_FetchRequest();
                    
97		$ax->add(Auth_OpenID_AX_AttrInfo::make('http://axschema.org/contact/email', 2, 1, 'email'));
                    
148
                    
149		require_once "Auth/OpenID/Consumer.php";
                    
150		require_once "Auth/OpenID/FileStore.php";
                    
150		require_once "Auth/OpenID/FileStore.php";
                    
151		require_once "Auth/OpenID/AX.php";
                    
152		require_once "Auth/OpenID/SReg.php";
                    
152		require_once "Auth/OpenID/SReg.php";
                    
153		require_once "Auth/OpenID/PAPE.php";
                    
154	}
                    
                
ReferenceEncryptedProperties.java http://owasp-esapi-java.googlecode.com/svn/trunk/ | Java | 294 lines
                    
5 * Enterprise Security API (ESAPI) project. For details, please see
                    
6 * <a href="http://www.owasp.org/index.php/ESAPI">http://www.owasp.org/index.php/ESAPI</a>.
                    
7 *
                    
102	@Override
                    
103	public synchronized String getProperty(String key) throws EncryptionRuntimeException {
                    
104	    int progressMark = 0;
                    
145	@Override
                    
146	public synchronized String setProperty(String key, String value) throws EncryptionRuntimeException {
                    
147	    int progressMark = 0;
                    
267	@Override
                    
268	public synchronized Object put(Object key, Object value) {
                    
269		//if java.util.Properties is calling this method, just forward to the implementation in
                    
                
file_helper.php git://github.com/philsturgeon/codeigniter-restserver.git | PHP | 479 lines
                    
1<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');
                    
2/**
                    
4 *
                    
5 * An open source application development framework for PHP 5.1.6 or newer
                    
6 *
                    
240
                    
241			// foreach (scandir($source_dir, 1) as $file) // In addition to being PHP5+, scandir() is simply not as fast
                    
242			while (FALSE !== ($file = readdir($fp)))
                    
298				case 'name':
                    
299					$fileinfo['name'] = substr(strrchr($file, DIRECTORY_SEPARATOR), 1);
                    
300					break;
                    
334 *
                    
335 * Translates a file extension into a mime type based on config/mimes.php.
                    
336 * Returns FALSE if it can't determine the type, or open the mime config file
                    
348	{
                    
349		$extension = strtolower(substr(strrchr($file, '.'), 1));
                    
350
                    
                
RichReader.scala git://github.com/bmc/grizzled-scala.git | Scala | 83 lines
                    
3  This software is released under a BSD license, adapted from
                    
4  http://opensource.org/licenses/bsd-license.php
                    
5
                    
47  * the Java `Reader` class. The `implicits` object contains implicit
                    
48  * conversions between `RichReader` and `Reader`.
                    
49  *
                    
51  */
                    
52class RichReader(val reader: Reader) extends PartialReader[Char] {
                    
53  protected def convert(b: Int) = b.asInstanceOf[Char]
                    
75
                    
76/** Companion object to `RichReader` class. Importing this object brings the
                    
77  * implicit conversations into scope.
                    
80  implicit def readerToRichReader(reader: Reader) = new RichReader(reader)
                    
81  implicit def richReaderToReader(richReader: RichReader) = richReader.reader
                    
82}
                    
                
main.php https://bitbucket.org/chamilo/chamilo-dev/ | PHP | 404 lines
                    
37
                    
38// line 565 in phpfreechat.class.php
                    
39$GLOBALS["i18n"]["Text cannot be empty"] = "Tekstvak kan niet leeg zijn";
                    
40
                    
41// line 392 in phpfreechat.class.php
                    
42$GLOBALS["i18n"]["%s changes his nickname to %s"] = "%s verandert de nickname in %s";
                    
76
                    
77// line 451 in phpfreechatconfig.class.php
                    
78$GLOBALS["i18n"]["%s is not writeable"] = "%s kan niet worden beschreven";
                    
89// line 23 in chat.html.tpl.php
                    
90$GLOBALS["i18n"]["PHP FREE CHAT [powered by phpFreeChat-%s]"] = "PHP FREE CHAT [powered by phpFreeChat-%s]";
                    
91
                    
166
                    
167// line 343 in phpfreechatconfig.class.php
                    
168$GLOBALS["i18n"]["'%s' parameter is mandatory by default use '%s' value"] = "'%s' parameter is verplicht bij standaard gebruik '%s' waarde";
                    
                
class.pop3.php http://candydolldb.googlecode.com/svn/trunk/ | PHP | 410 lines
                    
1<?php
                    
2/*~ class.pop3.php
                    
3.---------------------------------------------------------------------------.
                    
3.---------------------------------------------------------------------------.
                    
4|  Software: PHPMailer - PHP email class                                    |
                    
5|   Version: 5.2.1                                                          |
                    
25/**
                    
26 * PHPMailer - PHP POP Before SMTP Authentication Class
                    
27 * NOTE: Designed for use with PHP version 5 and up
                    
45 *
                    
46 * Specifically for PHPMailer to allow POP before SMTP authentication.
                    
47 * Does not yet work with APOP - if you have an APOP account, contact Richard Davey
                    
49 *
                    
50 * This class is based on the structure of the SMTP class originally authored by Chris Ryan
                    
51 *
                    
                
default.php http://flexicontent.googlecode.com/svn/trunk/ | PHP | 250 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * @version 1.5 stable $Id: default.php 1528 2012-10-30 01:51:10Z ggppdk $
                    
4 * @package Joomla
                    
9 * FLEXIcontent is a derivative work of the excellent QuickFAQ component
                    
10 * @copyright (C) 2008 Christoph Lukes
                    
11 * see www.schlu.net for more information
                    
60<div class="flexicontent">
                    
61<form action="index.php?option=com_flexicontent&amp;view=search" method="post" name="adminForm" id="adminForm">
                    
62
                    
66				<th width="5">
                    
67					<?php echo JText::_('NUM'); ?>
                    
68				</th>
                    
195				<td>
                    
196					<span class="editlinktip hasTip" title="<?php echo JText::_( 'FLEXI_EDIT_ITEM' );?>::<?php echo $row->title; ?>">
                    
197					<?php
                    
                
default.php http://flexicontent.googlecode.com/svn/trunk/ | PHP | 250 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * @version 1.5 stable $Id: default.php 1803 2013-11-05 03:10:36Z ggppdk $
                    
4 * @package Joomla
                    
9 * FLEXIcontent is a derivative work of the excellent QuickFAQ component
                    
10 * @copyright (C) 2008 Christoph Lukes
                    
11 * see www.schlu.net for more information
                    
60<div class="flexicontent">
                    
61<form action="index.php?option=com_flexicontent&amp;view=search" method="post" name="adminForm" id="adminForm">
                    
62
                    
66				<th width="5">
                    
67					<?php echo JText::_('NUM'); ?>
                    
68				</th>
                    
195				<td>
                    
196					<span class="editlinktip hasTip" title="<?php echo JText::_( 'FLEXI_EDIT_ITEM' );?>::<?php echo $row->title; ?>">
                    
197					<?php
                    
                
Currency.php https://code.google.com/p/ecartcommerce/ | PHP | 354 lines
                    
1<?php
                    
2/**
                    
223                ->where('code = ?', $code)
                    
224                ->fetchRow();
                    
225        }
                    
330
                    
331        if (!$id || !$row = $this->fetchRow(
                    
332                $this->getAdapter()->quoteInto('id = ?', $id)
                    
                
RepositoryService.php http://openbiz-cubi.googlecode.com/svn/trunk/ | PHP | 285 lines
                    
154    	}
                    
155    	$userSearchRule = $param['searchRule'];
                    
156    	$startItem 	= $param['startItem'];
                    
161    	$dataObj = BizSystem::getObject($this->m_ApplicationDO,1);  
                    
162    	$dataObj->setSearchRule($searchRule);
                    
163    	$dataObj->setSortRule($sortRule);
                    
187    	}
                    
188    	$userSearchRule = $param['searchRule'];
                    
189    	$startItem 	= $param['startItem'];
                    
191    	if($userSearchRule){
                    
192    		$searchRule .= " AND ".$userSearchRule;
                    
193    	}    	
                    
194    	$dataObj = BizSystem::getObject($this->m_ApplicationDO,1);  
                    
195    	$dataObj->setSearchRule($searchRule);
                    
196    	$dataObj->setSortRule($sortRule);
                    
                
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';
                    
16 * @license PHP License, version 3.0
                    
17 * @author Christian Wenz <wenz@php.net>
                    
18 * @todo refine the obfuscation algorithm :-)
                    
354    /**
                    
355     * __wakeup method (PHP 5 only)
                    
356     */
                    
                
FilesF.html git://github.com/nagaozen/asp-xtreme-evolution.git | HTML | 57 lines
                    
12    </head>
                    
13    <body class="PopupSearchResultsPage" onload="NDOnLoad()">
                    
14        <script language="JavaScript" type="text/javascript">
                    
23            </div>
                    
24            <div class="SRResult" id="SR_firephp_perasp">
                    
25                <div class="IEntry">
                    
25                <div class="IEntry">
                    
26                    <a href="../files/lib/axe/classes/Utilities/Logger/Adapters/firephp-asp.html#firephp.asp" target="_parent" class="ISymbol">firephp.asp</a>
                    
27                </div>
                    
39            document.getElementById("NoMatches").style.display="none";
                    
40            var searchResults = new SearchResults("searchResults", "HTML");
                    
41            searchResults.Search();
                    
                
txplib_head.php http://textpattern.googlecode.com/svn/development/4.x/ | PHP | 355 lines
                    
1<?php
                    
2
                    
38 *
                    
39 * Output will automatically become silent on asynchronous
                    
40 * script responses that do not want HTML headers.
                    
91?><!DOCTYPE html>
                    
92<html lang="<?php echo LANG; ?>" dir="<?php echo $lang_direction; ?>">
                    
93<head>
                    
95<meta name="robots" content="noindex, nofollow">
                    
96<title><?php echo admin_title($pagetitle)?></title><?php echo
                    
97    script_js('vendors/jquery/jquery/jquery.js', TEXTPATTERN_SCRIPT_URL).
                    
125</style>
                    
126<?php
                    
127echo $theme->html_head();
                    
130</head>
                    
131<body id="<?php echo $body_id; ?>" class="not-ready <?php echo $area; ?>">
                    
132<header role="banner" class="txp-header">
                    
                
repl_utils.clj git://github.com/richhickey/clojure-contrib.git | Clojure | 207 lines
                    
1;   Copyright (c) Chris Houser, Dec 2008. All rights reserved.
                    
2;   The use and distribution terms for this software are covered by the
                    
2;   The use and distribution terms for this software are covered by the
                    
3;   Common Public License 1.0 (http://opensource.org/licenses/cpl.php)
                    
4;   which can be found in the file CPL.TXT at the root of this distribution.
                    
11(ns 
                    
12  #^{:author "Chris Houser, Christophe Grand, Stephen Gilardi, Michel Salim",
                    
13     :doc "Utilities meant to be used interactively at the REPL"}
                    
                
jqplot-axisLabelRenderer-js.html http://eeplat.googlecode.com/svn/trunk/ | HTML | 47 lines
                    
13
                    
14<div id=Content><div class="CClass"><div class=CTopic id=MainTopic><div class="CTitle logo"><div class="nav"><a class="nav" href="../../index.php"><span>&gt;</span>Home</a><a class="nav"  href="../../tests/"><span>&gt;</span>Examples</a><a class="nav"  href="../../docs/"><span>&gt;</span>Docs</a><a class="nav"  href="http://bitbucket.org/cleonello/jqplot/downloads/"><span>&gt;</span>Download</a><a class="nav" href="../../info.php"><span>&gt;</span>Info</a><a class="nav"  href="../../donate.php"><span>&gt;</span>Donate</a></div><a name="$.jqplot.AxisLabelRenderer"></a>$.jqplot.<wbr>AxisLabelRenderer</div><div class=CBody><p>Renderer to place labels on the axes.</p><!--START_ND_SUMMARY--><div class=Summary><div class=STitle>Summary</div><div class=SBorder><table border=0 cellspacing=0 cellpadding=0 class=STable><tr class="SMain"><td class=SEntry><a href="#$.jqplot.AxisLabelRenderer" >$.jqplot.<wbr>AxisLabelRenderer</a></td><td class=SDescription>Renderer to place labels on the axes.</td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#$.jqplot.AxisLabelRenderer.Properties" >Properties</a></td><td class=SDescription></td></tr><tr class="SProperty SIndent2 SMarked"><td class=SEntry><a href="#$.jqplot.AxisLabelRenderer.show" id=link1 onMouseOver="ShowTip(event, 'tt1', 'link1')" onMouseOut="HideTip('tt1')">show</a></td><td class=SDescription>wether or not to show the tick (mark and label).</td></tr><tr class="SProperty SIndent2"><td class=SEntry><a href="#$.jqplot.AxisLabelRenderer.label" id=link2 onMouseOver="ShowTip(event, 'tt2', 'link2')" onMouseOut="HideTip('tt2')">label</a></td><td class=SDescription>The text or html for the label.</td></tr><tr class="SProperty SIndent2 SMarked"><td class=SEntry><a href="#$.jqplot.AxisLabelRenderer.escapeHTML" id=link3 onMouseOver="ShowTip(event, 'tt3', 'link3')" onMouseOut="HideTip('tt3')">escapeHTML</a></td><td class=SDescription>true to escape HTML entities in the label.</td></tr></table></div></div><!--END_ND_SUMMARY--></div></div></div>
                    
15
                    
26
                    
27<div id=Footer>Copyright &copy; 2009 - 2010 Chris Leonello&nbsp; &middot;&nbsp; Updated March 7th, 2011&nbsp; &middot;&nbsp; <a href="http://www.naturaldocs.org">Generated by Natural Docs</a></div><!--Footer-->
                    
28
                    
42
                    
43<div id=MSearchResultsWindow><iframe src="" frameborder=0 name=MSearchResults id=MSearchResults></iframe><a href="javascript:searchPanel.CloseResultsWindow()" id=MSearchResultsWindowClose>Close</a></div>
                    
44
                    
                
edit_banner.php http://creative-portal.googlecode.com/svn/trunk/ | PHP | 220 lines
                    
1<?php
                    
2
                    
15{
                    
16	Header( "Location: " . NV_BASE_ADMINURL . "index.php?" . NV_NAME_VARIABLE . "=" . $module_name );
                    
17	die();
                    
24
                    
25$row = $db->sql_fetchrow( $result );
                    
26
                    
49	$contents['upload_blocked'] = $lang_module['upload_blocked'];
                    
50	include ( NV_ROOTDIR . "/includes/header.php" );
                    
51	echo nv_admin_theme( nv_edit_banner_theme( $contents ) );
                    
51	echo nv_admin_theme( nv_edit_banner_theme( $contents ) );
                    
52	include ( NV_ROOTDIR . "/includes/footer.php" );
                    
53	exit;
                    
59$clients = array();
                    
60while ( $cl_row = $db->sql_fetchrow( $result ) )
                    
61{
                    
                
user_waiting.php http://nuke-viet.googlecode.com/svn/trunk/ | PHP | 0 lines
                    
1<?php
                    
2
                    
34    {
                    
35        Header( "Location: " . NV_BASE_ADMINURL . "index.php?" . NV_NAME_VARIABLE . "=" . $module_name );
                    
36        die();
                    
43    {
                    
44        Header( "Location: " . NV_BASE_ADMINURL . "index.php?" . NV_NAME_VARIABLE . "=" . $module_name );
                    
45        die();
                    
46    }
                    
47    $row = $db->sql_fetchrow( $result );
                    
48    
                    
73        $subject = $lang_module['adduser_register'];
                    
74        $message = sprintf( $lang_module['adduser_register_info'], $full_name, $global_config['site_name'], NV_MY_DOMAIN . NV_BASE_SITEURL . "index.php?" . NV_LANG_VARIABLE . "=" . NV_LANG_DATA . "&" . NV_NAME_VARIABLE . "=" . $module_name, $row['username'] );
                    
75        $message .= "<br /><br />------------------------------------------------<br /><br />";
                    
79    
                    
80    Header( "Location: " . NV_BASE_ADMINURL . "index.php?" . NV_NAME_VARIABLE . "=" . $module_name . "&" . NV_OP_VARIABLE . "=user_waiting" );
                    
81    die();
                    
                
wcautil.h git://github.com/IronLanguages/main.git | C Header | 379 lines
                    
6//    The use and distribution terms for this software are covered by the
                    
7//    Common Public License 1.0 (http://opensource.org/licenses/cpl1.0.php)
                    
8//    which can be found in the file CPL.TXT at the root of this distribution.
                    
172    );
                    
173HRESULT WIXAPI WcaFetchRecord(
                    
174    __in MSIHANDLE hView,
                    
                
tags.php http://bitcero-modules.googlecode.com/svn/ | PHP | 371 lines
                    
1<?php
                    
2// $Id: tags.php 900 2012-01-03 07:07:52Z i.bitcero $
                    
11define('RMCLOCATION','tags');
                    
12include 'header.php';
                    
13
                    
48	
                    
49	list($num)=$db->fetchRow($db->query($sql.$sql1));
                    
50	$start = $num<=0 ? 0 : ($page - 1) * $limit;
                    
52    $nav = new RMPageNav($num, $limit, $page, 5);
                    
53    $nav->target_url("tags.php?search=".urlencode($search)."&amp;page={PAGE_NUM}");
                    
54    
                    
67		foreach ($words as $k){
                    
68			$rows['tag'] = eregi_replace("($k)","<span class='searchResalte'>\\1</span>", $rows['tag']);
                    
69		}
                    
75		$sql = "SELECT COUNT(*) FROM ".$db->prefix('gs_tagsimages')." WHERE id_tag=".$tag->id();
                    
76		list($pics) = $db->fetchRow($db->query($sql));
                    
77	
                    
                
ThemeManager.php https://code.google.com/p/enanocms/ | PHP | 429 lines
                    
1<?php
                    
2
                    
70	
                    
71	while ( $row = $db->fetchrow() )
                    
72	{
                    
94	<div style="float: right;">
                    
95		<a href="#" id="systheme_toggler" onclick="ajaxToggleSystemThemes(); return false;"><?php echo $lang->get('acptm_btn_system_themes_show'); ?></a>
                    
96	</div>
                    
96	</div>
                    
97	<?php
                    
98	echo '<h3>' . $lang->get('acptm_heading_edit_themes') . '</h3>';
                    
205			
                    
206			$row = $db->fetchrow();
                    
207			$row['enabled'] = ( $row['enabled'] == 1 );
                    
217				$db->die_json();
                    
218			while ( $gr = $db->fetchrow() )
                    
219			{
                    
                
browser_kernel.php https://gestion001.svn.codeplex.com/svn | PHP | 293 lines
                    
1<?php
                    
2
                    
100                        $row_rs_srch = $this->recorrer_entidad($entidad_rot);
                    
101                        if (strrchr($row_rs_def[$entidad_def][$key],'foranea')) {
                    
102                            $llave = 1;
                    
195        }
                    
196        $this->currentPage = $_SERVER["PHP_SELF"];
                    
197
                    
                
DataTables.php https://code.google.com/p/zfcore/ | PHP | 98 lines
                    
1<?php
                    
2/**
                    
69        }
                    
70        $iFilteredTotal = $table->fetchRow($select)->total;
                    
71
                    
88        $select = $table->select()->from($tableName, $expr);
                    
89        $iTotalRecords = $table->fetchRow($select)->total;
                    
90
                    
                
siteinfo.php http://nuke-viet.googlecode.com/svn/trunk/ | PHP | 0 lines
                    
1<?php
                    
2
                    
14// Tong so san pham 
                    
15list( $number ) = $db->sql_fetchrow( $db->sql_query("SELECT COUNT(*) as number FROM `" . $db_config['prefix'] . "_" . $mod_data . "_rows` where `status`= 1 AND `publtime` < " . NV_CURRENTTIME . " AND (`exptime`=0 OR `exptime`>" . NV_CURRENTTIME . ")"));
                    
16if ( $number > 0 )
                    
24// So san pham cho dang 
                    
25list( $number ) = $db->sql_fetchrow( $db->sql_query("SELECT COUNT(*) as number FROM `" . $db_config['prefix'] . "_" . $mod_data . "_rows` where `status`= 0 AND `publtime` < " . NV_CURRENTTIME . " AND (`exptime`=0 OR `exptime`>" . NV_CURRENTTIME . ")"));
                    
26if ( $number > 0 )
                    
33// So san pham da het han  
                    
34list( $number ) = $db->sql_fetchrow( $db->sql_query("SELECT COUNT(*) as number FROM `" . $db_config['prefix'] . "_" . $mod_data . "_rows` where `exptime` > 0 AND `exptime`<" . NV_CURRENTTIME.""));
                    
35if ( $number > 0 )
                    
42// So bai viet sap het han   
                    
43list( $number ) = $db->sql_fetchrow( $db->sql_query("SELECT COUNT(*) as number FROM `" . $db_config['prefix'] . "_" . $mod_data . "_rows` where `status` = 1 AND `exptime`>" . NV_CURRENTTIME.""));
                    
44if ( $number > 0 )
                    
51// Tong so binh luan duoc dang   
                    
52list( $number ) = $db->sql_fetchrow( $db->sql_query("SELECT COUNT(*) as number FROM `" . $db_config['prefix'] . "_" . $mod_data . "_comments_".NV_LANG_DATA."` where `status` = 1"));
                    
53if ( $number > 0 )
                    
                
DefaultEncoder.java http://owasp-esapi-java.googlecode.com/svn/trunk/ | Java | 449 lines
                    
5 * Enterprise Security API (ESAPI) project. For details, please see
                    
6 * <a href="http://www.owasp.org/index.php/ESAPI">http://www.owasp.org/index.php/ESAPI</a>.
                    
7 *
                    
56        if ( singletonInstance == null ) {
                    
57            synchronized ( DefaultEncoder.class ) {
                    
58                if ( singletonInstance == null ) {
                    
                
test.d http://gool.googlecode.com/svn/trunk/ | D | 107 lines
                    
1// This source code is public domain.
                    
2// Written by Christopher E. Miller
                    
3// Scintilla Control example for DFL
                    
3// Scintilla Control example for DFL
                    
4// http://www.dprogramming.com/dfl.php
                    
5// http://wiki.dprogramming.com/Dfl/ScintillaControl
                    
                
Streams.php http://netdns2.googlecode.com/svn/trunk/ | PHP | 338 lines
                    
1<?php
                    
2/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */
                    
6 *
                    
7 * PHP Version 5
                    
8 *
                    
44 * @copyright 2010 Mike Pultz <mike@mikepultz.com>
                    
45 * @license   http://www.opensource.org/licenses/bsd-license.php  BSD License
                    
46 * @version   SVN: $Id: Streams.php 148 2012-02-10 20:18:19Z mike.pultz $
                    
46 * @version   SVN: $Id: Streams.php 148 2012-02-10 20:18:19Z mike.pultz $
                    
47 * @link      http://pear.php.net/package/Net_DNS2
                    
48 * @since     File available since Release 0.6.0
                    
52/**
                    
53 * Socket handling class using the PHP Streams
                    
54 *
                    
237
                    
238            $s = chr($length >> 8) . chr($length);
                    
239
                    
                
elgg.class.php https://bitbucket.org/rhizomatik/lorea_production/ | PHP | 353 lines
                    
6 * @author     Andreas Gohr <andi@splitbrain.org>
                    
7 * @author     Chris Smith <chris@jalakai.co.uk>
                    
8 */
                    
25     *
                    
26     * @author  Christopher Smith <chris@jalakai.co.uk>
                    
27     */
                    
118     * @author  Andreas Gohr <andi@splitbrain.org>
                    
119     * @author  Chris Smith <chris@jalakai.co.uk>
                    
120     */
                    
147     *
                    
148     * @author  Chris Smith <chris@jalakai.co.uk>
                    
149     * @param   $user      nick of the user to be changed
                    
237     *
                    
238     * @author  Chris Smith <chris@jalakai.co.uk>
                    
239     * @param   start     index of first user to be returned
                    
                
ArrayTest.php http://firephp.googlecode.com/svn/trunk/ | PHP | 0 lines
                    
1<?php
                    
2/**
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: ArrayTest.php 23772 2011-02-28 21:35:29Z ralph $
                    
21 */
                    
22
                    
23if (!defined('PHPUnit_MAIN_METHOD')) {
                    
24    define('PHPUnit_MAIN_METHOD', 'Zend_Translate_Adapter_ArrayTest::main');
                    
29 */
                    
30require_once 'Zend/Translate/Adapter/Array.php';
                    
31
                    
39 */
                    
40class Zend_Translate_Adapter_ArrayTest extends PHPUnit_Framework_TestCase
                    
41{
                    
55    {
                    
56        $suite  = new PHPUnit_Framework_TestSuite("Zend_Translate_Adapter_ArrayTest");
                    
57        $result = PHPUnit_TextUI_TestRunner::run($suite);
                    
                
Base64Coder.java http://eztally.googlecode.com/svn/trunk/ | Java | 308 lines
                    
1// Copyright 2003-2010 Christian d'Heureuse, Inventec Informatik AG, Zurich, Switzerland
                    
2// www.source-code.biz, www.inventec.ch/chdh
                    
9//  AL, Apache License, http://www.apache.org/licenses
                    
10//  BSD, BSD License, http://www.opensource.org/licenses/bsd-license.php
                    
11//
                    
27 * source-code.biz/base64coder/java</a><br>
                    
28 * Author: Christian d'Heureuse, Inventec Informatik AG, Zurich, Switzerland<br>
                    
29 * Multi-licensed: EPL / LGPL / AL / BSD.
                    
                
module.graphic.gif.php https://bitbucket.org/chamilo/chamilo-dev/ | PHP | 193 lines
                    
1<?php
                    
2/////////////////////////////////////////////////////////////////
                    
9//                                                             //
                    
10// module.graphic.gif.php                                      //
                    
11// module for analyzing GIF Image files                        //
                    
128        //					for ($i = 0; $i < pow(2, $RasterData['code_size']); $i++) {
                    
129        //						$DefaultDataLookupTable[$i] = chr($i);
                    
130        //					}
                    
                
content.php http://creative-portal.googlecode.com/svn/trunk/ | PHP | 238 lines
                    
1<?php
                    
2
                    
14    $sql = "SELECT count(*) FROM `" . NV_PREFIXLANG . "_" . $module_data . "_rows` WHERE `id` != '" . $id . "' AND `url` = '" . $url . "'";
                    
15    list( $numurl ) = $db->sql_fetchrow( $db->sql_query( $sql ) );
                    
16    $msg = ( $numurl > 0 ) ? false : true;
                    
82                nv_insert_logs( NV_LANG_DATA, $module_name, 'log_edit_content', "id ".$id, $admin_info['userid'] );
                    
83            	Header( "Location: " . NV_BASE_ADMINURL . "index.php?" . NV_NAME_VARIABLE . "=" . $module_name . "" );
                    
84                die();
                    
100            	$db->sql_freeresult();
                    
101                Header( "Location: " . NV_BASE_ADMINURL . "index.php?" . NV_NAME_VARIABLE . "=" . $module_name . "" );
                    
102                die();
                    
118    $query = $db->sql_query( "SELECT * FROM `" . NV_PREFIXLANG . "_" . $module_data . "_rows` WHERE `id`=" . $id . "" );
                    
119    $rowcat = $db->sql_fetchrow( $query );
                    
120    if ( $rowcat['id'] > 0 )
                    
141{
                    
142    require_once ( NV_ROOTDIR . '/' . NV_EDITORSDIR . '/' . NV_EDITOR . '/nv.php' );
                    
143}
                    
                
FunctionsSymbols.html git://github.com/ci-bonfire/Bonfire.git | HTML | 20 lines
                    
2
                    
3<html><head><link rel="stylesheet" type="text/css" href="../styles/main.css"><script language=JavaScript src="../javascript/main.js"></script></head><body class="PopupSearchResultsPage" onLoad="NDOnLoad()"><script language=JavaScript><!--
                    
4if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script>
                    
13
                    
14<div id=Index><div class=SRStatus id=Loading>Loading...</div><table border=0 cellspacing=0 cellpadding=0><div class=SRResult id=SR__und_undconstruct><div class=IEntry><a href="javascript:searchResults.Toggle('SR__und_undconstruct')" class=ISymbol>__construct</a><div class=ISubIndex><a href="../files/libraries/assets-php.html#Assets_Class.__construct" target=_parent class=IParent>Assets Class</a><a href="../files/core_modules/users/libraries/auth-php.html#Auth.__construct" target=_parent class=IParent>Auth</a><a href="../files/libraries/Console-php.html#Console.__construct" target=_parent class=IParent>Console</a><a href="../files/libraries/events-php.html#Events_Class.__construct" target=_parent class=IParent>Events Class</a><a href="../files/core_modules/roles/models/role_model-php.html#Role_model.__construct" target=_parent class=IParent>Role_model</a><a href="../files/libraries/template-php.html#Template.__construct" target=_parent class=IParent>Template</a></div></div></div><div class=SRResult id=SR__undfunction_undcheck><div class=IEntry><a href="../files/core/MY_Model-php.html#BF_Model._function_check" target=_parent class=ISymbol>_function_check</a>, <span class=IParent>BF_Model</span></div></div><div class=SRResult id=SR__undget_undactivity><div class=IEntry><a href="../files/core_modules/activities/controllers/reports-php.html#Activities_Reports_Context._get_activity" target=_parent class=ISymbol>_get_activity</a>, <span class=IParent>Activities Reports Context</span></div></div><div class=SRResult id=SR__undidentity_undlogin><div class=IEntry><a href="../files/core_modules/users/libraries/auth-php.html#Auth._identity_login" target=_parent class=ISymbol>_identity_login</a>, <span class=IParent>Auth</span></div></div><div class=SRResult id=SR__undupdate_undschema_undversion><div class=IEntry><a href="../files/core_modules/migrations/libraries/Migrations-php.html#Migrations_Class._update_schema_version" target=_parent class=ISymbol>_update_schema_version</a>, <span class=IParent>Migrations Class</span></div></div></table><div class=SRStatus id=Searching>Searching...</div><div class=SRStatus id=NoMatches>No Matches</div><script type="text/javascript"><!--
                    
15document.getElementById("Loading").style.display="none";
                    
16document.getElementById("NoMatches").style.display="none";
                    
17var searchResults = new SearchResults("searchResults", "HTML");
                    
18searchResults.Search();
                    
                
timesbi.php http://osezno-php-framework.googlecode.com/svn/trunk/ | PHP | 0 lines
                    
1<?php
                    
2$type = 'Core';
                    
6$cw = array(
                    
7	chr(0)=>250,chr(1)=>250,chr(2)=>250,chr(3)=>250,chr(4)=>250,chr(5)=>250,chr(6)=>250,chr(7)=>250,chr(8)=>250,chr(9)=>250,chr(10)=>250,chr(11)=>250,chr(12)=>250,chr(13)=>250,chr(14)=>250,chr(15)=>250,chr(16)=>250,chr(17)=>250,chr(18)=>250,chr(19)=>250,chr(20)=>250,chr(21)=>250,
                    
8	chr(22)=>250,chr(23)=>250,chr(24)=>250,chr(25)=>250,chr(26)=>250,chr(27)=>250,chr(28)=>250,chr(29)=>250,chr(30)=>250,chr(31)=>250,' '=>250,'!'=>389,'"'=>555,'#'=>500,'$'=>500,'%'=>833,'&'=>778,'\''=>278,'('=>333,')'=>333,'*'=>500,'+'=>570,
                    
12	'n'=>556,'o'=>500,'p'=>500,'q'=>500,'r'=>389,'s'=>389,'t'=>278,'u'=>556,'v'=>444,'w'=>667,'x'=>500,'y'=>444,'z'=>389,'{'=>348,'|'=>220,'}'=>348,'~'=>570,chr(127)=>350,chr(128)=>500,chr(129)=>350,chr(130)=>333,chr(131)=>500,
                    
13	chr(132)=>500,chr(133)=>1000,chr(134)=>500,chr(135)=>500,chr(136)=>333,chr(137)=>1000,chr(138)=>556,chr(139)=>333,chr(140)=>944,chr(141)=>350,chr(142)=>611,chr(143)=>350,chr(144)=>350,chr(145)=>333,chr(146)=>333,chr(147)=>500,chr(148)=>500,chr(149)=>350,chr(150)=>500,chr(151)=>1000,chr(152)=>333,chr(153)=>1000,
                    
14	chr(154)=>389,chr(155)=>333,chr(156)=>722,chr(157)=>350,chr(158)=>389,chr(159)=>611,chr(160)=>250,chr(161)=>389,chr(162)=>500,chr(163)=>500,chr(164)=>500,chr(165)=>500,chr(166)=>220,chr(167)=>500,chr(168)=>333,chr(169)=>747,chr(170)=>266,chr(171)=>500,chr(172)=>606,chr(173)=>333,chr(174)=>747,chr(175)=>333,
                    
14	chr(154)=>389,chr(155)=>333,chr(156)=>722,chr(157)=>350,chr(158)=>389,chr(159)=>611,chr(160)=>250,chr(161)=>389,chr(162)=>500,chr(163)=>500,chr(164)=>500,chr(165)=>500,chr(166)=>220,chr(167)=>500,chr(168)=>333,chr(169)=>747,chr(170)=>266,chr(171)=>500,chr(172)=>606,chr(173)=>333,chr(174)=>747,chr(175)=>333,
                    
15	chr(176)=>400,chr(177)=>570,chr(178)=>300,chr(179)=>300,chr(180)=>333,chr(181)=>576,chr(182)=>500,chr(183)=>250,chr(184)=>333,chr(185)=>300,chr(186)=>300,chr(187)=>500,chr(188)=>750,chr(189)=>750,chr(190)=>750,chr(191)=>500,chr(192)=>667,chr(193)=>667,chr(194)=>667,chr(195)=>667,chr(196)=>667,chr(197)=>667,
                    
16	chr(198)=>944,chr(199)=>667,chr(200)=>667,chr(201)=>667,chr(202)=>667,chr(203)=>667,chr(204)=>389,chr(205)=>389,chr(206)=>389,chr(207)=>389,chr(208)=>722,chr(209)=>722,chr(210)=>722,chr(211)=>722,chr(212)=>722,chr(213)=>722,chr(214)=>722,chr(215)=>570,chr(216)=>722,chr(217)=>722,chr(218)=>722,chr(219)=>722,
                    
16	chr(198)=>944,chr(199)=>667,chr(200)=>667,chr(201)=>667,chr(202)=>667,chr(203)=>667,chr(204)=>389,chr(205)=>389,chr(206)=>389,chr(207)=>389,chr(208)=>722,chr(209)=>722,chr(210)=>722,chr(211)=>722,chr(212)=>722,chr(213)=>722,chr(214)=>722,chr(215)=>570,chr(216)=>722,chr(217)=>722,chr(218)=>722,chr(219)=>722,
                    
17	chr(220)=>722,chr(221)=>611,chr(222)=>611,chr(223)=>500,chr(224)=>500,chr(225)=>500,chr(226)=>500,chr(227)=>500,chr(228)=>500,chr(229)=>500,chr(230)=>722,chr(231)=>444,chr(232)=>444,chr(233)=>444,chr(234)=>444,chr(235)=>444,chr(236)=>278,chr(237)=>278,chr(238)=>278,chr(239)=>278,chr(240)=>500,chr(241)=>556,
                    
18	chr(242)=>500,chr(243)=>500,chr(244)=>500,chr(245)=>500,chr(246)=>500,chr(247)=>570,chr(248)=>500,chr(249)=>556,chr(250)=>556,chr(251)=>556,chr(252)=>556,chr(253)=>444,chr(254)=>500,chr(255)=>444);
                    
                
timesb.php http://osezno-php-framework.googlecode.com/svn/trunk/ | PHP | 0 lines
                    
1<?php
                    
2$type = 'Core';
                    
6$cw = array(
                    
7	chr(0)=>250,chr(1)=>250,chr(2)=>250,chr(3)=>250,chr(4)=>250,chr(5)=>250,chr(6)=>250,chr(7)=>250,chr(8)=>250,chr(9)=>250,chr(10)=>250,chr(11)=>250,chr(12)=>250,chr(13)=>250,chr(14)=>250,chr(15)=>250,chr(16)=>250,chr(17)=>250,chr(18)=>250,chr(19)=>250,chr(20)=>250,chr(21)=>250,
                    
8	chr(22)=>250,chr(23)=>250,chr(24)=>250,chr(25)=>250,chr(26)=>250,chr(27)=>250,chr(28)=>250,chr(29)=>250,chr(30)=>250,chr(31)=>250,' '=>250,'!'=>333,'"'=>555,'#'=>500,'$'=>500,'%'=>1000,'&'=>833,'\''=>278,'('=>333,')'=>333,'*'=>500,'+'=>570,
                    
12	'n'=>556,'o'=>500,'p'=>556,'q'=>556,'r'=>444,'s'=>389,'t'=>333,'u'=>556,'v'=>500,'w'=>722,'x'=>500,'y'=>500,'z'=>444,'{'=>394,'|'=>220,'}'=>394,'~'=>520,chr(127)=>350,chr(128)=>500,chr(129)=>350,chr(130)=>333,chr(131)=>500,
                    
13	chr(132)=>500,chr(133)=>1000,chr(134)=>500,chr(135)=>500,chr(136)=>333,chr(137)=>1000,chr(138)=>556,chr(139)=>333,chr(140)=>1000,chr(141)=>350,chr(142)=>667,chr(143)=>350,chr(144)=>350,chr(145)=>333,chr(146)=>333,chr(147)=>500,chr(148)=>500,chr(149)=>350,chr(150)=>500,chr(151)=>1000,chr(152)=>333,chr(153)=>1000,
                    
14	chr(154)=>389,chr(155)=>333,chr(156)=>722,chr(157)=>350,chr(158)=>444,chr(159)=>722,chr(160)=>250,chr(161)=>333,chr(162)=>500,chr(163)=>500,chr(164)=>500,chr(165)=>500,chr(166)=>220,chr(167)=>500,chr(168)=>333,chr(169)=>747,chr(170)=>300,chr(171)=>500,chr(172)=>570,chr(173)=>333,chr(174)=>747,chr(175)=>333,
                    
14	chr(154)=>389,chr(155)=>333,chr(156)=>722,chr(157)=>350,chr(158)=>444,chr(159)=>722,chr(160)=>250,chr(161)=>333,chr(162)=>500,chr(163)=>500,chr(164)=>500,chr(165)=>500,chr(166)=>220,chr(167)=>500,chr(168)=>333,chr(169)=>747,chr(170)=>300,chr(171)=>500,chr(172)=>570,chr(173)=>333,chr(174)=>747,chr(175)=>333,
                    
15	chr(176)=>400,chr(177)=>570,chr(178)=>300,chr(179)=>300,chr(180)=>333,chr(181)=>556,chr(182)=>540,chr(183)=>250,chr(184)=>333,chr(185)=>300,chr(186)=>330,chr(187)=>500,chr(188)=>750,chr(189)=>750,chr(190)=>750,chr(191)=>500,chr(192)=>722,chr(193)=>722,chr(194)=>722,chr(195)=>722,chr(196)=>722,chr(197)=>722,
                    
16	chr(198)=>1000,chr(199)=>722,chr(200)=>667,chr(201)=>667,chr(202)=>667,chr(203)=>667,chr(204)=>389,chr(205)=>389,chr(206)=>389,chr(207)=>389,chr(208)=>722,chr(209)=>722,chr(210)=>778,chr(211)=>778,chr(212)=>778,chr(213)=>778,chr(214)=>778,chr(215)=>570,chr(216)=>778,chr(217)=>722,chr(218)=>722,chr(219)=>722,
                    
16	chr(198)=>1000,chr(199)=>722,chr(200)=>667,chr(201)=>667,chr(202)=>667,chr(203)=>667,chr(204)=>389,chr(205)=>389,chr(206)=>389,chr(207)=>389,chr(208)=>722,chr(209)=>722,chr(210)=>778,chr(211)=>778,chr(212)=>778,chr(213)=>778,chr(214)=>778,chr(215)=>570,chr(216)=>778,chr(217)=>722,chr(218)=>722,chr(219)=>722,
                    
17	chr(220)=>722,chr(221)=>722,chr(222)=>611,chr(223)=>556,chr(224)=>500,chr(225)=>500,chr(226)=>500,chr(227)=>500,chr(228)=>500,chr(229)=>500,chr(230)=>722,chr(231)=>444,chr(232)=>444,chr(233)=>444,chr(234)=>444,chr(235)=>444,chr(236)=>278,chr(237)=>278,chr(238)=>278,chr(239)=>278,chr(240)=>500,chr(241)=>556,
                    
18	chr(242)=>500,chr(243)=>500,chr(244)=>500,chr(245)=>500,chr(246)=>500,chr(247)=>570,chr(248)=>500,chr(249)=>556,chr(250)=>556,chr(251)=>556,chr(252)=>556,chr(253)=>500,chr(254)=>556,chr(255)=>500);
                    
                
helvetica.php http://osezno-php-framework.googlecode.com/svn/trunk/ | PHP | 0 lines
                    
1<?php
                    
2$type = 'Core';
                    
6$cw = array(
                    
7	chr(0)=>278,chr(1)=>278,chr(2)=>278,chr(3)=>278,chr(4)=>278,chr(5)=>278,chr(6)=>278,chr(7)=>278,chr(8)=>278,chr(9)=>278,chr(10)=>278,chr(11)=>278,chr(12)=>278,chr(13)=>278,chr(14)=>278,chr(15)=>278,chr(16)=>278,chr(17)=>278,chr(18)=>278,chr(19)=>278,chr(20)=>278,chr(21)=>278,
                    
8	chr(22)=>278,chr(23)=>278,chr(24)=>278,chr(25)=>278,chr(26)=>278,chr(27)=>278,chr(28)=>278,chr(29)=>278,chr(30)=>278,chr(31)=>278,' '=>278,'!'=>278,'"'=>355,'#'=>556,'$'=>556,'%'=>889,'&'=>667,'\''=>191,'('=>333,')'=>333,'*'=>389,'+'=>584,
                    
12	'n'=>556,'o'=>556,'p'=>556,'q'=>556,'r'=>333,'s'=>500,'t'=>278,'u'=>556,'v'=>500,'w'=>722,'x'=>500,'y'=>500,'z'=>500,'{'=>334,'|'=>260,'}'=>334,'~'=>584,chr(127)=>350,chr(128)=>556,chr(129)=>350,chr(130)=>222,chr(131)=>556,
                    
13	chr(132)=>333,chr(133)=>1000,chr(134)=>556,chr(135)=>556,chr(136)=>333,chr(137)=>1000,chr(138)=>667,chr(139)=>333,chr(140)=>1000,chr(141)=>350,chr(142)=>611,chr(143)=>350,chr(144)=>350,chr(145)=>222,chr(146)=>222,chr(147)=>333,chr(148)=>333,chr(149)=>350,chr(150)=>556,chr(151)=>1000,chr(152)=>333,chr(153)=>1000,
                    
14	chr(154)=>500,chr(155)=>333,chr(156)=>944,chr(157)=>350,chr(158)=>500,chr(159)=>667,chr(160)=>278,chr(161)=>333,chr(162)=>556,chr(163)=>556,chr(164)=>556,chr(165)=>556,chr(166)=>260,chr(167)=>556,chr(168)=>333,chr(169)=>737,chr(170)=>370,chr(171)=>556,chr(172)=>584,chr(173)=>333,chr(174)=>737,chr(175)=>333,
                    
14	chr(154)=>500,chr(155)=>333,chr(156)=>944,chr(157)=>350,chr(158)=>500,chr(159)=>667,chr(160)=>278,chr(161)=>333,chr(162)=>556,chr(163)=>556,chr(164)=>556,chr(165)=>556,chr(166)=>260,chr(167)=>556,chr(168)=>333,chr(169)=>737,chr(170)=>370,chr(171)=>556,chr(172)=>584,chr(173)=>333,chr(174)=>737,chr(175)=>333,
                    
15	chr(176)=>400,chr(177)=>584,chr(178)=>333,chr(179)=>333,chr(180)=>333,chr(181)=>556,chr(182)=>537,chr(183)=>278,chr(184)=>333,chr(185)=>333,chr(186)=>365,chr(187)=>556,chr(188)=>834,chr(189)=>834,chr(190)=>834,chr(191)=>611,chr(192)=>667,chr(193)=>667,chr(194)=>667,chr(195)=>667,chr(196)=>667,chr(197)=>667,
                    
16	chr(198)=>1000,chr(199)=>722,chr(200)=>667,chr(201)=>667,chr(202)=>667,chr(203)=>667,chr(204)=>278,chr(205)=>278,chr(206)=>278,chr(207)=>278,chr(208)=>722,chr(209)=>722,chr(210)=>778,chr(211)=>778,chr(212)=>778,chr(213)=>778,chr(214)=>778,chr(215)=>584,chr(216)=>778,chr(217)=>722,chr(218)=>722,chr(219)=>722,
                    
16	chr(198)=>1000,chr(199)=>722,chr(200)=>667,chr(201)=>667,chr(202)=>667,chr(203)=>667,chr(204)=>278,chr(205)=>278,chr(206)=>278,chr(207)=>278,chr(208)=>722,chr(209)=>722,chr(210)=>778,chr(211)=>778,chr(212)=>778,chr(213)=>778,chr(214)=>778,chr(215)=>584,chr(216)=>778,chr(217)=>722,chr(218)=>722,chr(219)=>722,
                    
17	chr(220)=>722,chr(221)=>667,chr(222)=>667,chr(223)=>611,chr(224)=>556,chr(225)=>556,chr(226)=>556,chr(227)=>556,chr(228)=>556,chr(229)=>556,chr(230)=>889,chr(231)=>500,chr(232)=>556,chr(233)=>556,chr(234)=>556,chr(235)=>556,chr(236)=>278,chr(237)=>278,chr(238)=>278,chr(239)=>278,chr(240)=>556,chr(241)=>556,
                    
18	chr(242)=>556,chr(243)=>556,chr(244)=>556,chr(245)=>556,chr(246)=>556,chr(247)=>584,chr(248)=>611,chr(249)=>556,chr(250)=>556,chr(251)=>556,chr(252)=>556,chr(253)=>500,chr(254)=>556,chr(255)=>500);
                    
                
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            }
                    
                
paymtop1.php http://ebpls.googlecode.com/svn/trunk/ | PHP | 361 lines
                    
93		$totfee=0;
                    
94		require_once"includes/penalty.php";
                    
95		$totalpay=$grandamt;
                    
177	<tr>
                    
178	<td align=right><?php echo $getj[1]; ?> &nbsp; -----------------</td><td><?php echo $getj[2]; ?></td>
                    
179	</tr>
                    
189	$totalfee = $totass;
                    
190include_once "includes/other_permit_penalty.php";
                    
191$totass=$totass + $otherpen + $otherint + $otherlate;
                    
288?>
                    
289<td><div align=center><a href="#" class=subnavwhite onclick='window.open("ebplsothrec.php?owner_id=<?php echo $owner_id; ?>&or_no=<?php echo $get_info[4]; ?>&permit_type=<?php echo $permit_type; ?>&stat=<?php echo $stat; ?>");'>Print OR</a></div></td>
                    
290<?php
                    
295?>
                    
296<td><div align=center><a href="#" class=subnavwhite onclick='window.open("ebplsothrec.php?owner_id=<?php echo $owner_id; ?>&or_no=<?php echo $get_info[4]; ?>&permit_type=<?php echo $permit_type; ?>&stat=<?php echo $stat; ?>");'>Re-Print OR</a></div></td>
                    
297<?php
                    
                
testbed.php https://webcore.svn.codeplex.com/svn | PHP | 247 lines
                    
1<?php
                    
2/**
                    
6 */
                    
7require_once 'initialize.inc.php';
                    
8HttpContext::getPermissionSet()->setDefaultResolve(Permission::PERMISSION_ALLOW);
                    
108        $this->view = new HtmlGridView($this->model);
                    
109        $this->view->setIsAsynchronous(true);
                    
110    }
                    
199            $this->model->dataBind($dataSource);
                    
200            if ($this->view->getIsAsynchronous())
                    
201            {
                    
218        $requestUrl = HttpContextInfo::getInstance()->getRequestScriptPath();
                    
219        if (StringHelper::endsWith($requestUrl, '.index.php'))
                    
220        {
                    
220        {
                    
221            $targetUrl = StringHelper::replaceEnd($requestUrl, '.index.php', '.details.php');
                    
222            Controller::transfer($targetUrl . '?id=' . urlencode($event->getValue()));
                    
                
function.html_checkboxes.php git://github.com/modxcms/revolution.git | PHP | 286 lines
                    
1<?php
                    
2/**
                    
9 * Smarty {html_checkboxes} function plugin
                    
10 * File:       function.html_checkboxes.php
                    
11 * Type:       function
                    
31 *
                    
32 * @link    http://www.smarty.net/manual/en/language.function.html.checkboxes.php {html_checkboxes}
                    
33 *             (Smarty online manual)
                    
33 *             (Smarty online manual)
                    
34 * @author  Christopher Kvarme <christopher.kvarme@flashjab.com>
                    
35 * @author  credits to Monte Ohrt <monte at ohrt dot com>
                    
50                'function' => 'smarty_function_escape_special_chars',
                    
51                'file'     => SMARTY_PLUGINS_DIR . 'shared.escape_special_chars.php'
                    
52            )
                    
                
christmas_present.pl http://tsmadmpl.googlecode.com/svn/trunk/ | Perl | 69 lines
                    
27
                    
28sub christmasTree () {
                    
29 
                    
59    #$screen .= $extraspace."                 `\"\"\"` `\n";
                    
60    #ASCII art ftom http://www.chris.com/ascii/index.php?art=holiday%2Fchristmas%2Ftrees
                    
61
                    
                
ProfilerController.php git://github.com/fabpot/symfony.git | PHP | 407 lines
                    
1<?php
                    
2
                    
230     */
                    
231    public function searchResultsAction(Request $request, string $token)
                    
232    {
                    
316    /**
                    
317     * Displays the PHP info.
                    
318     *
                    
322     */
                    
323    public function phpinfoAction()
                    
324    {
                    
331        ob_start();
                    
332        phpinfo();
                    
333        $phpinfo = ob_get_clean();
                    
334
                    
335        return new Response($phpinfo, 200, ['Content-Type' => 'text/html']);
                    
336    }
                    
                
rssdata.php http://nukeviet-music.googlecode.com/svn/trunk/ | PHP | 87 lines
                    
1<?php
                    
2
                    
28		'title' => $lang_rss['rss_gift'],
                    
29		'link' => NV_BASE_SITEURL . "index.php?" . NV_LANG_VARIABLE . "=" . NV_LANG_DATA . "&amp;" . NV_NAME_VARIABLE . "=" . $mod_name . "&amp;" . NV_OP_VARIABLE . "=rss/" . change_alias( $lang_rss['rss_gift'] ) //
                    
30			);
                    
36		'title' => $lang_rss['rss_play_list'],
                    
37		'link' => NV_BASE_SITEURL . "index.php?" . NV_LANG_VARIABLE . "=" . NV_LANG_DATA . "&amp;" . NV_NAME_VARIABLE . "=" . $mod_name . "&amp;" . NV_OP_VARIABLE . "=rss/" . change_alias( $lang_rss['rss_play_list'] ) //
                    
38			);
                    
47		'title' => $lang_rss['rss_music'],
                    
48		'link' => NV_BASE_SITEURL . "index.php?" . NV_LANG_VARIABLE . "=" . NV_LANG_DATA . "&amp;" . NV_NAME_VARIABLE . "=" . $mod_name . "&amp;" . NV_OP_VARIABLE . "=rss/" . change_alias( $lang_rss['rss_music'] ) //
                    
49			);
                    
50
                    
51	while( list( $catid, $title ) = $db->sql_fetchrow( $result2 ) )
                    
52	{
                    
57			'title' => $title,
                    
58			'link' => NV_BASE_SITEURL . "index.php?" . NV_LANG_VARIABLE . "=" . NV_LANG_DATA . "&amp;" . NV_NAME_VARIABLE . "=" . $mod_name . "&amp;" . NV_OP_VARIABLE . "=rss/" . change_alias( $lang_rss['rss_music'] ) . "/" . change_alias( $title ) //
                    
59				);
                    
                
plugins_list.rst git://github.com/yuroyoro/dotfiles.git | ReStructuredText | 238 lines
                    
8vim-pathogen : bundleディレクトリ配下にpluginを配置することでプラグイン管理を簡単に
                    
9- http://www.vim.org/scripts/script.php?script_id=2332
                    
10- http://www.allenwei.cn/tips-using-git-submodule-keep-your-plugin-up-to-date/
                    
16smooth_scroll.vim : スクロールを賢く
                    
17- http://www.vim.org/scripts/script.php?script_id=1601
                    
18- http://blog.blueblack.net/item_219
                    
23Align : 高機能整形・桁揃えプラグイン
                    
24- http://vim.sourceforge.net/scripts/script.php?script_id=294
                    
25- http://nanasi.jp/articles/vim/align/align_vim.html
                    
28surround.vim : テキストを括弧で囲む/削除する
                    
29- http://www.vim.org/scripts/script.php?script_id=1697
                    
30- http://vimwiki.net/?scripts%2F16
                    
33SQLUtilities : SQL整形、生成ユーティリティ
                    
34- http://www.vim.org/scripts/script.php?script_id=492
                    
35- http://vimwiki.net/?scripts%2F20
                    
                
core.charset.class.php http://php-ppcms.googlecode.com/svn/trunk/ | PHP | 310 lines
                    
1<?php
                    
2/***************************************************************
                    
206						for($i = 0; $i < strlen($utf8); $i += 3) {
                    
207							$outstring .= chr(substr($utf8, $i, 3));
                    
208						}
                    
261		for($i=0, $n=strlen($hexdata); $i<$n; $i += 2) {
                    
262			$bindata .= chr(hexdec(substr($hexdata, $i, 2)));
                    
263		}
                    
                
AbstractHeader.php git://github.com/swiftmailer/swiftmailer.git | PHP | 476 lines
                    
1<?php
                    
2
                    
4 * This file is part of SwiftMailer.
                    
5 * (c) 2004-2009 Chris Corbyn
                    
6 *
                    
13 *
                    
14 * @author     Chris Corbyn
                    
15 */
                    
                
admin_Categories.php http://malleo-cms.googlecode.com/svn/trunk/ | PHP | 193 lines
                    
1<?php
                    
2/*
                    
25
                    
26require_once(ANNONCES_PATH.'/class/class_core.php');
                    
27Core::setup();
                    
37
                    
38require(ANNONCES_PATH.'/prerequis.php');
                    
39$tpl->set_filenames(array('body_admin' => ANNONCES_PATH.'/html/admin_categories.html'));
                    
60			$sens  = ($_GET['sens']=='up')? '+':'-';
                    
61			require_once($root.'fonctions/fct_formulaires.php');
                    
62			deplacer_id_tableau(TABLE_ANNONCES_CATS, 'id_cat', 'ordre', 'ASC', intval($_GET['id_cat']), $sens);
                    
99			$resultat = $c->sql_query($sql) OR message_die(E_ERROR,512,__FILE__,__LINE__,$sql); 
                    
100			$row = $c->sql_fetchrow($resultat);
                    
101			$tpl->assign_vars(array(
                    
120$liste_cats = array();
                    
121while($row = $c->sql_fetchrow($resultat))
                    
122{
                    
                
register.php http://malleo-cms.googlecode.com/svn/trunk/ | PHP | 212 lines
                    
1<?php
                    
2/*
                    
22$root = './';
                    
23require_once($root.'/chargement.php');
                    
24$style_name=load_style();
                    
29// Chargement de la librairie Captcha
                    
30$cryptinstall = $root.'librairies/crypt/cryptographp.fct.php';
                    
31include_once($cryptinstall);
                    
52		{
                    
53			$row = $c->sql_fetchrow($resultat);
                    
54			$etape = 4;
                    
117			// On ajoute le compte en mode inactif
                    
118			require_once($root.'fonctions/fct_maths.php');
                    
119			$clef = generate_key(30);
                    
122			load_lang('emails');
                    
123			require_once($root.'class/class_mail.php');
                    
124			$email = new mail();
                    
                
firebug.js http://fbug.googlecode.com/svn/ | JavaScript | 156 lines
                    
1// For a detailed description of all preferences see http://getfirebug.com/wiki/index.php/Firebug_Preferences
                    
2
                    
41pref("extensions.firebug.netSearchParameters", false);
                    
42pref("extensions.firebug.netSearchResponseBody", false);
                    
43
                    
48pref("extensions.firebug.showXMLErrors", false);
                    
49pref("extensions.firebug.showChromeErrors", false);
                    
50pref("extensions.firebug.showChromeMessages", false);
                    
                
mssql.php git://github.com/phpbb/phpbb3.git | PHP | 441 lines
                    
1<?php
                    
2/**
                    
4* @package dbal
                    
5* @copyright (c) 2005 phpBB Group
                    
6* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
                    
12*/
                    
13if (!defined('IN_PHPBB'))
                    
14{
                    
17
                    
18include_once($phpbb_root_path . 'includes/db/dbal.' . $phpEx);
                    
19
                    
35
                    
36		$port_delimiter = (defined('PHP_OS') && substr(PHP_OS, 0, 3) === 'WIN') ? ',' : ':';
                    
37		$this->server = $sqlserver . (($port) ? $port_delimiter . $port : '');
                    
219	*/
                    
220	function sql_fetchrow($query_id = false)
                    
221	{
                    
                
FunctionsA.html git://github.com/nagaozen/asp-xtreme-evolution.git | HTML | 169 lines
                    
10    </head>
                    
11    <body class="PopupSearchResultsPage" onload="NDOnLoad()">
                    
12        <script language="JavaScript" type="text/javascript">
                    
43                <div class="IEntry">
                    
44                    <a href="javascript:searchResults.Toggle('SR_addFilter')" class="ISymbol">addFilter</a>
                    
45                    <div class="ISubIndex">
                    
45                    <div class="ISubIndex">
                    
46                        <a href="../files/lib/axe/classes/Utilities/logger-asp.html#Logger.addFilter" target="_parent" class="IParent">Logger</a><a href="../files/lib/axe/classes/Utilities/Logger/Adapters/firephp-asp.html#Logger_Adapter_FirePHP.addFilter" target="_parent" class="IParent">Logger_Adapter_FirePHP</a><a href="../files/lib/axe/classes/Utilities/Logger/Adapters/response-asp.html#Logger_Adapter_Response.addFilter" target="_parent" class="IParent">Logger_Adapter_Response</a><a href="../files/lib/axe/classes/Utilities/Logger/Adapters/text-asp.html#Logger_Adapter_Text.addFilter" target="_parent" class="IParent">Logger_Adapter_Text</a>
                    
47                    </div>
                    
86                <div class="IEntry">
                    
87                    <a href="javascript:searchResults.Toggle('SR_Application_undonStart')" class="ISymbol">Application_onStart</a>
                    
88                    <div class="ISubIndex">
                    
151            document.getElementById("NoMatches").style.display="none";
                    
152            var searchResults = new SearchResults("searchResults", "HTML");
                    
153            searchResults.Search();
                    
                
addvideo.php http://nukeviet-music.googlecode.com/svn/trunk/ | PHP | 422 lines
                    
1<?php
                    
2
                    
82
                    
83	$row = $db->sql_fetchrow( $result );
                    
84
                    
120		$result = $db->sql_query( "SELECT COUNT(*) FROM `" . NV_PREFIXLANG . "_" . $module_data . "_video` WHERE `casi`=" . $array['casi'] . " AND `tname`=" . $db->dbescape( $array['tname'] ) . " AND `id`!=" . $id );
                    
121		list( $exist ) = $db->sql_fetchrow( $result );
                    
122		if( $exist )
                    
189			nv_del_moduleCache( $module_name );
                    
190			Header( "Location: " . NV_BASE_ADMINURL . "index.php?" . NV_NAME_VARIABLE . "=" . $module_name . "&" . NV_OP_VARIABLE . "=videoclip" );
                    
191			die();
                    
208		$result = $db->sql_query( "SELECT COUNT(*) FROM `" . NV_PREFIXLANG . "_" . $module_data . "_video` WHERE `casi`=" . $array['casi'] . " AND `tname`=" . $db->dbescape( $array['tname'] ) );
                    
209		list( $exist ) = $db->sql_fetchrow( $result );
                    
210		if( $exist )
                    
256			nv_del_moduleCache( $module_name );
                    
257			Header( "Location: " . NV_BASE_ADMINURL . "index.php?" . NV_NAME_VARIABLE . "=" . $module_name . "&" . NV_OP_VARIABLE . "=videoclip" );
                    
258			die();
                    
                
PHPParserTester.java https://jedit.svn.sourceforge.net/svnroot/jedit | Java | 331 lines
                    
123		checkPHP("require_once(\"mainfile.php\");  ");
                    
124		checkPHP("if (eregi(\"footer.php\",$PHP_SELF)) {\n"
                    
125			 + "Header(\"Location: index.php\");\n" + "die();\n" + "}\n");
                    
125			 + "Header(\"Location: index.php\");\n" + "die();\n" + "}\n");
                    
126		checkPHP("while (eregi(\"footer.php\",$PHP_SELF)) {\n"
                    
127			 + "Header(\"Location: index.php\");\n" + "die();\n" + "}\n");
                    
127			 + "Header(\"Location: index.php\");\n" + "die();\n" + "}\n");
                    
128		checkPHP("while (eregi(\"footer.php\",$PHP_SELF)) :\n"
                    
129			 + "Header(\"Location: index.php\");\n" + "die();\n" + "endwhile;\n");
                    
159		checkHTML("<?php phpinfo()?>");
                    
160		checkHTML("<?php phpinfo(); ?> foo <?php phpinfo(); ?>");
                    
161		checkHTML(" <?php //this is a line comment ?>");
                    
257			System.out.println("strEval = " + strEval.toString());
                    
258			/*   PHPParser phpParser = new PHPParser();
                    
259				 phpParser.parse();  */
                    
                
blocks.php http://creative-portal.googlecode.com/svn/trunk/ | PHP | 203 lines
                    
1<?php
                    
2/**
                    
14{
                    
15    $select_options[NV_BASE_ADMINURL . "index.php?" . NV_NAME_VARIABLE . "=" . $module_name . "&" . NV_OP_VARIABLE . "=blocks&selectthemes=" . $themes_i] = $themes_i;
                    
16}
                    
39$result = $db->sql_query( $sql );
                    
40while ( list( $m_title, $m_custom_title ) = $db->sql_fetchrow( $result ) )
                    
41{
                    
60$banners_pl_list = array();
                    
61while ( $row_bpn = $db->sql_fetchrow( $result ) )
                    
62{
                    
72$result = $db->sql_query( "SELECT bid, groupbl, title, type, file_path, position, all_func, func_id, weight, exp_time, active FROM `" . NV_BLOCKS_TABLE . "` WHERE theme='" . $selectthemes . "' GROUP BY `groupbl` ORDER BY `position` ASC" );
                    
73while ( $row = $db->sql_fetchrow( $result ) )
                    
74{
                    
117        $result_func = $db->sql_query( "SELECT a.func_id,b.in_module, b.func_custom_name FROM `" . NV_BLOCKS_TABLE . "` a INNER JOIN `" . NV_MODFUNCS_TABLE . "` b ON a.func_id=b.func_id WHERE groupbl=" . $row['groupbl'] . "" );
                    
118        while ( list( $funcid_inlist, $func_inmodule, $funcname_inlist ) = $db->sql_fetchrow( $result_func ) )
                    
119        {
                    
                
Appender.js git://github.com/qooxdoo/qooxdoo.git | JavaScript | 127 lines
                    
11     LGPL: http://www.gnu.org/licenses/lgpl.html
                    
12     EPL: http://www.eclipse.org/org/documents/epl-v10.php
                    
13     See the LICENSE file in the project's top-level directory for details.
                    
15   Authors:
                    
16     * Christian Hagendorn (chris_schmidt)
                    
17
                    
                
Settings.Designer.cs https://WLQuickAppsBeta.svn.codeplex.com/svn | C# | 59 lines
                    
17        
                    
18        private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
                    
19        
                    
28        [global::System.Configuration.SpecialSettingAttribute(global::System.Configuration.SpecialSetting.WebServiceUrl)]
                    
29        [global::System.Configuration.DefaultSettingValueAttribute("http://www.weather.gov/forecasts/xml/SOAP_server/ndfdXMLserver.php")]
                    
30        public string WLQuickApps_FieldManager_Business_WeatherService_ndfdXML {
                    
                
TwigSwiftMailer.php git://github.com/FriendsOfSymfony/FOSUserBundle.git | PHP | 117 lines
                    
1<?php
                    
2
                    
17/**
                    
18 * @author Christophe Coevoet <stof@notk.org>
                    
19 */
                    
                
DelegatingValidator.php git://github.com/eryx/php-framework-benchmark.git | PHP | 264 lines
                    
1<?php
                    
2
                    
68                            if (!isset($children[$element])) {
                    
69                                if ($form->isSynchronized()) {
                    
70                                    $form->addError($error);
                    
77
                    
78                        if ($child->isSynchronized()) {
                    
79                            $child->addError($error);
                    
91                        if (preg_match($mappedPath, $propertyPath)) {
                    
92                            if ($child->isSynchronized()) {
                    
93                                $child->addError($error);
                    
98
                    
99                    if ($form->isSynchronized()) {
                    
100                        $form->addError($error);
                    
                
outputcache.php git://github.com/chregu/planet-php.git | PHP | 239 lines
                    
1<?php
                    
2// +----------------------------------------------------------------------+
                    
16// +----------------------------------------------------------------------+
                    
17// | Author: Christian Stocker <chregu@bitflux.ch>                        |
                    
18// +----------------------------------------------------------------------+
                    
19//
                    
20// $Id: outputcache.php 3605 2005-02-06 12:46:28Z bitflux $
                    
21
                    
24*
                    
25* @author   Christian Stocker <chregu@bitflux.ch>
                    
26* @version  $Id: outputcache.php 3605 2005-02-06 12:46:28Z bitflux $
                    
90    function __construct(popoon_classes_config $options = NULL) {
                    
91        require_once('Cache/Output.php');
                    
92        $this->options = $options;
                    
178        }
                    
179        // we don't want phps cache-control stuff, when we do caching
                    
180        // there is a "problem" if session_start is used, then PHP adds no-cache http headers
                    
                
webcore.google.visualization.php https://webcore.svn.codeplex.com/svn | PHP | 332 lines
                    
1<?php
                    
2/**
                    
170        $this->frameWidth     = "auto";
                    
171        $this->isAsynchronous = true;
                    
172        $callbacks =& $this->renderCallbacks->getArrayReference();
                    
210        $this->frameWidth     = "auto";
                    
211        $this->isAsynchronous = true;
                    
212        $callbacks =& $this->renderCallbacks->getArrayReference();
                    
                
mach_signal.cpp git://github.com/slavapestov/factor.git | C++ | 231 lines
                    
8
                    
9http://sourceforge.net/mailarchive/message.php?msg_name=200503102200.32002.bruno%40clisp.org
                    
10
                    
59
                    
60    handler = (cell)factor::synchronous_signal_handler_impl;
                    
61  }
                    
                
showabos.php http://avecms.googlecode.com/svn/trunk/ | PHP | 98 lines
                    
1<?php
                    
2/*::::::::::::::::::::::::::::::::::::::::
                    
5 Version: 2.0 (Service Pack 2)
                    
6 Authors:  Arcanum (php@211.ru) &  Censored!
                    
7 Date: March 18, 2008
                    
55			$r_forum = $GLOBALS['AVE_DB']->Query("SELECT id, status FROM " . PREFIX . "_modul_forum_forum WHERE id = '".$topic['forum_id']."'");
                    
56			$rx = $r_forum->FetchRow();
                    
57			if ($topic['status'] == FORUM_STATUS_MOVED)
                    
69
                    
70			$topic['autorlink'] = "index.php?module=forums&amp;show=userprofile&amp;user_id=" . $topic['uid'];
                    
71			$topic['link'] = "index.php?module=forums&amp;show=showtopic&toid=".$topic['id']."&amp;fid=" . $topic['forum_id'];
                    
71			$topic['link'] = "index.php?module=forums&amp;show=showtopic&toid=".$topic['id']."&amp;fid=" . $topic['forum_id'];
                    
72			$topic['forumslink'] = "index.php?module=forums&amp;show=showforum&amp;fid=" . $topic['forum_id'];
                    
73			$topic['autor'] = $topic['BenutzerName'];
                    
81
                    
82	$GLOBALS['AVE_Template']->assign("navigation", "<a class='forum_links_navi' href='index.php?module=forums'>"
                    
83		. $GLOBALS['mod']['config_vars']['PageNameForums'] . "</a>"
                    
                
magic.c git://github.com/php/php-src.git | C | 424 lines
                    
1/*
                    
2 * Copyright (c) Christos Zoulas 2003.
                    
3 * All Rights Reserved.
                    
30#ifndef	lint
                    
31FILE_RCSID("@(#)$File: magic.c,v 1.111 2019/05/07 02:27:11 christos Exp $")
                    
32#endif	/* lint */
                    
36#include <stdlib.h>
                    
37#ifdef PHP_WIN32
                    
38#include "win32/unistd.h"
                    
44
                    
45#ifdef PHP_WIN32
                    
46#include <shlwapi.h>
                    
72
                    
73#ifdef PHP_WIN32
                    
74# undef S_IFLNK
                    
                
ChainedBlockStream.php https://PHPExcel.svn.codeplex.com/svn | PHP | 235 lines
                    
21 * @category   PHPExcel
                    
22 * @package    PHPExcel_Shared_OLE
                    
23 * @copyright  Copyright (c) 2006 - 2007 Christian Schmidt
                    
32	 */
                    
33	define('PHPEXCEL_ROOT', dirname(__FILE__) . '/../../../');
                    
34}
                    
35
                    
36require_once PHPEXCEL_ROOT . 'PHPExcel/Shared/OLE.php';
                    
37
                    
41 * Stream wrapper for reading data stored in an OLE file. Implements methods
                    
42 * for PHP's stream_wrapper_register(). For creating streams using this
                    
43 * wrapper, use PHPExcel_Shared_OLE_PPS_File::getStream().
                    
171		$eof = $this->pos >= strlen($this->data);
                    
172		// Workaround for bug in PHP 5.0.x: http://bugs.php.net/27508
                    
173		if (version_compare(PHP_VERSION, '5.0', '>=') &&
                    
                
facebox.js http://swe574-g1.googlecode.com/svn/trunk/ | JavaScript | 210 lines
                    
8 * Licensed under the MIT:
                    
9 *   http://www.opensource.org/licenses/mit-license.php
                    
10 *
                    
10 *
                    
11 * Copyright 2007, 2008 Chris Wanstrath [ chris@ozmm.org ]
                    
12 *
                    
                
types.php http://flexicontent.googlecode.com/svn/trunk/ | PHP | 91 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * @version 1.5 stable $Id: types.php 1800 2013-11-01 04:30:57Z ggppdk $
                    
4 * @package Joomla
                    
9 * FLEXIcontent is a derivative work of the excellent QuickFAQ component
                    
10 * @copyright (C) 2008 Christoph Lukes
                    
11 * see www.schlu.net for more information
                    
                
myblocksadmin.php http://xoopscube-modules.googlecode.com/svn/trunk/ | PHP | 62 lines
                    
1<?php
                    
2
                    
27define( '_MD_A_MYBLOCKSADMIN_ACTION' , 'Action' ) ;
                    
28define( '_MD_A_MYBLOCKSADMIN_DESCRIPTION' , 'Bechreibung' ) ;
                    
29define( '_MD_A_MYBLOCKSADMIN_TOPPAGE' , 'Startseite' ) ;
                    
50define( '_MD_A_MYBLOCKSADMIN_CTYPE_SMILE' , 'HTML+BBCODE+AutoLink+Smiley an' ) ;
                    
51define( '_MD_A_MYBLOCKSADMIN_CTYPE_PHP' , 'PHP-Skript' ) ;
                    
52
                    
                
base.css https://wp7appsite.svn.codeplex.com/svn | CSS | 335 lines
                    
5* Free to use under the MIT license.
                    
6* http://www.opensource.org/licenses/mit-license.php
                    
7* 8/17/2011
                    
136		background: #eee -moz-linear-gradient(top, rgba(255,255,255,.2) 0%, rgba(0,0,0,.2) 100%); /* FF3.6+ */
                    
137		background: #eee -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,.2)), color-stop(100%,rgba(0,0,0,.2))); /* Chrome,Safari4+ */
                    
138		background: #eee -webkit-linear-gradient(top, rgba(255,255,255,.2) 0%,rgba(0,0,0,.2) 100%); /* Chrome10+,Safari5.1+ */
                    
167		background: #ddd -moz-linear-gradient(top, rgba(255,255,255,.3) 0%, rgba(0,0,0,.3) 100%); /* FF3.6+ */
                    
168		background: #ddd -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,.3)), color-stop(100%,rgba(0,0,0,.3))); /* Chrome,Safari4+ */
                    
169		background: #ddd -webkit-linear-gradient(top, rgba(255,255,255,.3) 0%,rgba(0,0,0,.3) 100%); /* Chrome10+,Safari5.1+ */
                    
184		background: #ccc -moz-linear-gradient(top, rgba(255,255,255,.35) 0%, rgba(10,10,10,.4) 100%); /* FF3.6+ */
                    
185		background: #ccc -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,.35)), color-stop(100%,rgba(10,10,10,.4))); /* Chrome,Safari4+ */
                    
186		background: #ccc -webkit-linear-gradient(top, rgba(255,255,255,.35) 0%,rgba(10,10,10,.4) 100%); /* Chrome10+,Safari5.1+ */
                    
                
phreehelp.php http://phreedom.googlecode.com/svn/trunk/ | PHP | 222 lines
                    
17// +-----------------------------------------------------------------+
                    
18//  Path: /modules/phreehelp/functions/phreehelp.php
                    
19//
                    
44	$doc_text  = trim(strip_tags($doc_html));
                    
45	$doc_text  = str_replace(chr(10), ' ', $doc_text); // process out special characters
                    
46	$sql      = "insert into " . TABLE_PHREEHELP . " (doc_url, doc_pos, doc_index, doc_title, doc_text)
                    
73	  } else {
                    
74		$file_ext = substr(strrchr($file, "."), 1);
                    
75		if (!$extension || in_array($file_ext, $extension)) {
                    
142		$entry_string .= '<div id="dc_' . $new_ref . '" style="' . $display_none . 'margin-left:0px;">' . chr(10);
                    
143		$entry_string .= build_help_tree($name, $full_array, $full_array[$index][$j]['id'], $level+1, $cont_level) . chr(10);
                    
144		$entry_string .= '</div>' . chr(10);
                    
170	if (isset($entry['children'])) {
                    
171	  $entry_string .= '<div id="' . $new_ref . '" style="display:none; margin-left:1px;">' . chr(10) . chr(10);
                    
172	  $entry_string .= build_href($entry['children'], $new_ref) . chr(10);
                    
                
transports.c http://php52-backports.googlecode.com/svn/trunk/ | C | 520 lines
                    
51	
                    
52PHPAPI php_stream *_php_stream_xport_create(const char *name, long namelen, int options,
                    
53		int flags, const char *persistent_id,
                    
270/* Get the next client and their address (as a string) */
                    
271PHPAPI int php_stream_xport_accept(php_stream *stream, php_stream **client,
                    
272		char **textaddr, int *textaddrlen,
                    
340
                    
341PHPAPI int php_stream_xport_crypto_setup(php_stream *stream, php_stream_xport_crypt_method_t crypto_method, php_stream *session_stream TSRMLS_DC)
                    
342{
                    
361
                    
362PHPAPI int php_stream_xport_crypto_enable(php_stream *stream, int activate TSRMLS_DC)
                    
363{
                    
383 * peeking, optionally retrieving OOB data */
                    
384PHPAPI int php_stream_xport_recvfrom(php_stream *stream, char *buf, size_t buflen,
                    
385		long flags, void **addr, socklen_t *addrlen, char **textaddr, int *textaddrlen
                    
                
blog_lang.php git://github.com/pyrocms/pyrocms.git | PHP | 67 lines
                    
1<?php
                    
2
                    
5$lang['blog_posted_label_alt']			= 'Geplaatst op';
                    
6$lang['blog_written_by_label']				= 'Geschreven door';
                    
7$lang['blog_author_unknown']				= 'Onbekend';
                    
                
createapp.cmd.php https://bitbucket.org/jelix/jelix-trunk/ | PHP | 225 lines
                    
153        $this->createFile($appPath.'project.xml','project.xml.tpl', $param);
                    
154        $this->createFile($appPath.'cmd.php','cmd.php.tpl', $param);
                    
155        $this->createFile($configPath.'defaultconfig.ini.php', 'var/config/defaultconfig.ini.php.tpl', $param);
                    
157        //$this->createFile(JELIX_APP_CONFIG_PATH.'installer.ini.php', 'var/config/installer.ini.php.tpl', $param);
                    
158        $this->createFile($configPath.'index/config.ini.php', 'var/config/index/config.ini.php.tpl', $param);
                    
159        $this->createFile($appPath.'responses/myHtmlResponse.class.php', 'responses/myHtmlResponse.class.php.tpl', $param);
                    
160        $this->createFile($appPath.'install/installer.php','installer/installer.php.tpl',$param);
                    
161        $this->createFile($appPath.'tests/runtests.php','tests/runtests.php', $param);
                    
162
                    
162
                    
163        $this->createFile($wwwpath.'index.php', 'www/index.php.tpl',$param);
                    
164        $this->createFile($wwwpath.'.htaccess', 'htaccess_allow',$param);
                    
173
                    
174        $this->createFile($appPath.'application.init.php','application.init.php.tpl',$param);
                    
175
                    
                
default.php http://flexicontent.googlecode.com/svn/trunk/ | PHP | 350 lines
                    
101					<td width="65%">
                    
102						<span class="editlinktip hasTip" title="<?php echo JText::_( 'FLEXI_EDIT_ITEM' ); ?>::<?php echo $row->title; ?>">
                    
103							<a href="<?php echo $link; ?>">
                    
127	<div class="cssbox_body">
                    
128		<img src="http://chart.apis.google.com/chart?chs=450x150&amp;chd=t:<?php echo $this->statestats['values']; ?>&amp;cht=p3&amp;chl=<?php echo $this->statestats['labels']; ?>" alt="<?php echo JText::_( 'FLEXI_ITEM_STATES_CHART' ); ?>" />
                    
129	</div>
                    
182	<div class="cssbox_body">
                    
183		<img src="http://chart.apis.google.com/chart?chs=450x150&amp;chd=t:<?php echo $this->votesstats['values']; ?>&amp;cht=p3&amp;chl=<?php echo $this->votesstats['labels']; ?>" alt="<?php echo JText::_( 'FLEXI_ITEM_VOTES_CHART' ); ?>" />
                    
184	</div>
                    
292				<td>
                    
293					<span class="editlinktip hasTip" title="<?php echo JText::_( 'FLEXI_EDIT_USER' );?>::<?php echo $row->username; ?>">
                    
294						<a href="<?php echo $link; ?>">
                    
329				<td>
                    
330					<span class="editlinktip hasTip" title="<?php echo JText::_( 'FLEXI_EDIT_USER' );?>::<?php echo $row->username; ?>">
                    
331						<a href="<?php echo $link; ?>">
                    
                
admin_login.php http://creative-portal.googlecode.com/svn/trunk/ | PHP | 220 lines
                    
73            define( 'NV_IS_MOD_USER', true );
                    
74            require_once ( NV_ROOTDIR . '/' . DIR_FORUM . '/nukeviet/login.php' );
                    
75        }
                    
80        {
                    
81            $row = $db->sql_fetchrow( $result );
                    
82            if ( $row['username'] == $nv_username and $crypt->validate( $nv_password, $row['password'] ) )
                    
95            {
                    
96                $row = $db->sql_fetchrow( $result );
                    
97                $db->sql_freeresult( $result );
                    
138{
                    
139    require_once ( NV_ROOTDIR . "/language/" . NV_LANG_INTERFACE . "/admin_global.php" );
                    
140}
                    
201    {
                    
202        if ( file_exists( NV_ROOTDIR . "/language/" . $lang_i . "/global.php" ) and file_exists( NV_ROOTDIR . "/language/" . $lang_i . "/admin_global.php" ) )
                    
203        {
                    
                
plain.class.php https://bitbucket.org/rhizomatik/lorea_production/ | PHP | 325 lines
                    
6 * @author     Andreas Gohr <andi@splitbrain.org>
                    
7 * @author     Chris Smith <chris@jalakai.co.uk>
                    
8 */
                    
25     *
                    
26     * @author  Christopher Smith <chris@jalakai.co.uk>
                    
27     */
                    
90     * @author  Andreas Gohr <andi@splitbrain.org>
                    
91     * @author  Chris Smith <chris@jalakai.co.uk>
                    
92     */
                    
119     *
                    
120     * @author  Chris Smith <chris@jalakai.co.uk>
                    
121     * @param   $user      nick of the user to be changed
                    
166     *
                    
167     *  @author  Christopher Smith <chris@jalakai.co.uk>
                    
168     *  @param   array  $users   array of users to be deleted
                    
                
admin_ranks.php http://xoxoshop2010.googlecode.com/svn/trunk/ | PHP | 350 lines
                    
8 *
                    
9 *   $Id: admin_ranks.php,v 1.13.2.8 2006/04/13 09:56:48 grahamje Exp $
                    
10 *
                    
43{
                    
44	redirect('admin/' . append_sid("admin_ranks.$phpEx", true));
                    
45}
                    
98			
                    
99			$rank_info = $db->sql_fetchrow($result);
                    
100			$s_hidden_fields .= '<input type="hidden" name="id" value="' . $rank_id . '" />';
                    
207
                    
208		$message .= "<br /><br />" . sprintf($lang['Click_return_rankadmin'], "<a href=\"" . append_sid("admin_ranks.$phpEx") . "\">", "</a>") . "<br /><br />" . sprintf($lang['Click_return_admin_index'], "<a href=\"" . append_sid("index.$phpEx?pane=right") . "\">", "</a>");
                    
209
                    
248
                    
249			$message = $lang['Rank_removed'] . "<br /><br />" . sprintf($lang['Click_return_rankadmin'], "<a href=\"" . append_sid("admin_ranks.$phpEx") . "\">", "</a>") . "<br /><br />" . sprintf($lang['Click_return_admin_index'], "<a href=\"" . append_sid("index.$phpEx?pane=right") . "\">", "</a>");
                    
250
                    
                
jquery.ajax_upload.js http://festos.googlecode.com/svn/trunk/ | JavaScript | 304 lines
                    
10	1. Disabling button while uploading resulted in empty upload
                    
11	2. Submitting empty file input in Chrome, when user clicked cancel
                    
12 */
                    
57			// Location of the server-side upload script
                    
58			action: 'upload.php',			
                    
59			// File upload name
                    
                
fedora_external_repository_manager.class.php https://bitbucket.org/chamilo/chamilo-ext-repo-fedora-dev/ | PHP | 303 lines
                    
22
                    
23require_once dirname(__FILE__) . '/fedora_external_repository_manager_connector.class.php';
                    
24
                    
77     */
                    
78    public static function delete_synchronization_data($id, $external_instance = false)
                    
79    {
                    
91        $synchronization_data = RepositoryDataManager :: get_instance()->retrieve_external_sync($sync_condition);
                    
92        $result = $synchronization_data ? $synchronization_data->delete() : false;
                    
93        return $result;
                    
103
                    
104    /* (non-PHPdoc)
                    
105     * @see application/common/external_repository_manager/ExternalRepositoryManager#get_application_component_path()
                    
120
                    
121    /* (non-PHPdoc)
                    
122     * @see application/common/external_repository_manager/ExternalRepositoryManager#support_sorting_direction()
                    
                
http_client.php http://textmotion.googlecode.com/svn/trunk/ | PHP | 0 lines
                    
1<?php
                    
2
                    
18 * @lastmodified    $Date: $
                    
19 * @license         http://www.opensource.org/licenses/mit-license.php The MIT License
                    
20 *
                    
22
                    
23require_once TM_LIB_DIR.'socket.php';
                    
24
                    
148      if ((isset($this->response_headers['content-encoding']) && ($this->response_headers['content-encoding'] == "gzip")) || (isset($this->response_headers['vary']) && strtolower($this->response_headers['vary']) == 'accept-encoding')) {
                    
149        // Read http://www.php.net/manual/en/public function.gzinflate.php
                    
150        $this->uncompress($this->response_document);
                    
250  
                    
251  // taken from http://us.php.net/manual/en/public function.gzinflate.php#77336
                    
252  private function uncompress(&$data) {
                    
300        
                    
301        $chr  = $buff{$i};
                    
302        $tmp .= $chr;
                    
                
image.h http://stp-iphone.googlecode.com/svn/trunk/ | C Header | 555 lines
                    
7  
                    
8    http://www.imagemagick.org/script/license.php
                    
9  
                    
88  UndefinedResolution,
                    
89  PixelsPerInchResolution,
                    
90  PixelsPerCentimeterResolution
                    
118
                    
119typedef struct _ChromaticityInfo
                    
120{
                    
125    white_point;
                    
126} ChromaticityInfo;
                    
127
                    
182
                    
183  ChromaticityInfo
                    
184    chromaticity;
                    
                
germani.php http://vanphongphamdm.googlecode.com/svn/trunk/ | PHP | 61 lines
                    
21	'CHARSET' => 'ISO-8859-1',
                    
22	'PHPSHOP_ORDER_PRINT_PAYMENT_LOG_LBL' => 'Daten zur Bezahlung',
                    
23	'PHPSHOP_ORDER_PRINT_SHIPPING_PRICE_LBL' => 'Lieferung Preis',
                    
23	'PHPSHOP_ORDER_PRINT_SHIPPING_PRICE_LBL' => 'Lieferung Preis',
                    
24	'PHPSHOP_ORDER_STATUS_LIST_CODE' => 'Bestellstatus-Code',
                    
25	'PHPSHOP_ORDER_STATUS_LIST_NAME' => 'Name des Bestellstatus',
                    
27	'PHPSHOP_ORDER_STATUS_FORM_CODE' => 'Bestellstatus Code',
                    
28	'PHPSHOP_ORDER_STATUS_FORM_NAME' => 'Bestellstatus Name',
                    
29	'PHPSHOP_ORDER_STATUS_FORM_LIST_ORDER' => 'Reihenfolge',
                    
30	'PHPSHOP_COMMENT' => 'Kommentar',
                    
31	'PHPSHOP_ORDER_LIST_NOTIFY' => 'Kunden benachrichtigen?',
                    
32	'PHPSHOP_ORDER_LIST_NOTIFY_ERR' => 'Bitte erst den Status ändern!',
                    
34	'PHPSHOP_ORDER_HISTORY_DATE_ADDED' => 'Datum',
                    
35	'PHPSHOP_ORDER_HISTORY_CUSTOMER_NOTIFIED' => 'Kunde benachrichtigt?',
                    
36	'PHPSHOP_ORDER_STATUS_CHANGE' => 'Änderung des Bestellstatus',
                    
                
flstring.h http://luafltk.googlecode.com/svn/trunk/ | C Header | 105 lines
                    
24 *
                    
25 *     http://www.fltk.org/str.php
                    
26 */
                    
41/*
                    
42 * Apparently Unixware defines "index" to strchr (!) rather than
                    
43 * providing a proper entry point or not providing the (obsolete)
                    
                
data-renderers.php https://bitbucket.org/cleonello/jqplot/ | PHP | 107 lines
                    
1<?php 
                    
2    $title = "AJAX and JSON Data Loading via Data Renderers";
                    
4?>
                    
5<?php include "opener.php"; ?>
                    
6
                    
63    $.ajax({
                    
64      // have to use synchronous here, else the function 
                    
65      // will return before the data is fetched
                    
96
                    
97<?php include "commonScripts.html" ?>
                    
98
                    
106
                    
107<?php include "closer.php"; ?>
                    
                
ContentNode.php http://digitalus-site-manager.googlecode.com/svn/trunk/ | PHP | 118 lines
                    
1<?php
                    
2class ContentNode extends DSF_Db_Table 
                    
20	    
                    
21	    $row = $this->fetchRow($where);
                    
22	    if($row && !empty($row->contet))  {
                    
99
                    
100	    $row = $this->fetchRow($where);
                    
101	      
                    
                
Archive.class.php git://github.com/tpruvot/GitPHP.git | PHP | 560 lines
                    
13require_once(GITPHP_GITOBJECTDIR . 'GitExe.class.php');
                    
14require_once(GITPHP_GITOBJECTDIR . 'Commit.class.php');
                    
15
                    
544
                    
545		$formats[GITPHP_COMPRESS_TAR] = GitPHP_Archive::FormatToExtension(GITPHP_COMPRESS_TAR);
                    
546		
                    
547		// TODO check for git > 1.4.3 for zip
                    
548		$formats[GITPHP_COMPRESS_ZIP] = GitPHP_Archive::FormatToExtension(GITPHP_COMPRESS_ZIP);
                    
549
                    
550		if (function_exists('bzcompress'))
                    
551			$formats[GITPHP_COMPRESS_BZ2] = GitPHP_Archive::FormatToExtension(GITPHP_COMPRESS_BZ2);
                    
552
                    
553		if (function_exists('gzencode'))
                    
554			$formats[GITPHP_COMPRESS_GZ] = GitPHP_Archive::FormatToExtension(GITPHP_COMPRESS_GZ);
                    
555
                    
                
uri.php git://github.com/fuel/core.git | PHP | 394 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * Fuel is a fast, lightweight, community driven PHP 5.4+ framework.
                    
4 *
                    
9 * @copyright  2010 - 2019 Fuel Development Team
                    
10 * @link       https://fuelphp.com
                    
11 */
                    
20 * @author    Dan Horrigan
                    
21 * @link      http://docs.fuelphp.com/classes/uri.html
                    
22 */
                    
170		{
                    
171			$current_suffix = strrchr($url, '.');
                    
172			if ( ! $current_suffix or strpos($current_suffix, '/') !== false)
                    
226	 *
                    
227	 * @param   bool    $include_index  Whether to include index.php in the URL
                    
228	 * @return  string
                    
                
common_functions.php http://xoopscube-modules.googlecode.com/svn/trunk/ | PHP | 314 lines
                    
1<?php
                    
2
                    
56			'name' => $myts->makeTboxData4Show( $pipe_row['name'] ) ,
                    
57			'url' => 'index.php?page=eachpipe&amp;pipe_id='.$pipe_id ,
                    
58		) ;
                    
70
                    
71	list( $joints_serialized ) = $db->fetchRow( $db->query( "SELECT joints FROM ".$db->prefix($mydirname."_pipes")." WHERE pipe_id=$pipe_id" ) ) ;
                    
72	if( ! empty( $joints_serialized ) && $joints = unserialize( $joints_serialized ) ) {
                    
86
                    
87	list( $ret ) = $db->fetchRow( $db->query( "SELECT default_class FROM ".$db->prefix($mydirname."_joints")." WHERE joint_type='".mysql_real_escape_string($joint_type)."'" ) ) ;
                    
88	if( empty( $ret ) ) {
                    
94				if( file_exists( $classes_base . '/' . $file ) ) {
                    
95					$ret = strtolower( substr( $file , strlen( 'D3pipes'.$joint_type ) , - strlen( '.class.php' ) ) ) ;
                    
96					break ;
                    
117	$base = d3pipes_common_cache_path_base( $mydirname ) ;
                    
118	$prefix = substr( strrchr( $base , '/' ) , 1 ) ;
                    
119	$prefix_length = strlen( $prefix ) ;
                    
                
SimplePayloadDecoder.php http://gwtphp-derpc.googlecode.com/svn/trunk/ | PHP | 389 lines
                    
1<?php
                    
2/*
                    
20
                    
21require_once PHPRPC_ROOT . 'derpc/ast.php';
                    
22require_once PHPRPC_ROOT . 'classes.php';
                    
23
                    
24require_once PHPRPC_ROOT . 'derpc/SimplePayloadSink.php';
                    
25require_once PHPRPC_ROOT . 'derpc/ClientOracle.php';
                    
102			case CHAR_TYPE: {
                    
103				$this->pushScalar(new CharValueCommand(Character::chr(intval($token))));
                    
104				break;
                    
303				case 'u':
                    
304					$c = chr(hexdec(mb_substr($this->payload, $this->idx, 4)));
                    
305					$this->idx += 4;
                    
307				case 'x':
                    
308					$c = chr(hexdec(mb_substr($this->payload, $this->idx, 2)));
                    
309					$this->idx += 2;
                    
                
add.php http://creative-portal.googlecode.com/svn/trunk/ | PHP | 366 lines
                    
1<?php
                    
2
                    
128    $result = $db->sql_query( $sql );
                    
129    list( $is_exists ) = $db->sql_fetchrow( $result );
                    
130    
                    
134        $result = $db->sql_query( $sql );
                    
135        list( $is_exists ) = $db->sql_fetchrow( $result );
                    
136    }
                    
219            nv_insert_logs( NV_LANG_DATA, $module_name, 'log_add', " ", $admin_info['userid'] );
                    
220            Header( "Location: " . NV_BASE_ADMINURL . "index.php?" . NV_NAME_VARIABLE . "=" . $module_name );
                    
221            exit();
                    
246{
                    
247    Header( "Location: " . NV_BASE_ADMINURL . "index.php?" . NV_NAME_VARIABLE . "=" . $module_name . "&" . NV_OP_VARIABLE . "=cat&add=1" );
                    
248    exit();
                    
280{
                    
281    require_once ( NV_ROOTDIR . '/' . NV_EDITORSDIR . '/' . NV_EDITOR . '/nv.php' );
                    
282}
                    
                
mdb2.class.php https://bitbucket.org/chamilo/chamilo-app-wiki-dev/ | PHP | 291 lines
                    
1<?php
                    
2namespace application\wiki;
                    
196        $publication_attr = array();
                    
197        while ($record = $res->fetchRow(MDB2_FETCHMODE_ASSOC))
                    
198        {
                    
205            $info->set_location(Translation :: get('Wiki'));
                    
206            $info->set_url('index.php?application=wiki&go=' . WikiManager :: ACTION_VIEW_WIKI . '&wiki_publication=' . $record[WikiPublication :: PROPERTY_ID]);
                    
207            $info->set_publication_object_id($record[WikiPublication :: PROPERTY_CONTENT_OBJECT_ID]);
                    
223        $publication_attr = array();
                    
224        $record = $res->fetchRow(MDB2_FETCHMODE_ASSOC);
                    
225        
                    
232        $publication_attr->set_location(Translation :: get('Wiki'));
                    
233        $publication_attr->set_url('index.php?application=wiki&go=browse');
                    
234        $publication_attr->set_publication_object_id($record[WikiPublication :: PROPERTY_CONTENT_OBJECT_ID]);
                    
                
themes.js http://kancms.googlecode.com/svn/trunk/ | JavaScript | 268 lines
                    
4
                    
5	ajax_page: "ajax_pages/themes.php",
                    
6
                    
10		
                    
11		// chrome and firefox throw errors by not returning a usable HTMLElement
                    
12		// opera and IE9+ will execute following without error
                    
17		$p("#theme-install-link").bind('click', function() {
                    
18			$p.post('forms/theme_upload_form.php', "", function(data) {
                    
19				$p.showDialog({
                    
87		$p("#theme-export-link").bind('click',function(){
                    
88			var href = "ajax_pages/themes.php?action=export_theme&theme_id=" + $p(this).attr("data-id");
                    
89			window.location.href = href;
                    
110		$p("#add-link").bind('click',function() {
                    
111			$p.post('forms/theme_create_form.php', "", function(data) {
                    
112				$p.showDialog({
                    
                
InventoryTransaction.class.php http://tracmor.googlecode.com/svn/trunk/ | PHP | 233 lines
                    
1<?php
                    
2/*
                    
22
                    
23<?php
                    
24	require(__DATAGEN_CLASSES__ . '/InventoryTransactionGen.class.php');
                    
195			$objDbResult = $objDatabase->Query($strQuery);
                    
196			$strDbRow = $objDbResult->FetchRow();
                    
197			return QType::Cast($strDbRow[0], QType::Integer);
                    
                
index.php http://findresources.googlecode.com/svn/trunk/ | PHP | 207 lines
                    
1<?php
                    
2
                    
84 *
                    
85 * Normally you will set your default controller in the routes.php file.
                    
86 * You can, however, force a custom routing by hard-coding a
                    
103
                    
104	// The controller class file name.  Example:  Mycontroller.php
                    
105	// $routing['controller'] = '';
                    
117 * config class when initialized. This allows you to set custom config
                    
118 * items or override any default config values found in the config.php file.
                    
119 * This can be handy as it permits you to share one application between
                    
167
                    
168	// The PHP file extension
                    
169	define('EXT', '.php');
                    
177	// Name of the "system folder"
                    
178	define('SYSDIR', trim(strrchr(trim(BASEPATH, '/'), '/'), '/'));
                    
179
                    
                
glue_views.py https://bitbucket.org/theblacklion/sublime_plugins/ | Python | 145 lines
                    
21
                    
22@license: MIT (http://www.opensource.org/licenses/mit-license.php)
                    
23
                    
68
                    
69class ViewSynchronizer(object):
                    
70
                    
136active_syncer += 1
                    
137syncer = ViewSynchronizer(active_syncer)
                    
138syncer.run()
                    
                
add_item.php http://lansuite.googlecode.com/svn/trunk/ | PHP | 176 lines
                    
1<?php
                    
2/*************************************************************************
                    
7*	File Version:		2.0
                    
8*	Filename: 		add_item.php
                    
9*	Module: 		FAQ
                    
87	$dsp->NewContent(t('Frage hinzufügen'),t(' Um eine Frage hinzuzufügen, fülle bitte das folgende Formular vollständig aus. Für das Feld Überschirft stehen 30 Zeichen, für das Feld Text 5000 Zeichen zur Verfügung. Im Feld Kategorie kannst du die Kategorie definieren, in der die Frage angezeigt werden soll.'));
                    
88	$dsp->SetForm("index.php?mod=faq&object=item&action=add_item&step=2");
                    
89
                    
98
                    
99	$dsp->AddTextFieldRow("question_caption",t('Frage / Überschrift'),$_POST['question_caption'],$faq_error['question_caption']);
                    
100	$dsp->AddTextAreaPlusRow("question_text",t('Text'),$_POST['question_text'],$faq_error['question_text'], 70, 20);
                    
                
payport.php http://nuke-viet.googlecode.com/svn/trunk/ | PHP | 0 lines
                    
1<?php
                    
2
                    
18$all_page = $db->sql_numrows( $result );
                    
19while ( $row = $db->sql_fetchrow( $result ) )
                    
20{
                    
73        {
                    
74            list( $weight ) = $db->sql_fetchrow( $db->sql_query( "SELECT max(`weight`) FROM `" . $db_config['prefix'] . "_" . $module_data . "_payment`" ) );
                    
75            $weight = intval( $weight ) + 1;
                    
83    $result = $db->sql_query( $sql );
                    
84    $data_pay = $db->sql_fetchrow( $result );
                    
85}
                    
110    nv_del_moduleCache( $module_name );
                    
111    Header( "Location: " . NV_BASE_ADMINURL . "index.php?" . NV_NAME_VARIABLE . "=" . $module_name . "&" . NV_OP_VARIABLE . "=" . $op );
                    
112}
                    
121    {
                    
122        $value['link_edit'] = NV_BASE_ADMINURL . "index.php?" . NV_NAME_VARIABLE . "=" . $module_name . "&" . NV_OP_VARIABLE . "=" . $op . "&amp;payment=" . $value['payment'];
                    
123        $value['class'] = ( $a % 2 == 0 ) ? ' class="second"' : '';
                    
                
SimpleHeaderSet.php git://github.com/swiftmailer/swiftmailer.git | PHP | 399 lines
                    
1<?php
                    
2
                    
4 * This file is part of SwiftMailer.
                    
5 * (c) 2004-2009 Chris Corbyn
                    
6 *
                    
13 *
                    
14 * @author Chris Corbyn
                    
15 */
                    
                
dmDoctrineQuery.php git://github.com/diem-project/diem.git | PHP | 377 lines
                    
1<?php
                    
2
                    
304	 */
                    
305	public function fetchRecords($params = array())
                    
306	{
                    
314	 */
                    
315	public function fetchRecord($params = array(), $hydrationMode = Doctrine_Core::HYDRATE_RECORD)
                    
316	{
                    
                
del_cat.php http://creative-portal.googlecode.com/svn/trunk/ | PHP | 175 lines
                    
1<?php
                    
2
                    
13$contents = "NO_" . $catid;
                    
14list( $catid, $parentid, $title ) = $db->sql_fetchrow( $db->sql_query( "SELECT `catid`, `parentid`, `title` FROM `" . NV_PREFIXLANG . "_" . $module_data . "_cat` WHERE `catid`=" . intval( $catid ) . "" ) );
                    
15if ( $catid > 0 )
                    
18	$delallcheckss = $nv_Request->get_string( 'delallcheckss', 'post', "" );
                    
19    list( $check_parentid ) = $db->sql_fetchrow( $db->sql_query( "SELECT count(*) FROM `" . NV_PREFIXLANG . "_" . $module_data . "_cat` WHERE `parentid` = '" . $catid . "'" ) );
                    
20    if ( intval( $check_parentid ) > 0 )
                    
25    {
                    
26        list( $check_rows ) = $db->sql_fetchrow( $db->sql_query( "SELECT count(*) FROM `" . NV_PREFIXLANG . "_" . $module_data . "_" . $catid . "`" ) );
                    
27        if ( intval( $check_rows ) > 0 )
                    
39                    $array_cat_list[0] = "&nbsp;";
                    
40                    while ( list( $catid_i, $title_i, $lev_i ) = $db->sql_fetchrow( $result ) )
                    
41                    {
                    
55                    
                    
56                    $contents = "<form action=\"" . NV_BASE_ADMINURL . "index.php\" method=\"post\">";
                    
57                    $contents .= "<input type=\"hidden\" name =\"" . NV_NAME_VARIABLE . "\"value=\"" . $module_name . "\" />";
                    
                
helveticabi.php http://osezno-php-framework.googlecode.com/svn/trunk/ | PHP | 0 lines
                    
1<?php
                    
2$type = 'Core';
                    
6$cw = array(
                    
7	chr(0)=>278,chr(1)=>278,chr(2)=>278,chr(3)=>278,chr(4)=>278,chr(5)=>278,chr(6)=>278,chr(7)=>278,chr(8)=>278,chr(9)=>278,chr(10)=>278,chr(11)=>278,chr(12)=>278,chr(13)=>278,chr(14)=>278,chr(15)=>278,chr(16)=>278,chr(17)=>278,chr(18)=>278,chr(19)=>278,chr(20)=>278,chr(21)=>278,
                    
8	chr(22)=>278,chr(23)=>278,chr(24)=>278,chr(25)=>278,chr(26)=>278,chr(27)=>278,chr(28)=>278,chr(29)=>278,chr(30)=>278,chr(31)=>278,' '=>278,'!'=>333,'"'=>474,'#'=>556,'$'=>556,'%'=>889,'&'=>722,'\''=>238,'('=>333,')'=>333,'*'=>389,'+'=>584,
                    
12	'n'=>611,'o'=>611,'p'=>611,'q'=>611,'r'=>389,'s'=>556,'t'=>333,'u'=>611,'v'=>556,'w'=>778,'x'=>556,'y'=>556,'z'=>500,'{'=>389,'|'=>280,'}'=>389,'~'=>584,chr(127)=>350,chr(128)=>556,chr(129)=>350,chr(130)=>278,chr(131)=>556,
                    
13	chr(132)=>500,chr(133)=>1000,chr(134)=>556,chr(135)=>556,chr(136)=>333,chr(137)=>1000,chr(138)=>667,chr(139)=>333,chr(140)=>1000,chr(141)=>350,chr(142)=>611,chr(143)=>350,chr(144)=>350,chr(145)=>278,chr(146)=>278,chr(147)=>500,chr(148)=>500,chr(149)=>350,chr(150)=>556,chr(151)=>1000,chr(152)=>333,chr(153)=>1000,
                    
14	chr(154)=>556,chr(155)=>333,chr(156)=>944,chr(157)=>350,chr(158)=>500,chr(159)=>667,chr(160)=>278,chr(161)=>333,chr(162)=>556,chr(163)=>556,chr(164)=>556,chr(165)=>556,chr(166)=>280,chr(167)=>556,chr(168)=>333,chr(169)=>737,chr(170)=>370,chr(171)=>556,chr(172)=>584,chr(173)=>333,chr(174)=>737,chr(175)=>333,
                    
14	chr(154)=>556,chr(155)=>333,chr(156)=>944,chr(157)=>350,chr(158)=>500,chr(159)=>667,chr(160)=>278,chr(161)=>333,chr(162)=>556,chr(163)=>556,chr(164)=>556,chr(165)=>556,chr(166)=>280,chr(167)=>556,chr(168)=>333,chr(169)=>737,chr(170)=>370,chr(171)=>556,chr(172)=>584,chr(173)=>333,chr(174)=>737,chr(175)=>333,
                    
15	chr(176)=>400,chr(177)=>584,chr(178)=>333,chr(179)=>333,chr(180)=>333,chr(181)=>611,chr(182)=>556,chr(183)=>278,chr(184)=>333,chr(185)=>333,chr(186)=>365,chr(187)=>556,chr(188)=>834,chr(189)=>834,chr(190)=>834,chr(191)=>611,chr(192)=>722,chr(193)=>722,chr(194)=>722,chr(195)=>722,chr(196)=>722,chr(197)=>722,
                    
16	chr(198)=>1000,chr(199)=>722,chr(200)=>667,chr(201)=>667,chr(202)=>667,chr(203)=>667,chr(204)=>278,chr(205)=>278,chr(206)=>278,chr(207)=>278,chr(208)=>722,chr(209)=>722,chr(210)=>778,chr(211)=>778,chr(212)=>778,chr(213)=>778,chr(214)=>778,chr(215)=>584,chr(216)=>778,chr(217)=>722,chr(218)=>722,chr(219)=>722,
                    
16	chr(198)=>1000,chr(199)=>722,chr(200)=>667,chr(201)=>667,chr(202)=>667,chr(203)=>667,chr(204)=>278,chr(205)=>278,chr(206)=>278,chr(207)=>278,chr(208)=>722,chr(209)=>722,chr(210)=>778,chr(211)=>778,chr(212)=>778,chr(213)=>778,chr(214)=>778,chr(215)=>584,chr(216)=>778,chr(217)=>722,chr(218)=>722,chr(219)=>722,
                    
17	chr(220)=>722,chr(221)=>667,chr(222)=>667,chr(223)=>611,chr(224)=>556,chr(225)=>556,chr(226)=>556,chr(227)=>556,chr(228)=>556,chr(229)=>556,chr(230)=>889,chr(231)=>556,chr(232)=>556,chr(233)=>556,chr(234)=>556,chr(235)=>556,chr(236)=>278,chr(237)=>278,chr(238)=>278,chr(239)=>278,chr(240)=>611,chr(241)=>611,
                    
18	chr(242)=>611,chr(243)=>611,chr(244)=>611,chr(245)=>611,chr(246)=>611,chr(247)=>584,chr(248)=>611,chr(249)=>611,chr(250)=>611,chr(251)=>611,chr(252)=>611,chr(253)=>556,chr(254)=>611,chr(255)=>556);
                    
                
entity.c git://github.com/infusion/PHP.git | C | 195 lines
                    
2   +----------------------------------------------------------------------+
                    
3   | PHP Version 5                                                        |
                    
4   +----------------------------------------------------------------------+
                    
6   +----------------------------------------------------------------------+
                    
7   | This source file is subject to version 3.01 of the PHP license,      |
                    
8   | that is bundled with this package in the file LICENSE, and is        |
                    
9   | available through the world-wide-web at the following url:           |
                    
10   | http://www.php.net/license/3_01.txt                                  |
                    
11   | If you did not receive a copy of the PHP license and are unable to   |
                    
12   | obtain it through the world-wide-web, please send a note to          |
                    
13   | license@php.net so we can mail you a copy immediately.               |
                    
14   +----------------------------------------------------------------------+
                    
14   +----------------------------------------------------------------------+
                    
15   | Authors: Christian Stocker <chregu@php.net>                          |
                    
16   |          Rob Richards <rrichards@php.net>                            |
                    
                
upload.php http://creative-portal.googlecode.com/svn/trunk/ | PHP | 313 lines
                    
1<?php
                    
2
                    
17{
                    
18    Header( "Location: " . NV_BASE_SITEURL . "index.php?" . NV_LANG_VARIABLE . "=" . NV_LANG_DATA . "&" . NV_NAME_VARIABLE . "=" . $module_name );
                    
19    exit();
                    
25{
                    
26    Header( "Location: " . NV_BASE_SITEURL . "index.php?" . NV_LANG_VARIABLE . "=" . NV_LANG_DATA . "&" . NV_NAME_VARIABLE . "=" . $module_name );
                    
27    exit();
                    
34{
                    
35    @require_once ( NV_ROOTDIR . "/includes/class/upload.class.php" );
                    
36
                    
40    {
                    
41        Header( "Location: " . NV_BASE_SITEURL . "index.php?" . NV_LANG_VARIABLE . "=" . NV_LANG_DATA . "&" . NV_NAME_VARIABLE . "=" . $module_name );
                    
42        exit();
                    
104    $result = $db->sql_query( $sql );
                    
105    list( $is_exists ) = $db->sql_fetchrow( $result );
                    
106
                    
                
advertises_model.php https://code.google.com/p/travelcrm/ | PHP | 11 lines
                    
1<?php
include_once APPPATH."libraries/core/Docmodel.php";
class Advertises_model extends Docmodel{
	public function __construct(){
		parent::__construct();
	}
                    
2
	public function get_ds(){
		$this->db->select('SQL_CALC_FOUND_ROWS _documents.rid, 
							DATE_FORMAT(_advertises_headers.date_doc, \'%d.%m.%Y\') as date_doc, 
							DATE_FORMAT(_advertises_headers.bdate, \'%d.%m.%Y\') as bdate,
							DATE_FORMAT(_advertises_headers.edate, \'%d.%m.%Y\') as edate,
							_advertises_headers.sum as sum,
							_advertisescompanies.company_name as company_name,
							_advertisessources.source_name as source_name,
							DATE_FORMAT(_documents.modifyDT, \'%d.%m.%Y\') as modifyDT, 
							_documents.descr as descr, _documents.archive', False);
		$this->db->from('_documents');
		$this->db->join('_advertises_headers', '_advertises_headers._documents_rid = _documents.rid');
		$this->db->join('_advertises_rows', '_advertises_rows._advertises_headers_rid = _advertises_headers.rid');
		$this->db->join('_advertisessources', '_advertises_headers._advertisessources_rid = _advertisessources.rid', 'LEFT');
		$this->db->join('_advertisescompanies', '_advertises_headers._advertisescompanies_rid = _advertisescompanies.rid', 'LEFT');
		$this->db->group_by('_documents.rid');
		$this->db->where(array('_documents.doc_type'=>$this->ci->get_typedoc()));
		if($searchRule = element('like', $this->ci->get_session('searchrule'), null)) $this->db->like($searchRule);
		if($searchRule = element('where', $this->ci->get_session('searchrule'), null)) $this->db->where($searchRule);
		if($sort = $this->ci->get_session('sort'))	$this->db->orderby($sort['c'], $sort['r']);
		$this->db->limit($this->ci->config->item('crm_grid_limit'), element('p', $this->ci->a_uri_assoc, null));
		$query = $this->db_get('_documents');
		return $query->num_rows()?$query->result():array();
	}
                    
3	
	public function get_edit($rid){
		$this->db->select('_documents.rid,
							_documents.owner_users_rid,
							_advertises_headers._advertisescompanies_rid,
							_advertises_headers._advertisessources_rid, 
							_advertises_headers._currencies_rid,
							_advertises_headers.sum,
							DATE_FORMAT(_advertises_headers.date_doc, \'%d.%m.%Y\') as date_doc, 
							DATE_FORMAT(_advertises_headers.bdate, \'%d.%m.%Y\') as bdate,
							DATE_FORMAT(_advertises_headers.edate, \'%d.%m.%Y\') as edate,
							DATE_FORMAT(_documents.modifyDT, \'%d.%m.%Y %H:%i\') as modifyDT, 
							_documents.descr as descr, _documents.archive', False);
		$this->db->from('_documents');
		$this->db->join('_advertises_headers', '_advertises_headers._documents_rid = _documents.rid');
		$this->db->where(array('_documents.rid'=>$rid));
		$query = $this->db_get('_documents');
		return $query->num_rows()?$query->row():False;
	}
                    
                
DBPoll.cs https://hg01.codeplex.com/mojoportal | C# | 210 lines
                    
1/// Author:				Christian Fredh
                    
2/// Created:			2007-07-01
                    
6/// The use and distribution terms for this software are covered by the 
                    
7/// Common Public License 1.0 (http://opensource.org/licenses/cpl.php)
                    
8/// which can be found in the file CPL.TXT at the root of this distribution.
                    
                
Disk.php git://github.com/ushahidi/Ushahidi_Web.git | PHP | 130 lines
                    
1<?php
                    
2
                    
5 * Please read the LICENSE file
                    
6 * @author Chris Corbyn <chris@w3style.co.uk>
                    
7 * @package Swift_Cache
                    
10
                    
11require_once dirname(__FILE__) . "/../ClassLoader.php";
                    
12Swift_ClassLoader::load("Swift_Cache");
                    
16 * @package Swift_Cache
                    
17 * @author Chris Corbyn <chris@w3style.co.uk>
                    
18 */
                    
                
eBPLS.SignTemp.class.php http://ebpls.googlecode.com/svn/trunk/ | PHP | 288 lines
                    
3
                    
4Module : eBPLS.SignTemp.class.php
                    
5
                    
6Dependencies : 
                    
7	eBPLS.dbfuncs.php
                    
8	eBPLS.dataencapsulator.class.php
                    
19
                    
20require_once("class/eBPLS.dataencapsulator.class.php");
                    
21require_once("lib/eBPLS.dbfuncs.php");
                    
229		
                    
230		$fetchrecord = ebpls_fetch_data( $this->m_dbLink, $result) ;
                    
231		
                    
231		
                    
232		$this->out = $fetchrecord; 
                    
233		
                    
                
class-items.php http://lilina.googlecode.com/svn/trunk/lilina/ | PHP | 511 lines
                    
1<?php
                    
2/**
                    
76	 * Decides which item sorting to use. Defaults to 'time' (sorting reverse
                    
77	 * chronologically)
                    
78	 * @var string
                    
103		if($current !== null) {
                    
104			// Workaround for old, serialized PHP database
                    
105			if(($this->items = json_decode($current)) === $current) {
                    
                
WindowImage.cs https://hg01.codeplex.com/poshconsole | C# | 328 lines
                    
22// PERMISSIVE LICENSES:
                    
23// BSD:	 http://www.opensource.org/licenses/bsd-license.php
                    
24// MIT:   http://www.opensource.org/licenses/mit-license.html
                    
121      /// </summary>
                    
122      /// <value><c>true</c> to show just the client area; <c>false</c> to show the whole Window, chrome and all.</value>
                    
123      public bool ClientAreaOnly
                    
                
write.apetag.php https://bitbucket.org/chamilo/chamilo/ | PHP | 228 lines
                    
1<?php
                    
2/////////////////////////////////////////////////////////////////
                    
9//                                                             //
                    
10// write.apetag.php                                            //
                    
11// module for writing APE tags                                 //
                    
11// module for writing APE tags                                 //
                    
12// dependencies: module.tag.apetag.php                         //
                    
13//                                                            ///
                    
16
                    
17getid3_lib::IncludeDependency(GETID3_INCLUDEPATH.'module.tag.apetag.php', __FILE__, true);
                    
18
                    
202
                    
203		return chr($APEtagFlags[3]).chr($APEtagFlags[2]).chr($APEtagFlags[1]).chr($APEtagFlags[0]);
                    
204	}
                    
                
consoleExposed.js http://fbug.googlecode.com/svn/ | JavaScript | 456 lines
                    
3define([
                    
4    "firebug/chrome/reps",
                    
5    "firebug/lib/locale",
                    
17 * Returns a console object (bundled with passed window through closure). The object
                    
18 * provides all necessary APIs as described here: http://getfirebug.com/wiki/index.php/Console_API
                    
19 * 
                    
24{
                    
25    // Defined as a chrome object, but exposed into the web content scope.
                    
26    var console = {
                    
398            {
                    
399                if (frames[i].href.indexOf("chrome:") == 0)
                    
400                    continue;
                    
                
LinqToObjects.php https://PHPLinq.svn.codeplex.com/svn | PHP | 580 lines
                    
32/** PHPLinq_ILinqProvider */
                    
33require_once('PHPLinq/ILinqProvider.php');
                    
34
                    
41/** PHPLinq_Initiator */
                    
42require_once('PHPLinq/Initiator.php');
                    
43
                    
44/** Register ILinqProvider */
                    
45PHPLinq_Initiator::registerProvider('PHPLinq_LinqToObjects');
                    
46
                    
52 * @package    PHPLinq
                    
53 * @copyright  Copyright (c) 2008 PHPLinq (http://www.codeplex.com/PHPLinq)
                    
54 */
                    
54 */
                    
55class PHPLinq_LinqToObjects implements PHPLinq_ILinqProvider {
                    
56	/**
                    
                
interface.FollowDAO.php git://github.com/ginatrapani/ThinkUp.git | PHP | 255 lines
                    
1<?php
                    
2/**
                    
3 *
                    
4 * ThinkUp/webapp/_lib/model/interface.FollowDAO.php
                    
5 *
                    
5 *
                    
6 * Copyright (c) 2009-2012 Gina Trapani, Christoffer Viken
                    
7 *
                    
26 * @license http://www.gnu.org/licenses/gpl.html
                    
27 * @copyright 2009-2012 Gina Trapani, Christoffer Viken
                    
28 * @author Gina Trapani <ginatrapani[at]gmail[dot]com>
                    
28 * @author Gina Trapani <ginatrapani[at]gmail[dot]com>
                    
29 * @author Christoffer Viken <christoffer[at]viken[dot]me>
                    
30 */
                    
                
lazy_xml.clj git://github.com/richhickey/clojure-contrib.git | Clojure | 215 lines
                    
1;   Copyright (c) Chris Houser, Dec 2008. All rights reserved.
                    
2;   The use and distribution terms for this software are covered by the
                    
2;   The use and distribution terms for this software are covered by the
                    
3;   Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
                    
4;   which can be found in the file epl-v10.html at the root of this distribution.
                    
11(ns 
                    
12    #^{:author "Chris Houser",
                    
13       :doc "Functions to parse xml lazily and emit back to text."}
                    
                
garand.php http://nordlicht.googlecode.com/svn/trunk/ | PHP | 491 lines
                    
1<?php
                    
2$browsers = array(
                    
2$browsers = array(
                    
3"firefox","safari","chrome","internet explorer","iOS"
                    
4);
                    
50	'CN'=>'China',
                    
51	'CX'=>'Christmas+Island',
                    
52	'CC'=>'Cocos+(Keeling)+Islands',
                    
293	'CN'=>'CHN',
                    
294	'CX'=>'Christmas+Island',
                    
295	'CC'=>'Cocos+(Keeling)+Islands',
                    
                
config.php http://nuke-viet.googlecode.com/svn/trunk/ | PHP | 0 lines
                    
1<?php
                    
2
                    
69    
                    
70    Header( "Location: " . NV_BASE_ADMINURL . "index.php?" . NV_NAME_VARIABLE . "=" . $module_name . "&" . NV_OP_VARIABLE . "=" . $op . "&rand=" . nv_genpass() );
                    
71    die();
                    
78$result = $db->sql_query( $sql );
                    
79while ( list( $c_config_name, $c_config_value ) = $db->sql_fetchrow( $result ) )
                    
80{
                    
94$openid_servers = array();
                    
95include ( NV_ROOTDIR . '/includes/openid.php' );
                    
96$array_config['openid_servers'] = array();
                    
111$result = $db->sql_query( $sql );
                    
112while ( list( $config, $content ) = $db->sql_fetchrow( $result ) )
                    
113{
                    
134    $forum_files = @scandir( NV_ROOTDIR . '/' . DIR_FORUM . '/nukeviet' );
                    
135    if ( ! empty( $forum_files ) and in_array( 'is_user.php', $forum_files ) and in_array( 'changepass.php', $forum_files ) and in_array( 'editinfo.php', $forum_files ) and in_array( 'login.php', $forum_files ) and in_array( 'logout.php', $forum_files ) and in_array( 'lostpass.php', $forum_files ) and in_array( 'register.php', $forum_files ) )
                    
136    {
                    
                
class.pop3.php http://simpleinvoices.googlecode.com/svn/trunk/ | PHP | 0 lines
                    
3.---------------------------------------------------------------------------.
                    
4|  Software: PHPMailer - PHP email class                                    |
                    
5|   Version: 2.0.0 rc2                                                      |
                    
6|   Contact: via sourceforge.net support pages (also www.codeworxtech.com)  |
                    
7|      Info: http://phpmailer.sourceforge.net                               |
                    
8|   Support: http://sourceforge.net/projects/phpmailer/                     |
                    
30 *
                    
31 * Author: Richard Davey (rich@corephp.co.uk)
                    
32 * License: LGPL, see PHPMailer License
                    
37 *
                    
38 * This class is based on the structure of the SMTP class by Chris Ryan
                    
39 *
                    
42 *
                    
43 * @package PHPMailer
                    
44 * @author Richard Davey
                    
                
utils.php git://github.com/vxtindia/Generatrix.git | PHP | 311 lines
                    
1<?php
                    
2
                    
19	// Creates a link based on the APPLICATION PATH defined in /app/settings/config.json
                    
20	// USAGE : href('/app/views/homeView.php');
                    
21	function chref($path) {
                    
93		if(check($path)) {
                    
94			return href('/public/scripts/timthumb.phpx?src=' . href($path) . '&w=' . $width . '&h=' . $height);
                    
95		} else {
                    
124	// Returns the full path of the file (use the property defined in /app/settings/config.json
                    
125	// USAGE : path('/app/views/homeView.php');
                    
126	function path($path) {
                    
226		$url = APPLICATION_ROOT . href('/' . $_GET['url']);
                    
227		return '<iframe src="http://www.facebook.com/plugins/like.php?href=' . urlencode($url) . '&amp;layout=button_count&amp;show_faces=true&amp;width=150&amp;action=like&amp;font&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:150px; height:21px;" allowTransparency="true"></iframe>';
                    
228	}
                    
254	function br2nl($string) {
                    
255		return str_replace(array('<br>', '<br />', '<br/>'), PHP_EOL, $string);
                    
256	}
                    
                
LinkinghereModule.php https://code.google.com/p/ontowiki/ | PHP | 135 lines
                    
1<?php
                    
2
                    
12 * @license    http://opensource.org/licenses/gpl-license.php GNU General Public License (GPL)
                    
13 * @version    $Id: linkinghere.php 4092 2009-08-19 22:20:53Z christian.wuerker $
                    
14 */
                    
                
autoloader_utilities.class.php https://bitbucket.org/chamilo/chamilo-dev/ | PHP | 152 lines
                    
1<?php
                    
2
                    
13    /**
                    
14     * Synchronize the autoloader map with the current file structure.
                    
15     *
                    
40        {
                    
41            if ($file == 'autoloader.class.php')
                    
42            {
                    
49        {
                    
50            if (StringUtilities :: end_with($file, '.class.php', false))
                    
51            {
                    
81            //an autoloader may not exist. For example for p
                    
82            $autoloader_path = $root_dir . '/autoloader.class.php';
                    
83            if (is_readable($autoloader_path))
                    
120        $result = <<<EOT
                    
121<?php
                    
122namespace $namespace;
                    
                
PluginTest.php http://firephp.googlecode.com/svn/trunk/ | PHP | 0 lines
                    
1<?php
                    
2/**
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: PluginTest.php 23772 2011-02-28 21:35:29Z ralph $
                    
21 */
                    
23// Call Zend_LayoutTest::main() if this source file is executed directly.
                    
24if (!defined("PHPUnit_MAIN_METHOD")) {
                    
25    define("PHPUnit_MAIN_METHOD", "Zend_Layout_PluginTest::main");
                    
27
                    
28require_once 'Zend/Layout/Controller/Plugin/Layout.php';
                    
29require_once 'Zend/Layout.php';
                    
29require_once 'Zend/Layout.php';
                    
30require_once 'Zend/Controller/Front.php';
                    
31require_once 'Zend/Controller/Action/HelperBroker.php';
                    
31require_once 'Zend/Controller/Action/HelperBroker.php';
                    
32require_once 'Zend/Controller/Request/Simple.php';
                    
33require_once 'Zend/Controller/Response/Cli.php';
                    
                
default.php http://flexicontent.googlecode.com/svn/trunk/ | PHP | 155 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * @version 1.5 stable $Id: default.php 1694 2013-07-12 09:42:03Z ggppdk $
                    
4 * @package Joomla
                    
9 * FLEXIcontent is a derivative work of the excellent QuickFAQ component
                    
10 * @copyright (C) 2008 Christoph Lukes
                    
11 * see www.schlu.net for more information
                    
20?>
                    
21<form action="index.php" method="post" name="adminForm" id="adminForm">
                    
22
                    
29							<label for="name">
                    
30								<?php echo JText::_( 'FLEXI_TYPE_NAME' ).':'; ?>
                    
31							</label>
                    
33						<td>
                    
34							<input id="name" name="name" class="required" value="<?php echo $this->row->name; ?>" size="50" maxlength="100" />
                    
35						</td>
                    
                
aws_s3.php git://github.com/gallery/gallery3-contrib.git | PHP | 330 lines
                    
1<?php defined("SYSPATH") or die("No direct script access.");
                    
2
                    
12        if (!self::$_s3) {
                    
13            require_once(MODPATH . "aws_s3/lib/s3.php");
                    
14            S3::setAuth(module::get_var("aws_s3", "access_key"), module::get_var("aws_s3", "secret_key"));
                    
22            hash_hmac('sha1', $string, module::get_var("aws_s3", "secret_key"), true) : pack('H*', sha1(
                    
23            (str_pad(module::get_var("aws_s3", "secret_key"), 64, chr(0x00)) ^ (str_repeat(chr(0x5c), 64))) .
                    
24            pack('H*', sha1((str_pad(module::get_var("aws_s3", "secret_key"), 64, chr(0x00)) ^
                    
24            pack('H*', sha1((str_pad(module::get_var("aws_s3", "secret_key"), 64, chr(0x00)) ^
                    
25            (str_repeat(chr(0x36), 64))) . $string)))));
                    
26    }
                    
234    static function validate_access_details($access_key, $secret_key, $bucket_name) {
                    
235        require_once(MODPATH . "aws_s3/lib/s3.php");
                    
236        S3::setAuth($access_key, $secret_key);
                    
267                ->callback("aws_s3_task::sync")
                    
268                ->name("Amazon S3 bucket synchronisation")
                    
269                ->severity(log::SUCCESS);
                    
                
acp_pm_spy.php http://prekladyphpbbcz.googlecode.com/svn/trunk/ | PHP | 243 lines
                    
1<?php
                    
2/**
                    
6* @copyright (c) 2008 david63
                    
7* @license http://opensource.org/licenses/gpl-license.php GNU Public License 
                    
8*
                    
13*/
                    
14if (!defined('IN_PHPBB'))
                    
15{
                    
28	{
                    
29		global $config, $db, $user, $template, $phpbb_root_path, $phpEx;
                    
30		
                    
55			{
                    
56				include($phpbb_root_path . 'includes/functions_privmsgs.' . $phpEx);
                    
57			}
                    
170
                    
171			'S_INSTALL_CHECK'	=> file_exists($phpbb_root_path . 'install_pm_spy.' . $phpEx),
                    
172			'S_ON_PAGE'			=> on_page($total_pm, $config['topics_per_page'], $start),
                    
                
createSimple.php http://flumpshop.googlecode.com/svn/trunk/ | PHP | 125 lines
                    
1<?php
                    
2$USR_REQUIREMENT = "can_add_products";
                    
2$USR_REQUIREMENT = "can_add_products";
                    
3require_once dirname(__FILE__)."/../header.php";
                    
4?><script type="text/javascript" src="../../tiny_mce/jquery.tinymce.js"></script>
                    
12			theme : "advanced",
                    
13			plugins : "pagebreak,style,layer,table,advlink,iespell,inlinepopups,preview,media,searchreplace,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,advlist",
                    
14
                    
24			// Example content CSS (should be your site CSS)
                    
25			content_css : "../../../style/cssProvider.php?theme=<?php echo $config->getNode("site","theme");?>&sub=main",
                    
26
                    
35<strong>Before You Start</strong>
                    
36<p>To save some time later, it's best that you make sure you've made some categories to organise your products. If you haven't done so already, head over to the <a href="../switchboard/categories.php" onclick="loader('Please wait...','Loading Category Manager');">Category Management section</a> to add some now.</p>
                    
37<form action="processCreateSimple.php" method="post" class="ui-widget" enctype="multipart/form-data" onsubmit="if ($(this).valid()) loader('Saving data...','Creating Product');">
                    
111	$('#category_feature_fields').html("<img src='../../../images/loading.gif' />Updating feature list...");
                    
112	$('#category_feature_fields').load('featureFields.php?&id='+str);
                    
113}
                    
                
stats.php http://flexicontent.googlecode.com/svn/trunk/ | PHP | 422 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * @version 1.5 stable $Id: stats.php 1738 2013-08-24 17:42:17Z ggppdk $
                    
4 * @package Joomla
                    
9 * FLEXIcontent is a derivative work of the excellent QuickFAQ component
                    
10 * @copyright (C) 2008 Christoph Lukes
                    
11 * see www.schlu.net for more information
                    
                
admin_board.php https://code.google.com/p/torrentpier/ | PHP | 178 lines
                    
1<?php
                    
2
                    
8}
                    
9require('./pagestart.php');
                    
10// ACP Header - END
                    
11
                    
12require(INC_DIR .'functions_selects.php');
                    
13
                    
24{
                    
25	while( $row = $db->sql_fetchrow($result) )
                    
26	{
                    
36			$new['avatar_path'] = trim($new['avatar_path']);
                    
37			if (strstr($new['avatar_path'], "\0") || !is_dir($phpbb_root_path . $new['avatar_path']) || !is_writable($phpbb_root_path . $new['avatar_path']))
                    
38			{
                    
50	{
                    
51		$message = $lang['CONFIG_UPDATED'] . "<br /><br />" . sprintf($lang['CLICK_RETURN_CONFIG'], "<a href=\"" . append_sid("admin_board.php") . "\">", "</a>") . "<br /><br />" . sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], "<a href=\"" . append_sid("index.php?pane=right") . "\">", "</a>");
                    
52
                    
                
fields.php http://flexicontent.googlecode.com/svn/trunk/ | PHP | 177 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * @version 1.5 stable $Id: fields.php 1683 2013-06-02 07:51:11Z ggppdk $
                    
4 * @package Joomla
                    
9 * FLEXIcontent is a derivative work of the excellent QuickFAQ component
                    
10 * @copyright (C) 2008 Christoph Lukes
                    
11 * see www.schlu.net for more information
                    
                
moving.html https://bitbucket.org/ellislab/expressionengine-user-guide/ | HTML | 162 lines
                    
48
                    
49	<h2>2. Synchronize Templates</h2>
                    
50	<p class="tip">You can skip this step if you are not saving templates as files.</p>
                    
51	<p>
                    
52		From the Control Panel, go to <var>Design &gt; Templates &gt; Synchronize Templates</var>, select all templates
                    
53		and click Submit.
                    
73	<ul>
                    
74		<li><dfn>admin.php</dfn></li>
                    
75		<li><dfn>index.php</dfn></li>
                    
114
                    
115	<h2>8. Verify index.php and admin.php</h2>
                    
116	<p>
                    
116	<p>
                    
117		Verify that your site's root <kbd>index.php</kbd> and <kbd>admin.php</kbd> files have the correct settings for the new server.
                    
118	</p>
                    
                
is_user.php http://creative-portal.googlecode.com/svn/trunk/ | PHP | 166 lines
                    
1<?php
                    
2
                    
20{
                    
21    require_once ( NV_ROOTDIR . '/' . DIR_FORUM . '/nukeviet/is_user.php' );
                    
22    if ( isset( $user_info['userid'] ) and $user_info['userid'] > 0 )
                    
29            define( 'NV_IS_USER', true );
                    
30            $row = $db->sql_fetchrow( $result );
                    
31            $user_info['userid'] = intval( $row['userid'] );
                    
85                    {
                    
86                        $row = $db->sql_fetchrow( $result );
                    
87                        $db->sql_freeresult( $result );
                    
135                                {
                    
136                                    $row2 = $db->sql_fetchrow( $result2 );
                    
137                                    $db->sql_freeresult( $result2 );
                    
                
IPSECKEY.php http://netdns2.googlecode.com/svn/trunk/ | PHP | 385 lines
                    
1<?php
                    
2/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */
                    
6 *
                    
7 * PHP Version 5
                    
8 *
                    
44 * @copyright 2010 Mike Pultz <mike@mikepultz.com>
                    
45 * @license   http://www.opensource.org/licenses/bsd-license.php  BSD License
                    
46 * @version   SVN: $Id: IPSECKEY.php 125 2011-12-03 00:19:49Z mike.pultz $
                    
46 * @version   SVN: $Id: IPSECKEY.php 125 2011-12-03 00:19:49Z mike.pultz $
                    
47 * @link      http://pear.php.net/package/Net_DNS2
                    
48 * @since     File available since Release 0.6.0
                    
68 * @author   Mike Pultz <mike@mikepultz.com>
                    
69 * @license  http://www.opensource.org/licenses/bsd-license.php  BSD License
                    
70 * @link     http://pear.php.net/package/Net_DNS2
                    
348        case self::GATEWAY_TYPE_DOMAIN:
                    
349            $data .= chr(strlen($this->gateway))  . $this->gateway;
                    
350            break;
                    
                
index.html http://miacms.googlecode.com/svn/trunk/ | HTML | 77 lines
                    
9		theme : "advanced",
                    
10		plugins : "table,save,advhr,advimage,advlink,emotions,iespell,insertdatetime,preview,zoom,flash,searchreplace,print,paste,directionality,fullscreen,noneditable,contextmenu",
                    
11		theme_advanced_buttons1_add_before : "save,newdocument,separator",
                    
31	function fileBrowserCallBack(field_name, url, type, win) {
                    
32		var connector = "../../filemanager/browser.html?Connector=connectors/php/connector.php";
                    
33		var enableAutoTypeSelection = true;
                    
61
                    
62<form method="post" action="http://tinymce.moxiecode.com/dump.php?example=true">
                    
63	<h3>TinyMCPUK example</h3>
                    
                
ccdsXajaxResponsePlugin.inc.php http://ccds.googlecode.com/svn/trunk/ | PHP | 305 lines
                    
1<?php
                    
2class ccdsResponse
                    
71        ob_get_clean();
                    
72        $c=str_replace( chr( 1 ), " ", $c );
                    
73        $c=str_replace( chr( 2 ), " ", $c );
                    
73        $c=str_replace( chr( 2 ), " ", $c );
                    
74        $c=str_replace( chr( 31 ), " ", $c );
                    
75        $c=str_replace( "", " ", $c );
                    
                
AbstractRequest.js git://github.com/qooxdoo/qooxdoo.git | JavaScript | 150 lines
                    
82
                    
83    testAsynchronous : function()
                    
84    {
                    
85      if (this.isLocal()) {
                    
86        this.needsPHPWarning();
                    
87        return;
                    
121      if (this.isLocal()) {
                    
122        this.needsPHPWarning();
                    
123        return;
                    
125
                    
126      var url = this.getUrl("qx/test/xmlhttp/echo_get_request.php");
                    
127      var request = new qx.io.remote.Request(url, "GET", "text/plain");
                    
                
RemoveIntermedialFiles.cpp http://winx.googlecode.com/svn/trunk/ | C++ | 154 lines
                    
5// The use and distribution terms for this software are covered by the
                    
6// Common Public License 1.0 (http://opensource.org/licenses/cpl.php)
                    
7// which can be found in the file CPL.txt at this distribution. By using
                    
49
                    
50	LPCTSTR szExt = _tcsrchr(szFileName, '.');
                    
51	if (szExt == NULL)
                    
                
Pop3Connection.php git://github.com/ushahidi/Ushahidi_Web.git | PHP | 176 lines
                    
1<?php
                    
2
                    
5 * Please read the LICENSE file
                    
6 * @author Chris Corbyn <chris@w3style.co.uk>
                    
7 * @package Swift_Authenticator
                    
10
                    
11require_once dirname(__FILE__) . "/../../ClassLoader.php";
                    
12
                    
16 * @package Swift_Authenticator
                    
17 * @author Chris Corbyn <chris@w3style.co.uk>
                    
18 */
                    
                
functions_report_admin.php http://torrentpier2.googlecode.com/svn/trunk/ | PHP | 569 lines
                    
1<?php
                    
2
                    
23	$report_counts = array();
                    
24	while ($row = DB()->sql_fetchrow($result))
                    
25	{
                    
48	$report_reason_counts = array();
                    
49	while ($row = DB()->sql_fetchrow($result))
                    
50	{
                    
68		if (!class_exists("report_module"))
                    
69			include(INC_DIR . "report_module.php");
                    
70
                    
80		{
                    
81			if (!preg_match('#(.*)\.' . bb_preg_quote('php', '#') . '$#', $file, $matches))
                    
82			{
                    
98
                    
99			$lang_file = LANG_ROOT_DIR ."lang_{$bb_cfg['default_lang']}/report_hack/lang_$module_name.php";
                    
100			if (file_exists($lang_file))
                    
                
db.php git://github.com/phpbb/phpbb3.git | PHP | 208 lines
                    
1<?php
                    
2/**
                    
3*
                    
4* @package phpBB3
                    
5* @copyright (c) 2010 phpBB Group
                    
5* @copyright (c) 2010 phpBB Group
                    
6* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
                    
7*
                    
12*/
                    
13if (!defined('IN_PHPBB'))
                    
14{
                    
19* Configuration container class
                    
20* @package phpBB3
                    
21*/
                    
21*/
                    
22class phpbb_config_db extends phpbb_config
                    
23{
                    
                
pil-compute.c git://git.savannah.gnu.org/liquidwar6.git | C | 242 lines
                    
2  Liquid War 6 is a unique multiplayer wargame.
                    
3  Copyright (C)  2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015  Christian Mauduit <ufoot@ufoot.org>
                    
4
                    
136		  /*
                    
137		   * https://savannah.gnu.org/bugs/index.php?41113
                    
138		   * One needs to stop calculating like mad if one is way behind schedule
                    
                
view.html.php http://flexicontent.googlecode.com/svn/trunk/ | PHP | 276 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * @version 1.5 stable $Id: view.html.php 1577 2012-12-02 15:10:44Z ggppdk $
                    
4 * @package Joomla
                    
9 * FLEXIcontent is a derivative work of the excellent QuickFAQ component
                    
10 * @copyright (C) 2008 Christoph Lukes
                    
11 * see www.schlu.net for more information
                    
83		$btn_task = '';
                    
84		$popup_load_url = JURI::base().'index.php?option=com_flexicontent&view=categories&layout=params&tmpl=component';
                    
85		if (FLEXI_J16GE) {
                    
97		//if (FLEXI_J16GE)
                    
98		//	$toolbar->appendButton('Popup', 'move', JText::_('FLEXI_COPY_MOVE'), JURI::base().'index.php?option=com_flexicontent&amp;view=categories&amp;layout=batch&amp;tmpl=component', 800, 440);
                    
99		JToolBarHelper::divider();
                    
                
view.html.php http://flexicontent.googlecode.com/svn/trunk/ | PHP | 276 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * @version 1.5 stable $Id: view.html.php 1869 2014-03-12 12:18:40Z ggppdk $
                    
4 * @package Joomla
                    
9 * FLEXIcontent is a derivative work of the excellent QuickFAQ component
                    
10 * @copyright (C) 2008 Christoph Lukes
                    
11 * see www.schlu.net for more information
                    
83		$btn_task = '';
                    
84		$popup_load_url = JURI::base().'index.php?option=com_flexicontent&view=categories&layout=params&tmpl=component';
                    
85		if (FLEXI_J16GE) {
                    
97		//if (FLEXI_J16GE)
                    
98		//	$toolbar->appendButton('Popup', 'move', JText::_('FLEXI_COPY_MOVE'), JURI::base().'index.php?option=com_flexicontent&amp;view=categories&amp;layout=batch&amp;tmpl=component', 800, 440);
                    
99		JToolBarHelper::divider();
                    
                
 

Source

Language