fork(1) download
  1. <tr class='table$n' >
  2. <td class=\"act\" >
  3. <form name=\"a_exch\" action=\"partners_files.php\" method=\"post\">
  4. <input name=\"func\" type=\"hidden\" value=\"active_exch\">
  5. <input name=\"tm\" type=\"hidden\" value=\"$tm\">
  6. <input name=\"dir\" type=\"hidden\" value=\"$dir\">
  7. <input name=\"id\" type=\"hidden\" value=\"" . $mas[$a]['id'] . "\">
  8. <input name=\"active\" type=\"hidden\" value=\"" . $mas[$a]['active'] . "\">
  9. <input type=\"image\" src=\"images/";
  10. if ($mas[$a]['active'] == 1) {
  11. echo 'green';
  12. } else {
  13. echo 'red';
  14. }
  15. echo ".jpg\" width=\"10\" height=\"10\" border=1 alt=\"Перемикнути\" title=\"Перемикнути\">
  16. </form>
  17. </td>
  18. <td class=\"act\">
  19. <form name=\"fup\" action=\"partners_files.php\" method=\"post\">
  20. <input name=\"func\" type=\"hidden\" value=\"pos_exch\">
  21. <input name=\"tm\" type=\"hidden\" value=\"$tm\">
  22. <input name=\"dir\" type=\"hidden\" value=\"$dir\">
  23. <input name=\"id1\" type=\"hidden\" value=\"" . $mas[$a - 1]['id'] . "\">
  24. <input name=\"id2\" type=\"hidden\" value=\"" . $mas[$a]['id'] . "\">
  25. <input type=\"image\" src=\"images/up.gif\" width=\"17\" height=\"17\" alt=\"Підняти\" border=0 title=\"Підняти\">
  26. </form>
  27. </td>
  28. <td class=\"act\">
  29. <form name=\"fdown\" action=\"partners_files.php\" method=\"post\">
  30. <input name=\"func\" type=\"hidden\" value=\"pos_exch\">
  31. <input name=\"tm\" type=\"hidden\" value=\"$tm\">
  32. <input name=\"dir\" type=\"hidden\" value=\"$dir\">
  33. <input name=\"id1\" type=\"hidden\" value=\"" . $mas[$a]['id'] . "\">
  34. <input name=\"id2\" type=\"hidden\" value=\"" . $mas[$a + 1]['id'] . "\">
  35. <input type=\"image\" src=\"images/down.gif\" width=\"17\" height=\"17\" alt=\"Опустити\" border=0 title=\"Опустити\">
  36. </form>
  37. </td>
  38. <td class=\"act\">
  39. <form name=\"fedit\" action=\"partners_files.php\" method=\"post\">
  40. <input name=\"act\" type=\"hidden\" value=\"edit\">
  41. <input name=\"tm\" type=\"hidden\" value=\"$tm\">
  42. <input name=\"dir\" type=\"hidden\" value=\"$dir\">
  43. <input name=\"id\" type=\"hidden\" value=\"" . $mas[$a]['id'] . "\">
  44. <input type=\"image\" src=\"images/edit.png\" width=\"17\" height=\"17\" alt=\"Редагувати\" border=0 title=\"Редагувати\">
  45. </form>
  46. </td>
  47. <td class=\"act\">
  48. <form name=\"fdel\" action=\"partners_files.php\" method=\"post\">
  49. <input name=\"func\" type=\"hidden\" value=\"del\">
  50. <input name=\"tm\" type=\"hidden\" value=\"$tm\">
  51. <input name=\"dir\" type=\"hidden\" value=\"$dir\">
  52. <input name=\"id\" type=\"hidden\" value=\"" . $mas[$a]['id'] . "\">
  53. <input type=\"image\" src=\"images/fileclose.png\" width=\"17\" height=\"17\" alt=\"Видалити\" border=0 title=\"Видалити\">
  54. </form>
  55. </td>
Success #stdin #stdout 0.02s 24448KB
stdin
Standard input is empty
stdout
<tr class='table$n' >
		<td class=\"act\"  >
			<form name=\"a_exch\" action=\"partners_files.php\" method=\"post\">
			<input name=\"func\" type=\"hidden\" value=\"active_exch\">
			<input name=\"tm\" type=\"hidden\" value=\"$tm\">
			<input name=\"dir\" type=\"hidden\" value=\"$dir\">
			<input name=\"id\" type=\"hidden\" value=\"" . $mas[$a]['id'] . "\">
			<input name=\"active\" type=\"hidden\" value=\"" . $mas[$a]['active'] . "\">
			<input type=\"image\" src=\"images/";
            if ($mas[$a]['active'] == 1) {
                echo 'green';
            } else {
                echo 'red';
            }
            echo ".jpg\" width=\"10\" height=\"10\" border=1 alt=\"Перемикнути\" title=\"Перемикнути\">
			</form>
		</td>
		<td class=\"act\">
			<form name=\"fup\" action=\"partners_files.php\" method=\"post\">
			<input name=\"func\" type=\"hidden\" value=\"pos_exch\">
			<input name=\"tm\" type=\"hidden\" value=\"$tm\">
			<input name=\"dir\" type=\"hidden\" value=\"$dir\">
			<input name=\"id1\" type=\"hidden\" value=\"" . $mas[$a - 1]['id'] . "\">
			<input name=\"id2\" type=\"hidden\" value=\"" . $mas[$a]['id'] . "\">
			<input type=\"image\" src=\"images/up.gif\" width=\"17\" height=\"17\" alt=\"Підняти\" border=0 title=\"Підняти\">
			</form>
		</td>
		<td class=\"act\">
			<form name=\"fdown\" action=\"partners_files.php\" method=\"post\">
			<input name=\"func\" type=\"hidden\" value=\"pos_exch\">
			<input name=\"tm\" type=\"hidden\" value=\"$tm\">
			<input name=\"dir\" type=\"hidden\" value=\"$dir\">
			<input name=\"id1\" type=\"hidden\" value=\"" . $mas[$a]['id'] . "\">
			<input name=\"id2\" type=\"hidden\" value=\"" . $mas[$a + 1]['id'] . "\">
			<input type=\"image\" src=\"images/down.gif\" width=\"17\" height=\"17\" alt=\"Опустити\" border=0 title=\"Опустити\">
			</form>
		</td>
		<td class=\"act\">
			<form name=\"fedit\" action=\"partners_files.php\" method=\"post\">
			<input name=\"act\" type=\"hidden\" value=\"edit\">
			<input name=\"tm\" type=\"hidden\" value=\"$tm\">
			<input name=\"dir\" type=\"hidden\" value=\"$dir\">
			<input name=\"id\" type=\"hidden\" value=\"" . $mas[$a]['id'] . "\">
			<input type=\"image\" src=\"images/edit.png\" width=\"17\" height=\"17\" alt=\"Редагувати\" border=0 title=\"Редагувати\">
			</form>
		</td>
		<td class=\"act\">
			<form name=\"fdel\" action=\"partners_files.php\" method=\"post\">
			<input name=\"func\" type=\"hidden\" value=\"del\">
			<input name=\"tm\" type=\"hidden\" value=\"$tm\">
			<input name=\"dir\" type=\"hidden\" value=\"$dir\">
			<input name=\"id\" type=\"hidden\" value=\"" . $mas[$a]['id'] . "\">
			<input type=\"image\" src=\"images/fileclose.png\" width=\"17\" height=\"17\" alt=\"Видалити\" border=0 title=\"Видалити\">
			</form>
		</td>