12,18c12 < $xpcont=$pcont; < if (strpos($xpcont, "[/caption]

") !== false) { < $xpcont=explode("[/caption]

", $pcont)[1]; < } else if (strpos($xpcont, "[/caption]") !== false) { < $xpcont=explode("[/caption]", $pcont)[1]; < } < $paras = explode(" $paras = explode(" $res = mysql_query("SELECT " . $tname . ".post_title, " . $tname . ".guid, " . $tname . ".post_content, LOCATE('" . $ourtitle . "'," . $tname . ".post_content) as tfind, LOCATE('" . $ourother . "'," . $tname . ".post_title) as tother FROM " . $tname . " 106c100 < OR " . $tname . ".post_content like '%" . str_replace('youllneverfindthis','%',$ourtitle) . "%') UNION SELECT 'Code Download Table' as post_title, " . $tname . ".post_content as guid, '' as post_content, 1 as tfind, 0 as tother, CURTIME() as post_date FROM " . $tname . " --- > OR " . $tname . ".post_content like '%" . str_replace('youllneverfindthis','%',$ourtitle) . "%') UNION SELECT 'Code Download Table' as post_title, " . $tname . ".post_content as guid, '' as post_content, 1 as tfind, 0 as tother FROM " . $tname . " 109c103 < AND " . $tname . ".post_content like '%GETME%' ORDER BY post_date "); --- > AND " . $tname . ".post_content like '%GETME%'");