unset($_SESSION[page_content]);
$url = $_SERVER['REQUEST_URI'];
get_content($url);
if(isset($_SESSION[page_content][f_button_url])){
/*$button = "
{$_SESSION[page_content][f_button_text]}";*/
$button = "
";
}
$query = bb_query("SELECT * FROM t_projects WHERE f_id = '".$_SESSION['page_variables'][$_SESSION['current_page']]['id']."' AND (f_removed IS NULL or f_removed = '0') ");
while ($row = bb_fetch_assoc($query)){
$diplay_name = $row['f_display_title'];
$subline = $row['f_display_desc'];
$diplay_image = $row['f_image'];
$content = $row['f_content'];
$diplay_image = preg_replace('#(\.[^.]*)$#', '[xya:790x354]$1', $diplay_image);
}
?>
=$diplay_name?>
=$subline?>
=$content?>