SQL Inventory

List of all SQL mentioned in the code..

ValueCountFile:Line
"
INSERT INTO `
{$pixie_prefix}pixie_settings` (`settings_id`, `site_name`, `site_keywords`, `site_url`,
`site_theme`, `site_copyright`, `site_author`, `default_page`, `clean_urls`, `version`, `language`, `timezone`,
`dst`, `date_format`, `logs_expire`, `rich_text_editor`, `system_message`, `last_backup`) VALUES
(1, '-', '-', '-', '-', '', '', '-', 'no', '-', '-', '-', 'yes', '-', '-', 1, '', '');
            "
1
  • /admin/install/index.php
'Select a file for upload.'
1
  • /admin/lib/lib_upload.php
'INSERT INTO `' $this->options['prefix'][0] . 'cache_data` (`id`, `items`, `data`, `mtime`) VALUES(' $feed_id ', ' count($prepared[1]) . ', \'' mysql_real_escape_string($prepared[0]) . '\', ' time( ) . ')'
1
  • /admin/lib/lib_simplepie_php5.php
'SELECT `id` FROM `' $this->options['prefix'][0] . 'items` WHERE `id` = \'' implode('\' OR `id` = \''$database_ids) . '\' AND `feed_id` = ' $feed_id1
  • /admin/lib/lib_simplepie_php5.php
'INSERT INTO `' $this->options['prefix'][0] . 'items` (`feed_id`, `id`, `data`, `posted`) VALUES(' $feed_id ', \'' mysql_real_escape_string($new_id) . '\', \'' mysql_real_escape_string(serialize($prepared[1][$new_id]->data)) . '\', ' $date ')'
1
  • /admin/lib/lib_simplepie_php5.php
'UPDATE `' $this->options['prefix'][0] . 'cache_data` SET `items` = 0, `data` = \'' mysql_real_escape_string(serialize($data)) . '\', `mtime` = ' time( ) . ' WHERE `id` = ' $feed_id1
  • /admin/lib/lib_simplepie_php5.php
'INSERT INTO `' $this->options['prefix'][0] . 'cache_data` (`id`, `items`, `data`, `mtime`) VALUES(\'' mysql_real_escape_string($this->id) . '\', 0, \'' mysql_real_escape_string(serialize($data)) . '\', ' time( ) . ')'
1
  • /admin/lib/lib_simplepie_php5.php
'SELECT `items`, `data` FROM `' $this->options['prefix'][0] . 'cache_data` WHERE `id` = \'' mysql_real_escape_string($this->id) . "'"
1
  • /admin/lib/lib_simplepie_php5.php
'SELECT `data` FROM `' $this->options['prefix'][0] . 'items` WHERE `feed_id` = \'' mysql_real_escape_string($this->id) . '\' ORDER BY `posted` DESC'
1
  • /admin/lib/lib_simplepie_php5.php
'SELECT `mtime` FROM `' $this->options['prefix'][0] . 'cache_data` WHERE `id` = \'' mysql_real_escape_string($this->id) . "'"
1
  • /admin/lib/lib_simplepie_php5.php
'UPDATE `' $this->options['prefix'][0] . 'cache_data` SET `mtime` = ' time( ) . ' WHERE `id` = \'' mysql_real_escape_string($this->id) . "'"
1
  • /admin/lib/lib_simplepie_php5.php
'DELETE FROM `' $this->options['prefix'][0] . 'cache_data` WHERE `id` = \'' mysql_real_escape_string($this->id) . "'"
1
  • /admin/lib/lib_simplepie_php5.php
'DELETE FROM `' $this->options['prefix'][0] . 'items` WHERE `feed_id` = \'' mysql_real_escape_string($this->id) . "'"
1
  • /admin/lib/lib_simplepie_php5.php
'Select the file(s) for upload.'
1
  • /admin/lib/lib_upload.php
'Delete file?'
1
  • /admin/lang/en-gb.php
'select * from ' PFX 'pixie_log_users_online'
1
  • /admin/lib/lib_pixie.php
"show fields from $table_name"
1
  • /admin/lib/lib_core.php
"select * from $table_name $condition order by $order_by $asc_desc"
1
  • /admin/lib/lib_core.php
"select * from $table_name where {$edit_id}={$edit}"
1
  • /admin/lib/lib_core.php
'show fields from ' PFX "$table_name"
1
  • /admin/lib/lib_core.php
'select * from ' PFX "$table_name WHERE 1=0"
1
  • /admin/lib/lib_core.php
'show fields from ' adjust_prefix($table_name)
1
  • /admin/lib/lib_core.php
'select * from ' adjust_prefix($table_name) . ' WHERE 1=0'
1
  • /admin/lib/lib_core.php
"DELETE FROM `" $settings['log_table'] . "` WHERE `date` < DATE_SUB('" bb2_db_date( ) . "', INTERVAL 7 DAY)"
1
  • /admin/lib/bad-behavior/housekeeping.inc.php
"SHOW TABLES FROM $pixie_database"
1
  • /admin/install/index.php
"
INSERT INTO `
{$pixie_prefix}pixie_core` (`page_id`, `page_type`, `page_name`, `page_display_name`,
`page_description`, `page_blocks`, `page_content`, `page_views`, `page_parent`, `privs`, `publish`,
`public`, `in_navigation`, `page_order`, `searchable`, `last_modified`) VALUES
(1, 'static', '404', 'Error 404', 'Page not found.', '',
'<p>The page you are looking for cannot be found.</p>', 11, '', 2, 'yes', 'yes', 'no', 0, 'no', '2008-01-01 00:00:11'),
(2, 'plugin', 'comments', 'Comments', 'This plugin enables commenting on dynamic pages.',
'', '', 1, '', 2, 'yes', 'yes', 'no', 0, 'no', '2008-01-01 00:00:11');
            "
1
  • /admin/install/index.php
"
INSERT INTO `
{$pixie_prefix}pixie_files` (`file_id`, `file_name`, `file_extension`, `file_type`, `tags`) VALUES
(1, 'rss_feed_icon.gif', 'gif', 'Image', 'rss feed icon'),
(2, 'no_grav.jpg', 'jpg', 'Image', 'gravitar icon'),
(3, 'apple_touch_icon.jpg', 'jpg', 'Image', 'icon apple touch'),
(4, 'apple_touch_icon_pixie.jpg', 'jpg', 'Image', 'icon apple touch pixie');
            "
1
  • /admin/install/index.php
'UPDATE `' $this->options['prefix'][0] . 'cache_data` SET `data` = \'' mysql_real_escape_string($prepared[0]) . '\', `mtime` = ' time( ) . ' WHERE `id` = ' $feed_id1
  • /admin/lib/lib_simplepie_php5.php
'UPDATE `' $this->options['prefix'][0] . 'cache_data` SET `items` = ' $items ', `data` = \'' mysql_real_escape_string($prepared[0]) . '\', `mtime` = ' time( ) . ' WHERE `id` = ' $feed_id1
  • /admin/lib/lib_simplepie_php5.php
"UPDATE `" PFX "pixie_settings` SET `bb2_installed`='yes'"
1
  • /admin/lib/bad-behavior-pixie.php
"delete from $table where $where"
1
  • /admin/lib/lib_db.php
'Delete entry'
1
  • /admin/lang/en-gb.php
'Select the module or plugin you wish to activate'
1
  • /admin/lang/en-gb.php
'Delete Account'
1
  • /admin/lang/en-gb.php
'Select your current time zone so Pixie can display the correct times.'
1
  • /admin/lang/en-gb.php
'Select a file from your computer to upload.'
1
  • /admin/lang/en-gb.php
'SELECT * FROM pixie_module_comments ORDER BY comments_id DESC'
1
  • /admin/modules/dynamic.php
"SELECT comment FROM pixie_module_comments WHERE comments_id='$last_comment_last_number'"
1
  • /admin/modules/dynamic.php
"INSERT INTO `pixie_module_contact_settings` (`contact_id`, `show_profile_information`, `show_vcard_link`) VALUES (1, 'no', 'no');"
1
  • /admin/modules/contact.php
"INSERT INTO `pixie_module_events_settings` (`events_id`, `google_calendar_links`, `number_of_events`) VALUES (1, 'yes', '10');"
1
  • /admin/modules/events.php
'select * from ' $pixieconfig['table_prefix'] . 'pixie_log_users_online'
1
  • /admin/admin/modules/mod_myaccount.php
'select * from ' $pixieconfig['table_prefix'] . "pixie_log where user_id = 'Visitor' and log_type = 'referral'"
1
  • /admin/admin/modules/mod_myaccount.php
'select * from ' $pixieconfig['table_prefix'] . 'pixie_bad_behavior'
1
  • /admin/admin/modules/mod_myaccount.php
"update $table set $set where $where"
1
  • /admin/lib/lib_db.php
"insert into $table set $set"
1
  • /admin/lib/lib_db.php
'INSERT INTO ' $table ' VALUES (' $values ');' MSB_NL1
  • /admin/lib/lib_backup.php
'SELECT * FROM ' $table1
  • /admin/lib/lib_backup.php
'SHOW CREATE TABLE ' $table1
  • /admin/lib/lib_backup.php
'SELECT last_visit FROM ' PFX "pixie_log_users_online WHERE visitor = '$ip'"
1
  • /admin/lib/lib_logs.php
"select * from $table_name WHERE 1=0"
1
  • /admin/lib/lib_db.php
"select * from $table where $condition"
1
  • /admin/lib/lib_db.php
"select $col from $table where `$key` = '$val' limit 1"
1
  • /admin/lib/lib_db.php
"select * from $table_name $condition order by $order_by $asc_desc limit $lo,$view_number"
2
  • /admin/lib/lib_core.php
  • /admin/lib/lib_core.php
"select count(*) from $table where $where"
2
  • /admin/lib/lib_db.php
  • /admin/lib/lib_db.php
'Select your preferred date and time format.'
2
  • /admin/lang/en-gb.php
  • /admin/lang/se-sv.php
'SELECT `id` FROM `' $this->options['prefix'][0] . 'cache_data` WHERE `id` = ' $feed_id2
  • /admin/lib/lib_simplepie_php5.php
  • /admin/lib/lib_simplepie_php5.php
"select $thing from $table where $where"
2
  • /admin/lib/lib_db.php
  • /admin/lib/lib_db.php
'Select the language you wish to use.'
2
  • /admin/lang/lv-lv.php
  • /admin/lang/en-gb.php
"select * from $table_name where tags REGEXP '[[:<:]]" $tag "[[:>:]]' order by $order_by $asc_desc"
3
  • /admin/lib/lib_core.php
  • /admin/lib/lib_core.php
  • /admin/lib/lib_core.php
"select * from $table_name where " $search_sql " order by $order_by $asc_desc"
3
  • /admin/lib/lib_core.php
  • /admin/lib/lib_core.php
  • /admin/lib/lib_core.php
"select * from $table_name where page_id = '$page_id' and (" $search_sql ") order by $order_by $asc_desc"
3
  • /admin/lib/lib_core.php
  • /admin/lib/lib_core.php
  • /admin/lib/lib_core.php
'SHOW TABLES'
3
  • /admin/lib/lib_backup.php
  • /admin/lib/lib_simplepie_php5.php
  • /admin/install/upgrade.php
"select $things from $table where $where"
3
  • /admin/lib/lib_db.php
  • /admin/lib/lib_db.php
  • /admin/lib/lib_db.php