Пример #1
0
<form class="form-horizontal form-label-left" novalidate>
<div class="row">
    <div class="col-md-12 col-sm-12 col-xs-12">
        <div class="x_panel">
            <div class="x_content">
            <label id="test"></label>
                <table id="example" class="table table-striped responsive-utilities jambo_table">
                    <thead>
                        <tr class="headings">
                             <th>Course Name</th>
                             <th>Total Users</th>
                        </tr>
                    </thead>
                    <tbody>
                    <?php 
$resulttopic = select_Domain();
$course = null;
$totalInteresr = 0;
while ($rowtopic = $resulttopic->fetch_assoc()) {
    $data[] = $rowtopic['topic_Name'];
}
foreach ($data as $key => $value) {
    $result4 = getUserCourseInterest($value);
    $row = $result4->fetch_assoc();
    $totalCourseCount[] = $row['total'];
    $coursename[] = $value;
    $totalCourseCountcopy[] = $row['total'];
}
sort($totalCourseCount);
$totalCourseCount = array_reverse($totalCourseCount);
foreach ($totalCourseCount as $key => $value) {
Пример #2
0
                    </div>
            </form>
        </div>
        </div>
    <div role="tabpanel" class="tab-pane fade" id="tab_content4" aria-labelledby="profile-tab">
        <div class="x_content">

            <form class="form-horizontal form-label-left" action="examDetails.php" method="POST" novalidate>

            <div class="item form-group">
                <label class="control-label col-md-3 col-sm-3 col-xs-12" for="topicId">Select Course Name <span class="required">*</span>
                </label>
                <div class="col-md-6 col-sm-6 col-xs-12">
                    <select id="topicId" name="topicId" class="form-control" required>
                    <?php 
$result = select_Domain();
while ($row = $result->fetch_assoc()) {
    //var_dump($row);
    echo "<option>" . $row["topic_Name"] . "</option>";
}
?>
                    </select>
                </div>
            </div>
            <div class="item form-group">
                <label class="control-label col-md-3 col-sm-3 col-xs-12" for="Edate">Exam Date<span class="required">*</span>
                </label>
                    <div class="control-group">
                        <div class="controls">
                            <div class="col-md-6 col-sm-6 col-xs-12 has-feedback">
                                <input type="text" name="Edate" class="form-control has-feedback-right col-md-7 col-xs-12" id="Edate" placeholder="select Date" aria-describedby="inputSuccess2Status">