-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathPmxBlogSSI_example.shtml
More file actions
123 lines (117 loc) · 4.27 KB
/
Copy pathPmxBlogSSI_example.shtml
File metadata and controls
123 lines (117 loc) · 4.27 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
<!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" xml:lang="en" lang="en">
<head>
<title> << :: PmxBlogSSI.php 1.1 :: >> </title>
<style type="text/css">
body
{
margin: 1ex;
font-size: 10pt;
font-family: Verdana, Arial, Helvetica, sans-serif;
line-height:115%;
color: #000000;
background-color: #ECEDF3;
}
.tborder
{
padding: 1px;
border: 1px solid #696969;
}
hr
{
height: 1px;
border: 0;
color: #666666;
background-color: #666666;
}
img
{
border: 0;
}
a:link, a:visited
{
color: #0000ff;
}
.smalltext {
font-size: 8pt !important;
font-family: verdana, sans-serif !important;
}
.middletext {
font-size: 9pt !important;
}
.normaltext {
font-size: 10pt !important;
}
.largetext {
font-size: 14pt !important;
}
</style>
</head>
<body>
<div style="font-size:1.5em;padding-top:0.5em;"><a href="PmxBlogSSI_example.shtml" style="text-decoration:none;">PmxBlogSSI.php Functions</a></div><br />
<b>Current Version: 1.0</b><br />
<br />
This file is used to demonstrate the capabilities of PmxBlogSSI.php using SHTML include functions.<br /><br />
<hr />
<b>ShowArticles Function: <!--#include virtual="./PmxBlogSSI.php?PmxBlogSSI=ShowArticles;owner=#|$;mindate=#|$;maxdate=#|$;categorie=#|$;maxlen=#;output=echo|?" --></b><br />
<span style="color:#0000ff;"><i>
<b>owner:</b> int ID | string name<br />
<b>mindate:</b> int unixtime | string mm.dd.yyyy (0)<br />
<b>maxdate:</b> int unixtime | string mm.dd.yyyy (0)<br />
<b>categorie:</b> int ID | string name (0)<br />
<b>maxlen:</b> int max number of results (0)<br />
<b>output:</b> echo|empty (echo)</i></span>
<br /><span style="color:#ff0000;">PmxBlogSSI=ShowArticles;owner=1</span>
<div style="border:solid 1px #ff0000;">
<!--#include virtual="./PmxBlogSSI.php?PmxBlogSSI=ShowArticles;owner=1" -->
</div>
<br />
<hr />
<b>Recent Function: <!--#include virtual="./PmxBlogSSI.php?PmxBlogSSI=Recent;recentlen=#;cmntdate_onnews=0|1;$sort_newsup=0|1;$output=echo|?" --></b><br />
<span style="color:#0000ff;"><i>
<b>recentlen:</b> int len (5)<br />
<b>cmntdate_onnews:</b> 1|0 (1)<br />
<b>sort_newsup:</b> 1|0 (1)<br />
<b>output:</b> echo|empty (echo) </i></span>
<br /><span style="color:#ff0000;">PmxBlogSSI=Recent</span>
<div style="border:solid 1px #ff0000;">
<!--#include virtual="./PmxBlogSSI.php?PmxBlogSSI=Recent" -->
</div>
<br />
<hr />
<b>FindArticles Function: <!--#include virtual="./PmxBlogSSI.php?PmxBlogSSI=FindArticles;owner=#|$;mindate=#|$;maxdate=#|$;categorie=#|$;maxlen=#;output=echo|?" --></b><br />
<span style="color:#0000ff;"><i>
<b>owner:</b> int ID | string name<br />
<b>mindate:</b> int unixtime | string mm.dd.yyyy (0)<br />
<b>maxdate:</b> int unixtime | string mm.dd.yyyy (0)<br />
<b>categorie:</b> int ID | string name (0)<br />
<b>maxlen:</b> int max number of results (0)<br />
<b>output:</b> echo or empty (echo)</i></span>
<br /><span style="color:#ff0000;">PmxBlogSSI=FindArticles;owner=1</span>
<div style="border:solid 1px #ff0000;">
<!--#include virtual="./PmxBlogSSI.php?PmxBlogSSI=FindArticles;owner=1" -->
</div>
<br />
<hr />
<b>GetArticle Function: <!--#include virtual="./PmxBlogSSI.php?PmxBlogSSI=GetArticle;artid=#;output=echo|?" --></b><br />
<span style="color:#0000ff;"><i>
<b>artid:</b> int ID<br />
<b>output:</b> echo or empty (echo)</i></span>
<br /><span style="color:#ff0000;">PmxBlogSSI=GetArticle;artid=3</span>
<div style="border:solid 1px #ff0000;">
<!--#include virtual="./PmxBlogSSI.php?PmxBlogSSI=GetArticle;artid=3" -->
</div>
<br />
<hr />
<b>GetLastArticle Function: <!--#include virtual="./PmxBlogSSI.php?PmxBlogSSI=GetLastArticle;owner=#;output=echo|?" --></b><br />
<span style="color:#0000ff;"><i>
<b>owner:</b> int ID | string name (0)<br />
<b>output:</b> echo or empty (echo)</i></span>
<br /><span style="color:#ff0000;">PmxBlogSSI=GetLastArticle</span>
<div style="border:solid 1px #ff0000;">
<!--#include virtual="./PmxBlogSSI.php?PmxBlogSSI=GetLastArticle" -->
</div>
<br />
<hr />
</body>
</html>