[ Новые сообщения · Участники · Правила форума · Поиск · RSS ]
  • Страница 1 из 1
  • 1
Форум » Web Раздел » Скрипты сталкер » Снаряга с выбором по активности от меня
Снаряга с выбором по активности от меня
GrimmДата: Вс, 29.01.2012, 15:53 | Сообщение # 1




Сообщений: 31
Награды: 0
Репутация: 2

Статус:
Чтож,выкладываю в паблик снаряжение для профиля в стиле сталкер!С выбором по активности!(Если Юзер выберет недоступное,то снарь не появится у него в профиле)


В Персональную страницу где хотите видеть снаряжение:

Код
<table width="467px" height="420px" style="border:0px;">   
   <tr><td colspan=2 style="border:2px solid #222222;" align="center" width="450px" valign="top">   
        <b>Костюм</b><br><br>   

               
               
               
        </div>   
   <table align=center id="editka" width="440px">   
   <tr width="440px"><td width="210px"><div id="str"></div></td>   

        <?if($_YAHOO$=0)?><img src=http://www.stalker-st.ru/snaryaga/slot3/1.png ><?endif?>        
   <?if($_FORUM_ENTRIES$>=0)?><?if($_YAHOO$=1)?><img src=http://www.stalker-st.ru/snaryaga/slot3/1.png ><?endif?><?endif?>        
   <?if($_FORUM_ENTRIES$>=10)?> <?if($_YAHOO$=2)?><img src=http://www.stalker-st.ru/snaryaga/slot3/2.png ><?endif?><?endif?>        
   <?if($_FORUM_ENTRIES$>=10)?> <?if($_YAHOO$=3)?><img src=http://www.stalker-st.ru/snaryaga/slot3/3.png ><?endif?><?endif?>        
   <?if($_FORUM_ENTRIES$>=10)?> <?if($_YAHOO$=4)?><img src=http://www.stalker-st.ru/snaryaga/slot3/4.png ><?endif?><?endif?>        
   <?if($_FORUM_ENTRIES$>=50)?> <?if($_YAHOO$=5)?><img src=http://www.stalker-st.ru/snaryaga/slot3/5.png ><?endif?><?endif?>        
   <?if($_FORUM_ENTRIES$>=50)?> <?if($_YAHOO$=6)?><img src=http://www.stalker-st.ru/snaryaga/slot3/6.png ><?endif?><?endif?>        
   <?if($_FORUM_ENTRIES$>=50)?> <?if($_YAHOO$=7)?><img src=http://www.stalker-st.ru/snaryaga/slot3/7.png ><?endif?><?endif?>        
   <?if($_FORUM_ENTRIES$>=100)?> <?if($_YAHOO$=8)?><img src=http://www.stalker-st.ru/snaryaga/slot3/8.png ><?endif?><?endif?>        
   <?if($_FORUM_ENTRIES$>=50)?> <?if($_YAHOO$=9)?><img src=http://www.stalker-st.ru/snaryaga/slot3/9.png ><?endif?><?endif?>        
   <?if($_FORUM_ENTRIES$>=150)?> <?if($_YAHOO$=10)?><img src=http://www.stalker-st.ru/snaryaga/slot3/10.png ><?endif?> <?endif?>        
   <?if($_FORUM_ENTRIES$>=50)?> <?if($_YAHOO$=11)?><img src=http://www.stalker-st.ru/snaryaga/slot3/11.png ><?endif?> <?endif?>        
   <?if($_FORUM_ENTRIES$>=150)?> <?if($_YAHOO$=12)?><img src=http://www.stalker-st.ru/snaryaga/slot3/12.png ><?endif?> <?endif?>        
   <?if($_FORUM_ENTRIES$>=50)?> <?if($_YAHOO$=13)?><img src=http://www.stalker-st.ru/snaryaga/slot3/13.png ><?endif?> <?endif?>        
   <?if($_FORUM_ENTRIES$>=200)?> <?if($_YAHOO$=14)?><img src=http://www.stalker-st.ru/snaryaga/slot3/14.png ><?endif?> <?endif?>        
   <?if($_FORUM_ENTRIES$>=150)?> <?if($_YAHOO$=15)?><img src=http://www.stalker-st.ru/snaryaga/slot3/15.png ><?endif?> <?endif?>        
   <?if($_FORUM_ENTRIES$>=250)?> <?if($_YAHOO$=16)?><img src=http://www.stalker-st.ru/snaryaga/slot3/16.png ><?endif?> <?endif?>        
   <?if($_FORUM_ENTRIES$>=250)?> <?if($_YAHOO$=17)?><img src=http://www.stalker-st.ru/snaryaga/slot3/17.png ><?endif?> <?endif?>        
   <?if($_FORUM_ENTRIES$>=300)?> <?if($_YAHOO$=18)?><img src=http://www.stalker-st.ru/snaryaga/slot3/18.png ><?endif?> <?endif?>        
        <?if($_FORUM_ENTRIES$>=450)?> <?if($_YAHOO$=19)?><img src=http://www.stalker-st.ru/snaryaga/slot3/19.png ><?endif?> <?endif?>        
        <?if($_FORUM_ENTRIES$>=300)?> <?if($_YAHOO$=20)?><img src=http://www.stalker-st.ru/snaryaga/slot3/20.png ><?endif?> <?endif?>        
        <?if($_FORUM_ENTRIES$>=300)?> <?if($_YAHOO$=21)?><img src=http://www.stalker-st.ru/snaryaga/slot3/21.png ><?endif?> <?endif?>        
        <?if($_FORUM_ENTRIES$>=300)?> <?if($_YAHOO$=22)?><img src=http://www.stalker-st.ru/snaryaga/slot3/22.png ><?endif?> <?endif?>        
        <?if($_FORUM_ENTRIES$>=450)?> <?if($_YAHOO$=23)?><img src=http://www.stalker-st.ru/snaryaga/slot3/23.png ><?endif?> <?endif?>        
        <?if($_FORUM_ENTRIES$>=450)?> <?if($_YAHOO$=24)?><img src=http://www.stalker-st.ru/snaryaga/slot3/24.png ><?endif?> <?endif?>        
        <?if($_FORUM_ENTRIES$>=450)?> <?if($_YAHOO$=25)?><img src=http://www.stalker-st.ru/snaryaga/slot3/25.png ><?endif?> <?endif?>        
        <?if($_FORUM_ENTRIES$>=450)?> <?if($_YAHOO$=26)?><img src=http://www.stalker-st.ru/snaryaga/slot3/26.png ><?endif?> <?endif?>        
        <?if($_FORUM_ENTRIES$>=450)?> <?if($_YAHOO$=40)?><img src=http://www.stalker-st.ru/snaryaga/slot3/40.png ><?endif?> <?endif?>        
        <?if($_FORUM_ENTRIES$>=500)?> <?if($_YAHOO$=27)?><img src=http://www.stalker-st.ru/snaryaga/slot3/27.png ><?endif?> <?endif?>        
        <?if($_FORUM_ENTRIES$>=500)?> <?if($_YAHOO$=28)?><img src=http://www.stalker-st.ru/snaryaga/slot3/28.png ><?endif?> <?endif?>        

        <?if($_FORUM_ENTRIES$>=100)?> <?if($_YAHOO$=30)?><img src=http://www.stalker-st.ru/snaryaga/slot3/30.png ><?endif?> <?endif?>        
        <?if($_FORUM_ENTRIES$>=300)?> <?if($_YAHOO$=31)?><img src=http://www.stalker-st.ru/snaryaga/slot3/31.png ><?endif?> <?endif?>        
        <?if($_FORUM_ENTRIES$>=300)?> <?if($_YAHOO$=32)?><img src=http://www.stalker-st.ru/snaryaga/slot3/32.png ><?endif?> <?endif?>        
        <?if($_FORUM_ENTRIES$>=300)?> <?if($_YAHOO$=33)?><img src=http://www.stalker-st.ru/snaryaga/slot3/33.png ><?endif?> <?endif?>        

        <?if($_FORUM_ENTRIES$>=700)?> <?if($_YAHOO$=35)?><img src=http://www.stalker-st.ru/snaryaga/slot3/35.png ><?endif?> <?endif?>        
        <?if($_FORUM_ENTRIES$>=1000)?> <?if($_YAHOO$=36)?><img src=http://www.stalker-st.ru/snaryaga/slot3/36.png ><?endif?> <?endif?>   
               

        <br>   
        </td></tr>   
   </table></td></tr>   
        <tr width="460px"><td style="border:2px solid #222222;" align="center" width="230px" valign="top">   
        <b>Пистолет</b><br><br>   
               
   <?if($_AOL$=0)?><img src=http://www.stalker-st.ru/snaryaga/slot1/1.png ><?endif?>        
   <?if($_FORUM_ENTRIES$>=0)?> <?if($_AOL$=1)?><img src=http://www.stalker-st.ru/snaryaga/slot1/1.png ><?endif?> <?endif?>        
   <?if($_FORUM_ENTRIES$>=20)?> <?if($_AOL$=2)?><img src=http://www.stalker-st.ru/snaryaga/slot1/2.png ><?endif?><?endif?>        
        <?if($_FORUM_ENTRIES$>=40)?> <?if($_AOL$=3)?><img src=http://www.stalker-st.ru/snaryaga/slot1/3.png ><?endif?> <?endif?>        
        <?if($_FORUM_ENTRIES$>=60)?> <?if($_AOL$=4)?><img src=http://www.stalker-st.ru/snaryaga/slot1/4.png ><?endif?> <?endif?>        
        <?if($_FORUM_ENTRIES$>=80)?> <?if($_AOL$=5)?><img src=http://www.stalker-st.ru/snaryaga/slot1/5.png ><?endif?> <?endif?>        
   <?if($_FORUM_ENTRIES$>=100)?> <?if($_AOL$=6)?><img src=http://www.stalker-st.ru/snaryaga/slot1/6.png ><?endif?> <?endif?>        
   <?if($_FORUM_ENTRIES$>=130)?> <?if($_AOL$=7)?><img src=http://www.stalker-st.ru/snaryaga/slot1/7.png ><?endif?> <?endif?>        
        <?if($_FORUM_ENTRIES$>=160)?> <?if($_AOL$=8)?><img src=http://www.stalker-st.ru/snaryaga/slot1/8.png ><?endif?> <?endif?>        
        <?if($_FORUM_ENTRIES$>=190)?><?if($_AOL$=9)?><img src=http://www.stalker-st.ru/snaryaga/slot1/9.png ><?endif?> <?endif?>        
   <?if($_FORUM_ENTRIES$>=230)?><?if($_AOL$=10)?><img src=http://www.stalker-st.ru/snaryaga/slot1/10.png ><?endif?> <?endif?>        
        <?if($_FORUM_ENTRIES$>=350)?><?if($_AOL$=11)?><img src=http://www.stalker-st.ru/snaryaga/slot1/11.png ><?endif?> <?endif?>        

               
        <br>        
        <br>   

               
               
        </div>   
               
        <table align=center id="reditka" width="220px">   
   <tr width="220px"><td width="110px"><div id="str2"></div></td>   

        <br>   
   </td></tr>   
   </table> </td>   
        <td style="border:2px solid #222222;" align="center" width="230px" valign="top">   
        <b>Автомат</b><br><br>   
   <?if($_MSN$=0)?><img src=http://stalker-cs.ru/inv/bg/x1.gif ><?endif?>        
   <?if($_FORUM_ENTRIES$>=0)?><?if($_MSN$=1)?><img src=http://www.stalker-st.ru/snaryaga/slot2/1.png > <?endif?><?endif?>        
        <?if($_FORUM_ENTRIES$>=25)?> <?if($_MSN$=2)?><img src=http://www.stalker-st.ru/snaryaga/slot2/2.png > <?endif?><?endif?>        
   <?if($_FORUM_ENTRIES$>=50)?> <?if($_MSN$=3)?><img src=http://www.stalker-st.ru/snaryaga/slot2/3.png ><?endif?><?endif?>        
   <?if($_FORUM_ENTRIES$>=80)?> <?if($_MSN$=4)?><img src=http://www.stalker-st.ru/snaryaga/slot2/4.png ><?endif?><?endif?>        
   <?if($_FORUM_ENTRIES$>=110)?> <?if($_MSN$=5)?><img src=http://www.stalker-st.ru/snaryaga/slot2/5.png ><?endif?> <?endif?>        
   <?if($_FORUM_ENTRIES$>=140)?> <?if($_MSN$=6)?><img src=http://www.stalker-st.ru/snaryaga/slot2/6.png ><?endif?><?endif?>        
   <?if($_FORUM_ENTRIES$>=170)?> <?if($_MSN$=7)?><img src=http://www.stalker-st.ru/snaryaga/slot2/7.png ><?endif?><?endif?>        
   <?if($_FORUM_ENTRIES$>=200)?> <?if($_MSN$=8)?><img src=http://www.stalker-st.ru/snaryaga/slot2/8.png ><?endif?><?endif?>        
   <?if($_FORUM_ENTRIES$>=230)?> <?if($_MSN$=9)?><img src=http://www.stalker-st.ru/snaryaga/slot2/9.png ><?endif?><?endif?>        
   <?if($_FORUM_ENTRIES$>=260)?> <?if($_MSN$=10)?><img src=http://www.stalker-st.ru/snaryaga/slot2/10.png ><?endif?> <?endif?>        
   <?if($_FORUM_ENTRIES$>=290)?> <?if($_MSN$=11)?><img src=http://www.stalker-st.ru/snaryaga/slot2/11.png ><?endif?> <?endif?>        
   <?if($_FORUM_ENTRIES$>=330)?> <?if($_MSN$=12)?><img src=http://www.stalker-st.ru/snaryaga/slot2/12.png ><?endif?> <?endif?>        
   <?if($_FORUM_ENTRIES$>=370)?> <?if($_MSN$=13)?><img src=http://www.stalker-st.ru/snaryaga/slot2/13.png ><?endif?> <?endif?>        
   <?if($_FORUM_ENTRIES$>=400)?> <?if($_MSN$=14)?><img src=http://www.stalker-st.ru/snaryaga/slot2/14.png ><?endif?> <?endif?>        
   <?if($_FORUM_ENTRIES$>=345)?> <?if($_MSN$=15)?><img src=http://www.stalker-st.ru/snaryaga/slot2/15.png ><?endif?> <?endif?>        
   <?if($_FORUM_ENTRIES$>=345)?> <?if($_MSN$=16)?><img src=http://www.stalker-st.ru/snaryaga/slot2/16.png ><?endif?> <?endif?>        
   <?if($_FORUM_ENTRIES$>=210)?> <?if($_MSN$=17)?><img src=http://www.stalker-st.ru/snaryaga/slot2/17.png ><?endif?> <?endif?>        
               
               

   <?if($_FORUM_ENTRIES$>=500)?> <?if($_MSN$=18)?><img src=http://www.stalker-st.ru/snaryaga/slot2/18.png ><?endif?> <?endif?>        
   <?if($_FORUM_ENTRIES$>=600)?> <?if($_MSN$=19)?><img src=http://www.stalker-st.ru/snaryaga/slot2/19.png ><?endif?> <?endif?>        
   <?if($_FORUM_ENTRIES$>=700)?> <?if($_MSN$=20)?><img src=http://www.stalker-st.ru/snaryaga/slot2/20.png ><?endif?> <?endif?>        
        <?if($_FORUM_ENTRIES$>=700)?> <?if($_MSN$=21)?><img src=http://www.stalker-st.ru/snaryaga/slot2/21.png ><?endif?> <?endif?>        
        <?if($_FORUM_ENTRIES$>=900)?> <?if($_MSN$=22)?><img src=http://www.stalker-st.ru/snaryaga/slot2/22.png ><?endif?> <?endif?>        
               
        <br>        
               

               
               
        </div>   
               

   </td></tr>   
   </table>


В форму редаоктирования персональной информации вместо полей $YAHOO_FL$ ,$MSN_FL$ и $AOL_FL$ ставим :

Код
<?if($YAHOO_FL$)?>        
        <tr id="siM15"><td class="manTd1" id="siM16">Броня</td>        
        <td class="manTd2" id="siM17">        
        <script>        
        function smilepre(snar)        
        {        
        if(snar == '')        
        document.all.yahoosmilepre.innerHTML = '';        
        else        
        document.all.yahoosmilepre.innerHTML = '<img src="http://www.stalker-st.ru/snaryaga/slot3/'+snar+'.png">';        
        }        
        </script>        
        <select size="1" id="yahoosmile" name="yahoo" onChange="smilepre(this.value);">        
        <optgroup label="С регистрацией">   
        <option value="1">Свитер</option>        
   <optgroup label="Доступно с 10 постами">   
        <option value="2">Плащ"</option>        
        <option value="3">Куртка новичка"</option>   
   <option value="34">Бандитская безрукавка</option>        
        <option value="4">Куртка бандита"</option>        
        <optgroup label="Доступно с 50 постами">   
        <option value="5">Комбинезон Заря</option>        
        <option value="6">Плащь ветерана</option>        
        <option value="7">ЧНза</option>   
        <option value="9">Комбез долга</option>        
        <option value="11">Ветер свободы"</option>        
        <option value="13">Комбез наёмника</option>        
        <optgroup label="Доступно с 100 постами">        
        <option value="8">Заря м2</option>        
        <option value="30">Комбез Грешника</option>        
        <optgroup label="Доступно с 150 постами">        
        <option value="10">Броня долга</option>        
        <option value="12">Страж свободы</option>        
        <option value="15">Бронь военсталкера</option>        
        <optgroup label="Доступно с 200 постами">        
        <option value="14">Научный(Оранжевый)</option>        
        <optgroup label="Доступно с 250 постами">   
        <option value="16">Бронекостюм военного</option>        
        <option value="17">Научный(Зеленый)</option>   
        <optgroup label="Доступно с 300 постами">        
        <option value="18">Сева</option>        
   <option value="20">Сева ЧН</option>        
        <option value="21">Сева долга</option>        
        <option value="22">Сева свободы</option>        
        <option value="31">Сева монолита</option>        
        <option value="32">Сева Военного</option>        
        <optgroup label="Доступно с 450 постами">        
        <option value="19">Экзоскелет</option>   
        <option value="23">Экзоскелет Долга</option>   
        <option value="24">Экзоскелет монолита</option>        
        <option value="25">Экзоскелет Наёмников</option>        
        <option value="26">Экзоскелет Свободы</option>   
        <option value="40">Экзоскелет Военных</option>        
        <optgroup label="Доступно с 500 постами">        
        <option value="27">Укреплённый экзоскелет</option>        
        <option value="28">Костюм странника</option>        
        <optgroup label="Доступно с 700 постами">   
        <option value="35">Бронь разветчика</option>        
               
        <optgroup label="Доступно с 1000 постами">   
        <option value="36">Экзоскелет [О]</option>        

        </select>        
        <div id="yahoosmilepre"></div>        
        </td></tr><tr><td height="10" class="manTdSep" colspan="2"><hr class="manHr" /></td></tr>        
        <?endif?>   

               
        <?if($MSN_FL$)?>        
        <tr id="siM12"><td class="manTd1" id="siM13">Автомат</td>        
        <td class="manTd2" id="siM14">        
        <script>        
        function qmilepre(slot)        
        {        
        if(slot == '')        
        document.all.msnqmilepre.innerHTML = '';        
        else        
        document.all.msnqmilepre.innerHTML = '<img src="http://www.stalker-st.ru/snaryaga/slot2/'+slot+'.png">';        
        }        
        </script>        
        <select size="1" id="msnqmile" name="msn" onChange="qmilepre(this.value);">        
        <optgroup label="С регистрацией">   
        <option value="1">Гадюка</option>        
        <optgroup label="Доступно с 25 постами">   
        <option value="2">АКМ 2/у</option>        
        <optgroup label="Доступно с 50 постами">   
        <option value="3">АКМ</option>        
        <optgroup label="Доступно с 80 постами">   
        <option value="4">Абакан</option>        
        <optgroup label="Доступно с 110 постами">   
        <option value="5">Чейзер 13</option>        
        <optgroup label="Доступно с 140 постами">   
        <option value="6">СПСА</option>        
        <optgroup label="Доступно с 170 постами">   
        <option value="7">IL 86</option>        
   <optgroup label="Доступно с 200 постами">   
        <option value="8">Вал</option>        
        <optgroup label="Доступно с 210 постами">   
        <option value="17">Гроза</option>   
        <optgroup label="Доступно с 230 постами">   
        <option value="9">Винторез</option>        
        <optgroup label="Доступно с 260 постами">   
        <option value="10">GP 37</option>        
   <optgroup label="Доступно с 290 постами">   
        <option value="11">ФТ2000</option>   
        <optgroup label="Доступно с 330 постами">   
        <option value="12">Свд</option>        
        <optgroup label="Доступно с 345 постами">   
        <option value="15">В.Мосина</option>   
        <option value="16">Авм</option>        
        <optgroup label="Доступно с 370 постами">   
        <option value="13">Бульдог</option>   
        <optgroup label="Доступно с 400 постами">   
        <option value="14">Гаус пушка</option>        
               
        <optgroup label="Доступно с 500 постами">   

        <option value="18">Дробовик м2</option>        
   <optgroup label="Доступно с 600 постами">   

        <option value="19">Скорострел</option>        
        <optgroup label="Доступно с 700 постами">   
   <option value="20">Мощьный дроб</option>        
   <option value="21">М4А1 кастум</option>        
   <optgroup label="Доступно с 900 постами">   
        <option value="22">Гаус пушка М2</option>        

               

        </select>        
        <div id="msnqmilepre"></div>        
        </td></tr><tr><td height="10" class="manTdSep" colspan="2"><hr class="manHr" /></td></tr>        
        <?endif?>        
   <?if($AOL_FL$)?>   
        <tr id="siM9"><td class="manTd1" id="siM10">Пистолет</td>   
        <td class="manTd2" id="siM11">   
        <script>   
        function fmilepre(weapon)   
        {   
        if(weapon == '')   
        document.all.aolfmilepre.innerHTML = '';   
        else   
        document.all.aolfmilepre.innerHTML = '<img src="http://www.stalker-st.ru/snaryaga/slot1/'+weapon+'.png">';   
        }   
        </script>   
        <select size="1" id="aolfmile" name="aol" onChange="fmilepre(this.value);">   

        <optgroup label="С регистрацией">        

        <option value="1">ПМм</option>   
        <optgroup label="Доступно с 20 постами">        
   <option value="2">ПБ</option>   

        <optgroup label="Доступно с 40 постами">        
   <option value="3">Фора 12</option>   
        <optgroup label="Доступно с 60 постами">        
        <option value="4">ХПСС</option>   
        <optgroup label="Доступно с 80 постами">        
        <option value="5">Волкер</option>   
        <optgroup label="Доступно с 100 постами">        
        <option value="6">Сипт-М200</option>   
        <optgroup label="Доступно с 130 постами">        
        <option value="7">Кора 919</option>   
        <optgroup label="Доступно с 160 постами">        
        <option value="8">Марта</option>   
        <optgroup label="Доступно с 190 постами">        
        <option value="9">Удп компакт</option>   
        <optgroup label="Доступно с 230 постами">        
        <option value="10">Чёрный ястреб</option>   
   <optgroup label="Доступно с 350 постами">        
        <option value="11">D.E.costum</option>   

               
               
        </select>   
        <div id="aolfmilepre"></div>   
        </td></tr><tr><td height="10" class="manTdSep" colspan="2"><hr class="manHr" /></td></tr>   
        <?endif?>


Автор: Кент
Сайт автора(источник): www.stalker-st.ru

Форум » Web Раздел » Скрипты сталкер » Снаряга с выбором по активности от меня
  • Страница 1 из 1
  • 1
Поиск:

Войти Зарегистрироваться