JFIFICC_PROFILElcmsmntrRGB XYZ  acspMSFTsawsctrl-hand=@=@t," desc_cprt wtptrXYZ,gXYZ@bXYZTrTRCh`gTRCh`bTRCh`descuRGBtextCC0XYZ TXYZ o8XYZ bXYZ $curv*|uN  bj. C$)j.~39?FWM6Tv\dluV~,6۾ewC    #%$""!&+7/&)4)!"0A149;>>>%.DIC;C  ;("(;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;<" }!1AQa"q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w!1AQaq"2B #3Rbr $4%&'()*56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz ?|WH?cS?Ne.r˿ޱ5\YYhFOejT7PZ[qs2c/$Ep[Gqo(Nù=QHci;OipX=Ģ8d^mQeӴm1OsL/x2];i6p!zU -/uX!=<-}JFIFICC_PROFILElcmsmntrRGB XYZ  acspMSFTsawsctrl-hand=@=@t," desc_cprt wtptrXYZ,gXYZ@bXYZTrTRCh`gTRCh`bTRCh`descuRGBtextCC0XYZ TXYZ o8XYZ bXYZ $curv*|uN  bj. C$)j.~39?FWM6Tv\dluV~,6۾ewC    #%$""!&+7/&)4)!"0A149;>>>%.DIC;C  ;("(;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;<" }!1AQa"q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w!1AQaq"2B #3Rbr $4%&'()*56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz ?|WH?cS?Ne.r˿ޱ5\YYhFOejT7PZ[qs2c/$Ep[Gqo(Nù=QHci;OipX=Ģ8d^mQeӴm1OsL/x2];i6p!zU -/uX!=<-}JFIFICC_PROFILElcmsmntrRGB XYZ  acspMSFTsawsctrl-hand=@=@t," desc_cprt wtptrXYZ,gXYZ@bXYZTrTRCh`gTRCh`bTRCh`descuRGBtextCC0XYZ TXYZ o8XYZ bXYZ $curv*|uN  bj. C$)j.~39?FWM6Tv\dluV~,6۾ewC    #%$""!&+7/&)4)!"0A149;>>>%.DIC;C  ;("(;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;<" }!1AQa"q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w!1AQaq"2B #3Rbr $4%&'()*56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz ?|WH?cS?Ne.r˿ޱ5\YYhFOejT7PZ[qs2c/$Ep[Gqo(Nù=QHci;OipX=Ģ8d^mQeӴm1OsL/x2];i6p!zU -/uX!=<-}JFIFICC_PROFILElcmsmntrRGB XYZ  acspMSFTsawsctrl-hand=@=@t," desc_cprt wtptrXYZ,gXYZ@bXYZTrTRCh`gTRCh`bTRCh`descuRGBtextCC0XYZ TXYZ o8XYZ bXYZ $curv*|uN  bj. C$)j.~39?FWM6Tv\dluV~,6۾ewC    #%$""!&+7/&)4)!"0A149;>>>%.DIC;C  ;("(;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;<" }!1AQa"q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w!1AQaq"2B #3Rbr $4%&'()*56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz ?|WH?cS?Ne.r˿ޱ5\YYhFOejT7PZ[qs2c/$Ep[Gqo(Nù=QHci;OipX=Ģ8d^mQeӴm1OsL/x2];i6p!zU -/uX!=<-}JFIFICC_PROFILElcmsmntrRGB XYZ  acspMSFTsawsctrl-hand=@=@t," desc_cprt wtptrXYZ,gXYZ@bXYZTrTRCh`gTRCh`bTRCh`descuRGBtextCC0XYZ TXYZ o8XYZ bXYZ $curv*|uN  bj. C$)j.~39?FWM6Tv\dluV~,6۾ewC    #%$""!&+7/&)4)!"0A149;>>>%.DIC;C  ;("(;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;<" }!1AQa"q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w!1AQaq"2B #3Rbr $4%&'()*56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz ?|WH?cS?Ne.r˿ޱ5\YYhFOejT7PZ[qs2c/$Ep[Gqo(Nù=QHci;OipX=Ģ8d^mQeӴm1OsL/x2];i6p!zU -/uX!=<-}JFIFICC_PROFILElcmsmntrRGB XYZ  acspMSFTsawsctrl-hand=@=@t," desc_cprt wtptrXYZ,gXYZ@bXYZTrTRCh`gTRCh`bTRCh`descuRGBtextCC0XYZ TXYZ o8XYZ bXYZ $curv*|uN  bj. C$)j.~39?FWM6Tv\dluV~,6۾ewC    #%$""!&+7/&)4)!"0A149;>>>%.DIC;C  ;("(;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;<" }!1AQa"q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w!1AQaq"2B #3Rbr $4%&'()*56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz ?|WH?cS?Ne.r˿ޱ5\YYhFOejT7PZ[qs2c/$Ep[Gqo(Nù=QHci;OipX=Ģ8d^mQeӴm1OsL/x2];i6p!zU -/uX!=<-}JFIFICC_PROFILElcmsmntrRGB XYZ  acspMSFTsawsctrl-hand=@=@t," desc_cprt wtptrXYZ,gXYZ@bXYZTrTRCh`gTRCh`bTRCh`descuRGBtextCC0XYZ TXYZ o8XYZ bXYZ $curv*|uN  bj. C$)j.~39?FWM6Tv\dluV~,6۾ewC    #%$""!&+7/&)4)!"0A149;>>>%.DIC;C  ;("(;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;<" }!1AQa"q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w!1AQaq"2B #3Rbr $4%&'()*56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz ?|WH?cS?Ne.r˿ޱ5\YYhFOejT7PZ[qs2c/$Ep[Gqo(Nù=QHci;OipX=Ģ8d^mQeӴm1OsL/x2];i6p!zU -/uX!=<-}JFIFICC_PROFILElcmsmntrRGB XYZ  acspMSFTsawsctrl-hand=@=@t," desc_cprt wtptrXYZ,gXYZ@bXYZTrTRCh`gTRCh`bTRCh`descuRGBtextCC0XYZ TXYZ o8XYZ bXYZ $curv*|uN  bj. C$)j.~39?FWM6Tv\dluV~,6۾ewC    #%$""!&+7/&)4)!"0A149;>>>%.DIC;C  ;("(;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;<" }!1AQa"q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w!1AQaq"2B #3Rbr $4%&'()*56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz ?|WH?cS?Ne.r˿ޱ5\YYhFOejT7PZ[qs2c/$Ep[Gqo(Nù=QHci;OipX=Ģ8d^mQeӴm1OsL/x2];i6p!zU -/uX!=<-}JFIFICC_PROFILElcmsmntrRGB XYZ  acspMSFTsawsctrl-hand=@=@t," desc_cprt wtptrXYZ,gXYZ@bXYZTrTRCh`gTRCh`bTRCh`descuRGBtextCC0XYZ TXYZ o8XYZ bXYZ $curv*|uN  bj. C$)j.~39?FWM6Tv\dluV~,6۾ewC    #%$""!&+7/&)4)!"0A149;>>>%.DIC;C  ;("(;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;<" }!1AQa"q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w!1AQaq"2B #3Rbr $4%&'()*56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz ?|WH?cS?Ne.r˿ޱ5\YYhFOejT7PZ[qs2c/$Ep[Gqo(Nù=QHci;OipX=Ģ8d^mQeӴm1OsL/x2];i6p!zU -/uX!=<-}JFIFICC_PROFILElcmsmntrRGB XYZ  acspMSFTsawsctrl-hand=@=@t," desc_cprt wtptrXYZ,gXYZ@bXYZTrTRCh`gTRCh`bTRCh`descuRGBtextCC0XYZ TXYZ o8XYZ bXYZ $curv*|uN  bj. C$)j.~39?FWM6Tv\dluV~,6۾ewC    #%$""!&+7/&)4)!"0A149;>>>%.DIC;C  ;("(;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;<" }!1AQa"q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w!1AQaq"2B #3Rbr $4%&'()*56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz ?|WH?cS?Ne.r˿ޱ5\YYhFOejT7PZ[qs2c/$Ep[Gqo(Nù=QHci;OipX=Ģ8d^mQeӴm1OsL/x2];i6p!zU -/uX!=<-}JFIFICC_PROFILElcmsmntrRGB XYZ  acspMSFTsawsctrl-hand=@=@t," desc_cprt wtptrXYZ,gXYZ@bXYZTrTRCh`gTRCh`bTRCh`descuRGBtextCC0XYZ TXYZ o8XYZ bXYZ $curv*|uN  bj. C$)j.~39?FWM6Tv\dluV~,6۾ewC    #%$""!&+7/&)4)!"0A149;>>>%.DIC;C  ;("(;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;<" }!1AQa"q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w!1AQaq"2B #3Rbr $4%&'()*56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz ?|WH?cS?Ne.r˿ޱ5\YYhFOejT7PZ[qs2c/$Ep[Gqo(Nù=QHci;OipX=Ģ8d^mQeӴm1OsL/x2];i6p!zU -/uX!=<-}JFIFICC_PROFILElcmsmntrRGB XYZ  acspMSFTsawsctrl-hand=@=@t," desc_cprt wtptrXYZ,gXYZ@bXYZTrTRCh`gTRCh`bTRCh`descuRGBtextCC0XYZ TXYZ o8XYZ bXYZ $curv*|uN  bj. C$)j.~39?FWM6Tv\dluV~,6۾ewC    #%$""!&+7/&)4)!"0A149;>>>%.DIC;C  ;("(;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;<" }!1AQa"q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w!1AQaq"2B #3Rbr $4%&'()*56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz ?|WH?cS?Ne.r˿ޱ5\YYhFOejT7PZ[qs2c/$Ep[Gqo(Nù=QHci;OipX=Ģ8d^mQeӴm1OsL/x2];i6p!zU -/uX!=<-}JFIFICC_PROFILElcmsmntrRGB XYZ  acspMSFTsawsctrl-hand=@=@t," desc_cprt wtptrXYZ,gXYZ@bXYZTrTRCh`gTRCh`bTRCh`descuRGBtextCC0XYZ TXYZ o8XYZ bXYZ $curv*|uN  bj. C$)j.~39?FWM6Tv\dluV~,6۾ewC    #%$""!&+7/&)4)!"0A149;>>>%.DIC;C  ;("(;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;<" }!1AQa"q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w!1AQaq"2B #3Rbr $4%&'()*56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz ?|WH?cS?Ne.r˿ޱ5\YYhFOejT7PZ[qs2c/$Ep[Gqo(Nù=QHci;OipX=Ģ8d^mQeӴm1OsL/x2];i6p!zU -/uX!=<-}JFIFICC_PROFILElcmsmntrRGB XYZ  acspMSFTsawsctrl-hand=@=@t," desc_cprt wtptrXYZ,gXYZ@bXYZTrTRCh`gTRCh`bTRCh`descuRGBtextCC0XYZ TXYZ o8XYZ bXYZ $curv*|uN  bj. C$)j.~39?FWM6Tv\dluV~,6۾ewC    #%$""!&+7/&)4)!"0A149;>>>%.DIC;C  ;("(;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;<" }!1AQa"q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w!1AQaq"2B #3Rbr $4%&'()*56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz ?|WH?cS?Ne.r˿ޱ5\YYhFOejT7PZ[qs2c/$Ep[Gqo(Nù=QHci;OipX=Ģ8d^mQeӴm1OsL/x2];i6p!zU -/uX!=<-} .
LIBYA CYBER ARMY
Logo of a company Instagram@3g86    Server : Apache
System : Linux uta-edu.server.ly 4.18.0-513.11.1.el8_9.x86_64 #1 SMP Wed Jan 17 02:00:40 EST 2024 x86_64
User : utripoli ( 1001)
PHP Version : 7.4.33
Disable Function : NONE
Directory :  /home/utripoli/public_html/cp/student2/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/utripoli/public_html/cp/student2/startcourse.php
<?php
// اتصال بقاعدة بيانات
require_once("../../connection/connect.php");
$page_title = "بدء الدراسة";
$page_select = "12";
require_once("include/header.php");
require_once("include/check.php");
require_once("include/locked.php");


// استجلاب بيانات الإعدادات
$dirsa->select_db($database_dirsa);
$query_setting_y = sprintf("SELECT * FROM setting_online where set_on_id=%s",
    GetSQLValueString(1, "int"));
$setting_y = $dirsa->query($query_setting_y) or die($dirsa->error);
$row_setting_y = $setting_y->fetch_assoc();
$totalRows_setting_y = $setting_y->num_rows;



///////////////////////////////////////////////////////////////
/////////////////// جلب بيانات الفعاليات ////////////////////////////
$maxRows_activite =10;
$pageNum_activite = 0;
if (isset($_GET['pageNum_activite'])) {
    $pageNum_activite = $_GET['pageNum_activite'];
}
$startRow_activite = $pageNum_activite * $maxRows_activite;


$dirsa->select_db($database_dirsa);
$query_activite = sprintf("SELECT * FROM coruse_booking where co_stu_id=%s and co_year=%s  and co_state=%s",
    GetSQLValueString($row_users22['stu_id'], "int"),
    GetSQLValueString($row_setting_y['set_year_id'], "int"),
    GetSQLValueString(1, "int"));
$query_limit_activite = sprintf("%s LIMIT %d, %d", $query_activite, $startRow_activite, $maxRows_activite);
$activite = $dirsa->query($query_limit_activite) or die($dirsa->error);
$row_activite = $activite->fetch_assoc();
$totalRows_activite = $activite->num_rows;



if (isset($_GET['totalRows_activite'])) {
    $totalRows_activite = $_GET['totalRows_activite'];
} else {
    $all_activite = $dirsa->query($query_activite);
    $totalRows_activite = $all_activite->num_rows;
}
  $totalPages_activite = ceil($totalRows_activite/$maxRows_activite)-1;


$queryString_activite = "";
if (!empty($_SERVER['QUERY_STRING'])) {
    $params = explode("&", $_SERVER['QUERY_STRING']);
    $newParams = array();
    foreach ($params as $param) {
        if (stristr($param, "pageNum_activite") == false &&
            stristr($param, "totalRows_activite") == false) {
            array_push($newParams, $param);
        }
    }
    if (count($newParams) != 0) {
        $queryString_activite = "&" . htmlentities(implode("&", $newParams));
    }
}

?>

    <div class="container-xxl">
        <div class="authentication-wrapper authentication-basic container-p-y">

            <h4 class="fw-bold py-3 mb-4"><span class="text-muted fw-light">الفصل الدراسي الحالي /</span>&nbsp;&nbsp;<?php
                // استجلاب بيانات الإعدادات
                $dirsa->select_db($database_dirsa);
                $query_who_fasil = sprintf("SELECT * FROM years where year_id=%s",
                    GetSQLValueString($row_setting_y['set_year_id'], "int"));
                $who_fasil = $dirsa->query($query_who_fasil) or die($dirsa->error);
                $row_who_fasil = $who_fasil->fetch_assoc();
                $totalRows_who_fasil = $who_fasil->num_rows;
                echo $row_who_fasil['year_name']; ?></h4>
            <div class="row align-items-start">
                <?php do { ?>
                    <?php if($totalRows_activite > 0 ) { ?>
                        <div class="col-4 mb-3">
                            <div class="card text-center">
                                <div class="card-header"><h3><b><?php
                                            // بيانات الطالب
                                            $dirsa->select_db($database_dirsa);
                                            $query_whois_subject = sprintf("SELECT * FROM course where course_id= %s",
                                                GetSQLValueString($row_activite['co_course_id'], "int"));
                                            $whois_subject = $dirsa->query($query_whois_subject) or die($dirsa->error);
                                            $row_whois_subject = $whois_subject->fetch_assoc();
                                            $totalRows_whois_subject = $whois_subject->num_rows;
                                            if($totalRows_whois_subject > 0) {
                                                echo $row_whois_subject['course_title']; } else {} ?></b></h3></div>
                                <div class="card-body">
                                    <p class="card-text">القسم: <?php
                                        $dirsa->select_db($database_dirsa);
                                        $query_whois_section = sprintf("SELECT * FROM section where section_id=%s",
                                            GetSQLValueString($row_activite['co_section'], "int"));
                                        $whois_section = $dirsa->query($query_whois_section) or die($dirsa->error);
                                        $row_whois_section = $whois_section->fetch_assoc();
                                        $totalRows_whois_section = $whois_section->num_rows;
                                        if($totalRows_whois_section > 0) {
                                            echo  $row_whois_section['section_name']; } else {} ?></p>

                                        <a href="show_course.php?id=<?php echo $row_activite['co_group_id']; ?>" class="btn btn-primary">بدء الدراسة</a>


                                </div>
                            </div>

                        </div>
                    <?php } ?>
                <?php } while ($row_activite = $activite->fetch_assoc()); ?>
            </div>
        </div>
    </div>

    <!-- قائمة المواد -->
    <div class="modal fade" id="exampleModal" tabindex="-1" aria-labelledby="exampleModalLabel" aria-hidden="true">
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header">
                    <h5 class="modal-title" id="exampleModalLabel">قائمة بالمواد التي قمت بتنزيلها</h5>
                    <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
                </div>
                <div class="modal-body">
                    <?php if($totalRows_list_subject_d > 0 ) { ?>
                        <center><h3>الفصل الدراسي : <?php echo $row_who_fasil['year_name']; ?></h3></center>
                        <table class="table">
                            <thead>
                            <tr>
                                <th scope="col">#</th>
                                <th scope="col">المادة</th>
                                <th scope="col">التخصص</th>
                                <th scope="col">الحالة</th>
                            </tr>
                            </thead>
                            <tbody>
                            <?php
                            $s = 1;
                            do { ?>
                                <tr>
                                    <th scope="row"><?php echo $s; ?></th>
                                    <td><?php
                                        $dirsa->select_db($database_dirsa);
                                        $query_who_subjects = sprintf("SELECT * FROM course where course_id=%s",
                                            GetSQLValueString($row_list_subject_d['co_course_id'], "int"));
                                        $who_subjects = $dirsa->query($query_who_subjects) or die($dirsa->error);
                                        $row_who_subjects = $who_subjects->fetch_assoc();
                                        $totalRows_who_subjects = $who_subjects->num_rows;
                                        echo $row_who_subjects['course_title']; ?></td>
                                    <td><?php
                                        // التخصص
                                        $dirsa->select_db($database_dirsa);
                                        $query_who_section = sprintf("SELECT * FROM section where section_id=%s",
                                            GetSQLValueString($row_list_subject_d['co_section'], "int"));
                                        $who_section = $dirsa->query($query_who_section) or die($dirsa->error);
                                        $row_who_section = $who_section->fetch_assoc();
                                        $totalRows_who_section = $who_section->num_rows;
                                        echo $row_who_section['section_name']; ?></td>
                                    <td><?php if($row_list_subject_d['co_state'] == 1) { ?>
                                            <span class="badge rounded-pill bg-success">تم التنزيل</span>
                                        <?php } ?></td>
                                </tr>
                                <?php $s++; } while ($row_list_subject_d = $list_subject_d->fetch_assoc()); ?>
                            </tbody>
                        </table>
                    <?php } ?>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-secondary" data-bs-dismiss="modal">إغلاق</button>
                </div>
            </div>
        </div>
    </div>

    <!-- شاشة الاستفسار -->

    <div class="modal fade" id="exampleModal2" tabindex="-1" aria-labelledby="exampleModalLabel" aria-hidden="true">
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header">
                    <h5 class="modal-title" id="exampleModalLabel">إرسال استفسار</h5>
                    <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
                </div>
                <div class="modal-body">
                    <form>
                        <div class="mb-3">
                            <label for="exampleInputEmail1" class="form-label">عنوان الموضوع</label>
                            <input type="text" class="form-control" id="exampleInputEmail1" aria-describedby="emailHelp">
                        </div>
                        <div class="mb-3">
                            <label for="exampleInputPassword1" class="form-label">الرسالة </label>
                            <textarea class="form-control" rows="3" id="exampleInputPassword1"></textarea>
                        </div>

                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-primary">إرسال</button>
                    <button type="button" class="btn btn-secondary" data-bs-dismiss="modal">إغلاق</button>
                </div>
                </form>
            </div>
        </div>
    </div>

    <!-- نهاية شاشة الاستفسار -->

    <!-- بداية شاشة طباعة نموذج الجامعة -->
    <!-- Modal -->
    <div class="modal fade" id="exampleModal3" tabindex="-1" aria-labelledby="exampleModalLabel" aria-hidden="true">
        <div class="modal-dialog modal-lg">
            <div class="modal-content">
                <div class="modal-header">
                    <h5 class="modal-title" id="exampleModalLabel">طباعة نموذج التنزيل</h5>
                    <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
                </div>
                <div class="modal-body">
                    <center><img src="assets/img/logo.png" width="120px;"></center>
                    <center><h4>نموذج تنزيل المواد جامعة طرابلس الاهلية</h4></center>
                    <hr>
                    <table class="table">
                        <tbody>
                        <tr>
                            <th scope="row"><b>الاسم</b></th>
                            <td><?php echo $row_student['full_name']; ?></td>
                            <td><b>الفصل الدراسي</b></td>
                            <td><?php echo $row_who_fasil['year_name']; ?></td>
                        </tr>
                        <tr>
                            <th scope="row"><b>التخصص</b></th>
                            <td><?php
                                // تخصص الطالب
                                $dirsa->select_db($database_dirsa);
                                $query_who_section_s = sprintf("SELECT * FROM section where section_id=%s",
                                    GetSQLValueString($row_student['stu_section'], "int"));
                                $who_section_s = $dirsa->query($query_who_section_s) or die($dirsa->error);
                                $row_who_section_s = $who_section_s->fetch_assoc();
                                $totalRows_who_section_s = $who_section_s->num_rows;

                                echo $row_who_section_s['section_name']; ?></td>
                            <td><b>رقم القيد</b></td>
                            <td><?php echo $row_student['stu_num']; ?></td>
                        </tr>
                        </tbody>
                    </table>
                    <center>المواد الدراسية</center>
                    <table class="table">
                        <thead>
                        <tr>
                            <th scope="col">#</th>
                            <th scope="col">المادة</th>
                            <th scope="col">التخصص</th>
                            <th scope="col">الحالة</th>
                        </tr>
                        </thead>
                        <tbody>
                        <?php do {  ?>
                            <tr>
                                <th scope="row">1</th>
                                <td><?php echo $row_list_subject_d2['co_course_id']; ?></td>
                                <td><?php echo $row_list_subject_d2['co_section']; ?></td>
                                <td><?php echo $row_list_subject_d2['co_state']; ?></td>
                            </tr>
                        <?php }while ($row_list_subject_d2 = $list_subject_d2->fetch_assoc()); ?>
                        </tbody>
                    </table>

                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-secondary" data-bs-dismiss="modal">إغلاق</button>
                </div>
            </div>
        </div>
    </div>

    <!-- انتهاء شاشة الطباعة -->
    <!-- / Content -->

    <!-- Core JS -->
    <!-- build:js assets/vendor/js/core.js -->
<?php require_once("include/footer.php"); ?>

3g86 2022