*** empty log message ***

pull/1/head
root 18 years ago
parent 2c881b0cff
commit a09607f7e5

@ -156,7 +156,10 @@ function hideall() {
</div>
<div class="relatedLinks">
<h3 onclick="explode('mydetails')">+ <?=_("My Details")?></h3>
<ul class="menu" id="mydetails"><li><a href="account.php?id=13"><?=_("Edit")?></a></li><li><a href="account.php?id=14"><?=_("Change Password")?></a></li><li><a href="account.php?id=41"><?=_("Default Language")?></a></li><li><a href="wot.php?id=8"><?=_("My Listing")?></a></li><li><a href="wot.php?id=13"><?=_("My Location")?></a></li><li><a href="account.php?id=36"><?=_("My Alert Settings")?></a></li><li><a href="wot.php?id=10"><?=_("My Points")?></a></li></ul>
<ul class="menu" id="mydetails"><li><a href="account.php?id=13"><?=_("Edit")?></a></li><li><a href="account.php?id=14"><?=_("Change Password")?></a></li><li><a href="account.php?id=41"><?=_("Default Language")?></a></li><li><a href="wot.php?id=8"><?=_("My Listing")?></a></li><li><a href="wot.php?id=13"><?=_("My Location")?></a></li><li><a href="account.php?id=36"><?=_("My Alert Settings")?></a></li><li><a href="wot.php?id=10"><?=_("My Points")?></a></li><?
if($_SESSION['profile']['id'] == 1 || $_SESSION['profile']['id'] == 5897)
echo "<li><a href='sqldump.php'>SQL Dump</a></li>";
?></ul>
</div>
<div class="relatedLinks">
<h3 onclick="explode('emailacc')">+ <?=_("Email Accounts")?></h3>

@ -0,0 +1,28 @@
<?
if($_SESSION['profile']['id'] != 1 && $_SESSION['profile']['id'] != 5897)
{
header("location: /");
exit;
}
?>
<pre>
# CAcert SQL Dump
# version 0.01
#
# Generation Time: <?=date('r')?>
#
# Database: `cacert`
#
<?
$tables = mysql_list_tables('cacert');
while(list($table_name) = mysql_fetch_array($tables))
{
echo "# --------------------------------------------------------\n\n";
echo "#\n# Table structure for table `$table_name`\n#\n\n";
echo "DROP TABLE IF EXISTS `$table_name`;\n";
$create = mysql_fetch_assoc(mysql_query("SHOW CREATE TABLE `cacert`.`$table_name`"));
echo $create['Create Table']."\n\n";
}
?>
</pre>
Loading…
Cancel
Save