SQL Inventory

List of all SQL mentioned in the code..

ValueCountFile:Line
"SELECT tiny FROM liste WHERE tiny = '$username' LIMIT 1"
1
  • /check.php
"SELECT COUNT(*) FROM oggetti WHERE id_lista = $id"
1
  • /functions.php
"INSERT INTO liste (nome,descrizione,password,status,tiny,spam) VALUES ('$safenome','$safedesc','$passmd5','open', '$safetiny',1)"
1
  • /list.php
"UPDATE oggetti SET password = '' WHERE ID = $safeoggetto"
1
  • /list.php
"SELECT password FROM oggetti WHERE ID = $safeoggetto"
1
  • /list.php
"UPDATE oggetti SET nome = '$safenome', descrizione = '$safedesc', prezzo = '$safeprezzo', url = '$safeurl', noimg = 0  WHERE id = $oggetto"
1
  • /list.php
"UPDATE oggetti SET password = '$passmd5' WHERE ID = $oggetto"
1
  • /list.php
"SELECT email FROM liste WHERE ID = $lid"
1
  • /functions.php
"UPDATE liste SET nome = '$safenome', descrizione = '$safedesc', email = '$safemail' WHERE id = $id"
1
  • /functions.php
"SELECT * from liste WHERE session = '$session' AND id = '$lista' AND ip = '$ip'"
1
  • /functions.php
"UPDATE liste SET session = '$session', ip = '$ip' WHERE ID = $lista"
1
  • /functions.php
"SELECT tiny FROM liste WHERE ID = '$list_id' LIMIT 1"
1
  • /functions.php
"UPDATE liste SET tiny ='$sanitized_url' where ID='$id'"
1
  • /functions.php
"SELECT ID FROM liste WHERE tiny = '$short'"
1
  • /functions.php
"SELECT * FROM oggetti ORDER BY ID DESC"
1
  • /functions.php
"SELECT ID, nome, descrizione FROM liste WHERE spam = 0 ORDER BY ID"
1
  • /functions.php
"SELECT COUNT(*) FROM oggetti"
1
  • /functions.php
"DELETE FROM oggetti WHERE ID = $item"
1
  • /functions.php
"SELECT nome FROM liste WHERE ID = $id"
1
  • /functions.php
"SELECT descrizione,password FROM liste WHERE ID = $id"
1
  • /functions.php
"SELECT * FROM oggetti WHERE id_lista = $id ORDER BY ID"
1
  • /functions.php
"SELECT password FROM liste WHERE ID = $list_id"
1
  • /functions.php
"SELECT liste.ID FROM liste, oggetti WHERE oggetti.ID = $item_id AND liste.ID = oggetti.id_lista"
1
  • /functions.php
"UPDATE liste SET spam = 0 WHERE id = $list_id"
1
  • /list.php
"UPDATE oggetti SET nome = '$safenome', descrizione = '$safedesc', prezzo = '$safeprezzo', url = '$safeurl', noimg = 0 WHERE id = $oggetto"
1
  • /functions.php
"SELECT id, password FROM liste WHERE ID = '$list_id' OR tiny LIKE '$list_id'"
1
  • /functions.php
"SELECT l.ID, l.nome, l.descrizione, count( o.id_lista ) FROM oggetti o INNER JOIN liste l ON l.id = o.id_lista GROUP BY o.id_lista ORDER BY count(o.id_lista) DESC LIMIT 6"
1
  • /functions.php
"SELECT ID, id_lista, nome, noimg FROM oggetti ORDER BY ID DESC LIMIT 6"
1
  • /functions.php
"SELECT * FROM oggetti WHERE id_lista = $id ORDER BY ID DESC"
1
  • /functions.php
"SELECT COUNT(*) FROM liste WHERE spam = 0"
1
  • /functions.php
"UPDATE oggetti SET nome = '$safenome', descrizione = '$safedesc', prezzo = '$safeprezzo', url = '$safeurl' WHERE id = $oggetto"
2
  • /functions.php
  • /list.php
"SELECT nome,password FROM liste WHERE ID = $id"
2
  • /functions.php
  • /functions.php
"INSERT INTO oggetti (nome,id_lista,descrizione,prezzo,url,noimg) VALUES ('$safenome',$list_id,'$safedesc','$safeprezzo','$safeurl',1)"
2
  • /adb.php
  • /list.php
"INSERT INTO oggetti (nome,id_lista,descrizione,prezzo,url) VALUES ('$safenome',$list_id,'$safedesc','$safeprezzo','$safeurl')"
2
  • /adb.php
  • /list.php
"SELECT * FROM oggetti WHERE ID = $oid"
2
  • /functions.php
  • /functions.php