Код: Выделить всё
Alter table sn_users add icq int(11) not null default 0;
Alter table sn_users add skype varchar(64)Код: Выделить всё
  $user['lang']   = sys_get_param_str('langer');
  $user['avatar'] = sys_get_param_str('avatar');Код: Выделить всё
//-=contacts by KilleR=-
$icq = sys_get_param('icq');
$skype = sys_get_param('skype');
//-=/contacts by KilleR=-Код: Выделить всё
  doquery("UPDATE {{users}} SET
    `username` = '{$username}',
    `password` = '{$user['password']}',
    `email` = '{$user['email']}',
    `lang` = '{$user['lang']}',
    `avatar` = '{$user['avatar']}',Код: Выделить всё
`icq` = '{$icq}',
`skype` = '{$skype}',Код: Выделить всё
$template->assign_vars(array(
  'IS_ADMIN'       => $user['authlevel'] >= 3,
  'opt_usern_data' => $user['username'],
  'opt_mail1_data' => $user['email'],
  'opt_mail2_data' => $user['email_2'],
  'opt_dpath_data' => $user['dpath'],
  'opt_avata_data' => $user['avatar'],Код: Выделить всё
//-=contacts by KilleR=-
  'opt_skype' => $user['skype'],
  'opt_icq' => $user['icq'],
//-=/contacts by KilleR=-в contact.php заменить это:
Код: Выделить всё
$QrySelectUser  = "SELECT `username`, `email`, `authlevel` ";Код: Выделить всё
$QrySelectUser  = "SELECT `username`, `email`, `authlevel`,`icq`,`skype` ";Код: Выделить всё
  $bloc['ctc_data_mail']    = "<a href=mailto:".$Ops['email'].">".$Ops['email']."</a>";Код: Выделить всё
//-=contacts by KilleR=-
  $bloc['ctc_data_icq']    = $Ops['icq'];
  $bloc['ctc_data_skype']    = $Ops['skype'];
//-=/contacts by KilleR=-Код: Выделить всё
	<th>{ctc_data_mail}</th>Код: Выделить всё
<!--contacts by KilleR-->
	<th>{ctc_data_icq}</th>
	<th>{ctc_data_skype}</th>
<!--/contacts by KilleR-->Код: Выделить всё
	<th><font color="lime">{ctc_rank}</font></th>
	<th><font color="lime">{ctc_mail}</font></th>Код: Выделить всё
<!--contacts by KilleR-->
	<th><font color="lime">ICQ</font></th>
	<th><font color="lime">Skype</font></th>
<!--/contacts by KilleR-->Код: Выделить всё
	<td colspan="3" class="c"><b>{ctc_title}</b></td>
</tr><tr>
	<th colspan="3">Код: Выделить всё
<!--contacts by KilleR-->
	<td colspan="5" class="c"><b>{ctc_title}</b></td>
</tr><tr>
	<th colspan="5">
<!--/contacts by KilleR-->Код: Выделить всё
      <tr>
        <th>{L_permanentemaildir}</th>
        <th>{opt_mail2_data}</th>
      </tr>Код: Выделить всё
<!--contacts by KilleR-->
        <th>ICQ</th>
        <th><input name="icq" size="20" maxlength="40" type="text" value="{opt_icq}"></th>
      </tr><tr>
        <th>Skype</th>
        <th><input name="skype" size="20" maxlength="40" type="text" value="{opt_skype}"></th>
      </tr>
<!--/contacts by KilleR-->Интернет писал(а):сударь,не будьте свиньёй,оставьте копирайт