?> <hr /> <div id="score"> <div class="large-flag kscore"> <img class="kflag" src="http://kcdn3.klout.com/static/images/stroke-flag.png"> <span class="value"><?php echo $KloutScore; ?> </span> <div class="hovercard"></div> </div> </div> <?php // Get Score Changes $dayChanges = $klout->KloutScoreChanges($kloutid, "day"); $weekChanges = $klout->KloutScoreChanges($kloutid, "week"); $monthChanges = $klout->KloutScoreChanges($kloutid, "month"); echo "Day: " . $dayChanges . "<br />"; echo "Week: " . $weekChanges . "<br />"; echo "Month: " . $monthChanges . "<br />"; // Get Topics $result = $klout->KloutUserTopics($kloutid); $topics = json_decode($result); foreach ($topics as $topic) { echo "<div class=\"topic\">\n"; echo " <a href=\"http://klout.com/" . $topic->slug . "\" target=\"_blank\"><img src=\"" . $topic->imageUrl . "\" /></a>\n"; echo " <a href=\"http://klout.com/" . $topic->slug . "\" target=\"_blank\">" . $topic->displayName . "</a>\n"; echo "</div>"; } echo "<hr />\n";