Example #1
0
                $t->set("Team Name");
                $t->set("Team Role");
                $t->set("Username");
                $t->set("Password");
                $lc = count($lines);
                for ($lineno = 0; $lineno < $lc; $lineno++) {
                    $l =& $lines[$lineno];
                    $t->row($lineno + 1);
                    $t->set($l[0]);
                    $t->set($l[1]);
                    $t->set($l[2]);
                    $t->set($l[3]);
                    $t->set($l[4]);
                    $t->set($l[5]);
                }
                $t->dump();
                ?>

					<p>

					<?php 
                if ($errcount < 1) {
                    ?>
						<div style="border: solid 2px red; text-align: center; padding: 10px; background-color: yellow;">
						<h2>***** WARNING! ***** </h2>
						Clicking this button will remove any and all previously
						configured student accounts before loading the new ones.
						Please verify that everything is as you want it before clicking
						"Create These Students and Teams".
						</div>
						<p>
Example #2
0
    }
    foreach ($o as $t => $v) {
        if ($t == "decision") {
            $tbl->set($v);
        } else {
            $class = "set_zero";
            if ($v < 0) {
                $class = "set_neg";
            }
            if ($v > 0) {
                $class = "set_pos";
            }
            $dec = $o->decision;
            $minus = "<a href='javascript:set(\"{$dec}\", \"{$t}\", -1)'>&lt;</a>";
            $vv = "<span class='{$class}' id='{$dec}{$t}'>{$v}</span>";
            $plus = "<a href='javascript:set(\"{$dec}\", \"{$t}\", 1)'>&gt;</a>";
            $tbl->set("{$minus}{$vv}{$plus}");
        }
    }
    $row++;
    $tbl->nextrow();
}
$tbl->dump();
?>



		</center>
	</div>