include "_i-top.htm"; ?>
#
# SETTING
include $_SERVER['DOCUMENT_ROOT'].'/_functions/functions_mysql.php';
include $_SERVER['DOCUMENT_ROOT'].'/_functions/functions_site.php';
include $_SERVER['DOCUMENT_ROOT'].'/_config/constants.php';
include $_SERVER['DOCUMENT_ROOT'].'/_config/constants_tablescolumns.php';
include 'vedisite_constants.php';
# SETTING
#
$_GET['id'] = strip_tags( $_GET['id'] ) * 1 ;
$othernewsw = '';
$othernewsl = '';
$othernewsyes = 'no';
if( $_GET['id'] > 0 ){
$othernewsw = ' AND t.id=\''.$_GET['id'].'\' ';
$othernewsl = 'LIMIT 1';
$othernewsyes = 'yes';
print '
';
$OUTPUT['yashareImage'] = '';
if( $OUTPUT['news_ximg']['a'][0]['_xhref'] != '' ) {
$OUTPUT['yashareImage'] = parse_url( $OUTPUT['news_ximg']['a'][0]['_xhref'] );
$OUTPUT['yashareImage'] = ' data-yashareImage="http://'.VS_DOMAIN.$OUTPUT['yashareImage']['path'].'"';
}
unset($OUTPUT['news_ximg']['a'][0]);
if ( $OUTPUT['news_ximg']['a'][1] ) {
foreach ( $OUTPUT['news_ximg']['a'] as $OUTPUT['news_ximg']['_k'] => $OUTPUT['news_ximg']['_v'] ) {
$OUTPUT['news_ximg']['t'] .= '
';
}
}
$OUTPUT['news_ximg']['t'] .= '
';
}
# изображения
print '
'.$othernewsr['rname'].'
'.$othernewsr['fxdate'].'
'.$othernewsr['xzab'].'
'.$OUTPUT['news_ximg']['t'].'
'.$othernewsr['xtxt'].'
';
} else {
print '
'.$othernewsr['rname'].'
'.$othernewsr['fxdate'].' / '.$othernewsr['xzab'].'
';
}
} mysql_free_result($othernews);
?>
include "_i-bottom.htm"; ?>