]> git.mxchange.org Git - mailer.git/blobdiff - templates/de/html/admin/admin_user_details.tpl
Large code cleanups:
[mailer.git] / templates / de / html / admin / admin_user_details.tpl
index 1c604d91b12369b3d33eb5350e3ee31a8de94642..64b5dbf3f89a9ccd40c8235b6597c372e7743eb6 100644 (file)
-<table border="0" cellspacing="0" cellpadding="0" width="99%" align="center" class="admin_table dashed">
+<div align="center">
+<table border="0" cellspacing="0" cellpadding="0" align="center" class="table dashed">
        <tr>
-               <td colspan="5" class="admin_title" align="center" style="height: 30px">
-                       <strong class="admin_green big">{--_UID--} $content[userid]</strong>
+               <td colspan="4" class="table_header bottom" align="center" style="height: 30px">
+                       <strong class="big">{--_USERID--} $content[userid]</strong>
                </td>
        </tr>
        <tr>
-               <td align="center" width="20%" class="top right">{--GENDER--}:<br />
-                       <strong>$content[gender]</strong>
+               <td align="center" width="25%" class="bottom right">
+                       {--GENDER--}:<br />
+                       <strong>{%user,gender,translateGender=$content[userid]%}</strong>
                </td>
-               <td align="center" width="20%" class="top right">{--SURNAME--}:<br />
-                       <strong>$content[surname]</strong>
+               <td align="center" width="25%" class="bottom right">
+                       {--SURNAME--}:<br />
+                       <strong>{%user,surname=$content[userid]%}</strong>
                </td>
-               <td align="center" width="20%" class="top right">{--FAMILY_NAME--}:<br />
-                       <strong>$content[family]</strong>
+               <td align="center" width="25%" class="bottom right">
+                       {--FAMILY--}:<br />
+                       <strong>{%user,family=$content[userid]%}</strong>
                </td>
-               <td align="center" width="20%" class="top right">{--STREET_NR--}:<br />
-                       <strong>$content[street_nr]</strong>
-               </td>
-               <td align="center" width="20%" class="top">{--BIRTHDAY2--}:<br />
-                       <strong>$content[birthday]</strong>
+               <td align="center" width="25%" class="bottom">
+                       {--STREET_NR--}:<br />
+                       <strong>{%user,street_nr=$content[userid]%}</strong>
                </td>
        </tr>
        <tr>
-               <td align="center" class="top right">{--COUNTRY--}:<br />
+               <td align="center" class="bottom right">
+                       {--BIRTHDAY2--}:<br />
+                       <strong>$content[birthday]</strong>
+               </td>
+               <td align="center" class="bottom right">
+                       {--COUNTRY--}:<br />
                        <strong>$content[country]</strong>
                </td>
-               <td align="center" class="top right">{--ZIP--}:<br />
-                       <strong>$content[zip]</strong>
+               <td align="center" class="bottom right">
+                       {--ZIP--}:<br />
+                       <strong>{%user,zip,bigintval=$content[userid]%}</strong>
                </td>
-               <td align="center" class="top right">{--CITY--}:<br />
-                       <strong>$content[city]</strong>
+               <td align="center" class="bottom">
+                       {--CITY--}:<br />
+                       <strong>{%user,city=$content[userid]%}</strong>
                </td>
-               <td align="center" class="top right">{--EMAIL_ADDRESS--}:<br />
+       </tr>
+       <tr>
+               <td align="center" class="bottom right">
+                       {--EMAIL--}:<br />
                        <strong><a href="$content[email_link]">$content[email]</a></strong>
                </td>
-               <td align="center" class="top">{--ACCOUNT_STATUS--}:<br />
-                       <strong>$content[status]</strong>
+               <td align="center" class="bottom right">
+                       {--ACCOUNT_STATUS--}:<br />
+                       <strong>{%user,status,translateUserStatus=$content[userid]%}</strong>
+               </td>
+               <td align="center" class="bottom right">
+                       {--RECEIVE_MAILS--}:<br />
+                       <strong>{%user,receive_mails,translateComma=$content[userid]%}</strong>
+               </td>
+               <td align="center" class="bottom">
+                       {--MAX_PER_DAY--}:<br />
+                       <strong>{%user,max_mails,translateComma=$content[userid]%}</strong>
                </td>
        </tr>
        <tr>
-               <td align="center" class="top right">{--RECEIVE_MAILS--}:<br />
-                       <strong>$content[receive_mails]</strong>
-               </td>
-               <td align="center" class="top right">{--MAX_PER_DAY--}:<br />
-                       <strong>$content[max_mails]</strong>
+               <td align="center" class="bottom right">
+                       {--REFERRAL_USERID--}:<br />
+                       <strong>{%user,refid,generateUserProfileLink=$content[userid]%}</strong>
                </td>
-               <td align="center" class="top right">{--REF_UID--}:<br />
-                       <strong>$content[refid]</strong>
+               <td align="center" class="bottom right">
+                       {--REFERRAL_CLICKS--}:<br />
+                       <strong>{%user,ref_clicks,translateComma=$content[userid]%}</strong>
                </td>
-               <td align="center" class="top right">{--REF_CLICKS--}:<br />
-                       <strong>$content[ref_clicks]</strong>
+               <td align="center" class="bottom right">
+                       {--TOTAL_LOGINS--}:<br />
+                       <strong>{%user,total_logins,translateComma=$content[userid]%}</strong>
                </td>
-               <td align="center" class="top">{--TOTAL_LOGINS--}:<br />
-                       <strong>$content[total_logins]</strong>
+               <td align="center" class="bottom">
+                       {--REMOTE_IP--}:<br />
+                       <strong>{%user,REMOTE_ADDR=$content[userid]%}</strong>
                </td>
        </tr>
        <tr>
-               <td align="center" class="top right">{--REMOTE_IP--}:<br />
-                       <strong>$content[REMOTE_ADDR]</strong>
-               </td>
-               <td align="center" class="top right">{--ADMIN_LAST_ONLINE--}:<br />
+               <td align="center" class="bottom right">
+                       {--LAST_ONLINE_SHORT--}:<br />
                        <strong>$content[last_online]</strong>
                </td>
-               <td align="center" class="top right">{--ADMIN_LAST_MODULE--}:<br />
-                       <strong>$content[last_module]</strong>
+               <td align="center" class="bottom right">
+                       {--ADMIN_LAST_MODULE--}:<br />
+                       <strong>{%user,last_module,fixEmptyContentToDashes=$content[userid]%}</strong>
                </td>
-               <td align="center" class="top right">{--HAS_JOINED--}:<br />
+               <td align="center" class="bottom right">
+                       {--HAS_JOINED--}:<br />
                        <strong>$content[joined]</strong>
                </td>
-               <td align="center" class="top">{--MAILS_SENT--}:<br />
+               <td align="center" class="bottom">
+                       {--MAILS_SENT--}:<br />
                        <strong>$content[emails_sent]</strong>
                </td>
        </tr>
        <tr>
-               <td align="center" class="top right">{--USED_POINTS--}:<br />
-                       <strong>$content[used_points]</strong>
+               <td align="center" class="bottom right">
+                       {--USED_POINTS--}:<br />
+                       <strong>{%user,used_points,translateComma=$content[userid]%}</strong>
                </td>
-               <td align="center" class="top right">{--TOTAL_POINTS--}:<br />
-                       <strong>$content[total]</strong>
+               <td align="center" class="bottom right">
+                       {--TOTAL_POINTS--}:<br />
+                       <strong>{%pipe,getTotalPoints,translateComma=$content[userid]%}</strong>
                </td>
-               <td align="center" class="top right">{--TOTAL_REFERALS--}:<br />
-                       <strong>$content[refs]</strong>
+               <td align="center" class="bottom right">
+                       {--LOCKED_POINTS--}:<br />
+                       <strong>{%pipe,translateComma=$content[locked_points]%}</strong>
                </td>
-               <td align="center" class="top right">{--TOTAL_CATS--}:<br />
+               <td align="center" class="bottom">
+                       {--OWN_POINTS--}:<br />
+                       <strong>{%pipe,translateComma=$content[own_points]%}</strong>
+               </td>
+       </tr>
+       <tr>
+               <td align="center" class="bottom right">
+                       {--TOTAL_CATEGORIES--}:<br />
                        <strong>$content[cats]</strong>
                </td>
-               <td align="center" class="top">{--UNCONFIRMED_LINKS--}:<br />
-                       <strong>$content[links]</strong>
+               <td align="center" class="bottom right">
+                       {--RAND_CONFIRMED--}:<br />
+                       <strong>{%user,rand_confirmed,translateComma=$content[userid]%}/{%config,translateComma=user_min_confirmed%}</strong>
+               </td>
+               <td align="center" class="bottom right">
+                       {--LOCK_TIMESTAMP--}:<br />
+                       <strong>$content[lock_timestamp]</strong>
+               </td>
+               <td align="center" class="bottom">
+                       {--LOCK_REASON--}:<br />
+                       <strong>{%user,lock_reason,fixEmptyContentToDashes=$content[userid]%}</strong>
                </td>
        </tr>
        <tr>
-               <td align="center" class="top right">{--LOCKED_POINTS--}:<br />
-                       <strong>$content[locked]</strong>
+               <td align="center" class="bottom right">
+                       {--UNCONFIRMED_LINKS--}:<br />
+                       <strong>$content[links]</strong>
+               </td>
+               <td align="center" class="bottom right">
+                       {--TOTAL_REFERRALS--}:<br />
+                       <strong>$content[refs]</strong>
                </td>
-               <td align="center" class="top right">{--LAST_UPDATE--}:<br />
+               <td align="center" class="bottom right">
+                       {--LAST_UPDATE--}:<br />
                        <strong>$content[last_update]</strong>
                </td>
-               <td align="center" class="top right">{--LAST_PROFILE_SENT--}:<br />
+               <td align="center" class="bottom">
+                       {--LAST_PROFILE_SENT--}:<br />
                        <strong>$content[last_profile_sent]</strong>
                </td>
-               <td align="center" class="top right">{--USER_REF_PAYOUT--}:<br />
-                       <strong>$content[ref_payout]</strong>
-               </td>
-               <td align="center" class="top">{--USER_NICKNAME--}:<br />
-                       <strong>$content[nickname]</strong>
-               </td>
        </tr>
        <tr>
-               <td align="center" class="top right">{--CLICK_RATE--}:<br />
-                       <strong>$content[click_rate]%</strong>
-               </td>
-               <td align="center" class="top right">{--EMAILS_RECEIVED--}:<br />
-                       <strong>$content[emails_received]</strong>
+               <td align="center" class="bottom right">
+                       {--ADMIN_USER_REFERRAL_PAYOUT--}:<br />
+                       <strong>{%user,ref_payout,translateComma=$content[userid]%}</strong>
                </td>
-               <td align="center" class="top right">{--MAILS_CONFIRMED--}:<br />
-                       <strong>$content[mails_confirmed]</strong>
+               <td align="center" class="bottom right">
+                       {--USER_NICKNAME--}:<br />
+                       <strong>{%user,nickname,fixEmptyContentToDashes=$content[userid]%}</strong>
                </td>
-               <td align="center" class="top right">{--RAND_CONFIRMED--}:<br />
-                       <strong>$content[rand_confirmed]</strong>
+               <td align="center" class="bottom right">
+                       {--CLICK_RATE--}:<br />
+                       <strong>{%pipe,translateComma=$content[click_rate]%}&#37;</strong>
                </td>
-               <td align="center" class="top">{--_UNUSED--}:<br />
-                       <strong>---</strong>
+               <td align="center" class="bottom">
+                       {--EMAILS_RECEIVED--}:<br />
+                       <strong>{%user,emails_received,translateComma=$content[userid]%}</strong>
                </td>
        </tr>
        <tr>
-               <td align="center" class="top right">{--LOCK_REASON--}:<br />
-                       <strong>$content[lock_reason]</strong>
-               </td>
-               <td align="center" class="top right">{--LOCK_TIMESTAMP--}:<br />
-                       <strong>$content[lock_timestamp]</strong>
+               <td align="center" class="bottom right">
+                       {--MAILS_CONFIRMED--}:<br />
+                       <strong>{%user,mails_confirmed,translateComma=$content[userid]%}</strong>
                </td>
-               <td align="center" class="top right">{--_UNUSED--}:<br />
+               <td align="center" class="bottom right">
+                       {--_UNUSED--}:<br />
                        <strong>---</strong>
                </td>
-               <td align="center" class="top right">{--_UNUSED--}:<br />
+               <td align="center" class="bottom right">
+                       {--_UNUSED--}:<br />
                        <strong>---</strong>
                </td>
-               <td align="center" class="top">{--_UNUSED--}:<br />
+               <td align="center" class="bottom">
+                       {--_UNUSED--}:<br />
                        <strong>---</strong>
                </td>
        </tr>
        <tr>
-               <td align="center" class="admin_footer top" colspan="5">
-                       <strong>{--ADMIN_MEMBER_FUNCTIONS--}:</strong><br />
-                       $content[admin_links]
+               <td align="center" class="table_footer" colspan="4">
+                       <div>
+                               <strong>{--ADMIN_MEMBER_FUNCTIONS--}:</strong>
+                       </div>
+                       <div>
+                               {%pipe,generateMemberAdminActionLinks=$content[userid]%}
+                       </div>
                </td>
        </tr>
 </table>
+</div>