Example #1
0
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with GetBoo; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
***************************************************************************/
require_once 'includes/tags_functions.php';
?>
<div class="tags_rightmenu">
<?php 
if (in_array('profile', $blocks)) {
    require_once 'includes/user.php';
    if (IS_GETBOO) {
        if (User::isDonor($userName)) {
            // Retrieve profile info
            $fields = array('realname', 'displayemail', 'website', 'information', 'email');
            $where = array('name' => $userName);
            $data = Prototype::queryData($fields, "session", $where);
            $donorContent = "" . T_("Name") . ": " . $data[0]['realname'] . "<br>\n";
            $donorContent .= "" . T_("Website") . ": <a href=\"" . $data[0]['website'] . "\">" . $data[0]['website'] . "</a><br>\n";
            $donorContent .= "" . T_("Information") . ":<br>\n<textarea cols=\"30\" rows=\"4\" readonly=\"readonly\">" . $data[0]['information'] . "</textarea><br>\n";
            ?>
	<div class="rm_heading"><?php 
            echo T_("Donor Profile");
            ?>
</div>
	<div class="rm_content"><?php 
            echo "<p>" . $donorContent . "</p>";
            ?>
Example #2
0
     echo "<div style=\"min-height: 80px\"><a href=\"redirect.php?id=" . $rec_id . "\" rel=\"nofollow\">";
     echo sprintf("<img width=\"120px\" height=\"90px\" alt=\"\" src=\"" . $screenshot_url . "\" style=\"padding-right: 10px; float: left;\"></a>", $rec_url);
 } else {
     $descCSS = " style=\"border: 1px dashed #ccc; border-width: 0 0 0 1px;\"";
     $footerCSS = " style=\"border: 1px dashed #ccc; border-width: 0 0 1px 1px;\"";
 }
 if ($rec_desc != null) {
     // If there is a description
     echo "<div class=\"tagdesc\"{$descCSS}>" . $rec_desc . "</div>\n";
 }
 echo "<div class=\"tagdesc\"{$descCSS}><span class=\"tags\">" . $allTagsLinks . "</span>";
 //<img src=\"images/icons/tag_orange.png\">
 if ($displayUser) {
     $userName = "******"name"]}";
     if (IS_GETBOO) {
         $isDonor = User::isDonor($userName);
     }
     if ($isDonor) {
         $donorLogo = " <img src=\"images/donor-mini.gif\" alt=\"" . T_("Donor") . "\" title=\"" . T_("Donor") . "\" />";
     } else {
         $donorLogo = "";
     }
     echo T_("by") . " <a href=\"userb.php?uname=" . $userName . "\">" . $userName . "{$donorLogo}</a> ";
 }
 echo "... ";
 if ($time_between) {
     echo T_("added") . " " . $time_between;
 } else {
     echo T_("on") . " " . $date_added;
 }
 /*if($username == $userName)