We ll use your suggestion to improve translation quality in future updates to our system. Platform: | Size: 909 | Author: 金立犇 | Hits: [PHP] 商家点评插件有地图版插件for UCHome 1.5Description: 将文件拷贝到UCH安装目录(不会覆盖任何UCH文件). 其中config.shop.inc.php文件需要有写权限(linux). 运行shop_install.php 打开shop.php文件。将 $_SC['GoogleAPI']='ABQIAAAAIl6BzjiDCz90JrLDCFco6xRsRMjB2wv1Y7bZb-CPY4a_zZ8tAhQljtAew1TctFXLCYxRjkaGoD8jzA';替换成您的Google KYE。如您在本地调试,可以直接用以上KEY。如您还没有google KEY 请到 http://code.google.com/intl/zh-CN/apis/maps/signup.html 免费申请! 地图显示您想要的地方的方法: 首先打开Google地图,在上面寻找一个地址,然后上下左右移动地图,让这个地址正好处于地图的正中心位置,当您想寻找坐标位置已经处于地图的中心位置的时候,拷贝并粘贴以下代码到你的浏览器地址栏: javascript:void(prompt('',gApplication.getMap().getCenter())); 然后回车一下。这时,你将得到一个弹出式的坐标,这个坐标就是你需要找的经度和纬度。 1 在admincp.php: 第一处: $acs = array( array('index','config','privacy', 'spam', 'network', 'usergroup', 'credit', 'profilefield', 'profield', 'ad', 'sitefeed', 'userapp', 'app'), array('tag', 'mtag', 'space', 'name', 'report'), array('cache', 'task', 'censor', 'stat', 'block', 'cron'), array('blog','album', 'pic', 'comment', 'thread', 'post', 'doing', 'feed', 'share') ); 修改成(最后一行array('base','pingdao','neirong','shop','reviews','shoptags')为增加的。同时记得在上一行'share')后加个逗号 ) $acs = array( array('index','config', 'privacy', 'spam', 'network', 'usergroup', 'credit', 'profilefield', 'profield', 'ad', 'sitefeed', 'userapp', 'app'), array('tag', 'mtag', 'space', 'name', 'report'), array('cache', 'task', 'censor', 'stat', 'block', 'cron'), array('blog', 'album', 'pic', 'comment', 'thread', 'post', 'doing', 'feed', 'share'), array('base','pingdao','neirong','shop','reviews','shoptags') ); 第二处: for($i=0; $i<5; $i++) {//由原来的3改成现在的5,其他不用修改 foreach ($acs[$i] as $value) { if($isfounder || $megroup['manage'.$value]) { $menus[$i][$value] = 1; $_SGLOBAL['usergroup'][$_SGLOBAL['member']['groupid']]['manage'.$value] = 1; } } } 第三处: if(empty($_GET['ac']) || (!in_array($_GET['ac'], $acs[0]) && !in_array($_GET['ac'], $acs[1]) && !in_array($_GET['ac'], $acs[2]) && !in_array($_GET['ac'], $acs[3]) && !in_array($_GET['ac'], $acs[4]) && !in_array($_GET['ac'], $acs[5]))) { //加上 && !in_array($_GET['ac'], $acs[4] && !in_array($_GET['ac'], $acs[5]),注意修改完后$acs[5]后面应有三个 ) 符号 3 admin/tp/header.htm: <!--{eval $_TPL['menunames'] = array( 'config' => '站点设置', 后加上: 'base' => '积分与审核', 'pingdao' => '频道设置', 'shoptags' => '标签管理', 'shop' => '商铺管理', 'neirong' => '点评内容', 'reviews' => '回应内容', 4 admin/tpl/side.htm开始处加入: <!--{if $menus[3]}--> <div class="block style1"> <h2>点评系统</h2> <ul class="folder"> <!--{loop $acs[4] $value}--> <!--{if $menus[4][$value]}--> <!--{if $ac==$value}--><li class="active"><!--{else}--><li><!--{/if}--><a href="admincp.php?ac=$value">{$_TPL[menunames][$value]}</a></li> <!--{/if}--> <!--{/loop}--> </ul> </div> <!--{/if}--> 5 在侧栏增加链接。 template/default/header.htm中找到 <li><img src="image/app/share.gif"><a href="space.php?do=share">分享</a></li> 加上 <li><img src="image/icon/shop.gif"><a href="shop.php">商家点评</a><em><a href="shop.php?ac=new">发布</a></em></li> 更新缓存。 如果安装后出现白屏现象,请重新检查所安装文件是否有语法错误。然后通过删除UCH安装目录下的data/tpl_cache/目录下的文件,此功能相当于更新缓存。 运行shopinstall.php 在header.htm相应的位置加上<li><img src="image/icon/shop.gif" alt="通讯录" /><a href="shop.php">通讯录</a></li> admin/tpl/config.htm 找到<tr> <th>未认证实名权限</th> <td> <table> <tr> <td width="120">允许加好友</td> <td> <input type="radio" name="config[name_allowfriend]" value="1"<!--{if $configs[name_allowfriend] == 1}--> checked<!--{/if}-->>是 <input type="radio" name="config[name_allowfriend]" value="0"<!--{if $configs[name_allowfriend] != '1'}--> checked<!--{/if}-->>否 </td></tr> 在其下面添加 <tr> <td width="120">允许商铺点评</td> <td> <input type="radio" name="config[name_allowshop]" value="1"<!--{if $configs[name_allowshop] == 1}--> checked<!--{/if}-->>是 <input type="radio" name="config[name_allowshop]" value="0"<!--{if $configs[name_allowshop] != '1'}--> checked<!--{/if}-->>否 </td></tr>Platform: | Size: 111029 | Author: tianfuo@sina.com | Hits: [OA] OA协同Description: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head id="ctl00_Head1"><title> 协同办公系统 </title><link rel="Stylesheet" type="text/css" href="CSS/master.css" /> <link rel="Stylesheet" type="text/css" href="CSS/sitecooperateCss.css" /> <style type="text/css"> .Task_Default_Grid { border:0} .Task_Default_Grid tr td { height:25px; line-height:25px; color:#0173BC; border:0; color:#6E6F71} .Task_Default_Grid tr td a { color:#0073BC} .Task_Default_Title { height:25px; line-height:25px; border-bottom:1px solid #999; color:#333333; font-weight:bold } .Task_Default_Head { height:25px; line-height:25px; text-align:left; font-weight:lighter; } .Task_Default_Head th { text-align:left; border:0;} #Content_right tr td { vertical-align:top} .mobanul { list-style:none; list-style-type:none; margin:0; padding:0} .mobanul li { height:26px; line-height:26px;} .mobanul li a { color:#0073BC} </style> <script type="text/javascript"> var w1 = screen.width; var w2 = w1 - 30; var h1 = screen.height; var h2 = 650; var t1 = (h1 - h2) / 3; //var appearence = 'dependent:yes;menubar:no;resizable:no;status:no;toolbar:no;titlebar:no;left:5;top:50;dialogWidth:'+w2+'px; dialogHeight:602px'; var appearence = 'dependent:yes;menubar:no;resizable:no;status:no;toolbar:no;titlebar:no;dialogWidth:990px; dialogHeight:652px'; function openexamin(id) { var url = 'Task_Examin1.aspx?ID=' + id + '&dt=20111116110724'; window.showModalDialog(url, 'none', appearence); window.location.reload(); } function opengoexamin(id) { var url ='go_examin.aspx?ID=' + id + '&dt=20111116110724'; window.showModalDialog(url, "tasknew", appearence); window.location.reload(); } function openexaminview(id) { var url = 'Go_Examin1.aspx?ID=' + id; window.showModalDialog(url, "goexamin1", appearence); window.location.reload(); } function openexamindaiban(id) { var url = 'Task_Examin1.aspx?daiban=1&ID=' + id + '&dt=20111116110724'; window.showModalDialog(url, 'none', appearence); window.location.reload(); } function openexamindaiban1(id, tasktype,url) { if (tasktype == 'OA') { var url1 = 'Task_Examin1.aspx?daiban=1&ID=' + id + '&dt=20111116110724'; window.showModalDialog(url1, 'none', appearence); window.location.reload(); } else if (tasktype == 'HR') { window.open(url.replace('{', '=').replace('{', '=').replace('{', '=').replace('{', '=').replace('{', '=').replace('{', '=').replace('{', '=')); } else if (tasktype == 'ERP待办') { window.open("http://10.0.3.100:8000/"+url); } else { window.open(url.replace('{', '=').replace('{', '=').replace('{', '=').replace('{', '=').replace('{', '=').replace('{', '=').replace('{', '=').replace('}', '&').replace('}', '&').replace('|', '&').replace('|', '&').replace('|}', '&').replace('|', '&').replace('|', '&').replace('|', '&').replace('*', '/').replace('*', '/').replace('*', '/').replace('*', '/').replace('*', '/')); // window.open(url.replace(new RegExp('|', 'g'), '=')); } } function GetTasksWait() { document.getElementById('ajaxwait').innerHTML = "<img src='/_layouts/images/loading.gif' align=absmiddle style='margin:20px' /><span style='color:#666'>正在加载待办事项,请稍等</span>"; AjaxService.GetWaitTasks("panr", GetGetWaitTasks); } function GetGetWaitTasks(res) { document.getElementById('ajaxwait').innerHTML = res; //window.alert(res); } function TaskNew(templetid) { var url = "task_new1.aspx?templetid="+templetid; var w1 = screen.width; var w2 = w1 - 30; var h1 = screen.height; var h2 = 650; var t1 = (h1 - h2) / 3; var appearence = 'dependent=yes,menubar=no,resizable=no,status=no,toolbar=no,titlebar=no,left=5,top=50,width=965px,height=620px'; var openWindow = window.open(url, "tasknew", appearence); openWindow.focus(); } </script> </head> <body> <form name="aspnetForm" method="post" action="thinkanydefault.aspx" id="aspnetForm"> <div> <input type="hidden" name="__EVENTTARGET" id="__EVENTTARGET" value="" /> <input type="hidden" name="__EVENTARGUMENT" id="__EVENTARGUMENT" value="" /> <input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwUJMTk4NTM3MDU4D2QWAmYPZBYCAgMPZBYCAgEPZBYCAgEPPCsADQEADxYEHgtfIURhdGFCb3VuZGceC18hSXRlbUNvdW50ZmRkGAEFI2N0bDAwJENvbnRlbnRQbGFjZUhvbGRlcjEkZ3JpZFRyYWRlDzwrAAoBCGZkgVPWq+n+ib9NI98bYSPgOP6wYjA=" /> </div> <script type="text/javascript"> //<![CDATA[ var theForm = document.forms['aspnetForm']; if (!theForm) { theForm = document.aspnetForm; } function __doPostBack(eventTarget, eventArgument) { if (!theForm.onsubmit || (theForm.onsubmit() != false)) { theForm.__EVENTTARGET.value = eventTarget; theForm.__EVENTARGUMENT.value = eventArgument; theForm.submit(); } } //]]> </script> <script src="/WebResource.axd?d=YUjlm6ycKfnreIke4GK3XQ2&t=633802920069218315" type="text/javascript"></script> <script src="/ScriptResource.axd?d=z3KJcVLT9ijw1U1WP3pQFkrXumDsg6wUOC-1ek6Qo_XZeAuKvPuCDOgdKKFxxdmnnoXJFiMaKmNKva15-BdwOk_xeIPnLbrAuAMPt7xuJyY1&t=ffffffffec2d9970" type="text/javascript"></script> <script src="/ScriptResource.axd?d=z3KJcVLT9ijw1U1WP3pQFkrXumDsg6wUOC-1ek6Qo_XZeAuKvPuCDOgdKKFxxdmnNTUAczOieuXP3zVeTLUjHd_cyvM_8TdB3KcMk-B-U6vUhv5N_CQBxFd9ZErk2oN20&t=ffffffffec2d9970" type="text/javascript"></script> <script src="AjaxService.asmx/js" type="text/javascript"></script> <div id="Content_right" style="background-image:none; padding:5px; padding-left:0px; padding-right:0px"> <script type="text/javascript"> //<![CDATA[ Sys.WebForms.PageRequestManager._initialize('ctl00$ContentPlaceHolder1$ScriptManagerAjax', document.getElementById('aspnetForm')); Sys.WebForms.PageRequestManager.getInstance()._updateControls([], [], [], 90); //]]> </script> <table style="width:100%"> <tr> <td style="padding-left:10px;"> <span style="float:left"> 待办事项</span><br /><hr style="height:0px; color:#fff; border-top:1px solid #EBEBEB;" /></td> <td style="padding-left:10px;"> <span style="float:left"> 跟踪事项</span><br /><hr style="height:0px; color:#fff; border-top:1px solid #EBEBEB;" /></td> </tr> <tr> <td style=" padding-top:0; width:49%; padding-left: 10px; padding-right: 10px; padding-bottom: 10px;" rowspan="4" id="ajaxwait"> </td> <td style=" padding:10px; padding-top:0;height:145px;"> <div> </div> </td> </tr> <tr> <td style=" padding:10px; padding-top:0; text-align:right"> <a href="OATaskTrades.aspx" style='color:#0171BD'>[更多...]</a></td> </tr> <tr> <td style="padding-left:10px;"> 我的模板<br /><hr style="height:0px; color:#fff; border-top:1px solid #EBEBEB;" /></td> </tr> <tr> <td style=" padding:10px; padding-top:0;"> <table cellpadding=0 cellspacing=0 style="width:100%;height:145px;"><tr><td style="width:50%"> <ul class="mobanul"></ul> </td><td> <ul class="mobanul"></ul> </td></tr></table> </td> </tr> <tr> <td style=" padding:10px; padding-top:0; width:49%; text-align:right"> <a href="Task_Wait.aspx" style='color:#0171BD'>[更多OA待办...]</a></td> <td style=" padding:10px; padding-top:0; text-align:right"> <a href='PersonalTempletsSetup.aspx' style='color:#0171BD'>[更多...]</a><a href='PersonalTempletsSetup.aspx' style='color:#0171BD'>[模板配置]</a></td> </tr> </table> <script type="text/javascript"> GetTasksWait(); </script> </div> <script type="text/javascript"> //<![CDATA[ Sys.Application.initialize(); //]]> </script> </form> </body> </html>Platform: | Size: 8895 | Author: niyang2005@126.comni | Hits: [ARM-PowerPC-ColdFire-MIPS] AT91RM9200-BasicUSARTPDC-GHS3_6-2_0Description: This zip describes an AT91 USART with PDC Transmission and Reception chain.Includes main.html file for help. For use under Green Hills 3.6.1 Multi?2000 Software Tool. -This describes an porting USARTs with PDC Tr ansmission and main Reception chain.Includes . html file for help. For use under Green Hills 3. 6.1 Multi 2000 Software Tool.Platform: | Size: 363520 | Author: 张爽 | Hits: [WEB Code] simple_treeDescription: 这是用html编写的简单树,若你需要可供参考使用。-This is used to prepare a simple html tree, and if you need to use for reference.Platform: | Size: 2048 | Author: 王红梅 | Hits: [SCSI-ASPI] ClearaDescription: <%@ LANGUAGE="VBSCRIPT" %> <!--#include file="util.asp" --> <% Head="您放入购物车的物品已经全数退回!" Session("ProductList") = "" %> <html> <head> <meta http-equiv="Content-Type" content="text/html charset=gb2312"> <STYLE type=text/css>.main { FONT-SIZE: 9pt } .main1 { FONT-SIZE: 14px } </STYLE> <title>清空购物车</title> </head> <body topmargin="5" bgcolor="#E6E4C4"> <diiv align="center"><center> <table width="100%" border="0" class="table1" bordercolor="#62ACFF" cellspacing="0" class=main1> <tr> <td width="80%" valign="top"> <p align="center" class=main1><%=Head%></p> <p align="center"> <br><input type="button" value="关闭" name="B2" onclick="window.close() " style="font-size: 9pt"></td> </tr> </table> </center></div> </body> </html> -">
|