Ejemplo n.º 1
0
 public function getDatabaseData($hexValue = true)
 {
     $scriptSchema = mswDBSchemaArray();
     $records = mysql_query('SHOW TABLES');
     if (mysql_num_rows($records) == 0) {
         return false;
     }
     while ($record = mysql_fetch_row($records)) {
         if (in_array($record[0], $scriptSchema)) {
             dbBackup::mswGetTableData($record[0], $hexValue);
         }
     }
 }
Ejemplo n.º 2
0
<?php

if (!defined('PARENT')) {
    exit;
}
$totalBackup = 0;
$msSPScheme = mswDBSchemaArray();
?>
<div class="content">
  <script type="text/javascript">
  //<![CDATA[
  function doBackup() {
    if (!jQuery('input[name="download"]:checked').val()){
	  return ms_fieldCheck('none','none');
	}
  }
  //]]>
  </script>
  <div class="header">
    
	<h1 class="page-title"><?php 
echo $msg_adheader30 . ' (' . str_replace('{count}', count($msSPScheme), $msg_backup16) . ')';
?>
</h1>
	
	<span class="clearfix"></span>
	
  </div>
        
  <ul class="breadcrumb">
    <li><?php