2006-12-02 04:36:16 +00:00
|
|
|
<?php
|
|
|
|
/*
|
2009-11-12 15:01:36 +00:00
|
|
|
* e107 website system
|
|
|
|
*
|
2009-11-18 01:06:08 +00:00
|
|
|
* Copyright (C) 2008-2009 e107 Inc (e107.org)
|
2009-11-12 15:01:36 +00:00
|
|
|
* Released under the terms and conditions of the
|
|
|
|
* GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
|
|
|
|
*
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* $Source: /cvs_backup/e107_0.8/e107_themes/templates/user_template.php,v $
|
2010-02-10 18:18:01 +00:00
|
|
|
* $Revision$
|
|
|
|
* $Date$
|
|
|
|
* $Author$
|
2009-11-12 15:01:36 +00:00
|
|
|
*/
|
2006-12-02 04:36:16 +00:00
|
|
|
|
|
|
|
if (!defined('e107_INIT')) { exit; }
|
|
|
|
|
2020-05-08 14:34:34 -07:00
|
|
|
|
2016-03-14 18:32:51 -07:00
|
|
|
// v2.x Standards.
|
2020-05-08 14:34:34 -07:00
|
|
|
|
2021-01-04 08:16:21 -08:00
|
|
|
$USER_TEMPLATE = array();
|
|
|
|
$USER_WRAPPER = array();
|
2016-03-14 18:32:51 -07:00
|
|
|
|
|
|
|
|
|
|
|
$USER_TEMPLATE['addon'] = '
|
2016-04-07 16:41:31 -07:00
|
|
|
<div class="row">
|
|
|
|
<div class="col-xs-12 col-md-4">{USER_ADDON_LABEL}</div>
|
|
|
|
<div class="col-xs-12 col-md-8">{USER_ADDON_TEXT}</div>
|
|
|
|
</div>
|
2016-03-14 18:32:51 -07:00
|
|
|
';
|
|
|
|
|
|
|
|
$USER_TEMPLATE['extended']['start'] = '';
|
|
|
|
$USER_TEMPLATE['extended']['end'] = '';
|
|
|
|
|
|
|
|
$USER_TEMPLATE['extended']['item'] = '
|
2016-04-07 16:41:31 -07:00
|
|
|
<div class="row {EXTENDED_ID}">
|
|
|
|
<div class="ue-label col-xs-12 col-md-4">{EXTENDED_NAME}</div>
|
|
|
|
<div class="ue-value col-xs-12 col-md-8">{EXTENDED_VALUE}</div>
|
|
|
|
</div>
|
2016-03-14 18:32:51 -07:00
|
|
|
';
|
|
|
|
|
|
|
|
|
|
|
|
$USER_TEMPLATE['list']['start'] = "
|
|
|
|
<div class='content user-list'>
|
2021-02-23 12:58:51 -08:00
|
|
|
<div class='center'>{LAN=USER_56} {TOTAL_USERS}
|
2016-03-14 18:32:51 -07:00
|
|
|
<br />
|
|
|
|
<br />
|
|
|
|
{USER_FORM_START}
|
|
|
|
<div class='form-inline'>
|
2021-02-23 12:58:51 -08:00
|
|
|
{LAN=SHOW}: {USER_FORM_RECORDS} {LAN=USER_57} {USER_FORM_ORDER}
|
2016-03-14 18:32:51 -07:00
|
|
|
{USER_FORM_SUBMIT}
|
|
|
|
</div>
|
|
|
|
{USER_FORM_END}
|
|
|
|
</div>
|
|
|
|
<br />
|
|
|
|
<br />
|
2021-01-06 11:51:46 -08:00
|
|
|
<table class='table fborder e-list'>
|
2016-03-14 18:32:51 -07:00
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th class='fcaption' style='width:2%'> </th>
|
2021-02-23 12:58:51 -08:00
|
|
|
<th class='fcaption' style='width:20%'>{LAN=USER_58}</th>
|
|
|
|
<th class='fcaption' style='width:20%'>{LAN=USER_60}</th>
|
|
|
|
<th class='fcaption' style='width:20%'>{LAN=USER_59}</th>
|
2016-03-14 18:32:51 -07:00
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
{SETIMAGE: w=40}
|
|
|
|
";
|
|
|
|
|
|
|
|
|
|
|
|
$USER_TEMPLATE['list']['item'] = "
|
|
|
|
<tr>
|
|
|
|
<td class='forumheader3' style='width:2%'>{USER_PICTURE}</td>
|
|
|
|
<td class='forumheader3' style='width:20%'>{USER_ID}: {USER_NAME_LINK}</td>
|
|
|
|
<td class='forumheader3' style='width:20%'>{USER_EMAIL}</td>
|
|
|
|
<td class='forumheader3' style='width:20%'>{USER_JOIN}</td>
|
|
|
|
</tr>
|
|
|
|
";
|
|
|
|
|
|
|
|
$USER_TEMPLATE['list']['end'] = "
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
";
|
|
|
|
|
|
|
|
|
|
|
|
// View shortcode wrappers.
|
2021-02-23 12:58:51 -08:00
|
|
|
$USER_WRAPPER['view']['USER_COMMENTPOSTS'] = '<div class="col-xs-12 col-md-4">{LAN=USER_68}</div><div class="col-xs-12 col-md-8">{---}';
|
2016-05-05 09:52:22 -07:00
|
|
|
$USER_WRAPPER['view']['USER_COMMENTPER'] = ' ( {---}% )</div>';
|
|
|
|
$USER_WRAPPER['view']['USER_SIGNATURE'] = '<div>{---}</div>';
|
|
|
|
$USER_WRAPPER['view']['USER_RATING'] = '<div>{---}</div>';
|
|
|
|
$USER_WRAPPER['view']['USER_SENDPM'] = '<div>{---}</div>';
|
2018-07-28 16:10:23 -07:00
|
|
|
$USER_WRAPPER['view']['PROFILE_COMMENTS'] = '<div class="clearfix">{---}</div>';
|
|
|
|
// $USER_WRAPPER['view']['PROFILE_COMMENT_FORM'] = '{---} </div>';
|
2016-03-14 18:32:51 -07:00
|
|
|
|
|
|
|
$USER_TEMPLATE['view'] = '
|
|
|
|
{SETIMAGE: w=600}
|
2016-04-07 16:41:31 -07:00
|
|
|
<div class="user-profile row">
|
2016-03-14 18:32:51 -07:00
|
|
|
<div class="col-md-12">
|
|
|
|
<div class="panel panel-default panel-profile clearfix">
|
|
|
|
<div class="panel-heading" style="height:180px; background-size: cover;background-image: url( {USER_PHOTO: type=url});">
|
2021-02-23 12:58:51 -08:00
|
|
|
<h5 class="user-id">{LAN=USER_58} {USER_ID}</h5>
|
2016-03-14 18:32:51 -07:00
|
|
|
</div>
|
|
|
|
<div class="panel-body text-center">
|
2016-03-22 04:31:07 -07:00
|
|
|
{SETIMAGE: w=200&h=200&crop=1}
|
2016-03-14 18:32:51 -07:00
|
|
|
{USER_PICTURE: shape=circle&link=1}
|
|
|
|
<div class="profile-header">
|
|
|
|
<h4>{USER_NAME}</h4>
|
|
|
|
{USER_SIGNATURE}
|
|
|
|
{USER_RATING}
|
|
|
|
{USER_SENDPM}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="panel-body">
|
2021-02-23 12:58:51 -08:00
|
|
|
<div class="row"><div class="col-xs-12 col-md-4">{LAN=USER_63}</div><div class="col-xs-12 col-md-8">{USER_REALNAME}</div></div>
|
|
|
|
<div class="row"><div class="col-xs-12 col-md-4">{LAN=USER_02}</div><div class="col-xs-12 col-md-8">{USER_LOGINNAME}</div></div>
|
|
|
|
<div class="row"><div class="col-xs-12 col-md-4">{LAN=USER_60}</div><div class="col-xs-12 col-md-8">{USER_EMAIL}</div></div>
|
|
|
|
<div class="row"><div class="col-xs-12 col-md-4">{LAN=USER_54}</div><div class="col-xs-12 col-md-8">{USER_LEVEL}</div></div>
|
|
|
|
<div class="row"><div class="col-xs-12 col-md-4">{LAN=USER_65}</div><div class="col-xs-12 col-md-8">{USER_LASTVISIT}<br /><small class="padding-left">{USER_LASTVISIT_LAPSE}</small></div></div>
|
|
|
|
<div class="row"><div class="col-xs-12 col-md-4">{LAN=USER_59}</div><div class="col-xs-12 col-md-8">{USER_JOIN}<br /><small class="padding-left">{USER_DAYSREGGED}</small></div></div>
|
|
|
|
<div class="row"><div class="col-xs-12 col-md-4">{LAN=USER_66}</div><div class="col-xs-12 col-md-8">{USER_VISITS}</div></div>
|
2016-03-14 18:32:51 -07:00
|
|
|
{USER_ADDONS}
|
2016-04-07 16:41:31 -07:00
|
|
|
<div class="row">{USER_COMMENTPOSTS} {USER_COMMENTPER}</div>
|
2016-03-14 18:32:51 -07:00
|
|
|
{USER_EXTENDED_ALL}
|
2016-04-07 16:41:31 -07:00
|
|
|
<div class="row"></div>
|
2016-03-14 18:32:51 -07:00
|
|
|
</div>
|
|
|
|
<div class="panel-body text-center">
|
|
|
|
{USER_UPDATE_LINK}
|
|
|
|
</div>
|
|
|
|
<div class="panel-body">
|
|
|
|
<ul class="pager user-view-nextprev">
|
|
|
|
<li class="previous">
|
|
|
|
{USER_JUMP_LINK=prev}
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<!-- Back to List? -->
|
|
|
|
</li>
|
|
|
|
<li class="next">
|
|
|
|
{USER_JUMP_LINK=next}
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
2018-07-28 16:10:23 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2016-03-14 18:32:51 -07:00
|
|
|
</div>
|
|
|
|
</div>
|
2018-07-28 16:10:23 -07:00
|
|
|
<!-- Start Comments -->
|
|
|
|
{PROFILE_COMMENTS}
|
|
|
|
<!-- End Comments -->
|
|
|
|
|
2016-03-14 18:32:51 -07:00
|
|
|
';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|