/plugin/crossdbsqlclient/syntax/ |
H A D | dbwrapper.php | 66 mysqli_autocommit ( $db, TRUE ); 70 if (! $db) { 76 $result = $db->store_result (); 92 $err = mysqli_errno ( $db ); 97 if ($db->more_results ()) { 107 if ($db) { 108 $db->close (); 126 $db = pg_connect ( $url ); 131 if (! $db) { 164 if ($db) { [all …]
|
/plugin/freechat/phpfreechat/src/ |
H A D | pfctools.php | 45 foreach(debug_backtrace() as $db) 47 $f = $db['file'];
|
/plugin/freechat/phpfreechat/src/containers/ |
H A D | mysql.class.php | 100 $db = $this->_connect($c); 101 if ($db === FALSE) 109 $db_list = mysql_list_dbs($db); 161 $db = $this->_connect(); 173 mysql_query($sql_insert, $db); 196 $db = $this->_connect(); 256 $db = $this->_connect(); 267 mysql_query($sql_insert, $db); 272 mysql_query($sql_update, $db); 290 $db = $this->_connect(); [all …]
|
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/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/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/authucenter/lib/api/ |
H A D | uc.php | 70 var $db = ''; variable in uc_note
|
/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/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 | mail.php | 16 var $db; variable in mailmodel 26 $this->db = $base->db; 31 $data = $this->db->result_first("SELECT COUNT(*) FROM ".UC_DBTABLEPRE."mailqueue"); 49 $this->db->query("DELETE FROM ".UC_DBTABLEPRE."mailqueue WHERE mailid IN ($ids)"); 50 return $this->db->affected_rows(); 66 $this->db->query($sql); 67 $insert_id = $this->db->insert_id(); 68 …$insert_id && $this->db->query("REPLACE INTO ".UC_DBTABLEPRE."vars SET name='mailexists', value='1… 99 $this->db->query("REPLACE INTO ".UC_DBTABLEPRE."vars SET name='mailexists', value='0'"); 140 return $this->db->query("DELETE FROM ".UC_DBTABLEPRE."mailqueue WHERE mailid='$mailid'"); [all …]
|
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 '.$…
|
H A D | app.php | 14 var $db; variable in appmodel 23 $this->db = $base->db; 27 …$arr = $this->db->fetch_all("SELECT $col FROM ".UC_DBTABLEPRE."applications".($where ? ' WHERE '.$…
|
H A D | cache.php | 22 var $db; variable in cachemodel 32 $this->db = $base->db; 69 $data = $this->db->fetch_all("SELECT * FROM ".UC_DBTABLEPRE."badwords");
|
H A D | domain.php | 14 var $db; variable in domainmodel 23 $this->db = $base->db; 28 $this->db->query("INSERT INTO ".UC_DBTABLEPRE."domains SET domain='$domain', ip='$ip'"); 30 return $this->db->insert_id(); 34 $data = $this->db->result_first("SELECT COUNT(*) FROM ".UC_DBTABLEPRE."domains"); 40 $data = $this->db->fetch_all("SELECT * FROM ".UC_DBTABLEPRE."domains LIMIT $start, $ppp"); 46 $this->db->query("DELETE FROM ".UC_DBTABLEPRE."domains WHERE id IN ($domainids)"); 47 return $this->db->affected_rows(); 51 $this->db->query("UPDATE ".UC_DBTABLEPRE."domains SET domain='$domain', ip='$ip' WHERE id='$id'"); 52 return $this->db->affected_rows();
|
H A D | friend.php | 14 var $db; variable in friendmodel 23 $this->db = $base->db; 27 …$direction = $this->db->result_first("SELECT direction FROM ".UC_DBTABLEPRE."friends WHERE uid='$f… 29 …$this->db->query("INSERT INTO ".UC_DBTABLEPRE."friends SET uid='$uid', friendid='$friendid', comme… 30 …$this->db->query("UPDATE ".UC_DBTABLEPRE."friends SET direction='3' WHERE uid='$friendid' AND frie… 38 return $this->db->insert_id(); 44 …$this->db->query("DELETE FROM ".UC_DBTABLEPRE."friends WHERE uid='$uid' AND friendid IN ($friendid… 45 $affectedrows = $this->db->affected_rows(); 47 …$this->db->query("UPDATE ".UC_DBTABLEPRE."friends SET direction=1 WHERE uid IN ($friendids) AND fr… 63 …$totalnum = $this->db->result_first("SELECT COUNT(*) FROM ".UC_DBTABLEPRE."friends WHERE $sqladd"); [all …]
|
H A D | note.php | 20 var $db; variable in notemodel 32 $this->db = $base->db; 85 …$this->db->query("INSERT INTO ".UC_DBTABLEPRE."notelist SET getdata='$getdata', operation='$operat… 86 $insert_id = $this->db->insert_id(); 87 …$insert_id && $this->db->query("REPLACE INTO ".UC_DBTABLEPRE."vars (name, value) VALUES ('noteexis… 100 …$this->db->query("REPLACE INTO ".UC_DBTABLEPRE."vars SET name='noteexists".UC_APPID."', value='0'"… 146 …$this->db->query("UPDATE ".UC_DBTABLEPRE."notelist SET app$appid='1', totalnum=totalnum+1, succeed… 149 …$this->db->query("UPDATE ".UC_DBTABLEPRE."notelist SET app$appid = app$appid-'1', totalnum=totalnu… 157 …$data = $this->db->fetch_first("SELECT * FROM ".UC_DBTABLEPRE."notelist WHERE closed='0' AND $app_… 162 …rand(0, UC_NOTE_GC) == 0 && $this->db->query("DELETE FROM ".UC_DBTABLEPRE."notelist WHERE closed='… [all …]
|
H A D | pm.php | 24 var $db; variable in pmmodel 32 $this->db = $base->db; 57 if($this->db->fetch_array($query)) { 240 $plid = $this->db->insert_id(); 242 $pmid = $this->db->insert_id(); 249 $pmid = $this->db->insert_id(); 266 $plid = $this->db->insert_id(); 268 $pmid = $this->db->insert_id(); 332 $pmid = $this->db->insert_id(); 486 $query = $this->db->query($sql); [all …]
|
H A D | tag.php | 14 var $db; variable in tagmodel 23 $this->db = $base->db; 27 $arr = $this->db->fetch_all("SELECT * FROM ".UC_DBTABLEPRE."tags WHERE tagname='$tagname'"); 32 …$result = $this->db->result_first("SELECT tagtemplates FROM ".UC_DBTABLEPRE."applications WHERE ap… 51 …$return = $this->db->result_first("SELECT count(*) FROM ".UC_DBTABLEPRE."tags WHERE tagname='$data… 53 …$this->db->query("UPDATE ".UC_DBTABLEPRE."tags SET data='$datanew', expiration='".$this->base->tim… 55 …$this->db->query("INSERT INTO ".UC_DBTABLEPRE."tags (tagname, appid, data, expiration) VALUES ('$d… 61 …$return = $this->db->result_first("SELECT count(*) FROM ".UC_DBTABLEPRE."tags WHERE tagname='$tagn… 63 …$this->db->query("UPDATE ".UC_DBTABLEPRE."tags SET expiration='0' WHERE tagname='$tagname' AND app… 65 …$this->db->query("INSERT INTO ".UC_DBTABLEPRE."tags (tagname, appid, expiration) VALUES ('$tagname…
|
H A D | user.php | 14 var $db; variable in usermodel 23 $this->db = $base->db; 27 $arr = $this->db->fetch_first("SELECT * FROM ".UC_DBTABLEPRE."members WHERE uid='$uid'"); 136 $uid = $this->db->insert_id(); 137 $this->db->query("INSERT INTO ".UC_DBTABLEPRE."memberfields SET uid='$uid'"); 166 return $this->db->affected_rows(); 185 $this->db->query("DELETE FROM ".UC_DBTABLEPRE."members WHERE uid IN($uids)"); 190 return $this->db->affected_rows(); 212 while($user = $this->db->fetch_array($query)) { 221 while($user = $this->db->fetch_array($query)) { [all …]
|
/plugin/stopforumspam/ |
H A D | action.php | 15 private $db = 0; variable in action_plugin_stopforumspam
|
/plugin/nowiki/images/ |
H A D | tb_nowiki.xcf | 12 …��������������������/���|����wg����jQ���e����UTk���@5���es���SVR���9A���db��lgjE��wI]���nY��`|{…
|
/plugin/rigrr/lib/rigrr/ |
H A D | rigrr.nocache.js | 1 …',Bb='opera',yb='position:absolute;width:0;height:0;border:none',P='rigrr',db='rigrr.nocache.js',m… 6 function h(){var a=m.getElementsByTagName(cb);for(var b=0;b<a.length;++b){if(a[b].src.indexOf(db)!=…
|
/plugin/rigrr/lib/ |
H A D | rigrr.nocache.js | 1 …',Bb='opera',yb='position:absolute;width:0;height:0;border:none',P='rigrr',db='rigrr.nocache.js',m… 6 function h(){var a=m.getElementsByTagName(cb);for(var b=0;b<a.length;++b){if(a[b].src.indexOf(db)!=…
|
/plugin/sphinxsearch/ |
H A D | PageMapper.php | 23 if (false != ($db = new PDO("sqlite:".$this->_dbpath))) { 24 $q = @$db->query("SELECT 1 FROM {$this->_table} limit 1"); 26 …$result = $db->query("CREATE TABLE {$this->_table} ( page varchar(1024), page_crc int(11), hid var… 29 print_r($db->errorInfo()); 36 print_r($db->errorInfo()); 39 $this->_db = $db;
|