print "</table>"; print "<form name=\"Form2\" method=\"post\" action=\"{$_SERVER['PHP_SELF']}\">"; print "<table class=\"facts_table\">"; print "<tr>"; if ($Write_Ok) { print "<td class=\"facts_label03\" style=\"color: blue; font-weight: bold; \">" . print_text("original_message", 0, 1); } else { print "<td class=\"warning\" >"; print str_replace("#lang_filename#", $lang_filename, $pgv_lang["lang_file_write_error"]) . "<br /><br />"; } print "</td>"; print "</tr>"; if ($Write_Ok) { print "<tr>"; print "<td class=\"facts_value\" style=\"text-align:center; color: blue\" >"; print "<strong style=\"color: red\">|</strong>" . mask_all(find_in_file($ls01, $lang_filename_orig)) . "<strong style=\"color: red\">|</strong>"; print "</td>"; print "</tr>"; } print "</table>"; if ($Write_Ok) { print "<br />"; print "<table class=\"facts_table\">"; print "<tr>"; print "<td class=\"facts_label03\" style=\"color: blue; font-weight: bold; \">"; print_text("changed_message"); print "</td>"; print "</tr>"; print "<tr>"; print "<td class=\"facts_value\" style=\"text-align:center; color: blue\" >"; print "<strong style=\"color: red; \">|</strong>" . mask_all($new_message) . "<strong style=\"color: red\">|</strong>";
echo '</table>'; echo '<form name="Form2" method="post" action="', PGV_SCRIPT_NAME, '">'; echo '<table class="facts_table">'; echo '<tr>'; if ($Write_Ok) { echo '<td class="facts_label03" style="color: blue; font-weight: bold; ">', print_text("original_message", 0, 1); } else { echo '<td class="warning" >'; echo str_replace("#lang_filename#", $lang_filename, $pgv_lang["lang_file_write_error"]), '<br /><br />'; } echo '</td>'; echo '</tr>'; if ($Write_Ok) { echo '<tr>'; echo '<td class="facts_value" style="text-align:center; color: blue" >'; echo '<strong style="color: red">|</strong>', mask_all(find_in_file($ls01, $lang_filename_orig)), '<strong style="color: red">|</strong>'; echo '</td>'; echo '</tr>'; } echo '</table>'; if ($Write_Ok) { echo '<br />'; echo '<table class="facts_table">'; echo '<tr><td class="facts_label03" style="color: blue; font-weight: bold; ">', print_text("changed_message"), '</td></tr>'; echo '<tr><td class="facts_value" style="text-align:center; color: blue" >'; echo '<strong style="color: red; ">|</strong>', mask_all($new_message), '<strong style="color: red">|</strong>'; echo '</td></tr>'; echo '</table>'; echo '<br />'; } echo '<table class="facts_table">';
<p> or Decimal values: <p> Red: <input type=text name="r" size=4> Green: <input type=text name="g" size=4> Blue: <input type=text name="b" size=4> <input type="submit" value="Match by RGB values"> </form> <?php if ($hex != "" || $r != "" && $g != "" && $b != "") { print "<p>\n<hr>\n<p>\n<h2>Matches in rgb.txt:</h2>\n<table>\n"; find_in_file("/etc/X11/rgb.txt"); print "</table>\n"; print "<h2>Matches in CSS color list:</h2><table>\n"; find_in_file("csscolors.txt"); } ?> </table> <p> <a href="colormatch.php.txt">The source code.</a> <hr> <a href="/linux/">Linux links</a> ... <a href="/">Shallow Sky home</a> ... <i><a href="/mailme.html">...Akkana</a></i> </body> </html>