CINXE.COM
Agreements
<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/css/bootstrap.min.css" integrity="sha384-GJzZqFGwb1QTTN6wy59ffF1BuGJpLSa9DkKMp0DgiMDm4iYMj70gZWKYbI706tWS" crossorigin="anonymous"> <link rel="stylesheet" href="css/flag-icon.min.css" > <style> .table thead th { padding:4px; } .table tbody tr td { padding: 12px 4px 12px 4px; font-size: 14px; } </style> <title>Agreements</title> </head> <body> <form action="" method="post" id="search" name="search"> <div class="row" style="margin:0px;"> <div class="col-md-3"> <div class="form-group"><label for="argval">Agrement Type</label><select class="form-control" id="argval"><option value="">Select</option><option value="Erasmus">Erasmus</option><option value="Erasmus (International Mobility)">Erasmus (International Mobility)</option><option value="MOU (Memorandum of Understanding)">MOU (Memorandum of Understanding)</option><option value="SWISS-European Mobility Programme">SWISS-European Mobility Programme</option></select></div> </div> <div class="col-md-3"> <div class="form-group"><label for="sehirval">Country</label><select class="form-control" id="sehirval"><option value="">Select</option><option value="--">--</option><option value="Albania">Albania</option><option value="Algeria">Algeria</option><option value="Azerbaijan">Azerbaijan</option><option value="Belarus">Belarus</option><option value="Bosnia Herzegovina">Bosnia Herzegovina</option><option value="Bulgaria">Bulgaria</option><option value="China">China</option><option value="Croatia">Croatia</option><option value="Czech Republic">Czech Republic</option><option value="England">England</option><option value="Estonia">Estonia</option><option value="Finland">Finland</option><option value="France">France</option><option value="Georgia">Georgia</option><option value="Germany">Germany</option><option value="Greece">Greece</option><option value="Hungary">Hungary</option><option value="India">India</option><option value="Indonesia">Indonesia</option><option value="Iran">Iran</option><option value="Iraq">Iraq</option><option value="Italy">Italy</option><option value="Jordan">Jordan</option><option value="Kazakhstan">Kazakhstan</option><option value="Kosovo">Kosovo</option><option value="Kyrgyz Republic">Kyrgyz Republic</option><option value="Latvia">Latvia</option><option value="Libya">Libya</option><option value="Lithuania">Lithuania</option><option value="Luxembourg">Luxembourg</option><option value="Malaysia">Malaysia</option><option value="Mexico">Mexico</option><option value="Northern Macedonia">Northern Macedonia</option><option value="Pakistan">Pakistan</option><option value="Palestine">Palestine</option><option value="Peru">Peru</option><option value="Poland">Poland</option><option value="Portugal">Portugal</option><option value="Republic of Korea">Republic of Korea</option><option value="Romania">Romania</option><option value="Russia">Russia</option><option value="Serbia">Serbia</option><option value="Slovakia">Slovakia</option><option value="Slovenia">Slovenia</option><option value="South Korea">South Korea</option><option value="Spain">Spain</option><option value="Switzerland">Switzerland</option><option value="Tajikistan">Tajikistan</option><option value="Thailand">Thailand</option><option value="Tunisia">Tunisia</option><option value="Ukraine">Ukraine</option><option value="USA">USA</option><option value="Uzbekistan">Uzbekistan</option></select></div> </div> <div class="col-md-3"> <div class="form-group"><label for="depval">Department</label><select class="form-control" id="depval"><option value="">Select</option><option value="Aircraft Technology">Aircraft Technology</option><option value="Anatomy (Master Program)">Anatomy (Master Program)</option><option value="Anesthesia">Anesthesia</option><option value="Architectural Design (Master Program)">Architectural Design (Master Program)</option><option value="Architecture">Architecture</option><option value="Artificial Intelligence Engineering (Master Program)">Artificial Intelligence Engineering (Master Program)</option><option value="Automotive Technology">Automotive Technology</option><option value="Biomedical Engineering">Biomedical Engineering</option><option value="Business Administration">Business Administration</option><option value="Business Administration (Master Program)">Business Administration (Master Program)</option><option value="Cancer Biology and Pharmacology (Master Program)">Cancer Biology and Pharmacology (Master Program)</option><option value="Chemistry">Chemistry</option><option value="Chemistry (PhD Program)">Chemistry (PhD Program)</option><option value="Child Development">Child Development</option><option value="Cinema and Television">Cinema and Television</option><option value="Civil Aviation Cabin Services">Civil Aviation Cabin Services</option><option value="Civil Engineering">Civil Engineering</option><option value="Clinical Psychology (Master Program)">Clinical Psychology (Master Program)</option><option value="Communication Sciences">Communication Sciences</option><option value="Communication Sciences (PhD Program)">Communication Sciences (PhD Program)</option><option value="Computer Aided Design and Animation">Computer Aided Design and Animation</option><option value="Computer Engineering">Computer Engineering</option><option value="Computer Engineering (Master Program)">Computer Engineering (Master Program)</option><option value="Computer Programming">Computer Programming</option><option value="Computer Technology">Computer Technology</option><option value="Culinary Arts">Culinary Arts</option><option value="Data Science (Master Program)">Data Science (Master Program)</option><option value="Dentistry">Dentistry</option><option value="Dialysis">Dialysis</option><option value="Digital Game Design">Digital Game Design</option><option value="E-Trade and Marketing">E-Trade and Marketing</option><option value="Economics">Economics</option><option value="Electrical and Electronics Engineering">Electrical and Electronics Engineering</option><option value="Electroneurophysiology">Electroneurophysiology</option><option value="English Language and Literature">English Language and Literature</option><option value="First Aid and Emergency">First Aid and Emergency</option><option value="Food Technology">Food Technology</option><option value="Foreign Languages Department">Foreign Languages Department</option><option value="Gastronomy and Culinary Arts">Gastronomy and Culinary Arts</option><option value="Health Management">Health Management</option><option value="Health Management (Master Program)">Health Management (Master Program)</option><option value="Histology and Embryology (PhD Program)">Histology and Embryology (PhD Program)</option><option value="Industrial Engineering">Industrial Engineering</option><option value="Information Security Technology">Information Security Technology</option><option value="Interior Architecture (Master Program)">Interior Architecture (Master Program)</option><option value="Interior Architecture and Environmental Design">Interior Architecture and Environmental Design</option><option value="International Relations">International Relations</option><option value="International Trade and Business">International Trade and Business</option><option value="Justice">Justice</option><option value="Management Information Systems">Management Information Systems</option><option value="Management Information Systems (Master Program)">Management Information Systems (Master Program)</option><option value="Mathematics">Mathematics</option><option value="Mechanical Engineering">Mechanical Engineering</option><option value="Medical Biology and Genetics">Medical Biology and Genetics</option><option value="Medical Biology and Genetics (Master Program)">Medical Biology and Genetics (Master Program)</option><option value="Medical Biology and Genetics (with thesis)">Medical Biology and Genetics (with thesis)</option><option value="Medical Documentation and Secretarial">Medical Documentation and Secretarial</option><option value="Medical Imaging Techniques">Medical Imaging Techniques</option><option value="Medical Laboratory Techniques">Medical Laboratory Techniques</option><option value="Medicine">Medicine</option><option value="Midwifery">Midwifery</option><option value="Midwifery (Master Program)">Midwifery (Master Program)</option><option value="Molecular Biology and Genetics">Molecular Biology and Genetics</option><option value="Molecular Biology and Genetics (Master Program)">Molecular Biology and Genetics (Master Program)</option><option value="Molecular Oncology (PhD Program)">Molecular Oncology (PhD Program)</option><option value="Neuroscience (Master Program)">Neuroscience (Master Program)</option><option value="Neuroscience (PhD Program)">Neuroscience (PhD Program)</option><option value="New Media and Communication">New Media and Communication</option><option value="Nursing">Nursing</option><option value="Nutrition and Dietetics">Nutrition and Dietetics</option><option value="Nutrition and Dietetics (Master Program)">Nutrition and Dietetics (Master Program)</option><option value="Nutrition and Dietetics (PhD Program)">Nutrition and Dietetics (PhD Program)</option><option value="Obstetrics and Gynaecologic Nursing (Master Program)">Obstetrics and Gynaecologic Nursing (Master Program)</option><option value="Occupational Health and Safety (Master Program)">Occupational Health and Safety (Master Program)</option><option value="Operation Room Services">Operation Room Services</option><option value="Opticianry">Opticianry</option><option value="Oral and Dental Health">Oral and Dental Health</option><option value="Pharmaceutical Chemistry (PhD Program)">Pharmaceutical Chemistry (PhD Program)</option><option value="Pharmacy">Pharmacy</option><option value="Pharmacy Services">Pharmacy Services</option><option value="Philosophy">Philosophy</option><option value="Physics (PhD Program)">Physics (PhD Program)</option><option value="Physiotherapy">Physiotherapy</option><option value="Physiotherapy and Rehabilitation">Physiotherapy and Rehabilitation</option><option value="Physiotherapy and Rehabilitation (Master)">Physiotherapy and Rehabilitation (Master)</option><option value="Physiotherapy and Rehabilitation (PhD Program)">Physiotherapy and Rehabilitation (PhD Program)</option><option value="Political Science and International Relations">Political Science and International Relations</option><option value="Political Science and International Relations (Master Program)">Political Science and International Relations (Master Program)</option><option value="Political Science and Public Administration">Political Science and Public Administration</option><option value="Political Sciences and International Relations (Master Program)">Political Sciences and International Relations (Master Program)</option><option value="Psychology">Psychology</option><option value="Psychology (Master Program)">Psychology (Master Program)</option><option value="Public Relations and Advertising">Public Relations and Advertising</option><option value="Radio, Television and Cinema">Radio, Television and Cinema</option><option value="Radio, Television, and Cinema">Radio, Television, and Cinema</option><option value="Radiotherapy">Radiotherapy</option><option value="Social Work">Social Work</option><option value="Sociology">Sociology</option><option value="Software Engineering">Software Engineering</option><option value="Speech and Language Therapy">Speech and Language Therapy</option><option value="Speech and Language Therapy (Master Program)">Speech and Language Therapy (Master Program)</option><option value="Speech and Language Therapy (PhD Program)">Speech and Language Therapy (PhD Program)</option><option value="Sports Physiotherapy (Master Program)">Sports Physiotherapy (Master Program)</option><option value="Stem Cell and Tissue Engineering (Master Program)">Stem Cell and Tissue Engineering (Master Program)</option><option value="Stem Cell and Tissue Engineering (PhD Program)">Stem Cell and Tissue Engineering (PhD Program)</option><option value="Surgical Disease Nursing (Master Program)">Surgical Disease Nursing (Master Program)</option><option value="Translation and Interpreting">Translation and Interpreting</option><option value="Turkish Language and Literature">Turkish Language and Literature</option><option value="Turkish Language and Literature (Master Program)">Turkish Language and Literature (Master Program)</option><option value="Visual Communication Design">Visual Communication Design</option></select></div> </div> <div class="col-md-2"> <div class="form-group"><label for="visitorval">Visitor Type</label><select class="form-control" id="visitorval"><option value="">Select</option><option value="--">--</option><option value="Staff Mobility For Teaching">Staff Mobility For Teaching</option><option value="Staff Mobility For Teaching (Outgoing only)">Staff Mobility For Teaching (Outgoing only)</option><option value="Staff Mobility For Teaching/Training">Staff Mobility For Teaching/Training</option><option value="Staff Mobility For Training">Staff Mobility For Training</option><option value="Student Mobility For Studies">Student Mobility For Studies</option><option value="Student Mobility For Studies (Outgoing only)">Student Mobility For Studies (Outgoing only)</option><option value="Student Mobility For Traineeships">Student Mobility For Traineeships</option></select></div> </div> <div class="col-md-1"><br><button type="submit" id="submit" name="submit" class="btn btn-danger" style=" background: #0670ab; border: none; ">Search</button></div> </div> </form> <div id="loading"><center>Loading...</center></div> <table class="table table-striped table-hover cktable" style="display: none;"> <thead class="thead-dark"> <tr> <th scope="col">University</th> <th scope="col">City </th> <th scope="col">Country</th> <th scope="col">Faculty</th> <th scope="col">Department</th> <th scope="col">Language of Instruction</th> <th scope="col">Agreement Type</th> <th scope="col">Quota</th> <th scope="col">Mobility Type</th> </tr> </thead> <tbody id="jsontableall"><tbody> <tbody id="jsontablefilter"><tbody> </table> <!-- jQuery first, then Popper.js, then Bootstrap JS --> <script src="https://code.jquery.com/jquery-3.3.1.js" ></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.6/umd/popper.min.js" integrity="sha384-wHAiFfRlMFy6i5SRaxvfOCifBUQy1xHdJ/yoi7FRNXMRBu5WHdZYu1hA6ZOblgut" crossorigin="anonymous"></script> <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/js/bootstrap.min.js" integrity="sha384-B0UglyR+jN6CkvvICOB2joaf5I4l3gm9GU6Hc1og6Ls7i6U/mkkaduKaBhlAXv9k" crossorigin="anonymous"></script> <script type="text/javascript"> var argval = ""; var depval = ""; var sehirval = ""; var visitorval = ""; var firstdataurl = "json21.php?agreement_type=&university_department=&university_country=&person_type="; function jsongel(datlink) { $.ajax({ url: datlink, dataType: "JSON", success: function(data){ for (i in data) { $('#jsontableall').append(JSON.stringify("<tr><td>"+data[i].university_name+"<br><span class='flag-icon flag-icon-"+data[i].university_flag+"'></span> <small><i>"+data[i].university_code+"</i></small></td><td>"+data[i].university_city+"</td><td>"+data[i].university_country+"</td><td>"+data[i].university_faculty+"</td><td>"+data[i].university_department+"</td><td>"+data[i].university_lang+"</td><td>"+data[i].agreement_type+"</td><td>"+data[i].training_quota+"</td><td>"+data[i].person_type+"</td></tr>")); $(".cktable").show(); $("#loading").hide(); } },beforeSend:function() { $("#loading").show(); $('#jsontableall').html(""); } }); } jQuery(document).ready(function($) { jsongel(firstdataurl); $("form").submit(function (e) { e.preventDefault(); argval = $("#argval option:selected").val(); depval = $("#depval option:selected").val(); sehirval = $("#sehirval option:selected").val(); visitorval = $("#visitorval option:selected").val(); var dataurl = "json21.php?agreement_type="+argval+"&university_department="+depval+"&university_country="+sehirval+"&person_type="+visitorval; jsongel(dataurl); console.log("urlsi: "+dataurl); /*$.ajax({ url: dataurl, dataType: "JSON", success: function(data){ for (i in data) { $('#jsontableall').append("<tr><td>"+data[i].university_name+"</td><td>"+data[i].university_code+"</td><td>"+data[i].university_country+"</td><td>"+data[i].university_faculty+"</td><td>"+data[i].university_department+"</td><td>"+data[i].university_lang+"</td><td>"+data[i].agreement_type+"</td><td>"+data[i].training_quota+"</td><td>"+data[i].person_type+"</td></tr>"); $(".cktable").show(); $("#loading").hide(); } } });*/ //console.log("dataurl: "+dataurl); }); /* $("#argval").on('change',function() { var keyword = $(this).val(); $.ajax({ url: "json.php?agreement_type="+keyword+"&university_department=&person_type=", dataType: "JSON", success: function(data){ for (i in data) { $('#jsontableall').html("<tr><td>"+data[i].university_name+"</td><td>"+data[i].university_code+"</td><td>"+data[i].university_country+"</td><td>"+data[i].university_faculty+"</td><td>"+data[i].university_department+"</td><td>"+data[i].university_lang+"</td><td>"+data[i].agreement_type+"</td><td>"+data[i].training_quota+"</td><td>"+data[i].person_type+"</td></tr>"); $(".cktable").show(); $("#loading").hide(); } }, beforeSend:function() { $("#loading").show(); } }); $.ajax({ url:'fetch.php', type:'POST', data:'request='+keyword, beforeSend:function() { $("#table-container").html('Working...'); }, success:function(data) { $("#table-container").html(data); }, }); });*/ }); //console.log(dataurl); //console.log(json); /* $.map(json, function() { console.log(json.person_type); });*/ /* for(var i=0;i<json.length;i++){ $('#jsontable').html('<tr><td>'+json.person_type+'<td><tr>'); //$('#jsontable').append(json[i].item_id) }*/ /* var obj = JSON.parse('json.php'); console.log(obj); */ /* $(function(){ $(".agr a.dropdown-item").click(function(){ var value = $(this).attr("value"); $(".agrtypearval").val(value); }); $(".agr .thenumbers li").click(function(){ //Get the value var value = $(this).attr("value"); //Put the retrieved value into the hidden input $("input[name='thenumbers']").val(value); }); $(".agr .thenumbers li").click(function(){ //Get the value var value = $(this).attr("value"); //Put the retrieved value into the hidden input $("input[name='thenumbers']").val(value); }); }); */ </script> </body> </html>