Como que cria um sistema de loja
3 participantes
Fórum dos Fóruns :: Ajuda e atendimento ao utilizador :: Questões sobre códigos :: Questões resolvidas sobre HTML e BBCode
Página 1 de 1
Como que cria um sistema de loja
Qual é minha questão:
Eu queria saber o code de criação de sistema de loja igual deste forum link: http://burn.forum-pro.net/h1-
Endereço do meu fórum:
http://portaldecode.forumeiros.com
Versão do fórum:
PUNBB
Eu queria saber o code de criação de sistema de loja igual deste forum link: http://burn.forum-pro.net/h1-
Endereço do meu fórum:
http://portaldecode.forumeiros.com
Versão do fórum:
PUNBB
Última edição por adrian cesar em 12.09.13 15:01, editado 1 vez(es)
Re: Como que cria um sistema de loja
Olá amigo !
Aqui estarei deixando o código de um ícone , pra você ir fazendo conforme os outros :
Até
Aqui estarei deixando o código de um ícone , pra você ir fazendo conforme os outros :
- Código:
<div id="item1" class="item">
<span class="title"><font><font>Helmet</font></font></span><br>
<span class="image"><img src="http://png.findicons.com/files/icons/2169/picnic/70/helmet2.png"></span><br>
<div class="descrip">
<span class="points" data-myprice="200"><font><font>200 Moedas </font></font></span>
<span class="sale"><font><font>A venda </font></font></span><br>
<span class="description"><font><font>Categoria: Mascote</font></font></span>
</div>
<font><font><input type="button" class="addButton" data-item="item1" value="Comprar"></font></font>
</div>
Até
Re: Como que cria um sistema de loja
voce tambem pode me pasar o code de Widgets que aparece do lado quando entra no shop ai ele clica em comprar e vai pra la ai ele confirma a compra
Re: Como que cria um sistema de loja
aqui está o código completo mu caro...
- Código:
<style type="text/css">
.header{
margin-top: 25px;
background: #DDD;
font-size: 25px;
color: white;
padding: 10px 15px;
margin-bottom: 15px;
border: 1px solid #CCC;
box-shadow: inset 1px 1px 2px #999;
border-radius: 4px;
text-align: center;
}
/.shopWrapper{text-align:center;margin:0 auto;border:3px dashed/
#0000ff;overflow:hidden;height:auto;background: whiteSmoke;}
.title{
font-weight: bold;
font-size: 12px;
color: #303030;
margin: 5px;
}
.image img{padding-top: 13px;height:40px;width:40px;}
.image{text-align:center;}
.points{
background: url(http://s6.tinypic.com/286sfuu_th.jpg) no-repeat;
padding-bottom: 5px;
padding-left: 18px;
color:#242424;
font-weight:bold;
font-size:11px;
float:left;
text-align:center;
}
.sale{color:green;font-style: italic;font-size:11px;float:right;text-align:center;}
.item{width:188px;min-height:195px;border:1px solid #CECECE;overflow:hidden;height:auto;padding:5px;background:#fff;text-align:center;}
.descrip{
float: left;
margin-left: -10px;
padding-left: 15px;
padding-right: 15px;
padding-top: 5px;
padding-bottom: 5px;
background: #E9E9E9;
border: 1px solid #CECECE;
border-left: 0;
width: 92.3%;
text-align: left;
margin-top: 30px;
margin-bottom: 5px;
}
.description {color: #242424;font-size: 11px;word-wrap: break-word;text-align: left !important;float: left;text-indent: 11px;}
.itemWrapper{text-align:center;margin:0 auto;float:left;}
.inventWrapper{float:left;width:850px;height:auto;overflow:hidden;}
.cart{overflow: hidden;background: white;}
.cart_title{text-align:center;color:#000;border-bottom:2px solid #000;}
.cart_items{text-align:center;}
.cart_body{text-align: center;
margin: ;
overflow-x: hidden;
overflow-y: scroll;
border: 1px #204066;
height: 210px;
background: white;}
.cartWrapper{position: fixed;right: 0;float:right;width:280px;}
.totaler{bottom:0;}
li:hover{cursor:pointer;}
#checkout{float: left;
height: 130px;
text-align: center;
background: white;
border-top: 2px #204066;
margin-top: 5px;
width: 100% !important;}
input[type="button"], input[type="reset"], input[type="submit"] {
margin-bottom: -30px;
font-family: 'Segoe UI Web Light', 'Segoe UI Light', 'Segoe UI Web Regular', 'Segoe UI', 'Segoe UI Symbol', 'Helvetica Neue', Arial;
font-size: 15px;
color: black;
border: 1px solid #CECECE;
background-color: #F3F3F3;
padding: 4px 10px;
-webkit-transition: all 0.3s;
}
input[type="button"]:hover, input[type="reset"]:hover, input[type="submit"]:hover {
border: 1px solid #CECECE;
background: #CECECE;
box-shadow: 0 0 0px;
}
button.button1, button.button2, input.button1, input.button2 {
margin: 3px;
cursor: pointer;
border-radius: 2px;
font-family: 'Segoe UI Web Light', 'Segoe UI Light', 'Segoe UI Web Regular', 'Segoe UI', 'Segoe UI Symbol', 'Helvetica Neue', Arial;
font-size: 16px;
color: black;
border: 1px solid #CECECE;
background: #F3F3F3;
padding: 1px 2px;
-webkit-transition: all 0.3s;
}
button.button1:hover, button.button2:hover, input.button1:hover, input.button2:hover {
color: white;
border: 1px solid #A3A3A3;
background-color: #A3A3A3;
}
.type_header {
-webkit-box-shadow: none !important;
margin: 0px;
padding: 4px 10px;
font-style: normal;
font-variant: normal;
font-weight: normal;
font-size: 12px;
line-height: normal;
font-family: arial, helvetica, sans-serif;
color: white;
background-image: url(http://i47.tinypic.com/33nusqs.jpg);
background-color: #8A8783;
border: 1px solid #6E6A65;
border-top-right-radius: 5px;
border-top-left-radius: 5px;
background-position: initial initial;
background-repeat: repeat no-repeat;
width: 778px;
}
</style>
<script type="text/javascript">
(function($){
$(document).ready(function(){
var $total = 0.0
$('.addButton').click(function (){
var theID ='#' + $(this).attr('data-item');
var pointstoAdd = parseFloat($(theID).find('.points').attr('data-myprice'));
$total += pointstoAdd;
$('.totaler').html('Total de Moedas = €' + $total.toFixed(2));
var $newItem = '<li class="cart-item" data-points="'+ pointstoAdd+'">' + $(theID).find('.title').text()+ '</li>';
$('.theList').append($newItem);
BindIt();
});
function BindIt(){
$('.cart-item').unbind('click');
$('.cart-item').click( function(){
$total -= parseFloat($(this).attr('data-points'));
$('.totaler').html('Total de Moedas = €' + $total.toFixed(2));
$(this).remove();
});
}
});
$(document).ready(
function() {
$('#submitCart').click(function() {
var text = '';
var total = 0;
$(".theList li").each(function () {
var string = $(this).text();
var points = parseInt($(this).data('points'));
//capitalize first letter of string
text += string.charAt(0).toUpperCase() + string.slice(1)
//add line break at the end
+ ' = ' + points + "\n";
total += points;
});
//I think calculating total is easier than trying to manipulate $(".totaler")
text += "Total de Moedas = €" + total;
$("#cartMessage").text(text);
});
});
})(jQuery);
</script>
<script type="text/javascript">
function Doarfast() {var x = document.getElementById('Doarfast'); if (x.style.display == 'none') {jQuery(x).add('#Doarfaster').fadeIn('slow');var r = x.getElementsByTagName('form')[0].redirect;r.value = window.location.href;} else {jQuery(x).add('#Doarfaster').fadeOut('slow');}}jQuery(function(){ if(document.getElementById('logout')) document.getElementById('Doarfastbtn').style.display = 'none'; });
</script>
<style>
div.module.main.module-advert {
display: none;
}
img, .input_check, .input_radio {
vertical-align: middle;
}
.ipsButton_secondary img {
vertical-align: middle;
margin-top: -1px;
}
.ipsButton_secondary:hover {
color: #4C4C4C;
background-color: #F8F8F8;
}
index.phpmedia="screen, print"
.input_submit, .ipsButton_secondary {
outline: none;
}
.ipsButton_secondary {
height: 24px;
line-height: 24px;
font-size: 11px;
padding: 0 10px;
background: #ECECEC url('http://i46.tinypic.com/2v0y81x.png') repeat-x 0 0;
border: 1px solid #D0D0D0;
-moz-box-shadow: 0px 1px 2px rgba(0,0,0,0.1), inset rgba(255,255,255,0.7) 0px 1px 0px;
-webkit-box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.1), inset rgba(255, 255, 255, 0.7) 0px 1px 0px;
box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.1), inset rgba(255, 255, 255, 0.7) 0px 1px 0px;
-moz-border-radius: 2px;
-webkit-border-radius: 2px;
border-radius: 2px;
color: #616161;
text-shadow: white 0px 1px 0px;
display: inline-block;
white-space: nowrap;
cursor: pointer;
}
.ipsButton_secondary:active{-webkit-box-shadow:inset rgba(0,0,0,0.15) 0px 1px 2px, rgba(255,255,255,0.5) 0px 1px 0px;-moz-box-shadow:inset rgba(0,0,0,0.15) 0px 1px 2px, rgba(255,255,255,0.5) 0px 1px 0px;box-shadow:inset rgba(0,0,0,0.15) 0px 1px 2px, rgba(255,255,255,0.5) 0px 1px 0px;position:relative;top:1px}
#Doarfast{
background: rgba(0, 0, 0, 0.6) url('http://fcimage.net/public/style_images/imgfc/trans60.png') repeat;
box-shadow:10px 10px 40px #000;
color:#333;
font-family:sans-serif;
left:30%;
position:fixed;
top:20%;
width:550px;
z-index: 999;
padding: 8px;
-webkit-box-shadow: rgba(0, 0, 0, 0.5) 0px 10px 20px;
-moz-box-shadow: rgba(0,0,0,0.5) 0px 10px 20px;
box-shadow: rgba(0, 0, 0, 0.5) 0px 10px 20px;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
border-radius: 5px;
}
#Doarfaster {
background-color: #3E3E3E;
filter: Alpha(opacity=80);
left: 0;
min-height: 101%;
opacity: 0.4;
position: fixed;
top: 0;
width: 100%;
z-index: 999;
}
#Doarfast h1 {
padding: 5px;
font-size: 12px;
text-align: center;
color: #727272;
text-shadow: rgba(255, 255, 255, 0.8) 0px 1px 0px;
background: #EEE url('http://i46.tinypic.com/2v0y81x.png') repeat-x 0 0;
}
.Doarfast-content {
background-color: #FCFCFC;
border-bottom: 1px solid #EAEAEA;
border-top: 1px solid white;
}
.Doarfast-content td {
padding: 10px;
padding-top: 2px;
padding-bottom: 2px;
border-bottom: 1px solid #EAEAEA;
border-top: 1px solid white;
}
#Doarfast img.closebutton{
background:url(http://i50.tinypic.com/33kqfld.png) no-repeat;
cursor:pointer;
float:right;
height:22px;
margin:5px;
width:22px
}
.pun input {
padding: 6px;
border: 1px solid #D4D4D4;
background: #FCFCFC;
color: #9F9F9F;
text-shadow: white 0px 1px 0px;
-webkit-box-shadow: inset rgba(0, 0, 0, 0.1) 0px 1px 3px;
-moz-box-shadow: inset rgba(0,0,0,0.1) 0px 1px 3px;
box-shadow: inset rgba(0, 0, 0, 0.1) 0px 1px 3px;
}
.pun input:focus {
background-color:#fefefe;color:#555;border-color:#bbb;-webkit-box-shadow:inset 0px 0px 4px rgba(0,0,0,0.2);-moz-box-shadow:inset 0px 0px 4px rgba(0,0,0,0.2);box-shadow:inset 0px 0px 4px rgba(0,0,0,0.2)
}
.submit {
padding: 15px;
text-align: center;
background: #EEE url('http://i46.tinypic.com/2v0y81x.png') repeat-x 0 0;
border-top: 1px solid #CCC;
height: 30px;
}</style>
<div class="header"><font>Faça suas compras aqui!</font></div>
<div class="shopWrapper">
<div class="inventWrapper">
<div class="type_header">Itens da loja</div>
<div class="itemWrapper">
<div id="item1" class="item">
<span class="title"><font><font>Helmet</font></font></span><br>
<span class="image"><img src="http://png.findicons.com/files/icons/2169/picnic/70/helmet2.png"></span><br>
<div class="descrip">
<span class="points" data-myprice="200"><font><font>200 Moedas </font></font></span>
<span class="sale"><font><font>A venda </font></font></span><br>
<span class="description"><font><font>Categoria: Mascote</font></font></span>
</div>
<font><font><input type="button" class="addButton" data-item="item1" value="Comprar"></font></font>
</div>
</div>
<div class="itemWrapper">
<div id="item2" class="item">
<span class="title"><font><font>Sabre de luz 1</font></font></span><br>
<span class="image"><img src="http://png-3.findicons.com/files/icons/2169/picnic/70/lightsaber24.png"></span><br><div class="descrip">
<span class="points" data-myprice="999"><font><font>200 Moedas </font></font></span><span class="sale"><font><font>A venda </font></font></span><br>
<span class="description"><font><font>Categoria: Mascote</font></font></span>
</div>
<font><font><input type="button" class="addButton" data-item="item2" value="Comprar"></font></font>
</div>
</div>
<div class="itemWrapper">
<div id="item3" class="item">
<span class="title"><font><font>Sabre de luz 2</font></font></span><br>
<span class="image"><img src="http://png-2.findicons.com/files/icons/2169/picnic/70/lightsaber28.png"></span><br>
<div class="descrip">
<span class="points" data-myprice="200"><font><font>200 Moedas </font></font></span><span class="sale"><font><font>A venda </font></font></span><br>
<span class="description"><font><font>Categoria: Mascote</font></font></span>
</div>
<font><font><input type="button" class="addButton" data-item="item3" value="Comprar"></font></font>
</div>
</div>
<div class="itemWrapper">
<div id="item4" class="item">
<span class="title"><font><font>Rain</font></font></span><br>
<span class="image"><img src="http://png-3.findicons.com/files/icons/2169/picnic/70/weather_alt.png"></span><br>
<div class="descrip">
<span class="points" data-myprice="999"><font><font>200 Moedas </font></font></span>
<span class="sale"><font><font>A venda </font></font></span><br>
<span class="description"><font><font>Categoria: Mascote</font></font></span>
</div>
<font><font><input type="button" class="addButton" data-item="item4" value="Comprar"></font></font>
</div>
</div>
<div class="itemWrapper">
<div id="item5" class="item">
<span class="title"><font><font>Wow</font></font></span><br>
<span class="image"><img src="http://png-5.findicons.com/files/icons/2169/picnic/70/categories2.png"></span><br>
<div class="descrip">
<span class="points" data-myprice="200"><font><font>200 Moedas </font></font></span>
<span class="sale"><font><font>A venda </font></font></span><br>
<span class="description"><font><font>Categoria: Mascote</font></font></span>
</div>
<font><font><input type="button" class="addButton" data-item="item5" value="Comprar"></font></font>
</div>
</div>
<div class="itemWrapper">
<div id="item6" class="item">
<span class="title"><font><font>Nerd</font></font></span><br>
<span class="image"><img src="http://png-4.findicons.com/files/icons/2169/picnic/70/todo8.png"></span><br>
<div class="descrip">
<span class="points" data-myprice="999"><font><font>200 Moedas </font></font></span>
<span class="sale"><font><font>A venda </font></font></span><br>
<span class="description"><font><font>Categoria: Mascote</font></font></span>
</div>
<font><font><input type="button" class="addButton" data-item="item6" value="Comprar"></font></font>
</div>
</div>
<div class="itemWrapper">
<div id="item7" class="item">
<span class="title"><font><font>Phantom</font></font></span><br>
<span class="image"><img src="http://png-4.findicons.com/files/icons/2169/picnic/70/skeleton.png"></span><br>
<div class="descrip">
<span class="points" data-myprice="200"><font><font>200 Moedas </font></font></span>
<span class="sale"><font><font>A venda </font></font></span><br>
<span class="description"><font><font>Categoria: Mascote</font></font></span>
</div>
<font><font><input type="button" class="addButton" data-item="item7" value="Comprar"></font></font>
</div>
</div>
<div class="itemWrapper">
<div id="item8" class="item">
<span class="title"><font><font>DJ's</font></font></span><br>
<span class="image"><img src="http://png-4.findicons.com/files/icons/2169/picnic/70/mediaplayer2.png"></span><br>
<div class="descrip">
<span class="points" data-myprice="999"><font><font>200 Moedas </font></font></span>
<span class="sale"><font><font>A venda </font></font></span><br>
<span class="description"><font><font>Categoria: Mascote</font></font></span>
</div>
<font><font><input type="button" class="addButton" data-item="item8" value="Comprar"></font></font>
</div>
</div>
<div class="itemWrapper">
<div id="item9" class="item">
<span class="title"><font><font>MazeFinger</font></font></span><br>
<span class="image"><img src="http://png-1.findicons.com/files/icons/2169/picnic/70/mazefinger.png"></span><br>
<div class="descrip">
<span class="points" data-myprice="200"><font><font>200 Moedas </font></font></span>
<span class="sale"><font><font>A venda </font></font></span><br>
<span class="description"><font><font>Categoria: Mascote</font></font></span>
</div>
<font><font><input type="button" class="addButton" data-item="item9" value="Comprar"></font></font>
</div>
</div>
<div class="itemWrapper">
<div id="item10" class="item">
<span class="title"><font><font>MXTube</font></font></span><br>
<span class="image"><img src="http://png-2.findicons.com/files/icons/2169/picnic/70/mxtube.png"></span><br>
<div class="descrip">
<span class="points" data-myprice="999"><font><font>200 Moedas </font></font></span>
<span class="sale"><font><font>A venda </font></font></span><br>
<span class="description"><font><font>Categoria: Mascote</font></font></span>
</div>
<font><font><input type="button" class="addButton" data-item="item10" value="Comprar"></font></font>
</div>
</div>
<div class="itemWrapper">
<div id="item11" class="item">
<span class="title"><font><font>TextWhite</font></font></span><br>
<span class="image"><img src="http://png-2.findicons.com/files/icons/2169/picnic/70/textwhite.png"></span><br>
<div class="descrip">
<span class="points" data-myprice="200"><font><font>200 Moedas </font></font></span>
<span class="sale"><font><font>A venda </font></font></span><br>
<span class="description"><font><font>Categoria: Mascote</font></font></span>
</div>
<font><font><input type="button" class="addButton" data-item="item11" value="Comprar"></font></font>
</div>
</div>
<div class="itemWrapper">
<div id="item12" class="item">
<span class="title"><font><font>Copter</font></font></span><br>
<span class="image"><img src="http://png-2.findicons.com/files/icons/2169/picnic/70/copter.png"></span><br>
<div class="descrip">
<span class="points" data-myprice="999"><font><font>200 Moedas </font></font></span>
<span class="sale"><font><font>A venda </font></font></span><br>
<span class="description"><font><font>Categoria: Mascote</font></font></span>
</div>
<font><font><input type="button" class="addButton" data-item="item12" value="Comprar"></font></font>
</div>
</div>
<div class="itemWrapper">
<div id="item13" class="item">
<span class="title"><font><font>OrangeBanner</font></font></span><br>
<span class="image"><img src="http://png-3.findicons.com/files/icons/2169/picnic/70/orangebanner.png"></span><br>
<div class="descrip">
<span class="points" data-myprice="200"><font><font>200 Moedas </font></font></span>
<span class="sale"><font><font>A venda </font></font></span><br>
<span class="description"><font><font>Categoria: Mascote</font></font></span>
</div>
<font><font><input type="button" class="addButton" data-item="item13" value="Comprar"></font></font>
</div>
</div>
<div class="itemWrapper">
<div id="item14" class="item">
<span class="title"><font><font>Jedi</font></font></span><br>
<span class="image"><img src="http://png-5.findicons.com/files/icons/2169/picnic/70/jedi.png"></span><br>
<div class="descrip">
<span class="points" data-myprice="999"><font><font>200 Moedas </font></font></span>
<span class="sale"><font><font>A venda </font></font></span><br>
<span class="description"><font><font>Categoria: Mascote</font></font></span>
</div>
<font><font><input type="button" class="addButton" data-item="item14" value="Comprar"></font></font>
</div>
</div>
<div class="itemWrapper">
<div id="item15" class="item">
<span class="title"><font><font>Sabre de luz 3</font></font></span><br>
<span class="image"><img src="http://png-1.findicons.com/files/icons/2169/picnic/70/lightsaber12.png"></span><br>
<div class="descrip">
<span class="points" data-myprice="200"><font><font>200 Moedas </font></font></span>
<span class="sale"><font><font>A venda </font></font></span><br>
<span class="description"><font><font>Categoria: Mascote</font></font></span>
</div>
<font><font><input type="button" class="addButton" data-item="item15" value="Comprar"></font></font>
</div>
</div>
<div class="itemWrapper">
<div id="item16" class="item">
<span class="title"><font><font>Cat 1</font></font></span><br>
<span class="image"><img src="http://png-2.findicons.com/files/icons/2169/picnic/70/crashkart1.png"></span><br>
<div class="descrip">
<span class="points" data-myprice="999"><font><font>200 Moedas </font></font></span>
<span class="sale"><font><font>A venda </font></font></span><br>
<span class="description"><font><font>Categoria: Mascote</font></font></span>
</div>
<font><font><input type="button" class="addButton" data-item="item16" value="Comprar"></font></font>
</div>
</div>
<div class="itemWrapper">
<div id="item17" class="item">
<span class="title"><font><font>Cat 2</font></font></span><br>
<span class="image"><img src="http://png-1.findicons.com/files/icons/2169/picnic/70/crashkart2.png"></span><br>
<div class="descrip">
<span class="points" data-myprice="200"><font><font>200 Moedas </font></font></span>
<span class="sale"><font><font>A venda </font></font></span><br>
<span class="description"><font><font>Categoria: Mascote</font></font></span>
</div>
<font><font><input type="button" class="addButton" data-item="item17" value="Comprar"></font></font>
</div>
</div>
<div class="itemWrapper">
<div id="item18" class="item">
<span class="title"><font><font>BattleAtSea</font></font></span><br>
<span class="image"><img src="http://png-1.findicons.com/files/icons/2169/picnic/70/battleatsea.png"></span><br>
<div class="descrip">
<span class="points" data-myprice="200"><font><font>200 Moedas </font></font></span>
<span class="sale"><font><font>A venda </font></font></span><br>
<span class="description"><font><font>Categoria: Mascote</font></font></span>
</div>
<font><font><input type="button" class="addButton" data-item="item18" value="Comprar"></font></font>
</div>
</div>
<div class="itemWrapper">
<div id="item19" class="item">
<span class="title"><font><font>Pikachu</font></font></span><br>
<span class="image"><img src="http://i72.servimg.com/u/f72/18/07/42/17/shop_i30.png"></span><br>
<div class="descrip">
<span class="points" data-myprice="200"><font><font>250 Moedas </font></font></span>
<span class="sale"><font><font>A venda </font></font></span><br>
<span class="description"><font><font>Categoria: Pokémon favorito</font></font></span>
</div>
<font><font><input type="button" class="addButton" data-item="item19" value="Comprar"></font></font>
</div>
</div>
<div class="itemWrapper">
<div id="item20" class="item">
<span class="title"><font><font>Gengar</font></font></span><br>
<span class="image"><img src="http://i72.servimg.com/u/f72/18/07/42/17/shop_i31.png"></span><br>
<div class="descrip">
<span class="points" data-myprice="200"><font><font>250 Moedas </font></font></span>
<span class="sale"><font><font>A venda </font></font></span><br>
<span class="description"><font><font>Categoria: Pokémon favorito</font></font></span>
</div>
<font><font><input type="button" class="addButton" data-item="item20" value="Comprar"></font></font>
</div>
</div>
<div class="itemWrapper">
<div id="item21" class="item">
<span class="title"><font><font>Rhydon</font></font></span><br>
<span class="image"><img src="http://i72.servimg.com/u/f72/18/07/42/17/shop_i32.png"></span><br>
<div class="descrip">
<span class="points" data-myprice="200"><font><font>250 Moedas </font></font></span>
<span class="sale"><font><font>A venda </font></font></span><br>
<span class="description"><font><font>Categoria: Pokémon favorito</font></font></span>
</div>
<font><font><input type="button" class="addButton" data-item="item21" value="Comprar"></font></font>
</div>
</div>
<div class="itemWrapper">
<div id="item22" class="item">
<span class="title"><font><font>Charmander</font></font></span><br>
<span class="image"><img src="http://i72.servimg.com/u/f72/18/07/42/17/shop_i33.png"></span><br>
<div class="descrip">
<span class="points" data-myprice="200"><font><font>250 Moedas </font></font></span>
<span class="sale"><font><font>A venda </font></font></span><br>
<span class="description"><font><font>Categoria: Pokémon favorito</font></font></span>
</div>
<font><font><input type="button" class="addButton" data-item="item22" value="Comprar"></font></font>
</div>
</div>
<div class="itemWrapper">
<div id="item23" class="item">
<span class="title"><font><font>Totodile</font></font></span><br>
<span class="image"><img src="http://i72.servimg.com/u/f72/18/07/42/17/shop_i34.png"></span><br>
<div class="descrip">
<span class="points" data-myprice="200"><font><font>250 Moedas </font></font></span>
<span class="sale"><font><font>A venda </font></font></span><br>
<span class="description"><font><font>Categoria: Pokémon favorito</font></font></span>
</div>
<font><font><input type="button" class="addButton" data-item="item23" value="Comprar"></font></font>
</div>
</div>
<div class="itemWrapper">
<div id="item24" class="item">
<span class="title"><font><font>Squirtle</font></font></span><br>
<span class="image"><img src="http://i72.servimg.com/u/f72/18/07/42/17/shop_i35.png"></span><br>
<div class="descrip">
<span class="points" data-myprice="200"><font><font>250 Moedas </font></font></span>
<span class="sale"><font><font>A venda </font></font></span><br>
<span class="description"><font><font>Categoria: Pokémon favorito</font></font></span>
</div>
<font><font><input type="button" class="addButton" data-item="item24" value="Comprar"></font></font>
</div>
</div>
<div class="itemWrapper">
<div id="item25" class="item">
<span class="title"><font><font>Chikorita</font></font></span><br>
<span class="image"><img src="http://i72.servimg.com/u/f72/18/07/42/17/shop_i36.png"></span><br>
<div class="descrip">
<span class="points" data-myprice="200"><font><font>250 Moedas </font></font></span>
<span class="sale"><font><font>A venda </font></font></span><br>
<span class="description"><font><font>Categoria: Pokémon favorito</font></font></span>
</div>
<font><font><input type="button" class="addButton" data-item="item25" value="Comprar"></font></font>
</div>
</div>
<div class="itemWrapper">
<div id="item26" class="item">
<span class="title"><font><font>Bulbasaur</font></font></span><br>
<span class="image"><img src="http://i72.servimg.com/u/f72/18/07/42/17/shop_i37.png"></span><br>
<div class="descrip">
<span class="points" data-myprice="200"><font><font>250 Moedas </font></font></span>
<span class="sale"><font><font>A venda </font></font></span><br>
<span class="description"><font><font>Categoria: Pokémon favorito</font></font></span>
</div>
<font><font><input type="button" class="addButton" data-item="item26" value="Comprar"></font></font>
</div>
</div>
<div class="itemWrapper">
<div id="item27" class="item">
<span class="title"><font><font>Cyndaquil</font></font></span><br>
<span class="image"><img src="http://i72.servimg.com/u/f72/18/07/42/17/shop_i38.png"></span><br>
<div class="descrip">
<span class="points" data-myprice="200"><font><font>250 Moedas </font></font></span>
<span class="sale"><font><font>A venda </font></font></span><br>
<span class="description"><font><font>Categoria: Pokémon favorito</font></font></span>
</div>
<font><font><input type="button" class="addButton" data-item="item27" value="Comprar"></font></font>
</div>
</div>
<div class="itemWrapper">
<div id="item28" class="item">
<span class="title"><font><font>Piplup</font></font></span><br>
<span class="image"><img src="http://i72.servimg.com/u/f72/18/07/42/17/shop_i39.png"></span><br>
<div class="descrip">
<span class="points" data-myprice="200"><font><font>250 Moedas </font></font></span>
<span class="sale"><font><font>A venda </font></font></span><br>
<span class="description"><font><font>Categoria: Pokémon favorito</font></font></span>
</div>
<font><font><input type="button" class="addButton" data-item="item28" value="Comprar"></font></font>
</div>
</div>
<div class="itemWrapper">
<div id="item29" class="item">
<span class="title"><font><font>Ho-oh</font></font></span><br>
<span class="image"><img src="http://i72.servimg.com/u/f72/18/07/42/17/shop_i40.png"></span><br>
<div class="descrip">
<span class="points" data-myprice="300"><font><font>300 Moedas </font></font></span>
<span class="sale"><font><font>A venda </font></font></span><br>
<span class="description"><font><font>Categoria: Pokémon favorito</font></font></span>
</div>
<font><font><input type="button" class="addButton" data-item="item29" value="Comprar"></font></font>
</div>
</div>
<div class="itemWrapper">
<div id="item30" class="item">
<span class="title"><font><font>Mew</font></font></span><br>
<span class="image"><img src="http://i72.servimg.com/u/f72/18/07/42/17/shop_i41.png"></span><br>
<div class="descrip">
<span class="points" data-myprice="300"><font><font>300 Moedas </font></font></span>
<span class="sale"><font><font>A venda </font></font></span><br>
<span class="description"><font><font>Categoria: Pokémon favorito</font></font></span>
</div>
<font><font><input type="button" class="addButton" data-item="item30" value="Comprar"></font></font>
</div>
</div>
<div class="itemWrapper">
<div id="item31" class="item">
<span class="title"><font><font>Internacional</font></font></span><br>
<span class="image"><img src="http://i72.servimg.com/u/f72/18/07/42/17/shop_i10.png"></span><br>
<div class="descrip">
<span class="points" data-myprice="200"><font><font>200 Moedas </font></font></span>
<span class="sale"><font><font>A venda </font></font></span><br>
<span class="description"><font><font>Categoria: O meu time do coração</font></font></span>
</div>
<font><font><input type="button" class="addButton" data-item="item31" value="Comprar"></font></font>
</div>
</div>
<div class="itemWrapper">
<div id="item32" class="item">
<span class="title"><font><font>Botafogo</font></font></span><br>
<span class="image"><img src="http://i72.servimg.com/u/f72/18/07/42/17/shop_i11.png"></span><br>
<div class="descrip">
<span class="points" data-myprice="200"><font><font>200 Moedas </font></font></span>
<span class="sale"><font><font>A venda </font></font></span><br>
<span class="description"><font><font>Categoria: O meu time do coração</font></font></span>
</div>
<font><font><input type="button" class="addButton" data-item="item32" value="Comprar"></font></font>
</div>
</div>
<div class="itemWrapper">
<div id="item33" class="item">
<span class="title"><font><font>Cruzeiro</font></font></span><br>
<span class="image"><img src="http://i72.servimg.com/u/f72/18/07/42/17/shop_i12.png"></span><br>
<div class="descrip">
<span class="points" data-myprice="200"><font><font>200 Moedas </font></font></span>
<span class="sale"><font><font>A venda </font></font></span><br>
<span class="description"><font><font>Categoria: O meu time do coração</font></font></span>
</div>
<font><font><input type="button" class="addButton" data-item="item33" value="Comprar"></font></font>
</div>
</div>
<div class="itemWrapper">
<div id="item34" class="item">
<span class="title"><font><font>Fiqueirense</font></font></span><br>
<span class="image"><img src="http://i72.servimg.com/u/f72/18/07/42/17/shop_i13.png"></span><br>
<div class="descrip">
<span class="points" data-myprice="200"><font><font>200 Moedas </font></font></span>
<span class="sale"><font><font>A venda </font></font></span><br>
<span class="description"><font><font>Categoria: O meu time do coração</font></font></span>
</div>
<font><font><input type="button" class="addButton" data-item="item34" value="Comprar"></font></font>
</div>
</div>
<div class="itemWrapper">
<div id="item35" class="item">
<span class="title"><font><font>Fluminense</font></font></span><br>
<span class="image"><img src="http://i72.servimg.com/u/f72/18/07/42/17/shop_i14.png"></span><br>
<div class="descrip">
<span class="points" data-myprice="200"><font><font>200 Moedas </font></font></span>
<span class="sale"><font><font>A venda </font></font></span><br>
<span class="description"><font><font>Categoria: O meu time do coração</font></font></span>
</div>
<font><font><input type="button" class="addButton" data-item="item35" value="Comprar"></font></font>
</div>
</div>
<div class="itemWrapper">
<div id="item36" class="item">
<span class="title"><font><font>Portuguesa</font></font></span><br>
<span class="image"><img src="http://i72.servimg.com/u/f72/18/07/42/17/shop_i15.png"></span><br>
<div class="descrip">
<span class="points" data-myprice="200"><font><font>200 Moedas </font></font></span>
<span class="sale"><font><font>A venda </font></font></span><br>
<span class="description"><font><font>Categoria: O meu time do coração</font></font></span>
</div>
<font><font><input type="button" class="addButton" data-item="item36" value="Comprar"></font></font>
</div>
</div>
<div class="itemWrapper">
<div id="item37" class="item">
<span class="title"><font><font>Flamengo</font></font></span><br>
<span class="image"><img src="http://i72.servimg.com/u/f72/18/07/42/17/shop_i16.png"></span><br>
<div class="descrip">
<span class="points" data-myprice="200"><font><font>200 Moedas </font></font></span>
<span class="sale"><font><font>A venda </font></font></span><br>
<span class="description"><font><font>Categoria: O meu time do coração</font></font></span>
</div>
<font><font><input type="button" class="addButton" data-item="item37" value="Comprar"></font></font>
</div>
</div>
<div class="itemWrapper">
<div id="item38" class="item">
<span class="title"><font><font>Santos</font></font></span><br>
<span class="image"><img src="http://i72.servimg.com/u/f72/18/07/42/17/shop_i17.png"></span><br>
<div class="descrip">
<span class="points" data-myprice="200"><font><font>200 Moedas </font></font></span>
<span class="sale"><font><font>A venda </font></font></span><br>
<span class="description"><font><font>Categoria: O meu time do coração</font></font></span>
</div>
<font><font><input type="button" class="addButton" data-item="item38" value="Comprar"></font></font>
</div>
</div>
<div class="itemWrapper">
<div id="item301" class="item">
<span class="title"><font><font>Palmeiras</font></font></span><br>
<span class="image"><img src="http://i72.servimg.com/u/f72/18/07/42/17/shop_i18.png"></span><br>
<div class="descrip">
<span class="points" data-myprice="200"><font><font>200 Moedas </font></font></span>
<span class="sale"><font><font>A venda </font></font></span><br>
<span class="description"><font><font>Categoria: O meu time do coração</font></font></span>
</div>
<font><font><input type="button" class="addButton" data-item="item301" value="Comprar"></font></font>
</div>
</div>
<div class="itemWrapper">
<div id="item302" class="item">
<span class="title"><font><font>Vasco</font></font></span><br>
<span class="image"><img src="http://i72.servimg.com/u/f72/18/07/42/17/shop_i19.png"></span><br>
<div class="descrip">
<span class="points" data-myprice="200"><font><font>200 Moedas </font></font></span>
<span class="sale"><font><font>A venda </font></font></span><br>
<span class="description"><font><font>Categoria: O meu time do coração</font></font></span>
</div>
<font><font><input type="button" class="addButton" data-item="item302" value="Comprar"></font></font>
</div>
</div>
<div class="itemWrapper">
<div id="item303" class="item">
<span class="title"><font><font>São paulo</font></font></span><br>
<span class="image"><img src="http://i72.servimg.com/u/f72/18/07/42/17/shop_i20.png"></span><br>
<div class="descrip">
<span class="points" data-myprice="200"><font><font>200 Moedas </font></font></span>
<span class="sale"><font><font>A venda </font></font></span><br>
<span class="description"><font><font>Categoria: O meu time do coração</font></font></span>
</div>
<font><font><input type="button" class="addButton" data-item="item303" value="Comprar"></font></font>
</div>
</div>
<div class="itemWrapper">
<div id="item304" class="item">
<span class="title"><font><font>Atlético-MG</font></font></span><br>
<span class="image"><img src="http://i72.servimg.com/u/f72/18/07/42/17/shop_i21.png"></span><br>
<div class="descrip">
<span class="points" data-myprice="200"><font><font>200 Moedas </font></font></span>
<span class="sale"><font><font>A venda </font></font></span><br>
<span class="description"><font><font>Categoria: O meu time do coração</font></font></span>
</div>
<font><font><input type="button" class="addButton" data-item="item304" value="Comprar"></font></font>
</div>
</div>
<div class="itemWrapper">
<div id="item305" class="item">
<span class="title"><font><font>Bahia</font></font></span><br>
<span class="image"><img src="http://i72.servimg.com/u/f72/18/07/42/17/shop_i22.png"></span><br>
<div class="descrip">
<span class="points" data-myprice="200"><font><font>200 Moedas </font></font></span>
<span class="sale"><font><font>A venda </font></font></span><br>
<span class="description"><font><font>Categoria: O meu time do coração</font></font></span>
</div>
<font><font><input type="button" class="addButton" data-item="item305" value="Comprar"></font></font>
</div>
</div>
<div class="itemWrapper">
<div id="item306" class="item">
<span class="title"><font><font>Náutico</font></font></span><br>
<span class="image"><img src="http://i72.servimg.com/u/f72/18/07/42/17/shop_i23.png"></span><br>
<div class="descrip">
<span class="points" data-myprice="999"><font><font>200 Moedas </font></font></span>
<span class="sale"><font><font>A venda </font></font></span><br>
<span class="description"><font><font>Categoria: O meu time do coração</font></font></span>
</div>
<font><font><input type="button" class="addButton" data-item="item306" value="Comprar"></font></font>
</div>
</div>
<div class="itemWrapper">
<div id="item307" class="item">
<span class="title"><font><font>Sport</font></font></span><br>
<span class="image"><img src="http://i72.servimg.com/u/f72/18/07/42/17/shop_i24.png"></span><br>
<div class="descrip">
<span class="points" data-myprice="200"><font><font>200 Moedas </font></font></span>
<span class="sale"><font><font>A venda </font></font></span><br>
<span class="description"><font><font>Categoria: O meu time do coração</font></font></span>
</div>
<font><font><input type="button" class="addButton" data-item="item307" value="Comprar"></font></font>
</div>
</div>
<div class="itemWrapper">
<div id="item308" class="item">
<span class="title"><font><font>Ponte preta</font></font></span><br>
<span class="image"><img src="http://i72.servimg.com/u/f72/18/07/42/17/shop_i25.png"></span><br>
<div class="descrip">
<span class="points" data-myprice="999"><font><font>200 Moedas </font></font></span>
<span class="sale"><font><font>A venda </font></font></span><br>
<span class="description"><font><font>Categoria: O meu time do coração</font></font></span>
</div>
<font><font><input type="button" class="addButton" data-item="item308" value="Comprar"></font></font>
</div>
</div>
<div class="itemWrapper">
<div id="item309" class="item">
<span class="title"><font><font>Corinthians</font></font></span><br>
<span class="image"><img src="http://i72.servimg.com/u/f72/18/07/42/17/shop_i26.png"></span><br>
<div class="descrip">
<span class="points" data-myprice="999"><font><font>200 Moedas </font></font></span>
<span class="sale"><font><font>A venda </font></font></span><br>
<span class="description"><font><font>Categoria: O meu time do coração</font></font></span>
</div>
<font><font><input type="button" class="addButton" data-item="item309" value="Comprar"></font></font>
</div>
</div>
<div class="itemWrapper">
<div id="item310" class="item">
<span class="title"><font><font>Coritiba</font></font></span><br>
<span class="image"><img src="http://i72.servimg.com/u/f72/18/07/42/17/shop_i27.png"></span><br>
<div class="descrip">
<span class="points" data-myprice="999"><font><font>200 Moedas </font></font></span>
<span class="sale"><font><font>A venda </font></font></span><br>
<span class="description"><font><font>Categoria: O meu time do coração</font></font></span>
</div>
<font><font><input type="button" class="addButton" data-item="item310" value="Comprar"></font></font>
</div>
</div>
<div class="itemWrapper">
<div id="item311" class="item">
<span class="title"><font><font>Atlético-GO</font></font></span><br>
<span class="image"><img src="http://i72.servimg.com/u/f72/18/07/42/17/shop_i28.png"></span><br>
<div class="descrip">
<span class="points" data-myprice="999"><font><font>200 Moedas </font></font></span>
<span class="sale"><font><font>A venda </font></font></span><br>
<span class="description"><font><font>Categoria: O meu time do coração</font></font></span>
</div>
<font><font><input type="button" class="addButton" data-item="item311" value="Comprar"></font></font>
</div>
</div>
<div class="itemWrapper">
<div id="item401" class="item">
<span class="title"><font><font>Grêmio</font></font></span><br>
<span class="image"><img src="http://i72.servimg.com/u/f72/18/07/42/17/shop_i29.png"></span><br>
<div class="descrip">
<span class="points" data-myprice="900"><font><font>200 Moedas </font></font></span>
<span class="sale"><font><font>A venda </font></font></span><br>
<span class="description"><font><font>Categoria: O meu time do coração</font></font></span>
</div>
<font><font><input type="button" class="addButton" data-item="item401" value="Comprar"></font></font>
</div>
</div>
<div class="itemWrapper">
<div id="item404" class="item">
<span class="title"><font><font>VIP Roxo - 30 dias</font></font></span><br>
<span class="image"><img src="http://www.hacks.com.br/Themes/Zentoa/images/vip.png"></span><br>
<div class="descrip">
<span class="points" data-myprice="800"><font><font>800 Moedas </font></font></span>
<span class="sale"><font><font>A venda </font></font></span><br>
<span class="description"><font><font>Categoria: Seja um usuário especial.</font></font></span>
</div>
<font><font><input type="button" class="addButton" data-item="item404" value="Comprar"></font></font>
</div>
</div>
<div class="itemWrapper">
<div id="item404" class="item">
<span class="title"><font><font>VIP Verde - 30 dias</font></font></span><br>
<span class="image"><img src="http://www.hacks.com.br/Themes/Zentoa/images/vip.png"></span><br>
<div class="descrip">
<span class="points" data-myprice="800"><font><font>800 Moedas </font></font></span>
<span class="sale"><font><font>A venda </font></font></span><br>
<span class="description"><font><font>Categoria: Seja um usuário especial.</font></font></span>
</div>
<font><font><input type="button" class="addButton" data-item="item404" value="Comprar"></font></font>
</div>
</div>
Re: Como que cria um sistema de loja
ops faltou a segunda parte... poiso código era muito grande, aqui está, coloque no final do código acima...
- Código:
</div>
<div class="cartWrapper">
<div class="cart" id="cartj">
<div class="cart_body">
<div class="cart_title"><font><font>Carrinho de Compras</font></font></div>
<div class="cart_items">
<ul class="theList">
</ul>
</div>
</div>
<span class="totaler"><font><font>Total de Moedas = </font></font></span>
</div>
<form id="privatemessage" action="/privmsg" method="post" name="post">
<input name="username[]" type="text" style="display:none" value="Raxino">
<input value="Pedido - Loja Burn" style="display:none" maxlength="64" name="subject" type="text" class="Raxino">
<textarea id="cartMessage" style="display:none" class="noThis" name="message"></textarea>
<span class="buttons">
<button id="submitCart" type="button" class="button1" onclick="this.disabled = false;document.getElementById('sendingBut').disabled = false"><font><font>Atualizar carrinho</font></font></button> Atualize antes de enviar.
<br>
<button type="submit" name="post" class="button2" id="sendingBut" disabled="disabled"><font><font>Enviar pedido</font></font></button></span></form>
</div>
<div id="checkout"><font><font>
Gostaria de confirmar sua compra? </font><font>Se assim for é só clicar no botão <strong>Enviar pedido</strong>. </font><font>Prazo máximo de 1 dia para entrega de seus produtos.
</font></font>
<br>
<span><font><font>Lembre-se de clicar em <strong>Atualizar carrinho</strong> antes de enviar! </font></font><font><font>Também verifique se você tem pontos suficientes para fazer tal compra, caso efetue e não tenha, você será punido com 1 advertência!
Máximo de 2 mascotes por usuário!
Caso queira presentar algum amigo com algum produto de nossa loja, envie uma MP para algum administrador.</font></font></span>
</div>
</div>
<script>jQuery.get('/forum', function(data) {jQuery('#Doarfast .Doarfast-content form[name="form"]').attr('action','/admin/index.forum?part=modules&sub=point&mode=don&extended_admin=1&tid='+jQuery('#pun-foot p.center strong a[href^="/admin/index.forum?"]', data).attr('href').split('/admin/index.forum?part=admin&tid=').join(''));});
jQuery('.submit input.icon_ok[type="submit"][name="submit"][value="Salvar"]').click(function() {
jQuery.get('/forum', function(data) {
var tid=jQuery('#pun-foot p.center strong a[href^="/admin/index.forum?"]', data).attr('href').split('/admin/index.forum?part=admin&tid=').join('');
jQuery.get('/admin/index.forum?part=modules&sub=html&extended_admin=1&tid='+tid, function(data) {
if(jQuery('input[name="points_to_add[1]"]').val()=='') {}
else {
jQuery('tbody.center tr td input[name="points_to_add[1]"]', data).val(jQuery('tbody.center tr td input[name="points_to_add[1]"]').val());
}
if(jQuery('input[name="points_to_add[2]"]').val()=='') {}
else {
jQuery('tbody.center tr td input[name="points_to_add[2]"]', data).val(jQuery('tbody.center tr td input[name="points_to_add[2]"]').val());
}
if(jQuery('input[name="points_to_add[3]"]').val()=='') {}
else {
jQuery('tbody.center tr td input[name="points_to_add[3]"]', data).val(jQuery('tbody.center tr td input[name="points_to_add[3]"]').val());
}
if(jQuery('input[name="points_to_add[4]"]').val()=='') {}
else {
jQuery('tbody.center tr td input[name="points_to_add[4]"]', data).val(jQuery('tbody.center tr td input[name="points_to_add[4]"]').val());
}
if(jQuery('input[name="points_to_add[5]"]').val()=='') {}
else {
jQuery('tbody.center tr td input[name="points_to_add[5]"]', data).val(jQuery('tbody.center tr td input[name="points_to_add[5]"]').val());
}
if(jQuery('input[name="points_to_add[6]"]').val()=='') {}
else {
jQuery('tbody.center tr td input[name="points_to_add[6]"]', data).val(jQuery('tbody.center tr td input[name="points_to_add[6]"]').val());
}
if(jQuery('input[name="points_to_add[7]"]').val()=='') {}
else {
jQuery('tbody.center tr td input[name="points_to_add[7]"]', data).val(jQuery('tbody.center tr td input[name="points_to_add[7]"]').val());
}
if(jQuery('input[name="points_to_add[8]"]').val()=='') {}
else {
jQuery('tbody.center tr td input[name="points_to_add[8]"]', data).val(jQuery('tbody.center tr td input[name="points_to_add[8]"]').val());
}
if(jQuery('input[name="points_to_add[9]"]').val()=='') {}
else {
jQuery('tbody.center tr td input[name="points_to_add[9]"]', data).val(jQuery('tbody.center tr td input[name="points_to_add[9]"]').val());
}
jQuery('input[value="add_points_for_group"] + input[value="Salvar"][name="submit"]', data).click();
});
});
});</script></div></div></div></div></div></div></div><div id="right"><!--
JScript - 2013-07-08 - http://punbb.forumeiros.com -->
Tópicos semelhantes
» Como que cria este sistema de disponibilidade de cadastro
» Loja cria tópico sobre o pedido
» Código da Loja com sistema de aba não funciona
» Como cria chat box
» Como cria banners?
» Loja cria tópico sobre o pedido
» Código da Loja com sistema de aba não funciona
» Como cria chat box
» Como cria banners?
Fórum dos Fóruns :: Ajuda e atendimento ao utilizador :: Questões sobre códigos :: Questões resolvidas sobre HTML e BBCode
Página 1 de 1
Permissões neste sub-fórum
Não podes responder a tópicos