Kusaba-Z /dwoo/templates_c/var/www/html/kuzaba/dwoo/templates/rss_board.tpl.d15.php

Language PHP Lines 65
MD5 Hash e2ac23b16014f19c15dd9d09034409db
Repository https://github.com/stormeus/Kusaba-Z.git View Raw File View Project SPDX
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<?php
ob_start(); /* template body */ ?><?php echo '<?xml'; ?> version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><?php echo KU_NAME;?> - <?php echo $this->scope["boardname"];?></title>
<link><?php echo KU_BOARDSPATH;?>/<?php echo $this->scope["boardname"];?></link>
<description>Live RSS feed for <?php echo KU_BOARDSPATH;?>/<?php echo $this->scope["boardname"];?></description>
<language><?php echo KU_LOCALE;?></language>';
<?php 
$_fh3_data = (isset($this->scope["posts"]) ? $this->scope["posts"] : null);
if ($this->isArray($_fh3_data) === true)
{
	foreach ($_fh3_data as $this->scope['item'])
	{
/* -- foreach start output */
?>
	<item>
	<title><?php echo $this->scope["item"]["id"];?></title>
	<link>
	<?php if ((isset($this->scope["item"]["parentid"]) ? $this->scope["item"]["parentid"]:null) != 0) {
?>
		<?php echo KU_BOARDSPATH;?>/<?php echo $this->scope["boardname"];?>/res/<?php echo $this->scope["item"]["parentid"];?>.html#<?php echo $this->scope["item"]["id"];?></link>
	<?php 
}
else {
?>
		<?php echo KU_BOARDSPATH;?>/<?php echo $this->scope["boardname"];?>/res/<?php echo $this->scope["item"]["id"];?>.html</link>
	<?php 
}?>

	<description><![CDATA[
	<?php if ((isset($this->scope["item"]["file"]) ? $this->scope["item"]["file"]:null) != '') {
?>
		<?php if ((isset($this->scope["item"]["file_type"]) ? $this->scope["item"]["file_type"]:null) == 'jpg' || (isset($this->scope["item"]["file_type"]) ? $this->scope["item"]["file_type"]:null) == 'png' || (isset($this->scope["item"]["file_type"]) ? $this->scope["item"]["file_type"]:null) == 'gif') {
?>
			<a href="<?php echo KU_BOARDSPATH;?>/<?php echo $this->scope["boardname"];?>/src/<?php echo $this->scope["item"]["file"];?>.<?php echo $this->scope["item"]["file_type"];?>"><img src="<?php echo KU_BOARDSPATH;?>/<?php echo $this->scope["boardname"];?>/thumb/<?php echo $this->scope["item"]["file"];?>s.<?php echo $this->scope["item"]["file_type"];?>" /></a><br /><br />
		<?php 
}
else {
?>
			[<?php echo KU_BOARDSPATH;?>/<?php echo $this->scope["boardname"];?>/src/<?php echo $this->scope["item"]["file"];?>.<?php echo $this->scope["item"]["file_type"];?>] <br /><br />
		<?php 
}?>

	<?php 
}?>

	<?php if (trim((isset($this->scope["item"]["message"]) ? $this->scope["item"]["message"]:null)) != '') {
?>
		<?php echo stripslashes((isset($this->scope["item"]["message"]) ? $this->scope["item"]["message"]:null));?><br />
	<?php 
}?>

	]]></description>
	</item>
<?php 
/* -- foreach end output */
	}
}?>

</channel>
</rss>
<?php  /* end template body */
return $this->buffer . ob_get_clean();
?>
Back to Top