| 1 | <?php |
| 2 | if ($user_id) { |
| 3 | $userset=$kyberia->query("select * from user where id='$user_id'"); |
| 4 | $userset->next(); |
| 5 | $userdata=$userset->getRecord(); |
| 6 | } |
| 7 | ?> |
| 8 | |
| 9 | <br><br> |
| 10 | <center> |
| 11 | <form enctype="multipart/form-data" method=post action='<?=SCRIPT?>?action=personalize'> |
| 12 | <table width=300 class=box> |
| 13 | <tr><td align='center' colspan='2'><font color='white'><b>zmena ikony</b></td></tr> |
| 14 | <tr><td>ikona:</td><td><input name='icon' class='file' type='file'><font color=red> * </td></tr> |
| 15 | <tr><td align='center' colspan='2'><input type='submit' value="zmen ikonu" name=event></td></tr> |
| 16 | <tr><td colspan='2'><font color=red>* Mozete pouzit ikonu vo formate .gif alebo .jpg.Jej velkost bude automaticky zmenena na sirku 50 pixelov.</td> |
| 17 | </tr></table><br><br> |
| 18 | <table width=600 class=box> |
| 19 | |
| 20 | <tr><td colspan=4 align=center><font color=white><b>osobne informacie</font></b></td></tr> |
| 21 | <tr> |
| 22 | <td>email:</td><td><input value='<?=$userdata['email']?>' name=email type=text></td> |
| 23 | <td>icq:</td><td><input value='<?=$userdata['user_icq']?>' name='user_icq' type=text></td> |
| 24 | </tr> |
| 25 | <tr> |
| 26 | <td>www:</td><td><input value='<?=$userdata['user_www']?>' name='user_www' type=text></td> |
| 27 | <td>reklama?</td><td> |
| 28 | ano<input class='checkbox' type='radio' name='user_ad' value='yes' <?php if($userdata['user_ad']=='yes') echo 'checked';?>> |
| 29 | nie<input type='radio' class='checkbox' name='user_ad' value='no' <?php if($userdata['user_ad']=='no') echo 'checked';?>> |
| 30 | </td> |
| 31 | </tr> |
| 32 | <tr><td>info:</td><td colspan=3><textarea rows='10' name='user_info'><?=$userdata['user_info']?></textarea></td> |
| 33 | <tr><td align='center' colspan='4'><input type='submit' value="zmen data" name=event></td></tr> |
| 34 | </table><br><br> |
| 35 | <table width=600 class=box> |
| 36 | |
| 37 | <tr><td colspan=4 align=center><font color=white><b>systemove nastavenia</font></b></td></tr> |
| 38 | <tr> |
| 39 | <td>zobrazovat ikonky v zozname<br>prihlasenych uzivatelov</td><td><input type="radio" value="yes" name="user_active_icons" <? if ($userdata['user_active_icons'] == 'yes') echo 'checked'; ?>> ano |
| 40 | <input type="radio" value="no" name="user_active_icons" <? if ($userdata['user_active_icons'] == 'no') echo 'checked'?>> nie</td> |
| 41 | </tr> |
| 42 | <tr> |
| 43 | <td>zobrazovat ikonky userov vo forach</td><td><input type="radio" value="yes" name="user_icons_in_forum" <? if ($userdata['user_icons_in_forum'] == 'yes') echo 'checked'; ?>> ano |
| 44 | <input type="radio" value="no" name="user_icons_in_forum" <? if ($userdata['user_icons_in_forum'] == 'no') echo 'checked'?>> nie</td> |
| 45 | </tr> |
| 46 | |
| 47 | <tr> |
| 48 | <td>pocet prispevkov:</td><td><input value='<?=$userdata['user_amount']?>' name='user_amount' type=text ></td> |
| 49 | <tr><td>stastny:</td><td><input value='<?=$userdata['user_happy']?>' name='user_happy' type=text class='longtext'></td> |
| 50 | <tr><td>depresia:</td><td><input value='<?=$userdata['user_sad']?>' name='user_sad' type=text class='longtext'></td> |
| 51 | <tr><td>LASKA:</td><td><input value='<?=$userdata['user_love']?>' name='user_love' type=text class='longtext'></td> |
| 52 | <tr><td>vykaleny:</td><td><input value='<?=$userdata['user_drugged']?>' class='longtext' name='user_drugged' type=text></td> |
| 53 | <tr><td>nasrany:</td><td><input value='<?=$userdata['user_agressive']?>' class='longtext' name='user_agressive' type=text></td> |
| 54 | </tr> |
| 55 | <!-- |
| 56 | <tr> |
| 57 | <td>www:</td><td><input value='<?=$userdata['user_www']?>' name='user_www' type=text></td> |
| 58 | <td>reklama?</td><td> |
| 59 | ano<input class='checkbox' type='radio' name='user_ad' value='yes' <?php if($userdata['user_ad']=='yes') echo 'checked';?>> |
| 60 | nie<input type='radio' class='checkbox' name='user_ad' value='no' <?php if($userdata['user_ad']=='no') echo 'checked';?>> |
| 61 | </td> |
| 62 | </tr> |
| 63 | <tr><td>info:</td><td colspan=3><textarea rows='10' name='user_info'><?=$userdata['user_info']?></textarea></td> |
| 64 | --> |
| 65 | <tr><td align='center' colspan='4'><input type='submit' value="zmen nastavenie" name=event></td></tr> |
| 66 | </table><br><br> |
| 67 | <table width=600 class=box> |
| 68 | <tr><td colspan=4 align=center><font color=white><b>zmena hesla</font></b></td></tr> |
| 69 | |
| 70 | <tr> |
| 71 | <td>stare heslo:</td><td><input name='oldpassword' type='password'></td> |
| 72 | <td colspan=2> </td> |
| 73 | </tr> |
| 74 | <tr> |
| 75 | <td>nove heslo:</td><td><input name='password1' type='password'></td> |
| 76 | <td>zopakuj heslo:</td><td><input name='password2' type='password'></td> |
| 77 | </tr> |
| 78 | <tr> |
| 79 | <td align='center' colspan='4'><input type='submit' value="zmen heslo" name=event></td></tr> |
| 80 | </table> |
| 81 | </center> |
| 82 | </form><br> |
| 83 | <?php |
| 84 | //include_once("friends.inc"); |
| 85 | ?> |