Vanofuture писал(а):Пробуй
- Код: Выделить всё
<?if($_FORUM_ENTRIES$ || $_COM_ENTRIES$)?>
а как же условие, что больше 0, 50 и т.д?
Vanofuture писал(а):Пробуй
- Код: Выделить всё
<?if($_FORUM_ENTRIES$ || $_COM_ENTRIES$)?>
%IF($_IS_ACTIVITY$)%
<script type="text/javascript">
zn=$_FORUM_ENTRIES$+$_COM_ENTRIES$; Nm=Math.floor(zn/10);
if(zn>0)
<tr onmouseover="_coloredTDs(this,'myWinTD2');" onmouseout="_coloredTDs(this,'myWinTD1');" onclick="emotion32(':0bm:',0,'2');" style="cursor:pointer;"><td width="40%" class="myWinTD1" align="center">:0bm:</td><td class="myWinTD1" align="center"><img style="margin:0;padding:0;border:0;" src="http://orden-zabvenia.ucoz.ru/smiles/0bm.gif" title="0bm" /></td></tr>
<tr onmouseover="_coloredTDs(this,'myWinTD2');" onmouseout="_coloredTDs(this,'myWinTD1');" onclick="emotion32(':0cry:',0,'2');" style="cursor:pointer;"><td width="40%" class="myWinTD1" align="center">:0cry:</td><td class="myWinTD1" align="center"><img style="margin:0;padding:0;border:0;" src="http://orden-zabvenia.ucoz.ru/smiles/0cry.gif" title="0cry" /></td></tr>
<tr onmouseover="_coloredTDs(this,'myWinTD2');" onmouseout="_coloredTDs(this,'myWinTD1');" onclick="emotion32(':0fingal:',0,'2');" style="cursor:pointer;"><td width="40%" class="myWinTD1" align="center">:0fingal:</td><td class="myWinTD1" align="center"><img style="margin:0;padding:0;border:0;" src="http://orden-zabvenia.ucoz.ru/smiles/0fingal.gif" title="0fingal" /></td></tr>
<tr onmouseover="_coloredTDs(this,'myWinTD2');" onmouseout="_coloredTDs(this,'myWinTD1');" onclick="emotion32(':0hihihi:',0,'2');" style="cursor:pointer;"><td width="40%" class="myWinTD1" align="center">:0hihihi:</td><td class="myWinTD1" align="center"><img style="margin:0;padding:0;border:0;" src="http://orden-zabvenia.ucoz.ru/smiles/0hihihi.gif" title="0hihihi" /></td></tr>
<tr onmouseover="_coloredTDs(this,'myWinTD2');" onmouseout="_coloredTDs(this,'myWinTD1');" onclick="emotion32(':0kiss3:',0,'2');" style="cursor:pointer;"><td width="40%" class="myWinTD1" align="center">:0kiss3:</td><td class="myWinTD1" align="center"><img style="margin:0;padding:0;border:0;" src="http://orden-zabvenia.ucoz.ru/smiles/0kiss3.gif" title="0kiss3" /></td></tr>
if(zn>20)
if(zn>30)
if(zn>40)
%ENDIF%
<script language="JavaScript">
zn=$_FORUM_ENTRIES$+$_COM_ENTRIES$; Nm=Math.floor(zn/10);
ue='';
var n; exp='';
if(zn>0) ue=' <tr onmouseover="_coloredTDs(this,'myWinTD2');" onmouseout="_coloredTDs(this,'myWinTD1');" onclick="emotion32(':0bm:',0,'2');" style="cursor:pointer;"><td width="40%" class="myWinTD1" align="center">:0bm:</td><td class="myWinTD1" align="center"><img style="margin:0;padding:0;border:0;" src="http://orden-zabvenia.ucoz.ru/smiles/0bm.gif" title="0bm" /></td></tr>
<tr onmouseover="_coloredTDs(this,'myWinTD2');" onmouseout="_coloredTDs(this,'myWinTD1');" onclick="emotion32(':0cry:',0,'2');" style="cursor:pointer;"><td width="40%" class="myWinTD1" align="center">:0cry:</td><td class="myWinTD1" align="center"><img style="margin:0;padding:0;border:0;" src="http://orden-zabvenia.ucoz.ru/smiles/0cry.gif" title="0cry" /></td></tr>
<tr onmouseover="_coloredTDs(this,'myWinTD2');" onmouseout="_coloredTDs(this,'myWinTD1');" onclick="emotion32(':0fingal:',0,'2');" style="cursor:pointer;"><td width="40%" class="myWinTD1" align="center">:0fingal:</td><td class="myWinTD1" align="center"><img style="margin:0;padding:0;border:0;" src="http://orden-zabvenia.ucoz.ru/smiles/0fingal.gif" title="0fingal" /></td></tr>
<tr onmouseover="_coloredTDs(this,'myWinTD2');" onmouseout="_coloredTDs(this,'myWinTD1');" onclick="emotion32(':0hihihi:',0,'2');" style="cursor:pointer;"><td width="40%" class="myWinTD1" align="center">:0hihihi:</td><td class="myWinTD1" align="center"><img style="margin:0;padding:0;border:0;" src="http://orden-zabvenia.ucoz.ru/smiles/0hihihi.gif" title="0hihihi" /></td></tr>
<tr onmouseover="_coloredTDs(this,'myWinTD2');" onmouseout="_coloredTDs(this,'myWinTD1');" onclick="emotion32(':0kiss3:',0,'2');" style="cursor:pointer;"><td width="40%" class="myWinTD1" align="center">:0kiss3:</td><td class="myWinTD1" align="center"><img style="margin:0;padding:0;border:0;" src="http://orden-zabvenia.ucoz.ru/smiles/0kiss3.gif" title="0kiss3" /></td></tr>'
if(ue) exp+= ue+'';
document.write(exp);
</script>
Vanofuture писал(а):Никаких переносов строк быть не должно и кавычки надо экранировать.
Сейчас этот форум просматривают: нет зарегистрированных пользователей и гости: 3