BLHTML.org

BLHTML.org / Web Programming / BLHTML / BLHTML Manual /

 
  BLHTML Introduction 3163 66
Make it faster
Do it with BLHTML
  BLHTML, Step-by-step 1340 1
BLHTML Introduction
datapage
Error Handling
How html look like?
<html> example
Help with My pages - html
Färg and Typsnitt
Ram and Background
Buttons, insert html-tags
Manage pictures
My Pictures
Public pictures
General information about pictures
Help with My Pictures
Manage data account
Tabell Administration
Account administration script
Library script
  Webpage uppbyggnad 853 0
html
Show html schema: html.xml
<head> Uppgifterna in headern skrivs in under:
Control Panel -> Manage your domain.
<form> Används for att ladda upp pictures in My Pictures or att avvända function #UPLOAD#.
<table class=ue> Datapage for menu toppen page.
<table class=between> $blhtml="menu" hide/show accounts administration länkar or logga in field.
<td class=ichi> Datapage.
<td class=ni> Menu.
Menu page: Datapage show under the menulinks.
Control Panel -> Page som skall show in the menu.
<td class=tsukiatari> Datapage that is in the bottom of the webpage ytter ram. Page skrivs in under: Control Panel -> Inforutan längst ner.
<td class=san> Datapage som show höger or vänster if webpage. Aktiverar datapage under: Control Panel -> Page som skall show höger if webpage.

<script type="text/javascript"> Ligger sist for att snabba upp renderingstiden for browsern.

Menus position controlled in the Control Panel -> Menu -> Menus Position.
Sätt webpage align to left, center or right under:
Control Panel -> Page -> Site location:
If webpage är höger justerad blir .san to vänster if webpage.

ichi ni san är ett två tre on Japanska.
  Administrative management 986 23
  Variable Handling 2254 8
Handles variables and strings in BLHTML

More information:
  • #SYSTEM#
  • BLHTML variables list
  • #DATA#
  • array
  • #ARRAY#
  • Array handling
  •   Error Handling 1294 3
    How do I do when things go wrong?
      Function Information 1747 2
    Overview information of BLHTML functions

    BLHTML kapslar in functions with #

    Example:
    #FUNCTION id=8 value() blhtml=on return=variable#

    Vanligt forekommande attribute:
    Attributesdescription:
    idEn del databaskommandon can handle data from olika account
    id talar if vilket konto som skall manages
    om id lämnas tomt manages current account
    pagepage anger val of datapage (vilken data-page som skall exekveras/användas)
    valuevalue är BLHTML:s motsvarighet to html values
    value är det attribute som standard todelar functions deras value när only ett värde behövs
    The only function not using value is #GOTO# and #GOSUB#
    blhtmlblhtml=on BLHTML executes vanligtvis huvud attribute or value
    blhtml=all BLHTML executes all huvud attribute (se specifik funktion)
    BLHTML execute betyder att #BLHTML# tags utfors and outcome returneras
    blhtml attribute är to for att snabba upp flertalet functions that not behöver exekveras
    returnreturn=variable stores the results in $variable
    Med detta attribute on returneras nothing värde to current page (todelar only variable)

    More information:
  • Intruduktion in BLHTML
  • BLHTML syntax
  • BLHTML funktion list
  •   GOTO GOSUB and RETURN 1562 0
    Example flytta programpekare:
    BLHTML starts...<br>

    #$n=sub_hello#
    #GOSUB sub_test#

    #GOTO jump_over#


    This part of the code is not part of the output html document
    #GOTO# doesn´t remember where it came from, while
    #GOSUB# find its way back when #RETURN#

    #: jump_over#
    BLHTML now ends
    #HALT#
    // ---------------------------------------- sub_test
    #: sub_test#
    sub_test check if "#$n#"<br>

    #IF($n)
            then(#GOSUB($n)#)
            else(#RETURN#)
    #


    Here we return after the IF<br>
    #RETURN#

    // ---------------------------------------- sub_hello
    #: sub_hello#
    In #$n# we write "Hello world"<br>
    #RETURN#

    Returns:
    BLHTML starts...
    sub_test check if "sub_hello"
    In sub_hello we write "Hello world"
    Here we return after the IF
    BLHTML now ends

    Programdescription:
    • $n tilldelas sub_hello
    • #GOSUB sub_test# forflyttar programpekaren to #: sub_test#
    • IF frågar if n är declared
      If n skall programpekaren forflyttas to $n som är satt to sub_hello
      blhtml=on måste stå efter "#$n#" citattecknen är for att kapsla in $n for execute
      (If inte $n skall programpekaren returneras back to #GOSUB sub_test#)
    • #: sub_hello# skriver Hello world and forflyttar back to sub_test
    • Writes: Here we return after the IF and returnerar back to #GOSUB sub_test# som skriver: BLHTML now ends
    Example loop:
    #DATA[n] post=set value=1# // or #$n=1#

    #: loop#
    n = #$n#<br>
    #DATA[n] post=set operator=add value=1# // or #SUM value($n 1) return=n#
    #IF($n <= 5)
            then(#GOTO loop#)
            else(#GOTO continue#)
    #

    #: continue#

    BLHTML ends

    Returns:
    n = 1
    n = 2
    n = 3
    n = 4
    n = 5
    BLHTML ends
    • n sätts to 1
    • #: loop# loop start
    • Writes n = #$n#
    • Adderar ett to $n
    • If IF är mindre equal to 5 flyttas programpekaren to loop,
      om $n är större än 5 flyttas programpekaren to continue
    More information:
  • #DO#
  • #ECHO#
  • #DATA#
  •   BLHTML syntax 1965 3
      Special characters 1746 3
      Mails 1312 1
      Post and database management 1469 10
      Remark 1450 0
    BLHTML may exclude one or more lines from html document. To "remark" a row means that the line of code is excluded and not going to be executed on the page. Remark can be used to comment code, or to exclude parts of the code temporarily.
    • Remark inside #BLHTML# tags does not work!
    Example:
    // Here is one row remarked (excluded)

    /*
            o exclude multiple lines!
            If you want to temporarily exclude code, this is an option
            All #BLHTML#-tags and <html>-tags will not be executed
    */

    To show remarks:
    #//# To write //

    #/*#
            #_ 8#/* To write C-remarks */
    #*/#

    More information:
  • #HALT#
  • Special characters
  • #_# Write SPACE
  • BLHTML forum  


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