/plugin/judge/helper/ |
H A D | crud.php | 23 $this->db = new SQLite3(DBFILE); 57 …db->query('SELECT language FROM submission_test_case WHERE submit_id = ' . $row["submit_id"] . ';'… 130 $results = $this->db->query($query); 152 …$valid = $this->db->query('SELECT "valid" FROM submission_test_case WHERE submit_id = ' . $id . ';… 194 …$this->db->query('DELETE FROM submission_test_case WHERE submit_id ="' . $row["submit_id"] . '";'); 197 … $this->db->query('DELETE FROM submissions WHERE submit_id ="' . $row["submit_id"] . '";');
|
/plugin/randomtables/table-roller/src/Table/ |
H A D | Manager.php | 10 private \helper_plugin_sqlite $db 36 $result = $this->db->query('SELECT * FROM rtables WHERE id=? LIMIT 1', $name); 37 $row = $this->db->res_fetch_assoc($result); 9 __construct(private\\helper_plugin_sqlite $db) global() argument
|
/plugin/authucenter/lib/uc_client/control/ |
H A D | feed.php | 48 …$this->db->query("INSERT INTO ".UC_DBTABLEPRE."feeds SET appid='$appid', icon='$icon', uid='$uid',… 53 return $this->db->insert_id(); 60 $this->db->query("DELETE FROM ".UC_DBTABLEPRE."feeds WHERE feedid>'$start' AND feedid<'$end'"); 67 …$feedlist = $this->db->fetch_all("SELECT * FROM ".UC_DBTABLEPRE."feeds ORDER BY feedid DESC LIMIT … 85 $this->db->query("DELETE FROM ".UC_DBTABLEPRE."feeds WHERE feedid>='$start' AND feedid<='$end'");
|
H A D | user.php | 188 …$protectedmembers = $this->db->fetch_all("SELECT uid,username FROM ".UC_DBTABLEPRE."protectedmembe… 207 …$this->db->query("REPLACE INTO ".UC_DBTABLEPRE."protectedmembers SET uid='$uid', username='$userna… 209 return $this->db->errno() ? -1 : 1; 218 …$this->db->query("DELETE FROM ".UC_DBTABLEPRE."protectedmembers WHERE username='$username' AND app… 220 return $this->db->errno() ? -1 : 1; 234 …$this->db->query("DELETE FROM ".UC_DBTABLEPRE."mergemembers WHERE appid='".$this->app['appid']."' … 241 …$this->db->query("DELETE FROM ".UC_DBTABLEPRE."mergemembers WHERE appid='".$this->app['appid']."' …
|
/plugin/sql/ |
H A D | syntax.php | 119 $db =& DB::connect($data['urn']); 125 array_push($this->databases, $db); 128 $db =& array_pop($this->databases); 129 if (!empty($db)) { 132 $result =& $db->getAll($query);
|
/plugin/bez/mdl/ |
H A D | Factory.php | 144 $sth = $this->model->db->prepare($q); 163 $sth = $this->model->db->prepare($q); 174 $sth = $this->model->db->prepare($q); 192 $sth = $this->model->db->prepare($q); 258 $sth = $this->model->db->prepare($query); 264 $reflectionProperty->setValue($obj, $this->model->db->lastInsertId()); 290 $sth = $this->model->db->prepare($query); 314 $sth = $this->model->db->prepare($q);
|
H A D | Model.php | 24 protected $db; variable in dokuwiki\\plugin\\bez\\mdl\\Model 60 in_array($property, array('sqlite', 'db', 'acl', 'dw_auth', 'user_nick', 'action', 'conf'))) { 90 $this->db = $this->sqlite->getAdapter()->getPdo(); 91 $this->db->setAttribute(\PDO::ATTR_ERRMODE, \PDO::ERRMODE_EXCEPTION); 93 $this->db->exec("PRAGMA busy_timeout = $busy_timeout");
|
/plugin/simplemysqlclient/syntax/ |
H A D | simplemysqlclient.php | 148 $db = $this->connectToDb (); 150 if (! $db) { 154 if ($db->multi_query ( $query )) { 157 $result = $db->store_result (); 173 $err = mysqli_errno ( $db ); 178 if ($db->more_results ()) { 181 } while ( $db->next_result () ); 188 if ($db) { 189 $db->close ();
|
/plugin/sqlite/db/ |
H A D | update0001.sql | 4 db TEXT NOT NULL, field 7 PRIMARY KEY (db, name)
|
/plugin/authwordpress/ |
H A D | auth.php | 62 * @var PDO $db 64 protected $db; variable in auth_plugin_authwordpress 217 $stmt = $this->db->prepare($sql); 242 * Initializes $db property as PDO object. 248 if ($this->db) { 265 $this->db = new PDO($dsn, $this->getConf('username'), $this->getConf('password')); 318 $stmt = $this->db->prepare($this->sql_wp_user_data);
|
/plugin/authucenter/lib/uc_client/model/ |
H A D | base.php | 29 var $db; variable in base 78 $this->db = new ucclient_db(); 79 $this->db->connect(UC_DBHOST, UC_DBUSER, UC_DBPW, '', UC_DBCHARSET, UC_DBCONNECT, UC_DBTABLEPRE); 127 $settings = $this->db->fetch_all("SELECT * FROM ".UC_DBTABLEPRE."settings $sqladd"); 206 …$noteexists = $this->db->result_first("SELECT value FROM ".UC_DBTABLEPRE."vars WHERE name='noteexi… 233 …$mailexists = $this->db->result_first("SELECT value FROM ".UC_DBTABLEPRE."vars WHERE name='mailexi…
|
H A D | misc.php | 17 var $db; variable in miscmodel 26 $this->db = $base->db; 30 …$arr = $this->db->fetch_all("SELECT $col FROM ".UC_DBTABLEPRE."applications".($where ? ' WHERE '.$…
|
/plugin/issuelinks/helper/ |
H A D | data.php | 16 private $db = null; variable in helper_plugin_issuelinks_data 23 $this->db = $this->loadHelper('issuelinks_db'); 231 $db = plugin_load('helper', 'issuelinks_db'); 232 …$issues = $db->getMergeRequestsReferencingIssue($serviceName, $projectKey, $issueId, $isMergeReque… 262 …$pages = $this->db->getAllPageLinkingToIssue($pmServiceName, $projectKey, $issueId, $isMergeReques… 263 …$pages = $this->db->removeOldLinks($pmServiceName, $projectKey, $issueId, $isMergeRequest, $pages);
|
/plugin/freechat/phpfreechat/src/containers/ |
H A D | oracle.class.php | 92 $db = $this->_connect($c); 93 if ($db === FALSE) 172 $db = $this->_connect(); 231 $db = $this->_connect(); 303 $db = $this->_connect(); 362 $db = $this->_connect();
|
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Crypt/RSA/ |
H A D | PublicKey.php | 257 $db = $maskedDB ^ $dbMask; 258 $db[0] = ~chr(0xFF << ($emBits & 7)) & $db[0]; 260 if (substr($db, 0, $temp) != str_repeat(chr(0), $temp) || ord($db[$temp]) != 1) { 263 $salt = substr($db, $temp + 1); // should be $sLen long 395 $db = $lHash . $ps . chr(1) . $m; 398 $maskedDB = $db ^ $dbMask;
|
/plugin/dwcommits/ |
H A D | helper.php | 96 $db = $inf[$fname_hash]; 97 list($base,$count) = explode('_',$db); 150 static $db = null; 151 if ($db === null) { 152 $db =& plugin_load('helper', 'sqlite'); 153 if ($db === null) { 162 $db->fetchmode = DOKU_SQLITE_ASSOC; 165 $this->sqlite = $db; 166 return $db; 760 foreach($_REQUEST[prune] as $db=>$key) { [all …]
|
H A D | syntax.php | 23 private $db; variable in syntax_plugin_dwcommits 69 return array($state, ' db parsing failed '); 170 $this->db = $this->helper->_getDB();
|
/plugin/data-graph/ |
H A D | syntax.php | 12 protected $db = null; variable in syntax_plugin_datagraph 25 $this->db = $sqlite; 153 …$arr = $this->db->res2arr($this->db->query('select d2.value as k, sum(d.value) as s, count(d.value…
|
/plugin/datagraph/ |
H A D | syntax.php | 12 protected $db = null; variable in syntax_plugin_datagraph 25 $this->db = $sqlite; 153 …$arr = $this->db->res2arr($this->db->query('select d2.value as k, sum(d.value) as s, count(d.value…
|
/plugin/database2/ |
H A D | syntax.php | 135 $db = new Database2($renderer, $this); 136 if ($db->connect($this->dbName, $this->options['auth'])) { 137 $db->process( $this->tableName, $args, $this->options );
|
H A D | database2.php | 63 protected $db; variable in Database2 165 $this->db = null; 194 return $this->db; 1139 if ( !$this->db->commit() ) 1389 $this->db->rollback(); 1407 if ( !$this->db->commit() ) 1414 $this->db->rollback(); 1439 $this->db->rollback(); 1450 if ( !$this->db->commit() ) 1457 $this->db->rollback(); [all …]
|
/plugin/dwcommits/conf/ |
H A D | default.local.ini.dist | 21 ; directory names of gits in dwcommits/db directory 22 ; the path to 'lib/plugins/dwcommits/db/' will be prepended to these names 29 ; gits outside dwcommits/db --these require the full path to the git:
|
/plugin/oauthdoorkeeper/ |
H A D | Dockerfile | 9 sed -i s'!https://doorkeeper-sinatra.herokuapp.com/callback!http://localhost/!' db/seeds.rb && \ 10 bundle exec rake db:setup | tail -n4 > public/secrets.txt
|
/plugin/acknowledge/ |
H A D | helper.php | 17 protected $db; 29 if ($this->db === null) { 31 $this->db = new SQLiteDB('acknowledgement', __DIR__ . '/db'); 34 $this->db->getPdo()->sqliteCreateFunction('AUTH_ISMEMBER', [$this, 'auth_isMember'], -1); 35 $this->db->getPdo()->sqliteCreateFunction('MATCHES_PAGE_PATTERN', [$this, 'matchPagePattern'], 2); 52 return $this->db; 79 $this->db->getPdo()->beginTransaction(); 85 $this->db->exec($sql, [$page, $lastmod]); 87 $this->db 16 protected $db; global() variable in helper_plugin_acknowledge [all...] |
/plugin/blogtng/ |
H A D | admin.php | 254 $db = $this->sqlitehelper->getDB(); 283 $where = 'WHERE blog = ' . $db->quote_string($query['blog']) . ' '; 291 $where .= 'AND ( title LIKE \'%'.$db->escape_string($query['string']).'%\' ) '; 294 $where .= 'AND ( author LIKE \'%'.$db->escape_string($query['string']).'%\' ) '; 297 … $where .= 'AND ( comments.text LIKE \'%'.$db->escape_string($query['string']).'%\' ) '; 300 … $where .= 'AND ( comments.ip LIKE \'%'.$db->escape_string($query['string']).'%\' ) '; 303 … $where .= 'AND ( tags.tag LIKE \'%'.$db->escape_string($query['string']).'%\' ) '; 310 $where .= 'AND ( comments.pid = ' . $db->quote_string($query['pid']) . ' ) '; 322 $res = $db->query($sqlcount); 323 $count = $db->res2single($res); [all …]
|