Location: PHPKode > scripts > mixer > mixer/mixer_example.php
<?php
include('mixer.class.php');
if (!$value) {
	print("<form action=".$PHP_SELF." method=post><select name=value>\n");
	print("<option value=16>16 colors\n");
	print("<option value=216>216 colors\n");
	print("<option value=120>120 colors\n");
	print("</select><br>");
	print("<input type=checkbox name=small value=true checked>small table<br>");
	print("<input type=submit value=submit></form>");
} else {
	if ($small==true) {
		$mixer = new Mixer();
		$mixer->Small_table($value);
	} else {
		$mixer = new Mixer();
		$mixer->Big_table($value);
	}
}
?>
Return current item: mixer