|
|
|
|
22
|
echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n";
|
22
|
echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n";
|
23
|
?>
|
23
|
?>
|
24
|
<gelato version="1.0">
|
24
|
<gelato version="1.0">
|
25
|
-<?php
|
|
|
26
|
-
|
|
|
|
|
25
|
+<?php
|
27
|
if (isset($_GET["action"]) && $_GET["action"] == "read") {
|
26
|
if (isset($_GET["action"]) && $_GET["action"] == "read") {
|
28
|
if (isset($_GET["start"])) { $start = $_GET["start"]; } else { $start = 0; }
|
27
|
if (isset($_GET["start"])) { $start = $_GET["start"]; } else { $start = 0; }
|
29
|
if (isset($_GET["total"])) { $total = $_GET["total"]; } else { $total = 20; }
|
28
|
if (isset($_GET["total"])) { $total = $_GET["total"]; } else { $total = 20; }
|
30
|
if (isset($_GET["type"])) { $hasType = true; } else { $hasType = false; }
|
29
|
if (isset($_GET["type"])) { $hasType = true; } else { $hasType = false; }
|
31
|
- if ($total > 50) { $total = 50; }
|
|
|
|
|
30
|
+ if ($total > 50) { $total = 50; }
|
|
|
31
|
+ $user = new user();
|
|
|
32
|
+ $userData = $user->getUserByID(1);
|
|
|
33
|
+ $username = ($userData["name"] == "") ? "gelato" : $userData["name"];
|
32
|
?>
|
34
|
?>
|
33
|
- <tumblelog name="<?php echo $_SESSION["user_login"];?>" timezone="<?php echo $conf->offsetCity;?>" title="<?php echo $conf->title;?>"><?php
|
|
|
|
|
35
|
+ <tumblelog name="<?php echo $username;?>" timezone="<?php echo $conf->offsetCity;?>" title="<?php echo $conf->title;?>">
|
|
|
36
|
+<?php
|
34
|
echo "\n\t".$conf->description."\n";
|
37
|
echo "\n\t".$conf->description."\n";
|
35
|
?>
|
38
|
?>
|
36
|
<feeds>
|
39
|
<feeds>
|