示例#1
0
	<li><a name="conf8"></a><strong>Cancellare automaticamente i backups:</strong>
Quando &egrave; selezionata questa opzione vengono cancellati automaticamente i backups piu vecchi. Combinazioni sono possibili.</li>
	<li><a name="conf9"></a><strong>Et&agrave; dei dati (in giorni):</strong> un valore > 0 cancella tutti i backup, che sono piu vecchi del valore selezionato .</li>
	<li><a name="conf10"></a><strong>Quantit&agrave; dei dati backup:</strong> Un valore  > 0 cancella tutti i backup, fino al valore selezionato</li>
	<li><a name="conf11"></a><strong>Lingua:</strong> qui scegli la lingua per l`interfaccia.</li>
</ul>

<h6>Amministrazione</h6>
qui vengono efettuate le vostre azioni.<br>
Ti vengono mostrati tutti i dati nell` elenco backup. Per le azioni "Restore" e "Delete" deve essere selezionato un dato.<br>
<UL>
	<li><strong>Restore:</strong> la banca dati viene aggiornata con il backup scelto.</strong></li>
	<li><strong>Delete:</strong> cancellare il backup selezionato.</strong></li>
	<li><strong>Partenza nuovo backup:</strong> qui fai partire un nuovo backup (Dump) secondo</strong> </li>
         <li>i parametri della tua configurazione.</li>
</UL>

<h6>Log</h6>
Qui puoi vedere e cancellare i log (connessioni effettuati).<br>

<h6>Credito / Auito</h6>
questa pagina
<h3>I nostri sponsor</h3>
Trovate sponsor anche in
 <a class="ul" href="http://www.mysqldumper.de/de/index.php?m=7" target="_blank">Pagina degli sponsors</a><br>
<?php 
echo MSDFooter();
?>
<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
示例#2
0
文件: dump.php 项目: thaian2009/php
            $aus[] = sprintf($lang['L_DUMP_ERRORS'], $dump['errors']);
        }
        $aus[] = '<form action="dump.php?MySQLDumper=' . session_id() . '" method="POST">' . $out . '<br>' . '<p class="small">' . zeit_format($xtime) . ', ' . $dump['aufruf'] . ' ' . $lang['L_PAGE_REFRESHS'] . $aus2 . '</p>' . "\n";
        $aus[] = "\n" . '<br><input class="Formbutton" type="button" value="' . $lang['L_BACK_TO_CONTROL'] . '" onclick="self.location.href=\'' . $relativ_path . 'filemanagement.php\'">';
        $aus[] = '&nbsp;&nbsp;&nbsp;<input class="Formbutton" type="button" value="' . $lang['L_BACK_TO_MINISQL'] . '" onclick="self.location.href=\'' . $relativ_path . 'sql.php\'">';
        $aus[] = '&nbsp;&nbsp;&nbsp;<input class="Formbutton" type="button" value="' . $lang['L_BACK_TO_OVERVIEW'] . '" onclick="self.location.href=\'' . $relativ_path . 'main.php?action=db&amp;dbid=' . $dump['dbindex'] . '#dbid\'"><br><br>';
        $aus[] = '</div></form>';
        $DumpFertig = 1;
    }
}
//=====================================================================
//================= Anzeige ===========================================
//=====================================================================
//Seite basteln
$aus = array_merge($aus_header, $aus);
$dump['xtime'] = $xtime;
if ($DumpFertig != 1) {
    // save actual values to session
    $_SESSION['dump'] = $dump;
    $page_parameter = get_page_parameter($dump);
    $pagefooter = '</body></html>';
    $selbstaufruf = $page_parameter . '<script language="javascript" type="text/javascript">setTimeout("document.dump.submit()", 10);</script></div>';
} else {
    $dump = array();
    $_SESSION['dump'] = $dump;
    $pagefooter = MSDFooter('', 1);
    $selbstaufruf = '';
}
$complete_page = $pageheader . implode("\n", $aus) . "\n" . $selbstaufruf . "\n" . $pagefooter;
echo $complete_page;
ob_end_flush();
示例#3
0
            } else {
                $restore['filename'] = urlencode($nextfile);
                $restore['offset'] = 0;
                $restore['part']++;
            }
        }
    }
} else {
    $aus[] = $fpath . $restore['filename'] . ' :  ' . $lang['file_open_error'];
}
//=====================================================================
//================= Anzeige ===========================================
//=====================================================================
//Seite basteln
//DEBUGGER
$debugausgabe = '';
$manuell = 0;
$pagefooter = $RestoreFertig == 1 ? MSDFooter() : '</div></div></BODY></HTML>';
if (is_array($aus_header)) {
    $aus = array_merge($aus_header, $aus);
}
$page_parameter = get_page_parameter($restore, 'restore');
if ($RestoreFertig == 1) {
    $page_parameter = '';
}
$pageheader = '<html><head>' . $meta . '<title>MySqlDumper</title><link rel="stylesheet" type="text/css" href="css/' . $config['theme'] . '/style.css"></head><body>' . $page_parameter;
$js_aufruf_automatisch = '<script language="javascript">document.restore.submit();</script>';
$js_aufruf_manuell = '<input type="Button" value="weitermachen" onclick="document.restore.submit();">';
$selbstaufruf = $page_parameter == "" ? "" : ($manuell == 0 ? $js_aufruf_automatisch : $js_aufruf_manuell);
$complete_page = $pageheader . ($aus != '' ? implode("\n", $aus) : '') . $debugausgabe . $selbstaufruf . $pagefooter;
echo $complete_page;
function ErrorReport()
{
    global $config, $PHP_SELF, $PATH, $PATH_TRANSLATED, $SCRIPT_FILENAME, $SCRIPT_NAME, $email, $_SERVER;
    $error_kind = $error_aus = "";
    if (isset($_POST['p']) && $_POST['p'] == 1) {
        //von Programmfehler geposted
        $error_kind = $_POST['error_kind'];
        $error_aus = $_POST['error_aus'];
    }
    if (isset($_POST['create_sql'])) {
        //vom Parser
        $error_kind = "Parser-Fehler";
        $error_aus = stripslashes(trim($_POST['create_sql'])) . "\n\n\n" . stripslashes(trim($_POST['insert_sql']));
    }
    $subject = "Fehlerbericht vom " . date("d.m.Y H:s");
    $i = 0;
    $r = '<form action="main.php?action=senderror" method="post">';
    $r .= '<div id="content"><table class="bordersmall"><tr class="thead"><th align="center" colspan="2"><h4>' . $subject . '</h4></th></tr>' . "\n";
    $r .= '<tr class="' . ($i++ % 2 ? 'dbrow' : 'dbrow1') . '"><td>Absender</td><td><input type="text" name="error_absender" size="40" value="' . $config['email_recipient'] . '"></td></tr>' . "\n";
    $r .= '<tr class="' . ($i++ % 2 ? 'dbrow' : 'dbrow1') . '"><td>Name</td><td><input type="text" name="error_name" size="40"></td></tr>' . "\n";
    $r .= '<tr class="' . ($i++ % 2 ? 'dbrow' : 'dbrow1') . '"><td>Art des Fehlers</td><td><input type="text" name="error_kind" value="' . $error_kind . '" size="40"></td></tr>' . "\n";
    $r .= '<tr class="' . ($i++ % 2 ? 'dbrow' : 'dbrow1') . '"><td valign="top">Anzeige des Fehlers</td><td><textarea name="error_aus" cols="30" rows="6">' . $error_aus . '</textarea></td></tr>' . "\n";
    $r .= '<tr class="' . ($i++ % 2 ? 'dbrow' : 'dbrow1') . '"><td valign="top">zus�tzliche Bemerkungen</td><td><textarea name="error_zusatz" cols="30" rows="6"></textarea></td></tr>' . "\n";
    $vi = '<tr class="' . ($i++ % 2 ? 'dbrow' : 'dbrow1') . '"><td>MySQLDump-Version</td><td><b>' . MSD_VERSION . '</b></td></tr>' . "\n";
    $vi .= '<tr class="' . ($i++ % 2 ? 'dbrow' : 'dbrow1') . '"><td>MySQL-Version</td><td><b>' . MSD_MYSQL_VERSION . '</b></td></tr>' . "\n";
    $vi .= '<tr class="' . ($i++ % 2 ? 'dbrow' : 'dbrow1') . '"><td>PHP-Version</td><td><b>' . phpversion() . '</b></td></tr>' . "\n";
    $vi .= '<tr class="' . ($i++ % 2 ? 'dbrow' : 'dbrow1') . '"><td>PHP-Extensions</td><td width="600"><b>' . implode(" ", get_loaded_extensions()) . '</b></td></tr>' . "\n";
    $vi .= '<tr class="' . ($i++ % 2 ? 'dbrow' : 'dbrow1') . '"><td>safe_mode</td><td width="600"><b>' . ($config['safe_mode'] == 1 ? "on" : "off") . '</b></td></tr>' . "\n";
    $vi .= '<tr class="' . ($i++ % 2 ? 'dbrow' : 'dbrow1') . '"><td>magic_quotes</td><td width="600"><b>' . ($config['magic_quotes_gpc'] == 1 ? "on" : "off") . '</b></td></tr>' . "\n";
    $vi .= '<tr class="' . ($i++ % 2 ? 'dbrow' : 'dbrow1') . '"><td>Variable rootdir</td><td width="600"><b>' . addslashes($config['paths']['root']) . '</b></td></tr>' . "\n";
    $vi .= '<tr class="' . ($i++ % 2 ? 'dbrow' : 'dbrow1') . '"><td>Server PHP_SELF</td><td width="600"><b>' . $_SERVER['PHP_SELF'] . '</b></td></tr>' . "\n";
    $vi .= '<tr class="' . ($i++ % 2 ? 'dbrow' : 'dbrow1') . '"><td>Server Path</td><td width="600"><b>' . addslashes(str_replace(';', ";<br>", str_replace('\\', '/', $_SERVER['PATH']))) . '</b></td></tr>' . "\n";
    $vi .= '<tr class="' . ($i++ % 2 ? 'dbrow' : 'dbrow1') . '"><td>Server Script-Filename</td><td width="600"><b>' . $_SERVER['SCRIPT_FILENAME'] . '</b></td></tr>' . "\n";
    $vi .= '<tr class="' . ($i++ % 2 ? 'dbrow' : 'dbrow1') . '"><td>Server Script-Name</td><td width="600"><b>' . $_SERVER['SCRIPT_NAME'] . '</b></td></tr>' . "\n";
    $vi .= '<tr class="' . ($i++ % 2 ? 'dbrow' : 'dbrow1') . '"><td>Global PHP_SELF</td><td width="600"><b>' . $PHP_SELF . '</b></td></tr>' . "\n";
    $vi .= '<tr class="' . ($i++ % 2 ? 'dbrow' : 'dbrow1') . '"><td>Global Path</td><td width="600"><b>' . addslashes($PATH) . '</b></td></tr>' . "\n";
    $vi .= '<tr class="' . ($i++ % 2 ? 'dbrow' : 'dbrow1') . '"><td>Global Path-Translated</td><td width="600"><b>' . addslashes($PATH_TRANSLATED) . '</b></td></tr>' . "\n";
    $vi .= '<tr class="' . ($i++ % 2 ? 'dbrow' : 'dbrow1') . '"><td>Global Script-Filename</td><td width="600"><b>' . addslashes($SCRIPT_FILENAME) . '</b></td></tr>' . "\n";
    $vi .= '<tr class="' . ($i++ % 2 ? 'dbrow' : 'dbrow1') . '"><td>Global Script-Name</td><td width="600"><b>' . addslashes($SCRIPT_NAME) . '</b></td></tr>' . "\n";
    $formvi = str_replace("<", "&lt;", $vi);
    $formvi = str_replace(">", "&gt;", $formvi);
    //Form-vars
    $r .= $vi . '<input type="hidden" name="error_vars" value="' . $formvi . '">';
    $r .= '<input type="hidden" name="error_subject" value="' . $subject . '">';
    $r .= '<input type="hidden" name="error_mailfrom" value="' . $config['email_sender'] . '">';
    $r .= '<tr class="' . ($i++ % 2 ? 'dbrow' : 'dbrow1') . '"><td colspan="2" align="center"><input class="Formbutton" type="submit" name="error_submit" value="Fehlerbericht absenden"></td></tr>';
    $r .= "</table><br><br><a href='main.php'>Home</a>" . MSDFooter();
    return $r;
}