GIF89a; %PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
Server IP : 134.29.175.74 / Your IP : 216.73.216.160 Web Server : nginx/1.10.2 System : Windows NT CST-WEBSERVER 10.0 build 19045 (Windows 10) i586 User : Administrator ( 0) PHP Version : 7.1.0 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/nginx/html/Admin/database_tools/ |
Upload File : |
SET @search = '8490'; SELECT DISTINCT user.userId, userUsername, user.userStudentId, userFirstName, userMiddleName, userLastName, userNickname, userDN, userEmail, userImage, userIsInactive, userIsStudent, userIsAlumni, userComments, userDefaultDrive, userLoggedIn, userLoginCount, userAccessTime, userIPAddress, userIPDecimal, userPHPSESSID, userAdvisor, userClassification, userMajor, IF (user.userStudentId = @search, 50, IF (user.userStudentId LIKE CONCAT('%',@search), 25, IF (user.userStudentId LIKE CONCAT('%',@search,'%'), 12, 0 ) ) ) + 0 AS score FROM `user` LEFT JOIN `userdata` ON user.userStudentId = userdata.userStudentId LEFT JOIN `studentprofile` ON studentprofile.userId = user.userId WHERE ( 1=0 OR userFirstName LIKE CONCAT('%',@search,'%') OR userNickname LIKE CONCAT('%',@search,'%') OR userMiddleName LIKE CONCAT('%',@search,'%') OR userLastName LIKE CONCAT('%',@search,'%') OR user.userStudentId LIKE CONCAT('%',@search,'%') OR studentprofile.studentprofileEmail1 LIKE CONCAT('%',@search,'%') OR studentprofile.studentprofileEmail2 LIKE CONCAT('%',@search,'%') OR studentprofile.studentprofilePhone1 LIKE CONCAT('%',@search,'%') OR studentprofile.studentprofilePhone2 LIKE CONCAT('%',@search,'%') ) ORDER BY score DESC, userLastName, userFirstName, userMiddleName ;