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
|
<?xml version="1.0"?>
<!--
-
- $Id: get_blogs.vspx,v 1.2 2006/08/16 00:04:14 source Exp $
-
- This file is part of the OpenLink Software Virtuoso Open-Source (VOS)
- project.
-
- Copyright (C) 1998-2006 OpenLink Software
-
- This project is free software; you can redistribute it and/or modify it
- under the terms of the GNU General Public License as published by the
- Free Software Foundation; only version 2 of the License, dated June 1991.
-
- This program is distributed in the hope that it will be useful, but
- WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- General Public License for more details.
-
- You should have received a copy of the GNU General Public License along
- with this program; if not, write to the Free Software Foundation, Inc.,
- 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-
-
-->
<html>
<head>
<title>Welcome to Adobe GoLive 6</title>
</head>
<body bgcolor="#ffffff">
<v:page name="select_cat" xmlns:v="http://www.openlinksw.com/vspx/" xmlns:xhtml="http://www.w3.org/1999/xhtml">
<v:variable name="ur" type="varchar" default="null"/>
<v:variable name="nam" type="varchar" default="null"/>
<v:variable name="pwd" type="varchar" default="null"/>
<font color="red">
<b>
<v:error-summary/>
</b>
</font>
<v:data-set name="ds" sql="select blogid, blogname, url from blog_user_blogs where uri = :ur and name = :nam and passwd = :pwd" nrows="20" scrollable="1" cursor-type="static" edit="0" width="80">
<v:param name="ur" value="--self.ur"/>
<v:param name="nam" value="--self.nam"/>
<v:param name="pwd" value="--self.pwd"/>
<v:before-data-bind>
if (self.ur is null and {?'b_endpoint'} is not null)
{
self.ur := {?'b_endpoint'};
self.nam := {?'b_user'};
self.pwd := {?'b_pwd'};
}
</v:before-data-bind>
<v:template name="template1" type="simple" name-to-remove="table" set-to-remove="bottom">
<h4>
</h4>
<table width="400" border="2" cellspacing="0" cellpadding="0">
<tr>
<td align="center">
<b>Action</b>
</td>
<td align="center">
<b>
<v:label name="label1" value="'Blod ID'" format="%s" width="80"/>
</b>
</td>
<td align="center">
<b>
<v:label name="label2" value="'Blog Name'" format="%s" width="80"/>
</b>
</td>
<td align="center">
<b>
<v:label name="label21" value="'Url'" format="%s" width="80"/>
</b>
</td>
</tr>
</table>
</v:template>
<v:template name="template2" type="repeat" name-to-remove="" set-to-remove="">
<v:template name="template7" type="if-not-exists" name-to-remove="table" set-to-remove="both">
<table width="400" border="2" cellspacing="0" cellpadding="0">
<tr>
<td align="center" colspan="5">
<b>No rows selected</b>
</td>
</tr>
</table>
</v:template>
<v:template name="template4" type="browse" name-to-remove="table" set-to-remove="both">
<table width="400" border="1" cellspacing="2" cellpadding="0">
<tr>
<td nowrap="1">
<v:button name="ds_select" action="return" value="Select">
<v:field name="b_blogid" value="--cast ((control.vc_parent.vc_parent as vspx_row_template).te_rowset[0] as varchar)"/>
</v:button>
</td>
<td align="left" nowrap="1">
<v:label name="label5" value="--(control.vc_parent as vspx_row_template).te_rowset[0]"/>
</td>
<td align="left" nowrap="1">
<v:label name="label6" value="--(control.vc_parent as vspx_row_template).te_rowset[1]"/>
</td>
<td align="left" nowrap="1">
<v:label name="label61" value="--(control.vc_parent as vspx_row_template).te_rowset[2]"/>
</td>
</tr>
</table>
</v:template>
</v:template>
</v:data-set>
</v:page>
</body>
</html>
|