⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 example.rc

📁 使用perl和C写的基于Web的管理数据库表的程序
💻 RC
字号:
[Data]Username = klausPassword = klausTable    =Order    =Fields   =[Debug]Level = 0[Browser]MaxRows = 7[Header]Title = Possibilities of WWWdb[GUI]# FgColor = blue[State All]BtnCancel = ClearBtnHelp   = Help[State Init]BtnNew = -BtnQry = -[Layout Table]Border      = 1# ----------------------------------------------------------------------[Layout Label H1_Text_0]Text = <<EOFThe way, your HTML-page looks, can be configured with aconfiguration-file like this. The single data-fields are placed in avirtual HTML-table. This table is for designing a nice-lookingsurface, where you can place fields where you want, span fields oversome columns and place more fields in a column. <BR>EOFPos  = 0.+0+3.0[Layout Label H1_Text_1]Text = <<EOFUsing such a file it is normaly not necessary to enter HTML-commands directly.EOFItalic = YesPos  = +0.+0.+1# ----------------------------------------------------------------------[Layout Label H1_Layout]Text = Layout-PossibilitiesPos  = +1.0+3.0Big = YesBold = YesFont = color=blueAlign = centerBgColor = #e0e0e0# ----------------------------------------------------------------------[Layout Label H2_Spalten]Text = Design your columns!!Pos  = +1.0+3.0Big = YesBold = YesFont = color=#000090Align = centerBgColor = #e0e0e0[Layout Label Layout_1_0]Pos  = +1.0.0Text = Three columns in one lineBold = Yes[Layout Label Layout_1_1]Pos  = +0.+1.0Text = Column 1[Layout Label Layout_1_2]Pos  = +0.+1.0Text =  Column 2[Layout Label Layout_1_3]Pos  = +0.+1.0Text = Column 3[Layout Label Layout_2_0]Pos  = +1.0.0Text = Two columns, where the first is spanning two columnsBold = Yes[Layout Label Layout_2_1bis2]Pos  = +0.+1+1.0Text = Columns 1 and 2[Layout Label Layout_2_3]Pos  = +0.+2.0Text = Column 3[Layout Label Layout_3_0]Pos  = +1.0.0Text = One Column, spanning over the whole line (three columns)Bold = Yes[Layout Label Layout_3_1bis3]Pos  = +0.1+2.0Text = Columns 1 to 3# ----------------------------------------------------------------------[Layout Label H2_Stapeln]Text = "Stacking" of fieldsPos  = +1.0+3.0Big = YesBold = YesFont = color=#000090Align = centerBgColor = #e0e0e0[Layout Label Stapel_1_0]Text = Stacking in one columnPos  = +1.0.0Bold = Yes[Layout Label Stapel_1_2]Pos  = +0.+1.0Text = Column 1[Layout Label Stapel_1_1_1]Pos  = +0.+1.0Text = "(Element&nbsp;1) "[Layout Label Stapel_1_1_2]Pos  = +0.+0.+1Text = "(Element&nbsp;2) "Bold = Yes[Layout Label Stapel_1_1_3]Pos  = +0.+0.+1Text = "(Element&nbsp;3)"[Layout Label Stapel_1_3]Pos  = +0.+1.0Text = Column 3[Layout Label Stapel_2]Text = Stacking in more than one columnPos  = +1.0.0Bold = Yes[Layout Label Stapel_2_1_1]Pos  = +0.+1+2.0Text = "(Element&nbsp;1) "[Layout Label Stapel_2_1_2]Pos  = +0.+0.+1Text = "(Element&nbsp;2) "Bold = Yes[Layout Label Stapel_2_1_3]Pos  = +0.+0.+1Text = "(Element&nbsp;3)"# ----------------------------------------------------------------------[Layout Label H2_Align]Text = Design of table-elementsPos  = +1.0+3.0Big = YesBold = YesFont = color=#000090Align = centerBgColor = #e0e0e0[Layout Label Attr_Align_0]Text = Horizontal AlignmentPos  = +1.0.0Bold = Yes[Layout Label Attr_Align_1]Pos  = +0.+1.0Text = Left-<BR>alignedAlign = left[Layout Label Attr_Align_2]Pos  = +0.+1.0Text = Cen-<BR>teredAlign = center[Layout Label Attr_Align_3]Pos  = +0.+1.0Text = Right-<BR>alignedAlign = right[Layout Label Attr_VAlign_0]Text = "Vertical Alignment<BR><BR>"Pos  = +1.0.0Bold = Yes[Layout Label Attr_VAlign_1]Pos  = +0.+1.0Text = Top-alignedVAlign = Top[Layout Label Attr_VAlign_2]Pos  = +0.+1.0Text = CenteredVAlign = center[Layout Label Attr_VAlign_3]Pos  = +0.+1.0Text = Bottom-alignedVAlign = Bottom[Layout Label Attr_Color_0]Text = Background-colorPos  = +1.0.0Bold = Yes[Layout Label Attr_Color_1]Pos  = +0.+1.0Text = RedBgColor = red[Layout Label Attr_Color_2]Pos  = +0.+1.0Text = GreenBgColor = green[Layout Label Attr_Color_3]Pos  = +0.+1.0Text = BlueBgColor = blueFont = color=white[Layout Label Attr_NoWrap_0]Text = No break in this columnPos  = +1.0.0Bold = Yes[Layout Label Attr_NoWrap_1]Pos  = +0.+1.0Text = foo bar foo bar foo bar foo bar foo bar foo barNoWrap = Yes# ----------------------------------------------------------------------[Layout Label H2_Attrib]Text = Setting attributesPos  = +1.0+3.0Big = YesBold = YesFont = color=#000090Align = centerBgColor = #e0e0e0[Layout Label Attr_Big_0]Text = Larger fontPos  = +1.0.0Bold = Yes[Layout Label Attr_Big_1]Pos  = +0.+1+2.0Text = ABCDE abcde 12345 !$%()Big  = Yes[Layout Label Attr_Small_0]Text = Smaller fontPos  = +1.0.0Bold = Yes[Layout Label Attr_Small_1]Pos  = +0.+1+2.0Text = ABCDE abcde 12345 !$%()Small  = Yes[Layout Label Attr_Bold_0]Text = Bold fontPos  = +1.0.0Bold = Yes[Layout Label Attr_Bold_1]Pos  = +0.+1+2.0Text = ABCDE abcde 12345 !$%()Bold = Yes[Layout Label Attr_Italic_0]Text = ItalicsPos  = +1.0.0Bold = Yes[Layout Label Attr_Italic_1]Pos  = +0.+1+2.0Text = ABCDE abcde 12345 !$%()Italic = Yes[Layout Label Attr_Blink_0]Text = BlinkingPos  = +1.0.0Bold = Yes[Layout Label Attr_Blink_1]Pos  = +0.+1+2.0Text = ABCDE abcde 12345 !$%()Blink = Yes[Layout Label Attr_All_0]Text = Any combinations of the abovePos  = +1.0.0Bold = Yes[Layout Label Attr_All_1]Pos  = +0.+1+2.0Text = ABCDE abcde 12345 !$%()Blink = YesBold = YesItalic = YesSmall  = YesBgColor = blueFont = color=white face=fixed[Layout Label Attr_Font_0]Text = FontPos  = +1.0.0Bold = Yes[Layout Label Attr_Font_1]Text = Type (by example. Times)Pos  = +0.+1.0Font = face=times[Layout Label Attr_Font_2]Text = SizePos  = +0.+1.0Font = size=+3[Layout Label Attr_Font_3]Text = ColorPos  = +0.+1.0Font = color=green# ----------------------------------------------------------------------[Layout Label H2_Input]Text = Input-FieldsPos  = +1.0+3.0Big = YesBold = YesFont = color=#000090Align = centerBgColor = #e0e0e0[Layout Label Inp_Text_0]Text = Text-fieldPos  = +1.0.0Bold = Yes[Layout Field Inp_Text_1]Pos  = +0.+1+2.0Type = TextSize = 60Help = "Please give in some text!"[Layout Label Inp_Pass_0]Text = Password-FeldPos  = +1.0.0Bold = Yes[Layout Field Inp_Pass_1]Pos  = +0.+1+2.0Type = PasswordHelp = "The password is hidden!"[Layout Label Inp_Area_0]Text = Multi-lined Text-areaPos  = +1.0.0Bold = Yes[Layout Field Inp_Area_1]Pos  = +0.+1+2.0Type = AreaSize = 50Help = "Please give in much text!"[Layout Label Inp_Radio_0]Text = Radio-ButtonsPos  = +1.0.0Bold = Yes[Layout Field Inp_Radio_1]Pos  = +0.+1+1.0Type = RadioValues = <<EOFYesNoMaybeMaybe notEOFHelp = "Select one value!"[Layout Label Inp_Radio_2]Text = This field can also be filled with a SQL-StatementPos  = +0.+1.0[Layout Label Inp_Select_S_0]Text = Single Selection-FieldPos  = +1.0.0Bold = Yes[Layout Field Inp_Select_S_1]Pos  = +0.+1.0Type = SelectValues = <<EOFOne  \,1Two  \,2Three\,3Four \,4Five \,5EOFHelp = "Select one value!"[Layout Label Inp_Select_2]Text = This field can also be filled with a SQL-StatementPos  = +0.+1+1.0[Layout Label Inp_Select_M_0]Text = Multiple Selection-FieldPos  = +1.0.0Bold = Yes[Layout Field Inp_Select_M_1]Pos  = +0.+1.0Type = SelectValues = <<EOFA\,First letterB\,Second letterC\,Third letterD\,Fourth letterEOFMultiple = YesRows = 3Help = "Select more values!"[Layout Label Inp_Select_M_2]Text = This field can also be filled with a SQL-StatementPos  = +0.+1+1.0[Layout Label Inp_Check_0]Text = CheckboxPos  = +1.0.0Bold = Yes[Layout Field Inp_Check_1]Pos  = +0.+1+2.0Type = CheckbuttonText = Press me!Help = "Here you can select yes or no!"[Layout Label Inp_Hidden_0]Text = Hidden-fieldPos  = +1.0.0Bold = Yes[Layout Label Inp_Hidden_1_0]Text = "Here comes the field -->"Pos  = +0.+1+2.0[Layout Field Inp_Hidden_1_1]Pos  = +0.+0.+1Type = HiddenHelp = "You can't enter data here!"[Layout Label Inp_Hidden_1_2]Text = "<--"Pos  = +0.+0.+1; [Layout Label Inp_Label_0]; Text = Label-field; Pos  = +1.0.0; Bold = Yes; [Layout Field Inp_Label_0]; Pos  = +0.+1+2.0; Type = Label; Text = "This field contains this text"[Layout Label Inp_Ref_0]Text = Link-fieldPos  = +1.0.0Bold = Yes[Layout Label Inp_Ref_1_0]Pos  = +0.+1+2.0Type = LabelText = "This field contains a link to myself"Ref  = "wwwdb://WWWdb:Demo:Example"[Layout Label Inp_Btn_0]Text = Submit-ButtonsPos  = +1.0.0Bold = Yes[Layout Field Inp_Btn_1_0]Pos  = +0.+1+2.0Type = BtnLabel = "Press me not!"

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -