вопрос
/engine/inc/addnews.php
// Обработка даты и времени
$added_time = time();
$newdate = $_POST['newdate'];
if( $_POST['allow_date'] != "yes" ) {
if( (($newsdate = strtotime( $newdate )) === - 1) OR !$newsdate ) {
msg( "error", $lang['addnews_error'], $lang['addnews_erdate'], "javascript:history.go(-1)" );
} else {
$thistime = date( "Y-m-d H:i:s", $newsdate );
}
if( ! intval( $config['no_date'] ) and $newsdate > $added_time ) {
$thistime = date( "Y-m-d H:i:s", $added_time );
}
} else
$thistime = date( "Y-m-d H:i:s", $added_time );