「LiteSite/signup」修訂間的差異
跳至導覽
跳至搜尋
(→主程式) |
|||
| 第12行: | 第12行: | ||
====主程式==== | ====主程式==== | ||
#設定表名:$tbl=$prefix.'Signup'.$suffix; | #設定表名:$tbl=$prefix.'Signup'.$suffix; | ||
| − | #不使用欄:$dropField=array(…) | + | #安排欄屬性: |
| − | #必填欄:$mustField=array(…) | + | #*不使用欄:$dropField=array(…); |
| − | #多值欄:$bitCheckbox=array(); | + | #*必填欄:$mustField=array(…); |
| + | #*欄代名:$alias=array(…); | ||
| + | #設定欄的 formType | ||
| + | #*是否欄:$radioyn=array(); | ||
| + | #*核取欄:$checkbox=array(); | ||
| + | #*多值欄:$bitCheckbox=array(); | ||
| + | #條件字串: | ||
| + | #*是否帳號、email已存在 | ||
| + | #*是否email、密碼都對 | ||
| + | #由資料表衍生欄位陣列 $fields=array(欄名=>欄代名) | ||
| + | #設定提示字: | ||
| + | #*$surveyTitle | ||
| + | #*$FromName | ||
| + | #*$surveyExplain | ||
| + | #*$surveyShortTitle | ||
| + | #*$surveyQueryTitle | ||
| + | #*$surveySubmit | ||
| + | #*$surveyR0Msg | ||
| + | #*$surveyR1Msg | ||
| + | #*$surveyR2Msg | ||
| + | #*$surveyR3Msg | ||
| + | #*$surveyR4Msg | ||
| + | #*$surveyR5Msg | ||
| + | #*$surveyE1Msg | ||
| + | #*$surveyER0Msg | ||
| + | #*$surveyER1Msg | ||
| + | #*$surveyER2Msg | ||
| + | #*$surveyER3Msg | ||
| + | #*$surveyER4Msg | ||
| + | #*$surveyN1Msg | ||
| + | #*$surveyN2Msg | ||
| + | #*$surveyN3Msg | ||
| + | #調製調查問題 $surveyQuery=array() | ||
| + | #可套用選項:$options | ||
| + | #*$options['職業屬性'] | ||
| + | #*$options['city'] | ||
| + | #*$options['device'] | ||
| + | #*$options['OS'] | ||
| + | #*$options['學校職務'] | ||
| + | #*$options['rule'] | ||
| + | #phpmailer 路徑 | ||
| + | #$str | ||
| + | #*javascript | ||
| + | #*調查或報名相關說明 | ||
| + | #*表單前半 | ||
| + | #函式 basicInformation | ||
| + | #函式 surveyQuery | ||
於 2019年12月6日 (五) 11:39 的修訂
程式清單
signupCommon.php 設定檔 signup.php 連署人口程式 signupR.php 連署反應程式 signupPerson.php 連署自查介面
signupCommon.php
一表
$tbl
三表
主程式
- 設定表名:$tbl=$prefix.'Signup'.$suffix;
- 安排欄屬性:
- 不使用欄:$dropField=array(…);
- 必填欄:$mustField=array(…);
- 欄代名:$alias=array(…);
- 設定欄的 formType
- 是否欄:$radioyn=array();
- 核取欄:$checkbox=array();
- 多值欄:$bitCheckbox=array();
- 條件字串:
- 是否帳號、email已存在
- 是否email、密碼都對
- 由資料表衍生欄位陣列 $fields=array(欄名=>欄代名)
- 設定提示字:
- $surveyTitle
- $FromName
- $surveyExplain
- $surveyShortTitle
- $surveyQueryTitle
- $surveySubmit
- $surveyR0Msg
- $surveyR1Msg
- $surveyR2Msg
- $surveyR3Msg
- $surveyR4Msg
- $surveyR5Msg
- $surveyE1Msg
- $surveyER0Msg
- $surveyER1Msg
- $surveyER2Msg
- $surveyER3Msg
- $surveyER4Msg
- $surveyN1Msg
- $surveyN2Msg
- $surveyN3Msg
- 調製調查問題 $surveyQuery=array()
- 可套用選項:$options
- $options['職業屬性']
- $options['city']
- $options['device']
- $options['OS']
- $options['學校職務']
- $options['rule']
- phpmailer 路徑
- $str
- javascript
- 調查或報名相關說明
- 表單前半
- 函式 basicInformation
- 函式 surveyQuery