BLHTML.org

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

 
  Show pages 1389 0
Admin can with detta script show all account datapages and associated rubrics
(även inaktiverade pages)

Example script:
#IF(#SYSTEM[whoami]# > 99) then(#HALT#)#
#SET_CATCH_PAGE#

#IF(!$id) then(#SYSTEM[whoami] return=id#)#


<br>
id:<br>
#DATA[id] post=new#<br><br>

#PAGE_ADMIN id=$id#

#$n=0#
#: loop#
#DATA[rubric] post=set value(#+#$blhtml_page_admin[$n] id($id) always=true#+#) blhtml=on#
#+##
$blhtml_page_admin[$n]##+# #DATA[rubric] blhtml=on#<br>

#SUM value($n 1) return=n#
#IF($blhtml_page_admin[$n]) then(#GOTO loop#)#
<br><br>

#PLOPP name=ignore value(Show pages)#<br><br>

More information:
  • #PAGE_ADMIN#
  • BLHTML forum  


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