тестовый тестовик

Объявление

Информация о пользователе

Привет, Гость! Войдите или зарегистрируйтесь.


Вы здесь » тестовый тестовик » Новый форум » банк


банк

Сообщений 1 страница 11 из 11

1

[html]
<script type="text/javascript" src="http://gc.kis.v2.scr.kaspersky-labs.com/FD126C42-EBFA-4E12-B309-BB3FDD723AC1/main.js" charset="UTF-8"></script>
<script type="text/javascript">
       
       
        //create array that will hold all ordered products
        var shoppingCart = [];
       
        //this function manipulates DOM and displays content of our shopping cart
        function displayShoppingCart(){
            var orderedProductsTblBody=document.getElementById("orderedProductsTblBody");
            //ensure we delete all previously added rows from ordered products table
            while(orderedProductsTblBody.rows.length>0) {
                orderedProductsTblBody.deleteRow(0);
            }
                   
            //variable to hold total price of shopping cart
            var cart_total_price=0;
            //iterate over array of objects
            for(var product in shoppingCart){
                //add new row     
                var row=orderedProductsTblBody.insertRow();
                //create three cells for product properties
                var cellName = row.insertCell(0);
               
                var cellPrice = row.insertCell(1);
                cellPrice.align="right";
                //fill cells with values from current product object of our array
                cellName.innerHTML = shoppingCart[product].Name;
             
                cellPrice.innerHTML = shoppingCart[product].Price;
                cart_total_price+=shoppingCart[product].Price;
            }
            //fill total cost of our shopping cart
            document.getElementById("cart_total").innerHTML=cart_total_price;
        }
       
       
        function AddtoCart(name,price){
           //Below we create JavaScript Object that will hold three properties you have mentioned:    Name,Description and Price
           var singleProduct = {};
           //Fill the product object with data
           singleProduct.Name=name;
     
           singleProduct.Price=price;
           //Add newly created product to our shopping cart
           shoppingCart.push(singleProduct);
           //call display function to show on screen
           displayShoppingCart();
           
        } 

        //Add some products to our shopping cart via code or you can create a button with onclick event
        //AddtoCart("Table","Big red table",50);
        //AddtoCart("Door","Big yellow door",150);
        //AddtoCart("Car","Ferrari S23",150000);

       
       
       
    </script>
</head>

    <table cellpadding="4" cellspacing="4" border="1"><tr><td valign="top">
    <table cellpadding="4" cellspacing="4" border="0"><thead><tr><td colspan="2">
                                Products for sale
                            </td> </tr></thead> <tbody><tr><td>
                                Table
                            </td><td>
                           <input type="button" value="Add to cart" onclick="AddtoCart('Table',50)"/>
                            </td> </tr> <tr><td>
                                Door
                            </td><td>
                                <input type="button" value="Add to cart" onclick="AddtoCart('Door',150)"/>
                            </td></tr><tr><td>
                                Car
                            </td><td>
                                <input type="button" value="Add to cart" onclick="AddtoCart('Ferrari',150000)"/>

                            </td></tr></tbody></table></td><td valign="top">
                <table cellpadding="4" cellspacing="4" border="1" id="orderedProductsTbl"> <thead><tr><td>
                                Name
                            </td> <td>
                                Price</td></tr></thead>  <tbody id="orderedProductsTblBody">
                    </tbody>
                  <tfoot><tr><td colspan="4" align="right" id="cart_total">
                     </td> </tr></tfoot></table></td></tr></table>
[/html]

0

2

Код:
/*************************************************************
A - SETUP
**************************************************************/

/* A1 Import the colour scheme
-------------------------------------------------------------*/

/* A1.1 */
  @import url(style_cs.css);

/* A2 Deal with browser defaults and wonkiness
-------------------------------------------------------------*/

/* A2.1 */
html, body {margin: 0; padding: 0}

/* A2.2 */
.punbb * {
  margin: 0
  }

/* A2.3 */
.punbb ul, .punbb dl, .punbb li, .punbb dd, .punbb dt {
  padding: 0;
  list-style: none;
  }

/* A2.4 */
.punbb img {
  border:none
  }

/* A2.5 */
.punbb .main table {
  table-layout: fixed;
  width: 100%;
  }

/* A2.6 */
.checkfield input[type="checkbox"], .radiofield input[type="radio"] {margin: 0 0.3em;}

/* A2.7 */
p[class="checkfield"] *,
div[class="checkfield"] *,
fieldset[class="radiofield"] * {
  height: 1.8em;
  vertical-align: middle
  }


 /* A3 Text setup
-------------------------------------------------------------*/

/* A3.1 */
/* фон */
body {
  font-size: 100.01%;
height: 1020px;
background-color: #d4c8ba;
background: linear-gradient(to top, #d4c8ba 10%,  #b5bebb 50%, #d4c8ba 90%);
d4c8ba
background-repeat: no-repeat;
background-attachment: fixed!important; 
background-position: top center;

background-size: cover;
overflow-x: hidden !important;
  }

/* A3.2 */
.punbb {
  font: normal 68.75% verdana, arial, helvetica, sans-serif;
  }

/* 3.3 */
.punbb textarea, .punbb input, .punbb select, .punbb optgroup {
  font: 1em verdana, arial, helvetica, sans-serif
  }

/* A3.4 */
.punbb h1, .punbb h2, .punbb h3, .punbb h4, .punbb table, .punbb th {
  font-size: 1em;
  font-weight: normal;
  }

/* A3.5 */
.punbb h1 span, .punbb h2 span, .punbb legend span {
  font-size: 1.1em;
  }

/* A3.6 */
.punbb pre {
  font: 1.1em/140% monaco, "bitstream vera sans mono", "courier new", courier, monospace
  }

/* A3.7 */
.punbb address, .punbb em {
  font-style: normal
  }

/* A3.8 */
.punbb .post-content em {
  font-style: italic
  }

/* A3.9 */
.punbb .post-content em.bbuline {
  font-style: normal;
  text-decoration: underline;
  }

/* A3.10 */
.punbb a {
  text-decoration: underline
  }

/* A3.11 */
.punbb optgroup {
  font-weight: bold;
  }


/* A4 Float clearing and hidden items
-------------------------------------------------------------*/

/* A4.1 */
#pun:after,
.punbb .container:after,
.punbb .post-links ul:after,
.punbb .main div.inline:after,
.punbb .post-box:after,
.punbb .linksb:after {
  clear: both;
  content: ".";
  display: block;
  height: 0;
  visibility: hidden;
  overflow:hidden;
  line-height: 0.0;
  font-size: 0;
  }

/* A4.2 */
.acchide,
#pun-index #pun-main h1,
#pun-navlinks h2,
#pun-pagelinks h2,
#pun-status h2,
#pun-ulinks h2,
.punbb .forum h2,
.punbb .multipage .topic h2,
.punbb dl.post-sig dt span,
.punbb p.crumbs strong,
.punbb .divider hr,
.punbb .required label em,
.punbb .formsubmit label,
.punbb .submitfield label,
.punbb .modmenu label,
#pun-userlist .main h2 {
  font-size: 0;
  height: 0;
  width: 0;
  line-height: 0.0;
  position:absolute;
  left: -9999px;
  overflow: hidden
  }


/* A5 Basic page layout and borders
-------------------------------------------------------------*/


/* A5.1 */
/* ширина форума */
#pun {
  margin: auto;
width: 962px;
 position: center top;
background-color: #b3aca4;
  }

/* A5.2 */
.punbb {
  float: none;
margin-left: 30px;
width:920px;
  height: auto;

  }

/* A5.3 */
#pun-redirect, #pun-maint {
  margin: 50px 20% 12px 20%;
  width: auto;
  float: none;
  }

/* A5.4 */
.punbb .section, .punbb .main {
  margin-bottom: 1em;
  }

/* A5.5 */
.punbb .category, .punbb .post {
  margin-top: 0.4em;
  }

/* A5.6 */
.punbb #pun-category1, .punbb .toppost, .punbb .topicpost {
  margin-top: 0;
  }

/* 5.7 */
#pun-post .topic {
  margin-top: 1em;
  }

/* A5.8 */
.punbb .section, .punbb .forum, .punbb .formal, .punbb .modmenu, .punbb .info,
.punbb .category, .punbb .post {
  border-style: none none none none;
  border-width: 0px 0px 0px 0px
  }

/* A5.9 */
.punbb .container {
  border-style: none;
  border-width: 0px;
  }

/* A5.10 */
.punbb .section h2, #pun-main h1, #pun-main h2, #pun-stats h2, #pun-debug h2 {
  padding: 0.5em 1em;
  border-style: none none none none;
  border-width: 0  0 0 0 0;
  }



/*************************************************************
B - MAIN CONTENT - GENERAL
**************************************************************/

/* B1 Parsed Content, Signatures and Scroll Boxes
-------------------------------------------------------------*/

/* B1.1 */
.punbb .post-content {
  padding: 0;
  margin: 0;
  width: 100%;
  overflow: hidden;
  }

/* B1.2 */
.punbb .post-sig dt {
  display: block;
  border-top: 1


px solid #888;
  width: 250px;
  margin: 5px 0;
  }

/* B1.3 */
.punbb .post-content p {
  margin: 0;
  padding: 0 0 1em 0;
  line-height: 150%;
  }

/* B1.4 */
.punbb .post-content img {
  vertical-align: text-bottom
  }

/* B1.5 */
.punbb .post-content img.postimg {
  vertical-align: middle;
  }

/* B1.6 */
.punbb .post-content .blockcode, .punbb .post-content blockquote {
  width: 100%;
  overflow: hidden;
  }

/* B1.7 */
.punbb .post-content .scrollbox {
  width: 100%;
  overflow: auto;
  }

/* B1.8 */
/* цитаты коды */
.punbb .post-content .quote-box, .punbb .post-content .code-box {
 margin: 0.4em 1.8em 1.4em 1.8em;
 padding: 1em;
 border-style: none;
 border-width: 0px;
 /* background: rgba(212,200,186,0.6); */
 background: linear-gradient(to left, #cbc0b2  0%, #d4c8ba  36%, #b5bebb  100%);
 opacity: .8;
 color: #080808 !important;
 border: 1px solid #cfa3ba!important;
 border-radius: 1px;
 padding: 10px 15px;
 /* opacity: 0.7; */
  }

/* B1.9 */
.punbb .quote-box cite, .punbb .code-box strong.legend {
  display: block;
  padding-bottom: 0.7em;
  font-size: 1.1em;
  font-weight: bold;
  font-style: normal;
  margin: 0;
  }

/* B2 Information boxes
-------------------------------------------------------------*/

/* B2.1 */
.punbb .info-box {
  padding: 1.1em 1.7em 1em 1.7em;
  border-style: none;
  border-width: 0px;
  margin: 0 0 1.1em 0;
  }

/* B2.2 */
.punbb .info-box * {
  padding: 0 0 0.7em 0;
  }

/* B2.3 */
.punbb #pun-main .info-box .legend {
  font-size: 1.1em;
  font-weight: bold;
  }


/* B3 Pagination and posting links
-------------------------------------------------------------*/

/* B3.1 */
.punbb .linkst {
  float: left;
  position: relative;
  width: 100%;
  font-size: 1.1em;
  height: 0;
  }

/* B3.2 */
.multipage {
  margin-top: 3em;

  }

/* B3.3 */
.linkst .pagelink {
  position: absolute;
  top: -4em;
  left: 1em;
  width: 24em;
  text-transform: lowercase;
    color: #86605b;
  }

/* B3.4 */
.linkst .postlink {
  position: absolute;
  top: -4em;
  right: 1em;
  width: 16em;
  text-align: right;
  font-weight: bold;
  }

/* B3.5 */
.punbb .linksb {
  text-align: right;
  padding: 0.4em 1em 0.5em 1em;
  font-size: 1.1em;
  }

/* B3.6 */
.linksb .pagelink {
  float: left;
  width: 24em;
  text-align: left;
margin-top: 10px;
  }

/* B3.7 */
.linksb .postlink {
  float: right;
  width: 16em;
  font-weight: bold
  }

/* B3.8 */
.subscribelink {
  clear:both;
  padding-top: 0.3em;
  padding-bottom: 0.5em;
  }


/*************************************************************
C - MAIN CONTENT - SPECIFIC
**************************************************************/

/* C1 Form layout
-------------------------------------------------------------*/

/* C1.1 */
.punbb .formal .container {
  padding: 1.7em 2.3em 1.1em 2.3em;
  }

/* C1.2 */
.punbb .formsubmit {
  padding: 0 0 0 1.7em;
  margin: 1em 0 0 0;
  }

/* C1.3 */
/* посмотреть оправить */
.punbb .formsubmit input, .punbb .formsubmit a, .punbb .formsubmit span {
  margin: 0 0.6em 0 0;
  background-color: #000;
  color: #fff;
  padding: 1px 16px;
  font-family: aria black;
  text-transform: lowercase;
  font-size: 11px;
  /* text-indent: inherit; */
  font-style: bold;
  }

/* C1.4 */
.punbb fieldset {
  border-style: none;
  border-width: 0px;
  padding: 0 18px 0 18px;
  margin: 0 0 1em 0
  }

/* C1.5 */
.punbb fieldset legend {
  padding: 0;
  margin: 0 0 0 11px;
  font-size: 1.1em
  }

/* C1.6 */
.punbb fieldset legend span {
  padding: 0 5px;
  margin: 0 0 0 -15px;
  }

/* C1.7 */
.punbb fieldset fieldset {
  border-style: none;
  margin: 0;
  padding: 0 0 8px 0
  }

/* C1.8 */
.punbb .fs-box {
  padding: 1em 0 0.8em 0;
  }

/* C1.9 */
.punbb .fs-box p, .punbb .fs-box fieldset {
  padding: 0 0 0.8em 0
  }

/* C1.10 */
.punbb .inline .inputfield, .punbb .inline .selectfield, .punbb .inline .passfield {
  float: left;
  margin-right: 1em;
  }

/* C1.11 */
.punbb .inline .infofield {
  clear:both
  }

/* C1.12 */
.punbb .datafield br {
  display: none
  }

/* C1.13 */
.punbb .required label, .punbb .datafield span.input {
  font-weight: bold
  }

/* C1.14 */
.punbb .datafield span.input a {
  font-weight: normal;
  }

/* C1.15 */
.punbb .areafield span.input, .punbb p.longinput span.input {
  display: block;
  padding: 0 12em 0 0;
  height: 100%; /* For IE */
  }

/* C1.16 */
.punbb textarea, .punbb .longinput input {
  width: 64%;
  margin: 0;
  }

/* C1.17 */
.punbb .hashelp {
  position: relative;
  }

/* C1.18 */
.punbb .helplinks {
  display: block;
  position: absolute;
  top: 1em;
  right: 0;
  font-weight: normal;
  width: 36%;
  }

/* c1.19 */
.punbb #profile .helplinks {
  top: 1.5em;
  }

/* C1.20 */
.punbb .helplinks span {
  display: block;
  padding-bottom: 0.2em;
  }

/* C1.21 */
#pun-post .formal .info-box li {
  padding-left: 4px;
  list-style-type: square;
  list-style-position: inside;
  line-height: 1.5;
  margin: 0;
  }


/* C2 Table layout
-------------------------------------------------------------*/

/* C2.1 */
.punbb .main .tcl {
  overflow: hidden;
  text-align: left;
  width: 50%;
  }

/* C2.2 */
.punbb .main .tc2, .punbb .main .tc3, .punbb .main .tcmod {
  text-align: center;
  width: 10%;

  }

.category .container table .hasicon .tc2,
.category .container table .hasicon .tc3,
.forum .container table .hasicon tr .tc2,
.forum .container table .hasicon tr .tc3  {
  font-family: intro;
  color: #86605b;
  }


/* C2.3 */
.punbb .main .tcr {
  overflow: hidden;
  text-align: left;
  width: 30%;
  }

/* C2.4 */
#pun-userlist .main .tcl,
#pun-searchtopics .main .tcl,
#pun-modviewforum .main .tcl {
  width: 40%
  }

/* C2.5 */
#pun-userlist .main .tc2,
#pun-searchtopics .main .tc2 {
  text-align: left;
  width: 20%;
  }

/* C2.6 */
#pun-debug table .tcl {
  width: 15%;
  white-space:normal;
  }

/* C2.7 */
#pun-debug .tcr {
  width: 90%;
  white-space: normal;
  }

/* C2.8 */
#pun-index .tcl h3 {
  font-size: 1.2em;
  font-weight: bold;
  background: #000;
  width: 300px;
  font-family: intro;
  }

/* C2.9 */
.punbb td span.youposted {
  font-weight: bold;
  margin-left: -1em;
  position: absolute;
  }

/* C2.10 */
.punbb td .modlist {
  display: block;
  padding-top: 0.3em
  }

/* C2.11 */
.punbb .main td {
  border-style: none none none none;
  border-width:  0 0 0 0;
  padding: 0.8em 1em;
  }

/* C2.12 */
.punbb .main th {
  border-style: none none none none;
  border-width: 0 0 0 0;
  padding: 0.4em 1em 0.4em 1em;
  }

/* C2.13 */
.punbb .main .tcl {
  border-left-style: none;
  border-left-width: 0
  }

/* C2.14 */
.punbb tbody.hasicon td.tcl {
  padding-left: 3.2em;
  background: rgba(212,200,186,0.6);
  opacity: .8;
  color: #080808 !important;
 /* border: 1px solid #cfa3ba!important; */
  border-radius: 1px;
  padding: 10px 15px;

  }

/* C2.144 */
.punbb tbody.hasicon td{
  padding-left: 3.2em;
  background: rgba(212,200,186,0.6);
  opacity: .8;
  border-radius: 1px;
/* padding: 10px 15px; */
  /* border-top: 1px solid #cfa3ba; */ /* Ëèíèÿ ñâåðõó òåêñòà */
  /* border-bottom: 1px solid #cfa3ba; */ /* Ëèíèÿ ñíèçó òåêñòà */
  }

/* C2.15 */
.punbb div.icon {
  border-style: none;
  border-width: 0.6em 0.6em 0.6em 0.6em;
  height: 0;
  line-height: 0.0;
  margin-top: 0.1em;
  width: 0;
  }

/* C2.16 */
.punbb  table div.icon {
  font-size: 1.05em;
  position: absolute;
  margin-left: -2.2em;
  }

 /* C3 Topics
-------------------------------------------------------------*/

/* C3.1 */
.punbb .post .container {
  border-style: none none none none;
  border-width: 0px;
  margin-top: -1px;
  padding-bottom: 1px;
  }

/* C3.2 */
.punbb .post h3 {
  border-style: none none none none;
  border-width: 0px;
  }

/* C3.3 */
/* номер поста */
.punbb .post h3 span {
  padding: 0.5em 1em;
  display: block;
  /* margin-left: 19em; */
  border-left-style: none;
  border-left-width: 0px;
  background-color: #000;
  margin-top: 20px;
  }

/* C3.4 */
.punbb .post h3 strong {
  float: right;
  width: 5em;
  text-align: right;
  font-weight: normal;
  }

/* C3.5 */
.punbb .post .post-author {
  float: left;
  width: 19em;
  margin-top: -1.5em;
  overflow: hidden;
  }

/* C3.6 */
/* профиль */
.punbb .post .post-author ul, .punbb .post .post-author p {
 padding: 1em 1em 1em 1em;
  line-height: 110%;
  line-height: 140%;
  /* border-style: none; */
  /* border-width: 0px; */
  background: rgba(212,200,186,0.6);
  /* opacity: .8; */
  color: #080808 !important;
  border: 1px solid #cfa3ba!important;
  border-radius: 1px;
  text-align: center;
  /* padding: 10px 15px; */
  }

/* C3.7 */
/* ник профиля*/
.pa-author {
  font-size: 1.1em;
  font-weight: bold;
  text-align: center;
  font-family: intro;
  color: #fff!important;
  background-color: #000;
  padding: 3px 0px 3px 0px !important;
  }

/* аватар */
li.pa-avatar.item2 img {
  margin: 0 0 5px 0;
  border-right: 4px solid #000;
  border-bottom: 4px solid #000;
  border-left: 1px solid #000;
  border-top: 1px solid #000;
  }
  


/* C3.8 */
.pa-author a {
  text-decoration: none;
 color: #fff!important;
  }

/* C3.9 */
li.pa-title {
  padding-bottom: 0.4em;
  font-weight: bold;
  }


li.pa-online {
  line-height: 0.8em;
  border-left-style: none;
  border-left-width: 0.7em;
  padding-left: 0.4em;
  margin-top: 0.7em;
  }

/* C3.11 */
.punbb .post-body {
  margin-left: 19em;
  border-left-style: none;
  border-left-width: 1px;
  padding: 0 0 1px 0;
  }

/* C3.12 */
.punbb .post-box {
  padding: 1em;
  }

/*C3.13 */
.punbb fieldset .post-box {
  margin-bottom: 0.8em
  }

/*профиль лс емайл */
.punbb .post-links {
  margin-left: 19em;
  border-left-style: none;
  border-left-width: 0px;
  }

/* C3.15 */
/* профиль */
.punbb .post-links ul {
  padding: 0 1em 0 0;
  height: 2em;
  line-height: 2em;
  margin-left: -19em;
  border-top-style: none;
  border-top-width: 0px;
  background: transparent;
  text-align: right;
margin-top: 30px;
  }


/* C3.16 */
.punbb .post-links li {
  display: inline;
  padding-left: 1em;
  }

/* C3.17 */
.pl-email, .pl-website {
  float: left;
  }

/* C3.18 */
.punbb .clearer {
  clear: both;
  height: 0;
  font-size: 0;
  }


/* C4 Moderator menu
-------------------------------------------------------------*/

/* C4.1 */
.punbb .modmenu .container {
  padding: 0.5em 1em;
  text-align: right;
  }

/* C4.2 */
.punbb .modmenu strong, .punbb .modmenu a {
  height: 1.8em;
  line-height: 1.8em;
  }

/* C4.3 */
.punbb .modmenu .container strong {
  float: left;
  }

/* C4.4 */
.punbb .modmenu input {
  margin-left: 1em;
  }


/* C5 Message boxes
-------------------------------------------------------------*/

/* C5.1 */
.punbb .info .container {
  padding: 0.8em 1em
  }

/* C5.2 */
.punbb .info .container .backlink {
  padding-top: 0.8em;
  }


/* C6 Profile
-------------------------------------------------------------*/

/* C6.1 */
#profile .container {
  padding-left: 18.6em;
  }

/* C6.2 */
#profilenav {
  float: left;
  width: 14em;
  margin-left: -16.3em;
  display: inline;
  }

/* C6.3 */
#profilenav li {
  padding-bottom: 0.8em;
  font-weight: bold;
  }

/* C6.4 */
#viewprofile ul, #profilenav ul {
  border-style: none;
  border-width: 0px;
  padding: 1.5em 18px 0.8em 18px;
  margin: 0 0 1em 0;
  }

/* C6.5 */
#viewprofile h2, #profilenav h2 {
  background: transparent;
  border: none;
  padding: 0 0 0 0;
  margin: 0 14px -0.6em 14px;
  }

/* C6.6 */
#viewprofile h2 span, #profilenav h2 span {
  padding: 0 5px;
  position: relative;
  }

/* C6.7 */
#viewprofile li, #setmods dl {
  padding: 0 0 0 16em;
  margin-bottom: 0.2em;
  }

/* C6.8 */
#viewprofile li span {
  float: left;
  width: 14em;
  margin-left: -16em;
  padding: 0.5em 1em;
  font-weight: bold;
  }

/*C6.9 */
#setmods dt {
  float: left;
  width: 14em;
  margin-left: -16em;
  padding: 0.8em 1em;
  font-weight: bold;
  display: inline;
  }

/* C6.10 */
#viewprofile li strong, #viewprofile li div, #setmods dd {
  display: block;
  padding: 0.5em 1em;
  font-weight: normal;
  }

/* C6.11 */
.punbb img.avatardemo {
  float: right;
  margin: 0 0 0.8em 1.8em
  }


/* C7 User list
-------------------------------------------------------------*/

/* C7.1 */
#pun-userlist .formal, #pun-userlist .formal .container {
  border-bottom: none;
  margin-bottom: 0;
  }

/* C7.2 */
#pun-userlist .usertable .container {
  padding: 0 2.3em 2.3em 2.3em;
  border-top: none;
  }

/* C7.3 */
#pun-userlist .usertable table {
  border-style: none;
  border-width: 0px;
  }


/*************************************************************
D - PUNBB SECTIONS OTHER THAN MAIN CONTENT
**************************************************************/

/* D1 Logo and description
-------------------------------------------------------------*/

/* D1.1 */
#pun-title {
  margin: 0;
  border-style: none none none none;
  border-width: 0 0 0 0;
  }

/* D1.2 */
#pun-title h1 {
  display : block;
display: none;
  height : 40px;
  padding: 2em 1em 0 1em;
  }

/* D1.3 */
#pun-title .container {
  border-style: none none none none;
  }

/* D1.4 */


/* шапка*/


#pun-title table {
  border: none;
  margin-left: -30px;
  height: 176px;
  width: 962px;
  background-image: url(https://i.imgur.com/RCNya9X.png);
  background-repeat: no-repeat;
 background-color: #d4c8ba; 

position:relative;
 top:-2px;


}

#pun-title td.title-logo-tdl {
	border: none;
	width: 100%;
}

#pun-title td.title-logo-tdr {
	border: none;
	width: 468px;
}

/* D2 Page navigation
-------------------------------------------------------------*/

/* D2.1 */
#pun-pagelinks {
  position: absolute;
  top: -15px;
  left: 0;
  margin: 0;
  border: none;
  padding: 0;
  width: 100%;
  }

/* D2.2 */
#pun-pagelinks .container {
  background: transparent;
  border: none;
  padding: 0}

/* D2.3 */
#pun-pagelinks .container li {
  display: inline
  }

/* D2.4 */
#pun-pagelinks li a, #pun-pagelinks a:link, #pun-pagelinks a:hover {
  height: 2em;
  line-height: 2em;
  padding: 0;
  font-size: 1.2em;
  margin-left: -9999px;
  display: block;
  float:left;
  width: 100%;
  }

/* D2.5 */
#pun-pagelinks a:active, #pun-pagelinks a:focus {
  position:relative;
  margin: 0;
  }

#pun-pagelinks li a span {
  display:block;
  margin: 0 1em
  }

/* D3 Forum navigation
-------------------------------------------------------------*/

/* D3.1 */
#pun-navlinks, #pun-navlinks .container {
  border-style: none;
  border-width: 0;
  margin: 0;
  }

/* D3.2 */
#pun-navlinks .container {
  padding: 0.7em 1em;
text-align: center;
  }

/* D.3 */
#pun-navlinks li {
  display: inline;
 font-family: intro;
  padding-right: 1em;
  }

/* D3.4 */
#pun-navlinks li a {
    font-size: 17px;
  }

/* D4 User links
-------------------------------------------------------------*/

/* D4.1 */
#pun-ulinks  {
  margin-top: 0;
  }

/* D4.2 */
#pun-ulinks .container {
  border-top: none;
  padding: 0.7em 1em;
  font-family: 'Bahnschrift';
  text-transform: lowercase;
  position: relative;
/* left: -6px; */
  text-align: center;
  }

/* D4.3 */
#pun-ulinks li, #pun-ulinks li a {
  display: inline;
  border-left-style: none;
  border-left-width: 0px;
  white-space: nowrap;
  }

/* D4.4 */
#pun-ulinks li a {
  padding: 0 0.3em 0 0.6em
  }

/* D4.5 */
#pun-ulinks li.item1, #pun-ulinks li.item1 a {
  border-left-style: none;
  border-left-width: 0;
  padding-left: 0
  }

/* D5 Welcome box and Top Breadcrumbs
-------------------------------------------------------------*/

/* D5.1 */
#pun-status, #pun-status .container {
  border-bottom: none;
  margin-bottom: 0;
  }

/* D5.2 */
#pun-status .container {
  padding: 0.8em 1em 1em 1em;
  text-align: right;
  text-transform: lowercase;
  color: #86605b;
 
  }

/* D5.3 */
#pun-status span {
  white-space: nowrap;
  margin-right: 0.5em;
  }

/* D5.4 */
#pun-crumbs1 {
  font-weight: bold;
  overflow: hidden;
  margin-top: 0;
  }

/* D5.5 */
/* убрать названия форума на главной */
#pun-crumbs1 p.container {
  border-top: none;
  padding: 1em 1em 0.8em 1em;
  font-size: 1.1em;
display: none;
  }

/* D5.6 */
#pun-break1 {
  margin: 0 1em;
  border-style: none none;
  border-width: 0px 0;
  height: 0;
  margin: -2px 1em;
  position: relative;
  z-index: 1;
  }

/* D6 Announcement
-------------------------------------------------------------*/

/* D6.1 */
#pun-announcement h2 {
  padding: 0;
  margin: 0 1em -3.5em 1em;
  border-style: none none none none;
  border-width: 0 0 0 0;
  position: relative;
  font-weight: bold;
  }

/* D6.2 */
#pun-announcement h2 span {
  display: block;
  padding: 1em 0 0.8em 0;
  border-bottom-style: none;
  border-bottom-width: 0em ;
  }

/* D6.3 */
#pun-announcement .container {
  padding: 4.3em 1em 1em 1em;
  }

/* D7 Statistics
-------------------------------------------------------------*/

/* D7.1 */
#pun-stats .container {
  padding: 0.8em 1em
  }

/* D7.2 */
#pun-stats li.item1, #pun-stats li.item2 {
  float: left;
  clear: both;
  line-height: 150%;
  }

/* D7.3 */
#pun-stats li.item3, #pun-stats li.item4 {
  text-align: right;
  line-height: 150%;
  }

/* D7.4 */
li#onlinelist {
  margin-top: 1em;
  border-top-style: none;
  border-top-width: 0px;
  float: left;
  width: 100%;
  line-height: 130%;
  }

/* D7.5 */
li#onlinelist div {
  border-top-style: em ;
  border-top-width: 0px;
  padding: 0.7em 0 0 0;
  }

/* D8 Quick Jump - About - Bottom Breadcrumbs
-------------------------------------------------------------*/

/* D8.1 */
#pun-qjump {
  margin: 0;
  border: none;
  width: 50%;
  position: relative;
  float: left;
  }

/* D8.2 */
#pun-qjump .container {
  border: none;
  background: transparent;
  padding: 0.8em 1em;
  }

/* D8.3 */
#pun-about {
  margin-top: 0;
  }

/* D8.4 */
#pun-about .container {
  border-top-style: none;
  text-align: right;
  line-height: 150%;
  padding: 0.8em 1em;
  }

/* D8.5 */
#pun-about p span {
  display:block;
  padding-left: 50%;
  }

/* D8.6 */
#pun-crumbs2 {
  font-weight: bold;
  overflow: hidden;
  margin-bottom: 0;
  border-bottom: none;
  }

/* D8.7 */
#pun-crumbs2 .container {
  border-bottom: none;
  padding: 0.8em 1em;
  font-size: 1.1em;
  }

/* D8.8 */
#pun-break4 {
  margin: -2px 1em;
  border-style: none  none;
  border-width: 0 0;
  position: relative;
  height: 0;
  z-index: 1;
  }

/* D8.9 */
div.punbb-admin #pun-about .container {
  border-top-style: none;
  border-top-width: 0px;
  }


/* D9 Help file
-------------------------------------------------------------*/

/* D9.1 */
#pun-help .formal .info-box h3.legend {
  border-bottom-style: none;
  border-bottom-width:0px;
  padding-bottom: 0;
  margin-bottom: 0.8em;
  }

/* D9.2 */
#pun-help .formal .info-box h3.legend span {
  padding-bottom: 0.6em;
  display: block;
  border-bottom-style: none;
  border-bottom-width: 0px;
  font-size: 1.1em;
  }

/* D9.3 */
#pun-help .formal p, #pun-help .formal dd {
  margin-bottom: 1em
  }

/* D9.4 */
#pun-help .formal ul, #pun-help .formal dl {
  padding: 0 0 0 1em
  }

/* D9.5 */
#pun-help .formal li {
  padding: 0;
  line-height: 130%
  }

/* D9.6 */
#pun-help .formal li * {
  vertical-align: text-top
  }

/* D9.7 */
#pun-help .formal dt span {
  font: 1.4em/120% monaco, "bitstream vera sans mono", "courier new", courier, monospace
  }

/* D9.8 */
#pun-help .formal .parsedmsg, #pun-help .formal .parsedmsg .incode {
  padding-bottom: 0;
  }


/* убрать поделиться*/
.topic a.sharelink {
    display: none;
}



/* убрать подчеркивание ссылок*/
a:-webkit-any-link { text-decoration: none !important; }

0

3

Код:
/* CS1 Background and text colours
-------------------------------------------------------------*/

/* фон */
body {background-color: #000;  }

/* Тело форума */
#pun {
width: 962px; 

background-image: url(https://i.imgur.com/eMwSu3W.png); 
background-attachment: scroll; 
background-repeat: repeat; 
background-position: top center;}

/* CS1.1 */
.punbb .section .container, .punbb .post-body, .punbb .post-links, .punbb td.tc2, .punbb td.tc3,
.punbb .formal fieldset .post-box, #viewprofile li strong, #viewprofile li div, #setmods dd,
.punbb .info-box, .punbb #pun-main .info-box .legend {
 /* background-color: #f1f1f1; */
  color: #333;
  }

/* CS1.2 */
.punbb .main .container, .punbb .post .container, .punbb .post h3, .punbb-admin #pun-admain .adcontainer {
 /* background-color: #f1f1f1; */

  }

/* CS1.3 */
#pun-stats h2, .punbb .main h1, .punbb .main h2, #pun-debug h2, .punbb-admin #pun-admain h2 {
 /* background-color: #f1f1f1; */
 color: #eee;
 font-family: intro;
 font-size: 15px;
 text-shadow: 1px 0px 1px #190505;
 text-align: center;
  }

/* CS1.4 */
#pun-title, #pun-title .container, .punbb .modmenu .container {
  /* background-color: #E1EDF7; */
  color: #333;
  }

/* профиль */
.punbb .post .post-author {
  position: relative;
  top: 30px;

  }

/* CS1.5 */
.punbb legend span, #viewprofile h2 span, #profilenav h2 span, .punbb-admin #pun-admain legend span {
  background-color: #f7f7f7;
/* color: #005EAB; */
  }

/* CS1.6 */
.punbb .post h3 span, .punbb th, #viewprofile li, #setmods dl  {
 /* background-color: #dedfdf; */
  color: #333
  }

/* CS1.7 */
.punbb .quote-box, .punbb .code-box {
 /* background-color: #dedfdf; */
  color: #333
  }

/* CS1.8 */
#pun-navlinks .container {
 /* background-color: #dedfdf; */
  color: #f1f1f1;
  }

.offline li.pa-online strong {
  font-weight: normal
  }

/* CS2 Border colours
-------------------------------------------------------------*/

/* CS2.1 */
.punbb .container, .punbb .post-body, .post h3, #pun-title {
  border-color: #ccc #ccc #aaa #ccc
  }

/* CS2.2 */
.punbb .section, .punbb .forum, .punbb .formal, .punbb .modmenu, .punbb .info,
.punbb .category, .punbb .post {
  border-color: #f5f5f5
  }

/* CS2.3 */
#pun-stats h2, .punbb .main h1, .punbb .main h2, #pun-debug h2, .punbb-admin #pun-admain h2 {
  border-color: #004F90;
  }

/* CS2.4 */
.punbb td, .punbb fieldset, #viewprofile ul, #profilenav ul, .punbb .post .post-body,
.punbb .post h3 span, .post-links ul, .post-links, .usertable table {
  border-color: #C9D6E0;
  }

/* CS2.5 */
.punbb th {
  border-color: #dedfdf
  }

/* CS2.6 */
.punbb .quote-box, .punbb .code-box {
  border-color: #ccc #fff #fff #ccc;
  }

#pun-ulinks li, #pun-announcement h2 span, li#onlinelist, #pun-help .formal .info-box h3.legend span {
  border-color: #ccc
  }

#pun-ulinks li a, #pun-announcement h2, li#onlinelist div, #pun-help .formal .info-box h3.legend {
  border-color: #fff
  }

.punbb .divider {
  border-color: #ccc #fff #fff #fff
  }

.punbb .formal fieldset .post-box, .punbb .info-box {
  border: 1px solid #dedfdf
  }

li.pa-online {
  border-left-color: #005EAB;
  }


/* CS3 Links
-------------------------------------------------------------*/

td.tcr a {
    background-repeat: no-repeat;
    background-position: left center;
    font-family: 'Bahnschrift';
    font-size: 13px;
    text-transform: lowercase;
}


/* CS3.1 */
.punbb a, .punbb a:link, .punbb a:visited,
.punbb-admin #pun-admain a, .punbb-admin #pun-admain a:link, .punbb-admin #punbb-admain a:visited {
  color: #86605b;
  }

.punbb li.isactive a, .punbb li.isactive a:link, .punbb li.isactive a:visited {
  color: #333;
  }

/* CS3.2 */
.punbb a:hover, .punbb a:focus, .punbb a:active,  .punbb-admin #pun-admain .nodefault,
.punbb-admin #punbb-admain a:hover, .punbb-admin #punbb-admain a:focus, .punbb-admin #punbb-admain a:active {
color: #86605b;
    transition-duration: 1s;
  }

/* CS3.3 */
#pun-navlinks a {
  color: #eee;
  text-decoration: none
  }

/* CS3.4 */
#pun-navlinks a:hover, #pun-navlinks a:focus, #pun-navlinks a:active {
  color: #fff;
  text-decoration: underline
  }

#pun-pagelinks a:active, #pun-pagelinks a:focus {
  background-color: #333;
  color: #fff;
  }

/* CS4 Post status icons
 -------------------------------------------------------------*/

div.icon {border-color: #E6E6E6 #DEDEDE #DADADA #E2E2E2}
tr.iredirect div.icon {border-color: #F7F7F7 #F7F7F7 #F7F7F7 #f7f7f7}
div.inew {border-color: #0080D7 #0065C0 #0058B3 #0072CA}

#pun-main div.catleft, #pun-main div.catright {display: none}

/* cкрыть: "форум, тем, сообщений, последнее сообщение" */
#pun-index .category table  thead {
display:none;}



.calculator {
position: relative;z-index: 1;top: -450px;left: 185px;
    text-align: center;
    width: 240px;
    border-right: 30px solid #498684;
    height: 350px;
    background: url(https://forumstatic.ru/files/0019/91/51/91020.jpg);
}

.temy button{
    float: left;
    margin: 0 -9px 0 9px;
    width: 56px;
    height: 56px;
    color: #799e71;
    font-family: codeproregular;
    text-shadow: 0 0 3px #9cb597, 1px 1px 0 #fff;
    background: url(https://forumstatic.ru/files/0019/91/51/74156.jpg);
    box-shadow: 0 0 10px inset #fff, 0 0 5px #9ad9dc;
    border: 1px solid #528082;
    cursor: pointer;
    clip-path: none;
    border-radius: 5px;
    -webkit-transition: 0.15s linear;
    -moz-transition: 0.15s linear;
    transition: 0.15s linear;
}

.temy button:hover {background: url(https://forumstatic.ru/files/0019/91/51/91020.jpg);    color: #fff;    text-shadow: 0 0 3px #ffffff, 1px 1px 0 #315f61;}


function show(shown, hidden) {
	document.getElementById(shown).style.display='block';
	document.getElementById(hidden).style.display='none';
	return false;
	}
	
function AddtoCart() {
	console.log( 'hi');
	var x=document.getElementById('Items');
	var new_row = x.rows[1].cloneNode(true);
	var len = x.rows.length;
    new_row.cells[0].innerHTML = len;
    
	var inp1 = new_row.cells[1].getElementsByTagName('input')[0];
	inp1.id += len;
	inp1.value = '';
	var inp2 = new_row.cells[2].getElementsByTagName('input')[0];
	inp2.id += len;
	inp2.value = '';
	x.appendChild( new_row );
}
  

0

4

Код:
<style>#smile-area [class*="t1"]{display:none}</style>
<!--Отключить функцию "Поделиться"-->
<script type="text/javascript">
RusffCore.sets.share = false;
</script>


<!--Убрать Это Интересно-->
<script type="text/javascript">
rusffLive.enable = false;
RusffCore.sets.share = false;
RusffCore.sets.graffiti = false;
RusffCore.sets.auth_methods = 0;
</script>


<!----------------------------------------------- HTML НАЧАЛО ----------------------------------------------->
<!-- HTML в постах с допуском по группам © Alex_63 -->
<script type="text/javascript" src="https://forumstatic.ru/files/0015/c4/3f/52361.js"></script>
<script type="text/javascript">
HTMLinPost.groups = [1,2,3,4,5,6,7,8,9,10]; // Группы, допущенные к вставке HTML в посты
HTMLinPost.noAccess = []; // Пользователи с запретом вставки HTML в посты
HTMLinPost.parseHTMLinPosts()
</script>



<script src="http://hostjs-mybb2011.narod.ru/js/transform_code_boxr.js"></script>
<!----------------------------------------------- HTML КОНЕЦ ----------------------------------------------->

0

5

Код:
<script type="text/javascript">
var itemMass = new Array("FORUM", "USERS", "Правила", "SEARCH", "PROFILE", "MESSAGES", "АДМИНКА", "REGISTRATION", "COME IN", "COME OUT");
var itemIdMass = new Array("navindex", "navuserlist", "navrules", "navsearch", "navprofile", "navpm", "navadmin", "navregister", "navlogin", "navlogout");
for(i=0; i<itemIdMass.length; i++){
if(document.getElementById(itemIdMass[i])){
    var str = document.getElementById(itemIdMass[i]).firstChild.firstChild
    str.innerHTML=itemMass[i];
}
}
</script>




<!--дополнительные смайлы v.3.1 © Romych-->
<style type="text/css">

#wrapper{left:-10px;position:relative;width:500px;}

.tabs{height:22px;line-height:21px;margin:0 0 3px;list-style:none;}

 .tabs li{margin-right: 4px; cursor:pointer;;}

.tabs li a{display: block; position: relative; float: left; width: 10%; height: 32px; padding: 2px!important; position: relative; z-index: 2; border-radius: 5px; text-align: center; border: solid #868686; background: #A2A2A2; border-width: 1px 1px 0 1px;}

.tabs li a:hover{color:#efefef;}

.tabs li.active a{color:#444;border:medium hidden;line-height:22px;background-position:0 -43.2px;}

.tabs li.active a:hover{color:#6A5ACD;}




#smilies-area 
div[class^="t-"]:not(.t-1){display:none; width:470px;  background: rgba(215,231,231,0.6);  opacity: .8; color: #080808 !important; border: 1px solid #cfa3ba!important; border-radius: 10px; padding: 10px 15px; max-height: 100px; overflow-y: auto;}

div.t-1  {width:470px;  background: rgba(215,231,231,0.6);  opacity: .8; color: #080808 !important; border: 1px solid #cfa3ba!important; border-radius: 10px; padding: 10px 15px; max-height: 100px; overflow-y: auto;}

</style>



<script type="text/javascript">
 var nabor=[];

nabor['3']=[
'https://funkyimg.com/i/2VxmR.gif',
'https://funkyimg.com/i/2VxrW.gif',
'https://funkyimg.com/i/2Vxpo.gif',
'https://funkyimg.com/i/2Vxpr.gif',
'https://funkyimg.com/i/2Vxpt.gif',
'https://funkyimg.com/i/2VxpE.png',
'https://funkyimg.com/i/2VxpH.gif',
'https://funkyimg.com/i/2VxpM.png',
'https://funkyimg.com/i/2VxmU.gif',
'https://funkyimg.com/i/2Vxq3.png',
'https://funkyimg.com/i/2Vxqe.gif',
'https://funkyimg.com/i/2Vxqf.gif',
'https://funkyimg.com/i/2Vxqx.gif',
'https://funkyimg.com/i/2Vxqc.gif',
'https://funkyimg.com/i/2Vxqy.gif',
'https://funkyimg.com/i/2VxrK.gif',
'https://funkyimg.com/i/2VxqS.png',
'https://funkyimg.com/i/2VxqV.gif',
'https://funkyimg.com/i/2Vxpu.gif',
'https://funkyimg.com/i/2VxrL.gif',
'https://funkyimg.com/i/2VxrY.gif',
'https://funkyimg.com/i/2Vxs6.png',
'https://funkyimg.com/i/2VxtK.gif',
'https://funkyimg.com/i/2VxsU.png',
'https://funkyimg.com/i/2VxsA.gif',
'https://funkyimg.com/i/2Vxt1.png',
'https://funkyimg.com/i/2Vxtb.png',
'https://funkyimg.com/i/2Vxtc.png',
'https://funkyimg.com/i/2Vxs1.png',
'https://funkyimg.com/i/2Vxth.png',
'https://funkyimg.com/i/2Vxsv.gif',
'https://funkyimg.com/i/2Vxtv.png',
'https://funkyimg.com/i/2VxmM.gif',
'https://funkyimg.com/i/2VxmQ.gif',
'https://funkyimg.com/i/2VxmS.gif',
'https://funkyimg.com/i/2VxmW.gif',
'https://funkyimg.com/i/2Vxp3.gif',
'https://funkyimg.com/i/2Vxp4.gif',
'https://funkyimg.com/i/2Vxp5.gif',
'https://funkyimg.com/i/2Vxp6.gif',
'https://funkyimg.com/i/2Vxp7.png',
'https://funkyimg.com/i/2Vxpp.gif',
'https://funkyimg.com/i/2Vxpq.gif',
'https://funkyimg.com/i/2Vxps.gif',
'https://funkyimg.com/i/2Vxpv.gif',
'https://funkyimg.com/i/2VxpF.gif',
'https://funkyimg.com/i/2VxpG.gif',
'https://funkyimg.com/i/2VxpJ.png',
'https://funkyimg.com/i/2VxpK.gif',
'https://funkyimg.com/i/2VxpL.gif',
'https://funkyimg.com/i/2VxpV.gif',
'https://funkyimg.com/i/2VxpW.png',
'https://funkyimg.com/i/2VxpX.gif',
'https://funkyimg.com/i/2VxpY.gif',
'https://funkyimg.com/i/2VxpZ.gif',
'https://funkyimg.com/i/2Vxq2.gif',
'https://funkyimg.com/i/2Vxqa.gif',
'https://funkyimg.com/i/2Vxqd.gif',
'https://funkyimg.com/i/2Vxqh.gif',
'https://funkyimg.com/i/2Vxqi.gif',
'https://funkyimg.com/i/2Vxqj.png',
'https://funkyimg.com/i/2Vxqt.gif',
'https://funkyimg.com/i/2Vxqu.gif',
'https://funkyimg.com/i/2Vxqv.gif',
'https://funkyimg.com/i/2Vxqw.gif',
'https://funkyimg.com/i/2Vxqz.gif',
'https://funkyimg.com/i/2VxqA.gif',
'https://funkyimg.com/i/2VxqN.gif',
'https://funkyimg.com/i/2VxqP.gif',
'https://funkyimg.com/i/2VxqQ.png',
'https://funkyimg.com/i/2VxqR.gif',
'https://funkyimg.com/i/2VxqT.png',
'https://funkyimg.com/i/2VxqU.gif',
'https://funkyimg.com/i/2Vxrg.gif',
'https://funkyimg.com/i/2Vxrf.gif',
'https://funkyimg.com/i/2Vxrh.png',
'https://funkyimg.com/i/2Vxrj.png',
'https://funkyimg.com/i/2Vxrk.png',
'https://funkyimg.com/i/2Vxrn.gif',
'https://funkyimg.com/i/2Vxrr.png',
'https://funkyimg.com/i/2Vxrs.png',
'https://funkyimg.com/i/2Vxrv.gif',
'https://funkyimg.com/i/2Vxrw.png',
'https://funkyimg.com/i/2Vxry.png',
'https://funkyimg.com/i/2VxrH.png',
'https://funkyimg.com/i/2VxrM.gif',
'https://funkyimg.com/i/2VxrN.gif',
'https://funkyimg.com/i/2VxrQ.gif',
'https://funkyimg.com/i/2VxrP.gif',
'https://funkyimg.com/i/2VxrX.gif',
'https://funkyimg.com/i/2VxrZ.gif',
'https://funkyimg.com/i/2Vxs2.gif',
'https://funkyimg.com/i/2Vxs3.png',
'https://funkyimg.com/i/2Vxs7.gif',
'https://funkyimg.com/i/2Vxs8.png',
'https://funkyimg.com/i/2Vxs9.png',
'https://funkyimg.com/i/2Vxsa.gif',
'https://funkyimg.com/i/2Vxsb.gif',
'https://funkyimg.com/i/2Vxsd.gif',
'https://funkyimg.com/i/2Vxse.png',
'https://funkyimg.com/i/2Vxsg.gif',
'https://funkyimg.com/i/2Vxsh.gif',
'https://funkyimg.com/i/2Vxsq.gif',
'https://funkyimg.com/i/2Vxsr.png',
'https://funkyimg.com/i/2VxsB.png',
'https://funkyimg.com/i/2VxsV.gif',
'https://funkyimg.com/i/2VxsX.gif',
'https://funkyimg.com/i/2VxsW.gif',
'https://funkyimg.com/i/2VxsZ.gif',
'https://funkyimg.com/i/2Vxt2.gif',
'https://funkyimg.com/i/2Vxta.png',
'https://funkyimg.com/i/2Vxtd.gif',
'https://funkyimg.com/i/2Vxte.gif',
'https://funkyimg.com/i/2Vxtg.gif',
'https://funkyimg.com/i/2Vxtq.gif',
'https://funkyimg.com/i/2Vxtr.gif',
'https://funkyimg.com/i/2Vxtu.gif',
'https://funkyimg.com/i/2Vxtw.png',
'https://funkyimg.com/i/2VxtE.gif',
'https://funkyimg.com/i/2VxtF.gif',
'https://funkyimg.com/i/2VxtG.gif',
'https://funkyimg.com/i/2VxtJ.gif',
'https://funkyimg.com/i/2VxtR.gif',
'https://funkyimg.com/i/2VxtT.gif',
'https://funkyimg.com/i/2VxtY.gif'],

nabor['2']=[
'https://cdn1.savepice.ru/uploads/2019/7/17/404edb616b7313a6165f67ca73fa77bf-full.jpg',
'https://cdn1.savepice.ru/uploads/2019/7/17/0c78a97b3255b894591c7505794768f7-full.jpg',
'https://cdn1.savepice.ru/uploads/2019/7/17/c4bfaa53571252ce75a7b8f3618848ad-full.jpg',
'https://cdn1.savepice.ru/uploads/2019/7/17/33d8cdd9ac95533d0349891dc453ea17-full.jpg',
'https://cdn1.savepice.ru/uploads/2019/7/17/70e5249f1c1474862f23e10fed300c43-full.jpg',
'https://cdn1.savepice.ru/uploads/2019/7/17/d31a2ec6bf1afdd167f2b2056c724c5d-full.jpg',
'https://cdn1.savepice.ru/uploads/2019/7/17/630c23bff19f20a41e5e6e717e160827-full.jpg',
'https://cdn1.savepice.ru/uploads/2019/7/17/d9b0e710183fe4cdcd55abe7cc76f54d-full.jpg',
'https://cdn1.savepice.ru/uploads/2019/7/17/0ad0b3f146229bde627820be4813e1d4-full.jpg',
'https://cdn1.savepice.ru/uploads/2019/7/17/eafa96e381ebfb08cc0d077a44ad75b0-full.jpg',
'https://cdn1.savepice.ru/uploads/2019/7/17/203d7e6616e7e352feface8834cae3be-full.jpg',
'https://cdn1.savepice.ru/uploads/2019/7/17/6c66d3f4e8511945e4efab9b63ee7dda-full.jpg',
'https://cdn1.savepice.ru/uploads/2019/7/17/f462fb179d63c6b4d0f42a392a6fa6e8-full.jpg',
'https://cdn1.savepice.ru/uploads/2019/7/17/c18dd2da4f73e04f04b42aaf72b5aef3-full.jpg',
'https://cdn1.savepice.ru/uploads/2019/7/17/6adae0346e213c6ca925d72f1dd6e543-full.jpg',
'https://cdn1.savepice.ru/uploads/2019/7/17/d0f9150c8c94461dc6dac37f891e5620-full.jpg',
'https://cdn1.savepice.ru/uploads/2019/7/17/9bb3b36335e8069792f8079047f7f864-full.jpg',
'https://cdn1.savepice.ru/uploads/2019/7/17/dccd1e531992c3b0c4adc5299ac77c73-full.jpg',
'https://cdn1.savepice.ru/uploads/2019/7/17/a322913b76df814489f057f219e7d441-full.jpg',
'https://cdn1.savepice.ru/uploads/2019/7/17/cf57e6e5f9f34542f5cc26cf70425907-full.jpg',
'https://cdn1.savepice.ru/uploads/2019/7/17/6b13734df587942b03b0933aa3bef9de-full.jpg',
'https://cdn1.savepice.ru/uploads/2019/7/17/89ee2ce4b79c23335fd0d8a3179db692-full.jpg',
'https://cdn1.savepice.ru/uploads/2019/7/17/83a5b279191d2f116ed075506b2998c2-full.jpg',
'https://cdn1.savepice.ru/uploads/2019/7/17/2b48dc651a6ecca3bf416367a9d8eead-full.jpg',
'https://cdn1.savepice.ru/uploads/2019/7/17/ce1401b7bf3645f6dea759b39ee62ee6-full.jpg',
'https://cdn1.savepice.ru/uploads/2019/7/17/c313fc378825ed8df24201d25dfba7d4-full.jpg',
'https://cdn1.savepice.ru/uploads/2019/7/17/78a1daf8f134ff304bf9a08ab102d781-full.jpg',
'https://cdn1.savepice.ru/uploads/2019/7/17/592ae31314612980777f39a0164bd115-full.jpg',
'https://cdn1.savepice.ru/uploads/2019/7/17/51778502c4224dce18e78ea528f24c20-full.jpg',
'https://cdn1.savepice.ru/uploads/2019/7/17/5732e59214a261071f8e69e3dc0e764c-full.jpg',
'https://cdn1.savepice.ru/uploads/2019/7/17/8ab9aaa5f0f2d23646b490178c4a4a4c-full.jpg',
'https://cdn1.savepice.ru/uploads/2019/7/17/fee5d21af9b54d5909ded0a691416e83-full.jpg',
'https://cdn1.savepice.ru/uploads/2019/7/17/361775f8734924eba6212c304976857d-full.jpg',
'https://cdn1.savepice.ru/uploads/2019/7/17/9c2dcd9fcdf3302f03fa414a59b5d811-full.jpg',
'https://cdn1.savepice.ru/uploads/2019/7/17/426cbed28ee6add63c75f371b3576d8a-full.jpg',
'https://cdn1.savepice.ru/uploads/2019/7/17/ee5e9ce230416e132e5b28782655782b-full.jpg',
'https://cdn1.savepice.ru/uploads/2019/7/17/13bb0f9f32223522fd6f001881e12282-full.jpg',
'https://cdn1.savepice.ru/uploads/2019/7/17/615eddb18be429fc6428fb4a69d91cc1-full.jpg',
'https://cdn1.savepice.ru/uploads/2019/7/17/b7c1a0443ed29f1f29b8203a0e8f6a06-full.jpg',
'https://cdn1.savepice.ru/uploads/2019/7/17/62f97a81a8e704e8dc4436dcd753451a-full.jpg',
'https://cdn1.savepice.ru/uploads/2019/7/17/de86ede6d25716661696f2637b17122b-full.jpg',
'https://cdn1.savepice.ru/uploads/2019/7/17/d2bd2f021bd0a5dbfa12043eef17b42d-full.jpg',
'https://cdn1.savepice.ru/uploads/2019/7/17/d3c2a32dfa1cdde537052af24a8f92a4-full.jpg',
'https://cdn1.savepice.ru/uploads/2019/7/17/5e275b6d7f4d4143d4037a503543a34a-full.jpg',
'https://cdn1.savepice.ru/uploads/2019/7/17/79c69891ccef1915b19f07fc0dcd8ae4-full.jpg',
'https://cdn1.savepice.ru/uploads/2019/7/17/c5f2ca4a870003e1d496db8a761585fd-full.jpg'],





nabor['1']=[
'http://vk.com/images/emoji/D83DDE00.png',
'http://funkyimg.com/i/2KJWo.png',
'http://vk.com/images/emoji/D83DDE01.png',
'http://vk.com/images/emoji/D83DDE02.png',
'http://vk.com/images/emoji/263A.png',
'http://vk.com/images/emoji/D83DDE03.png',
'http://vk.com/images/emoji/D83EDD15.png',
'http://vk.com/images/emoji/D83DDE07.png',
'http://vk.com/images/emoji/D83DDE09.png',
'http://vk.com/images/emoji/D83DDE0B.png',
'http://vk.com/images/emoji/D83DDE0A.png',
'http://vk.com/images/emoji/D83DDE0C.png',
'http://vk.com/images/emoji/D83DDE0D.png',
'http://vk.com/images/emoji/D83DDE0F.png',
'http://vk.com/images/emoji/D83DDE11.png',
'http://vk.com/images/emoji/D83DDE0E.png',
'http://vk.com/images/emoji/D83DDE10.png',
'http://vk.com/images/emoji/D83DDE12.png',
'http://vk.com/images/emoji/D83DDE13.png',
'http://vk.com/images/emoji/D83DDE14.png',
'http://vk.com/images/emoji/D83DDE17.png',
'http://vk.com/images/emoji/D83DDE15.png',
'http://vk.com/images/emoji/D83DDE18.png',
'http://vk.com/images/emoji/D83DDE16.png',
'http://vk.com/images/emoji/D83DDE19.png',
'http://vk.com/images/emoji/D83DDE1A.png',
'http://vk.com/images/emoji/D83DDE1C.png',
'http://vk.com/images/emoji/D83DDE1B.png',
'http://vk.com/images/emoji/D83DDE1D.png',
'http://vk.com/images/emoji/D83DDE1F.png',
'http://vk.com/images/emoji/D83DDE20.png',
'http://vk.com/images/emoji/D83DDE1E.png',
'http://vk.com/images/emoji/D83DDE21.png',
'http://vk.com/images/emoji/D83DDE23.png',
'http://vk.com/images/emoji/D83DDE24.png',
'http://vk.com/images/emoji/D83DDE25.png',
'http://vk.com/images/emoji/D83DDE22.png',
'http://vk.com/images/emoji/D83DDE26.png',
'http://vk.com/images/emoji/D83DDE27.png',
'http://vk.com/images/emoji/D83DDE29.png',
'http://vk.com/images/emoji/D83DDE28.png',
'http://vk.com/images/emoji/D83DDE2A.png',
'http://vk.com/images/emoji/D83DDE34.png',
'http://vk.com/images/emoji/D83DDE2B.png',
'http://vk.com/images/emoji/D83DDE2C.png',
'http://vk.com/images/emoji/D83DDE2D.png',
'http://vk.com/images/emoji/D83DDE2E.png',
'http://vk.com/images/emoji/D83DDE31.png',
'http://vk.com/images/emoji/D83DDE30.png',
'http://vk.com/images/emoji/D83DDE2F.png',
'http://vk.com/images/emoji/D83DDE32.png',
'http://vk.com/images/emoji/D83DDE35.png',
'http://vk.com/images/emoji/D83DDE37.png',
'http://vk.com/images/emoji/D83DDE33.png',
'http://vk.com/images/emoji/D83DDE36.png',
'http://funkyimg.com/i/2sBiu.png',
'http://funkyimg.com/i/2sBiw.png',
'http://funkyimg.com/i/2sBix.png',
'http://www.kody-smajlov-vkontakte.ru/emoji/D83DDC40.png',
'http://www.kody-smajlov-vkontakte.ru/emoji/D83DDC45.png',
'http://www.kody-smajlov-vkontakte.ru/emoji/D83DDC43.png',
'http://vk.com/images/emoji/D83DDE39.png',
'http://vk.com/images/emoji/D83DDE3C.png',
'http://vk.com/images/emoji/D83DDE3B.png',
'http://vk.com/images/emoji/D83DDE3A.png',
'http://vk.com/images/emoji/D83DDE3E.png',
'http://vk.com/images/emoji/D83DDE3F.png',
'http://vk.com/images/emoji/D83DDE3D.png',
'http://vk.com/images/emoji/D83DDE40.png',
'http://vk.com/images/emoji/D83DDE38.png',
'http://vk.com/images/emoji/D83DDE48.png',
'http://vk.com/images/emoji/D83DDE4A.png',
'http://vk.com/images/emoji/D83DDE49.png',
'http://vk.com/images/emoji/D83DDC49.png',
'http://vk.com/images/emoji/D83DDC4C.png',
'http://vk.com/images/emoji/D83DDCAA.png',
'http://vk.com/images/emoji/D83DDC48.png',
'http://vk.com/images/emoji/D83DDC4A.png',
'http://vk.com/images/emoji/D83DDE4F.png',
'http://vk.com/images/emoji/D83DDE4C.png',
'http://vk.com/images/emoji/D83DDD96D83CDFFB.png',
'http://vk.com/images/emoji/D83DDC4E.png',
'http://vk.com/images/emoji/D83DDC4B.png',
'http://vk.com/images/emoji/D83DDC4D.png',
'http://vk.com/images/emoji/D83DDC4F.png',
'http://vk.com/images/emoji/261D.png',
'http://vk.com/images/emoji/270B.png',
'http://vk.com/images/emoji/270A.png',
'http://vk.com/images/emoji/270C.png',
'http://funkyimg.com/i/2siUo.png',
'http://funkyimg.com/i/2sBis.png',
'http://funkyimg.com/i/2KJWn.png',
'http://funkyimg.com/i/2sBit.png',
'http://funkyimg.com/i/2sBiv.png',
'http://vk.com/images/emoji/D83DDC8B.png',
'http://vk.com/images/emoji/D83DDC94.png',
'http://vk.com/images/emoji/D83DDC95.png',
'http://vk.com/images/emoji/D83DDC96.png',
'http://vk.com/images/emoji/2665.png',
'http://vk.com/images/emoji/D83DDC9C.png',
'http://vk.com/images/emoji/D83DDC99.png',
'http://vk.com/images/emoji/D83DDC9A.png',
'http://vk.com/images/emoji/D83DDC9B.png',
'http://vk.com/images/emoji/D83DDCA1.png',
'http://vk.com/images/emoji/D83DDCA3.png',
'http://vk.com/images/emoji/D83DDD25.png',
'http://vk.com/images/emoji/D83DDCA5.png',
'http://vk.com/images/emoji/D83DDCA6.png',
'http://vk.com/images/emoji/D83DDCA7.png',
'http://vk.com/images/emoji/D83DDC20.png',
'http://vk.com/images/emoji/D83DDC1F.png',
'http://vk.com/images/emoji/D83DDC3C.png',
'http://vk.com/images/emoji/D83DDC2F.png',
'http://vk.com/images/emoji/D83DDC28.png',
'http://vk.com/images/emoji/D83DDC13.png',
'http://vk.com/images/emoji/D83DDC05.png',
'http://vk.com/images/emoji/D83CDF3D.png',
'http://vk.com/images/emoji/D83CDF46.png',
'http://vk.com/images/emoji/D83CDF53.png',
'http://vk.com/images/emoji/D83CDF52.png',
'http://vk.com/images/emoji/D83CDF43.png',
'http://vk.com/images/emoji/D83CDF47.png',
'http://vk.com/images/emoji/D83CDF49.png',
'http://vk.com/images/emoji/D83CDF4A.png',
'http://vk.com/images/emoji/D83CDF4B.png',
'http://vk.com/images/emoji/D83CDF4C.png',
'http://vk.com/images/emoji/D83CDF4D.png',
'http://vk.com/images/emoji/D83CDF4E.png',
'http://vk.com/images/emoji/D83CDF4F.png',
'http://vk.com/images/emoji/D83CDF51.png',
'http://vk.com/images/emoji/D83CDF50.png',
'http://vk.com/images/emoji/D83CDF6D.png',
'http://vk.com/images/emoji/D83CDF6A.png',
'http://vk.com/images/emoji/D83CDF55.png',
'http://vk.com/images/emoji/D83CDF54.png',
'http://vk.com/images/emoji/D83CDF5F.png',
'http://vk.com/images/emoji/D83CDF64.png',
'http://vk.com/images/emoji/D83CDF69.png',
'http://vk.com/images/emoji/D83CDF6B.png',
'http://vk.com/images/emoji/D83CDF73.png',
'http://vk.com/images/emoji/D83CDF70.png',
'http://vk.com/images/emoji/D83CDF79.png',
'http://vk.com/images/emoji/D83CDF7A.png',
'http://vk.com/images/emoji/D83CDF78.png',
'http://vk.com/images/emoji/D83CDF7B.png',
'http://vk.com/images/emoji/D83CDF77.png',
'http://funkyimg.com/i/2KJWq.png',
'http://funkyimg.com/i/2KJWp.png',
'https://vk.com/images/emoji/D83EDD43.png',
'http://vk.com/images/emoji/D83CDF39.png',
'http://vk.com/images/emoji/D83CDF37.png',
'http://vk.com/images/emoji/D83CDF3A.png',
'http://vk.com/images/emoji/D83CDF3B.png',
'http://vk.com/images/emoji/D83CDF38.png',
'http://vk.com/images/emoji/D83CDF3C.png',
'https://vk.com/images/emoji/D83DDD2A.png',
'http://vk.com/images/emoji/D83DDD2B.png',
'http://vk.com/images/emoji/D83DDD77.png',
'http://vk.com/images/emoji/D83DDC51.png',
'http://vk.com/images/emoji/D83CDFB8.png',
'http://vk.com/images/emoji/D83DDC80.png',
'http://vk.com/images/emoji/D83DDC8D.png',
'https://vk.com/images/emoji/D83DDD95D83CDFFF.png',
'http://vk.com/images/emoji/D83DDC7E.png',
'http://vk.com/images/emoji/D83CDF85.png',
'http://vk.com/images/emoji/D83DDC7B.png',
'http://vk.com/images/emoji/D83CDFC6.png',
'http://vk.com/images/emoji/D83DDC19.png',
'http://vk.com/images/emoji/D83DDC8E.png',
'http://vk.com/images/emoji/D83CDF8A.png',
'http://vk.com/images/emoji/D83CDF89.png',
'http://vk.com/images/emoji/2744.png',
'http://vk.com/images/emoji/D83DDCA8.png',
'http://vk.com/images/emoji/D83CDF83.png',
'http://vk.com/images/emoji/D83DDCA9.png',
'https://vk.com/images/emoji/D83DDD1E.png',
'https://vk.com/images/emoji/26B0.png',
'http://vk.com/images/emoji/D83DDD2E.png',
'http://vk.com/images/emoji/D83DDCA3.png',
'http://vk.com/images/emoji/D83DDEAC.png',
'http://vk.com/images/emoji/D83DDD28.png',
'http://www.kody-smajlov-vkontakte.ru/emoji/D83DDC44.png',
'http://www.kody-smajlov-vkontakte.ru/emoji/D83CDF1F.png',
'http://www.kody-smajlov-vkontakte.ru/emoji/D83DDC7C.png',
'http://www.kody-smajlov-vkontakte.ru/emoji/D83DDC7D.png',
'http://www.kody-smajlov-vkontakte.ru/emoji/D83DDC7A.png',
'http://www.kody-smajlov-vkontakte.ru/emoji/D83CDF82.png',
'http://www.kody-smajlov-vkontakte.ru/emoji/D83CDF84.png',
'http://www.kody-smajlov-vkontakte.ru/emoji/D83DDC53.png',
'http://www.kody-smajlov-vkontakte.ru/emoji/D83CDF93.png',
'http://www.kody-smajlov-vkontakte.ru/emoji/D83DDC91.png',
'http://www.kody-smajlov-vkontakte.ru/emoji/D83DDCB0.png',
'http://www.kody-smajlov-vkontakte.ru/emoji/D83DDCDA.png',
'http://www.kody-smajlov-vkontakte.ru/emoji/D83DDCD6.png',
'http://www.kody-smajlov-vkontakte.ru/emoji/D83DDD2B.png',
'http://www.kody-smajlov-vkontakte.ru/emoji/D83DDE80.png',
'http://www.kody-smajlov-vkontakte.ru/emoji/2708.png',
'http://www.kody-smajlov-vkontakte.ru/emoji/26D4.png',
'http://www.kody-smajlov-vkontakte.ru/emoji/D83CDD98.png',
'http://www.kody-smajlov-vkontakte.ru/emoji/D83DDEAF.png',
'http://www.kody-smajlov-vkontakte.ru/emoji/26C4.png',
'http://www.kody-smajlov-vkontakte.ru/emoji/D83DDD0E.png',
'http://www.kody-smajlov-vkontakte.ru/emoji/D83CDFAE.png',
'http://www.kody-smajlov-vkontakte.ru/emoji/D83DDCA4.png',
'http://www.kody-smajlov-vkontakte.ru/emoji/D83DDCAF.png',
'http://funkyimg.com/i/2sBir.png',
'http://funkyimg.com/i/2sBiy.png',
'http://funkyimg.com/i/2KJWw.png',
'http://funkyimg.com/i/2KJWx.png',
'http://funkyimg.com/i/2KJWy.png',
'http://funkyimg.com/i/2KJWz.png',
'http://funkyimg.com/i/2KJWA.png',
'http://funkyimg.com/i/2KJWB.png',
'http://funkyimg.com/i/2KJWC.png',
'http://funkyimg.com/i/2KJWE.png',
'http://funkyimg.com/i/2KJWF.png',
'http://funkyimg.com/i/2KJWG.png',
'http://funkyimg.com/i/2KJWH.png',
'http://funkyimg.com/i/2KJWJ.png',
'http://funkyimg.com/i/2KKhe.png',
'http://funkyimg.com/i/2KKhf.png',
'http://funkyimg.com/i/2KKhg.png',
'http://funkyimg.com/i/2KKhh.png',
'http://funkyimg.com/i/2KKhi.png',
'https://funkyimg.com/i/2VxC9.png',
'https://funkyimg.com/i/2VxCa.png',
'https://funkyimg.com/i/2VxCb.png',
'https://funkyimg.com/i/2VxCc.png',
'https://funkyimg.com/i/2VxCd.png'];

$(function(){$('#smilies-block').addClass('t-0');var vkl = '<div id="wrapper"><ul class="tabs" onclick="smilies();return 0;"><li class="t-0 active"></li></ul></div>';$('#smilies-area').prepend(vkl);for(var i in nabor){$('.tabs').append('<li class="t-'+i+'"><a>'+i+'</a></li>');$('#wrapper').append('<div class="t-'+i+'"></div>');$.each(nabor[i],function(q){$('div.t-'+i).append('<img src="'+nabor[i][q]+'" onclick=smile("[img]'+nabor[i][q]+'[/img]") />');})};$('.tabs li').click(function(){var thisClass=this.className;$('#smilies-area div[class^="t-"]').hide();$('div.'+thisClass).fadeToggle('slow');$('.tabs li').removeClass('active');$(this).addClass('active');}); });
</script>



<!-- чтоб не уезжали кнопки под форму ответа с мобильного -->
<script type="text/javascript">
$("#post p.formsubmit").prepend('<br>').insertAfter($("#post #main-reply"));
</script>
<!-- Конец -->



<!-- новые сообщения -->
<script type="text/javascript">
$('#pun-ulinks ul').prepend('<li class="item1"><a href="/search.php?action=show_new">Новые сообщения</a></li>');
</script>
<!-- Конец -->

0

6

Свернутый текст
Код:
[html]

    <script type="text/javascript" src="http://gc.kis.v2.scr.kaspersky-labs.com/FD126C42-EBFA-4E12-B309-BB3FDD723AC1/main.js" charset="UTF-8"></script>
<script type="text/javascript">
        
        
        //create array that will hold all ordered products
        var shoppingCart = [];
        
        //this function manipulates DOM and displays content of our shopping cart
        function displayShoppingCart(){
            var orderedProductsTblBody=document.getElementById("orderedProductsTblBody");
            //ensure we delete all previously added rows from ordered products table
            while(orderedProductsTblBody.rows.length>0) {
                orderedProductsTblBody.deleteRow(0);
            }
                   
            //variable to hold total price of shopping cart
            var cart_total_price=0;
            //iterate over array of objects
            for(var product in shoppingCart){
                //add new row      
                var row=orderedProductsTblBody.insertRow();
                //create three cells for product properties 
                var cellName = row.insertCell(0);
                var cellDescription = row.insertCell(1);
                var cellPrice = row.insertCell(2);
                cellPrice.align="right";
                //fill cells with values from current product object of our array
                cellName.innerHTML = shoppingCart[product].Name;
                cellDescription.innerHTML = shoppingCart[product].Description;
                cellPrice.innerHTML = shoppingCart[product].Price;
                cart_total_price+=shoppingCart[product].Price;
            }
            //fill total cost of our shopping cart 
            document.getElementById("cart_total").innerHTML=cart_total_price;
        }
        
        
        function AddtoCart(name,description,price){
           //Below we create JavaScript Object that will hold three properties you have mentioned:    Name,Description and Price
           var singleProduct = {};
           //Fill the product object with data
           singleProduct.Name=name;
           singleProduct.Description=description;
           singleProduct.Price=price;
           //Add newly created product to our shopping cart 
           shoppingCart.push(singleProduct);
           //call display function to show on screen
           displayShoppingCart();
           
        }  


        //Add some products to our shopping cart via code or you can create a button with onclick event
        //AddtoCart("Table","Big red table",50);
        //AddtoCart("Door","Big yellow door",150);
        //AddtoCart("Car","Ferrari S23",150000);

        
        
        
    </script>
</head>
<body>
    <table width="100%" border="0"><tr><td valign="top" width="50%">
    <table cellpadding="4" cellspacing="4" border="1"><tr><td valign="top">
    <table cellpadding="4" cellspacing="4" border="0"><thead><tr><td colspan="2">
                                Products for sale
                            </td> </tr></thead> <tbody><tr><td>
                                Table
                            </td><td>
                                <input type="button" value="Add to cart" onclick="AddtoCart('Table','Big red table',50)"/>
                            </td> </tr> <tr><td>
                                Door
                            </td><td>
                                <input type="button" value="Add to cart" onclick="AddtoCart('Door','Yellow Door',150)"/>
                            </td></tr><tr><td>
                                Car
                            </td><td>
                                <input type="button" value="Add to cart" onclick="AddtoCart('Ferrari','Ferrari S234',150000)"/>

                            </td></tr></tbody></table></td><td valign="top">
                <table cellpadding="4" cellspacing="4" border="1" id="orderedProductsTbl"> <thead><tr><td>
                                Name
                            </td><td>
                                Description
                            </td> <td>
                                Price</td></tr></thead>
                    <tbody id="orderedProductsTblBody">
                    </tbody><tfoot><tr><td colspan="3" align="right" id="cart_total">
                     </td> </tr></tfoot></table></td></tr></table></td></tr> </table>



[/html]

0

7

[html]<script type="text/javascript" src="http://gc.kis.v2.scr.kaspersky-labs.com/FD126C42-EBFA-4E12-B309-BB3FDD723AC1/main.js" charset="UTF-8"></script>
<script type="text/javascript">
       
       
        //create array that will hold all ordered products
        var shoppingCart = [];
       
        //this function manipulates DOM and displays content of our shopping cart
        function displayShoppingCart(){
            var orderedProductsTblBody=document.getElementById("orderedProductsTblBody");
            //ensure we delete all previously added rows from ordered products table
            while(orderedProductsTblBody.rows.length>0) {
                orderedProductsTblBody.deleteRow(0);
            }
                   
            //variable to hold total price of shopping cart
            var cart_total_price=0;
            //iterate over array of objects
            for(var product in shoppingCart){
                //add new row     
                var row=orderedProductsTblBody.insertRow();
                //create three cells for product properties
             
               
                var cellPrice = row.insertCell(0);
                cellPrice.align="right";
                //fill cells with values from current product object of our array
             
             
                cellPrice.innerHTML = shoppingCart[product].Price;
                cart_total_price+=shoppingCart[product].Price;
            }
            //fill total cost of our shopping cart
            document.getElementById("cart_total").innerHTML=cart_total_price;
        }
       
       
        function AddtoCart(price){
           //Below we create JavaScript Object that will hold three properties you have mentioned:    Name,Description and Price
           var singleProduct = {};
           //Fill the product object with data

     
           singleProduct.Price=price;
           //Add newly created product to our shopping cart
           shoppingCart.push(singleProduct);
           //call display function to show on screen
           displayShoppingCart();
           
        } 

        //Add some products to our shopping cart via code or you can create a button with onclick event
        //AddtoCart("Table","Big red table",50);
        //AddtoCart("Door","Big yellow door",150);
        //AddtoCart("Car","Ferrari S23",150000);

       
       
       
    </script>
</head>
<body>
    <table width="100%" border="0"><tr><td valign="top" width="50%">
    <table cellpadding="4" cellspacing="4" border="1"><tr><td valign="top">
    <table cellpadding="4" cellspacing="4" border="0"><thead><tr><td colspan="2">
                                Products for sale
                            </td> </tr></thead> <tbody><tr><td>
                                регистрация
                            </td><td>
                           <input type="button" value="50" onclick="AddtoCart(50)"/>
                            </td> </tr> <tr><td>
                                пост
                            </td><td>
                           <input type="button" value="70" onclick="AddtoCart(70)"/>
                            </td> </tr><tr><td>
                                Door
                            </td><td>
                                <input type="button" value="Add to cart" onclick="AddtoCart(150)"/>
                            </td></tr><tr><td>
                                Car
                            </td><td>
                                <input type="button" value="Add to cart" onclick="AddtoCart(150000)"/>

                            </td></tr></tbody></table></td><td valign="top">
                <table cellpadding="4" cellspacing="4" border="1" id="orderedProductsTbl"> <thead><tr> <td>
                                Price</td></tr></thead>  <tbody id="orderedProductsTblBody">
                    </tbody>
                  <tfoot><tr><td colspan="4" align="right" id="cart_total">
                     </td> </tr></tfoot></table></td></tr></table></td></tr> </table>[/html]

0

8

/* 3.3 */
.punbb textarea, .punbb input, .punbb select, .punbb optgroup {
  font: 1em verdana, arial, helvetica, sans-serif;
  color: #fff;
  background-color: #000;
  border-radius: 7px;
  padding: 3px 7px 3px 7px;
  }

0

9

/* 3.3 */
.punbb textarea, .punbb input, .punbb select, .punbb optgroup {
  font: 1em verdana, arial, helvetica, sans-serif
  }

0

10

[html]<div style=" padding: 20px 0px 100px 0px;   position: relative;  margin-top: -10px;"><div class="fon"><div class="fonname" style="left:110px;">BRISTOL</div>
<div class="fontekst">Платон был первым, кто отделил «мир вещей» от «мира идей». Идея (эйдос) по Платону — это исток вещи, её прообраз, лежащий в основе конкретного предмета. Присутствующая в нашем сознании, к примеру, «идея стола» может либо совпасть с конкретным столом в действительности, либо не совпасть, но «идея стола» и «конкретный стол» по прежнему продолжат существовать в сознании раздельно.</div> <table>
    <tr>
        <td width="50%"><table width="100%" border="0">
<tr>
<td valign="top" width="50%">
    <table cellpadding="4" cellspacing="4" border="0">
<tr>
<td valign="top">
    <table cellpadding="4" cellspacing="4" border="0"><thead>
<tr>
<td colspan="2">
                                Products for sale
                            </td> </tr></thead> <tbody><tr><td>
                                регистрация
                            </td><td>
                           <input type="button" value="50" onclick="AddtoCart(50)"/>
                            </td> </tr> <tr><td>
                                проверенная анкета
                            </td><td>
                           <input type="button" value="100" onclick="AddtoCart(70)"/>
                            </td> </tr><tr><td>
                                каждые 200 соо
                            </td><td>
                                <input type="button" value="50" onclick="AddtoCart(50)"/>
                            </td></tr><tr><td>
                                каждые 50 репутации
                            </td><td>
                                <input type="button" value="40" onclick="AddtoCart(40)"/>

                            </td></tr>

                               <tr><td>
                                каждые 50 позитива
                            </td><td>
                           <input type="button" value="65" onclick="AddtoCart(65)"/>
                            </td> </tr>

                               <tr><td>
                                заявка в нужны
                            </td><td>
                           <input type="button" value="30" onclick="AddtoCart(30)"/>
                            </td> </tr>

                               <tr><td>
                                заявка в хочу видеть
                            </td><td>
                           <input type="button" value="10" onclick="AddtoCart(10)"/>
                            </td> </tr>

                               <tr><td>
                                игровой пост до 5к. символов
                            </td><td>
                           <input type="button" value="150" onclick="AddtoCart(150)"/>
                            </td> </tr>

                               <tr><td>
                                игровой пост более 5к. символов
                            </td><td>
                           <input type="button" value="250" onclick="AddtoCart(250)"/>
                            </td> </tr>

                               <tr><td>
                                закрытый эпизод
                            </td><td>
                           <input type="button" value="300" onclick="AddtoCart(300)"/>
                            </td> </tr>
                               

                                   <tr><td>
                               реклама (1 соо)
                            </td><td>
                           <input type="button" value="5" onclick="AddtoCart(5)"/>
                            </td> </tr> 

</tbody></table></td><td valign="top">
                <table cellpadding="4" cellspacing="4" border="1" id="orderedProductsTbl"> <thead><tr> <td>
                                Price</td></tr></thead>  <tbody id="orderedProductsTblBody">
                    </tbody>
                  <tfoot><tr><td colspan="4" align="right" id="cart_total">
                     </td> </tr></tfoot></table></td></tr></table></td></tr> </table></td>
        <td width="50%"><table>
    <tr>
        <td colspan="2">ПОТРАТИТЬ</td>
    </tr>
    <tr>
        <td>выкупить имя/фамилию (за одну позицию) </td>
        <td>800</td>
    </tr>
    <tr>
        <td>выкупить на неделю внешность для нужного</td>
        <td>300</td>
    </tr>
    <tr>
        <td>выкупить внешность без заявки</td>
        <td>500</td>
    </tr>
    <tr>
        <td>индивидуальная плашка</td>
        <td>400</td>
    </tr>
    <tr>
        <td>реклама для нужного (картинка, сделанная администратором или вами, помещенная среди других реклам на неделю) </td>
        <td>300</td>
    </tr>
    <tr>
        <td>100 реклам нужного по вашей рекламе</td>
        <td>200</td>
    </tr>
    <tr>
        <td></td>
        <td></td>
    </tr>
<tr>
        <td></td>
        <td></td>
    </tr>
<tr>
        <td></td>
        <td></td>
    </tr>
<tr>
        <td></td>
        <td></td>
    </tr>
<tr>
        <td></td>
        <td></td>
    </tr>
<tr>
        <td></td>
        <td></td>
    </tr>
</table>
</div>

</div>







<script type="text/javascript" src="http://gc.kis.v2.scr.kaspersky-labs.com/FD126C42-EBFA-4E12-B309-BB3FDD723AC1/main.js" charset="UTF-8"></script>
<script type="text/javascript">
       
       
        //create array that will hold all ordered products
        var shoppingCart = [];
       
        //this function manipulates DOM and displays content of our shopping cart
        function displayShoppingCart(){
            var orderedProductsTblBody=document.getElementById("orderedProductsTblBody");
            //ensure we delete all previously added rows from ordered products table
            while(orderedProductsTblBody.rows.length>0) {
                orderedProductsTblBody.deleteRow(0);
            }
                   
            //variable to hold total price of shopping cart
            var cart_total_price=0;
            //iterate over array of objects
            for(var product in shoppingCart){
                //add new row     
                var row=orderedProductsTblBody.insertRow();
                //create three cells for product properties
             
               
                var cellPrice = row.insertCell(0);
                cellPrice.align="right";
                //fill cells with values from current product object of our array
             
             
                cellPrice.innerHTML = shoppingCart[product].Price;
                cart_total_price+=shoppingCart[product].Price;
            }
            //fill total cost of our shopping cart
            document.getElementById("cart_total").innerHTML=cart_total_price;
        }
       
       
        function AddtoCart(price){
           //Below we create JavaScript Object that will hold three properties you have mentioned:    Name,Description and Price
           var singleProduct = {};
           //Fill the product object with data

     
           singleProduct.Price=price;
           //Add newly created product to our shopping cart
           shoppingCart.push(singleProduct);
           //call display function to show on screen
           displayShoppingCart();
           
        } 

        //Add some products to our shopping cart via code or you can create a button with onclick event
        //AddtoCart("Table","Big red table",50);
        //AddtoCart("Door","Big yellow door",150);
        //AddtoCart("Car","Ferrari S23",150000);

       
       
       
    </script>

[/html]

0

11

[html]<div class="fon"><div class="fonname">банк</div>
<div class="fontekst">Платон был первым, кто отделил «мир вещей» от «мира идей». Идея (эйдос) по Платону — это исток вещи, её прообраз, лежащий в основе конкретного предмета. Присутствующая в нашем сознании, к примеру, «идея стола» может либо совпасть с конкретным столом в действительности, либо не совпасть, но «идея стола» и «конкретный стол» по прежнему продолжат существовать в сознании раздельно.
</div>

<table>
    <tr>
        <td>ЗАРАБОТАТЬ</td>
        <td>регистрация - 50 ф.с.
проверенная анкета - 100 ф.с.
каждые 200 соо - 50 ф.с.
каждые 50 репутации - 40 ф.с.
каждые 50 позитива - 65 ф.с.
заявка в нужные - 30 ф.с.
заявка в хочу видеть - 20 ф.с.
игровой пост до 5к. символов - 150 ф.с.
игровой пост более 5к. символов - 250 ф.с.
закрытый эпизод - 300 ф.с. каждому участнику
реклама (1 соо) - 5 ф.с.</td>
    </tr>
    <tr>
        <td>ПОТРАТИТЬ</td>
        <td>выкупить имя/фамилию (за одну позицию)  - 800 ф.с.
выкупить на неделю внешность для нужного  - 300 ф.с.
выкупить внешность без заявки - 500 ф.с.
индивидуальная плашка - 200 ф.с.
реклама для нужного (картинка, сделанная администратором или вами, помещенная среди других реклам на неделю) - 300 ф.с.
100 реклам нужного по вашей рекламе - 200 ф.с.</td>
    </tr>
</table>

</div>[/html]

0


Вы здесь » тестовый тестовик » Новый форум » банк


Рейтинг форумов | Создать форум бесплатно