* * File Name : special.html * Last Update : 2008-12-30 */ if(array_key_exists('id', $_GET)){ unset($_GET['id']); } include('glob/start.php'); create_thispage($thispage['id'],$thispage['uri'],$thispage['title']); if(!$b){ $b = '1142'; } $special_part[1142] = 'Teil 1'; $special_part[1140] = 'Teil 2'; $special_part[1158] = 'Teil 3'; $special_part[1174] = 'Teil 4'; $special_part[1210] = 'Teil 5'; $special_part[1228] = 'Teil 6'; $special_part[1237] = 'Teil 7'; //////////////////////////////////////// t e i l $result = $sm_db->query("SELECT * FROM news WHERE status='1' and dateon<=now() and topic='TrackMania Sunrise-Special' and id='$b'") or mysql_die($sm_db); $querynum2++; $db = mysqli_fetch_object($result); $title = nl2br(stripslashes($db->title)); $artikel = nl2br(stripslashes($db->text)); $img_id = $db->img_id; $img_id_text = $db->img_id_text; ///i n s e r t i m a g e s if($img_id = ($img_id_text)?$img_id_text:(($img_id)?$img_id:NULL)){ $artikel = 'IMGR'.$img_id.' '.$artikel; } $img = ' '.PAGE_TITLE.'
Das TrackMania Sunrise-Special in 7 Teilen
'.$special_part[$db->id].'
'.$title.'
'.$artikel.'
'; $result2 = mysqli_query ($sm_db,"SELECT id, title FROM news WHERE status='1' and dateon<=now() and topic='TrackMania Sunrise-Special' ORDER BY dateon") or mysql_die($sm_db); $querynum2++; while ($db = mysqli_fetch_object($result2)){ $c_body .= ' '; } $c_body .= '
'.$special_part[$db->id].'
'.stripslashes($db->title).'
'; ////// screenshots $c_body .= '

Screenshots
Zur Großansicht Zur Großansicht
Zur Großansicht Zur Großansicht
'; ////// downloads $c_body .= '

'; $result = $sm_db->query("SELECT id, title, file FROM downloads WHERE server!='' and status='1' and games_id='65' ORDER BY dateadd DESC") or mysql_die($sm_db); $querynum2++; while($result && $db = mysqli_fetch_object($result)){ $c_body .= ' '; } $c_body .= '
Downloads
'.nl2br(stripslashes($db->title)).'
'; ////// links $c_body .= '

Links
Englische Demoversion
Offizielle Webseite
'; if($text_withimg = insert_img($c_body,PAGE_TITLE)) $c_body = $text_withimg; include('glob/end.php'); ?>