А при чём здесь модератор?
В FAQnuknuk0071 писал(а):где примерно копать?
Читать статью про систему прав.
В FAQnuknuk0071 писал(а):где примерно копать?
Код: Выделить всё
'S_IS_FIRST_POST' => $post_id == $topic_data['topic_first_post_id'], Код: Выделить всё
$postrow = array( Код: Выделить всё
<!-- IF postrow.S_IS_FIRST_POST -->код кнопки<!-- ENDIF -->Ага, даже так, а я тестил на темах где уже были ответы...Singul писал(а):Если сообщение только одно, то код появляется. Как только в теме появляется следующее сообщение, код исчезает.
Код: Выделить всё
Общая ошибка
SQL ERROR [ mysqli ]
Incorrect string value: '\xCA\xEE\xE4: \xC2...' for column 'theme_data' at row 1 [1366]
SQL
UPDATE phpbb_styles_theme SET theme_mtime = 1299283227, theme_data = '/* phpBB 3.0 Style Sheet\r\n --------------------------------------------------------------\r\n Style name: proSilver\r\n Based on style: proSilver (this is the default phpBB 3 style)\r\n Original author: subBlue ( http://www.subBlue.com/ )\r\n Modified by: \r\n \r\n Copyright 2006 phpBB Group ( http://www.phpbb.com/ )\r\n --------------------------------------------------------------\r\n*/\r\n\r\n/* General proSilver Markup Styles\r\n---------------------------------------- */\r\n\r\n* {\r\n /* Reset browsers default margin, padding and font sizes */\r\n margin: 0;\r\n padding: 0;\r\n}\r\n\r\nhtml {\r\n font-size: 100%;\r\n /* Always show a scrollbar for short pages - stops the jump when the scrollbar appears. non-IE browsers */\r\n height: 101%;\r\n}\r\n\r\nbody {\r\n /* Text-Sizing with ems: http://www.clagnut.com/blog/348/ */\r\n font-family: Verdana, Helvetica, Arial, sans-serif;\r\n color: #828282;\r\n background-color: #FFFFFF;\r\n /*font-size: 62.5%; This sets the default font size to be equivalent to 10px */\r\n font-size: 10px;\r\n margin: 0;\r\n padding: 12px 0;\r\n}\r\n\r\nh1 {\r\n /* Forum name */\r\n font-family: \"Trebuchet MS\", Arial, Helvetica, sans-serif;\r\n margin-right: 200px;\r\n color: #FFFFFF;\r\n margin-top: 7px;\r\n font-weight: bold;\r\n font-size: 3em;\r\n}\r\n\r\nh2 {\r\n /* Forum header titles */\r\n font-family: \"Trebuchet MS\", Arial, Helvetica, sans-serif;\r\n font-weight: normal;\r\n color: #3f3f3f;\r\n font-size: 2em;\r\n margin: 0.8em 0 0.2em 0;\r\n}\r\n\r\nh2.solo {\r\n margin-bottom: 1em;\r\n}\r\n\r\nh3 {\r\n /* Sub-headers (also used as post headers, but defined later) */\r\n font-family: Arial, Helvetica, sans-serif;\r\n font-weight: bold;\r\n text-transform: uppercase;\r\n border-bottom: 1px solid #CCCCCC;\r\n margin-bottom: 3px;\r\n padding-bottom: 2px;\r\n font-size: 1.05em;\r\n color: #989898;\r\n margin-top: 20px;\r\n}\r\n\r\nh4 {\r\n /* Forum and topic list titles */\r\n font-family: \"Trebuchet MS\", Verdana, Helvetica, Arial, Sans-serif;\r\n font-size: 1.3em;\r\n}\r\n\r\np {\r\n line-height: 1.3em;\r\n font-size: 1.1em;\r\n margin-bottom: 1.5em;\r\n}\r\n\r\nimg {\r\n border-width: 0;\r\n}\r\n\r\nhr {\r\n /* Also see tweaks.css */\r\n border: 0 none #FFFFFF;\r\n border-top: 1px solid #CCCCCC;\r\n height: 1px;\r\n margin: 5px 0;\r\n display: block;\r\n clear: both;\r\n}\r\n\r\nhr.dashed {\r\n border-top: 1px dashed #CCCCCC;\r\n margin: 10px 0;\r\n}\r\n\r\nhr.divider {\r\n display: none;\r\n}\r\n\r\np.right {\r\n text-align: right;\r\n}\r\n\r\n/* Main blocks\r\n---------------------------------------- */\r\n#wrap {\r\n padding: 0 20px;\r\n min-width: 650px;\r\n}\r\n\r\n#simple-wrap {\r\n padding: 6px 10px;\r\n}\
МНОГО ТЕКСТА КОТОРЫЙ НЕ ВЛАЗИТ В СООБЩЕНИЕ
focus {\r\n border-color: #CFCD3C;\r\n color: #B1B1B1;\r\n}\r\n\r\n/* Form button styles\r\n---------------------------------------- */\r\n\r\na.button1, input.button1, input.button3, a.button2, input.button2 {\r\n color: #DDDDDD;\r\n background-color: #FAFAFA;\r\n background-image: url(\"{T_THEME_PATH}/images/bg_button.gif\");\r\n}\r\n\r\na.button1, input.button1 {\r\n border-color: #000000;\r\n}\r\n\r\ninput.button3 {\r\n background-image: none;\r\n}\r\n\r\n/* Alternative button */\r\na.button2, input.button2, input.button3 {\r\n border-color: #B2B1B1;\r\n}\r\n\r\n/* <a> button in the style of the form buttons */\r\na.button1, a.button1:link, a.button1:visited, a.button1:active, a.button2, a.button2:link, a.button2:visited, a.button2:active {\r\n color: #000000;\r\n}\r\n\r\n/* Hover states */\r\na.button1:hover, input.button1:hover, a.button2:hover, input.button2:hover, input.button3:hover {\r\n border-color: #000000;\r\n color: #FFFFFF;\r\n}\r\n\r\ninput.search {\r\n background-image: url(\"{T_THEME_PATH}/images/icon_textbox_search.gif\");\r\n}\r\n\r\ninput.disabled {\r\n color: #666666;\r\n}\r\n\r\n' WHERE theme_id = 6
BACKTRACE
FILE: includes/db/mysqli.php
LINE: 163
CALL: dbal->sql_error()
FILE: includes/acp/acp_styles.php
LINE: 363
CALL: dbal_mysqli->sql_query()
FILE: includes/functions_module.php
LINE: 507
CALL: acp_styles->main()
FILE: adm/index.php
LINE: 74
CALL: p_master->load_active()


Код: Выделить всё
<a href="{postrow.U_POST_AUTHOR}">{postrow.POSTER_AVATAR}</a>Код: Выделить всё
{postrow.POSTER_AVATAR}