show.custom:
if( $row['category'] and $config['seo_type'] == 2 ) {
$full_link = $config['http_home_url'] . get_url( $row['category'] ) . "/" . $row['id'] . "/";
} else {
$full_link = $config['http_home_url'] . $row['id'] . "/";
}
} else {
$full_link = $config['http_home_url'] . date( 'Y/m/d/', $row['date'] ) . $row['id'] . "/";
}
} else {
$full_link = $config['http_home_url'] . "index.php?newsid=" . $row['id'];
}
show.full:
if( $related['category'] and $config['seo_type'] == 2 ) {
$full_link = $config['http_home_url'] . get_url( $related['category'] ) . "/" . $related['id'] . "/";
} else {
$full_link = $config['http_home_url'] . $related['id'] . "/";
}
} else {
$full_link = $config['http_home_url'] . date( 'Y/m/d/', $related['date'] ) . $related['id'] . "/";
}
} else {
$full_link = $config['http_home_url'] . "index.php?newsid=" . $related['id'];
}
show.short:
if( $row['category'] and $config['seo_type'] == 2 ) {
$full_link = $config['http_home_url'] . get_url( $row['category'] ) . "/" . $row['id'] . "/";
} else {
$full_link = $config['http_home_url'] . $row['id'] . "/";
}
} else {
$full_link = $config['http_home_url'] . date( 'Y/m/d/', $row['date'] ) . $row['id'] . "/";
}
} else {
$full_link = $config['http_home_url'] . "index.php?newsid=" . $row['id'];
}