public static boolean isAdmin(String uid) {
		boolean result = false;
		Connection con = DBUtil.getConnection();
		PreparedStatement pstmt = null;
		ResultSet rs = null;
		try {
			pstmt = con.prepareStatement("select u_admin from mstx_user where uid=?");
			pstmt.setInt(1, Integer.parseInt(uid));

			rs = pstmt.executeQuery();
			if (rs.next()) {
				result = rs.getBoolean(1);
			}
		} catch (Exception e) {
			e.printStackTrace();
		}
		return result;
	}