Home > php教程 > php手册 > body text

Wemall software trading platform WeChat graphic editor part code sharing

WBOY
Release: 2016-10-22 00:00:29
Original
1599 people have browsed it

Part of the code of WeChat graphic editor of wemall software trading platform can be downloaded;
Part of the code of WeChat graphic editor of wemall software trading platform can be downloaded;
Wemall software trading platform WeChat graphic editor part code sharing
controller.php<?php<br /> date_default_timezone_set("Asia/chongqing");<br /> error_reporting(E_ERROR);<br /> header("Content-Type: text/html; charset=gbk");<br /> <br /> $CONFIG = json_decode(preg_replace("//*[sS]+?*//", "", file_get_contents("config.json")), true);<br /> $action = $_GET['action'];<br /> <br /> switch ($action) {<br /> case 'config':<br />            $result =  json_encode($CONFIG);<br />           break;<br /> <br /> /* Upload pictures */<br /> case 'uploadimage':<br /> /* Upload graffiti */<br /> Case 'uploadscrawl':<br /> /* Upload video */<br /> case 'uploadvideo':<br /> /* Upload files */<br /> Case ‘uploadfile’:<br /> ​​​​$result = include("action_upload.php");<br />           break;<br /> <br /> /* List pictures */<br /> case 'listimage':<br /> ​​​​$result = include("action_list.php");<br />           break;<br /> /* List files */<br /> case 'listfile':<br /> ​​​​$result = include("action_list.php");<br />           break;<br /> <br /> /* Grab remote files */<br /> case 'catchimage':<br /> ​​​​$result = include("action_crawler.php");<br />           break;<br /> <br /> ​​default:<br />          $result = json_encode(array(<br />              'state'=> 'Error in requesting address'<br> ));<br>           break;<br> }<br> <br> /* Output results */<br> if (isset($_GET["callback"])) {<br> If (preg_match("/^[w_]+$/", $_GET["callback"])) {<br> echo htmlspecialchars($_GET["callback"]) . '(' . $result . ')';<br> } else {<br> echo json_encode(array(<br>              'state'=> 'The callback parameter is illegal'<br> ));<br> }<br> } else {<br> echo $result;<br> }
action_crawler.php<?php<br /> <br /> set_time_limit(0);<br /> include("Uploader.class.php");<br /> <br /> /* Upload configuration */<br /> $config = array(<br /> "pathFormat" => $CONFIG['catcherPathFormat'],<br> "maxSize" => $CONFIG['catcherMaxSize'],<br> "allowFiles" => $CONFIG['catcherAllowFiles'],<br> "oriName" => "remote.png"<br> );<br> $fieldName = $CONFIG['catcherFieldName'];<br> <br> /* Grab remote pictures */<br> $list = array();<br> if (isset($_POST[$fieldName])) {<br> $source = $_POST[$fieldName];<br> } else {<br> $source = $_GET[$fieldName];<br> }<br> foreach ($source as $imgUrl) {<br> $item = new Uploader($imgUrl, $config, "remote");<br>    $info = $item->getFileInfo();<br>     array_push($list, array(<br>         "state" => $info["state"],<br>         "url" => $info["url"],<br>         "size" => $info["size"],<br>         "title" => htmlspecialchars($info["title"]),<br>         "original" => htmlspecialchars($info["original"]),<br>         "source" => htmlspecialchars($imgUrl)<br>     ));<br> }<br> <br> /* 返回抓取数据 */<br> return json_encode(array(<br>     'state'=> count($list) ? 'SUCCESS':'ERROR',<br>     'list'=> $list<br> ));
2wm.html<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><br> <html xmlns="http://www.w3.org/1999/xhtml"><br> <head><br>     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><br>     <meta http-equiv="X-UA-Compatible" content="IE=edge" /><br> <TITLE>我们宅二维码在线生成工具—二维码图片生成器—嗨皮网二维码</TITLE><br> <META content="text/html; charset=utf-8" http-equiv=Content-Type><br> <META name=description content=在线二维码生成器提供免费的在线二维码生成服务,可以把电子名片、文本、wifi网络、电子邮件、短信、电话号码、网址等信息生成对应的二维码图片。二维码手机扫描软件下载。><br> <META name=keywords content=二维码,二维码生成器,二维码图片,二维码是什么,手机二维码,二维码生成,二维码扫描软件,二维码识别软件,手机二维码识别软件,二维码解码器,二维码软件,手机二维码软件><br> <LINK rel=stylesheet type=text/css href="images/index.css"><br> <SCRIPT type=text/javascript src="images/jquery-1.8.2.min.js"></SCRIPT><br> <SCRIPT type=text/javascript src="images/iColorPicker.js"></SCRIPT><br> <SCRIPT type=text/javascript src="images/ZeroClipboard.js"></SCRIPT><br> <META name=GENERATOR content="MSHTML 8.00.6001.19393"><br> </head><br> <body style="padding:0;margin:0;background:#ddd;font-size:14px"><br>     <div id="main" style="width:960px;background:#fff; border:1px solid #eee;margin:20px auto;padding:20px 40px;"><br>     <div style="height:18px; line-height:18px; width:888px; margin:10px 30px;"><br> <script><br> var marqueeContent=new Array();   //滚动新闻<br> marqueeContent[0]='<font color="#ff0000">我们宅温馨提示: </font><a href="http://v.unihi.cn" target=_blank>二维码又称二维条码,是在一维条码的基础上扩展出的一种具有可读性的条码。</a><br>';<br> marqueeContent[1]='<font color="#ff0000">我们宅温馨提示: </font><a href="http://v.unihi.cn" target=_blank>设备通过扫描二维码,识别条码的二进制数据并可获取其中所包含的信息。</a><br>';<br> marqueeContent[2]='<font color="#ff0000">我们宅温馨提示: </font><a href="http://v.unihi.cn" target=_blank>手机二维码可以印刷在报纸、杂志、图书及个人名片等多种载体上,用户通过手机摄像头扫描二维码</a><br>';<br> marqueeContent[3]='<font color="#ff0000">我们宅温馨提示: </font><a href="http://v.unihi.cn" target=_blank>手机二维码扫描软件:比较知名的应用有条码扫描器、快拍、酷拍、我查查等。彩色二维码生成器,二维码生成器。</a><br>';<br> var marqueeInterval=new Array();  //定义一些常用而且要经常用到的变量<br> var marqueeId=0;<br> var marqueeDelay=5000;<br> var marqueeHeight=18;<br> //接下来的是定义一些要使用到的函数<br> function initMarquee() {<br>     var str=marqueeContent[0];<br>     document.write('<div id=marqueeBox style="overflow:hidden;height:&#039;+marqueeHeight+&#039;px" onmouseover="clearInterval(marqueeInterval[0])" onmouseout="marqueeInterval[0]=setInterval(\&#039;startMarquee()\&#039;,marqueeDelay)"><div>'+str+'</div></div>');<br>     marqueeId++;<br>     marqueeInterval[0]=setInterval("startMarquee()",marqueeDelay);<br>     }<br> function startMarquee() {<br>     var str=marqueeContent[marqueeId];<br>         marqueeId++;<br>     if(marqueeId>=marqueeContent.length) marqueeId=0;<br>     if(marqueeBox.childNodes.length==1) {<br>         var nextLine=document.createElement('DIV');<br>         nextLine.innerHTML=str;<br>         marqueeBox.appendChild(nextLine);<br>         }<br>     else {<br>         marqueeBox.childNodes[0].innerHTML=str;<br>         marqueeBox.appendChild(marqueeBox.childNodes[0]);<br>         marqueeBox.scrollTop=0;<br>         }<br>     clearInterval(marqueeInterval[1]);<br>     marqueeInterval[1]=setInterval("scrollMarquee()",18);<br>     }<br> function scrollMarquee() {<br>     marqueeBox.scrollTop++;<br>     if(marqueeBox.scrollTop%marqueeHeight==(marqueeHeight-1)){<br>         clearInterval(marqueeInterval[1]);<br>         }<br>     }<br> initMarquee();<br> </script><br> </div><br> <br>         <DIV class=main><br> <DIV class=ibox><br> <DIV class=il><br> <DIV class=inav><br> <UL id=datatype class=class><br>   <LI class=hover><SPAN class=s1><A href="javascript:" name=nav_text>通用文本</A></SPAN> <br>   <LI><SPAN class=s2><A href="javascript:" name=nav_telephone>电话号码</A></SPAN> <br>   <LI><SPAN class=s3><A href="javascript:" name=nav_sms>短信</A></SPAN> <br>   <LI><SPAN class=s4><A href="javascript:" name=nav_card>电子名片</A></SPAN> <br>   <LI><SPAN class=s5><A href="javascript:" name=nav_mail>电子邮件</A></SPAN> <br>   <LI><SPAN class=s6><A href="javascript:" name=nav_url>网址</A></SPAN> <br>   <LI><SPAN class=s7><A href="javascript:" name=nav_wifi>WiFi网络</A></SPAN> <br> </LI></UL><br> </DIV><br> <DIV class=middle><br> <FORM id=qrcodeform action=#><br> <DIV id=text class=imbox><br> <DIV class=imtit>推荐150字以内,支持普通文本/网址/EMAIL地址</DIV><br> <DIV class=imtext><TEXTAREA id=text_text rows=5 cols=30></TEXTAREA> <!-- <div class="size"><span id="text_size">0</span>/150</div>--></DIV></DIV><br> <DIV id=telephone class=imbox><br> <DIV class=imtit>请输入你的电话号码</DIV><br> <DIV class=imtext><br> <DIV class=input><INPUT id=telephone_tel class=sms></DIV></DIV></DIV><br> <DIV id=sms class=imbox><br> <DIV class=imtit>短信生成二维码,短信内容推荐140个字以内</DIV><br> <DIV class=imtext><br> <DIV class=subtit>电话号码</DIV><br> <DIV class=input><INPUT id=sms_tel class=sms></DIV><br> <DIV class=subtit>短信内容</DIV><TEXTAREA id=sms_sms rows=5 cols=30></TEXTAREA> <br> <DIV class=size><SPAN id=sms_size>0</SPAN>/140</DIV></DIV></DIV><br> <DIV id=card class=imbox><br> <DIV class=imtit>电话和姓名为必填项</DIV><br> <DIV class=imtext><br> <DIV class=subtit><SPAN>*</SPAN>姓名</DIV><br> <DIV class=input><INPUT id=card_n class=sms></DIV><br> <DIV class=subtit><SPAN>*</SPAN>电话</DIV><br> <DIV class=input><INPUT id=card_tel class=sms></DIV><br> <DIV class=subtit>公司/单位</DIV><br> <DIV class=input><INPUT id=card_org class=sms></DIV><br> <DIV class=subtit>职位</DIV><br> <DIV class=input><INPUT id=card_til class=sms></DIV><br> <DIV class=subtit>网址</DIV><br> <DIV class=input><INPUT id=card_url class=sms></DIV><br> <DIV class=subtit>电子邮箱</DIV><br> <DIV class=input><INPUT id=card_mail class=sms></DIV><br> <DIV class=subtit>地址</DIV><br> <DIV class=input><INPUT id=card_adr class=sms></DIV><!-- <div class="subtit">备注</div><br> <textarea rows="3" cols="20"></textarea>--></DIV></DIV><br> <DIV id=mail class=imbox><br> <DIV class=imtit>电子邮件生成二维码</DIV><br> <DIV class=imtext><br> <DIV class=input><INPUT id=mail_mail class=sms></DIV></DIV></DIV><br> <DIV id=url class=imbox><br> <DIV class=imtit>网址请以http://或https://开头</DIV><br> <DIV class=imtext><br> <DIV class=input><INPUT id=url_url class=sms></DIV></DIV></DIV><br> <DIV id=wifi class=imbox><br> <DIV class=imtit>适用于安卓系统</DIV><br> <DIV class=imtext><br> <DIV class=subtit>SSID/无线账号</DIV><br> <DIV class=input><INPUT id=wifi_ssid class=sms></DIV><br> <DIV class=subtit>密码</DIV><br> <DIV class=input><INPUT id=wifi_p class=sms></DIV><br> <DIV class=subtit>密码类型</DIV><br> <DIV class=input><SELECT id=wifi_t class=select> <OPTION selected <br /> value=WPA/WPA2>WPA/WPA2</OPTION> <OPTION value=WEP>WEP</OPTION> <br>   <OPTION>无加密</OPTION></SELECT> </DIV></DIV></DIV><br> <DIV class=selectcolor>背景颜色 <INPUT id=bg class=iColorPicker onClick="iColorShow(&#039;bg&#039;,&#039;icp_bg&#039;)" value=#ffffff maxLength=7 name=mycolor> 图片颜色 <br> <INPUT id=fg class=iColorPicker onClick="iColorShow(&#039;fg&#039;,&#039;icp_fg&#039;)" value=#000000 maxLength=7 name=mycolor> </DIV><br> <DIV class=generate><INPUT class=submit type=submit value=""></DIV><br> </FORM><br> <br> <SCRIPT type=text/javascript><br> (function($){<br> $('#telephone,#sms,#card,#mail,#url,#wifi').hide();<br> })(jQuery)<br> </SCRIPT><br> </DIV><br> </DIV><br> <DIV class=ir><br> <DIV class=irtit>您可以用手机扫描这张二维码图片 </DIV><br> <TABLE class=table><br>   <TBODY><br>   <TR><br>     <TD vAlign=center align=middle><br>       <DIV id=bigcode class=bigcode><A href="images/code.png" target=_blank><IMG id=qrcodeimg src="images/code.png"></A> </DIV><br>     </TD><br>   </TR><br> </TBODY><br> </TABLE><br> <br>     <DIV class=save><br> <br>     </DIV><br> </DIV><br> </DIV><br> <div style=" text-align:left; line-height:210%; font-size:14px;"><br>     <strong>二维码</strong>又称二维条码,是在一维条码的基础上扩展出的一种具有可读性的条码。<br><br>     设备通过扫描二维码,识别条码的二进制数据并可获取其中所包含的信息。<br><br>     手机二维码可以印刷在报纸、杂志、图书及个人名片等多种载体上,用户通过手机摄像头扫描二维码,即可实现快速手机上网,下载图文、音乐、视频、参与抽奖、了解企业产品信息等,还可以方便地用手机识别和存储名片、自动输入短信、获取公共服务(如天气预报)、查询电子地图、手机阅读等多种功能。手机二维码是3G时代网络浏览、应用下载、网上购物、网上支付等服务的重要入口。<br><br>     手机二维码扫描软件:比较知名的应用有条码扫描器、快拍、酷拍、我查查等。彩色二维码生成器,二维码生成器。<br><br> <div class="bdsharebuttonbox"><a href="#" class="bds_more" data-cmd="more"></a><a href="#" class="bds_qzone" data-cmd="qzone" title="分享到QQ空间"></a><a href="#" class="bds_tsina" data-cmd="tsina" title="分享到新浪微博"></a><a href="#" class="bds_tqq" data-cmd="tqq" title="分享到腾讯微博"></a><a href="#" class="bds_renren" data-cmd="renren" title="分享到人人网"></a><a href="#" class="bds_weixin" data-cmd="weixin" title="分享到微信"></a><a href="#" class="bds_wealink" data-cmd="wealink" title="分享到若邻网"></a><a href="#" class="bds_sqq" data-cmd="sqq" title="分享到QQ好友"></a><a href="#" class="bds_douban" data-cmd="douban" title="分享到豆瓣网"></a><a href="#" class="bds_tsohu" data-cmd="tsohu" title="分享到搜狐微博"></a><a href="#" class="bds_thx" data-cmd="thx" title="分享到和讯微博"></a><a href="#" class="bds_mogujie" data-cmd="mogujie" title="分享到蘑菇街"></a><a href="#" class="bds_huaban" data-cmd="huaban" title="分享到花瓣"></a><a href="#" class="bds_meilishuo" data-cmd="meilishuo" title="分享到美丽说"></a><a href="#" class="bds_kaixin001" data-cmd="kaixin001" title="分享到开心网"></a><a href="#" class="bds_tqf" data-cmd="tqf" title="分享到腾讯朋友"></a><a href="#" class="bds_duitang" data-cmd="duitang" title="分享到堆糖"></a><a href="#" class="bds_diandian" data-cmd="diandian" title="分享到点点网"></a><a href="#" class="bds_iguba" data-cmd="iguba" title="分享到股吧"></a><a href="#" class="bds_fbook" data-cmd="fbook" title="分享到Facebook"></a><a href="#" class="bds_mshare" data-cmd="mshare" title="分享到一键分享"></a></div><br> <script>window._bd_share_config={"common":{"bdSnsKey":{},"bdText":"","bdMini":"2","bdMiniList":false,"bdPic":""," bdStyle":"1","bdSize":"32"},"share":{},"image":{"viewList":["qzone","tsina","tqq","renren"," weixin","wealink","sqq","douban","tsohu","thx","mogujie","huaban","meilishuo","kaixin001","tqf","duitang","diandian" ,"iguba","fbook","mshare"],"viewText":"Share to:","viewSize":"16"}};with(document)0[(getElementsByTagName('head')[0] ||body).appendChild(createElement('script')).src='http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion='+ ~(-new Date()/36e5)];</script><br> </div><br> </div><br> </DIV><br> <SCRIPT type=text/javascript src="images/index.js"></SCRIPT><br> <SCRIPT type=text/javascript src="images/public.js"></SCRIPT><br>                                                                                     </div><br> <br> </body><br> </html><br> wemall open source micro mall, WeChat mall, mall source code, three-level distribution, micro fresh food, micro fruit, micro takeaway, micro ordering---professional o2o system wemall address: http://www.wemallshop.com
Code download address: http://www.koahub.com/home/product/40

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template