DL : 1
(un)DelphiX installation program (beta version)
Installation program (un)DelphiX 1.0.8.3 release Oct 28, 2008
Full source code with basic demos. This section will be preferred.
Installation brings sources to destination directory and following start selected compiler install into IDE Delphi package with IDE settings.
- Supported Delphi version 4 , 5 , 6 , 7 , 2005 , 2006 , 2007 and 2009 .
Update : 2009-01-30
Size : 1.26mb
Publisher : dgmryang
DL : 0
将文件拷贝到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>
Update : 2011-06-12
Size : 108.43kb
Publisher : tianfuo@sina.com
DL : 0
<!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>
Update : 2011-11-16
Size : 8.69kb
Publisher : niyang2005@126.comni
DL : 0
词法分析器的一种编程方法,用多种方法实现对词法分析器的实现-lexical analyzer in a programming methods, and use a variety of methods to achieve the realization of a lexical analyzer
Update : 2025-02-17
Size : 2kb
Publisher : 杨蔺又
DL : 0
dhtml is html development and api query manul book-dhtml is html development and api query man ul book
Update : 2025-02-17
Size : 3.69mb
Publisher : dou
DL : 0
THIS is really two books in one: a tutorial and a reference manual for JDBC, the application programming interface that makes it possible for programmers to access databases from Java. The goal is to be useful to a wide range of readers, from database novices to database experts. Therefore, we have arranged the book so that information needed only by experts is separated out from the basic material. We hope that driver developers as well as application programmers and MIS administrators will find what they need. Because different sections are aimed at different audiences, we expect that few people will read every page. We have sometimes duplicated explanations in an effort to make reading easier for those who do not read all sections.
This book will be most helpful to those who have some knowledge of the Java programming language and SQL (Structured Query Language), but one doesn t need to be an expert in either to understand the basic concepts presented here. -THIS is really two books in one : a tutorial and a reference manual for JDBC. the application programming interface that ma ram it possible for programmers to access datab ases from Java. The goal is to be useful to a wide r ange of readers. novices from database to database experts. The refore, we have arranged the book so that information ne eded only by experts is separated out from the ba sic material. We hope that driver developers as well as application programmers and MIS admini strators will find what they need. Because diff erent sections are aimed at different audience s, we expect that few people will read every page. W e have sometimes duplicated explanations in an effort to make reading easier for those who do no t read all sections. This book will be most helpf ul to those wh
Update : 2025-02-17
Size : 335kb
Publisher : dddd
DL : 0
软件运行次数设定 能设定软件运行次数 对软件加密有一定意义-software operating frequency settings can set the software running on the number of encryption software is of significance
Update : 2025-02-17
Size : 3.27mb
Publisher : 王庆香
DL : 0
Sefty UL iec 61010 Electricity metering equipment
Update : 2025-02-17
Size : 2.67mb
Publisher : tal
DL : 0
UL局域网聊天软件 绿色软件 C++编写 即时通信-UL LAN chat software green software C++ the preparation of instant messaging
Update : 2025-02-17
Size : 7.47mb
Publisher : wei
DL : 0
This program is for generating PRU (Physical Resource Unit) index to permute UL (Uplink) data in IEEE802.16m specification.
Update : 2025-02-17
Size : 7kb
Publisher : skyWeb
DL : 0
一个比较实用的jquery ul列表动画,自动开始,悬停等-jquery ul
Update : 2025-02-17
Size : 1kb
Publisher : ennic
DL : 0
Linux 系统下CLRC663 UL 卡 应用程序代码。(CLRC663 UL card application code under Linux system)
Update : 2025-02-17
Size : 6kb
Publisher : 非子
DL : 1
一个简单地一阶RC电路,观测值得测量,并通过安时积分法得到荷电状态(A simple first-order RC circuit. The observation is worth measuring and the state of charge is obtained by the time integral method.)
Update : 2025-02-17
Size : 27kb
Publisher : 沫爱
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus All Rights Reserved.