deadpool Posted October 13, 2015 Report Share Posted October 13, 2015 модуль магазин магазин.rar 1 Quote Link to comment Share on other sites More sharing options...
api Posted October 13, 2015 Report Share Posted October 13, 2015 модуль магазин откуда модуль ? Quote Link to comment Share on other sites More sharing options...
deadpool Posted October 13, 2015 Author Report Share Posted October 13, 2015 модуль магазин откуда модуль ? Это я его когда та с михнета вытаскивал Quote Link to comment Share on other sites More sharing options...
Guyton Posted October 14, 2015 Report Share Posted October 14, 2015 Ничего себе... ВКонтакте только создала "Магазин" а уже начали делать его копии... Quote Link to comment Share on other sites More sharing options...
volodymyr Posted October 17, 2015 Report Share Posted October 17, 2015 Здравствуйте. Я записал файлы на хостинг сделал запрос таблице. как открыть магазин? Quote Link to comment Share on other sites More sharing options...
deadpool Posted October 17, 2015 Author Report Share Posted October 17, 2015 (edited) Здравствуйте. Я записал файлы на хостинг сделал запрос таблице. как открыть магазин?свой сайт/shopвот по этой ссылке открывается сайт Edited October 17, 2015 by deadpool Quote Link to comment Share on other sites More sharing options...
kadir3344 Posted October 19, 2015 Report Share Posted October 19, 2015 свой сайт/shop вот по этой ссылке открывается сайт чет кнопка создать не работает! Quote Link to comment Share on other sites More sharing options...
Roman99k Posted October 19, 2015 Report Share Posted October 19, 2015 Правильно, не работет... Ничего, что там js не хватает, чтобы она работала? Quote Link to comment Share on other sites More sharing options...
kadir3344 Posted October 20, 2015 Report Share Posted October 20, 2015 из какой сборки вытаскивали плиз ссылку на сборку дайте! Quote Link to comment Share on other sites More sharing options...
Shaman Daniels Posted October 20, 2015 Report Share Posted October 20, 2015 из какой сборки вытаскивали плиз ссылку на сборку дайте! http://cmstools.ru/index.php?/topic/32-originalnaia-sborka-mixnet-s-instaliatorom/ 1 Quote Link to comment Share on other sites More sharing options...
kadir3344 Posted October 21, 2015 Report Share Posted October 21, 2015 http://cmstools.ru/index.php?/topic/32-originalnaia-sborka-mixnet-s-instaliatorom/ спасибо большое) Quote Link to comment Share on other sites More sharing options...
deadpool Posted October 21, 2015 Author Report Share Posted October 21, 2015 спасибо большое) Вот js // SHOP var shop = { search:function(){ var title = $('#shopsearch').val(); $('#shop_se_load').fadeIn('fast'); if(title.length == 0){ $('#shop_se_load').fadeOut(100); $('#searchbody').hide(); $('.friends_onefriend').show(); $('#tab3').show(); $('#nav').show(); }else{ $.post('/index.php?go=shop&act=search',{title: title},function(d){ $('.shop_oneshop').hide(); $('#tab3').hide(); $('#shop_se_load').fadeOut(100); $('#searchbody').show(); $('#searchbody').html(d); }); } }, delet: function(id){ $('#del_text_'+id).remove(); $('#del_load_'+id).show(); $.post('/index.php?go=shop&act=delet', {id: id}, function(){ $('#bmsg_'+id).remove(); $('#del_load_'+id).remove(); updateNum('#all_msg_num'); myhtml.title_close(id); }); }, ok: function(id){ $('#ok_text_'+id).remove(); $('#ok_load_'+id).show(); $.post('/index.php?go=shop&act=ok', {id: id}, function(){ $('#bmsg_'+id).remove(); $('#ok_load_'+id).remove(); myhtml.title_close(id); }); }, save: function(id){ var title = $('#title').val(); var text = $('#text').val(); var price = $('#price').val(); var currency = $('#currency').val(); var category = $('#category').val(); var contacts = $('#contacts').val(); var email = $('#email').val(); var vk = $('#vk').val(); var skype = $('#skype').val(); if(title != 0){ if(text != 0){ if(price != 0){ if(currency != 0){ if(category != 0){ if(contacts != 0){ if(email != 0){ butloading('tov', 70, 'disabled'); $.post('/index.php?go=shop&act=save', {title: title, text: text, price: price, currency: currency, category: category, contacts: contacts, email: email, vk: vk, skype: skype}, function(){ butloading('tov', 70, 'enabled', 'Сохранить'); Page.Go('/shop'+id); }); } else setErrorInputMsg('email'); } else setErrorInputMsg('contacts'); } else setErrorInputMsg('category'); } else setErrorInputMsg('currency'); } else setErrorInputMsg('price'); } else setErrorInputMsg('text'); } else setErrorInputMsg('title'); } } var BoxLang = { start: function(mylang){ var content = '<center>'+ '<a style="background-image: url(/templates/Default/images/lang/1.gif);background-size: 34px 26px;" class="lang_box_row" onClick="boxlang.mylang(\'1\');">Русский</a>'+ '<a style="width:70px;display:block;padding-left:60px;height:42px;line-height:42px;background-repeat:no-repeat;background-position: 10px center;color:#426A87;font-weight:bold;background-image: url(/templates/Default/images/lang/2.gif);background-size: 34px 26px;" class="lang_box_row" onClick="boxlang.mylang(\'2\'); return false">Українська</a>'+ '<a style="background-image: url(/templates/Default/images/lang/3.gif);background-size: 34px 26px;" class="lang_box_row" onClick="boxlang.mylang(\'3\'); return false">English</a>'+ '<div onclick="boxlang.list_lang(); return false" class="lang_box_rows cursor_pointer">Other languages »</div><br><br>'+ '</center>'; Box.Show('boxlang', 250, lang_vibyaz, content, lang_box_canсel, lang_new_msg_send, 'boxlang.mylangs(\'1\'); return false', 200); $('#msg').focus(); }, Next_list: function(mylang){ Box.Close('boxlang'); var content = '<div style="width:110px;float:left;padding-top:10px;padding-left:40px;">'+ '<div style="height:17px"><img style="margin-bottom:1px;margin-right:10px;" src="/templates/Default/images/img/tok.png"><a class="cursor_pointer" onClick="boxlang.mylang(\'1\');">Русский</a></div>'+ '<div style="height:17px"><img style="margin-bottom:1px;margin-right:10px;" src="/templates/Default/images/img/tok.png"><a class="cursor_pointer" onClick="boxlang.mylang(\'2\');">Українська</a></div>'+ '<div style="height:17px"><img style="margin-bottom:1px;margin-right:10px;" src="/templates/Default/images/img/tok.png"><a class="cursor_pointer" onClick="boxlang.mylang(\'3\');">English</a></div>'+ '<div style="height:17px"><img style="margin-bottom:1px;margin-right:10px;" src="/templates/Default/images/img/tok.png"><a class="cursor_pointer" onClick="boxlang.mylang(\'4\');">Беларускі</a></div>'+ '<div style="height:17px"><img style="margin-bottom:1px;margin-right:10px;" src="/templates/Default/images/img/tok.png"><a class="cursor_pointer" onClick="boxlang.mylang(\'5\');">Azərbaycan</a></div>'+ '<div style="height:17px"><img style="margin-bottom:1px;margin-right:10px;" src="/templates/Default/images/img/tok.png"><a class="cursor_pointer" onClick="boxlang.mylang(\'6\');">Հայերեն</a></div>'+ '<div style="height:17px"><img style="margin-bottom:1px;margin-right:10px;" src="/templates/Default/images/img/tok.png"><a class="cursor_pointer" onClick="boxlang.mylang(\'7\');">ქართული</a></div>'+ '<div style="height:17px"><img style="margin-bottom:1px;margin-right:10px;" src="/templates/Default/images/img/tok.png"><a class="cursor_pointer" onClick="boxlang.mylang(\'8\');">deutsch</a></div>'+ '<div style="height:17px"><img style="margin-bottom:1px;margin-right:10px;" src="/templates/Default/images/img/tok.png"><a class="cursor_pointer" onClick="boxlang.mylang(\'9\');">italiano</a></div>'+ '<div style="height:17px"><img style="margin-bottom:1px;margin-right:10px;" src="/templates/Default/images/img/tok.png"><a class="cursor_pointer" onClick="boxlang.mylang(\'10\');">español</a></div>'+ '</div>'+ '<div style="width:120px;float:left;padding-top:3px;">'+ '</div>'; Box.Show('boxlang', 500, lang_vibyaz, content, lang_box_canсel, lang_new_msg_send, 'boxlang.mylangs(\'1\'); return false', 400); $('#msg').focus(); }, mylang: function(mylang) { var text_delet = $('#text_delet').val(); $.post('/index.php?go=settings&act=mylang', {mylang:mylang}, function(){ Box.Close('boxlang'); location.reload(); $('body, html').animate({scrollTop: 0}, 250); }); } } Quote Link to comment Share on other sites More sharing options...
volodymyr Posted November 2, 2015 Report Share Posted November 2, 2015 Вот js // SHOP var shop = { search:function(){ var title = $('#shopsearch').val(); $('#shop_se_load').fadeIn('fast'); if(title.length == 0){ $('#shop_se_load').fadeOut(100); $('#searchbody').hide(); $('.friends_onefriend').show(); $('#tab3').show(); $('#nav').show(); }else{ $.post('/index.php?go=shop&act=search',{title: title},function(d){ $('.shop_oneshop').hide(); $('#tab3').hide(); $('#shop_se_load').fadeOut(100); $('#searchbody').show(); $('#searchbody').html(d); }); } }, delet: function(id){ $('#del_text_'+id).remove(); $('#del_load_'+id).show(); $.post('/index.php?go=shop&act=delet', {id: id}, function(){ $('#bmsg_'+id).remove(); $('#del_load_'+id).remove(); updateNum('#all_msg_num'); myhtml.title_close(id); }); }, ok: function(id){ $('#ok_text_'+id).remove(); $('#ok_load_'+id).show(); $.post('/index.php?go=shop&act=ok', {id: id}, function(){ $('#bmsg_'+id).remove(); $('#ok_load_'+id).remove(); myhtml.title_close(id); }); }, save: function(id){ var title = $('#title').val(); var text = $('#text').val(); var price = $('#price').val(); var currency = $('#currency').val(); var category = $('#category').val(); var contacts = $('#contacts').val(); var email = $('#email').val(); var vk = $('#vk').val(); var skype = $('#skype').val(); if(title != 0){ if(text != 0){ if(price != 0){ if(currency != 0){ if(category != 0){ if(contacts != 0){ if(email != 0){ butloading('tov', 70, 'disabled'); $.post('/index.php?go=shop&act=save', {title: title, text: text, price: price, currency: currency, category: category, contacts: contacts, email: email, vk: vk, skype: skype}, function(){ butloading('tov', 70, 'enabled', 'Сохранить'); Page.Go('/shop'+id); }); } else setErrorInputMsg('email'); } else setErrorInputMsg('contacts'); } else setErrorInputMsg('category'); } else setErrorInputMsg('currency'); } else setErrorInputMsg('price'); } else setErrorInputMsg('text'); } else setErrorInputMsg('title'); } } var BoxLang = { start: function(mylang){ var content = '<center>'+ '<a style="background-image: url(/templates/Default/images/lang/1.gif);background-size: 34px 26px;" class="lang_box_row" onClick="boxlang.mylang(\'1\');">Русский</a>'+ '<a style="width:70px;display:block;padding-left:60px;height:42px;line-height:42px;background-repeat:no-repeat;background-position: 10px center;color:#426A87;font-weight:bold;background-image: url(/templates/Default/images/lang/2.gif);background-size: 34px 26px;" class="lang_box_row" onClick="boxlang.mylang(\'2\'); return false">Українська</a>'+ '<a style="background-image: url(/templates/Default/images/lang/3.gif);background-size: 34px 26px;" class="lang_box_row" onClick="boxlang.mylang(\'3\'); return false">English</a>'+ '<div onclick="boxlang.list_lang(); return false" class="lang_box_rows cursor_pointer">Other languages »</div><br><br>'+ '</center>'; Box.Show('boxlang', 250, lang_vibyaz, content, lang_box_canсel, lang_new_msg_send, 'boxlang.mylangs(\'1\'); return false', 200); $('#msg').focus(); }, Next_list: function(mylang){ Box.Close('boxlang'); var content = '<div style="width:110px;float:left;padding-top:10px;padding-left:40px;">'+ '<div style="height:17px"><img style="margin-bottom:1px;margin-right:10px;" src="/templates/Default/images/img/tok.png"><a class="cursor_pointer" onClick="boxlang.mylang(\'1\');">Русский</a></div>'+ '<div style="height:17px"><img style="margin-bottom:1px;margin-right:10px;" src="/templates/Default/images/img/tok.png"><a class="cursor_pointer" onClick="boxlang.mylang(\'2\');">Українська</a></div>'+ '<div style="height:17px"><img style="margin-bottom:1px;margin-right:10px;" src="/templates/Default/images/img/tok.png"><a class="cursor_pointer" onClick="boxlang.mylang(\'3\');">English</a></div>'+ '<div style="height:17px"><img style="margin-bottom:1px;margin-right:10px;" src="/templates/Default/images/img/tok.png"><a class="cursor_pointer" onClick="boxlang.mylang(\'4\');">Беларускі</a></div>'+ '<div style="height:17px"><img style="margin-bottom:1px;margin-right:10px;" src="/templates/Default/images/img/tok.png"><a class="cursor_pointer" onClick="boxlang.mylang(\'5\');">Azərbaycan</a></div>'+ '<div style="height:17px"><img style="margin-bottom:1px;margin-right:10px;" src="/templates/Default/images/img/tok.png"><a class="cursor_pointer" onClick="boxlang.mylang(\'6\');">Հայերեն</a></div>'+ '<div style="height:17px"><img style="margin-bottom:1px;margin-right:10px;" src="/templates/Default/images/img/tok.png"><a class="cursor_pointer" onClick="boxlang.mylang(\'7\');">ქართული</a></div>'+ '<div style="height:17px"><img style="margin-bottom:1px;margin-right:10px;" src="/templates/Default/images/img/tok.png"><a class="cursor_pointer" onClick="boxlang.mylang(\'8\');">deutsch</a></div>'+ '<div style="height:17px"><img style="margin-bottom:1px;margin-right:10px;" src="/templates/Default/images/img/tok.png"><a class="cursor_pointer" onClick="boxlang.mylang(\'9\');">italiano</a></div>'+ '<div style="height:17px"><img style="margin-bottom:1px;margin-right:10px;" src="/templates/Default/images/img/tok.png"><a class="cursor_pointer" onClick="boxlang.mylang(\'10\');">español</a></div>'+ '</div>'+ '<div style="width:120px;float:left;padding-top:3px;">'+ '</div>'; Box.Show('boxlang', 500, lang_vibyaz, content, lang_box_canсel, lang_new_msg_send, 'boxlang.mylangs(\'1\'); return false', 400); $('#msg').focus(); }, mylang: function(mylang) { var text_delet = $('#text_delet').val(); $.post('/index.php?go=settings&act=mylang', {mylang:mylang}, function(){ Box.Close('boxlang'); location.reload(); $('body, html').animate({scrollTop: 0}, 250); }); } } как назвать файл и в какую папку загрузить Quote Link to comment Share on other sites More sharing options...
Why Not Posted November 2, 2015 Report Share Posted November 2, 2015 (edited) как назвать файл и в какую папку загрузить шаблон/js/profile.js или main.js , туда закинь эти строки. Помог, жми зеленую стрелку. Edited November 2, 2015 by gundzha 3 1 Quote Link to comment Share on other sites More sharing options...
deadpool Posted November 2, 2015 Author Report Share Posted November 2, 2015 как назвать файл и в какую папку загрузить Закинт это в profile.is Quote Link to comment Share on other sites More sharing options...
wenjiro Posted February 21, 2016 Report Share Posted February 21, 2016 шаблон/js/profile.js или main.js , туда закинь эти строки. Помог, жми зеленую стрелку. Кажись не туда нажал. Я просто дальтон. Quote Link to comment Share on other sites More sharing options...
Василий Posted April 14, 2016 Report Share Posted April 14, 2016 модуль магазин установил но не могу найти .. где искать ?? Quote Link to comment Share on other sites More sharing options...
viiprogrammer Posted April 14, 2016 Report Share Posted April 14, 2016 установил но не могу найти .. где искать ?? /shop Quote Link to comment Share on other sites More sharing options...
Василий Posted April 14, 2016 Report Share Posted April 14, 2016 /shop у меня пишет "Неизвестная ошибка" Quote Link to comment Share on other sites More sharing options...
Shaman Daniels Posted April 16, 2016 Report Share Posted April 16, 2016 Внимание! Почистил тему от флуда. Обсуждать друг друга в лс. Quote Link to comment Share on other sites More sharing options...
Василий Posted April 17, 2016 Report Share Posted April 17, 2016 Внимание! Почистил тему от флуда. Обсуждать друг друга в лс. Спасибо .... Quote Link to comment Share on other sites More sharing options...
piarmen Posted May 26, 2016 Report Share Posted May 26, 2016 Пишет: неизвестная ошибка Quote Link to comment Share on other sites More sharing options...
piarmen Posted May 26, 2016 Report Share Posted May 26, 2016 Разобрался, в mod надо добавить разрешение //Магазин case "shop": include ENGINE_DIR.'/modules/shop.php' break; Quote Link to comment Share on other sites More sharing options...
piarmen Posted May 26, 2016 Report Share Posted May 26, 2016 Но лучше не ставьте - он кривой полностью Quote Link to comment Share on other sites More sharing options...
007 Posted July 21, 2016 Report Share Posted July 21, 2016 Разобрался, в mod надо добавить разрешение //Магазин case "shop": include ENGINE_DIR.'/modules/shop.php' break;Поставил, но сайт перестал работать Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.