Modules Developer Note ( Xoops ) by Emerald

原创 2005年03月01日 23:22:00
绿色学院 - green institute - 不听人间乐 - 想得到 - 做得到 - xoops

10.
<{if $xoops_isuser}> 嗨! &nbsp;
<a href="<{$xoops_url}>/user.php">
<{$xoops_uname}>
</a>&nbsp;&nbsp;
<a href="<{$xoops_url}>/user.php">你的帐户信息. </a>&nbsp;
<{else}>
<a href="<{$xoops_url}>/register.php">用户注册!</a>
&nbsp;&nbsp;&nbsp;绿色学院 - Green Institute!
<{/if}>
<{if $xoops_isuser}>
<a href="<{$xoops_url}>/user.php?op=logout"></a>
<{else}> &nbsp;&nbsp;<a href="<{$xoops_url}>/user.php">会员登陆!</a>
<{/if}>

-*-------------------------------------------------

9. function

// blocks show

$block['lang_read_more']=_MB_READMORE; // Read More...
$block['lang_orderby']=_MB_NEWS_ORDER; // "Order By"
$block['lang_orderby_date']=_MB_NEWS_DATE; // Published date
$block['lang_orderby_hits']=_MB_NEWS_HITS; // Number of Hits
$block['lang_orderby_rating']=_MB_NEWS_RATE; // Rating
$block['lang_on']=_ON; // on
$block['lang_reads']=_READS; // reads
$block['sort']=$options[0]; // "published" or "counter" or "rating"

<{$block.lang_more}>

-*-------------------------------------------------

8.

define("_AM_VIEWLOG","View log");
define("_MD_NO","No");
define("_MB_MYBOOKS_DISP","Display");
define("_MI_MYBOOKS_SMNAME1","Submit");

-*-------------------------------------------------

7.

$xoopsTpl->assign('lang_hits', _MD_HITSC);

-*-------------------------------------------------

6.

<br/><A HREF="<{$xoops_url}>">绿色学院 - Green Institute</A><br/> - <{$xoops_pagetitle}>

<{xoops_url}> <{$xoops_url}>

-*-------------------------------------------------

5.

// Templates
$modversion['templates'][1]['file'] = 'contact_contactusform.html';
$modversion['templates'][1]['description'] = 'Contact Us Form';

// Menu
$modversion['hasMain'] = 1;
$modversion['sub'][1]['name'] = _MI_GI_TOOLS_PAGERANK;
$modversion['sub'][1]['url'] = "GI-Tools_pagerank.php";

// Blocks
$modversion['blocks'][1]['file'] = "GI_Tools_calendar_blocks.php";
$modversion['blocks'][1]['name'] = _MI_GI_TOOLS_CALENDAR_BLOCK;
$modversion['blocks'][1]['description'] = _MI_GI_TOOLS_CALENDAR_BLOCK;
$modversion['blocks'][1]['show_func'] = "b_GI_Tools_calendar_show";
$modversion['blocks'][1]['template'] = 'GI_Tools_calendar_blocks.html';

 

 

-*-------------------------------------------------

4.

<p/>
<div class="tw" >

<img src="images/pos.gif" class="w", height=4 border=0 title=''>
</div>
<p/>
PageRank = <{$pagerank}>
<br/>
<{$url}>
<form method=get>

<input name="url" value="请在这里输入域名">

<input type="submit" value="提交">

</form>
<style type="text/css">
<!--

.w {
width:<{$pagerank}> ex;
}
.tw {
background-color: #CCCCCC;
width:10 ex;
}

-->
</style> </div>

<{include file="db:GI-Tools_footer.html" }>

-*-------------------------------------------------

3.
$xoopsOption['template_main'] = 'GI-Tools_PageRank.html';
$msgs = $xoopsModuleConfig['msgs'];
$xoopsTpl->assign('usermenu', $usermenu);
$xoopsTpl->assign('GI-Tools', $GI-Tools);
$xoopsTpl->assign('prt', $prt);
$xoopsTpl->assign('pagerank', $pagerank);
$xoopsTpl->assign('url', $url);
include('./footer.php');

-*-------------------------------------------------

2.
include(XOOPS_ROOT_PATH."/footer.php");

-*-------------------------------------------------

1.
include "header.php";

$xoopsOption['template_main'] = 'mybooks_topten.html';

include(XOOPS_ROOT_PATH."/header.php");

 

 


/****************************************************************/
*
* author : Emerald<btbtd@yahoo.com.cn>
*
* homepage : http://gi.2288.org:88/
*
* Seo-Gi : http://seo.2288.org:99
*
* sitename : 绿色学院 - Green Institute
*
* date : 2005-3-1 23:19:50
*
/****************************************************************/

相关文章推荐

三星note3 n9009刷机教程-救砖教程(by 星空武哥)

今天在公司使用三星的note3手机进行测试,由于需要root,于是使用360root--没成功,然后换成root大师,MD手机就变成板砖了。哎,郁闷死了还没有使用手机就坏了,于是就开始研究三星手机的线...

Watching Note for CBIR report vedio by Mingjing LI

Watching Note for CBIR report vedio by Mingjing LI    The following link is the video of  "Web Image...
  • Hou_Rj
  • Hou_Rj
  • 2011年04月14日 15:35
  • 833

Microsoft Press Windows Azure Step by Step Note

WCF Data Services and OData Open DataProtocol (OData) is an emerging protocol for querying and up...

WAITEVENT: "read by other session" Reference Note (Doc ID 732891.1)

WAITEVENT: "read by other session" Reference Note (Doc ID 732891.1) To Bottom ...
  • loryliu
  • loryliu
  • 2015年10月17日 11:04
  • 590

WCF 4 Step By Step Chapter 10-12 Note (Reliable Sessions,ProgrammaticallyControlling, One-Way ...)

Chapter 10 Implementing Reliable Sessions Strictly speaking, reliable messaging and reliable sessio...

STS: Port 8080 required by Pivotal tc Server Developer is already in use

STS: Port 8080 required by Pivotal tc Server Developer is already in use 问题描述:使用 STS 开发 Spring MVC 程...

WCF 4 Step By Step Chapter13 Note (Implementing a WCF Service for Good Performance)

Implementing a WCF Service for Good Performance In this chapter, you will examine how to use servic...

WCF 4 Step By Step Chapter 3 Note (Fault Handling)

Interoperable services built using the WCF should convert .NET Framework exceptions intoSOAP faults ...

WCF 4 Step By Step Chapter14 Note 2 (Routing Messages)

Implementing Routing Sometimes it is useful to be able to forward messages sent to a service to an ...

WCF 4 Step By Step Chapter 4 Note (Transport and Message Security + Authentication in Organization)

When building Web services, you can perform authenticationand encryption at two points when sending ...
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:Modules Developer Note ( Xoops ) by Emerald
举报原因:
原因补充:

(最多只允许输入30个字)