This is Not My Sql
PHP Code:
<div class="UsersName"><?php echo $users->UserInfo($username, 'username'); ?></div>
<div class="UsersMotto"><strong><?php echo $lang['user_motto']; ?>:</strong> <?php echo $users->UserInfo($username, 'motto'); ?></div>
<div class="UsersLastLogin"><strong><?php echo $lang['last_login']; ?>:</strong> <?php echo @date("d-m-Y",$users->UserInfo($username, 'last_online')); ?></div>
<div class="UsersCreated"><strong><?php echo $lang['user_created_on']; ?>:</strong> <?php echo @date("d-m-Y",$users->UserInfo($username, 'account_created')); ?></div>
<div class="UsersCreated"><strong><?php echo $lang['rank']; ?>:</strong> <?php echo $users->RankName($users->UserInfo($username, 'rank')); ?></div>
<div class="UsersCreated"><strong><?php echo $lang['tags']; ?>:</strong>
<?php
$tags = mysql_query("SELECT * FROM user_tags WHERE user_id = '".$users->UserID($username)."'");
while($tag= mysql_fetch_array($tags))
echo $tag['tag'].'<a href="functions/removetag.php?id='.$tag['id'].'">(x)</a>,';
?></div>
<?php
if(strtolower($username) == strtolower($_SESSION['username']))
{
?>
<form name="Tag" action="functions/addtag.php" method="post">
<label for="tag"><?php echo $lang['add_tag']; ?></label>
<input type="text" name="tag" id="tag" />
<div class="Submitbtn right">
<button type="submit" class="positive" name="submitcomment"><?php echo $lang['submit']; ?></button>
</div>
</form>
<?php
}
?>
---------- Post added at 01:14 PM ---------- Previous post was at 01:10 PM ----------
Like if helped :) you at all even alittle........