Форум
Общий вид страниц форума (между head)Quote
<tr>
<td class="gTableLeft">Значок сообщения:</td>
<td class="gTableRight">
<img src="http://x666.ucoz.com/postIcons/v2/1.png" id="shortcut" class="shortcut" alt="img" />
<img src="http://x666.ucoz.com/postIcons/v2/2.png" class="shortcut" alt="img" />
<img src="http://x666.ucoz.com/postIcons/v2/3.png" class="shortcut" alt="img" />
<img src="http://x666.ucoz.com/postIcons/v2/4.png" class="shortcut" alt="img" />
<img src="http://x666.ucoz.com/postIcons/v2/5.png" class="shortcut" alt="img" />
<img src="http://x666.ucoz.com/postIcons/v2/6.png" class="shortcut" alt="img" />
<img src="http://x666.ucoz.com/postIcons/v2/7.png" class="shortcut" alt="img" />
<img src="http://x666.ucoz.com/postIcons/v2/8.png" class="shortcut" alt="img" />
<img src="http://x666.ucoz.com/postIcons/v2/9.png" class="shortcut" alt="img" />
<img src="http://x666.ucoz.com/postIcons/v2/10.png" class="shortcut" alt="img" />
<img src="http://x666.ucoz.com/postIcons/v2/11.png" class="shortcut" alt="img" />
<img src="http://x666.ucoz.com/postIcons/v2/12.png" class="shortcut" alt="img" />
<img src="http://x666.ucoz.com/postIcons/v2/13.png" class="shortcut" alt="img" />
<img src="http://x666.ucoz.com/postIcons/v2/14.png" class="shortcut" alt="img" />
<img src="http://x666.ucoz.com/postIcons/v2/15.png" class="shortcut" alt="img" />
<img src="http://x666.ucoz.com/postIcons/v2/16.png" class="shortcut" alt="img" />
<img src="http://x666.ucoz.com/postIcons/v2/17.png" class="shortcut" alt="img" />
<script type="text/javascript" src="http://x666.ucoz.com/postIcons/v2/u.postShortcut.v2.0.min.js"></script>
</td>
</tr>
Вид материалов
Заменяем $MESSAGE$Quote
<?if(substr($MESSAGE$,1,strpos($MESSAGE$,'png')-2)>0&&substr($MESSAGE$,1,strpos($MESSAGE$,'png')-2)<18&&substr($MESSAGE$,0,1)='@'&&strpos($MESSAGE$,'.png')!=-1)&&len(substr($MESSAGE$,strpos($MESSAGE$,'png')))>3?><?substr($MESSAGE$,strpos($MESSAGE$,'png')+10)?><?else?>$MESSAGE$<?endif?>
Иконка выводится ниже приведённым кодом.Quote
<img src="http://x666.ucoz.com/postIcons/v2/<?if(substr($MESSAGE$,1,strpos($MESSAGE$,'png')-2)>0&&substr($MESSAGE$,1,strpos($MESSAGE$,'png')-2)<18&&substr($MESSAGE$,0,1)='@'&&strpos($MESSAGE$,'.png')!=-1)&&len(substr($MESSAGE$,strpos($MESSAGE$,'png')))>3?><?substr($MESSAGE$,1,strpos($MESSAGE$,'png')+2)?><?else?>1.png<?endif?>" class="shortcut_x" alt="img" />
Нужно включить функцию "склеивать повторные ответы"