Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 364 lines (349 sloc) 14.713 kb
a7096dd Separate editing functions
jakubvrana authored
1 <?php
471ae2b Move select function
jakubvrana authored
2 /** Print select result
3 * @param Min_Result
4 * @param Min_DB connection to examine indexes
0449351 @vrana Report errors only in primary connection
authored
5 * @param string base link for <th> fields
471ae2b Move select function
jakubvrana authored
6 * @return null
7 */
5a2c064 @vrana Link to EXPLAIN output
authored
8 function select($result, $connection2 = null, $href = "") {
782921b @vrana Finish SQLite
authored
9 $links = array(); // colno => orgtable - create links from these columns
10 $indexes = array(); // orgtable => array(column => colno) - primary keys
11 $columns = array(); // orgtable => array(column => ) - not selected columns in primary key
12 $blobs = array(); // colno => bool - display bytes for blobs
13 $types = array(); // colno => type - display char in <code>
14 odd(''); // reset odd for each result
15 for ($i=0; $row = $result->fetch_row(); $i++) {
16 if (!$i) {
17 echo "<table cellspacing='0' class='nowrap'>\n";
18 echo "<thead><tr>";
19 for ($j=0; $j < count($row); $j++) {
20 $field = $result->fetch_field();
21 $orgtable = $field->orgtable;
22 $orgname = $field->orgname;
23 if ($orgtable != "") {
24 if (!isset($indexes[$orgtable])) {
25 // find primary key in each table
26 $indexes[$orgtable] = array();
27 foreach (indexes($orgtable, $connection2) as $index) {
28 if ($index["type"] == "PRIMARY") {
29 $indexes[$orgtable] = array_flip($index["columns"]);
30 break;
471ae2b Move select function
jakubvrana authored
31 }
32 }
782921b @vrana Finish SQLite
authored
33 $columns[$orgtable] = $indexes[$orgtable];
471ae2b Move select function
jakubvrana authored
34 }
782921b @vrana Finish SQLite
authored
35 if (isset($columns[$orgtable][$orgname])) {
36 unset($columns[$orgtable][$orgname]);
37 $indexes[$orgtable][$orgname] = $j;
38 $links[$j] = $orgtable;
471ae2b Move select function
jakubvrana authored
39 }
40 }
782921b @vrana Finish SQLite
authored
41 if ($field->charsetnr == 63) { // 63 - binary
42 $blobs[$j] = true;
43 }
44 $types[$j] = $field->type;
5a2c064 @vrana Link to EXPLAIN output
authored
45 $name = h($field->name);
f195903 @vrana Use rel="noreferrer" for documentation links
authored
46 echo "<th" . ($orgtable != "" || $field->name != $orgname ? " title='" . h(($orgtable != "" ? "$orgtable." : "") . $orgname) . "'" : "") . ">" . ($href ? "<a href='$href" . strtolower($name) . "' target='_blank' rel='noreferrer'>$name</a>" : $name);
471ae2b Move select function
jakubvrana authored
47 }
782921b @vrana Finish SQLite
authored
48 echo "</thead>\n";
49 }
50 echo "<tr" . odd() . ">";
51 foreach ($row as $key => $val) {
52 if (!isset($val)) {
53 $val = "<i>NULL</i>";
54 } else {
55 if ($blobs[$key] && !is_utf8($val)) {
56 $val = "<i>" . lang('%d byte(s)', strlen($val)) . "</i>"; //! link to download
57 } elseif (!strlen($val)) { // strlen - SQLite can return int
58 $val = "&nbsp;"; // some content to print a border
471ae2b Move select function
jakubvrana authored
59 } else {
782921b @vrana Finish SQLite
authored
60 $val = h($val);
61 if ($types[$key] == 254) { // 254 - char
62 $val = "<code>$val</code>";
471ae2b Move select function
jakubvrana authored
63 }
782921b @vrana Finish SQLite
authored
64 }
65 if (isset($links[$key]) && !$columns[$links[$key]]) {
66 $link = "edit=" . urlencode($links[$key]);
67 foreach ($indexes[$links[$key]] as $col => $j) {
68 $link .= "&where" . urlencode("[" . bracket_escape($col) . "]") . "=" . urlencode($row[$j]);
471ae2b Move select function
jakubvrana authored
69 }
782921b @vrana Finish SQLite
authored
70 $val = "<a href='" . h(ME . $link) . "'>$val</a>";
471ae2b Move select function
jakubvrana authored
71 }
72 }
782921b @vrana Finish SQLite
authored
73 echo "<td>$val";
471ae2b Move select function
jakubvrana authored
74 }
75 }
782921b @vrana Finish SQLite
authored
76 echo ($i ? "</table>" : "<p class='message'>" . lang('No rows.')) . "\n";
471ae2b Move select function
jakubvrana authored
77 }
78
1118566 Documentation
jakubvrana authored
79 /** Get referencable tables with single column primary key except self
80 * @param string
81 * @return array ($table_name => $field)
82 */
ced9de9 Create single column foreign key in table structure
jakubvrana authored
83 function referencable_primary($self) {
84 $return = array(); // table_name => field
3f5b683 Reintegrate sqlite branch
jakubvrana authored
85 foreach (table_status() as $table_name => $table) {
86 if ($table_name != $self && fk_support($table)) {
ced9de9 Create single column foreign key in table structure
jakubvrana authored
87 foreach (fields($table_name) as $field) {
88 if ($field["primary"]) {
89 if ($return[$table_name]) { // multi column primary key
90 unset($return[$table_name]);
91 break;
92 }
93 $return[$table_name] = $field;
94 }
95 }
96 }
97 }
98 return $return;
99 }
100
d6ac5f1 @vrana Move textarea function to editing.*
authored
101 /** Print SQL <textarea> tag
102 * @param string
103 * @param int
104 * @param int
105 * @param string
106 * @return null
107 */
108 function textarea($name, $value, $rows = 10, $cols = 80) {
4787b57 @vrana Revert "Highlight SQL code in textarea"
authored
109 echo "<textarea name='$name' rows='$rows' cols='$cols' class='sqlarea' spellcheck='false' wrap='off' onkeydown='return textareaKeydown(this, event);'>"; // spellcheck, wrap - not valid before HTML5
ef9d6d4 @vrana Save memory
authored
110 if (is_array($value)) {
111 foreach ($value as $val) { // not implode() to save memory
2e6ad20 @vrana Display ; in history (thanks to Jan Cerny)
authored
112 echo h($val) . "\n\n\n";
ef9d6d4 @vrana Save memory
authored
113 }
114 } else {
115 echo h($value);
116 }
117 echo "</textarea>";
d6ac5f1 @vrana Move textarea function to editing.*
authored
118 }
119
9eced78 @vrana Display total time in show only errors mode in SQL command
authored
120 /** Format time difference
121 * @param array ($sec, $sec)
122 * @param array ($sec, $sec)
123 * @return string HTML code
124 */
125 function format_time($start, $end) {
126 return " <span class='time'>(" . lang('%.3f s', max(0, $end[0] - $start[0] + $end[1] - $start[1])) . ")</span>";
127 }
128
1118566 Documentation
jakubvrana authored
129 /** Print table columns for type edit
130 * @param string
131 * @param array
132 * @param array
133 * @param array returned by referencable_primary()
134 * @return null
135 */
ced9de9 Create single column foreign key in table structure
jakubvrana authored
136 function edit_type($key, $field, $collations, $foreign_keys = array()) {
b0d637b @vrana Avoid fatal errors
authored
137 global $structured_types, $types, $unsigned, $on_actions;
f2813b5 Don't hide/show added/dropped columns (bug 1920167)
jakubvrana authored
138 ?>
6e2a887 @vrana Typos
authored
139 <td><select name="<?php echo $key; ?>[type]" class="type" onfocus="lastType = selectValue(this);" onchange="editingTypeChange(this);"><?php echo optionlist((!$field["type"] || isset($types[$field["type"]]) ? array() : array($field["type"])) + $structured_types + ($foreign_keys ? array(lang('Foreign keys') => $foreign_keys) : array()), $field["type"]); ?></select>
d0cf5a8 @vrana Create table options width
authored
140 <td><input name="<?php echo $key; ?>[length]" value="<?php echo h($field["length"]); ?>" size="3" onfocus="editingLengthFocus(this);"><td class="options"><?php
5cac902 Work with default values
jakubvrana authored
141 echo "<select name='$key" . "[collation]'" . (ereg('(char|text|enum|set)$', $field["type"]) ? "" : " class='hidden'") . '><option value="">(' . lang('collation') . ')' . optionlist($collations, $field["collation"]) . '</select>';
dc4fc82 @vrana ON DELETE action for foreign keys in Create table
authored
142 echo ($unsigned ? "<select name='$key" . "[unsigned]'" . (!$field["type"] || ereg('(int|float|double|decimal)$', $field["type"]) ? "" : " class='hidden'") . '><option>' . optionlist($unsigned, $field["unsigned"]) . '</select>' : '');
143 echo ($foreign_keys ? "<select name='$key" . "[on_delete]'" . (ereg("`", $field["type"]) ? "" : " class='hidden'") . "><option value=''>(" . lang('ON DELETE') . ")" . optionlist($on_actions, $field["on_delete"]) . "</select> " : " "); // space for IE
a7096dd Separate editing functions
jakubvrana authored
144 }
145
1118566 Documentation
jakubvrana authored
146 /** Filter length value including enums
147 * @param string
148 * @return string
149 */
f93c84e Function process_length used only in Adminer
jakubvrana authored
150 function process_length($length) {
151 global $enum_length;
152 return (preg_match("~^\\s*(?:$enum_length)(?:\\s*,\\s*(?:$enum_length))*\\s*\$~", $length) && preg_match_all("~$enum_length~", $length, $matches) ? implode(",", $matches[0]) : preg_replace('~[^0-9,+-]~', '', $length));
153 }
154
1118566 Documentation
jakubvrana authored
155 /** Create SQL string from field type
156 * @param array
157 * @param string
158 * @return string
159 */
a3c969c Routines uses CHARACTER SET
jakubvrana authored
160 function process_type($field, $collate = "COLLATE") {
7e644b4 @vrana Save bytes ($connection->quote shortcut)
authored
161 global $unsigned;
9e1d1c3 @vrana Respect unsupported types
authored
162 return " $field[type]"
4780703 @vrana Respect PostgreSQL custom types
authored
163 . ($field["length"] != "" ? "(" . process_length($field["length"]) . ")" : "")
5abd943 Change simple preg_match to ereg
jakubvrana authored
164 . (ereg('int|float|double|decimal', $field["type"]) && in_array($field["unsigned"], $unsigned) ? " $field[unsigned]" : "")
7e644b4 @vrana Save bytes ($connection->quote shortcut)
authored
165 . (ereg('char|text|enum|set', $field["type"]) && $field["collation"] ? " $collate " . q($field["collation"]) : "")
a7096dd Separate editing functions
jakubvrana authored
166 ;
167 }
168
1118566 Documentation
jakubvrana authored
169 /** Create SQL string from field
170 * @param array basic field information
171 * @param array information about field type
9e1d1c3 @vrana Respect unsupported types
authored
172 * @return array array("field", "type", "NULL", "DEFAULT", "ON UPDATE", "COMMENT", "AUTO_INCREMENT")
1118566 Documentation
jakubvrana authored
173 */
2e680bc Speedup of simple alter table
jakubvrana authored
174 function process_field($field, $type_field) {
3f5b683 Reintegrate sqlite branch
jakubvrana authored
175 return array(
176 idf_escape($field["field"]),
177 process_type($type_field),
178 ($field["null"] ? " NULL" : " NOT NULL"), // NULL for timestamp
4ff2f03 @vrana Alter bit type default value
authored
179 (isset($field["default"]) ? " DEFAULT " . (($field["type"] == "timestamp" && eregi('^CURRENT_TIMESTAMP$', $field["default"])) || ($field["type"] == "bit" && ereg("^([0-9]+|b'[0-1]+')\$", $field["default"])) ? $field["default"] : q($field["default"])) : ""),
3f5b683 Reintegrate sqlite branch
jakubvrana authored
180 ($field["on_update"] ? " ON UPDATE $field[on_update]" : ""),
7e644b4 @vrana Save bytes ($connection->quote shortcut)
authored
181 (support("comment") && $field["comment"] != "" ? " COMMENT " . q($field["comment"]) : ""),
736d6e4 @vrana Fix alter table
authored
182 ($field["auto_increment"] ? auto_increment() : null),
3f5b683 Reintegrate sqlite branch
jakubvrana authored
183 );
2e680bc Speedup of simple alter table
jakubvrana authored
184 }
185
1118566 Documentation
jakubvrana authored
186 /** Get type class to use in CSS
187 * @param string
188 * @return string class=''
189 */
3015aed Separate type_class
jakubvrana authored
190 function type_class($type) {
d144e9c Save bytes
jakubvrana authored
191 foreach (array(
192 'char' => 'text',
193 'date' => 'time|year',
194 'binary' => 'blob',
195 'enum' => 'set',
196 ) as $key => $val) {
c0c7ab3 Typo
jakubvrana authored
197 if (ereg("$key|$val", $type)) {
d144e9c Save bytes
jakubvrana authored
198 return " class='$key'";
199 }
3015aed Separate type_class
jakubvrana authored
200 }
201 }
202
1118566 Documentation
jakubvrana authored
203 /** Print table interior for fields editing
204 * @param array
205 * @param array
206 * @param string TABLE or PROCEDURE
207 * @param int number of fields allowed by Suhosin
208 * @param array returned by referencable_primary()
3a14845 @vrana Respect defaults and comments checkbox after post (bug #3311791)
authored
209 * @param bool display comments column
210 * @return null
1118566 Documentation
jakubvrana authored
211 */
3f5b683 Reintegrate sqlite branch
jakubvrana authored
212 function edit_fields($fields, $collations, $type = "TABLE", $allowed = 0, $foreign_keys = array(), $comments = false) {
d31d4e9 Emulate REQUEST_URI
jakubvrana authored
213 global $inout;
f2813b5 Don't hide/show added/dropped columns (bug 1920167)
jakubvrana authored
214 ?>
dfe2540 Centralize nowrap
jakubvrana authored
215 <thead><tr class="wrap">
b349612 Remove useless translations
jakubvrana authored
216 <?php if ($type == "PROCEDURE") { ?><td>&nbsp;<?php } ?>
ace55ed HTML instead of XHTML
jakubvrana authored
217 <th><?php echo ($type == "TABLE" ? lang('Column name') : lang('Parameter name')); ?>
3a76704 Spaces
jakubvrana authored
218 <td><?php echo lang('Type'); ?><textarea id="enum-edit" rows="4" cols="12" wrap="off" style="display: none;" onblur="editingLengthBlur(this);"></textarea>
ace55ed HTML instead of XHTML
jakubvrana authored
219 <td><?php echo lang('Length'); ?>
220 <td><?php echo lang('Options'); ?>
a7096dd Separate editing functions
jakubvrana authored
221 <?php if ($type == "TABLE") { ?>
b349612 Remove useless translations
jakubvrana authored
222 <td>NULL
3f5b683 Reintegrate sqlite branch
jakubvrana authored
223 <td><input type="radio" name="auto_increment_col" value=""><acronym title="<?php echo lang('Auto Increment'); ?>">AI</acronym>
3a14845 @vrana Respect defaults and comments checkbox after post (bug #3311791)
authored
224 <td<?php echo ($_POST["defaults"] ? "" : " class='hidden'"); ?>><?php echo lang('Default values'); ?>
3f5b683 Reintegrate sqlite branch
jakubvrana authored
225 <?php echo (support("comment") ? "<td" . ($comments ? "" : " class='hidden'") . ">" . lang('Comment') : ""); ?>
a7096dd Separate editing functions
jakubvrana authored
226 <?php } ?>
da8a1b6 Respect move and drop column support
jakubvrana authored
227 <td><?php echo "<input type='image' name='add[" . (support("move_col") ? 0 : count($fields)) . "]' src='../adminer/static/plus.gif' alt='+' title='" . lang('Add next') . "'>"; ?><script type="text/javascript">row_count = <?php echo count($fields); ?>;</script>
ace55ed HTML instead of XHTML
jakubvrana authored
228 </thead>
dfc03ca @vrana Comment
authored
229 <tbody onkeydown="return editingKeydown(event);">
230 <?php
93c27c9 Separate type_change()
jakubvrana authored
231 foreach ($fields as $i => $field) {
232 $i++;
da8a1b6 Respect move and drop column support
jakubvrana authored
233 $orig = $field[($_POST ? "orig" : "field")];
234 $display = (isset($_POST["add"][$i-1]) || (isset($field["field"]) && !$_POST["drop_col"][$i])) && (support("drop_col") || $orig == "");
93c27c9 Separate type_change()
jakubvrana authored
235 ?>
a76c555 Remove odd() from create
jakubvrana authored
236 <tr<?php echo ($display ? "" : " style='display: none;'"); ?>>
3f5b683 Reintegrate sqlite branch
jakubvrana authored
237 <?php echo ($type == "PROCEDURE" ? "<td>" . html_select("fields[$i][inout]", $inout, $field["inout"]) : ""); ?>
da8a1b6 Respect move and drop column support
jakubvrana authored
238 <th><?php if ($display) { ?><input name="fields[<?php echo $i; ?>][field]" value="<?php echo h($field["field"]); ?>" onchange="<?php echo ($field["field"] != "" || count($fields) > 1 ? "" : "editingAddRow(this, $allowed); "); ?>editingNameChange(this);" maxlength="64"><?php } ?><input type="hidden" name="fields[<?php echo $i; ?>][orig]" value="<?php echo h($orig); ?>">
ced9de9 Create single column foreign key in table structure
jakubvrana authored
239 <?php edit_type("fields[$i]", $field, $collations, $foreign_keys); ?>
a7096dd Separate editing functions
jakubvrana authored
240 <?php if ($type == "TABLE") { ?>
6b30cfa Separate checkbox
jakubvrana authored
241 <td><?php echo checkbox("fields[$i][null]", 1, $field["null"]); ?>
b79a28f @vrana Link table names in SQL queries
authored
242 <td><input type="radio" name="auto_increment_col" value="<?php echo $i; ?>"<?php if ($field["auto_increment"]) { ?> checked<?php } ?> onclick="var field = this.form['fields[' + this.value + '][field]']; if (!field.value) { field.value = 'id'; field.onchange(); }">
3a14845 @vrana Respect defaults and comments checkbox after post (bug #3311791)
authored
243 <td<?php echo ($_POST["defaults"] ? "" : " class='hidden'"); ?>><?php echo checkbox("fields[$i][has_default]", 1, $field["has_default"]); ?><input name="fields[<?php echo $i; ?>][default]" value="<?php echo h($field["default"]); ?>" onchange="this.previousSibling.checked = true;">
3f5b683 Reintegrate sqlite branch
jakubvrana authored
244 <?php echo (support("comment") ? "<td" . ($comments ? "" : " class='hidden'") . "><input name='fields[$i][comment]' value='" . h($field["comment"]) . "' maxlength='255'>" : ""); ?>
a7096dd Separate editing functions
jakubvrana authored
245 <?php } ?>
246 <?php
da8a1b6 Respect move and drop column support
jakubvrana authored
247 echo "<td>";
248 echo (support("move_col") ?
249 "<input type='image' name='add[$i]' src='../adminer/static/plus.gif' alt='+' title='" . lang('Add next') . "' onclick='return !editingAddRow(this, $allowed, 1);'>&nbsp;"
250 . "<input type='image' name='up[$i]' src='../adminer/static/up.gif' alt='^' title='" . lang('Move up') . "'>&nbsp;"
251 . "<input type='image' name='down[$i]' src='../adminer/static/down.gif' alt='v' title='" . lang('Move down') . "'>&nbsp;"
252 : "");
253 echo ($orig == "" || support("drop_col") ? "<input type='image' name='drop_col[$i]' src='../adminer/static/cross.gif' alt='x' title='" . lang('Remove') . "' onclick='return !editingRemoveRow(this);'>" : "");
50881f8 Move whitespace to CSS
jakubvrana authored
254 echo "\n";
a7096dd Separate editing functions
jakubvrana authored
255 }
256 }
93c27c9 Separate type_change()
jakubvrana authored
257
1118566 Documentation
jakubvrana authored
258 /** Move fields up and down or add field
259 * @param array
260 * @return null
261 */
fd8948f Order of columns in table
jakubvrana authored
262 function process_fields(&$fields) {
263 ksort($fields);
264 $offset = 0;
265 if ($_POST["up"]) {
266 $last = 0;
267 foreach ($fields as $key => $field) {
268 if (key($_POST["up"]) == $key) {
269 unset($fields[$key]);
270 array_splice($fields, $last, 0, array($field));
271 break;
272 }
273 if (isset($field["field"])) {
274 $last = $offset;
275 }
276 $offset++;
277 }
278 }
279 if ($_POST["down"]) {
280 $found = false;
281 foreach ($fields as $key => $field) {
282 if (isset($field["field"]) && $found) {
283 unset($fields[key($_POST["down"])]);
284 array_splice($fields, $offset, 0, array($found));
285 break;
286 }
287 if (key($_POST["down"]) == $key) {
288 $found = $field;
289 }
290 $offset++;
291 }
292 }
293 $fields = array_values($fields);
294 if ($_POST["add"]) {
295 array_splice($fields, key($_POST["add"]), 0, array(array()));
296 }
297 }
298
1118566 Documentation
jakubvrana authored
299 /** Callback used in routine()
300 * @param array
301 * @return string
302 */
8060c5b Routines
jakubvrana authored
303 function normalize_enum($match) {
3f5b683 Reintegrate sqlite branch
jakubvrana authored
304 return "'" . str_replace("'", "''", addcslashes(stripcslashes(str_replace($match[0][0] . $match[0][0], $match[0][0], substr($match[0], 1, -1))), '\\')) . "'";
8060c5b Routines
jakubvrana authored
305 }
306
1118566 Documentation
jakubvrana authored
307 /** Issue grant or revoke commands
308 * @param string GRANT or REVOKE
309 * @param array
310 * @param string
311 * @param string
83d659c @vrana Comments
authored
312 * @return bool
1118566 Documentation
jakubvrana authored
313 */
464d84a Define functions unconditionally
jakubvrana authored
314 function grant($grant, $privileges, $columns, $on) {
315 if (!$privileges) {
316 return true;
317 }
318 if ($privileges == array("ALL PRIVILEGES", "GRANT OPTION")) {
319 // can't be granted or revoked together
320 return ($grant == "GRANT"
321 ? queries("$grant ALL PRIVILEGES$on WITH GRANT OPTION")
322 : queries("$grant ALL PRIVILEGES$on") && queries("$grant GRANT OPTION$on")
323 );
324 }
325 return queries("$grant " . preg_replace('~(GRANT OPTION)\\([^)]*\\)~', '\\1', implode("$columns, ", $privileges) . $columns) . $on);
326 }
32d5b9c Inform about dropped routine, trigger and view
jakubvrana authored
327
1118566 Documentation
jakubvrana authored
328 /** Drop old object and create a new one
329 * @param string drop query
330 * @param string create query
331 * @param string
332 * @param string
333 * @param string
334 * @param string
335 * @param string
336 * @return bool dropped
337 */
32d5b9c Inform about dropped routine, trigger and view
jakubvrana authored
338 function drop_create($drop, $create, $location, $message_drop, $message_alter, $message_create, $name) {
339 if ($_POST["drop"]) {
340 return query_redirect($drop, $location, $message_drop, true, !$_POST["dropped"]);
341 }
7352c28 Replace strlen() by != ""
jakubvrana authored
342 $dropped = $name != "" && ($_POST["dropped"] || queries($drop));
32d5b9c Inform about dropped routine, trigger and view
jakubvrana authored
343 $created = queries($create);
7352c28 Replace strlen() by != ""
jakubvrana authored
344 if (!queries_redirect($location, ($name != "" ? $message_alter : $message_create), $created) && $dropped) {
a379bde @vrana Save bytes
authored
345 redirect(null, $message_drop);
32d5b9c Inform about dropped routine, trigger and view
jakubvrana authored
346 }
347 return $dropped;
348 }
095d472 @vrana Customizable export
authored
349
350 /** Get string to add a file in TAR
351 * @param string
352 * @param string
353 * @return string
354 */
355 function tar_file($filename, $contents) {
356 $return = pack("a100a8a8a8a12a12", $filename, 644, 0, 0, decoct(strlen($contents)), decoct(time()));
357 $checksum = 8*32; // space for checksum itself
358 for ($i=0; $i < strlen($return); $i++) {
359 $checksum += ord($return{$i});
360 }
361 $return .= sprintf("%06o", $checksum) . "\0 ";
362 return $return . str_repeat("\0", 512 - strlen($return)) . $contents . str_repeat("\0", 511 - (strlen($contents) + 511) % 512);
363 }
Something went wrong with that request. Please try again.