I:\Timism.org\Brainbees\Grassroots_Logic_Flow_Outline.htm
Grassroots Outline
-
prep: Test_single_insert_ZZ
-
For Loops=?? {
-
fxBrainbeesTests("Submit_single_test_row","","",""); #test insert
-
fxSignup(MemberID_insert)
-
fxBrainbees("Insert_new_submitter_in_BB_dbTable","Votes1","","");
-
Insert submission
-
fxBrainbeesTests("Votes_test","Votes1",; #BBLevel=1 if ZZ
-
if (($Submitter%(7**1)==0) and
($Submitter>0)){ #make ballot,not results
-
$BBL+=1;
-
fxBrainbees("Ballot_Email_and_BrainbeeToDo","Results_Grassroots","","Test_BBs.php");
-
fxBrainbees("Ballot_Creation"
-
(FirstRec,LastRec,Range)
-
fxBrainbees("EmailHeader_From_To_Subject","Ballots"
-
fxBrainbees("Ballot_Message_header","","","");
-
fxBrainbees("Ballot_Creation_Voting_Form
-
fxBrainbees("Email_Just_Classroom","Ballots",
-
fxBrainbees("BrainbeesToDo_Insert" (no fx called)
-
$BBL=1; #reset}
-
else{
-
mysqli_close($con); #Not enough submissions for Ballot}
-
fxBrainbees("BrainbeesToDo; #analyze BrainbeesToDo [393]
-
Prep [400]
-
get $BrainbeesToDo (row_active)
-
While rows_active=mysqi_fetch_array
-
Actionable: Deadline or Max
-
fxBrainbees(Results_Grassroots)
-
if(RowCount_LastResults%(7*$BBL
-
fxBrainbees(NextLevel_Brainbee
-
fxBrainbees(NextLevel_Brainbee_Range_from_WinnersColumn
-
fxBrainbees(Ballot_Creation,
-
fxBrainbees(BrainbeesToDo_Insert,Active
-
BBLevel=1 (reset)
-
} end loops
-
die(end of file)