<?php
$link_start = 'index.php?' ;
if ( isset ( $_GET [ 'search' ] ) ) {
$link = array ( 'search' => $search , 'p' => 'replace' ) ;
} else {
$link = array ( 'page' => 'list' , 'p' => 'replace' ) ;
}
$count = $db -> getCountInDb ( urldecode ( $search ) ) ; $students = $db -> searchFromStudents ( urldecode ( $search ) , $page ) ;
PD9waHAKCiRsaW5rX3N0YXJ0ID0gJ2luZGV4LnBocD8nOwokc2VhcmNoID0gaXNzZXQoJF9HRVRbJ3NlYXJjaCddKSAgID8gIHVybGVuY29kZSgkX0dFVFsnc2VhcmNoJ10pIDogJycgOwppZiAoaXNzZXQoJF9HRVRbJ3NlYXJjaCddKSkKewoKICAgICRsaW5rID0gYXJyYXkoJ3NlYXJjaCcgPT4gJHNlYXJjaCwKICAgICAgICAgICAgICAgICAgJ3AnID0+ICdyZXBsYWNlJyk7Cgp9IGVsc2UgewogICAgJGxpbmsgPSBhcnJheSgncGFnZScgPT4gJ2xpc3QnLAogICAgICAgICAgICAgICAgJ3AnID0+ICdyZXBsYWNlJyk7Cn0KCiRjb3VudCA9ICRkYi0+Z2V0Q291bnRJbkRiKHVybGRlY29kZSgkc2VhcmNoKSk7CiRzdHVkZW50cyA9ICRkYi0+c2VhcmNoRnJvbVN0dWRlbnRzKHVybGRlY29kZSgkc2VhcmNoKSwgJHBhZ2UpOwokcGFnZUxpbmtlcj0gJGxpbmtfc3RhcnQgLiBodHRwX2J1aWxkX3F1ZXJ5KCRsaW5rKSAuICJcbiI7