A PHP Error was encountered

Severity: 8192

Message: Function create_function() is deprecated

Filename: geshi/geshi.php

Line Number: 4698

Backtrace:

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 4698
Function: _error_handler

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 4621
Function: _optimize_regexp_list_tokens_to_string

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 1655
Function: optimize_regexp_list

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 2029
Function: optimize_keyword_group

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 2168
Function: build_parse_cache

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/Process.php
Line: 45
Function: parse_code

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/models/Pastes.php
Line: 517
Function: syntax

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/controllers/Main.php
Line: 575
Function: getPaste

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/system/core/Exceptions.php:271)

Filename: view/rss.php

Line Number: 2

Backtrace:

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/themes/geocities/views/view/rss.php
Line: 2
Function: header

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/core/MY_Loader.php
Line: 173
Function: include

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/core/MY_Loader.php
Line: 43
Function: _ci_load

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/controllers/Main.php
Line: 579
Function: view

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/index.php
Line: 315
Function: require_once

test - Stikked test - Stikked http://geopaste.scratchbook.ch/ en Re: test http://geopaste.scratchbook.ch/view/38f29611 Sat, 24 Aug 2019 11:41:08 +0200 jg http://geopaste.scratchbook.ch/view/38f29611
  1. <?php
  2. //-------------------------------------------------------------------------------
  3. // Function ResetCmd
  4. // - Clear list page parameters
  5. // - RESET: reset search parameters
  6. // - RESETALL: reset search & master/detail parameters
  7. // - RESETSORT: reset sort parameters
  8.  
  9. function ResetCmd()
  10. {
  11.  
  12.         // Get Reset command
  13.         if (strlen(@$_GET["cmd"]) > 0) {
  14.                 $sCmd = @$_GET["cmd"];
  15.                 if (strtolower($sCmd) == "reset") { // Reset search criteria
  16.                         ResetSearch();
  17.                 } elseif (strtolower($sCmd) == "resetall") { // Reset search criteria and session vars
  18.                         ResetSearch();
  19.                         $_SESSION[ewSessionTblMasterWhere] = ""; // Clear master criteria
  20.                         $sDbWhereMaster = "";
  21.                         $_SESSION[ewSessionTblDetailWhere] = ""; // Clear detail criteria
  22.                         $sDbWhereDetail = "";
  23.                         $_SESSION[ewSessionTblMasterKey . "_id_marca"] = ""; // Clear master key value
  24.                 } elseif (strtolower($sCmd) == "resetsort") { // Reset sort criteria
  25.                         $sOrderBy = "";
  26.                         $_SESSION[ewSessionTblOrderBy] = $sOrderBy;
  27.                         if (@$_SESSION[ewSessionTblSort . "_x_nombre_campana"] <> "") { $_SESSION[ewSessionTblSort . "_x_nombre_campana"] = ""; }
  28.                         if (@$_SESSION[ewSessionTblSort . "_x_id_marca"] <> "") { $_SESSION[ewSessionTblSort . "_x_id_marca"] = ""; }
  29.                         if (@$_SESSION[ewSessionTblSort . "_x_id_pais"] <> "") { $_SESSION[ewSessionTblSort . "_x_id_pais"] = ""; }
  30.                         if (@$_SESSION[ewSessionTblSort . "_x_fecha_inicio"] <> "") { $_SESSION[ewSessionTblSort . "_x_fecha_inicio"] = ""; }
  31.                         if (@$_SESSION[ewSessionTblSort . "_x_fecha_fin"] <> "") { $_SESSION[ewSessionTblSort . "_x_fecha_fin"] = ""; }
  32.                         if (@$_SESSION[ewSessionTblSort . "_x_descripcion_campana"] <> "") { $_SESSION[ewSessionTblSort . "_x_descripcion_campana"] = ""; }
  33.                 }
  34.  
  35.                 // Reset start position (Reset command)
  36.                 $nStartRec = 1;
  37.                 $_SESSION[ewSessionTblStartRec] = $nStartRec;
  38.         }
  39. }
]]>