Connect($host, $user, $pass, $base); $sql = "SELECT name, urlofpicold, uid, size128x128, size128x160, size176x208, size176x220, size240x320, size320x240, size352x416, size360x640, size480x800, addtime FROM igrice WHERE active='0' and addtime <='$tme' ORDER BY addtime DESC LIMIT 0, 30"; $item = $db->CacheExecute($cachetime, $sql); echo ' WapX.WS - free java games for your phones RSS FEED http://www.wapx.ws WAPX.WS wap portal provide you free java games for mobile phones in all resolutions. en support@wapx.ws www.wapx.ws '; while (!$item->EOF) { if (strpos($item->fields[0], '-') !== false) { $lepurl = $item->fields[0]; } else { $lepurl = str_replace(' ', '-', $item->fields[0]); } $about = ""; if ($item->fields[3] != 0) $about .=" 128x128"; if ($item->fields[4] != 0) $about .=" 128x160"; if ($item->fields[5] != 0) $about .=" 176x208"; if ($item->fields[6] != 0) $about .=" 176x220"; if ($item->fields[7] != 0) $about .=" 240x320"; if ($item->fields[8] != 0) $about .=" 320x240"; if ($item->fields[9] != 0) $about .=" 352x416"; if ($item->fields[10] != 0) $about .=" 360x640"; if ($item->fields[11] != 0) $about .=" 480x800"; $item->fields[1] = str_replace('http://wapx.ws/games/images/', 'http://jstatic.wapx.ws/games/images/', $item->fields[1]); echo ' '. $item->fields[0] .' '.strftime("%a, %d %b %Y %H:%M:%S +0000", $item->fields[12]).' fields[1].'">
]]>'.$about.'
http://wapx.ws/games/'.$lepurl.'/
'; $item->MoveNext(); } echo '
'; exit(); ?>