|
#
# 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'].'/_xvxexdxisite/vedisite/vedisite_constants.php';
# SETTING
#
$OUTPUT['news']['q'] = mysql_query('
SELECT DISTINCT t.id, t.rname, t.xzab, t.xphoto, DATE_FORMAT(t.xdate, \'%d.%m.%Y\') AS fxdate
FROM '.DB_PRE.'news t, '.DB_PRE.'news_links l
WHERE t.id>14883 AND t.xparent=0 AND t.xl_4_4=6 AND t.xhistory=0 AND t.xshow=0 AND l.tid=t.id AND l.xshow=0 AND l.xl_15_0 IN ( 2654, 2815, 3658, 3964 )
ORDER BY t.xdate DESC, t.xorder DESC, t.id DESC
');
$OUTPUT['news']['p']['top'] = '
';
while ( $OUTPUT['news']['r'] = mysql_fetch_assoc($OUTPUT['news']['q']) ) {
$OUTPUT['news']['r']['_xphotowh'] = 'width="120"';
if ( $OUTPUT['news']['r']['xphoto'] != '' ) {
$OUTPUT['news']['r']['_xphoto'] = getimagesize($OUTPUT['news']['r']['xphoto']);
if ( $OUTPUT['news']['r']['_xphoto'][0] < 120 && is_array($OUTPUT['news']['r']['_xphoto']) ) {
$OUTPUT['news']['r']['_xphotowh'] = 'width="'.$OUTPUT['news']['r']['_xphoto'][0].'"';
}
}
$OUTPUT['news']['p']['top'] .= '
|
'.$OUTPUT['news']['r']['rname'].'
';
if ( $OUTPUT['news']['r']['xl_4_2887'] != 2888 ) {
$OUTPUT['news']['p']['top'] .= $OUTPUT['news']['r']['fxdate'];
if ($OUTPUT['world']['a'][$OUTPUT['news']['r']['id']]==18) {
$OUTPUT['news']['p']['top'] .= ' В мире';
}
}
if ( $OUTPUT['comment']['a'][$OUTPUT['news']['r']['id']] > 0 ) {
$OUTPUT['news']['p']['top'] .= ''.$OUTPUT['comment']['a'][$OUTPUT['news']['r']['id']].'';
}
if ( $OUTPUT['news']['r']['xl_4_2887'] != 2888 ) {
$OUTPUT['news']['p']['top'] .= ' ';
}
$OUTPUT['news']['p']['top'] .= $OUTPUT['news']['r']['xzab'].'
'. likebutton( array( 'table' => 13, 'string' => $OUTPUT['news']['r']['id'], TN_XLIKES => $OUTPUT['news']['r'][TN_XLIKES], TN_XDISLIKES => $OUTPUT['news']['r'][TN_XDISLIKES], TN_LIKE => $OUTPUT['news']['r'][TN_LIKE], 'user' => $CONFIG['user'], 'islike' => $OUTPUT['islike']['a'][13][$OUTPUT['news']['r']['id']] ) ) .'
|
'; } mysql_free_result($OUTPUT['news']['q']);
$OUTPUT['news']['p']['top'] .= '
';
print $OUTPUT['news']['p']['top'];
?>
|
|
|
Program 2016
Men
100m
200m
400m
800m
1500m
110mH
400mH
3000mSt
HJ
PV
LJ
SP
HT
DT
JT
|
Women
100m
200m
400m
800m
1500m
100mH
400mH
3000
HJ
PV
LJ
TJ
SP
HT
JT
DT
|
|
|