Hi, its problem in my site. Picture in news is not working and i can't solve problem.
Please help!
Image - http://www.bildites.lv/images/16gsnx5prru092k60br3.jpg
<?php
$id = (int)get_get( 'id' );
$news = $db->query( "SELECT * FROM news WHERE id = $id" );
$news_id = $db->fetch( $news );
if( $news_id['id'] )
{
$res = $db->query( "SELECT * FROM news WHERE id = $id" );
$row = $db->fetch( $res );
echo page_title($row['title']);
echo '<h1><a href="' . BASE . '/">Jaunumi</a> » ' . $row['title'] . '</h1>';
$user = $users->info($row['author_id']);
echo ('<div id="news-inside">
<h2><a href="/news/view/' . $row['id'] . '/' . $row['seostring'] . '">' . $row['title'] . '</a></h2>
<div id="news_ramis">
<img src="' . $row['image'] . '" width="155px" height="105px" style="border: medium none;">
</div>
<img style="margin:-3px;" title="Pievienots" src="' . BASE . '/themes/' . SITE_THEME . '/images/date-time.png"> ' . format_time($row['date']) . '
<img style="margin:-3px;" title="Pievienoja" src="' . BASE . '/themes/' . SITE_THEME . '/images/author.gif"> <a href="/user/' . $user['id'] . '/' . $user['username'] . '/">' . $user['username'] . '</a>
<br />
<font color="black">' . bb2html($row['text']) . '</font>
</div>
');
if( $row['com_allowed'] == 1 )
{
echo error( "Raksta autors ir liedzis komentēt šo rakstu!", "890px" );
}
else
{
comments( $row['id'], "news" );
}
}
else
{
$page->set_page_title( 'ID neeksistē' );
echo '<h1>Kļūda</h1>';
echo error( "Jaunums ar šādu ID neeksistē!", "890px" );
}
?>