=========================================================== .___ __ __ _________________ __ __ __| _/|__|/ |_ / ___\_` __ \__ \ | | \/ __ | | \\_ __\ / /_/ > | \// __ \| | / /_/ | | || | \___ /|__| (____ /____/\____ | |__||__| /_____/ \/ \/ grep rough audit - static analysis tool v2.8 written by @Wireghoul =================================[justanotherhacker.com]=== phpliteadmin-1.9.8.2/build.php-130- phpliteadmin-1.9.8.2/build.php:131:function replace_include($m) phpliteadmin-1.9.8.2/build.php-132-{ ############################################## phpliteadmin-1.9.8.2/classes/Database.php-182- echo " "; phpliteadmin-1.9.8.2/classes/Database.php:183: echo $params->getLink(array('download'=>$database['path'], 'table'=>null, 'token'=>$_SESSION[COOKIENAME.'token']), '[↓]', '', $lang['backup']); phpliteadmin-1.9.8.2/classes/Database.php-184- ############################################## phpliteadmin-1.9.8.2/classes/Database.php-298- { phpliteadmin-1.9.8.2/classes/Database.php:299: $result = $this->select("SELECT `type` FROM `sqlite_master` WHERE `name`=" . $this->quote($table), 'assoc'); phpliteadmin-1.9.8.2/classes/Database.php-300- return $result['type']; ############################################## phpliteadmin-1.9.8.2/classes/Database.php-312- $query = "SELECT name, type FROM sqlite_master " phpliteadmin-1.9.8.2/classes/Database.php:313: . "WHERE (type='table'".($alsoViews?" OR type='view'":"").") " phpliteadmin-1.9.8.2/classes/Database.php-314- . "AND name!='' ".($alsoInternal? "":" AND name NOT LIKE 'sqlite_%' ") ############################################## phpliteadmin-1.9.8.2/classes/Database.php-582- $nameDouble = ($notAllowedName!==false?"(?!".$notAllowedName."\")":"")."(?:[^\"]$name+|\"\")$name".$posessive; phpliteadmin-1.9.8.2/classes/Database.php:583: $nameBacktick = ($notAllowedName!==false?"(?!".$notAllowedName."`)":"")."(?:[^`]$name+|``)$name".$posessive; phpliteadmin-1.9.8.2/classes/Database.php-584- $nameSquare = ($notAllowedName!==false?"(?!".$notAllowedName."\])":"")."(?:[^\]]$name+|\]\])$name".$posessive; ############################################## phpliteadmin-1.9.8.2/classes/Database.php-600- "\"".$nameDouble."\"|". // double-quote surrounded (correct SQL for identifiers) phpliteadmin-1.9.8.2/classes/Database.php:601: "`".$nameBacktick."`|". // backtick surrounded (MySQL-Style) phpliteadmin-1.9.8.2/classes/Database.php-602- "\[".$nameSquare."\])"; // square-bracket surrounded (MS Access/SQL server-Style) ############################################## phpliteadmin-1.9.8.2/classes/Database.php-634- $recreateQueries = array(); phpliteadmin-1.9.8.2/classes/Database.php:635: $resultArr = $this->selectArray("SELECT sql,name,type FROM sqlite_master WHERE tbl_name = ".$this->quote($table)); phpliteadmin-1.9.8.2/classes/Database.php-636- if(sizeof($resultArr)<1) ############################################## phpliteadmin-1.9.8.2/classes/Database.php-792- $preg_create_table = "\s*+(CREATE\s++TABLE\s++".preg_quote($this->quote($tmpname),"/")."\s*+\()"; // This is group $1 (keep unchanged) phpliteadmin-1.9.8.2/classes/Database.php:793: $preg_column_definiton = "\s*+".$this->sqlite_surroundings_preg("+",true," '\"\[`,",$column)."(?:\s*+".$this->sqlite_surroundings_preg("*",false,"'\",`\[ ").")++"; // catches a complete column definition, even if it is phpliteadmin-1.9.8.2/classes/Database.php-794- // 'column' TEXT NOT NULL DEFAULT 'we have a comma, here and a double ''quote!' ############################################## phpliteadmin-1.9.8.2/classes/Database.php-1004- phpliteadmin-1.9.8.2/classes/Database.php:1005: $preg_index="/^\s*(CREATE\s+(?:UNIQUE\s+)?INDEX\s+(?:".$this->sqlite_surroundings_preg("+",false," '\"\[`")."\s*)*ON\s+)(".$this->sqlite_surroundings_preg($table).")(\s*\((?:".$this->sqlite_surroundings_preg("+",false," '\"\[`")."\s*)*\)\s*)\s*$/i"; phpliteadmin-1.9.8.2/classes/Database.php-1006- foreach($recreateQueries as $recreate_query) ############################################## phpliteadmin-1.9.8.2/classes/Database.php-1067- if($this->type=="PDO") phpliteadmin-1.9.8.2/classes/Database.php:1068: $success = $this->db->exec($query); phpliteadmin-1.9.8.2/classes/Database.php-1069- else if($this->type=="SQLite3") phpliteadmin-1.9.8.2/classes/Database.php:1070: $success = $this->db->exec($query); phpliteadmin-1.9.8.2/classes/Database.php-1071- else phpliteadmin-1.9.8.2/classes/Database.php:1072: $success = $this->db->queryExec($query, $error); phpliteadmin-1.9.8.2/classes/Database.php-1073- return $success; ############################################## phpliteadmin-1.9.8.2/classes/Database.php-1128- $where .= " AND "; phpliteadmin-1.9.8.2/classes/Database.php:1129: $where .= $this->quote_id($column) . ' = '; phpliteadmin-1.9.8.2/classes/Database.php-1130- if(is_int($pk[$pk_index]) || is_float($pk[$pk_index])) phpliteadmin-1.9.8.2/classes/Database.php:1131: $where .= $pk[$pk_index]; phpliteadmin-1.9.8.2/classes/Database.php-1132- else phpliteadmin-1.9.8.2/classes/Database.php:1133: $where .= $this->quote($pk[$pk_index]); phpliteadmin-1.9.8.2/classes/Database.php-1134- } ############################################## phpliteadmin-1.9.8.2/readme.md-97- listing them manually, specify the directory as the value of the phpliteadmin-1.9.8.2/readme.md:98: `$directory` variable and skip to step 4. phpliteadmin-1.9.8.2/readme.md-99- phpliteadmin-1.9.8.2/readme.md-100-3. If you want to specify your databases manually, set the value of the phpliteadmin-1.9.8.2/readme.md:101: `$directory` variable as false and modify the `$databases` array to phpliteadmin-1.9.8.2/readme.md-102- hold the databases you would like to manage. ############################################## phpliteadmin-1.9.8.2/readme.md-112- phpliteadmin-1.9.8.2/readme.md:113:4. Modify the `$password` variable to be the password used for gaining access phpliteadmin-1.9.8.2/readme.md-114- to the phpLiteAdmin tool. ############################################## phpliteadmin-1.9.8.2/readme.md-116-5. If you want to have multiple installations of phpLiteAdmin on the same phpliteadmin-1.9.8.2/readme.md:117: server, change the `$cookie_name` variable to be unique for each installation phpliteadmin-1.9.8.2/readme.md-118- (optional). ############################################## phpliteadmin-1.9.8.2/.pc/Remove-spontaneous-access-to-Internet.patch/index.php-81- if(is_file('languages/lang_'.$language.'.php')) phpliteadmin-1.9.8.2/.pc/Remove-spontaneous-access-to-Internet.patch/index.php:82: include('languages/lang_'.$language.'.php'); phpliteadmin-1.9.8.2/.pc/Remove-spontaneous-access-to-Internet.patch/index.php-83- elseif(is_file('lang_'.$language.'.php')) phpliteadmin-1.9.8.2/.pc/Remove-spontaneous-access-to-Internet.patch/index.php:84: include('lang_'.$language.'.php'); phpliteadmin-1.9.8.2/.pc/Remove-spontaneous-access-to-Internet.patch/index.php-85- $lang = array_merge($temp_lang, $lang); ############################################## phpliteadmin-1.9.8.2/.pc/Remove-spontaneous-access-to-Internet.patch/index.php-906- { phpliteadmin-1.9.8.2/.pc/Remove-spontaneous-access-to-Internet.patch/index.php:907: $searchWhere .= " WHERE ".$whereExpr[0]; phpliteadmin-1.9.8.2/.pc/Remove-spontaneous-access-to-Internet.patch/index.php-908- for($i=1; $i<sizeof($whereExpr); $i++) phpliteadmin-1.9.8.2/.pc/Remove-spontaneous-access-to-Internet.patch/index.php-909- { phpliteadmin-1.9.8.2/.pc/Remove-spontaneous-access-to-Internet.patch/index.php:910: $searchWhere .= " AND ".$whereExpr[$i]; phpliteadmin-1.9.8.2/.pc/Remove-spontaneous-access-to-Internet.patch/index.php-911- } ############################################## phpliteadmin-1.9.8.2/.pc/Remove-spontaneous-access-to-Internet.patch/index.php-1545- echo "<div class='confirm' style='margin:10px 20px;'>"; phpliteadmin-1.9.8.2/.pc/Remove-spontaneous-access-to-Internet.patch/index.php:1546: echo $_SESSION[COOKIENAME.'messages'][$_GET['message']]; phpliteadmin-1.9.8.2/.pc/Remove-spontaneous-access-to-Internet.patch/index.php-1547- echo "</div><br />"; ############################################## phpliteadmin-1.9.8.2/.pc/Remove-spontaneous-access-to-Internet.patch/index.php-1728- echo "<div class='confirm'>"; phpliteadmin-1.9.8.2/.pc/Remove-spontaneous-access-to-Internet.patch/index.php:1729: echo $_SESSION[COOKIENAME.'messages'][$_GET['message']]; phpliteadmin-1.9.8.2/.pc/Remove-spontaneous-access-to-Internet.patch/index.php-1730- echo "</div><br />"; ############################################## phpliteadmin-1.9.8.2/.pc/Remove-spontaneous-access-to-Internet.patch/index.php-1743- case "table_create": phpliteadmin-1.9.8.2/.pc/Remove-spontaneous-access-to-Internet.patch/index.php:1744: $query = "SELECT name FROM sqlite_master WHERE type='table' AND name=".$db->quote($_GET['tablename']); phpliteadmin-1.9.8.2/.pc/Remove-spontaneous-access-to-Internet.patch/index.php-1745- $results = $db->selectArray($query); ############################################## phpliteadmin-1.9.8.2/.pc/Remove-spontaneous-access-to-Internet.patch/index.php-1749- $exists = false; phpliteadmin-1.9.8.2/.pc/Remove-spontaneous-access-to-Internet.patch/index.php:1750: echo "<h2>".$lang['create_tbl'].": '".htmlencode($_GET['tablename'])."'</h2>"; phpliteadmin-1.9.8.2/.pc/Remove-spontaneous-access-to-Internet.patch/index.php-1751- if($_GET['tablefields']=="" || intval($_GET['tablefields'])<=0) ############################################## phpliteadmin-1.9.8.2/.pc/Remove-spontaneous-access-to-Internet.patch/index.php-2238- echo "<div style='float:left;'>"; phpliteadmin-1.9.8.2/.pc/Remove-spontaneous-access-to-Internet.patch/index.php:2239: echo $params->getForm(array('action'=>$_GET['action']),'get'); phpliteadmin-1.9.8.2/.pc/Remove-spontaneous-access-to-Internet.patch/index.php-2240- echo "<input type='hidden' name='startRow' value='0'/>"; ############################################## phpliteadmin-1.9.8.2/.pc/Remove-spontaneous-access-to-Internet.patch/index.php-2244- echo "<div style='float:left; overflow:hidden; margin-right:20px;'>"; phpliteadmin-1.9.8.2/.pc/Remove-spontaneous-access-to-Internet.patch/index.php:2245: echo $params->getForm(array('action'=>$_GET['action']),'get'); phpliteadmin-1.9.8.2/.pc/Remove-spontaneous-access-to-Internet.patch/index.php:2246: echo "<input type='hidden' name='startRow' value='".max(0,intval($_GET['startRow']-$params->numRows))."'/>"; phpliteadmin-1.9.8.2/.pc/Remove-spontaneous-access-to-Internet.patch/index.php-2247- echo "<input type='submit' value='←' class='btn'/> "; ############################################## phpliteadmin-1.9.8.2/.pc/Remove-spontaneous-access-to-Internet.patch/index.php-2253- echo "<div style='float:left;'>"; phpliteadmin-1.9.8.2/.pc/Remove-spontaneous-access-to-Internet.patch/index.php:2254: echo $params->getForm(array('action'=>$_GET['action'], 'numRows'=>null),'get'); phpliteadmin-1.9.8.2/.pc/Remove-spontaneous-access-to-Internet.patch/index.php-2255- echo "<input type='submit' value='".$lang['show']." : ' name='show' class='btn'/> "; ############################################## phpliteadmin-1.9.8.2/.pc/Remove-spontaneous-access-to-Internet.patch/index.php-2259- if(intval($_GET['startRow']+$params->numRows) < $totalRows) phpliteadmin-1.9.8.2/.pc/Remove-spontaneous-access-to-Internet.patch/index.php:2260: echo "<input type='text' name='startRow' style='width:90px;' value='".intval($_GET['startRow']+$params->numRows)."'/>"; phpliteadmin-1.9.8.2/.pc/Remove-spontaneous-access-to-Internet.patch/index.php-2261- else ############################################## phpliteadmin-1.9.8.2/.pc/Remove-spontaneous-access-to-Internet.patch/index.php-2282- echo "<div style='float:left; margin-left:20px; '>"; phpliteadmin-1.9.8.2/.pc/Remove-spontaneous-access-to-Internet.patch/index.php:2283: echo $params->getForm(array('action'=>$_GET['action']),'get'); phpliteadmin-1.9.8.2/.pc/Remove-spontaneous-access-to-Internet.patch/index.php:2284: echo "<input type='hidden' name='startRow' value='".intval($_GET['startRow']+$params->numRows)."'/>"; phpliteadmin-1.9.8.2/.pc/Remove-spontaneous-access-to-Internet.patch/index.php-2285- echo "<input type='submit' value='→' class='btn'/> "; ############################################## phpliteadmin-1.9.8.2/.pc/Remove-spontaneous-access-to-Internet.patch/index.php-2288- echo "<div style='float:left; '>"; phpliteadmin-1.9.8.2/.pc/Remove-spontaneous-access-to-Internet.patch/index.php:2289: echo $params->getForm(array('action'=>$_GET['action']),'get'); phpliteadmin-1.9.8.2/.pc/Remove-spontaneous-access-to-Internet.patch/index.php-2290- echo "<input type='hidden' name='startRow' value='".intval($totalRows-$remainder)."'/>"; ############################################## phpliteadmin-1.9.8.2/.pc/Remove-spontaneous-access-to-Internet.patch/index.php-2328- echo "<td colspan='3' class='tdheader' style='text-align:center'>"; phpliteadmin-1.9.8.2/.pc/Remove-spontaneous-access-to-Internet.patch/index.php:2329: echo "<a href='".$params->getURL(array('action'=>$_GET['action'], 'fulltexts'=>($params->fulltexts?0:1) ))."' title='".$lang[($params->fulltexts?'no_full_texts':'full_texts')]."'>"; phpliteadmin-1.9.8.2/.pc/Remove-spontaneous-access-to-Internet.patch/index.php-2330- echo "<b>&".($params->fulltexts?'r':'l')."arr;</b> T <b>&".($params->fulltexts?'l':'r')."arr;</b></a>"; ############################################## phpliteadmin-1.9.8.2/.pc/Remove-spontaneous-access-to-Internet.patch/index.php-2339- $orderTag = "ASC"; phpliteadmin-1.9.8.2/.pc/Remove-spontaneous-access-to-Internet.patch/index.php:2340: echo $params->getLink(array('action'=>$_GET['action'], 'sort'=>$tableInfo[$i]['name'], 'order'=>$orderTag ), htmlencode($tableInfo[$i]['name'])); phpliteadmin-1.9.8.2/.pc/Remove-spontaneous-access-to-Internet.patch/index.php-2341- if(isset($_SESSION[COOKIENAME.'sortRows']) && $_SESSION[COOKIENAME.'sortRows']==$tableInfo[$i]['name']) phpliteadmin-1.9.8.2/.pc/Remove-spontaneous-access-to-Internet.patch/index.php:2342: echo (($_SESSION[COOKIENAME.'orderRows']=="ASC") ? " <b>↑</b>" : " <b>↓</b>"); phpliteadmin-1.9.8.2/.pc/Remove-spontaneous-access-to-Internet.patch/index.php-2343- echo "</td>"; ############################################## phpliteadmin-1.9.8.2/.pc/Remove-spontaneous-access-to-Internet.patch/index.php-2488- var data = new google.visualization.DataTable(); phpliteadmin-1.9.8.2/.pc/Remove-spontaneous-access-to-Internet.patch/index.php:2489: data.addColumn('string', '<?php echo $tableInfo[$_SESSION[COOKIENAME.$target_table.'chartlabels']]['name']; ?>'); phpliteadmin-1.9.8.2/.pc/Remove-spontaneous-access-to-Internet.patch/index.php:2490: data.addColumn('number', '<?php echo $tableInfo[$_SESSION[COOKIENAME.$target_table.'chartvalues']]['name']; ?>'); phpliteadmin-1.9.8.2/.pc/Remove-spontaneous-access-to-Internet.patch/index.php-2491- data.addRows([ ############################################## phpliteadmin-1.9.8.2/.pc/Remove-spontaneous-access-to-Internet.patch/index.php-2521- 'height':<?php echo $height; ?>, phpliteadmin-1.9.8.2/.pc/Remove-spontaneous-access-to-Internet.patch/index.php:2522: 'title':'<?php echo $tableInfo[$_SESSION[COOKIENAME.$target_table.'chartlabels']]['name']." vs ".$tableInfo[$_SESSION[COOKIENAME.$target_table.'chartvalues']]['name']; ?>' phpliteadmin-1.9.8.2/.pc/Remove-spontaneous-access-to-Internet.patch/index.php-2523- }; ############################################## phpliteadmin-1.9.8.2/.pc/Remove-spontaneous-access-to-Internet.patch/index.php-2537- echo "<fieldset style='float:right; text-align:center;' id='chartsettingsbox'><legend><b>Chart Settings</b></legend>"; phpliteadmin-1.9.8.2/.pc/Remove-spontaneous-access-to-Internet.patch/index.php:2538: echo $params->getForm(array('action'=>$_GET['action'])); phpliteadmin-1.9.8.2/.pc/Remove-spontaneous-access-to-Internet.patch/index.php-2539- echo $lang['chart_type'].": <select name='charttype'>"; ############################################## phpliteadmin-1.9.8.2/.pc/Remove-spontaneous-access-to-Internet.patch/index.php-2592- if(isset($search)) phpliteadmin-1.9.8.2/.pc/Remove-spontaneous-access-to-Internet.patch/index.php:2593: echo "<br/><br/>".$params->getLink(array('action'=>'table_search','search'=>null,'oldSearch' => (isset($_GET['search'])?$_GET['search']:null)), $lang['srch_again']); phpliteadmin-1.9.8.2/.pc/Remove-spontaneous-access-to-Internet.patch/index.php-2594- ############################################## phpliteadmin-1.9.8.2/.pc/Remove-spontaneous-access-to-Internet.patch/index.php-2909- phpliteadmin-1.9.8.2/.pc/Remove-spontaneous-access-to-Internet.patch/index.php:2910: $query = "SELECT sql FROM sqlite_master WHERE name=".$db->quote($target_table); phpliteadmin-1.9.8.2/.pc/Remove-spontaneous-access-to-Internet.patch/index.php-2911- $master = $db->selectArray($query); ############################################## phpliteadmin-1.9.8.2/.pc/Remove-spontaneous-access-to-Internet.patch/index.php-2981- phpliteadmin-1.9.8.2/.pc/Remove-spontaneous-access-to-Internet.patch/index.php:2982: $query = "SELECT * FROM sqlite_master WHERE type='trigger' AND tbl_name=".$db->quote($target_table)." ORDER BY name"; phpliteadmin-1.9.8.2/.pc/Remove-spontaneous-access-to-Internet.patch/index.php-2983- $result = $db->selectArray($query); ############################################## phpliteadmin-1.9.8.2/.pc/Remove-spontaneous-access-to-Internet.patch/index.php-3030- case "column_create": phpliteadmin-1.9.8.2/.pc/Remove-spontaneous-access-to-Internet.patch/index.php:3031: echo "<h2>".sprintf($lang['new_fld'],htmlencode($_GET['table']))."</h2>"; phpliteadmin-1.9.8.2/.pc/Remove-spontaneous-access-to-Internet.patch/index.php-3032- if($_GET['tablefields']=="" || intval($_GET['tablefields'])<=0) ############################################## phpliteadmin-1.9.8.2/.pc/Remove-spontaneous-access-to-Internet.patch/index.php-3122- } phpliteadmin-1.9.8.2/.pc/Remove-spontaneous-access-to-Internet.patch/index.php:3123: echo $params->getForm(array('action'=>$_GET['action2'], 'confirm'=>'1', 'pk'=>$pkVal)); phpliteadmin-1.9.8.2/.pc/Remove-spontaneous-access-to-Internet.patch/index.php-3124- echo "<div class='confirm'>"; ############################################## phpliteadmin-1.9.8.2/.pc/Remove-spontaneous-access-to-Internet.patch/index.php-3134- case "column_edit": phpliteadmin-1.9.8.2/.pc/Remove-spontaneous-access-to-Internet.patch/index.php:3135: echo "<h2>".sprintf($lang['edit_col'], htmlencode($_GET['pk']))." ".$lang['on_tbl']." '".htmlencode($target_table)."'</h2>"; phpliteadmin-1.9.8.2/.pc/Remove-spontaneous-access-to-Internet.patch/index.php-3136- echo $lang['sqlite_limit']."<br/><br/>"; ############################################## phpliteadmin-1.9.8.2/.pc/Remove-spontaneous-access-to-Internet.patch/index.php-3160- { phpliteadmin-1.9.8.2/.pc/Remove-spontaneous-access-to-Internet.patch/index.php:3161: echo "<div class='confirm'>".$lang['err'].": ".sprintf($lang['col_inexistent'], htmlencode($_GET['pk']))."</div>"; phpliteadmin-1.9.8.2/.pc/Remove-spontaneous-access-to-Internet.patch/index.php-3162- } ############################################## phpliteadmin-1.9.8.2/.pc/Remove-spontaneous-access-to-Internet.patch/index.php-3166- echo $params->getForm(array('action'=>'column_edit', 'confirm'=>'1')); phpliteadmin-1.9.8.2/.pc/Remove-spontaneous-access-to-Internet.patch/index.php:3167: echo "<input type='hidden' name='oldvalue' value='".htmlencode($_GET['pk'])."'/>"; phpliteadmin-1.9.8.2/.pc/Remove-spontaneous-access-to-Internet.patch/index.php-3168- echo "<table border='0' cellpadding='2' cellspacing='1' class='viewTable'>"; ############################################## phpliteadmin-1.9.8.2/.pc/Remove-spontaneous-access-to-Internet.patch/index.php-3232- case "index_delete": phpliteadmin-1.9.8.2/.pc/Remove-spontaneous-access-to-Internet.patch/index.php:3233: echo $params->getForm(array('action'=>'index_delete', 'pk'=>$_GET['pk'], 'confirm'=>'1')); phpliteadmin-1.9.8.2/.pc/Remove-spontaneous-access-to-Internet.patch/index.php-3234- echo "<div class='confirm'>"; phpliteadmin-1.9.8.2/.pc/Remove-spontaneous-access-to-Internet.patch/index.php:3235: echo sprintf($lang['ques_del_index'], htmlencode($_GET['pk']))."<br/><br/>"; phpliteadmin-1.9.8.2/.pc/Remove-spontaneous-access-to-Internet.patch/index.php-3236- echo "<input type='submit' value='".$lang['confirm']."' class='btn'/> "; ############################################## phpliteadmin-1.9.8.2/.pc/Remove-spontaneous-access-to-Internet.patch/index.php-3243- case "trigger_delete": phpliteadmin-1.9.8.2/.pc/Remove-spontaneous-access-to-Internet.patch/index.php:3244: echo $params->getForm(array('action'=>'trigger_delete', 'pk'=>$_GET['pk'], 'confirm'=>'1')); phpliteadmin-1.9.8.2/.pc/Remove-spontaneous-access-to-Internet.patch/index.php-3245- echo "<div class='confirm'>"; phpliteadmin-1.9.8.2/.pc/Remove-spontaneous-access-to-Internet.patch/index.php:3246: echo sprintf($lang['ques_del_trigger'], htmlencode($_GET['pk']))."<br/><br/>"; phpliteadmin-1.9.8.2/.pc/Remove-spontaneous-access-to-Internet.patch/index.php-3247- echo "<input type='submit' value='".$lang['confirm']."' class='btn'/> "; ############################################## phpliteadmin-1.9.8.2/.pc/Remove-spontaneous-access-to-Internet.patch/index.php-3254- case "trigger_create": phpliteadmin-1.9.8.2/.pc/Remove-spontaneous-access-to-Internet.patch/index.php:3255: echo "<h2>".$lang['create_trigger']." '".htmlencode($_GET['table'])."'</h2>"; phpliteadmin-1.9.8.2/.pc/Remove-spontaneous-access-to-Internet.patch/index.php-3256- if($_GET['table']=="") ############################################## phpliteadmin-1.9.8.2/.pc/Remove-spontaneous-access-to-Internet.patch/index.php-3293- case "index_create": phpliteadmin-1.9.8.2/.pc/Remove-spontaneous-access-to-Internet.patch/index.php:3294: echo "<h2>".$lang['create_index']." '".htmlencode($_GET['table'])."'</h2>"; phpliteadmin-1.9.8.2/.pc/Remove-spontaneous-access-to-Internet.patch/index.php-3295- if($_GET['numcolumns']=="" || intval($_GET['numcolumns'])<=0) ############################################## phpliteadmin-1.9.8.2/.pc/Remove-spontaneous-access-to-Internet.patch/index.php-3408- if(isset($_SESSION[COOKIENAME.'sortTables']) && $_SESSION[COOKIENAME.'sortTables']=="type") phpliteadmin-1.9.8.2/.pc/Remove-spontaneous-access-to-Internet.patch/index.php:3409: echo (($_SESSION[COOKIENAME.'orderTables']=="ASC") ? " <b>↑</b>" : " <b>↓</b>"); phpliteadmin-1.9.8.2/.pc/Remove-spontaneous-access-to-Internet.patch/index.php-3410- echo "</td>"; ############################################## phpliteadmin-1.9.8.2/.pc/Remove-spontaneous-access-to-Internet.patch/index.php-3418- if(isset($_SESSION[COOKIENAME.'sortTables']) && $_SESSION[COOKIENAME.'sortTables']=="name") phpliteadmin-1.9.8.2/.pc/Remove-spontaneous-access-to-Internet.patch/index.php:3419: echo (($_SESSION[COOKIENAME.'orderTables']=="ASC") ? " <b>↑</b>" : " <b>↓</b>"); phpliteadmin-1.9.8.2/.pc/Remove-spontaneous-access-to-Internet.patch/index.php-3420- echo "</td>"; ############################################## phpliteadmin-1.9.8.2/index.php-81- if(is_file('languages/lang_'.$language.'.php')) phpliteadmin-1.9.8.2/index.php:82: include('languages/lang_'.$language.'.php'); phpliteadmin-1.9.8.2/index.php-83- elseif(is_file('lang_'.$language.'.php')) phpliteadmin-1.9.8.2/index.php:84: include('lang_'.$language.'.php'); phpliteadmin-1.9.8.2/index.php-85- $lang = array_merge($temp_lang, $lang); ############################################## phpliteadmin-1.9.8.2/index.php-906- { phpliteadmin-1.9.8.2/index.php:907: $searchWhere .= " WHERE ".$whereExpr[0]; phpliteadmin-1.9.8.2/index.php-908- for($i=1; $i<sizeof($whereExpr); $i++) phpliteadmin-1.9.8.2/index.php-909- { phpliteadmin-1.9.8.2/index.php:910: $searchWhere .= " AND ".$whereExpr[$i]; phpliteadmin-1.9.8.2/index.php-911- } ############################################## phpliteadmin-1.9.8.2/index.php-1544- echo "<div class='confirm' style='margin:10px 20px;'>"; phpliteadmin-1.9.8.2/index.php:1545: echo $_SESSION[COOKIENAME.'messages'][$_GET['message']]; phpliteadmin-1.9.8.2/index.php-1546- echo "</div><br />"; ############################################## phpliteadmin-1.9.8.2/index.php-1727- echo "<div class='confirm'>"; phpliteadmin-1.9.8.2/index.php:1728: echo $_SESSION[COOKIENAME.'messages'][$_GET['message']]; phpliteadmin-1.9.8.2/index.php-1729- echo "</div><br />"; ############################################## phpliteadmin-1.9.8.2/index.php-1742- case "table_create": phpliteadmin-1.9.8.2/index.php:1743: $query = "SELECT name FROM sqlite_master WHERE type='table' AND name=".$db->quote($_GET['tablename']); phpliteadmin-1.9.8.2/index.php-1744- $results = $db->selectArray($query); ############################################## phpliteadmin-1.9.8.2/index.php-1748- $exists = false; phpliteadmin-1.9.8.2/index.php:1749: echo "<h2>".$lang['create_tbl'].": '".htmlencode($_GET['tablename'])."'</h2>"; phpliteadmin-1.9.8.2/index.php-1750- if($_GET['tablefields']=="" || intval($_GET['tablefields'])<=0) ############################################## phpliteadmin-1.9.8.2/index.php-2237- echo "<div style='float:left;'>"; phpliteadmin-1.9.8.2/index.php:2238: echo $params->getForm(array('action'=>$_GET['action']),'get'); phpliteadmin-1.9.8.2/index.php-2239- echo "<input type='hidden' name='startRow' value='0'/>"; ############################################## phpliteadmin-1.9.8.2/index.php-2243- echo "<div style='float:left; overflow:hidden; margin-right:20px;'>"; phpliteadmin-1.9.8.2/index.php:2244: echo $params->getForm(array('action'=>$_GET['action']),'get'); phpliteadmin-1.9.8.2/index.php:2245: echo "<input type='hidden' name='startRow' value='".max(0,intval($_GET['startRow']-$params->numRows))."'/>"; phpliteadmin-1.9.8.2/index.php-2246- echo "<input type='submit' value='←' class='btn'/> "; ############################################## phpliteadmin-1.9.8.2/index.php-2252- echo "<div style='float:left;'>"; phpliteadmin-1.9.8.2/index.php:2253: echo $params->getForm(array('action'=>$_GET['action'], 'numRows'=>null),'get'); phpliteadmin-1.9.8.2/index.php-2254- echo "<input type='submit' value='".$lang['show']." : ' name='show' class='btn'/> "; ############################################## phpliteadmin-1.9.8.2/index.php-2258- if(intval($_GET['startRow']+$params->numRows) < $totalRows) phpliteadmin-1.9.8.2/index.php:2259: echo "<input type='text' name='startRow' style='width:90px;' value='".intval($_GET['startRow']+$params->numRows)."'/>"; phpliteadmin-1.9.8.2/index.php-2260- else ############################################## phpliteadmin-1.9.8.2/index.php-2281- echo "<div style='float:left; margin-left:20px; '>"; phpliteadmin-1.9.8.2/index.php:2282: echo $params->getForm(array('action'=>$_GET['action']),'get'); phpliteadmin-1.9.8.2/index.php:2283: echo "<input type='hidden' name='startRow' value='".intval($_GET['startRow']+$params->numRows)."'/>"; phpliteadmin-1.9.8.2/index.php-2284- echo "<input type='submit' value='→' class='btn'/> "; ############################################## phpliteadmin-1.9.8.2/index.php-2287- echo "<div style='float:left; '>"; phpliteadmin-1.9.8.2/index.php:2288: echo $params->getForm(array('action'=>$_GET['action']),'get'); phpliteadmin-1.9.8.2/index.php-2289- echo "<input type='hidden' name='startRow' value='".intval($totalRows-$remainder)."'/>"; ############################################## phpliteadmin-1.9.8.2/index.php-2327- echo "<td colspan='3' class='tdheader' style='text-align:center'>"; phpliteadmin-1.9.8.2/index.php:2328: echo "<a href='".$params->getURL(array('action'=>$_GET['action'], 'fulltexts'=>($params->fulltexts?0:1) ))."' title='".$lang[($params->fulltexts?'no_full_texts':'full_texts')]."'>"; phpliteadmin-1.9.8.2/index.php-2329- echo "<b>&".($params->fulltexts?'r':'l')."arr;</b> T <b>&".($params->fulltexts?'l':'r')."arr;</b></a>"; ############################################## phpliteadmin-1.9.8.2/index.php-2338- $orderTag = "ASC"; phpliteadmin-1.9.8.2/index.php:2339: echo $params->getLink(array('action'=>$_GET['action'], 'sort'=>$tableInfo[$i]['name'], 'order'=>$orderTag ), htmlencode($tableInfo[$i]['name'])); phpliteadmin-1.9.8.2/index.php-2340- if(isset($_SESSION[COOKIENAME.'sortRows']) && $_SESSION[COOKIENAME.'sortRows']==$tableInfo[$i]['name']) phpliteadmin-1.9.8.2/index.php:2341: echo (($_SESSION[COOKIENAME.'orderRows']=="ASC") ? " <b>↑</b>" : " <b>↓</b>"); phpliteadmin-1.9.8.2/index.php-2342- echo "</td>"; ############################################## phpliteadmin-1.9.8.2/index.php-2487- var data = new google.visualization.DataTable(); phpliteadmin-1.9.8.2/index.php:2488: data.addColumn('string', '<?php echo $tableInfo[$_SESSION[COOKIENAME.$target_table.'chartlabels']]['name']; ?>'); phpliteadmin-1.9.8.2/index.php:2489: data.addColumn('number', '<?php echo $tableInfo[$_SESSION[COOKIENAME.$target_table.'chartvalues']]['name']; ?>'); phpliteadmin-1.9.8.2/index.php-2490- data.addRows([ ############################################## phpliteadmin-1.9.8.2/index.php-2520- 'height':<?php echo $height; ?>, phpliteadmin-1.9.8.2/index.php:2521: 'title':'<?php echo $tableInfo[$_SESSION[COOKIENAME.$target_table.'chartlabels']]['name']." vs ".$tableInfo[$_SESSION[COOKIENAME.$target_table.'chartvalues']]['name']; ?>' phpliteadmin-1.9.8.2/index.php-2522- }; ############################################## phpliteadmin-1.9.8.2/index.php-2536- echo "<fieldset style='float:right; text-align:center;' id='chartsettingsbox'><legend><b>Chart Settings</b></legend>"; phpliteadmin-1.9.8.2/index.php:2537: echo $params->getForm(array('action'=>$_GET['action'])); phpliteadmin-1.9.8.2/index.php-2538- echo $lang['chart_type'].": <select name='charttype'>"; ############################################## phpliteadmin-1.9.8.2/index.php-2591- if(isset($search)) phpliteadmin-1.9.8.2/index.php:2592: echo "<br/><br/>".$params->getLink(array('action'=>'table_search','search'=>null,'oldSearch' => (isset($_GET['search'])?$_GET['search']:null)), $lang['srch_again']); phpliteadmin-1.9.8.2/index.php-2593- ############################################## phpliteadmin-1.9.8.2/index.php-2908- phpliteadmin-1.9.8.2/index.php:2909: $query = "SELECT sql FROM sqlite_master WHERE name=".$db->quote($target_table); phpliteadmin-1.9.8.2/index.php-2910- $master = $db->selectArray($query); ############################################## phpliteadmin-1.9.8.2/index.php-2980- phpliteadmin-1.9.8.2/index.php:2981: $query = "SELECT * FROM sqlite_master WHERE type='trigger' AND tbl_name=".$db->quote($target_table)." ORDER BY name"; phpliteadmin-1.9.8.2/index.php-2982- $result = $db->selectArray($query); ############################################## phpliteadmin-1.9.8.2/index.php-3029- case "column_create": phpliteadmin-1.9.8.2/index.php:3030: echo "<h2>".sprintf($lang['new_fld'],htmlencode($_GET['table']))."</h2>"; phpliteadmin-1.9.8.2/index.php-3031- if($_GET['tablefields']=="" || intval($_GET['tablefields'])<=0) ############################################## phpliteadmin-1.9.8.2/index.php-3121- } phpliteadmin-1.9.8.2/index.php:3122: echo $params->getForm(array('action'=>$_GET['action2'], 'confirm'=>'1', 'pk'=>$pkVal)); phpliteadmin-1.9.8.2/index.php-3123- echo "<div class='confirm'>"; ############################################## phpliteadmin-1.9.8.2/index.php-3133- case "column_edit": phpliteadmin-1.9.8.2/index.php:3134: echo "<h2>".sprintf($lang['edit_col'], htmlencode($_GET['pk']))." ".$lang['on_tbl']." '".htmlencode($target_table)."'</h2>"; phpliteadmin-1.9.8.2/index.php-3135- echo $lang['sqlite_limit']."<br/><br/>"; ############################################## phpliteadmin-1.9.8.2/index.php-3159- { phpliteadmin-1.9.8.2/index.php:3160: echo "<div class='confirm'>".$lang['err'].": ".sprintf($lang['col_inexistent'], htmlencode($_GET['pk']))."</div>"; phpliteadmin-1.9.8.2/index.php-3161- } ############################################## phpliteadmin-1.9.8.2/index.php-3165- echo $params->getForm(array('action'=>'column_edit', 'confirm'=>'1')); phpliteadmin-1.9.8.2/index.php:3166: echo "<input type='hidden' name='oldvalue' value='".htmlencode($_GET['pk'])."'/>"; phpliteadmin-1.9.8.2/index.php-3167- echo "<table border='0' cellpadding='2' cellspacing='1' class='viewTable'>"; ############################################## phpliteadmin-1.9.8.2/index.php-3231- case "index_delete": phpliteadmin-1.9.8.2/index.php:3232: echo $params->getForm(array('action'=>'index_delete', 'pk'=>$_GET['pk'], 'confirm'=>'1')); phpliteadmin-1.9.8.2/index.php-3233- echo "<div class='confirm'>"; phpliteadmin-1.9.8.2/index.php:3234: echo sprintf($lang['ques_del_index'], htmlencode($_GET['pk']))."<br/><br/>"; phpliteadmin-1.9.8.2/index.php-3235- echo "<input type='submit' value='".$lang['confirm']."' class='btn'/> "; ############################################## phpliteadmin-1.9.8.2/index.php-3242- case "trigger_delete": phpliteadmin-1.9.8.2/index.php:3243: echo $params->getForm(array('action'=>'trigger_delete', 'pk'=>$_GET['pk'], 'confirm'=>'1')); phpliteadmin-1.9.8.2/index.php-3244- echo "<div class='confirm'>"; phpliteadmin-1.9.8.2/index.php:3245: echo sprintf($lang['ques_del_trigger'], htmlencode($_GET['pk']))."<br/><br/>"; phpliteadmin-1.9.8.2/index.php-3246- echo "<input type='submit' value='".$lang['confirm']."' class='btn'/> "; ############################################## phpliteadmin-1.9.8.2/index.php-3253- case "trigger_create": phpliteadmin-1.9.8.2/index.php:3254: echo "<h2>".$lang['create_trigger']." '".htmlencode($_GET['table'])."'</h2>"; phpliteadmin-1.9.8.2/index.php-3255- if($_GET['table']=="") ############################################## phpliteadmin-1.9.8.2/index.php-3292- case "index_create": phpliteadmin-1.9.8.2/index.php:3293: echo "<h2>".$lang['create_index']." '".htmlencode($_GET['table'])."'</h2>"; phpliteadmin-1.9.8.2/index.php-3294- if($_GET['numcolumns']=="" || intval($_GET['numcolumns'])<=0) ############################################## phpliteadmin-1.9.8.2/index.php-3406- if(isset($_SESSION[COOKIENAME.'sortTables']) && $_SESSION[COOKIENAME.'sortTables']=="type") phpliteadmin-1.9.8.2/index.php:3407: echo (($_SESSION[COOKIENAME.'orderTables']=="ASC") ? " <b>↑</b>" : " <b>↓</b>"); phpliteadmin-1.9.8.2/index.php-3408- echo "</td>"; ############################################## phpliteadmin-1.9.8.2/index.php-3416- if(isset($_SESSION[COOKIENAME.'sortTables']) && $_SESSION[COOKIENAME.'sortTables']=="name") phpliteadmin-1.9.8.2/index.php:3417: echo (($_SESSION[COOKIENAME.'orderTables']=="ASC") ? " <b>↑</b>" : " <b>↓</b>"); phpliteadmin-1.9.8.2/index.php-3418- echo "</td>";