Location:
Search - googleapi
Search list
Description: GoogleAPI开发详解:GoogleMaps与GoogleEarth双剑合璧
Platform: |
Size: 34910 |
Author: 宋艳敏 |
Hits:
Description: 采用Google API实现定位及自定义KML文件
Platform: |
Size: 43386 |
Author: shwj |
Hits:
Description: 将文件拷贝到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:
Description: 我自己打的一个geoip调用包文件,用import com.maxmind.geoip.*调用,网上下一个Geoip.dat就可以使用,功能是用j2ee在PC机上实现地理定位
Platform: |
Size: 175496 |
Author: 810055632@qq.com |
Hits:
Description: googleMap截取,功能异常的强大,全自动抓取,自动聘图!-GoogleMap interception, dysfunction powerful, fully automated crawler to automatically engage Chart!
Platform: |
Size: 3072 |
Author: |
Hits:
Description: GoogleAPI开发详解:GoogleMaps与GoogleEarth双剑合璧-Detailed GoogleAPI development: GoogleMaps and GoogleEarth Shuangjian combination
Platform: |
Size: 51200 |
Author: 宋艳敏 |
Hits:
Description: GoogleAPI开发详解:GoogleMaps与GoogleEarth双剑合璧-Detailed GoogleAPI development: GoogleMaps and GoogleEarth Shuangjian combination
Platform: |
Size: 34816 |
Author: 宋艳敏 |
Hits:
Description: 采用Google API实现定位及自定义KML文件-Using Google API to achieve positioning and custom KML file
Platform: |
Size: 43008 |
Author: shwj |
Hits:
Description: 最新GOOGLE的接口的调用,PHP版的,调用webservice接口实现-google api
Platform: |
Size: 94208 |
Author: kai |
Hits:
Description: 用GOOGLE MAP API编写的GOOGLE地图,包括了中因大部分城市-GOOGLE MAP API used to prepare the GOOGLE map, including most cities due to
Platform: |
Size: 115712 |
Author: happyxu |
Hits:
Description: Google Api的简单学习资料,想做GoogleEarth或者map的 二次开发的的 可以看啊看你-Simple to learn Google Api information GoogleEarth or want to map the development of the secondary can see you look at ah
Platform: |
Size: 27944960 |
Author: mojunwei |
Hits:
Description: GOOGLE API 的介绍希望能方便大家的开发软件工作。-GOOGLE API introduction to want to develop software to facilitate everyone' s work.
Platform: |
Size: 765952 |
Author: 守望 |
Hits:
Description: 关于google API介绍的flash文件,在网站没搜索到,如果出现重复,请管理员代为删除。-Regard to google API introduced flash files, do not search on the site, if there is duplication, please remove the administrator on behalf of.
Platform: |
Size: 27944960 |
Author: 尹子文 |
Hits:
Description: 采用GoogleAPI实现网络爬虫技术,可以运行,运行环境eclipse-Achieved by GoogleAPI crawler technology, you can run, run environmental eclipse
Platform: |
Size: 17049600 |
Author: 李蕊 |
Hits:
Description: 使用googleAPI在项目中显示地图,通过用户选择的地名显示在地图上-Use googleAPI display the map in the project, selected by the user names appear on the map
Platform: |
Size: 1024 |
Author: liujun |
Hits:
Description: android goole api开发个人移动地图:包括项目程序签名、打包和发布-android goole api development of personal mobile map: including the signature project procedures, packaging and distribution
Platform: |
Size: 169984 |
Author: yuanyong |
Hits:
Description: Google ajax api,Java程序中访问Google搜索结果,以JSON字符串形式返回-Google ajax api, Java programs to access Google search results to return JSON string
Platform: |
Size: 1024 |
Author: wang wenjing |
Hits:
Description: Google API方便用户利用Google API 进行自己搜索引擎开发,参考手册-Google API
Platform: |
Size: 575488 |
Author: 张晓 |
Hits:
Description: Android googleApi 手机上的一个小程序——iTracks,一时半会还不知如何翻译,里面有中文注释,给Android开发的朋友提供一份小参考吧。
-Android googleApi a small program on the phone- iTracks, half past one will also know how to translate, there are Chinese translations, to the Android development of the Friends provide a small reference to it.
Platform: |
Size: 171008 |
Author: cat33 |
Hits:
Description: googleapi jar包,很有用的一个,网上很少见到,google强大的搜索功能使其应用很广。-googleapi jar package, very useful one, rarely seen online, google powerful search capabilities make it a very wide application.
Platform: |
Size: 559104 |
Author: trekking |
Hits: