Hackfut Security File Manager
Current Path:
/mnt/ceph/services/websiteos/phpmyadmin/phpMyAdmin-2.11.1-all-languages
mnt
/
ceph
/
services
/
websiteos
/
phpmyadmin
/
phpMyAdmin-2.11.1-all-languages
/
📁
..
📄
.htaccess
(45 B)
📄
CREDITS
(127 B)
📄
ChangeLog
(31.48 KB)
📄
Documentation.html
(218.51 KB)
📄
Documentation.txt
(154.6 KB)
📄
INSTALL
(137 B)
📄
LICENSE
(17.59 KB)
📄
README
(2.52 KB)
📄
RELEASE-DATE-2.11.11.2
(29 B)
📄
TODO
(196 B)
📄
_main.php
(15.48 KB)
📄
browse_foreigners.php
(10.56 KB)
📄
calendar.php
(711 B)
📄
changelog.php
(3.65 KB)
📄
chk_rel.php
(410 B)
📄
config.inc.php
(2.72 KB)
📄
config.sample.inc.php
(1.67 KB)
📁
contrib
📄
db_create.php
(1.39 KB)
📄
db_datadict.php
(10.38 KB)
📄
db_export.php
(2.37 KB)
📄
db_import.php
(419 B)
📄
db_operations.php
(19.37 KB)
📄
db_printview.php
(7.2 KB)
📄
db_qbe.php
(33.89 KB)
📄
db_search.php
(13.62 KB)
📄
db_sql.php
(972 B)
📄
db_structure.php
(21.86 KB)
📄
docs.css
(4.43 KB)
📄
error.php
(2.16 KB)
📄
export.php
(24.22 KB)
📄
favicon.ico
(18.46 KB)
📄
htaccess.php
(2.25 KB)
📄
import.php
(13.56 KB)
📄
index.php
(6.39 KB)
📁
js
📁
lang
📁
libraries
📄
license.php
(618 B)
📄
logoff.php
(113 B)
📄
main.php
(15.57 KB)
📄
main_work.php
(15.31 KB)
📄
navigation.php
(25.6 KB)
📄
pdf_pages.php
(26.62 KB)
📄
pdf_schema.php
(51.45 KB)
📄
phpinfo.php
(362 B)
📄
phpmyadmin.css.php
(16.17 KB)
📁
pmd
📄
pmd_common.php
(10.91 KB)
📄
pmd_display_field.php
(1.82 KB)
📄
pmd_general.php
(18 KB)
📄
pmd_help.php
(829 B)
📄
pmd_pdf.php
(3.45 KB)
📄
pmd_relation_new.php
(3.81 KB)
📄
pmd_relation_upd.php
(1.81 KB)
📄
pmd_save_pos.php
(2.15 KB)
📄
print.css
(1.04 KB)
📄
querywindow.php
(9.45 KB)
📄
readme.php
(615 B)
📁
scripts
📄
server_binlog.php
(7.42 KB)
📄
server_collations.php
(2.66 KB)
📄
server_databases.php
(12.98 KB)
📄
server_engines.php
(4.75 KB)
📄
server_export.php
(1.55 KB)
📄
server_import.php
(430 B)
📄
server_privileges.php
(108.53 KB)
📄
server_processlist.php
(2.74 KB)
📄
server_sql.php
(528 B)
📄
server_status.php
(20.19 KB)
📄
server_variables.php
(2.35 KB)
📄
show_config_errors.php
(256 B)
📄
sql.php
(28.79 KB)
📄
tbl_addfield.php
(8.83 KB)
📄
tbl_alter.php
(9.19 KB)
📄
tbl_change.php
(45.19 KB)
📄
tbl_create.php
(9.06 KB)
📄
tbl_export.php
(2.49 KB)
📄
tbl_import.php
(582 B)
📄
tbl_indexes.php
(15.57 KB)
📄
tbl_move_copy.php
(2.08 KB)
📄
tbl_operations.php
(19.29 KB)
📄
tbl_printview.php
(17.79 KB)
📄
tbl_relation.php
(23.69 KB)
📄
tbl_replace.php
(12.28 KB)
📄
tbl_row_action.php
(4.26 KB)
📄
tbl_select.php
(17.43 KB)
📄
tbl_sql.php
(911 B)
📄
tbl_structure.php
(33.85 KB)
📁
themes
📄
themes.php
(1.02 KB)
📄
transformation_overview.php
(1.65 KB)
📄
transformation_wrapper.php
(3.91 KB)
📄
translators.html
(7.97 KB)
📄
user_password.php
(3.44 KB)
📄
view_create.php
(4.07 KB)
Editing: view_create.php
<?php /* vim: set expandtab sw=4 ts=4 sts=4: */ /** * * @version $Id$ */ /** * */ require_once './libraries/common.inc.php'; /** * Runs common work */ require './libraries/db_common.inc.php'; $url_params['goto'] = $url_params['back'] = 'view_create.php'; if (isset($_POST['submitoptions'])) { /** * Creates the view */ $message = ''; $sep = "\r\n"; $create_query = 'CREATE' . $sep; if (isset($_POST['or_replace'])) { $create_query .= ' OR REPLACE' . $sep; } if (isset($_POST['algorithm'])) { $create_query .= ' ALGORITHM = ' . $_POST['algorithm'] . $sep; } $create_query .= ' VIEW ' . PMA_backquote($_POST['view_name']) . $sep; if (!empty($_POST['column_names'])) { $create_query .= ' (' . $_POST['column_names'] . ')' . $sep; } $create_query .= ' AS ' . $_POST['sql_statement'] . $sep; if (isset($_POST['cascaded']) || isset($_POST['local']) || isset($_POST['check_option'])) { $create_query .= ' WITH '; } if (isset($_POST['cascaded'])) { $create_query .= ' CASCADED '; } if (isset($_POST['local'])) { $create_query .= ' LOCAL '; } if (isset($_POST['check_option'])) { $create_query .= ' CHECK OPTION '; } $message .= PMA_DBI_query($create_query) ? $strSuccess : $strError; // to display the CREATE VIEW query $sql_query = $create_query; require './' . $cfg['DefaultTabDatabase']; exit(); } else { /** * Displays top menu links * We use db links because a VIEW is not necessarily on a single table */ $num_tables = 0; require_once './libraries/db_links.inc.php'; $url_params['goto'] = 'view_create.php'; $url_params['back'] = 'view_create.php'; /** * Displays the page * * @todo js error when view name is empty (strFormEmpty) * @todo (also validate if js is disabled, after form submission?) */ ?> <!-- CREATE VIEW options --> <div id="div_view_options"> <form method="post" action="view_create.php"> <?php echo PMA_generate_common_hidden_inputs($GLOBALS['db']); ?> <input type="hidden" name="reload" value="1" /> <fieldset> <legend>CREATE VIEW</legend> <table> <tr><td><label for="or_replace">OR REPLACE</label></td> <td><input type="checkbox" name="or_replace" id="or_replace" value="1" /> </td> </tr> <tr> <td><label for="algorithm">ALGORITHM</label></td> <td><select name="algorithm" id="algorithm"> <option value="UNDEFINED">UNDEFINED</option> <option value="MERGE">MERGE</option> <option value="TEMPTABLE">TEMPTABLE</option> </select> </td> </tr> <tr><td><?php echo $strViewName; ?></td> <td><input type="text" size="20" name="view_name" onfocus="this.select()" value="" /> </td> </tr> <tr><td><?php echo $strColumnNames; ?></td> <td><input type="text" maxlength="100" size="50" name="column_names" onfocus="this.select()" value="" /> </td> </tr> <tr><td><?php echo 'AS' ?></td> <td> <textarea name="sql_statement" rows="<?php echo $cfg['TextareaRows']; ?>" cols="<?php echo $cfg['TextareaCols']; ?>" dir="<?php echo $text_dir; ?>" onfocus="this.select();"><?php echo htmlspecialchars($sql_query); ?></textarea> </td> </tr> <tr><td>WITH</td> <td> <input type="checkbox" name="cascaded" id="cascaded" value="1" /> <label for="cascaded">CASCADED</label> <input type="checkbox" name="local" id="local" value="1" /> <label for="local">LOCAL</label> <input type="checkbox" name="check_option" id="check_option" value="1" /> <label for="check_option">CHECK OPTION</label> </td> </tr> </table> </fieldset> <fieldset class="tblFooters"> <input type="submit" name="submitoptions" value="<?php echo $strGo; ?>" /> </fieldset> </form> </div> <?php /** * Displays the footer */ require_once './libraries/footer.inc.php'; } // end if ?>
Upload File
Create Folder