ами ако сложа аватар($userdata['user_avatar'] - аватар на потребителя )
И само ако го зарежда през друг линк а не през галерията го отваря можели някой да ми каже как да направя такова животно което да варви
Става дума за това http://web-tourist.net/login/login/view.php?st=1103
а ето как изглежда моето
И само ако го зарежда през друг линк а не през галерията го отваря можели някой да ми каже как да направя такова животно което да варви
Става дума за това http://web-tourist.net/login/login/view.php?st=1103
а ето как изглежда моето
Код:
<?
$phpbb_root_path ='forum/';
if ($userdata['user_active']>0)
{
echo '
<table width="100%" border="0">
<tr>
<td width="20%" rowspan="3"><img src='.$userdata['user_avatar'].' alt="Потребителския Ви Аватар" height="110" border="0"user_avatar /></td>
<td width="94%"><a
href="'.$phpbb_root_path.'profile.php?mode=viewprofile&u='.$userdata['username'].' ">'. $userdata['username'].'</a><hr / </td>
</tr>
<tr>
<td valign="top">Брой мнения в форума '.$userdata['user_posts'].'</td>
</tr>
<tr>
<td valign="top"><hr /><a href="addsongs.php" title="Добави в сайта своя песен">Добави Песен</a><br />
<a href="addlyric.php" title="Добави Текст">Добави Текст</a></td>
</tr>
<tr>
<td><a class="user" href="'.$phpbb_root_path.'login.php?logout=true&sid='.$userdata['session_id'].'"><font class=red>Изход</font></a></td>
</tr>
</table>
';
}
else
{
echo '
<form action="'.$phpbb_root_path.'login.php" method="post" style="margin: 0px;">
<input type="hidden" name="redirect" value="../index.php" />
<table border="0" width="220" height="90" cellspacing="0" cellpadding="0">
<tr>
<td align="right" valign="top" class="left">
<b>Потр.:</b>
<input type="text" name="username" size="10" maxlength="25"></td>
</tr>
<tr>
<td align="right" valign="top" class="left">
<b>Парола:
<input type="password" name="password" size="10" maxlength="25">
</b></td>
</tr>
<tr>
<td align="right" valign="top">
автоматично: <input type="checkbox" name="autologin" checked ></td>
</tr>
<tr>
<td align="right" valign="top" class="left">
<input type="submit" name="login" value="Вход" class="button"></td>
</tr>
<tr>
<td height="20" align="right" valign="top" class="left" >
<a href="'.$phpbb_root_path.'profile.php?mode=register">Регистрация</a></td>
</tr>
<tr>
<td height="20" align="right" valign="top" class="left">
<a href="'.$phpbb_root_path.'profile.php?mode=sendpassword" >Забравена парола</a></td>
</tr>
</table>
</form>
';
}
?>