> php教程 > php手册 > Wemall 소프트웨어 거래 플랫폼 WeChat 그래픽 편집기 부품 코드 공유

Wemall 소프트웨어 거래 플랫폼 WeChat 그래픽 편집기 부품 코드 공유

WBOY
풀어 주다: 2016-10-22 00:00:29
원래의
1623명이 탐색했습니다.

wemall 소프트웨어 거래 플랫폼의 WeChat 그래픽 편집기용 코드 일부를 다운로드할 수 있습니다.
wemall 소프트웨어 거래 플랫폼 WeChat 그래픽 편집기의 코드 일부를 다운로드할 수 있습니다.
Wemall 소프트웨어 거래 플랫폼 WeChat 그래픽 편집기 부품 코드 공유
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[&#039;action&#039;];<br /> <br /> switch ($action) {<br /> case &#039;config&#039;:<br /> $result = json_encode($CONFIG);<br /> break;<br /> <br /> /* 上传图片 */<br /> case &#039;uploadimage&#039;:<br /> /* 上传涂鸦 */<br /> case &#039;uploadscrawl&#039;:<br /> /* 上传视频 */<br /> case &#039;uploadvideo&#039;:<br /> /* 上传文件 */<br /> case &#039;uploadfile&#039;:<br /> $result = include("action_upload.php");<br /> break;<br /> <br /> /* 列出图片 */<br /> case &#039;listimage&#039;:<br /> $result = include("action_list.php");<br /> break;<br /> /* 列出文件 */<br /> case &#039;listfile&#039;:<br /> $result = include("action_list.php");<br /> break;<br /> <br /> /* 抓取远程文件 */<br /> case &#039;catchimage&#039;:<br /> $result = include("action_crawler.php");<br /> break;<br /> <br /> default:<br /> $result = json_encode(array(<br /> &#039;state&#039;=> '请求地址出错'<br>         ));<br>         break;<br> }<br> <br> /* 输出结果 */<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'=> 'callback参数不合法'<br>         ));<br>     }<br> } else {<br>     echo $result;<br> } date_default_timezone_set("아시아/충칭"); error_reporting(E_ERROR); header("콘텐츠 유형: text/html; charset=gbk"); <br /> $CONFIG = json_decode(preg_replace("//*[sS]+?*//", "", file_get_contents("config.json")), true);<br /> $action = $_GET['action'];<br /> <br /> 스위치($action) {<br /> 사례 '구성':<br />         $result = json_encode($CONFIG);<br />          휴식;<br /> <br /> /* 사진 업로드 */<br /> 사례 'uploadimage':<br /> /* 낙서 업로드 */<br /> 사례 'uploadscrawl':<br /> /* 영상 업로드 */<br /> 사례 'uploadvideo':<br /> /* 파일 업로드 */<br /> 사례 '업로드파일':<br />         $result = include("action_upload.php");<br />          휴식;<br /> <br /> /* 사진 나열 */<br /> 사례 'listimage':<br />         $result = include("action_list.php");<br />          휴식;<🎜> /* 파일 목록 */<🎜> 사례 '목록 파일':<🎜>         $result = include("action_list.php");<🎜>          휴식;<🎜> <🎜> /* 원격 파일 가져오기 */<🎜> 케이스 'catchimage':<🎜>         $result = include("action_crawler.php");<🎜>          휴식;<🎜> <🎜> 기본값:<🎜>          $result = json_encode(배열(<🎜>             '상태'=> '주소 요청 중 오류' ));          휴식; } /* 결과 출력 */ if (isset($_GET["콜백"])) { If (preg_match("/^[w_]+$/", $_GET["callback"])) { echo htmlspecialchars($_GET["callback"]) . '(' . $result . ')'; } 그 밖의 { echo json_encode(배열(              'state'=> '콜백 매개변수가 불법입니다' )); } } 그 밖의 { 에코 $결과; } action_crawler.php<?php<🎜> <🎜> set_time_limit(0);<🎜> include("Uploader.class.php");<🎜> <🎜> /* 구성 업로드 */<🎜> $config = 배열(<🎜> "pathFormat" => $CONFIG['catcherPathFormat'], "maxSize" => $CONFIG['catcherMaxSize'], "allowFiles" => $CONFIG['catcherAllowFiles'], "oriName" => "remote.png" ); $fieldName = $CONFIG['catcherFieldName']; /* 원격 이미지 가져오기 */ $list = 배열(); if (isset($_POST[$fieldName])) { $source = $_POST[$fieldName]; } 그 밖의 { $source = $_GET[$fieldName]; } foreach($source를 $imgUrl로) { $item = 새 업로더($imgUrl, $config, "remote");    $info = $item->getFileInfo();<br>     array_push($list, 배열(<br>         "상태" => $info["상태"],<br>         "URL" => $info["url"],<br>         "크기" => $info["크기"],<br>         "제목" => htmlspecialchars($info["title"]),<br>         "원본" => htmlspecialchars($info["original"]),<br>         '출처' => htmlspecialchars($imgUrl)<br>     ));<br> }<br> <br> /* 返回抓取数据 */<br> return json_encode(배열(<br>     '상태'=> 개수($list) ? '성공':'오류',<br>     '목록'=> $목록<br> )); <br> <b>2wm.html</b><code class="prettyprint linenums lang-php"><!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> <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网络、电子邮件、短信、电话号码、网址等信息生成对应的two维사진입니다. <META name=키워드 content= 2维码, 2维码生成器, 2维码图picture, 2维码是什么, 手机2码, 2维码生成, 2维码扫描软件, 2维码识别软件> <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 이름=GENERATOR content="MSHTML 8.00.6001.19393"><br> </머리><br> <body style="padding:0;margin:0;배경:#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> <br> var marqueeContent=new Array();   //滚动新闻<br> marqueeContent[0]='<font color="#ff0000">我们宅温馨提示: </font><a href="http://v.unihi.cn" target=_blank> 2维码又称 2 维条码,是在一维条码的基础上扩記記가 又种具有可读性性条码。</a><br>';<br> marqueeContent[1]='<font color="#ff0000">我们宅温馨提示: </font><a href="http://v.unihi.cn" target=_blank>设备通过扫描two维码,识别条码的two进数据并可获取其中所包含的信息。</a><br>';<br> marqueeContent[2]='<font color="#ff0000">我们宅温馨提示: </font><a href="http://v.unihi.cn" target=_blank>핸드机二维码可以印刷는 报纸, 杂志, 图书及个人名文等多种载体上,用户通过Hand机摄头扫描二维码</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":"分享到:","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>     </div><br> <br> </본문><br>

원천:php.cn
본 웹사이트의 성명
본 글의 내용은 네티즌들의 자발적인 기여로 작성되었으며, 저작권은 원저작자에게 있습니다. 본 사이트는 이에 상응하는 법적 책임을 지지 않습니다. 표절이나 침해가 의심되는 콘텐츠를 발견한 경우 admin@php.cn으로 문의하세요.
인기 추천
인기 튜토리얼
더>
최신 다운로드
더>
웹 효과
웹사이트 소스 코드
웹사이트 자료
프론트엔드 템플릿