File size: 3.71Kb
{include file="header.tpl"}
{if $user.user_id>0}
<div class="page_title">Edit Profile / Settings</div>
{if $message!=''}<div class="message">{$message}</div>{/if}
<div class="chatroom_links">
Smilies {if $settings.smileys=='on'}[ON]{else}<a href="{$smarty.server.PHP_SELF}?k={$user.user_login_key}&smileys=on">ON</a>{/if} | {if $settings.smileys=='off'}[OFF]{else}<a href="{$smarty.server.PHP_SELF}?k={$user.user_login_key}&smileys=off">OFF</a>{/if}<br/>
<br/><br/>
<a href="{$smarty.server.PHP_SELF}?k={$user.user_login_key}&color=000000" style="color:#000000;">Black</a><br/>
<a href="{$smarty.server.PHP_SELF}?k={$user.user_login_key}&color=ff0000" style="color:#ff0000;">Red</a><br/>
<a href="{$smarty.server.PHP_SELF}?k={$user.user_login_key}&color=00ffff" style="color:#00ffff;">Turquoise</a><br/>
<a href="{$smarty.server.PHP_SELF}?k={$user.user_login_key}&color=808080" style="color:#808080;">Dark Grey</a><br/>
<a href="{$smarty.server.PHP_SELF}?k={$user.user_login_key}&color=ff8040" style="color:#ff8040;">Orange</a><br/>
<a href="{$smarty.server.PHP_SELF}?k={$user.user_login_key}&color=804000" style="color:#804000;">Brown</a><br/>
<a href="{$smarty.server.PHP_SELF}?k={$user.user_login_key}&color=00ff00" style="color:#00ff00;">Green</a><br/>
<a href="{$smarty.server.PHP_SELF}?k={$user.user_login_key}&color=ffff00" style="color:#ffff00;">Yellow</a><br/>
<a href="{$smarty.server.PHP_SELF}?k={$user.user_login_key}&color=ff00ff" style="color:#ff00ff;">Pink</a><br/>
<a href="{$smarty.server.PHP_SELF}?k={$user.user_login_key}&color=408080" style="color:#408080;">Grass Green</a><br/>
<a href="{$smarty.server.PHP_SELF}?k={$user.user_login_key}&color=008000" style="color:#008000;">Dark Green</a><br/>
<a href="{$smarty.server.PHP_SELF}?k={$user.user_login_key}&color=800000" style="color:#800000;">Burgundy</a><br/>
<a href="{$smarty.server.PHP_SELF}?k={$user.user_login_key}&color=0000a0" style="color:#0000a0;">Dark Blue</a><br/>
</div>
<div class="say_form">
<form method="post" action="{$smarty.server.PHP_SELF}">
<div>
User informations (about you).<br/>
<input type="hidden" name="k" value="{$user.user_login_key}" />
<textarea name="user_infos" rows="2" class="textarea" cols="40">{$user.user_infos}</textarea><br/>
<input type="submit" class="button" value="Change informations" />
</div>
</form>
</div>
{*<div class="say_form">
<form method="post" action="{$smarty.server.PHP_SELF}" enctype="multipart/form-data">
<div>
Upload a photo.<br/>
<input type="hidden" name="max_file_size" value="2000000"/>
<input name="userfile" class="input" type="file"/>
<input type="hidden" name="k" value="{$user.user_login_key}" />
<input name="upload" type="submit" class="button" value="Upload photo"/>
</div>
</form>
</div>*}
<div class="say_form">
<form method="post" action="{$smarty.server.PHP_SELF}">
<div>
Change password.<br/>
<input type="hidden" name="k" value="{$user.user_login_key}" />
Old Password: <input type="text" name="old_password" class="input" value="" /><br/>
New Password: <input type="text" name="new_password" class="input" value="" /><br/>
Repeat new Password: <input type="text" name="new_password2" class="input" value="" /><br/>
<input type="submit" class="button" value="Change password" />
</div>
</form>
</div>
<div class="pagination">
</div>
<div class="chatroom_links">
{if $room.room_name!=''}<a href="./room.php?k={$user.user_login_key}">{$room.room_name}</a><br/>{/if}
<a href="./index.php?k={$user.user_login_key}">Chatrooms</a><br/>
</div>
{else}
{include file="login_register_message.tpl"}
{/if}
{include file="footer.tpl"}