Exemplo n.º 1
0
</option>
									<option value="Other Guest"><?php 
                print _('Other Guest');
                ?>
</option>
								</select>
							</td>
						</tr>
						<tr>
							<td>
								<span style="font-size: 90%"><i>* <?php 
                print _("denotes a required field");
                ?>
</i></span>
							</td>
							<td class="right">
								<input type="submit" value="<?php 
                print _("Submit");
                ?>
">
							</td>
						</tr>
					</table>
				</form>
				<?php 
            }
        }
        //Print sidebar
        $_SESSION[$guid]["sidebarExtra"] = sidebarExtra($guid, $connection2, $todayStamp, $_SESSION[$guid]["gibbonPersonID"], $dateStamp, $gibbonCourseClassID);
    }
}
Exemplo n.º 2
0
                                    $selected = "selected";
                                }
                            }
                            print "<option {$selected} value='" . $rowSelect["gibbonScaleGradeID"] . "'>" . htmlPrep(_($rowSelect["value"])) . "</option>";
                        }
                        print "</select>";
                        print "</td>";
                    }
                }
                ?>
						<tr>
							<td colspan=2 class="right">
								<input name="count" id="count" value="<?php 
                print $count;
                ?>
" type="hidden">
								<input type="submit" value="<?php 
                print _("Submit");
                ?>
">
							</td>
						</tr>
						<?php 
                print "</table>";
                print "</form>";
            }
        }
        //Print sidebar
        $_SESSION[$guid]["sidebarExtra"] = sidebarExtra($guid, $connection2, $gibbonCourseClassID);
    }
}
Exemplo n.º 3
0
                    print "<i>" . _('All Years') . "</i>";
                } else {
                    $count3 = 0;
                    $count4 = 0;
                    while ($rowYears = $resultYears->fetch()) {
                        for ($i = 0; $i < count($years); $i++) {
                            if ($rowYears["gibbonYearGroupID"] == $years[$i]) {
                                if ($count3 > 0 and $count4 > 0) {
                                    print ", ";
                                }
                                print _($rowYears["nameShort"]);
                                $count4++;
                            }
                        }
                        $count3++;
                    }
                }
            } else {
                print "<i>" . _('None') . "</i>";
            }
            print "</td>";
            print "</tr>";
        }
        print "</table>";
        if ($result->rowCount() > $_SESSION[$guid]["pagination"]) {
            printPagination($guid, $result->rowCount(), $page, $_SESSION[$guid]["pagination"], "bottom");
        }
    }
    //Print sidebar
    $_SESSION[$guid]["sidebarExtra"] = sidebarExtra($guid, $connection2);
}