<%@ page import="java.io.BufferedReader, java.io.InputStreamReader, java.io.IOException, java.io.UnsupportedEncodingException, java.net.URL, java.net.URLEncoder, java.util.ArrayList, java.util.List" %> <%! private static final String PAGEAD = "http://pagead2.googlesyndication.com/pagead/ads?"; private void googleAppendUrl(StringBuilder url, String param, String value) throws UnsupportedEncodingException { if (value != null) { String encodedValue = URLEncoder.encode(value, "UTF-8"); url.append("&").append(param).append("=").append(encodedValue); } } private void googleAppendColor(StringBuilder url, String param, String value, long random) { String[] colorArray = value.split(","); url.append("&").append(param).append("=").append( colorArray[(int)(random % colorArray.length)]); } private void googleAppendScreenRes(StringBuilder url, String uaPixels, String xUpDevcapScreenpixels, String xJphoneDisplay) { String screenRes = uaPixels; if (screenRes == null) { screenRes = xUpDevcapScreenpixels; } if (screenRes == null) { screenRes = xJphoneDisplay; } if (screenRes != null) { String[] resArray = screenRes.split("[x,*]"); if (resArray.length == 2) { url.append("&u_w=").append(resArray[0]); url.append("&u_h=").append(resArray[1]); } } } private void googleAppendMuid(StringBuilder url, List muids) { for (String muid : muids) { if (muid != null) { url.append("&muid=").append(muid); return; } } } private void googleAppendViaAndAccept(StringBuilder url, String via, String accept) throws UnsupportedEncodingException { googleAppendUrl(url, "via", via); googleAppendUrl(url, "accept", accept); } %> <% long googleDt = System.currentTimeMillis(); StringBuilder googleAdUrlStr = new StringBuilder(PAGEAD); googleAdUrlStr.append("&client=ca-mb-pub-3633255683884717"); googleAdUrlStr.append("&dt=").append(googleDt); googleAppendUrl(googleAdUrlStr, "ip", request.getRemoteAddr()); googleAdUrlStr.append("&markup=chtml"); googleAdUrlStr.append("&output=chtml"); googleAppendUrl(googleAdUrlStr, "ref", request.getHeader("Referer")); String googleUrl = request.getRequestURL().toString(); if (request.getQueryString() != null) { googleUrl += "?" + request.getQueryString().toString(); } googleAdUrlStr.append("&slotname=2318565341"); googleAppendUrl(googleAdUrlStr, "url", googleUrl); String googleUserAgent = request.getHeader("User-Agent"); googleAppendUrl(googleAdUrlStr, "useragent", googleUserAgent); googleAppendScreenRes(googleAdUrlStr, request.getHeader("UA-pixels"), request.getHeader("x-up-devcap-screenpixels"), request.getHeader("x-jphone-display")); List googleMuids = new ArrayList(); googleMuids.add(request.getHeader("X-DCMGUID")); googleMuids.add(request.getHeader("X-UP-SUBNO")); googleMuids.add(request.getHeader("X-JPHONE_UID")); googleMuids.add(request.getHeader("X-EM-UID")); googleAppendMuid(googleAdUrlStr, googleMuids); if (googleUserAgent == null || googleUserAgent.length() == 0) { googleAppendViaAndAccept(googleAdUrlStr, request.getHeader("Via"), request.getHeader("Accept")); } try { URL googleAdUrl = new URL(googleAdUrlStr.toString()); BufferedReader reader = new BufferedReader( new InputStreamReader(googleAdUrl.openStream(), "AUTO_DETECT")); for (String line; (line = reader.readLine()) != null;) { out.println(line); } } catch (IOException e) {} %>
OMGGhana.Com

Honor student placed in jail for tardiness and truancy at school (Video)

Honor student placed in jail for tardiness and truancy at school (Video)

A judge threw a 17-year-old 11th grade honor student from Willis High School in jail after she missed school again.

Judge Lanny Moriarty said last month Diane Tran was in his Justice of the Peace court for truancy and he warned her then to stop missing school.  But she recently missed classes again so Wednesday he issued a summons and had her arrested in open court when she appeared.

Tran said she works a full-time job, a part-time job and takes advanced placement and dual credit college level courses.  She said she is often too exhausted to wake up in time for school.  Sometimes she misses the entire day, she said.  Sometimes she arrives after attendance has been taken.

The judge ordered Tran to spend 24 hours in jail and pay a $100 fine.  Judge Moriarty admitted that he wants to make an example of Tran.

“If you let one (truant student) run loose, what are you gonna’ do with the rest of ‘em? Let them go too?” Judge Moriarty asked.

Tran said she is working so hard because she is helping to support an older brother who attends Texas A&M University and a baby sister who lives with relatives in Houston.  Tran said her parents divorced “out of the blue” and both moved away, leaving her in Willis.  Her mother lives in Georgia, she said.

“I always thought our family was happy,” the teen said tearfully.

Tran lives with the family of one of her employers. They own a wedding venue. She works at the Vineyard of Waverly Manor on weekends and at a dry cleaners full time.

“She goes from job to job, from school she stays up ‘til 7 o’clock in the morning,” said her friend, co-worker and classmate Devin Hill.

Source: Sherry Williams

ADVERTISEMENT