BLHTML.org

BLHTML.org / Web Programming / BLHTML / BLHTML Manual / BLHTML funktion list / BLHTML funktion list / COUNTCLICK /

 
  COUNTCLICK Admin 1213 0
COUNTCLICK Admin script list all current klick/val posts from table vote and delete all with markerade checkboxar.
#SET_CATCH_PAGE key=oid table=vote erase=remove#
#PRINT size=5 value(COUNTCLICK Admin, #SYSTEM[name]#) blhtml=on#

<hr color=#SYSTEM[page_paper]#>

#COUNTCLICK id=90 action=list return=list#


#IF(!$list[0]) then(#GOTO nopost#)#


#DATA[remove_checkbox] post=hidden value=1#

<table class=code>
<tr>
        <td></td>
        <td style="padding-right: 15px">
Klick:</td>
        <td style="padding-right: 15px">Number of:</td>
        <td style="padding-right: 15px">Summa:</td>
        <td>Medelvalue:</td>
</tr>


#$n=0#
#: loop#
#COUNTCLICK id=90 show=all click($list[$n]) return=all#


<tr>
        <td>
#DATA[remove] prefix($list[$n]) post=new type=checkbox class=std#</td>
        <td>
#$list[$n]#</td>
        <td>
#$all[0]#</td>
        <td>
#$all[1]#</td>
        <td>
#$all[2]#</td>
</tr>


#SUM value($n 1) return=n#
#IF($list[$n])
        then(#GOTO loop#)
#


<tr>
        <td colspan=5 align=right>
#PLOPP value(Radera Objects) name=remove#</td>
</tr>
</table>

#HALT#


#: nopost#
Inga Registrerade klick data<br><br>
#PLOPP value(Update clicklist)#
BLHTML forum  


apache MySQL PHP No to software patents! BLHTML
© 2003, 2010 BLHTML
This page is created with BLHTML in 0.0837 seconds