Location:
Search - template tr
Search list
Description: C++ 模板方法实现树结构成员添加和去除
关键字 template tr-C template method tree structure to add and remove members of the keyword template tr
Platform: |
Size: 2779 |
Author: ming |
Hits:
Description: C++ Template class to walk through a tr
Platform: |
Size: 4049 |
Author: feng |
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: C++ 模板方法实现树结构成员添加和去除
关键字 template tr-C template method tree structure to add and remove members of the keyword template tr
Platform: |
Size: 2048 |
Author: ming |
Hits:
Description: C++ Template class to walk through a tr
Platform: |
Size: 4096 |
Author: feng |
Hits:
Description: Two algorithm template(Kruskal Algorithm and Prim Algorithm) to help you get a Minimum Spanning Tr-Two algorithm template(Kruskal Algorithm and Prim Algorithm) to help you get a Minimum Spanning Tree
Platform: |
Size: 3072 |
Author: lkq |
Hits:
Description: 简单说明一下AIML的常用标签:
1:pattern tag:支持模式匹配(正则表达式,模糊匹配),及基于template的返回
2:random tag:支持随机回答(一对多)
4:think,system tag: 支持简单逻辑记忆及自定义函数(本来打算扩展一下AIML, 搞一个支持Groovy语言的标签, 结果看到了它的<system>标签, 遂作罢)
5:javascript tag: 支持嵌入js脚本(适用于web chat开发,比如根据情绪改变表情等)。
6:srai tag: 支持多对一回答.
详细内容请参加AIML的官方文档:
http://alicebot.org/TR/2005/WD-aiml/WD-aiml-1.0.1-008.html-Briefly explain AIML common label: 1: pattern tag: support for pattern matching (regular expressions, fuzzy matching), and based on the template returns 2: random tag: support random answer (many) 4: think, system tag: supports simple logical memory and self-defined functions (originally intended to expand what AIML, engage a support Groovy language labels, and seeing its <system> Labels, then give up) 5: javascript tag: support embedded js script (for web chat and development, such as facial expressions, etc. according to mood changes). 6: srai tag: support many-to answer more information, please attend AIML official documentation: http://alicebot.org/TR/2005/WD-aiml/WD-aiml-1.0.1-008.html
Platform: |
Size: 545792 |
Author: blue |
Hits:
Description: 简单说明一下AIML的常用标签:
1:pattern tag:支持模式匹配(正则表达式,模糊匹配),及基于template的返回
2:random tag:支持随机回答(一对多)
4:think,system tag: 支持简单逻辑记忆及自定义函数(本来打算扩展一下AIML, 搞一个支持Groovy语言的标签, 结果看到了它的<system>标签, 遂作罢)
5:javascript tag: 支持嵌入js脚本(适用于web chat开发,比如根据情绪改变表情等)。
6:srai tag: 支持多对一回答.
详细内容请参加AIML的官方文档:
http://alicebot.org/TR/2005/WD-aiml/WD-aiml-1.0.1-008.html-Briefly explain AIML common label: 1: pattern tag: support for pattern matching (regular expressions, fuzzy matching), and based on the template returns 2: random tag: support random answer (many) 4: think, system tag: supports simple logical memory and self-defined functions (originally intended to expand what AIML, engage a support Groovy language labels, and seeing its <system> Labels, then give up) 5: javascript tag: support embedded js script (for web chat and development, such as facial expressions, etc. according to mood changes). 6: srai tag: support many-to answer more information, please attend AIML official documentation: http://alicebot.org/TR/2005/WD-aiml/WD-aiml-1.0.1-008.html
Platform: |
Size: 545792 |
Author: blue |
Hits:
Description: 简单说明一下AIML的常用标签:
1:pattern tag:支持模式匹配(正则表达式,模糊匹配),及基于template的返回
2:random tag:支持随机回答(一对多)
4:think,system tag: 支持简单逻辑记忆及自定义函数(本来打算扩展一下AIML, 搞一个支持Groovy语言的标签, 结果看到了它的<system>标签, 遂作罢)
5:javascript tag: 支持嵌入js脚本(适用于web chat开发,比如根据情绪改变表情等)。
6:srai tag: 支持多对一回答.
详细内容请参加AIML的官方文档:
http://alicebot.org/TR/2005/WD-aiml/WD-aiml-1.0.1-008.html-Briefly explain AIML common label: 1: pattern tag: support for pattern matching (regular expressions, fuzzy matching), and based on the template returns 2: random tag: support random answer (many) 4: think, system tag: supports simple logical memory and self-defined functions (originally intended to expand what AIML, engage a support Groovy language labels, and seeing its <system> Labels, then give up) 5: javascript tag: support embedded js script (for web chat and development, such as facial expressions, etc. according to mood changes). 6: srai tag: support many-to answer more information, please attend AIML official documentation: http://alicebot.org/TR/2005/WD-aiml/WD-aiml-1.0.1-008.html
Platform: |
Size: 543744 |
Author: blue |
Hits:
Description: Butterfly flying simulation
opengl achieve texture mapping te
Point cloud data were displayed,
OpenGL implementation model based
opengl an image production, dynam
The template code, can realize th
Opengl achieve the collision with
Use opengl draw cubes, and add ph
This is my car fire procedures, i
caculated passive Q-switch
Set up two sources, one is blue d
Use opengl draw cubes, cones, sph
A Computer Graphics Program on Tr
Devoted to OpenGL programming tec
A graphical clock, hour and minut
Unity3D terrain conversion code f
use OpenGL 3D painting of a ball
use OpenGL, prepared by the VC C,
OpenGL Super Bible eBook fourth.
Opengl realize the use of a simpl
VC++ Opengl realize the building
The sourcecode for OpenGL library
NeHe OpenGL tutorial, source code
Based on VC 6.0 and OpenGL achiev
An system which is based on OpenG
contains magic and inflating ball
Platform: |
Size: 5120 |
Author: giang tuấ n |
Hits: