⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 profileview.tpl

📁 太烦了
💻 TPL
字号:
{strip}
{include file="popheader.tpl"}
{if $err == 28 }
	<table width="80%"  style="text-align:center;" border="0" cellspacing="5">
	<tr><td colspan="2" style="text-align:center;" class="subtitle">{lang mkey='profile_details'}</td></tr>
	<tr><td colspan="2" style="text-align:center;">{lang mkey='view_profile_restricted'}</td></tr>
	</table>
{elseif $err == 31 }
	<table width="80%"  style="text-align:center;" border="0" cellspacing="5">
	<tr><td colspan="2" style="text-align:center;" class="subtitle">{lang mkey='profile_details'}</td></tr>
	<tr><td colspan="2" style="text-align:center;">{lang mkey='profile_notset'}</td></tr>
	</table>
{else}
	<table width="100%" border="0" CELLPADDING={$config.cellpadding} CELLSPACING={$config.cellspacing}>
		<tr>
			<td class="module_detail_inside" width="100%" valign=top>
				{assign var="page_hdr01_text" value=$user.username|cat:"{lang mkey='profile_s'}"}
				{assign var="dt" value=$user.lastvisit|date_format:$lang.DATE_FORMAT}
				{assign var="page_hdr01_text_r" value="{lang mkey='lastlogged'} "|cat:$dt|cat:" &nbsp;&nbsp;"}
				{include file="admin/admin_page_hdr01.tpl"}
				<TABLE WIDTH=100% BORDER=0 CELLPADDING={$config.cellpadding} CELLSPACING={$config.cellspacing} >
					{if $errid ne ''}
					<tr>
						<td  width="100%">
							<font color="{lang mkey='error_msg_color'}">
							{mylang mkey='errormsgs' skey=$errid}</font>
						</td>
					</tr>
					{/if}
					<tr>
						<td width="100%">
							{include file="basicprofileview.tpl"}
							<table width="100%" border="0" CELLPADDING={$config.cellpadding} CELLSPACING={$config.cellspacing}>
								<tr>
									<td>
										<table width="100%" CELLPADDING=0 CELLSPACING=0 border=0>
											<tr>
												<td >
											{if $found == 1}
									{assign var="page_hdr02_text" value="{lang mkey='profile_details'}"}
									{include file="admin/admin_page_hdr02.tpl"}

												<table style="text-align:center;" border="0" width="100%" cellspacing=10 cellpadding=0>
													{assign var="ccount" value="0"}
													{foreach item=item from=$pref}
														{if $ccount == 0}
															<tr>
																<td valign="top" style="text-align:center;">
																	{include file="sectionview.tpl"}</td>
														{elseif $ccount == 1}
																<td valign="top" style="text-align:center;">
																	{include file="sectionview.tpl"}</td>
															</tr>
														{/if}
														{math equation="$ccount+1" assign="ccount"}
														{math equation="$ccount%2" assign="ccount"}
													{/foreach}
												</table>
											{else}
												{if $smarty.session.UserId != '' && $smarty.session.UserId == $smarty.get.id}
											{assign var="page_hdr02_text" value="{lang mkey='profile_details'}"}
											{include file="admin/admin_page_hdr02.tpl"}
													<table width="80%"  style="text-align:center;" border="0" cellspacing="5">
														<tr>
															<td colspan="2" style="text-align:center;">
																{lang mkey='view_profile_errmsg1'}
																<a href="edituser.php" onClick="javascript:window.opener.document.location = 'edituser.php';window.close();">
																{lang mkey='view_profile_errmsg2'}</a>
															</td>
														</tr>
													</table>
												{else}
											{assign var="page_hdr02_text" value="{lang mkey='profile_details'}"}
											{include file="admin/admin_page_hdr02.tpl"}
													<table width="80%"  style="text-align:center;" border="0" cellspacing="5">
														<tr>
															<td colspan="2" style="text-align:center;">
																{lang mkey='view_profile_errmsg3'}
															</td>
														</tr>
													</table>
												{/if}
											{/if}
											</td>
										<td>
									</table>
								</td>
							</tr>
						</table>
					</td>
				</tr>
				{if $smarty.session.UserId != '' && $smarty.session.UserId != $user.id }
					<tr>
						<td style="text-align:center;">&nbsp;&nbsp;
						{if $smarty.session.security.favouritelist == 1}
							<input type="button" class="formbutton" value="{lang mkey='addtobuddylist'}" onclick="javascript:window.location='buddybanlist.php?act=buddy&ref_id={$user.id}&rtnurl=showprofile.php';">&nbsp;
							<input type="button" class="formbutton" value="{lang mkey='addtobanlist'}" onclick="javascript:window.location='buddybanlist.php?act=ban&ref_id={$user.id}&rtnurl=showprofile.php';">&nbsp;
							<input type="button" class="formbutton" value="{lang mkey='addtohotlist'}" onclick="javascript:window.location='buddybanlist.php?act=hot&ref_id={$user.id}&rtnurl=showprofile.php';">&nbsp;
						{/if}
						{if $smarty.session.security.sendwinks == 1}
							<input type="button" class="formbutton" value="{lang mkey='send_wink'}" onclick="javascript:window.location='sendwinks.php?ref_id={$user.id}&rtnurl=showprofile.php';">
						{/if}
						{if $smarty.session.security.message == 1 && $user.id != $smarty.session.UserId}

							<!-- MOD START -->

							&nbsp;<a href="compose.php?recipient={$user.id}" class="footerlink"><input type=button class="formbutton" value="{lang mkey='send_mail'}"></a>

							<!-- MOD END -->

						{/if}
						{if $smarty.session.security.seepictureprofile == 1 && $snaps_cnt > 0 }
							&nbsp;<a onClick="javascript:popUpWindow('userpicgallery.php?id={$user.id}','center',600,600);"><input type=button class="formbutton" value="{lang mkey='pic_gallery'}"></a>
						{/if}
						</td>
					</tr>
				{/if}
		<tr>
			<td style="text-align:center;">
				{if $smarty.session.UserId != '' && $smarty.session.UserId != $user.id && $has_rated == 0 }
					{include file="rate.tpl"}
					<br />
				{/if}
			</td>
		</tr>
		</table>
	</td>
</tr>
{/if}
</table>
{include file="popfooter.tpl"}
{/strip}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -