BLHTML.org

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

 
  MEMBER_ADMIN 2975 0
#MEMBER_ADMIN# is an Admin command
Rights to use this function #MEMBER_ADMIN#:
  • Admin

  • #MEMBER_ADMIN#:
  • Read and write table member who handles accounts information
  • returnerar $blhtml_member_admin, en BLHTML array som contents value from:
    array value:  fieldname:  description:
    0statusKontorights
    1ldbKontots databaspage
    2activeAccount attribute
    3emailKontots nuvarande email
    4untiltid to konto skall raderas (ej Admin accounts)
  • Av säkerhets skäl can ej passwordet change
  • modules/admin.php

  • values:  defaults:  description:
    idcurrent accountAccount for editing
    typeinfoName on account id (all can använda)
    dropdelete account (only Admin accounts)
    statusKontorights
    dbKontots databaspage
    propertyAccount attribute
    emailKontots nuvarande email
    untilHur länge datapage skall vara tos datapage skall raderas
    (Admin datapage raderas ej)
    activeDatapage attribute
    blhtmlblhtml=on BLHTML executes until

    Example:
    #MEMBER_ADMIN id=100#
    #$blhtml_member_admin#<br>
    #DATA[blhtml_member_admin] array=0#

    Returns:
    (51) () (4294967292) (test@blhtml.com) (180927)
    51

    Example:
    #MEMBER_ADMIN id=100 status=51 until(#GETDATE year=1#) blhtml=on#
    // Set status = 51 and add one year on datasheet 100 livespan

    Sätter status = 51 and forlänger konto 100 livslängd with ett år.

    Vad är name for account 12? (only for admin):
    #IF($acc_1) else(#$acc_1=12#)#
    #MEMBER_ADMIN id=$acc_1 type=info return=ACC_1#

    Accountts name: <b>#$ACC_1#</b>

    Returns:
    Accountts name: Library

    More information:
  • #GETDATE#
  • Tabell member
  • BLHTML forum  


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