示例#1
0
文件: stats.php 项目: rokkit/Ifmo-ais
                                        <hr>
                                        <div class="span6">
                                            <h3 style="margin-bottom: 30px;">Анализ соответствия количества учебных часов</h3>
                                            <div id="holder-hours-chart" style="height: 200px;">

                                            </div>

                                        </div>
                                        <div class="span4 chart-filter">
                                            <label for="discipline">
                                                Дисциплина
                                            </label>
                                            <select id="discipline">
                                                <option>Пусто</option>
                                                <?php 
$result = mysql_query("SELECT distinct name FROM discipline", connectToIfmoDb()) or die(mysql_error());
while ($temp = mysql_fetch_array($result)) {
    echo "<option value='" . $temp[0] . "'>{$temp['0']}</option>";
}
mysql_close();
?>
                                            </select>
                                        </div>

                                    </div>
                                </div>
                                <script>
                                    $(function(){
                                        $.getJSON("/php_script/StudentService/get_stats.php", {}, function(json){
                                            drawWebChart(150,2,json,{"stroke-width": 0.8},
                                                {stroke:"05C","stroke-width": 2});
示例#2
0
           data-original-title="Внимание"><i class="icon-ok icon-white"></i>Подать заявку</a>
    </div>
    <script>
    $(function(){
        $("#do-choose").popover();
    })
    </script>

  </div>
</div>
<div class="row points-row">
    <div id="points-table" class="span7">
<h2>Ваши оценки за первый курс</h2>
<div class="points">
    <?php 
$ifmodb = connectToIfmoDb();
$fspodb = connectToFspoDB();
$student_id = $_SESSION['user_id'];
$transfers = Trans::getTransfersByIdDirection($direction->id);
$disciplines = Trans::getDisciplinesByDirection($direction->id, $ifmodb);
$student = Student::getStudentById($student_id);
?>
    <div id="stud-predmet">
        <table class="table table-bordered" id="stud-subject-table">
            <thead>
                <tr>
                    <th>Предмет СПО</th>
                    <th>Оценка</th>
                    <th>Предмет ВПО</th>
                </tr>
            </thead>