A quick fix of images displaying.
Step 1
Overwrite current detail.php file with detail.php from RC4. NOTE: detail.php under public_html ->advt->detail.php
Step 2
Edit index.php and recent.php (under public_html->advt) and replace this piece of code
Text Formatted Code
$photo = DB_query( "SELECT photo_id FROM {$_TABLES['ad_photo']} WHERE ad_id=$row[ad_id]" ) or error( mysql_error() );
if( DB_numRows( $photo ) >= 1 )
{
while( $prow = DB_fetchArray( $photo ) )
{
echo "<a href=\"$IMAGE_DIR/{$prow['photo_id']}.jpg\" target=\"_blank\"><img src=\"$IMAGE_DIR/thumb/{$prow['photo_id']}.jpg\" height=\"60\" width=\"50\" border=\"0\" alt=\"$LANG_ADVT[click_to_enlarge]\"></a><br>";
}
}
With this bit
Text Formatted Code
$photo = DB_query( "SELECT photo_id FROM {$_TABLES['ad_photo']} WHERE ad_id=$row[ad_id]" ) or error( mysql_error() );
$prow = DB_fetchArray( $photo );
if( DB_numRows( $photo ) >= 1 )
{
echo "<a href=\"$IMAGE_DIR/{$prow['photo_id']}.jpg\" target=\"_blank\"><img src=\"$IMAGE_DIR/thumb/{$prow['photo_id']}.jpg\" height=\"60\" width=\"50\" border=\"0\" alt=\"$LANG_ADVT[click_to_enlarge]\"></a><br>";
}
Thanks again beewee
Geeklog Polish Support Team