示例#1
0
function view($data)
{
    startOfPage("esto es el view enrollment");
    siteTitle("Blackboard");
    p("Welcome to Blackboard - Select your subjects!");
    $history = $data["enrollments"];
    h1("Your Subjects");
    foreach ($history as $enrollment) {
        enrollments_render($enrollment);
    }
    endOfPage();
}
示例#2
0
function view($data)
{
    startOfPage("homeeeeee");
    startContent();
    siteTitle("Blackboard");
    p("Welcome to Blackboard - Please Log in !");
    users_renderLoginForm();
    echo "<p><a href= 'index.php?option=user&view=students_list' >List of students</a></p>";
    echo "<p><a href= 'index.php?option=subject&view=subjects_list''>List of subjects</a></p>";
    endContent();
    endOfPage();
}
示例#3
0
function view($data)
{
    startOfPage("homeeeeee");
    startContent();
    siteTitle("Blackboard");
    p("Welcome to Blackboard - Please Log in !");
    users_renderLoginForm();
    echo "<h3>If you want to change the title and subtitle do it now!</h3>";
    echo "<b><a href= 'editTitle.php' >Edit title</a></b>";
    endContent();
    endOfPage();
}
示例#4
0
function view($data)
{
    startOfPage("subjectsss en view subdetail");
    startContent();
    siteTitle("Blackboard");
    p("Welcome to Blackboard - Please Log in and select your subjects!");
    $subject = $data["subjects"];
    if (!empty($subject)) {
        subjects_render($subject);
    }
    endContent();
    endOfPage();
}
示例#5
0
function view($data)
{
    startOfPage();
    startContent();
    siteTitle("Blackboard");
    p("Welcome to Blackboard");
    $subjects = $data["subjects"];
    if (!empty($subjects)) {
        foreach ($subjects as $subject) {
            subjects_render($subject);
        }
    }
    endContent();
    endOfPage();
}
示例#6
0
function view($data)
{
    startOfPage("students list vieww");
    startContent();
    siteTitle("Blackboard");
    p("Welcome to Blackboard - Please Log in !");
    $students = $data["users"];
    if (!empty($students)) {
        h2("List of students:");
        foreach ($students as $student) {
            students_render($student);
        }
        h2("List of professors:");
        foreach ($students as $student) {
            professors_render($student);
        }
    }
    endContent();
    endOfPage();
}
示例#7
0
echo siteTitle();
?>
</title>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
		<?php 
call_anchor("css_frontend");
call_anchor("js_frontend");
?>
	</head>
	<body>
		<div id="header">
			<div id="title">
				<a href="<?php 
echo linkToSite();
?>
"><?php 
echo siteTitle();
?>
</a>
			</div>
			<div id="menu">
				<?php 
echo pageList();
?>
				<?php 
echo projectList();
?>
			</div>
		</div>
		<div id="main">
			<div id="content">
示例#8
0
<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="generator" content="IsVipi OSSN">
    <title><?php 
siteTitle($p);
?>
</title>
    <!-- Tell the browser to be responsive to screen width -->
    <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
    <!-- core CSS -->
    <link href="<?php 
echo ISVIPI_STYLE_URL . 'default/css/bootstrap.min.css';
?>
" rel="stylesheet">
    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css">
    <link rel="stylesheet" href="https://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css">
    <link href="<?php 
echo ISVIPI_STYLE_URL . 'default/css/home.css';
?>
" rel="stylesheet">
    <link href="<?php 
echo ISVIPI_STYLE_URL . 'default/css/home-blue.css';
?>
" rel="stylesheet">
    <link href="<?php 
echo ISVIPI_STYLE_URL . 'plugins/datepicker/jquery.datetimepicker.css';
?>
" rel="stylesheet">
示例#9
0
<?php

define("true-access", true);
include_once "components/user/model/common.php";
include_once "layoutInstall/common.php";
startOfPage("Blackboard site");
startContent();
siteTitle("Blackboard");
h2("Welcome to Blackboard - Please Install your database!");
define("form_host", "host");
define("form_user", "user");
define("form_password", "password");
define("form_database", "database");
function display_installation_form()
{
    echo '<form enctype="multipart/form-data" method="POST" action="">' . PHP_EOL;
    echo '<table>';
    echo '<tr><td><b>Host Name:<b/></td></tr>' . PHP_EOL;
    echo '<tr><td><textarea type="textfield" rows="1" cols="40"name="' . form_host . '" placeholder="enter host"></textarea></td></tr>' . PHP_EOL;
    echo '<tr><td><b>User Name:<b/></td></tr>' . PHP_EOL;
    echo '<tr><td><textarea type="textfield" rows="1" cols="40" name="' . form_user . '" placeholder="enter user"></textarea></td></tr>' . PHP_EOL;
    echo '<tr><td><b>Password:<b/></td></tr>' . PHP_EOL;
    echo '<tr><td><textarea type="textfield" rows="1" cols="40" name="' . form_password . '" placeholder="enter password"></textarea></td></tr>' . PHP_EOL;
    echo '<tr><td><b>Database Name:<b/></td></tr>' . PHP_EOL;
    echo '<tr><td><textarea type="textfield" rows="1" cols="40" name="' . form_database . '" placeholder="enter database name"></textarea></td></tr>' . PHP_EOL;
    echo '</table>';
    echo '<input type="submit"  name="submit" value="Submit"/> ' . PHP_EOL;
    echo '</form>' . PHP_EOL;
    if (!empty($_POST["submit"]) && (empty($_POST[form_host]) || empty($_POST[form_user]) || empty($_POST[form_password]) || empty($_POST[form_database]))) {
        echo '<p style="color: red;">Please enter all the required data</p>' . PHP_EOL;
    }