2007-07-02 15:50:23 +00:00
|
|
|
<?php
|
|
|
|
page_header(lang('View') . ": " . htmlspecialchars($_GET["view"]));
|
2007-07-11 08:24:03 +00:00
|
|
|
echo "<pre class='jush-sql'>" . htmlspecialchars(preg_replace('~^.* AS ~U', '', $mysql->result($mysql->query("SHOW CREATE VIEW " . idf_escape($_GET["view"])), 1))) . "</pre>\n";
|
2007-07-16 12:17:16 +00:00
|
|
|
echo '<p><a href="' . htmlspecialchars($SELF) . 'createv=' . urlencode($_GET["view"]) . '">' . lang('Alter view') . "</a></p>\n";
|