| 5 | | <table width="240" border="0"> |
|---|
| 6 | | <tr><td><b>{#profile_username_label#}</b></td><td>{$user_profile->username}</td><td rowspan=4" nowrap="nowrap"><img src="{$user_profile->gravatar}" alt="{$user_profile->fullname}" /><br/>{#profile_gravatar_label#}</td></tr> |
|---|
| | 2 | <table width="440" border="0"> |
|---|
| | 3 | <tr><td><b>{#profile_username_label#}</b></td><td>{$user_profile->username}</td> |
|---|
| | 4 | <td rowspan=4" nowrap="nowrap"><img src="{$user_profile->gravatar}" alt="{$user_profile->fullname}" /> |
|---|
| | 5 | <br/>{#profile_gravatar_label#} |
|---|
| | 6 | {if $user_profile->username eq $logged_username} |
|---|
| | 7 | <br/><a href="profile_edit.php?user_id={$logged_userid}">{#profile_modify_label#}</a> |
|---|
| | 8 | {/if} |
|---|
| | 9 | </td> |
|---|
| | 10 | </tr> |
|---|
| 13 | | <div style="padding-left:1em"> |
|---|
| 14 | | {if $user_profile->username eq $logged_username} |
|---|
| 15 | | <a href="profile_edit.php?user_id={$logged_userid}">{#profile_modify_label#}</a><br/> |
|---|
| | 17 | <table width="440" border="0" cellpadding="5" cellspacing="2"> |
|---|
| | 18 | <tr> |
|---|
| | 19 | <td><b>{#profile_memes_label#}</b></td><td align="right"><a href="/user/{$user_profile->username}">{$user_profile->memes} (ver)</a></td> |
|---|
| | 20 | <td><b>{#profile_votes_label#}</b></td><td align="right"><a href="/votes/{$user_profile->username}">{$user_profile->votes} (ver)</a></td> |
|---|
| | 21 | </tr> |
|---|
| | 22 | <tr> |
|---|
| | 23 | <td><b>{#profile_votes_for_label#}</b></td><td align="right">{$user_profile->memes_votes}</td> |
|---|
| | 24 | <td><b>{#profile_comments_label#}</b></td><td align="right"><a href="/comments/{$user_profile->username}">{$user_profile->comments} (ver)</a></td></tr> |
|---|
| | 25 | <tr> |
|---|
| | 26 | <td><b>{#profile_popularity_label#}</b></td><td align="right">{$user_profile->popularity|string_format:"%4.2f"}</td> |
|---|
| | 27 | <td><b>{#profile_influence_label#}</b></td><td align="right">{$user_profile->influence|string_format:"%4.2f"}</td> |
|---|
| | 28 | </tr> |
|---|
| | 29 | </table> |
|---|
| | 30 | <h3>{$profile_title}</h3> |
|---|
| | 31 | {if $logged_in} |
|---|
| | 32 | {foreach from=$memes item=meme name=mg} |
|---|
| | 33 | {include file="meme_layout.tpl"} |
|---|
| | 34 | <hr /> |
|---|
| | 35 | {/foreach} |
|---|
| | 36 | {else} |
|---|
| | 37 | {foreach from=$memes item=meme name=mg} |
|---|
| | 38 | {include file="meme_layout_anon.tpl"} |
|---|
| | 39 | <hr /> |
|---|
| | 40 | {/foreach} |
|---|
| 17 | | <h2>{#profile_stat_label#}</h2> |
|---|
| 18 | | <div style="padding-left:1em;font-size:10px;"> |
|---|
| 19 | | <table width="340" border="0" cellpadding="5" cellspacing="2"> |
|---|
| 20 | | <tr><td><b>{#profile_popularity_label#}</b></td><td align="right">{$user_profile->popularity|string_format:"%4.2f"}</td> |
|---|
| 21 | | <td><b>{#profile_influence_label#}</b></td><td align="right">{$user_profile->influence|string_format:"%4.2f"}</td></tr> |
|---|
| 22 | | <tr><td><b>{#profile_memes_label#}</b></td><td align="right">{$user_profile->memes}</td> |
|---|
| 23 | | <td><b>{#profile_votes_label#}</b></td><td align="right">{$user_profile->votes}</td></tr> |
|---|
| 24 | | <tr><td><b>{#profile_votes_for_label#}</b></td><td align="right">{$user_profile->memes_votes}</td> |
|---|
| 25 | | <td><b>{#profile_comments_label#}</b></td><td align="right">{$user_profile->comments}</td></tr> |
|---|
| 26 | | </table> |
|---|
| 27 | | </div> |
|---|
| 28 | | </div> |
|---|
| 29 | | </div> |
|---|
| 30 | | <div class="infoboxFooter"><p> </p></div> |
|---|
| 31 | | </div> |
|---|
| 32 | | <h3>{#profile_memes_by_user_label#}</h3> |
|---|
| 33 | | {foreach from=$memes item=meme name=mg} |
|---|
| 34 | | <div class="meme-bg"> |
|---|
| 35 | | <table width="440" border="0" cellspacing="2" cellpadding="2" > |
|---|
| 36 | | <tr > |
|---|
| 37 | | <td colspan="2"> |
|---|
| 38 | | <div class="votos" > |
|---|
| 39 | | <h3 id="vote_count_{$meme->ID}" style="text-align:center" align="center"> |
|---|
| 40 | | {$meme->votes} |
|---|
| 41 | | </h3> |
|---|
| 42 | | {if $meme->voted <= 0} |
|---|
| 43 | | <p id="vote_label_{$meme->ID}">{#votes_label#}</p> |
|---|
| 44 | | {/if} |
|---|
| 45 | | <div class="vote-class" id="vote_button_{$meme->ID}"> |
|---|
| 46 | | {if $logged_in } |
|---|
| 47 | | {if $meme->voted <= 0} |
|---|
| 48 | | <a class="vote-class" href="#vote_count_{$meme->ID}" onclick="update_vote_div('vote_count_{$meme->ID}','{$logged_userid}')"> |
|---|
| 49 | | <img src="styles/img/meme-votar.png" border="0" alt="{#votes_label#}" /></a> |
|---|
| 50 | | {/if} |
|---|
| 51 | | {else} |
|---|
| 52 | | <a class="vote-class" href="#vote_count_{$meme->ID}" onclick="update_vote_div('vote_count_{$meme->ID}','0')"><img src="styles/img/meme-votar.png" border="0" alt="{#votes_label#}" /></a> |
|---|
| 53 | | {/if} |
|---|
| 54 | | </div> |
|---|
| 55 | | </div> |
|---|
| 56 | | <div class="meme-content"><br/><a href="{$meme->url}" onclick="goto_url({$meme->ID},'{$meme->url}'})">{$meme->title}</a> |
|---|
| 57 | | <div class="whowhen-class"> |
|---|
| 58 | | {$meme->date_posted|date_format:$bf_date_posted} |
|---|
| 59 | | {#posted_by_label#} |
|---|
| 60 | | <a style="font-size:10px" href="profile.php?user_name={$meme->username}">{$meme->username}</a> |
|---|
| 61 | | <a href="profile.php?user_name={$meme->username}"><img src="{$meme->small_gravatar}" border="0"/></a> |
|---|
| 62 | | {if 0} |  <a href="circulation.php?meme_id={$meme->ID}">circulación</a>{/if} |
|---|
| 63 | | </div> |
|---|
| 64 | | <p style="right-margin:1em"> |
|---|
| 65 | | {if $meme->micro_content} |
|---|
| 66 | | <div style="padding:4px">{$meme->micro_content}</div> |
|---|
| 67 | | {/if} |
|---|
| 68 | | {$meme->content|nl2br} |
|---|
| 69 | | </p> |
|---|
| 70 | | </div> |
|---|
| 71 | | </td> |
|---|
| 72 | | </tr> |
|---|
| 73 | | <tr><td colspan="2"> <div style="padding-left:2em" class="meme-footer-class"> |
|---|
| 74 | | <a href="comment.php?meme_id={$meme->ID}">{#comments_label#} {$meme->comments}</a> | <a href="comment.php?meme_id={$meme->ID}#debate">{#debate_label#}: {$meme->debate_pos}/{$meme->debate_0}+{$meme->clicks}/{$meme->debate_neg}</a> | <a href="tag_meme.php?meme_id={$meme->ID}">{#tag_meme_label#}</a> | <a href="{$meme->url}" onclick="goto_url({$meme->ID},'{$meme->url}')">{#url_label#}</a> | {#cat_label#} : <a href="show_cat.php?cat_id={$meme->cat_id}">{$meme->cat_title}</a> {if $meme->vote_count >= 7}|  <a href="circulation.php?meme_id={$meme->ID}">circulación</a>{/if}</div> |
|---|
| 75 | | </td></tr> |
|---|
| 76 | | </table> |
|---|
| 77 | | <hr /> |
|---|
| 78 | | </div> |
|---|
| 79 | | {/foreach} |
|---|