Remember to Back up your files before you try this, there is no gaurantee that this will work at all.<br /><br /><br />These Are the Modified Files:<br />showflat.php<br />showthreaded.php<br /><br />In showflat.php, find this:<br />[:blue]<br /> echo "<br /> </table></td></tr><br /> <tr><td colspan=3 class=\"lighttable\"><br /> <p class=\"post\"><br /> <BR><BR><SPAN CLASS=\"post\">$Body</span><br /> <BR><BR><br /> </td></tr><tr><td colspan=3 class=\"body\"></td></tr><br /> ";<br /></font color=blue><br /><br /> and change it to:<br /><br />[:red]<br /> echo "<br /> </table></td></tr><br /> <tr><td colspan=3 class=\"lighttable\"><br /> <p class=\"post\"><br /> <BR><BR><SPAN CLASS=\"post\">$Body</span><br /> <BR><BR>";<br /> if ($File) {<br /> if ($File == ".gif|.GIF|.Gif|.jpg|.JPG|.Jpg|.jpeg|.JPEG|.Jpeg");<br /> echo "<IMG SRC=\"$config[fileurl]/$File\" Border=\"0\">";<br /><br /> }<br /> echo "<br /> </td></tr><tr><td colspan=3 class=\"body\"></td></tr><br /> ";<br /></font color=red><br /><br /> and then find:<br /><br />[:blue]<br /> echo "<br /> </td></tr></table></td></tr><br /> <tr><td width=83% class=\"lighttable\"><br /> <P class=\"post\"><br /> $Body<br /> <BR><BR><br /> </td></tr><br /> ";<br /></font color=blue><br /><br /> and change it so it looks like this:<br />[:red]<br /><br /> echo "<br /> </td></tr></table></td></tr><br /> <tr><td width=83% class=\"lighttable\"><br /> <P class=\"post\"><br /> $Body<br /> <BR><BR><br /> ";<br /> if ($File) {<br /> if ($File == ".gif|.GIF|.Gif|.jpg|.JPG|.Jpg|.jpeg|.JPEG|.Jpeg");<br /> echo "<IMG SRC=\"$config[fileurl]/$File\" Border=\"0\">";<br /><br /> }<br /> echo "<br /> </td></tr><br /> ";<br /></font color=red><br /><br />in showthreaded.php find this:<br />[:blue]<br /> echo "<br /> echo "<br /> </table></td></tr><br /> <tr><td colspan=3 class=\"lighttable\"><br /> <p class=\"post\"><br /> <BR><BR><SPAN CLASS=\"post\">$Body</span><br /> <BR><BR><br /> </td></tr><tr><td colspan=3 class=\"body\"></td></tr><br /> ";<br /><br /></font color=blue><br /> and change it to look like this:<br />[:red]<br /> echo "<br /> </table></td></tr><br /> <tr><td colspan=3 class=\"lighttable\"><br /> <p class=\"post\"><br /> <BR><BR><SPAN CLASS=\"post\">$Body</span><br /> <BR><BR>";<br /> if ($File) {<br /> if ($File == ".gif|.GIF|.Gif|.jpg|.JPG|.Jpg|.jpeg|.JPEG|.Jpeg");<br /> echo "<IMG SRC=\"$config[fileurl]/$File\" Border=\"0\">";<br /><br /> }<br /> echo "</td></tr><tr><td colspan=3 class=\"body\"></td></tr><br /> ";<br /></font color=red><br /><br /><br /> then find this:<br />[:blue]<br /> echo "<br /> </td></tr></table></td></tr><br /> <tr><td width=83% class=\"lighttable\"><br /> <br /><P class=\"post\"><br /> $Body<br /> <BR><BR><br /> </td></tr><br /> ";<br /></font color=blue><br /> and change it so it looks like this<br />[:red]<br /> echo "<br /> </td></tr></table></td></tr><br /> <tr><td width=83% class=\"lighttable\"><br /> <br /><P class=\"post\"><br /> $Body<br /> <BR><BR><br /> ";<br /> if ($File) {<br /> if ($File == ".gif|.GIF|.Gif|.jpg|.JPG|.Jpg|.jpeg|.JPEG|.Jpeg");<br /> echo "<IMG SRC=\"$config[fileurl]/$File\" Border=\"0\">";<br /><br /> }<br /> echo "</td></tr><br /> ";<br /></font color=red><br /><br />i uploaded the text file also.<br />example at
http://www.extremeforums.org/showflat2.p...p;part=&vc=<br /><br />[:red]--------------</font color=red><br />
http://extremeforums.org/index