PageRenderTime 1715ms queryFilters 1ms Sphinxql 520ms GetByIds 1161ms meta 0ms repositoryFilters 8ms languageFilters 1ms sourceFilters 1ms

173,263 results for 'php chr repo:ddonthula/zurmoreports' (1715 ms)

Source

Language

Repository

vareimport.php https://github.com/nielsrune/saldi.git | PHP | 318 lines
1<?php
2// -------------------------------------------lager/vareimport.pgp------------patch 1.1.2------------------
23
24include("../includes/connect.php");
25include("../includes/online.php");
25include("../includes/online.php");
26include("../includes/dkdato.php");
27include("../includes/dkdecimal.php");
27include("../includes/dkdecimal.php");
28include("../includes/db_query.php");
29
32print "<table width=\"100%\" align=\"center\" border=\"0\" cellspacing=\"1\" cellpadding=\"0\"><tbody>";
33print "<td width=\"10%\" $top_bund>$font<small><a href=varer.php? accesskey=L>Luk</a></small></td>";
34print "<td width=\"80%\" $top_bund align=\"center\">$font<small>Vareimport</small></td>";
75	print "<tr><td width=100% align=center><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\"><tbody>";
76	print "<form enctype=\"multipart/form-data\" action=\"vareimport.php\" method=\"POST\">";
77	print "<input type=\"hidden\" name=\"MAX_FILE_SIZE\" value=\"9999999\" />";
vvsimport.php https://github.com/nielsrune/saldi.git | PHP | 256 lines
1<?php
2// -------------------------------------------lager/vvsimport.pgp------------patch 1.1.2------------------
23
24include("../includes/connect.php");
25include("../includes/online.php");
25include("../includes/online.php");
26include("../includes/dkdato.php");
27include("../includes/dkdecimal.php");
27include("../includes/dkdecimal.php");
28include("../includes/db_query.php");
29
32print "<table width=\"100%\" align=\"center\" border=\"0\" cellspacing=\"1\" cellpadding=\"0\"><tbody>";
33print "<td width=\"10%\" $top_bund>$font<small><a href=varer.php? accesskey=L>Luk</a></small></td>";
34print "<td width=\"80%\" $top_bund align=\"center\">$font<small>Vareimport</small></td>";
75	print "<tr><td width=100% align=center><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\"><tbody>";
76	print "<form enctype=\"multipart/form-data\" action=\"vvsimport.php\" method=\"POST\">";
77	print "<input type=\"hidden\" name=\"MAX_FILE_SIZE\" value=\"9999999\" />";
ordre2csv.php https://github.com/nielsrune/saldi.git | PHP | 72 lines
1<?php
2// -------------kreditor/ordre2csv.php----------lap 2.0.5------2009-02-24----
3// LICENS
24
25include("../includes/connect.php");
26include("../includes/online.php");
34print "<table width=\"100%\" align=\"center\" border=\"0\" cellspacing=\"2\" cellpadding=\"0\"><tbody>"; #B1
35print "<td width=\"10%\" $top_bund><font face=\"Helvetica, Arial, sans-serif\" color=\"#000066\"><a href=../includes/luk.php accesskey=L>Luk</a></td>";
36print "<td width=\"80%\" $top_bund><font face=\"Helvetica, Arial, sans-serif\" color=\"#000066\">$title</td>";
45
46fwrite($fp,"Pos".chr(9)."Vores varenummer".chr(9)."Deres varenummer".chr(9)."Beskrivelse".chr(9)."Antal".chr(9)."Pris".chr(9)."Rabat".chr(9)."I alt".chr(9)."\n");
47$q=db_select("select * from ordrelinjer where ordre_id = $ordre_id order by posnr");
61	
62	fwrite($fp,$r[posnr].chr(9).$varenr.chr(9).$lev_vnr.chr(9).$beskrivelse.chr(9).$antal.chr(9).$pris.chr(9).$rabat.chr(9).$ialt."\n");
63}
std_func.php https://github.com/nielsrune/saldi.git | PHP | 538 lines
429			$message=$db." | Ubalance i regnskab: kr: $diff";
430			$headers = 'From: fejl@saldi.dk'."\r\n".'Reply-To: fejl@saldi.dk'."\r\n".'X-Mailer: PHP/' . phpversion();
431			mail('fejl@saldi.dk', 'Ubalance i regnskab:'. $db, $message, $headers);
507		if ($db_encode=='UTF8') {
508			$string=str_replace(chr(195).chr(134),chr(195).chr(166),$string);
509			$string=str_replace(chr(195).chr(152),chr(195).chr(184),$string);
509			$string=str_replace(chr(195).chr(152),chr(195).chr(184),$string);
510			$string=str_replace(chr(195).chr(133),chr(195).chr(165),$string);
511		} else {
522		if ($db_encode=='UTF8') {
523			$string=str_replace(chr(195).chr(166),chr(195).chr(134),$string);
524			$string=str_replace(chr(195).chr(184),chr(195).chr(152),$string);
524			$string=str_replace(chr(195).chr(184),chr(195).chr(152),$string);
525			$string=str_replace(chr(195).chr(165),chr(195).chr(133),$string);
526		} else {
UtfNormalTest2.php https://github.com/spenser-roark/OOUG-Wiki.git | PHP | 240 lines
64 */
65function normalize_form_c_php($c)  { return UtfNormal::toNFC($c, "php");  }
66function normalize_form_d_php($c)  { return UtfNormal::toNFD($c, "php");  }
67function normalize_form_kc_php($c) { return UtfNormal::toNFKC($c, "php"); }
68function normalize_form_kd_php($c) { return UtfNormal::toNFKD($c, "php"); }
69
197	} elseif ($c <= 0x7FF) {
198		return chr(0xC0 | $c >> 6) . chr(0x80 | $c & 0x3F);
199	} elseif ($c <= 0xFFFF) {
199	} elseif ($c <= 0xFFFF) {
200		return chr(0xE0 | $c >> 12) . chr(0x80 | $c >> 6 & 0x3F)
201			. chr(0x80 | $c & 0x3F);
202	} elseif ($c <= 0x10FFFF) {
203		return chr(0xF0 | $c >> 18) . chr(0x80 | $c >> 12 & 0x3F)
204			. chr(0x80 | $c >> 6 & 0x3F)
functions.inc.php https://github.com/TechGemIN/DomPDF-Boilerplate.git | PHP | 1,055 lines
812  else if ($c <= 0x7FF) {
813    return chr(0xC0 | $c >>  6) . chr(0x80 | $c & 0x3F);
814  }
815  else if ($c <= 0xFFFF) {
816    return chr(0xE0 | $c >> 12) . chr(0x80 | $c >> 6 & 0x3F)
817                                . chr(0x80 | $c & 0x3F);
819  else if ($c <= 0x10FFFF) {
820    return chr(0xF0 | $c >> 18) . chr(0x80 | $c >> 12 & 0x3F)
821                                . chr(0x80 | $c >> 6 & 0x3F)
842 * PDF streaming is impossible.
843 * @see http://www.php.net/manual/en/function.set-error_handler.php
844 *
968 *
969 * @link http://us.php.net/manual/en/function.sys-get-temp-dir.php#85261
970 */
Pdftk.php https://github.com/khandieyea/php-pdtfk-toolkit.git | PHP | 571 lines
1<?php
2namespace Pdftk;
25 *
26 * @example examples/example1.php
27 * @example examples/example2.php
27 * @example examples/example2.php
28 * @example examples/example3.php
29 * @example examples/example4.php
346                if ($this->getPdftkVersion() >= 1.45) {
347                    $handle = chr(65 + floor($iKey / 26) % 26) . chr(65 + $iKey % 26);
348                } else {
359            if ($this->getPdftkVersion() >= 1.45) {
360                $handle = chr(65 + floor($iKey / 26) % 26) . chr(65 + $iKey % 26);
361            } else {
379                if ($this->getPdftkVersion() >= 1.45) {
380                    $handle = chr(65 + floor($iKey / 26) % 26) . chr(65 + $iKey % 26);
381                } else {
ExtendedPrintIPP.php https://github.com/nethesis/nethserver-cups.git | PHP | 1,442 lines
2/* vim: set expandtab tabstop=4 shiftwidth=4 foldmethod=marker: */
3/* @(#) $Header: /sources/phpprintipp/phpprintipp/php_classes/ExtendedPrintIPP.php,v 1.1 2008/06/21 00:30:57 harding Exp $
4 *
152       
153        $this->stringjob = chr(0x01) . chr(0x01) // 1.1  | version-number
154                         . chr(0x00) . chr (0x12) // purge-Jobs | operation-id
605        $this->stringjob = chr(0x01) . chr(0x01) // 1.1  | version-number
606                         . chr(0x00) . chr (0x11) // suse-Printer | operation-id
607                         . $this->meta->operation_id //           request-id
1123        $this->meta->document_uri = chr(0x45) // type uri
1124                                . chr(0x00).chr(0x0c) // name-length
1125                                . "document-uri"
1403        $this->stringjob = chr(0x01) . chr(0x01) // 1.1  | version-number
1404                         . chr(0x00) . chr (0x07) // Send-Uri | operation-id
1405                         . $this->meta->operation_id //           request-id
filtres.php https://github.com/eyeswebcrea/espace-couture-sittler.fr.git | PHP | 2,668 lines
1<?php
2
111$GLOBALS['spip_matrice']['image_reduire'] = 'inc/filtres_images_mini.php';
112$GLOBALS['spip_matrice']['image_reduire_par'] = 'inc/filtres_images_mini.php';
113$GLOBALS['spip_matrice']['image_passe_partout'] = 'inc/filtres_images_mini.php';
409	return preg_replace(
410	",^[[:space:]]*([0-9]+)([.)]|".chr(194).'?'.chr(176).")[[:space:]]+,S",
411	"", $texte);
417	if (preg_match(
418	",^[[:space:]]*([0-9]+)([.)]|".chr(194).'?'.chr(176).")[[:space:]]+,S",
419	$texte, $regs))
1094// date_iso retourne la date au format "RFC 3339" / "ISO 8601"
1095// voir http://www.php.net/manual/fr/ref.datetime.php#datetime.constants
1096// http://doc.spip.org/@date_iso
2445// encrypter/decrypter un message
2446// http://www.php.net/manual/fr/language.operators.bitwise.php#81358
2447// http://doc.spip.org/@_xor
Serializer.php https://bitbucket.org/trujka/goweb.git | PHP | 884 lines
1<?php
2
13/**
14 * AmfSerializer manages the job of translating PHP objects into
15 * the actionscript equivalent via Amf.  The main method of the serializer
19 *
20 * @package Amfphp_Core_Amf
21 */
21 */
22class Amfphp_Core_Amf_Serializer {
23
412        if (!$className) {
413            throw new Amfphp_Core_Exception(Amfphp_Core_Amf_Constants::FIELD_EXPLICIT_TYPE . " not found on a object that is to be sent as typed. " . print_r($d, true));
414        }
482    /**
483     * @todo Is the reference still needed? PHP4 needed it for objects, but PHP5 always
484     * passes objects by reference. And PHP5 uses a copy-on-write approach, so that all
Utf8.php https://bitbucket.org/davide_grobberio/laravel-angular.git | PHP | 603 lines
214    {
215/**/    if (50418 > PHP_VERSION_ID || 50500 == PHP_VERSION_ID)
216/**/    {
230    {
231/**/    if (50418 > PHP_VERSION_ID || 50500 == PHP_VERSION_ID)
232/**/    {
252    static function strrchr ($s, $needle, $before_needle = false) {return mb_strrchr ($s, $needle, $before_needle, 'UTF-8');}
253    static function strrichr($s, $needle, $before_needle = false) {return mb_strrichr($s, $needle, $before_needle, 'UTF-8');}
254
312        if (0x80 > $c %= 0x200000) return chr($c);
313        if (0x800 > $c) return chr(0xC0 | $c>>6) . chr(0x80 | $c & 0x3F);
314        if (0x10000 > $c) return chr(0xE0 | $c>>12) . chr(0x80 | $c>>6 & 0x3F) . chr(0x80 | $c & 0x3F);
314        if (0x10000 > $c) return chr(0xE0 | $c>>12) . chr(0x80 | $c>>6 & 0x3F) . chr(0x80 | $c & 0x3F);
315        return chr(0xF0 | $c>>18) . chr(0x80 | $c>>12 & 0x3F) . chr(0x80 | $c>>6 & 0x3F) . chr(0x80 | $c & 0x3F);
316    }
tbszip.php https://github.com/ZodiackO/laravel-exam.git | PHP | 1,004 lines
1<?php
2
34		$this->ArchIsNew = true;
35		$bin = 'PK'.chr(05).chr(06).str_repeat(chr(0), 18);
36		$this->CdEndPos = strlen($bin) - 4;
95	function CentralDirRead() {
96		$cd_info = 'PK'.chr(05).chr(06); // signature of the Central Directory
97		$cd_pos = -22;
180		if ($this->DisplayError) {
181			if (PHP_SAPI==='cli') {
182				echo get_class($this).' ERROR with the zip archive: '.$Msg."\r\n";
841		// Header for file in the data section 
842		$b = 'PK'.chr(03).chr(04).str_repeat(' ',26); // signature
843		$this->_PutDec($b,20,4,2); //vers = 20
861		// Information for file in the Central Directory
862		$b = 'PK'.chr(01).chr(02).str_repeat(' ',42); // signature
863		$this->_PutDec($b,20,4,2);  // vers_used = 20
Subs-Package.php https://github.com/dekoza/openshift-smf-2.0.7.git | PHP | 2,995 lines
356	// Find the central whosamawhatsit at the end; if there's a comment it's a pain.
357	if (substr($data, -22, 4) == 'PK' . chr(5) . chr(6))
358		$p = -22;
363		{
364			if (substr($data, $p, 4) == 'PK' . chr(5) . chr(6))
365				break;
377		// Make sure this is a file entry...
378		if (substr($data, $p, 4) != 'PK' . chr(1) . chr(2))
379			return false;
407		// Check that the data is there and does exist.
408		if (substr($data, $file_info['offset'], 4) != 'PK' . chr(3) . chr(4))
409			return false;
2703
2704	$base_files = array('index.php', 'SSI.php', 'agreement.txt', 'ssi_examples.php', 'ssi_examples.shtml');
2705	foreach ($base_files as $file)
Subs-Auth.php https://github.com/dekoza/openshift-smf-2.0.7.git | PHP | 740 lines
1<?php
2
68	void JSMembers()
69		- called by index.php?action=findmember.
70		- is used as a popup for searching members.
78	void resetPassword(int id_member, string username = null)
79		- called by Profile.php when changing someone's username.
80		- checks the validity of the new username.
537				elseif ($n < 2048)
538					return chr(192 | $n >> 6) . chr(128 | $n & 63);
539				elseif ($n < 65536)
539				elseif ($n < 65536)
540					return chr(224 | $n >> 12) . chr(128 | $n >> 6 & 63) . chr(128 | $n & 63);
541				else
541				else
542					return chr(240 | $n >> 18) . chr(128 | $n >> 12 & 63) . chr(128 | $n >> 6 & 63) . chr(128 | $n & 63);');
543
Serializer.php https://github.com/EmranAhmed/wp-easycart.git | PHP | 905 lines
1<?php
2
9 * with this package in the file license.txt.
10 * @package Amfphp_Core_Amf
11 */
13/**
14 * AmfSerializer manages the job of translating PHP objects into
15 * the actionscript equivalent via Amf.  The main method of the serializer
18 *
19 * @package Amfphp_Core_Amf
20 */
20 */
21class Amfphp_Core_Amf_Serializer implements Amfphp_Core_Common_ISerializer {
22
406        if (!$className) {
407            throw new Amfphp_Core_Exception(Amfphp_Core_Amf_Constants::FIELD_EXPLICIT_TYPE . ' not found on a object that is to be sent as typed. ' . print_r($d, true));
408        }
JSON.php https://github.com/aet2505/osTicket-1.8.git | PHP | 806 lines
54 * @license     http://www.opensource.org/licenses/bsd-license.php
55 * @link        http://pear.php.net/pepr/pepr-proposal-show.php?id=198
56 */
516                    $utf8 = '';
517                    $strlen_chrs = strlen($chrs);
518
648                        $top = end($stk);
649                        $substr_chrs_c_2 = substr($chrs, $c, 2);
650
699                                 ($top['what'] == SERVICES_JSON_IN_STR) &&
700                                 ((strlen(substr($chrs, 0, $c)) - strlen(rtrim(substr($chrs, 0, $c), '\\'))) % 2 != 1)) {
701                            // found a quote, we're in a string, and it's not escaped
741                            for ($i = $top['where']; $i <= $c; ++$i)
742                                $chrs = substr_replace($chrs, ' ', $i, 1);
743
mimeDecode.php https://github.com/aet2505/osTicket-1.8.git | PHP | 929 lines
1<?php
2/**
9 *  +----------------------------- IMPORTANT ------------------------------+
10 *  | Usage of this class compared to native php extensions such as        |
11 *  | mailparse or imap, is slow and may be feature deficient. If available|
11 *  | mailparse or imap, is slow and may be feature deficient. If available|
12 *  | you are STRONGLY recommended to use the php extensions.              |
13 *  +----------------------------------------------------------------------+
14 *
15 * Compatible with PHP versions 4 and 5
16 *
17 * LICENSE: This LICENSE is in the BSD license style.
18 * Copyright (c) 2002-2003, Richard Heyes <richard@phpguru.org>
19 * Copyright (c) 2003-2006, PEAR <pear-group@php.net>
48 * @package    Mail_Mime
49 * @author     Richard Heyes  <richard@phpguru.org>
50 * @author     George Schlossnagle <george@omniti.com>
Json.php https://github.com/zihuxinyu/typecho.git | PHP | 546 lines
304                    $utf8 = '';
305                    $strlen_chrs = strlen($chrs);
306
417
418                        if (($c == $strlen_chrs) || (($chrs {$c} == ',') && ($top['what'] == self::SERVICES_JSON_SLICE))) {
419                            $slice = substr($chrs, $top['where'], ($c - $top['where']));
439
440                        } elseif ((($chrs {$c} == '"') || ($chrs{$c} == "'")) && ($top['what'] != self::SERVICES_JSON_IN_STR)) {
441                            array_push($stk, array('what' => self::SERVICES_JSON_IN_STR, 'where' => $c, 'delim' => $chrs{$c}));
444                                 ($top['what'] == self::SERVICES_JSON_IN_STR) &&
445                                 ((strlen(substr($chrs, 0, $c)) - strlen(rtrim(substr($chrs, 0, $c), '\\'))) % 2 != 1)) {
446                            array_pop($stk);
465                            for ($i = $top['where']; $i <= $c; ++$i)
466                                $chrs = substr_replace($chrs, ' ', $i, 1);
467                        }
class.kunena.php https://github.com/viollarr/alab.git | PHP | 1,070 lines
500
501		require_once (KUNENA_PATH_LIB . '/kunena.moderation.class.php');
502		$kunena_mod = CKunenaModeration::getInstance ();
533
534		require_once (KUNENA_PATH_LIB . '/kunena.moderation.class.php');
535		$kunena_mod = CKunenaModeration::getInstance ();
718	function displayLoginBox() {
719		require_once (KUNENA_PATH_LIB . '/kunena.login.php');
720		$type = CKunenaLogin::getType ();
1062	if ($num < 128) return chr($num);
1063    if ($num < 2048) return chr(($num >> 6) + 192) . chr(($num & 63) + 128);
1064    if ($num < 65536) return chr(($num >> 12) + 224) . chr((($num >> 6) & 63) + 128) . chr(($num & 63) + 128);
1064    if ($num < 65536) return chr(($num >> 12) + 224) . chr((($num >> 6) & 63) + 128) . chr(($num & 63) + 128);
1065    if ($num < 2097152) return chr(($num >> 18) + 240) . chr((($num >> 12) & 63) + 128) . chr((($num >> 6) & 63) + 128) . chr(($num & 63) + 128);
1066    return '';
MessageController.php https://github.com/lucianobaraglia/yii2.git | PHP | 553 lines
1<?php
2/**
30 * 1. Create a configuration file using the 'message/config' command:
31 *    yii message/config /path/to/myapp/messages/config.php
32 * 2. Edit the created config file, adjusting it for your web application needs.
33 * 3. Run the 'message/extract' command, using created config:
34 *    yii message /path/to/myapp/messages/config.php
35 *
65        }
66        copy(Yii::getAlias('@yii/views/messageConfig.php'), $filePath);
67        echo "Configuration file template created at '{$filePath}'.\n\n";
92            'sort' => false,
93            'format' => 'php',
94        ], require($configFile));
517                foreach ($existingMessages as $message => $translation) {
518                    if (!isset($merged[$category . chr(4) . $message]) && !isset($todos[$category . chr(4) . $message]) && !$removeUnused) {
519                        if (!empty($translation) && substr($translation, 0, 2) === '@@' && substr($translation, -2) === '@@') {
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21