phpMyBackupPro - ".F_DB_INFO." \n"; readfile(PMBP_JAVASCRIPTS); echo " \n \n"; echo "\n\n\n"; echo "\n\n\n\n\n\n"; for($i=0;$i\n\n"; echo "\n\n\n\n"; } // show execution duration if (function_exists("microtime")) { $microtime=explode(" ",microtime()); $endtime=($microtime[0]+$microtime[1]); } else { $endtime=time(); } echo "\n\n\n"; echo "
\n"; echo PMBP_image_tag("logo.png","phpMyBackupPro PMBP_WEBSITE",PMBP_WEBSITE); echo " ".PMBP_VERSION."

".DB_TAB_TITLE.$_GET['table'].":

".DB_TAB_NAME."".DB_TAB_COLS."".DB_NUM_ROWS."".DB_SIZE."
".$table_names[$i]."".$table_fields[$i]."".$table_rows[$i]."".$table_size[$i]."
\n
".F_DURATION.": ".number_format($endtime-$starttime,3)." ".F_SECONDS."
\n
\n\n"; exit; } PMBP_print_header(ereg_replace(".*/","",$_SERVER['SCRIPT_NAME'])); // if first use or no db-connection possible if (!$con) { echo "
".I_SQL_ERROR."
"; } //else { echo "\n"; // list all databases $all_dbs=PMBP_get_db_list(); if (count($all_dbs)) { natsort($all_dbs); echo "\n\n\n\n\n\n"; // print html table foreach($all_dbs as $db_name) { // select the db mysql_select_db($db_name,$con); $num_tables=$num_rows=$data_size=0; // get number of rows and size of tables $stati=mysql_query("show table status",$con); while ($status=@mysql_fetch_array($stati)) { $data_size+=($status['Data_length']+$status['Index_length']); $num_rows+=$status['Rows']; } $size=PMBP_size_type($data_size); // get number of tables $num_tables=mysql_affected_rows($con); // first field for the db name echo ""; echo "\n\n"; echo "\n"; echo "\n"; echo "\n"; } // show execution duration if (function_exists("microtime")) { $microtime=explode(" ",microtime()); $endtime=($microtime[0]+$microtime[1]); } else { $endtime=time(); } echo "\n\n\n"; } else { // if there are no databases echo "\n\n\n"; } echo "
".DB_NAME."".DB_NUM_TABLES."".DB_NUM_ROWS."".DB_SIZE."
\n".$db_name; if ($num_tables>0) echo "".PMBP_pop_up("db_info.php?table=".$db_name," [".DB_TABLES."]","view").""; elseif ($num_tables<0) $num_tables="".C_WRONG_DB.""; echo "\n".$num_tables."".$num_rows."".$size['value']." ".$size['type']."
\n
".F_DURATION.": ".number_format($endtime-$starttime,3)." ".F_SECONDS."
\n".DB_DIFF."\n
".DB_NO_DB.".
\n
\n"; } PMBP_print_footer(); ?>