function build_board($board)
{
    build_padding();
    build_row($board[0], $board[1], $board[2]);
    build_line();
    build_row($board[3], $board[4], $board[5]);
    build_line();
    build_row($board[6], $board[7], $board[8]);
    build_padding();
}
Example #2
0
function groupstats_display()
{
    global $mybb, $db, $cache, $templates, $groupstats, $statlist, $maletot, $femaletot, $youthtot, $adulttot, $limitgroupcount;
    $maletot = $femaletot = $youthtot = $adulttot = $overalltot = $limitgroupcount = 0;
    $adultlimit = Stats::ADULTCAP;
    $youthlimit = Stats::YOUTHCAP;
    $rpg = new RPGSuite($mybb, $db, $cache);
    eval("\$statlist = \"\";");
    $rowcount = 0;
    foreach ($rpg->get_icgroups_members() as $id => $usergroup) {
        $statlist .= build_row($usergroup, $rowcount, $adultlimit, $youthlimit);
        $rowcount++;
    }
    $overalltot = $maletot + $femaletot;
    $grouplimit = ceil($overalltot / $adultlimit);
    eval("\$groupstats = \"" . $templates->get('rpggroupstats_full') . "\";");
}
Example #3
0
function blast_report($blast_ID)
{
    global $dbcon;
    $list = $dbcon->Execute("select message_ID from messages_to_contacts where blast_ID = {$blast_ID} ") or die('line 23' . $dbcon->ErrorMsg());
    $out .= "<table>";
    $out .= build_row('# of total message', $list->RecordCount());
    $out .= build_row('# of New', get_count($blast_ID, 'New'));
    $out .= build_row('# of Loaded', get_count($blast_ID, 'Loaded'));
    $out .= build_row('# of Currently Sending', get_count($blast_ID, 'Sending'));
    $out .= build_row('# of Sent', get_count($blast_ID, 'Done'));
    $out .= build_row('# of Bounced', get_count($blast_ID, 'Bounced'));
    #$out .= build_row('# of Pending', get_count($blast_ID,'Pending'));
    #$out .= build_row('# of Paused', get_count($blast_ID,'Paused'));
    #$out .= build_row('# of In-Progress', get_count($blast_ID,'In-Progress'));
    $out .= build_row('# of Server Failure', get_count($blast_ID, 'Server Failure'));
    $out .= build_row('# of Bad Address', get_count($blast_ID, 'Bad Address'));
    #$out .= build_row('# of Send Failed', get_count($blast_ID,'Failed'));
    #$out .= build_row('# of Failed', get_count($blast_ID,'Failed'));
    #$out .= build_row('# of Delayed', get_count($blast_ID,'Delayed'));
    #$out .= build_row('# of Testing', get_count($blast_ID,'Testing'));
    $out .= "</table>";
    return $out;
}
Example #4
0
         echo $row;
         $alt_row++;
         $dir_count++;
     } else {
         if (!isHidden($dir_list[$c][8])) {
             echo $row;
             $alt_row++;
             $dir_count++;
         }
     }
 }
 // if we aren't just displaying the directories for the move operation
 if (!isset($sess_Data["move_path"]) && !isset($sess_Data["copy_path"])) {
     // display the files next
     for ($d = 0; $d < count($file_list); $d++) {
         $built_data = build_row($show_col, $file_list[$d], "F");
         $row = display_row($built_data, $alt_class[$alt_row % 2], "");
         // if the user wants to show hiddens, display all files
         if ($personal["show_hidden"]) {
             echo $row;
             $alt_row++;
             $file_count++;
         } else {
             if (!isHidden($file_list[$d][8])) {
                 echo $row;
                 $alt_row++;
                 $file_count++;
             }
         }
     }
 }