CINXE.COM

<html> <head> <link rel="icon" href="http://schedule.uoc.cw/admin/images/fevicon.png" type="image/gif" sizes="16x16"> <link href='http://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css'> <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,300,600,400italic,700,800' rel='stylesheet' type='text/css'> <link href='http://fonts.googleapis.com/css?family=Raleway:100' rel='stylesheet' type='text/css'> <link href='http://fonts.googleapis.com/css?family=Open+Sans+Condensed:300,700' rel='stylesheet' type='text/css'> <!-- Bootstrap core CSS --> <link href="admin/js/bootstrap/dist/css/bootstrap.css" rel="stylesheet" /> <link rel="stylesheet" href="fonts/font-awesome-4/css/font-awesome.min.css"> <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries --> <!--[if lt IE 9]> <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script> <![endif]--> <link rel="stylesheet" type="text/css" href="admin/js/jquery.gritter/css/jquery.gritter.css" /> <link rel="stylesheet" type="text/css" href="admin/js/jquery.nanoscroller/nanoscroller.css" /> <link rel="stylesheet" type="text/css" href="admin/js/jquery.easypiechart/jquery.easy-pie-chart.css" /> <link rel="stylesheet" type="text/css" href="admin/js/bootstrap.switch/bootstrap-switch.css" /> <link rel="stylesheet" type="text/css" href="admin/js/bootstrap.datetimepicker/css/bootstrap-datetimepicker.min.css" /> <link rel="stylesheet" type="text/css" href="admin/js/jquery.select2/select2.css" /> <link rel="stylesheet" type="text/css" href="admin/js/bootstrap.slider/css/slider.css" /> <link rel="stylesheet" type="text/css" href="admin/js/intro.admin/js/introjs.css" /> <link rel="stylesheet" type="text/css" href="admin/js/chosen.css" /> <!-- Custom styles for this template --> <link href="admin/css/style.css" rel="stylesheet" /> <script src="admin/ajaxrequest/jquery.js"></script> <style> tr:nth-child(even) {background: #CCCCCC} .v-btn { background-color: #29166d; color: white; padding: 6px; } </style> </head> <body style="font-family: 'Open Sans', sans-serif;"> <center> <p style="text-align:left;margin-left:250px"> <center> <img style="width: 200px; margin-right: 14px; margin-bottom: -16px;" src="uoc.jpg"> April 6, 2025 <b> |</b> 5:09 am<b> |</b> <b>http://schedule.uoc.cw</b> </center> </p> <hr style="border: 1px solid;"> <div style="width:100%;"> <div class="CSSTableGenerator" > <div style="clear: both; margin-top: 16px;"></div> <a class="v-btn" href='javascript:void(0);' onclick='javascript:tdORtm("2025-04-06");'>Today's Schedule</a> <a class="v-btn" href='javascript:void(0);' onclick='javascript:tdORtm("2025-04-07");'>Tomorrow's Schedule</a> <hr style="width: 66%; border: 1px solid rgb(0, 0, 0); margin-top: 16px;"> <table class="no-border" style="width:40%;"> <tbody class="no-border-x no-border-y"> <tr> <td colspan="2"><h2 style="color: rgb(162, 80, 87); font-weight: bold; font-size: 18px;">Search</h2></td> </tr> <tr> <td style="width:40%;">Faculty Name</td> <td style="width:60%;"> <select onchange='javascript:getContent(this.value);' name="faculty" id="select_faculty" data-placeholder="Choose a faculty..." style="width:200px;"> <option value=''>None</option> <option>AF</option> <option>FdR</option> <option>FdTW</option> <option>FMG</option> <option>FdSEW</option> </td> </tr> <tr> <td colspan="2"><h2 style="color: rgb(162, 80, 87); font-weight: bold; font-size: 18px;">Choose one of the following</h2></td> </tr> </tbody> </table> <div id='dynamicContent'> <table class="no-border" style="width:40%;"> <tbody class="no-border-x no-border-y"> <tr> <td style="width:40%;">Event</td> <td style="width:60%;"> <select name="eve" id="select_event" data-placeholder="Choose a event..." style="width:200px;"> <option value="">None</option> </select> </td> </tr> <tr> <td style="width:40%;">Teacher</td> <td style="width:60%;"> <select name="teacher" id="select_teacher" data-placeholder="Choose a teacher..." style="width:200px;"> <option value="">None</option> </select> </td> </tr> <tr> <td>Subject</td> <td> <select name="subject" id="select_subject" data-placeholder="Choose a subject..." style="width:200px;"> <option value="">None</option> </select> </td> </tr> </tbody> </table> </div> <table class="no-border" style="width:40%;"> <tbody class="no-border-x no-border-y"> <tr> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> </tr> <tr> <td style="">From Date <br> <div style="width:200px" class="input-group date datetime col-md-5 col-xs-7" data-min-view="2" data-date-format="dd-mm-yyyy"> <input id="start_date" class="form-control" name="startdate" size="16" type="text" value="" readonly=""> <span class="input-group-addon btn btn-primary"><span class="glyphicon glyphicon-th"></span></span> </div> </td> <td style="">To Date <br> <div style="width:200px" class="input-group date datetime col-md-5 col-xs-7" data-min-view="2" data-date-format="dd-mm-yyyy"> <input id="end_date" class="form-control" name="enddate" size="16" type="text" value="" readonly=""> <span class="input-group-addon btn btn-primary"><span class="glyphicon glyphicon-th"></span></span> </div> </td> <td><button id="sbt" class="btn btn-primary" type="button" onclick='javascript:result();'>Search</button></td> </tr> </tbody> </table> </div> </div> <div style="width: 80%;" id='result'> </div> </center> <script type="text/javascript" src="admin/js/jquery.js"></script> <script type="text/javascript" src="admin/js/jquery.gritter/js/jquery.gritter.js"></script> <script type="text/javascript" src="admin/js/jquery.nanoscroller/jquery.nanoscroller.js"></script> <script type="text/javascript" src="admin/js/behaviour/general.js"></script> <script src="admin/js/jquery.ui/jquery-ui.js" type="text/javascript"></script> <script type="text/javascript" src="admin/js/jquery.sparkline/jquery.sparkline.min.js"></script> <script type="text/javascript" src="admin/js/jquery.easypiechart/jquery.easy-pie-chart.js"></script> <script type="text/javascript" src="admin/js/jquery.nestable/jquery.nestable.js"></script> <script type="text/javascript" src="admin/js/bootstrap.switch/bootstrap-switch.min.js"></script> <script type="text/javascript" src="admin/js/bootstrap.datetimepicker/js/bootstrap-datetimepicker.min.js"></script> <script src="admin/js/jquery.select2/select2.min.js" type="text/javascript"></script> <script src="admin/js/skycons/skycons.js" type="text/javascript"></script> <script src="admin/js/bootstrap.slider/js/bootstrap-slider.js" type="text/javascript"></script> <script src="admin/js/intro.js/intro.js" type="text/javascript"></script> <script src="https://maps.googleapis.com/maps/api/js?v=3.exp&amp;sensor=false"></script> <script src="admin/js/chosen.jquery.js" type="text/javascript"></script> <!-- Bootstrap core JavaScript ================================================== --> <!-- Placed at the end of the document so the pages load faster --> <script type="text/javascript"> function result(tdORtm) { $("#result").html('<img src = "ajax-loader.gif">'); var faculty = $('#select_faculty').val(); if (faculty == '') { alert('Please select any faculty'); $("#result").html(''); return false; } var event = $('#select_event').val(); var teacher = $('#select_teacher').val(); var subject = $('#select_subject').val(); if (tdORtm) { var start_date = tdORtm; var end_date = tdORtm; } else { var start_date = $('#start_date').val(); var end_date = $('#end_date').val(); } if (start_date == '') { alert('Start date cannot be left empty'); $("#result").html(''); return false; } if (end_date == '') { alert('End date cannot be left empty'); $("#result").html(''); return false; } // ajax request $.ajax({ url: 'ajax_index.php', data: 'faculty=' + faculty + '&event=' + event + '&teacher=' + teacher + '&subject=' + subject + '&start_date=' + start_date + '&end_date=' + end_date, type: 'post', success: function (msg) { $("#result").html(msg); } }); } function tdORtm(dt) { window.open("tdORtm.php?dt=" + dt, "_blank", "scrollbars=yes, resizable=yes, top=200, left=200, width=1200, height=600"); } function getContent(faculty) { if (faculty != '') { $("#dynamicContent").html('<img style="" src="http://schedule.uoc.cw/ajax-loader.gif">'); $.ajax({ url: 'getContent.php', data: 'faculty=' + faculty, type: 'post', success: function (msg) { $("#dynamicContent").html(msg); $("#select_event").chosen(); $("#select_teacher").chosen(); $("#select_subject").chosen(); } }); } else { alert('Please select any faculty'); } } $(document).ready(function () { //initialize the javascript App.init(); App.dashBoard(); }); $("#select_faculty").chosen(); $("#select_event").chosen(); $("#select_teacher").chosen(); $("#select_subject").chosen(); </script> <script src="admin/js/behaviour/voice-commands.js"></script> <script src="admin/js/bootstrap/dist/js/bootstrap.min.js"></script> <script type="text/javascript" src="admin/js/jquery.flot/jquery.flot.js"></script> <script type="text/javascript" src="admin/js/jquery.flot/jquery.flot.pie.js"></script> <script type="text/javascript" src="admin/js/jquery.flot/jquery.flot.resize.js"></script> <script type="text/javascript" src="admin/js/jquery.flot/jquery.flot.labels.js"></script> <script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-66632211-1', 'auto'); ga('send', 'pageview'); </script> </body> </html>