missing clipId: no entry selected
";
exit();
} else if (!$result) {
print "
get ".$Viam." data, fatal error: could not get ".$Viam." data!
something bad happened, oOo...".mysql_error();
exit();
} else {
$row = mysql_fetch_array($result);
//
// text
// txt
if ($Vlang) {
$txt1 = 'edition';
$txt2 = $row['title'];
$txt3 = $row['description'];
} else {
$txt1 = 'ausgabe';
$txt2 = $row['title'];
$txt3 = $row['description'];
}
// include Edition template
include('tpl_Edition_rss2.php');
// include Clip template
include('tpl_Clip_rss2.php');
// include Link template
include('tpl_Link_rss2.php');
// include Link template
include('tpl_Topic_rss2.php');
// include Screening template
include('tpl_Screening_rss2.php');
// include News template
include('tpl_News_rss2.php');
// show news colum
global $show_news_col;
//
//
$host = $_SERVER['HTTP_HOST'];
$host = str_replace('kanalb','kanalB',$host);
// date
// ie: Sat, 21 Jan 2006 11:41:58 GMT
$timestamp = strtotime($row["showdate"]);
$date = date(r,$timestamp);
// character encoding
$txt2 = clean_rss_content($txt2);
$txt3 = clean_rss_content($txt3);
// header
header('Content-Type: application/rss+xml; charset=utf-8');
echo('
'.$txt1.'@'.$host.' - '.$txt2.'
'.$web_server.'/edition.php?clipId='.$clipId.'?Vlang='.$Vlang.'
'.$txt3.'
kanalB.org - http://kanalb.org/faq.php#jus
');
// image
echo( "
".$txt1."@".$host." - ".$txt2."
".$web_server."/".$row['upload_picture_dir']."/".$row['picture']."
".$web_server."/edition.php?clipId=".$clipId."?Vlang=".$Vlang."
140
190
");
// DISPLAY EDITIONMODUL
if ($num > 0) {
showEdition_rss2(); // layout/programming in tpl_Clip.php
}
// DISPLAY VIDEO MODUL
// request related data
get_related_modul('Clip','showdate'); // get related 'clips', sort by 'showdate'
if ($num_Clip > 0) {
while ( $row = mysql_fetch_array($result)) {
showClip_rss2(); // layout/programming in tpl_Clip.php
}
}
// DISPLAY TOPIC MODUL
// request related data
get_related_modul('Topic','showdate'); // get related 'clips', sort by 'showdate'
if ($num_Topic > 0) {
while ( $row = mysql_fetch_array($result)) {
showTopic_rss2(); // layout/programming in tpl_Clip.php
}
}
// DISPLAY LINK MODUL
// request related data
get_related_modul('Link','category'); // get related 'links', sort by
if ($num_Link > 0) {
//
// DISPLAY DATA
while ( $row = mysql_fetch_array($result)) {
// display each clip
showLink_rss2(); // layout/programming in tpl_Link.php
}
}
if ($show_news_col){
// Screening
// request related data
get_related_modul('Screening','showdate');
if ($num_Screening > 0){
while($row = @mysql_fetch_array($result)) {
// display each entry
showScreening_rss2(); // layout/programming in tpl_Screening.php
}
}
//
// request related data
get_related_modul('News','showdate'); //
// DISPLAY NEWS
if ($num_News > 0){
while($row = @mysql_fetch_array($result)) {
// display each entry
showNews_rss2(); // layout/programming in tpl_News.php
}
}
}
}
echo("
");
?>