test_setup.php
changeset 71 e1b918eaf69a
parent 47 ae140472d97c
equal deleted inserted replaced
70:47248e2af079 71:e1b918eaf69a
    49 
    49 
    50 echo "<P>";
    50 echo "<P>";
    51 
    51 
    52 if($bad)
    52 if($bad)
    53 {
    53 {
    54 	?><TABLE CLASS="error"><TR><TD CLASS="error"><H2><? echo _('Not all tables are ok!'); ?></H2><?
    54 	?><TABLE CLASS="error"><TR><TD CLASS="error"><H2><?php echo _('Not all tables are ok!'); ?></H2><?php
    55 }
    55 }
    56 else
    56 else
    57 {
    57 {
    58 	?><TABLE CLASS="messagetable"><TR><TD CLASS="message"><H2><? echo _('Successful!'); ?></H2><?
    58 	?><TABLE CLASS="messagetable"><TR><TD CLASS="message"><H2><?php echo _('Successful!'); ?></H2><?php
    59 }
    59 }
    60 ?>
    60 ?>
    61 <BR>
    61 <BR>
    62 <FONT STYLE="font-weight: Bold">
    62 <FONT STYLE="font-weight: Bold">
    63 <?
    63 <?php
    64 if($bad)
    64 if($bad)
    65 {
    65 {
    66 	echo _('Sorry, but there are error(s) found in the following table(s):'); 
    66 	echo _('Sorry, but there are error(s) found in the following table(s):'); 
    67 	foreach($bad_array as $table)
    67 	foreach($bad_array as $table)
    68 	{
    68 	{
    69 		echo " '$table'";
    69 		echo " '$table'";
    70 		}
    70 		}
    71 		?>.</P><P><? echo _('Please fix these errors and run the script again.'); ?></P><?
    71 		?>.</P><P><?php echo _('Please fix these errors and run the script again.'); ?></P><?php
    72 	}
    72 	}
    73 	else
    73 	else
    74 	{
    74 	{
    75 		echo _('Successful! Everything is set up ok, you can rumble!');
    75 		echo _('Successful! Everything is set up ok, you can rumble!');
    76 	}
    76 	}
    77 ?>
    77 ?>
    78 <BR></TD></TR></TABLE></P>
    78 <BR></TD></TR></TABLE></P>
    79 <?
    79 <?php
    80 	include_once("inc/footer.inc.php");
    80 	include_once("inc/footer.inc.php");
    81 ?>
    81 ?>