| 1 | <{if $user_ownpage == true}> |
|---|
| 2 | |
|---|
| 3 | <form name="usernav" action="user.php" method="post"> |
|---|
| 4 | |
|---|
| 5 | <br /><br /> |
|---|
| 6 | |
|---|
| 7 | <table width="70%" align="center" border="0"> |
|---|
| 8 | <tr align="center"> |
|---|
| 9 | <td><input type="button" value="<{$lang_editprofile}>" onclick="location='edituser.php'" /> |
|---|
| 10 | <input type="button" value="<{$lang_avatar}>" onclick="location='edituser.php?op=avatarform'" /> |
|---|
| 11 | <input type="button" value="<{$lang_inbox}>" onclick="location='viewpmsg.php'" /> |
|---|
| 12 | |
|---|
| 13 | <{if $user_candelete == true}> |
|---|
| 14 | <input type="button" value="<{$lang_deleteaccount}>" onclick="location='user.php?op=delete'" /> |
|---|
| 15 | <{/if}> |
|---|
| 16 | |
|---|
| 17 | <input type="button" value="<{$lang_logout}>" onclick="location='user.php?op=logout'" /></td> |
|---|
| 18 | </tr> |
|---|
| 19 | </table> |
|---|
| 20 | </form> |
|---|
| 21 | |
|---|
| 22 | <br /><br /> |
|---|
| 23 | <{elseif $xoops_isadmin != false}> |
|---|
| 24 | |
|---|
| 25 | <br /><br /> |
|---|
| 26 | |
|---|
| 27 | <table width="70%" align="center" border="0"> |
|---|
| 28 | <tr align="center"> |
|---|
| 29 | <td><input type="button" value="<{$lang_editprofile}>" onclick="location='<{$xoops_url}>/modules/system/admin.php?fct=users&uid=<{$user_uid}>&op=modifyUser'" /> |
|---|
| 30 | <input type="button" value="<{$lang_deleteaccount}>" onclick="location='<{$xoops_url}>/modules/system/admin.php?fct=users&op=delUser&uid=<{$user_uid}>'" /></td> |
|---|
| 31 | </tr> |
|---|
| 32 | </table> |
|---|
| 33 | |
|---|
| 34 | <br /><br /> |
|---|
| 35 | <{/if}> |
|---|
| 36 | |
|---|
| 37 | <table width="100%" border="0" cellspacing="5"> |
|---|
| 38 | <tr valign="top"> |
|---|
| 39 | <td width="50%"> |
|---|
| 40 | <table class="outer" cellpadding="4" cellspacing="1" width="100%"> |
|---|
| 41 | <tr> |
|---|
| 42 | <th colspan="2" align="center"><{$lang_allaboutuser}></th> |
|---|
| 43 | </tr> |
|---|
| 44 | <tr valign="top"> |
|---|
| 45 | <td class="head"><{$lang_avatar}></td> |
|---|
| 46 | <td align="center" class="even"><img src="<{$user_avatarurl}>" alt="Avatar" /></td> |
|---|
| 47 | </tr> |
|---|
| 48 | <tr> |
|---|
| 49 | <td class="head"><{$lang_realname}></td> |
|---|
| 50 | <td align="center" class="odd"><{$user_realname}></td> |
|---|
| 51 | </tr> |
|---|
| 52 | <tr> |
|---|
| 53 | <td class="head"><{$lang_website}></td> |
|---|
| 54 | <td class="even"><{$user_websiteurl}></td> |
|---|
| 55 | </tr> |
|---|
| 56 | <tr valign="top"> |
|---|
| 57 | <td class="head"><{$lang_email}></td> |
|---|
| 58 | <td class="odd"><{$user_email}></td> |
|---|
| 59 | </tr> |
|---|
| 60 | <tr valign="top"> |
|---|
| 61 | <td class="head"><{$lang_privmsg}></td> |
|---|
| 62 | <td class="even"><{$user_pmlink}></td> |
|---|
| 63 | </tr> |
|---|
| 64 | <tr valign="top"> |
|---|
| 65 | <td class="head"><{$lang_icq}></td> |
|---|
| 66 | <td class="odd"><{$user_icq}></td> |
|---|
| 67 | </tr> |
|---|
| 68 | <tr valign="top"> |
|---|
| 69 | <td class="head"><{$lang_aim}></td> |
|---|
| 70 | <td class="even"><{$user_aim}></td> |
|---|
| 71 | </tr> |
|---|
| 72 | <tr valign="top"> |
|---|
| 73 | <td class="head"><{$lang_yim}></td> |
|---|
| 74 | <td class="odd"><{$user_yim}></td> |
|---|
| 75 | </tr> |
|---|
| 76 | <tr valign="top"> |
|---|
| 77 | <td class="head"><{$lang_msnm}></td> |
|---|
| 78 | <td class="even"><{$user_msnm}></td> |
|---|
| 79 | </tr> |
|---|
| 80 | <tr valign="top"> |
|---|
| 81 | <td class="head"><{$lang_location}></td> |
|---|
| 82 | <td class="odd"><{$user_location}></td> |
|---|
| 83 | </tr> |
|---|
| 84 | <tr valign="top"> |
|---|
| 85 | <td class="head"><{$lang_occupation}></td> |
|---|
| 86 | <td class="even"><{$user_occupation}></td> |
|---|
| 87 | </tr> |
|---|
| 88 | <tr valign="top"> |
|---|
| 89 | <td class="head"><{$lang_interest}></td> |
|---|
| 90 | <td class="odd"><{$user_interest}></td> |
|---|
| 91 | </tr> |
|---|
| 92 | <tr valign="top"> |
|---|
| 93 | <td class="head"><{$lang_extrainfo}></td> |
|---|
| 94 | <td class="even"><{$user_extrainfo}></td> |
|---|
| 95 | </tr> |
|---|
| 96 | </table> |
|---|
| 97 | </td> |
|---|
| 98 | <td width="50%"> |
|---|
| 99 | <table class="outer" cellpadding="4" cellspacing="1" width="100%"> |
|---|
| 100 | <tr valign="top"> |
|---|
| 101 | <th colspan="2" align="center"><{$lang_statistics}></th> |
|---|
| 102 | </tr> |
|---|
| 103 | <tr valign="top"> |
|---|
| 104 | <td class="head"><{$lang_membersince}></td> |
|---|
| 105 | <td align="center" class="even"><{$user_joindate}></td> |
|---|
| 106 | </tr> |
|---|
| 107 | <tr valign="top"> |
|---|
| 108 | <td class="head"><{$lang_rank}></td> |
|---|
| 109 | <td align="center" class="odd"><{$user_rankimage}><br /><{$user_ranktitle}></td> |
|---|
| 110 | </tr> |
|---|
| 111 | <tr valign="top"> |
|---|
| 112 | <td class="head"><{$lang_posts}></td> |
|---|
| 113 | <td align="center" class="even"><{$user_posts}></td> |
|---|
| 114 | </tr> |
|---|
| 115 | <tr valign="top"> |
|---|
| 116 | <td class="head"><{$lang_lastlogin}></td> |
|---|
| 117 | <td align="center" class="odd"><{$user_lastlogin}></td> |
|---|
| 118 | </tr> |
|---|
| 119 | </table> |
|---|
| 120 | <br /> |
|---|
| 121 | <table class="outer" cellpadding="4" cellspacing="1" width="100%"> |
|---|
| 122 | <tr valign="top"> |
|---|
| 123 | <th colspan="2" align="center"><{$lang_signature}></th> |
|---|
| 124 | </tr> |
|---|
| 125 | <tr valign="top"> |
|---|
| 126 | <td class="even"><{$user_signature}></td> |
|---|
| 127 | </tr> |
|---|
| 128 | </table> |
|---|
| 129 | </td> |
|---|
| 130 | </tr> |
|---|
| 131 | </table> |
|---|
| 132 | |
|---|
| 133 | <!-- start module search results loop --> |
|---|
| 134 | <{foreach item=module from=$modules}> |
|---|
| 135 | |
|---|
| 136 | <p> |
|---|
| 137 | <h4><{$module.name}></h4> |
|---|
| 138 | |
|---|
| 139 | <!-- start results item loop --> |
|---|
| 140 | <{foreach item=result from=$module.results}> |
|---|
| 141 | |
|---|
| 142 | <img src="<{$result.image}>" alt="<{$module.name}>" /><b><a href="<{$result.link}>"><{$result.title}></a></b><br /><small>(<{$result.time}>)</small><br /> |
|---|
| 143 | |
|---|
| 144 | <{/foreach}> |
|---|
| 145 | <!-- end results item loop --> |
|---|
| 146 | |
|---|
| 147 | <{$module.showall_link}> |
|---|
| 148 | </p> |
|---|
| 149 | |
|---|
| 150 | <{/foreach}> |
|---|
| 151 | <!-- end module search results loop --> |
|---|