Location: PHPKode > projects > BACKDRAFT Workgroup Management > backoffice/form_calcul.inc.php
<? if(isset($_GET['show_calcul'])){
?><table><thead><th align="right"><img title="Fermer" onclick="javascript:jsRequest.sendRequest('ajax.php?place=picto_calcul');" class="picto" src="./design/<?=$css?>/img/picto_fermer.gif" alt="Fermer" border="0" /></th></thead><tfoot><td class="tfoot"> </td></tfoot>
<tr><td><label class="title"><input id="calc_msg" size="10" /></label><img src="./design/<?=$css?>/img/calcul/equal.gif" width="88" height="16" onclick="javascript:calc.calcul();" /></td>
</tr><tr><td align="right"><img src="./design/<?=$css?>/img/calcul/sept.gif" width="16" height="16" border="0" onclick="javascript:calc.sendToOutput('7');" />
<img src="./design/<?=$css?>/img/calcul/huit.gif" width="16" height="16" border="0" onclick="javascript:calc.sendToOutput('8');" />
<img src="./design/<?=$css?>/img/calcul/neuf.gif" width="16" height="16" border="0" onclick="javascript:calc.sendToOutput('9');" />
<img src="./design/<?=$css?>/img/calcul/plus.gif" width="22" height="16" border="0" onclick="javascript:calc.setOperator('+');" /></td>
</tr><tr><td align="right"><img src="./design/<?=$css?>/img/calcul/quatre.gif" width="16" height="16" border="0" onclick="javascript:calc.sendToOutput('4');" />
<img src="./design/<?=$css?>/img/calcul/cinq.gif" width="16" height="16" border="0" onclick="javascript:calc.sendToOutput('5');" />
<img src="./design/<?=$css?>/img/calcul/six.gif" width="16" height="16" border="0" onclick="javascript:calc.sendToOutput('6');" />
<img src="./design/<?=$css?>/img/calcul/moins.gif" width="22" height="16" border="0" onclick="javascript:calc.setOperator('-');" />
</tr><tr><td align="right"><img src="./design/<?=$css?>/img/calcul/un.gif" width="16" height="16" border="0" onclick="javascript:calc.sendToOutput('1');" />
<img src="./design/<?=$css?>/img/calcul/deux.gif" width="16" height="16" border="0" onclick="javascript:calc.sendToOutput('2');" />
<img src="./design/<?=$css?>/img/calcul/trois.gif" width="16" height="16" border="0" onclick="javascript:calc.sendToOutput('3');" />
<img src="./design/<?=$css?>/img/calcul/multiple.gif" width="22" height="16" border="0" onclick="javascript:calc.setOperator('*');" /></td>
</tr><tr><td align="right"><img src="./design/<?=$css?>/img/calcul/zero.gif" width="16" height="16" border="0" onclick="javascript:calc.sendToOutput('0');" />
<img src="./design/<?=$css?>/img/calcul/virgule.gif" width="16" height="16" border="0" onclick="javascript:calc.sendToOutput('.');" />
<img src="./design/<?=$css?>/img/calcul/plusmoins.gif" width="16" height="16" border="0" onclick="javascript:calc.swapSign();" />
<img src="./design/<?=$css?>/img/calcul/divise.gif" width="22" height="16" border="0" onclick="javascript:calc.setOperator('/');" /></td>
</tr></table><?
}else{
	?><img onclick="javascript:jsRequest.sendRequest('ajax.php?place=picto_calcul&show_calcul=1');" class="picto" src="./design/<?=$css?>/img/picto_calcul.gif" alt="Calculette" title="Calculette" border="0" /><?
} ?>
Return current item: BACKDRAFT Workgroup Management