저좀 살려주세요 php 소스있는데 함 봐주세용 .. 제가 조장인데 조원들이 학교를 안와서
혼자 다 하고 혼자 죽어야해요........

일단.. 제가..
php로 계산기를 만들것인데요
버튼을 클릭하면 소리가 나야합니다
모양도  계산기 모양처럼 만들어야하고용 죽겟네용.ㅜ

소스는...


project_cacl.php - 계산기 프로그램

  <o:p></o:p>

<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">

<html xmlns=\"http://www.w3.org/1999/xhtml\">

<head>

<meta http-equiv=\"Content-Type\" content=\"text/html; charset=euc-kr\" />

<title>Untitled Document</title>

  <o:p></o:p>

< language=\'\'>

  <o:p></o:p>

function add_txt(num)

{

tmp_num = document.calc.num_value.value;

document.calc.num_value.value = tmp_num + num;

}

  <o:p></o:p>

function del_txt()

{

tmp_num = document.calc.num_value.value.length;

document.calc.num_value.value = document.calc.num_value.value.substr(0, tmp_num-1);

}

  <o:p></o:p>

function del_all()

{

document.calc.num_value.value = \"\";

}

  <o:p></o:p>

</>

  <o:p></o:p>

</head>

  <o:p></o:p>

<?

  <o:p></o:p>

$post_value = $_POST[num_value];// POST로 넘어온 계산식을 변수로 저장

  <o:p></o:p>

@eval(\"\\$result = $post_value;\");// @를 앞에 붙여 에러메세지 미출력

  <o:p></o:p>

if(!$result)

$result = \"<font color=red size=-1>올바른 수식을 입력해주세요.</font>\";// 계산식에 문제가 있을 시 결과 변수값에 에러메세지 저장

  <o:p></o:p>

?>

  <o:p></o:p>

<body>

<table width=\"350\" border=\"1\" align=\"center\" bgcolor=\"#F7F7F7\">

<tr>

<td><table border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">

<form name=\"calc\" method=\"post\">

<tr>

<td colspan=\"4\" align=\"center\">&nbsp;</td>

</tr>

<tr>

<td colspan=\"4\" align=\"center\"><b>PHP 계산기</b></td>

</tr>

<tr>

<td width=\"55\">&nbsp;</td>

<td width=\"55\">&nbsp;</td>

<td width=\"55\">&nbsp;</td>

<td width=\"55\">&nbsp;</td>

</tr>

<tr>

<td colspan=\"4\"><input name=\"num_value\" type=\"text\" size=\"33\" value=\"<?=$post_value?>\"/></td>

</tr>

<tr>

<td>&nbsp;</td>

<td>&nbsp;</td>

<td>&nbsp;</td>

<td>&nbsp;</td>

</tr>

<tr>

<td height=\"60\"><input type=\"button\" name=\"no1\" id=\"no1\" value=\"1\" style=\"WIDTH: 50px; HEIGHT: 50px\" =\":add_txt(1)\"/></td>

<td><input type=\"button\" name=\"no2\" id=\"no2\" value=\"2\" style=\"WIDTH: 50px; HEIGHT: 50px\" =\":add_txt(2)\"/></td>

<td><input type=\"button\" name=\"no3\" id=\"no3\" value=\"3\" style=\"WIDTH: 50px; HEIGHT: 50px\" =\":add_txt(3)\"/></td>

<td><input type=\"button\" name=\"plus\" id=\"plus\" value=\"+\" style=\"WIDTH: 50px; HEIGHT: 50px\"/ =\":add_txt(\'+\')\"></td>

</tr>

<tr>

<td height=\"60\"><input type=\"button\" name=\"no4\" id=\"no4\" value=\"4\" style=\"WIDTH: 50px; HEIGHT: 50px\" =\":add_txt(\'4\')\"/></td>

<td><input type=\"button\" name=\"no5\" id=\"no5\" value=\"5\" style=\"WIDTH: 50px; HEIGHT: 50px\" =\":add_txt(\'5\')\"/></td>

<td><input type=\"button\" name=\"no6\" id=\"no6\" value=\"6\" style=\"WIDTH: 50px; HEIGHT: 50px\" =\":add_txt(\'6\')\"/></td>

<td><input type=\"button\" name=\"minus\" id=\"minus\" value=\"-\" style=\"WIDTH: 50px; HEIGHT: 50px\" =\":add_txt(\'-\')\"/></td>

</tr>

<tr>

<td height=\"60\"><input type=\"button\" name=\"no7\" id=\"no7\" value=\"7\" style=\"WIDTH: 50px; HEIGHT: 50px\" =\":add_txt(\'7\')\"/></td>

<td><input type=\"button\" name=\"no8\" id=\"no8\" value=\"8\" style=\"WIDTH: 50px; HEIGHT: 50px\" =\":add_txt(\'8\')\"/></td>

<td><input type=\"button\" name=\"no9\" id=\"no9\" value=\"9\" style=\"WIDTH: 50px; HEIGHT: 50px\" =\":add_txt(\'9\')\"/></td>

<td><input type=\"button\" name=\"multiply\" id=\"multiply\" value=\"X\" style=\"WIDTH: 50px; HEIGHT: 50px\" =\":add_txt(\'*\')\"/></td>

</tr>

<tr>

<td height=\"60\"><input type=\"button\" name=\"no10\" id=\"no10\" value=\"0\" style=\"WIDTH: 50px; HEIGHT: 50px\" =\":add_txt(\'0\')\"/></td>

<td><input type=\"button\" name=\"no11\" id=\"no11\" value=\"00\" style=\"WIDTH: 50px; HEIGHT: 50px\" =\":add_txt(\'00\')\"/></td>

<td><input type=\"button\" name=\"no12\" id=\"no12\" value=\"000\" style=\"WIDTH: 50px; HEIGHT: 50px\" =\":add_txt(\'000\')\"/></td>

<td><input type=\"button\" name=\"multiply2\" id=\"multiply2\" value=\"÷\" style=\"WIDTH: 50px; HEIGHT: 50px\" =\":add_txt(\'/\')\"/></td>

</tr>

<tr>

<td height=\"60\"><input type=\"button\" name=\"no10\" id=\"no10\" value=\"(\" style=\"WIDTH: 50px; HEIGHT: 50px\" =\":add_txt(\'(\')\"/></td>

<td><input type=\"button\" name=\"no11\" id=\"no11\" value=\")\" style=\"WIDTH: 50px; HEIGHT: 50px\" =\":add_txt(\')\')\"/></td>

<td><input type=\"button\" name=\"no12\" id=\"no12\" value=\"◀\" style=\"WIDTH: 50px; HEIGHT: 50px\" =\":del_txt()\"/></td>

<td><input type=\"button\" name=\"multiply2\" id=\"multiply2\" value=\"AC\" style=\"WIDTH: 50px; HEIGHT: 50px\" =\":del_all()\"/></td>

</tr>

<tr>

<td>&nbsp;</td>

<td>&nbsp;</td>

<td>&nbsp;</td>

<td>&nbsp;</td>

</tr>

<tr>

<td colspan=\"4\" align=\"center\"><input type=\"submit\" name=\"submit\" id=\"submit\" value=\"계산하기\" style=\"WIDTH: 150px; HEIGHT: 30px\"/></td>

</tr>

<tr>

<td>&nbsp;</td>

<td>&nbsp;</td>

<td>&nbsp;</td>

<td>&nbsp;</td>

</tr>

<tr>

<td height=\"20\" colspan=\"4\" align=\"center\"> 결과값 :</td>

</tr>

<tr>

<td height=\"50\" colspan=\"4\" align=\"center\"><font color=blue><b>[ <?=$result?> ]</b></font></td>

</tr>

</form>

</table></td>

</tr>

</table>

</body>

</html>


이거고 이거의 결과값은 파일로 첨부해놨습니당..ㅜ

제가 원하는 프로그램 모양은 그림판으로 그려논거를 첨부했고용..


이거 버튼 눌릴때마다 \'뽁\' 소리나게 어떻게 해야하며..
디자인은 일러스트로 해야하나요 머 어째야할까요..

사람 한명 살린다 생각하시고
고수여러분께서 도와주세요
부탁입니다..
참고로 저는 완전 초보입니다..ㅜㅜ