[SocialEngine]Проблема с шаблоном

Статус
В этой теме нельзя размещать новые ответы.

vl25

Создатель
Регистрация
22 Апр 2008
Сообщения
18
Реакции
1
Добрый день, не могли бы помоч с небольшой проблемой в SE, смотрите на срине:

Для просмотра ссылки Войди или Зарегистрируйся

Поля уехали за рамки хидера::nezn:
Вот часть кода:
Код:
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='profile_leftside' width='200'>
{* BEGIN LEFT COLUMN *}

  {* SHOW USER PHOTO *}
  <table cellpadding='0' cellspacing='0' width='100%' style='margin-bottom: 10px;'>
  <tr>
  <td class='profile_photo'><img class='photo' src='{$owner->user_photo("./images/nophoto.gif")}' border='0'></td>
  </tr>
  </table>

  {* SHOW BUTTONS IF LOGGED IN AND VIEWING SOMEONE ELSE *}
  {if $owner->user_info.user_username != $user->user_info.user_username}
    <table class='profile_menu' cellpadding='0' cellspacing='0' width='100%'>
 
    {* SHOW VIEW FRIENDS MENU ITEM *}
    {if $total_friends != 0}
      <tr>
      <td class='profile_menu1'><a href='profile_friends.php?user={$owner->user_info.user_username}'><img src='./images/icons/browsefriends16.gif' class='icon' border='0'>{$profile7} {$owner->user_info.user_username|truncate:10:"...":true}{$profile8}</a></td>
      </tr>
    {/if}

    {* SHOW ADD OR REMOVE FRIEND MENU ITEM *}
    {if $friendship_allowed != 0 && $user->user_exists != 0}
      {if $is_friend == TRUE}
        <tr>
        <td class='profile_menu1'><a href='user_friends_confirm.php?task=remove&user={$owner->user_info.user_username}&return_url={$url->url_create('profile', $owner->user_info.user_username)}'><img src='./images/icons/remove_friend16.gif' class='icon' border='0'>{$profile41}</a></td>
        </tr>
      {else}
        <tr>
        <td class='profile_menu1'><a href='user_friends_add.php?user={$owner->user_info.user_username}'><img src='./images/icons/addfriend16.gif' class='icon' border='0'>{$profile9}</a></td>
        </tr>
      {/if}
    {/if}

    {* SHOW SEND MESSAGE MENU ITEM *}
    {if ($user->level_info.level_message_allow == 2 || ($user->level_info.level_message_allow == 1 && $is_friend)) && ($owner->level_info.level_message_allow == 2 || ($owner->level_info.level_message_allow == 1 && $is_friend))}
      <tr>
      <td class='profile_menu1'><a href='user_messages_new.php?to={$owner->user_info.user_username}'><img src='./images/icons/sendmessage16.gif' class='icon' border='0'>{$profile10}</a></td>
      </tr>
    {/if}
 
    {* SHOW REPORT THIS PERSON MENU ITEM *}
    <tr>
    <td class='profile_menu1'><a href='user_report.php?return_url={$url->url_current()}'><img src='./images/icons/report16.gif' class='icon' border='0'>{$profile11}</a></td>
    </tr>

    {* SHOW BLOCK OR UNBLOCK THIS PERSON MENU ITEM *}
    {if $user->level_info.level_profile_block != 0}
      {if $user->user_blocked($owner->user_info.user_id) == TRUE}
        <tr>
        <td class='profile_menu1'><a href='user_friends_block.php?task=unblock&user={$owner->user_info.user_username}'><img src='./images/icons/unblock16.gif' class='icon' border='0'>{$profile42}</a></td>
        </tr>
      {else}
        <tr>
        <td class='profile_menu1'><a href='user_friends_block.php?task=block&user={$owner->user_info.user_username}'><img src='./images/icons/block16.gif' class='icon' border='0'>{$profile12}</a></td>
        </tr>
      {/if}
    {/if}

    </table>
  {/if}

  {* DISPLAY IF PROFILE IS PRIVATE TO VIEWING USER *}
  {if $is_profile_private != 0}

    {* END LEFT COLUMN *}
    </td>
    <td class='profile_rightside'>
    {* BEGIN RIGHT COLUMN *}

      <img src='./images/icons/error48.gif' border='0' class='icon_big'>
      <div class='page_header'>{$profile3}</div>
      {$profile4}

  {* DISPLAY ONLY IF PROFILE IS NOT PRIVATE TO VIEWING USER *}
  {else}

    {* BEGIN STATS *}
    <table cellpadding='0' cellspacing='0' width='100%' style='margin-bottom: 10px;'>
    <tr><td class='header'>{$profile15}</td></tr>
    <tr>
    <td class='profile'>
      <table cellpadding='0' cellspacing='0'>
      <tr><td width='80'>{$profile16}</td><td>{$total_views} {$profile17}</td></tr>
      {if $setting.setting_connection_allow != 0}<tr><td>{$profile18}</td><td>{$total_friends} {$profile19}</td></tr>{/if}
      {if $owner->user_info.user_dateupdated != ""}<tr><td>{$profile22}</td><td>{$datetime->time_since($owner->user_info.user_dateupdated)}</td></tr>{/if}
      {if $owner->user_info.user_signupdate != ""}<tr><td>{$profile23}</td><td>{$datetime->cdate("`$setting.setting_dateformat`", $datetime->timezone("`$owner->user_info.user_signupdate`", $global_timezone))}</td></tr>{/if}
      </table>
    </td>
    </tr>
    </table>
    {* END STATS *}

    {* BEGIN PLUGIN RELATED PROFILE SECTIONS *}
    {section name=profile_loop loop=$global_plugins}{include file="profile_`$global_plugins[profile_loop]`.tpl"}{/section}

  {* END LEFT COLUMN *}
  </td>
  <td class='profile_rightside'>
  {* BEGIN RIGHT COLUMN *}

    {* BEGIN STATUS *}
    {if ($owner->level_info.level_profile_status != 0 AND $owner->user_info.user_status != "") OR $is_online == 1}
      <table cellpadding='0' cellspacing='0' width='100%' style='margin-bottom: 10px;'>
      <tr>
      <td class='header'>{$profile36}</td>
      <tr>
      <td class='profile'>
	{if $is_online == 1}
          <table cellpadding='0' cellspacing='0'>
          <tr>
          <td valign='top'><img src='./images/icons/online16.gif' border='0' class='icon'></td>
          <td>{$profile21}</td>
          </tr>
          </table>
	{/if}
	{if $owner->level_info.level_profile_status != 0 AND $owner->user_info.user_status != ""}
          <table cellpadding='0' cellspacing='0'{if $is_online == 1} style='margin-top: 5px;'{/if}>
          <tr>
          <td valign='top'><img src='./images/icons/status16.gif' border='0' class='icon'></td>
          <td>{$owner->user_info.user_status|choptext:12:"<br>"}</td>
          </tr>
          </table>
	{/if}
      </td>
      </tr>
      </table>
    {/if}
    {* END STATUS *}
 
это случайно не после установки "рейтинга" началось?
 
Статус
В этой теме нельзя размещать новые ответы.
Назад
Сверху