Convert barant.com JET 1.4 marketing pages to jetc/.jtc (local, non-production)

Pulls .page files and shared template infrastructure (mainpagetemplate.temp,
menu.bar, barant.tag, opensource.menu, cart.menu, login.menu) read-only from
barant.com via SFTP into jetc/barant-site/src, then convert.py mechanically
flattens them into self-contained .jet files: linkbutton becomes a plain
anchor link (the old SESSIONCTL PAGE/PROCESS form-postback model has no
equivalent here - each page is its own real #api route now, not a shared
single-form state machine), sectionframe is expanded per its barant.tag
definition, /images/* references are fetched and inlined as data URIs
(APIServer has no static-file serving), and session-gated chrome (cart,
account/admin, login.menu) is resolved to its anonymous-visitor default
state, since no session/DB backend is wired into this conversion.

17 pages convert and serve cleanly end-to-end (verified via a local
apiserver-barant-site.json instance on :8081, kept separate from the
existing demo server on :8080 to avoid a /main route collision with the
earlier hand-cloned barant.jet). Two pages deliberately out of scope for
this pass: davidarant.page (whiledir filesystem iteration) and the
per-topic sub-pages of jet.page (dispatches on an ARGS query param this
conversion does not populate - only the default overview state converts).
vst.page/modular1.page/modular1_patches.page also deferred - they pull
live product rows via sql, a real backend dependency beyond "pages and
their template" scope.

Nothing was written back to barant.com - SFTP access was read-only
throughout, per explicit instruction to convert locally without touching
the original site.
This commit is contained in:
Brad Arant committed 2026-08-25 21:59:55 -07:00
1 parent b143b821de
commit fde94acad6
191 files changed
+14997

No files matched your search

+397
View File
@@ -0,0 +1,397 @@
# --------------------------------------------------------------
# SESSIONCTL lib
#
# Session Control Function Library
#
#
# --------------------------------------------------------------
<tag name="ifadmin">
<if value1="$[__admin__]" value2="1" type="eq">
<container>
</if>
</tag>
<tag name="ifnotadmin">
<if value1="$[__admin__]" value2="0" type="eq">
<container>
</if>
</tag>
#==============================================================================
# RETAIN tag definition.
#==============================================================================
<tag name="retain" keywords="name value empty">
<if value1="#[empty]" value2="" type=eq>
<if value1="#[value]" value2="" type=eq>
<set name='tmp_#[name]' value="$[#[name]]" format=tobrowser>
<input type="hidden" name="#[name]" value="$[tmp_#[name]]">
<else>
<set name='tmp_#[name]' value="#[value]" format=tobrowser>
<input type="hidden" name="#[name]" value="$[tmp_#[name]]">
</if>
<else>
<input type="hidden" name="#[name]" value="">
</if>
</tag>
#==============================================================================
# IFNOTSESSION tag definition.
#==============================================================================
<tag name="ifnotsession">
<if value1="$[_SESSIONID]" value2="" type="eq"><container></if>
</tag>
#------------------------------------------------------------------------------
# LINKBUTTON tag definition.
#------------------------------------------------------------------------------
<tag name="linkbutton" keywords="pagedir page process name name2 value value2 target class multipart">
<A HREF="javascript:
<IF VALUE1="#[PAGEDIR]" VALUE2="" TYPE=NE>
<SET NAME=X_LEVEL EXPR="$[N_LEVEL] + 1">
</IF>
<IF VALUE1="#[PROCESS]" VALUE2="" TYPE="EQ">
document.forms[0].PROCESS.value='';
<ELSE>
document.forms[0].PROCESS.value='#[PROCESS]';
</IF>
<IF VALUE1="#[PAGE]" VALUE2="" TYPE="EQ">
document.forms[0].PAGE.value='$[PAGE]';
<ELSE>
document.forms[0].PAGE.value='#[PAGE]';
</IF>
<IF VALUE1="#[NAME]" VALUE2="" TYPE="NE">
document.forms[0].#[NAME].value='#[VALUE]';
</IF>
<IF VALUE1="#[NAME2]" VALUE2="" TYPE="NE">
document.forms[0].#[NAME2].value='#[VALUE2]';
</IF>
<IF VALUE1="#[MULTIPART]" VALUE2="YES" TYPE="EQ">
document.forms[0].encoding='multipart/form-data';
</IF>
<IF VALUE1="#[TARGET]" VALUE2="" TYPE="NE">
document.forms[0].target='#[TARGET]';
</IF>
<IF VALUE1="#[PAGEDIR]" VALUE2="" TYPE="NE">
document.forms[0].P_$[L_LEVEL].value='$[PAGE]';
document.forms[0].L_$[L_LEVEL].value='$[X_TITLE]';
document.forms[0].D_$[N_LEVEL].value='#[PAGEDIR]';
document.forms[0].P_$[N_LEVEL].value='#[PAGE]';
document.forms[0].P_LEVEL.value=$[L_LEVEL];
document.forms[0].L_LEVEL.value=$[N_LEVEL];
document.forms[0].N_LEVEL.value='$[X_LEVEL]';
</IF>
document.forms[0].submit();
document.forms[0].target='';"
<if value1="#[CLASS]" value2="" type="ne">
CLASS="#[CLASS]"
</if>
><EVAL><CONTAINER></EVAL></A>
</TAG>
#------------------------------------------------------------------------------
# ABUTTON tag definition.
#------------------------------------------------------------------------------
<TAG NAME="ABUTTON" KEYWORDS="PAGE PROCESS NAME VALUE MULTIPART">
<BUTTON ONCLICK="javascript:
<IF VALUE1="#[PAGE]" VALUE2="" TYPE="NE">
document.forms[0].PAGE.value='#[PAGE]';
<else>
document.forms[0].PAGE.value='$[PAGE]';
</IF>
<IF VALUE1="#[PROCESS]" VALUE2="" TYPE="NE">
document.forms[0].PROCESS.value='#[PROCESS]';
</IF>
<IF VALUE1="#[NAME]" VALUE2="" TYPE="NE">
document.forms[0].#[NAME].value='#[VALUE]';
</IF>
<IF VALUE1="#[MULTIPART]" VALUE2="YES" TYPE="EQ">
document.forms[0].encoding='multipart/form-data';
</IF>
document.forms[0].submit();">&nbsp;<CONTAINER>&nbsp;</BUTTON>
</TAG>
# ----------------------------------------------
# CREATESESSION
# ----------------------------------------------
<tag name="createsession" keywords="page timeout">
<if value1="$[_session_id]" value2="" type="ne">
<sql>
delete from sessions
where uuid='$[_session_id]'
</sql>
</if>
<set name="_uuid" expr="uuid()">
<set name="_timestamp" expr="now()">
<if value1="#[timeout]" value2="" type="eq">
<set name="timeout" value="0" scope="local">
</if>
<sql>
insert into sessions
set uuid='$[_uuid]',
timestamp='$[_timestamp]',
timeout_page='#[page]',
timeout=#[timeout]
</sql>
<if value1="#[timeout]" value2="" type="eq">
<setcookie name="_session_id" value="$[_uuid]">
<else>
<setcookie name="_session_id" value="$[_uuid]" timeout="#[timeout]">
</if>
</tag>
# ----------------------------------------------
# ENDSESSION
# ----------------------------------------------
<tag name="endsession">
<if value1="$[_session_id]" value2="" type="ne">
<sql>
delete from sessions
where uuid='$[_session_id]'
</sql>
<setcookie name="_session_id" value="">
</if>
</tag>
#--------------------------------------------------
#SETENV
#--------------------------------------------------
<tag name="setenv" keywords="name">
<if value1="$[_session_id]" value2="" type="ne">
<eval name="_envvalue" scope="local"><container></eval>
<set name="_envvalue" value="#[_envvalue]" format="binary" scope="local">
<sql>
replace into sessionenv
set session_uuid='$[_session_id]',
name='#[name]',
value='#[_envvalue]'
</sql>$[sqlerror]
<eval name="#[name]"><container></eval>
</if>
</tag>
#--------------------------------------------------
#CLEARENV
#--------------------------------------------------
<tag name="clearenv" keywords="name">
<sql>
DELETE FROM sessionenv WHERE session_uuid='$[_session_id]' AND name='#[name]'
</sql>$[sqlerror]
<SET NAME='#[name]' VALUE="">
</tag>
#--------------------------------------------------
#SETPAGE
#--------------------------------------------------
<tag name="setpage" keywords="NAME DIR">
<SET NAME=PAGE VALUE='#[NAME]'>
<IF VALUE1="#[DIR]" VALUE2="" TYPE="NE">
<SET NAME="DIR" VALUE="$[DIR]/#[DIR]">
<set name="_CTLDIR" value="$[DIR]">
</IF>
</TAG>
#--------------------------------------------------
#SETPROCESS
#--------------------------------------------------
<TAG NAME='SETPROCESS' KEYWORDS='VALUE'>
<SET NAME=PROCESS VALUE='#[VALUE]'>
</TAG>
#--------------------------------------------------
#CHECKSESSION
#--------------------------------------------------
<tag name="checksession">
<sql>
select *,
if((timeout > 0) && (unix_timestamp(now()) - unix_timestamp(timestamp) > (timeout * 60)),'0','1') as session_valid
from sessions
where uuid="$[_session_id]"
</sql>$[sqlerror]
<ifrow>
<if value1="$[.session_valid]" value2="1" type="eq">
<set name="session_timestamp" value="$[.timestamp]">
<set name="_timestamp" expr="now()">
<sql>
update sessions
set timestamp='$[_timestamp]'
where uuid="$[_session_id]"
</sql>
<sql>
select * from sessionenv where session_uuid="$[_session_id]"
</sql>$[sqlerror]
<whilerow>
<eval name="$[.name]">$[.value]</eval>
</whilerow>
<else>
<setpage name="$[.timeout_page]">
<set name="_session_id" value="">
</if>
<else>
<setpage name="">
<set name="_session_id" value="">
</ifrow>
</tag>
#--------------------------------------------------
#FIRST RUN - See FETCHPROC in SESSIONCTL tag
#--------------------------------------------------
<TAG NAME='FIRSTRUN'>
<IF VALUE1='$[_PROCESSRAN]' VALUE2='FALSE' TYPE=EQ>
<EVAL NAME='_FIRSTRUN'>$[_FIRSTRUN] <CONTAINER></EVAL>
</IF>
</TAG>
#--------------------------------------------------
#RUNERROR - See FETCHPROC in SESSIONCTL tag
#--------------------------------------------------
<TAG NAME='RUNERROR'>
<IF VALUE1='$[_PROCESSRAN]' VALUE2='TRUE' TYPE=EQ>
<EVAL NAME="_RUNERROR">$[_RUNERROR] <CONTAINER></EVAL>
</IF>
</TAG>
#--------------------------------------------------
#SESSIONCTL
#--------------------------------------------------
<tag name='sessionctl' keywords="page stylesheet">
<tag name="defaultnav"><if expr="('$[PAGE]' = '') and ('$[PROCESS]' = '')"><eval><container></eval></if></tag>
<database name="$[database]" host="$[host]" user="$[user]" password="$[password]" sessionid="_SESSIONCTL">
<tag name='fetchpage'>
<tag name="directory" keywords="NAME PAGE">
<set name="DIR" value="$[DIR]/#[NAME]">
<set name="PAGE" value="#[PAGE]">
<fetchpage>
</tag>
<tag name="page" keywords="template class onload secure loggedin admin" scope="local">
<tag name="author" scope="local"><eval name="author" scope="parent"><container></eval></tag>
<tag name="description" scope="local"><container name="description" eval="no" scope="parent"></tag>
<tag name="keywords" scope="local"><container name="keywords" eval="no" scope="parent"></tag>
<tag name="contents" scope="local"><eval name="_body"><container></eval></tag>
<TAG NAME='TEMPLATE' SCOPE=LOCAL>
<tag name="contents" scope="local">
$[_BODY]
</TAG>
<EVAL NAME=TEMPLATEDATA SCOPE=PARENT><CONTAINER EVAL="NO"></EVAL>
</TAG>
<if expr="('$[HTTPS]'!='on') and ('#[secure]'='yes')">
<html><head><meta http-equiv="refresh" content="0; url=https://$[HTTP_HOST]$[REQUEST_URI]"></head></html>
<else>
<if expr="('$[_login_type]'='user') and ('#[admin]'='true')">
<include file="notfound.page">
<else>
<if expr="('$[_login_id]'='') and ('#[loggedin]'='yes')">
<html><head><meta http-equiv="refresh" content="0; url=https://$[HTTP_HOST]/login?start=$[PAGE]"></head></html>
<else>
<if expr="('$[_login_type]'='user') and ('#[admin]'='yes')">
<include file="notfound.page">
<else>
<!DOCTYPE html>
<!--[if lt IE 7 ]><html class="ie ie6" lang="en"> <![endif]-->
<!--[if IE 7 ]><html class="ie ie7" lang="en"> <![endif]-->
<!--[if IE 8 ]><html class="ie ie8" lang="en"> <![endif]-->
<!--[if (gte IE 9)|!(IE)]><!--><html lang="en"> <!--<![endif]-->
<head>
<eval><container eval="no"></eval>
<META NAME=AUTHOR CONTENT="#[AUTHOR]">
<META NAME=DESCRIPTION CONTENT="#[DESCRIPTION]">
<META NAME=KEYWORDS CONTENT="#[KEYWORDS]">
<if value1="$[_STYLESHEET]" value2="" type="NE">
<link rel="stylesheet" type="text/css" href="$[_STYLESHEET]">
</if>
$[head]
</head>
<body <if value1="#[CLASS]" value2="" type="ne">class="#[CLASS]"</if>
<if value1="#[onload]" value2="" type="ne">onload="#[onload]"</if>>
<form method="post" enctype="multipart/form-data">
<INPUT TYPE=HIDDEN NAME="_LASTPAGE" VALUE="$[PAGE]" >
<INPUT TYPE=HIDDEN NAME="PROCESS" VALUE="" >
<INPUT TYPE=HIDDEN NAME="EXITPROCESS" VALUE="$[EXITPROCESS]" >
<input type="hidden" name="DIR" value="$[DIR]">
<input type="hidden" name="_CTLDIR" value="$[_CTLDIR]">
<INPUT TYPE=HIDDEN NAME="PAGE" VALUE="$[PAGE]" >
<INPUT TYPE=HIDDEN NAME="_TIMESTAMP" VALUE="$[_timestamp]" >
<IF VALUE1="#[TEMPLATE]" VALUE2="" TYPE="EQ">
$[_BODY]
<ELSE>
<EVAL><INCLUDE FILE="./$[DIR]/#[TEMPLATE].temp"></EVAL>
#[TEMPLATEDATA]
</IF>
</form>
</body>
</html>
</if>
</if>
</if>
</if>
</TAG>
<eval><INCLUDE FILE="./$[DIR]/$[PAGE].page">
<if value1="$[ERROR]" value2="TRUE" type="eq">
<include file="notfound.page">
</if>
</eval>
</TAG>
<tag name="fetchproc">
<tag name="process">
<if value1="$[_TIMESTAMP:0]" value2="$[session_timestamp]" type="eq">
<set name="_PROCESSRAN" value="FALSE">
<else>
<set name="_PROCESSRAN" value="TRUE">
</if>
<eval><container></eval>
<eval>$[_FIRSTRUN]</eval>
<eval>$[_RUNERROR]</eval>
</tag>
<EVAL><INCLUDE FILE="./$[DIR]/$[PROCESS].proc"></EVAL>
</TAG>
<tag name="virtual" keywords="SERVER DIR">
<if value1="$[PAGE]" value2="" type="eq">
<if value1="#[SERVER]" value2="$[$SERVER_NAME]" type="eq">
<set name="DIR" value="#[DIR]">
<set name="_CTLDIR" value="#[DIR]">
</if>
</if>
</tag>
<if value1="$[_session_id]" value2="" type="ne">
<checksession>
</if>
<eval name="head"><container></eval>
<if value1="$[PROCESS]" value2="" type="ne">
<fetchproc>
</if>
<if value1="$[PAGE]" value2="" type="eq">
<setpage name="#[PAGE]">
<else>
<script>window.history.replaceState('','','/$[PAGE]$[ARGS]');</script>
</if>
<fetchpage>
</database>
</tag>
+15
View File
@@ -0,0 +1,15 @@
<page template="mainpagetemplate">
<heading>
<title>Barant Systems - West Coast Wing Chun Open House 2014</title>
</heading>
<contents>
<sectionframe title="West Coast Wing Chun Open House 2014" style="big">
<p>
<video width="700" controls>
<source src="video/20140919_210026.mp4" type="video/mp4">
Your browser does not support the video tag.
</video>
</p>
</sectionframe>
</contents>
</page>
+111
View File
@@ -0,0 +1,111 @@
<page template="mainpagetemplate" secure="yes" loggedin="yes">
<title>ACCOUNT</title>
<contents>
<retain name="download_file">
<retain name="invoice_id">
<sectionframe title="Account Information">
<sql>select * from users where id=$[_login_id]</sql>
<table>
<tr><th class="left">Name:</th><td class="right">$[.name]</td></tr>
<if value1="$[company_name]" value2="" type="ne">
<tr><th class="left">Company Name:</th><td class="right">$[.company_name]</td></tr>
</if>
<tr><th class="left">E-Mail:</th><td class="right">$[.email]</td></tr>
</table>
</sectionframe>
<sql>select * from user_messages where user_id=$[_login_id]</sql>$[sqlerror]
<ifrow>
<sectionframe title="Messages">
<table>
<whilerow>
<tr>
<td>$[.message]</td>
<td>$[.link]</td>
</tr>
</whilerow>
</table>
</sectionframe>
</ifrow>
<sql>select *
from virtual_machines
join products on virtual_machines.sku=products.sku
where user_id=$[_login_id]</sql>
<ifrow>
<sectionframe title="Virtual Machines">
<whilerow>
<div style="margin-bottom: 3px; border: 1pt solid #000; border-radius: 5px;">
<div style="float: left; padding: 2px 5px 0px 5px; vertical-align: middle; display: inline-block;"><img src="$[.image]" width="40"></div>
<div style="float: left; background: #ccf; width: 300px; padding: 0px 0px 0px 0px;"><span style="font-size: 7pt;">Ubuntu Server 22.04 LTE</span>
<br><span style="font-size: 9pt;"><b>barant.com</b></span>
<br><span style="font-size: 7pt;">IP:</span> <span style="font-size: 9pt; font-family: monospace;">74.80.233.78</span></div>
<div style="float: right; padding: 5px;"><img src="images/power_on.png" width="32"></div>
<div style="float: right; width: 90px; height: 48px; background: #444;"></div>
<div style="float: right; margin-right: 25px;">3 days 2:10:33<br><br>34% of 40.2GB</div>
<div style="clear: both;"></div>
</div>
</whilerow>
</sectionframe>
</ifrow>
<include file="phones.section">
<sql>select *
from files
join products on files.sku=products.sku
where user_id=$[_login_id]</sql>
<ifrow>
<sectionframe title="Downloadable Content">
<p>Content that has been purchased and can be downloaded is displayed
below. Click on the Download button to begin downloading your files.</p>
<whilerow>
<table style="margin: 3px;">
<tr>
<td>
<img src="$[.image]" width="50px"">
</td>
<td style="width: 300px; border: 1pt inset #888">
$[.description]
</td>
<td style="width: 300px;">
<div>$[license_name]</div><div>$[license_key]</div>
</td>
<td>
<a href="/downloadfile.cgi?sku=$[.sku]"><div class="button">Download</div></a>
</td>
</tr>
</table>
</whilerow>
</sectionframe>
</ifrow>
<sectionframe title="Invoices">
<div style="display: flex;">
<div style="display: inline-block; padding: 0px 10px 0px 0px;">
<showtable process="selectinvoice" name="invoice_id" value="X">
select id as X,id as 'Invoice ID',date_format(created, '%b %D %Y') as 'Date',amount as 'Amount',status as 'Status' from invoices where user_id=$[_login_id]
</showtable>
</div>
<if value1="$[_invoice_id]" value2="" type="ne">
<div>
<include file="invoice.method">
<include file="payment.method">
</div>
</if>
</div>
</sectionframe>
</contents>
</page>
+22
View File
@@ -0,0 +1,22 @@
<page template="mainpagetemplate">
<title>BARANT Systems</title>
<contents>
<sectionframe title="E-Mail Confirmation">
<if value1="$[ARGS]" value2="" type="eq">
<p>An e-mail has been sent to you. Please click the button
provided in the e-mail to confirm your e-mail address.
<p>If you did not receive the e-mail or need to have it resent then
click the button below.</p>
<linkbutton process="resendconfirmationemail"><div class="button">Resend Confirmation E-Mail</div></linkbutton>
<else>
<set name="uuid" expr="substring('$[ARGS]', 2)">
<sql>update users set status='ACTIVE' where uuid='$[uuid]'</sql>$[sqlerror]
<sql>select id from users where uuid='$[uuid]'</sql>
<sql>delete from user_messages where user_id=$[id] and message_id='confirmemail'</sql>
<p>Thank You!</p>
<p>Your e-mail address has been confirmed.</p>
</if>
</sectionframe>
</contents>
</page>
+52
View File
@@ -0,0 +1,52 @@
<page template="mainpagetemplate">
<heading>
<title>The Digital Gods - The MP3 Music Store</title>
</heading>
<contents>
<retain name="collection_id">
<h1>Add A Track To A Collection</h1>
<sql>select * from collections where id="$[collection_id]"</sql>
<p>The track added on this form will be added to collection <b>$[.name]</b>.</p>
<p>Enter the information for the track file in the form and click the <b>Add
Track</b> button.</p>
<p>
<table class="entryform">
<tr>
<td>Name:</td><td><input type="text" name="name" size="50" maxlength="50" value="$[name:0]"></td>
</tr>
<tr>
<td>Artist:</td><td><input type="text" name="artist" size="50" maxlength="50" value="$[artist:0]"></td>
</tr>
<tr>
<td>Description:</td><td><textarea name="description" rows="10" cols="50">$[description:0]</textarea></td>
</tr>
<tr>
<td>Price:</td><td><input type="text" name="price" size="10" maxlength="10" value="$[price:0]"></td>
</tr>
<tr>
<td>File to upload:</td><td><input type="file" name="filedata" size="64" maxlength="128" value="$[filedata]"></td>
</tr>
</table>
</p>
<if value1="$[message]" value2="" type="ne">
<p class="message">$[message]</p>
</if>
<table cellpadding="5" cellborder="0" border="0"></tr><td class="warning">
<p><b>WARNING:</b></p>
<p>Large files will take a while to upload. Please do not interrupt the process
as your transaction will not complete the the track will not be added to the
collection. Many internet connections have very slow uplink speeds. Please
go get a cup of coffee and do something else for a while if you are
uploading a large file to the collection.<p>
</td></tr></table>
<abutton process="add_track" multipart="yes">Add Track</abutton>
<abutton page="musicianhome">Cancel</abutton>
</contents>
</page>
+18
View File
@@ -0,0 +1,18 @@
<process>
<set name="filedata_binary" value="$[filedata]" format="binary">
<sql>insert into tracks
set member_id=$[login_id],
collection_id=$[collection_id],
name="$[name]",
artist="$[artist]",
description="$[description]",
price=$[price],
created=now(),
data="$[filedata_binary]"
</sql>
<setpage name="musicianhome">
</process>
+38
View File
@@ -0,0 +1,38 @@
<page template="mainpagetemplate">
<menu>
<include file="projects.menu">
<include file="sessionvar.menu">
</menu>
<contents>
<sectionframe title="Add Task Notation">
Login Id: $[_login_id]<br>
Project Id: $[_project_id]<br>
Request Id: $[_request_id]<br>
Task Id: $[_task_id]<br>
<sql sessionid="projman">select *,
author.name as author_name
from tasks
join users as author on tasks.creator_id=author.id
where tasks.id=$[_task_id]</sql>$[sqlerror]
<entryform>
<tr><td class="fieldprompt">Created:</td><td>$[created]</td></tr>
<tr><td class="fieldprompt">Author:</td><td>$[author_name]</td></tr>
<field prompt="Notation" type="multiline" name="newnote" rows="5" cols="100" value="$[note:0]">
<reffield prompt="New Status" name="task_status_id" table="task_statuses"
sortfield="sequence" value="$[task_status_id]" valuefield="id"
listfield="text" />
<buttonbay>
<linkbutton process="addtasknote"><div class="button">Add Note</div></linkbutton>
<linkbutton page="request"><div class="button">Cancel</div></linkbutton>
</buttonbay>
</entryform>
<messages>
</sectionframe>
</contents>
</page>
+13
View File
@@ -0,0 +1,13 @@
<process>
<set name="noteb" value="$[newnote:0]" format="binary">***$[newnote:0]***
<sql sessionid="projman">
insert into task_notes set
task_id=$[_task_id],
created=now(),
creator_id=$[_login_id],
note='$[noteb]',
task_status_id=$[task_status_id]
</sql>$[sqlerror]
<setpage name="request">
</process>
+9
View File
@@ -0,0 +1,9 @@
<if value1="$[_session_id]" value2="" type="eq">
<createsession>
</if>
$[_session_id]-$[sku]
<sql>select * from cart_item where session_uuid='$[_session_id]' and sku='$[sku]'</sql>
$[sqlerror]
<ifrow><set name="qty" value="$[.quantity]"></ifrow>
<sql>replace into cart_item set session_uuid='$[_session_id]',sku='$[sku]', sku_suffix='', quantity=$[qty] + 1</sql>
$[sqlerror]
+17
View File
@@ -0,0 +1,17 @@
<page template="mainpagetemplate" secure="yes" loggedin="yes" admin="true">
<title>ADMINISTRATION</title>
<contents>
<eval name="_menu">
<include file="adminmenu.section">
</eval>
<h3>Users</h3>
<showtable page="edituser" process="selectuser" name="selected_user_id" value="X">
select id as X,email,name,type,created,status from users
</showtable>
<h3>Products</h3>
<showtable page="editproduct" process="selectproduct" name="sku" value="X">
select sku as X,sku,type,description from products
</showtable>
<br>
</contents>
</page>
+11
View File
@@ -0,0 +1,11 @@
<page template="mainpagetemplate" secure="yes" admin="true" loggedin="yes">
<title>INVOICE</title>
<contents>
<eval name="_menu">
<include file="adminmenu.section">
</eval>
<include file="invoice.method">
<br>
<linkbutton page="editinvoice"><div class="button">Edit Invoice</div></linkbutton>
</contents>
</page>
+14
View File
@@ -0,0 +1,14 @@
<page template="mainpagetemplate" secure="yes" loggedin="yes" admin="true">
<title>ADMIN INVOICES</title>
<contents>
<eval name="_menu">
<include file="adminmenu.section">
</eval>
<retain name="invoice_id">
<h3>Invoices</h3>
<showtable page="admin_invoice" process="selectinvoice" name="invoice_id" value="X">
select invoices.id as X,invoices.id,user_id,name,invoices.created,amount,invoices.status from invoices join users on invoices.user_id=users.id
</showtable>
<br>
</contents>
</page>
+4
View File
@@ -0,0 +1,4 @@
<sectionframe title="Admin Functions">
<div><linkbutton page="modular1_1_preset_admin">Modular 1 Presets</linkbutton></div>
<div><linkbutton page="admin_invoices">Invoices</linkbutton></div>
</sectionframe>
+13
View File
@@ -0,0 +1,13 @@
<sectionframe title="Welcome to barant.com" style="big">
<p></p>
<script>
document.write("Here");
var frame = document.getElementById("frame1");
loadXML("http://barant.com/tran/vmlist.xml", "barant");
</script>
<div id="frame1">
</div>
</sectionframe>
+76
View File
@@ -0,0 +1,76 @@
<canvas id="logo_canvas" style="width: 200px; height: 80px" width="200px" height="80px"></canvas>
<script>
var canvas = document.getElementById("logo_canvas");
var context = canvas.getContext('2d');
var count = 0;
var id = setInterval(frame, 20);
function frame() {
x = 50;
y = 50;
context.clearRect(0,0,canvas.width,canvas.height);
context.beginPath();
context.fillStyle = "#FF0080";
context.lineWidth = 1;
context.strokeStyle = "#FFFFFF";
context.arc(x, y, count, 0, Math.PI*2, false);
context.closePath();
context.stroke();
context.beginPath();
context.fillStyle = "#FF0080";
context.lineWidth = 1;
context.strokeStyle = "#FFFFFF";
context.arc(x, y, count + 20, 0, Math.PI*2, false);
context.closePath();
context.stroke();
context.beginPath();
context.fillStyle = "#FF0080";
context.lineWidth = 1;
context.strokeStyle = "#FFFFFF";
context.arc(x, y, count + 40, 0, Math.PI*2, false);
context.closePath();
context.stroke();
context.beginPath();
context.fillStyle = "#FF0080";
context.lineWidth = 1;
context.strokeStyle = "#FFFFFF";
context.arc(x, y, count + 60, 0, Math.PI*2, false);
context.closePath();
context.stroke();
context.beginPath();
context.fillStyle = "#FF0080";
context.lineWidth = 1;
context.strokeStyle = "#C0C0C0";
context.arc(x, y, count + 80, 0, Math.PI*2, false);
context.closePath();
context.stroke();
context.beginPath();
context.fillStyle = "#FF0080";
context.lineWidth = 1;
context.strokeStyle = "#808080";
context.arc(x, y, count + 100, 0, Math.PI*2, false);
context.closePath();
context.stroke();
context.beginPath();
context.fillStyle = "#FF0080";
context.lineWidth = 1;
context.strokeStyle = "#404040";
context.arc(x, y, count + 120, 0, Math.PI*2, false);
context.closePath();
context.stroke();
count += 1;
if(count >= 20) count = 0;
}
</script>
+4
View File
@@ -0,0 +1,4 @@
<sectionframe title="APPLICATIONS">
<linkbutton page="projman">Project Manager</linkbutton><br>
<linkbutton page="finplan">Financial Planner</linkbutton><br>
</sectionframe>
+19
View File
@@ -0,0 +1,19 @@
<page template="mainpagetemplate">
<title>APPLICATIONS</title>
<contents>
<sectionframe title="Project Manager">
<p>A comprehensive project manager that extends an agile like
framework with enhancements to pay more attention to the engineering component.</p>
</sectionframe>
<sectionframe title="Financial Planner">
<p>A simple transaction list scheduler. Povides daily balances
against transaction flow placed in a calendar.</p>
</sectionframe>
</contents>
</page>
+52
View File
@@ -0,0 +1,52 @@
<page template="mainpagetemplate">
<title>RCA1802 Micro-Controller Assembler/Emulator</title>
<contents>
<sectionframe title="RCA1802">
<h1>The RCA1802 Micro-Controller</h1>
<img src="images/rca1802chip.jpeg" align="right">
<p>Back in the 1970's RCA released a chip that was widely used in
satellites and other spacecraft to this day. It is a very simple
8-bit micro-controller with 16-bit addressibility enabling memory
access to 65,536 bytes of data.</p>
<p>The main chip is core to the COSMAC-ELF computers from the early period of
micro-controllers. Because of theyre reliability and lower clock
speeds the RCA1802 is a rugged controller for abusive environments.</p>
</sectionframe>
<sectionframe title="RCA1802 Assembler">
<p>The assembler allows the compilation of 1802 assembler language (as
defined in the chip's data reference manual) into a RAM file that is
65,536 bytes in size. This file can be loaded into the emulator which
can then be used to debug the code.</p>
<p>Output device 1 provides a console type display of ASCII characters
sent to it. Input device 1 is used to retrieve data from the keyboard
device.</p>
</sectionframe>
<sectionframe title="RCA1802 Emulator">
<img src="images/emu1802a.png" align="right" width="500">
<p>The 1802 emulator provides a fully functional RCA1802
micro-controller device complete with interupt handling and DMA
controls for memory access. Experiment with code structures and build
an associated kit that allows you to operate the software on real
hardware controllers.</p>
<p>The RAM for the device can be loaded from RAM file (.ram extension)
that contain 65,536 bytes of pre-assembled machine code created from
the assembler module.</p>
<p>The emulator has IDLE, RUN, STEP and DMA modes for easy code
visibility and manipulation.</p>
</sectionframe>
<sectionframe title="RCA1802 Computer Device">
We are working to provide a hardware kit for the controller device.
Current schematics are being layed out using Kicad. I have a full git
change environment going for the Kicad project as well as the source
code for the assembler and emulator components.
</sectionframe>
</contents>
</page>
+22
View File
@@ -0,0 +1,22 @@
<sectionframe title="BARANT AUDIO EXPERIMENTS">
<table width="100% cellpadding="5" cellspacing="0">
<tr>
<td class="featured">
<p><img src="images/organ1.png" align="right"></p>
<p>
<whiledir dir="/var/www/barant/musiclink" name="filename">
<if expr="substring('$[filename]',1,1) != '.'">
<div>
<a href="/musiclink/$[filename]">$[filename]</a><br>
<audio controls>
<source src="/musiclink/$[filename]" type="audio/mp3">
</audio>
</div>
</if>
</whiledir>
</p>
</td>
</tr>
</table>
</sectionframe>
+165
View File
@@ -0,0 +1,165 @@
<tag name="addtocart" keywords="sku">
<linkbutton process="addtocart" page="cart" name="sku" value="#[sku]" class="button">Add To Cart</linkbutton>
</tag>
<tag name="menu">
<eval name="_menu">
<container>
</eval>
</tag>
<tag name="sectionframe" keywords="title style edit">
<set name="sectionframeheading" value="sectionframeheading">
<if value1="#[style]" value2="big" type="eq">
<set name="sectionframeheading" value="sectionframeheading2">
</if>
<div class="sectionframe"><if value1="#[title]" value2="" type="ne">
<div class="$[sectionframeheading]"><b>#[title]</b>
<if value1="#[edit]" value2="true" type="eq"><img src="images/edit.png" width="16"></if></div></if>
<div class="sectionframecontents"><container></div></div>
</tag>
<tag name="entryform">
<table class="entryform">
<container>
</table>
</tag>
<tag name="formdata" keywords="prompt data">
<tr><td class="fieldprompt">#[prompt]:</td>
<td>#[data]</td></tr>
</tag>
<tag name="captcha">
<tr><td></td><td><div class="g-recaptcha" data-sitekey="6LflJEIUAAAAALmqul9rraNGzyCzjgbxfmbdEmXP"></div></td></tr>
</tag>
<tag name="field" keywords="type name size rows cols maxlength prompt value class">
<tr>
<td class="fieldprompt">#[prompt]:</td>
<if expr="locate(' #[name] ','$[errfield]') != 0">
<set name="class" value="fieldinputerror" scope="local">
<else>
<set name="class" value="fieldinput" scope="local">
</if>
<td>
<if value1="#[type]" value2="multiline" type="ne">
<if value1="#[value]" value2="" type="eq">
<input class="#[class]" type="#[type]" name="#[name]" size="#[size]" maxlength="#[maxlength]" value="$[#[name]:0]"
<else>
<input class="#[class]" type="#[type]" name="#[name]" size="#[size]" maxlength="#[maxlength]" value="#[value]">
</if>
<else>
<if value1="#[value]" value2="" type="eq">
<textarea class="#[class]" name="#[name]" id="#[name]" rows="#[rows]" cols="#[cols]">$[#[name]:0]</textarea>
<else>
<textarea class="#[class]" name="#[name]" id="#[name]" rows="#[rows]" cols="#[cols]">#[value]</textarea>
</if>
<script>CKEDITOR.replace('#[name]');</script>
</if>
</td>
</tr>
</tag>
<tag name="reffield" keywords="prompt name table where sortfield value valuefield listfield">
<tr><td class="fieldprompt">#[prompt]:</td><td>
<if value1="#[where]" value2="" type="ne">
<set name="where" value="where #[where]" scope="local">
</if>
<sql sessionid="projman2">select * from #[table] #[where] order by #[sortfield]</sql>$[sqlerror]
<select name="#[name]"><whilerow sessionid="projman2">
<option value="$[projman2.#[valuefield]]" <if value1="$[#[valuefield]]" value2="$[#[value]]" type="eq">selected</if>>$[projman2.#[listfield]]</option>
</whilerow></select>
</td></tr>
</tag>
<tag name="buttonbay">
<tr><td colspan="2"><div class="buttonbay"><container></div></td></tr>
</tag>
<tag name="error" keywords="field message">
<set name="errfield" value=" $[errfield] #[field] ">
<set name="errmessage" value="$[errmessage]<br>#[message]">
</tag>
<tag name="messages">
<if value1="$[errmessage]" value2="" type="ne">
<tr><td colspan="2" class="message">$[errmessage]</td></tr>
</if>
</tag>
<tag name="ifnoerror">
<if value1="$[errmessage]" value2="" type="eq">
<container>
</if>
</tag>
<tag name="showtable" keywords="sessionid page process name value">
<sql sessionid="#[sessionid]"><container></sql>$[sqlerror]
<ifrow sessionid="#[sessionid]">
<table>
<tr>
<for name="index" start="1" end="$[#[sessionid].?#]" step="1">
<set name="field" value="$[?$[index]]">
<if value1="$[field]" value2="X" type="eq">
<th></th>
<else>
<if expr="substring('$[field]',1,1)!='_'">
<th>$[field]</th>
</if>
</if>
</for>
</tr>
<whilerow sessionid="#[sessionid]">
<tr>
<for name="index" start="1" end="$[#[sessionid].?#]" step="1">
<set name="field" value="$[?$[index]]">
<if value1="$[field]" value2="X" type="eq">
<td>
<linkbutton page="#[page]" process="#[process]" name="#[name]" value="$[#[value]]" class="button">Open</linkbutton>
</td>
<else>
<if expr="substring('$[field]',1,1)!='_'">
<td>$[$[field]]</td>
</if>
</if>
</for>
</tr>
</whilerow>
</table>
</ifrow>
</tag>
<tag name="email" keywords="from to subject image">
<eval name="mail" scope="local">
<html>
<head>
<style>
h1 {font-size: 18px; font-weight: bold;}
p {text-align: justify;}
</style>
</head>
<body style="font-family: helvetica, san-serif; font-size: 16px;">
<table><tr><td style="padding: 10px;">
<table style="border: 1px solid #c0c0c0; border-radius: 10px; width:
100%; max-width: 640px; margin: 10px auto; padding: 10px; background:
#ffffff; color: #000000;"><tr><td>
<img src="/var/www/barant/images/#[image]">
<container>
</td></tr></table>
</td></tr></table>
</body>
</html>
</eval>
<call pgm="/usr/bin/mailcreate"
arg1="#[from]"
arg2="#[to]"
arg3="#[subject]"
input="#[mail]"
name="sendmail">
<call pgm="/usr/sbin/sendmail"
arg1="-t"
input="$[sendmail]">
</tag>
+23
View File
@@ -0,0 +1,23 @@
<page template="mainpagetemplate">
<title>BARANTMAIL OPEN SOURCE PROJECT</title>
<contents>
<sectionframe title="BARANTMAIL OPEN SOURCE PROJECT">
<p>In the year 2000 I was extremely frustrated with the state of e-amil
systems available to Linux. Sendmail and q-mail were pretty much the two
mainstays. sendmail was prohibitively complex for the newly emerging
Internet method of using e-mail and q-mail was poorly maintained.</p>
<p>As a result, I embarked on a mission to write my own e-mail system that used
mysql as it's storage medium. I wanted to keep it simple and support
multiple users and domains with the simplest of configurations imaginable.
I also wanted a scalable multi-server capability.</p>
<p>The result is BARANTMAIL.</p>
<h2>Features</h2>
<p>Features of BARANTMAIL are:</p>
<ul>
<li>Fully compliant e-mail system.</li>
<li>Support for multiple domains.</li>
</ul>
<p></p>
</sectionframe>
</contents>
</page>
+9
View File
@@ -0,0 +1,9 @@
<page template="mainpagetemplate">
<heading>
<title>BARANT Systems</title>
</heading>
<contents>
<include file="bae1996.section">
<set name="pagemenu" value="davidarant">
</contents>
</page>
+21
View File
@@ -0,0 +1,21 @@
<sectionframe title="barantstream MP3 Streaming Software" style="small">
<audio controls>
<source src="http://barant.com:2222" type="audio/mp3">
Your browser does not support the audio element.
</audio>
<p>barantstream is an opensource project providing a highly scalable
MP3 streaming server for internet radio style application.</p>
<ul>
<li>Pre-recorded content scheduler and feeder.</li>
<li>Live feeder with jack front-end so you can set up any jack system
for live feeding broadcast.</li>
<li>Multiple source control for main feed combining live and
pre-recorded materials.</li>
</ul>
<p>We will be expanding to video technologies as well in the event
that you want to run your own personal internet video channel.</p>
<hr>
<h2>We can provide you with a streaming service.</h2>
<p>Sign up for a streaming account today and get started with your own
internet radio station.</p>
</sectionframe>
+24
View File
@@ -0,0 +1,24 @@
<div id="main_section">
<canvas id="myCanvas" width="200" height="100" style="border:1px solid #000000;"
</canvas>
<script>
var c=document.getElementById("myCanvas");
var ctx=c.getContext("2d");
ctx.fillStyle="#FF0000";
ctx.fillRect(0,0,150,75);
</script>
</div>
<script type="text/javascript">
var req = new XMLHttpRequest();
function load_content ( id, content ) {
var node = document.getElementById( id );
node.data = content;
}
</script>
<p>Now does the content go here? <a href="#" onclick="load_content("foo","http://google.com");">Click Here</a></p>
<object id="foo" name="foo" type="text/html" data="http://www.cyverone.com/"></object>
<div id="test" src="www.google.com" width="400" height="500">
</div>
+13
View File
@@ -0,0 +1,13 @@
<if value1="$[_session_id]" value2="" type="ne">
<sql>select count(*) as count from cart_item where session_uuid='$[_session_id]'</sql>
<ifrow>
<if expr="$[.count] > 0">
<sectionframe title="Shopping Cart">
<if expr="$[.count] > 1"><set name="s" value="s"></if>
<p>You have $[.count] item$[s] in your cart.</p>
<linkbutton page="checkout" class="button">Check Out</linkbutton>
<div style="clear: both;"></div>
</sectionframe>
</if>
</ifrow>
</if>
+80
View File
@@ -0,0 +1,80 @@
<page template="mainpagetemplate">
<title>SHOPPING CART</title>
<contents>
<retain name="sku">
<set name="tranonce" expr="unix_timestamp()">
<setenv name="tranonce">$[tranonce]</setenv>
<sectionframe title="SHOPPING CART">
<script>
function update(input) {
PROCESS.value="updatecartqty";
submit();
}
</script>
<set name="hasrecurring" value="false">
<set name="hasfiles" value="false">
<showtable>
select product_list.sku as SKU,
description as Description,
quantity as Qty,
price as Price
from product_list
join cart_item on product_list.sku=cart_item.sku
where cart_item.session_uuid='$[_session_id]'
</showtable>
<br>
<comment>//these need to be incorporated into a query.
<if value1="$[.type]" value2="subscription" type="eq">
<set name="hasrecurring" value="true">
</if>
<if value1="$[.type]" value2="file" type="eq">
<set name="hasfiles" value="true">
</if>
</comment>
<showtable>
select count(*) as number_of_items,
sum(price * quantity) as total
from product_list
join cart_item on product_list.sku=cart_item.sku
where cart_item.session_uuid='$[_session_id]'
</showtable>
<sql>
select if(find_in_set('physical', group_concat(distinct type)),'true','false') as physical,
if(find_in_set('file', group_concat(distinct type)),'true','false') as file,
if(find_in_set('subscription', group_concat(distinct type)),'true','false') as subscription
from product_list
join cart_item on product_list.sku=cart_item.sku
where cart_item.session_uuid='$[_session_id]'
</sql>
<if value1="$[.subscription]" value2="true" type="eq">
<div style="border: 1pt solid black; width: 400px; padding: 5px;">Please note that you have recurring charge items. On the terms of
the recurrence (monthly or annually) you will not be charged
automatically but you will be notified via e-mail that your service is
about to expire. It is your responsibility to renew the services.</div>
</if>
<if value1="$[.file]" value2="true" type="eq">
<div style="margin-top: 3px; width: 400px; border: 1pt solid black; padding: 5px;">Please note that
you have purchased items that must be downloaded from your account
page after you checkout.</div>
</if>
<br>
<div style="text-align: center; width: 100%">
<linkbutton page="checkout" class="button">Check
Out</linkbutton></div>
<div style="clear:both;"></div>
<br>
</sectionframe>
</contents>
</page>
+19
View File
@@ -0,0 +1,19 @@
<page template="mainpagetemplate">
<contents>
<sectionframe title="Change Project Icon">
<entryform>
<field prompt="File to upload for project icon" type="file" name="data" size="100">
<buttonbay>
<linkbutton multipart="yes" class="button" process="changeprojecticon">Upload Icon</linkbutton>
</buttonbay>
</entryform>
<messages>
</sectionframe>
</contents>
</page>
+13
View File
@@ -0,0 +1,13 @@
<process>
<set name="datax" value="$[data]" format="binary">
<sql sessionid="projman">
insert images (data) values('$[datax]')
</sql>
<sql sessionid="projman">
select last_insert_id() as image_id
</sql>
<sql sessionid="projman">
update projects set icon_image_id='$[image_id]' where id=$[_project_id]
</sql>$[sqlerror]
<setpage name="project">
</process>
+60
View File
@@ -0,0 +1,60 @@
<page template="mainpagetemplate" loggedin="yes">
<title>SHOPPING CART - CHECKOUT</title>
<script src="https://web.squarecdn.com/v1/square.js"></script>
<contents>
<script>
function processCardForm(token) {
xhr = new XMLHttpRequest();
xhr.open('POST', '/pp.cgi', true);
xhr.setRequestHeader('Content-type', 'application/x-www-form-urlencoded');
xhr.onload = function () {
console.log(">" + this.responseText + "<");
if(this.responseText == "OK\n") {
document.forms[0].PAGE.value = 'thankyou';
document.forms[0].submit();
} else {
message.innerText = this.responseText;
}
};
let data = 'id=$[_session_id]&token=' + token + '&tranonce=$[tranonce]';
xhr.send(data);
}
var card;
async function buildForm() {
let payments = Square.payments('sq0idp-V4R4vEferpF9kr7d5x5abQ','LV0MRENX5ED3Z');
const card = await payments.card({
style: {
'.input-container.is-focus': { borderColor: '#006AFF' },
'.message-text.is-error': { color: '#BF0020' }
}
});
await card.attach('#card');
let button = document.getElementById('pay');
button.addEventListener('click', async () => {
let result = await card.tokenize();
if (result.status === 'OK') {
let processbanner = document.getElementById('process');
processbanner.style.visibility = 'visible';
processCardForm(result.token);
}
});
}
buildForm();
</script>
<sql>select count(*) as number_of_items,
sum(price * quantity) as total
from product_list
join cart_item on product_list.sku=cart_item.sku
where cart_item.session_uuid='$[_session_id]'
</sql>
<sectionframe title="Pay with Credit Card">
<div>Please enter your payment information:</div>
<div style="font-size: 20px;">$[total]</div>
<div id="card" style="background-color: #ddd;width: 300px; padding: 5px;"></div>
<div style="padding: 5px;"><button id= "pay" type="button">Pay</button></div>
<div id="process" style="background-color: #0f0; border: 2px solid #000; padding:
5px; display: block-inline; margin: 10px; visibility: hidden;"> Processing Payment - Please wait... </div>
<div id="message" style="color: #f00; margin-top: 20px;"></div>
</sectionframe>
</contents>
</page>
+26
View File
@@ -0,0 +1,26 @@
<page template="mainpagetemplate">
<title>Support E-Mail</title>
<contents>
<sectionframe title="Contact">
<p>Please contact us by phone at <b>(702) 232-0050</b>.</p>
<p>To e-mail us, just enter text below and press the buttons:</p>
<entryform>
<field prompt="Name" type="text" name="name" size="50" maxlength="50">
<field prompt="E-Mail" type="text" name="email" size="50" maxlength="50">
<field prompt="Message" type="multiline" name="message" rows="5" cols="60">
<captcha>
<buttonbay>
<linkbutton process="contact"><div class="button">Send Message</div></linkbutton>
</buttonbay>
</entryform>
<messages>
<script src='https://www.google.com/recaptcha/api.js'></script>
</sectionframe>
</contents>
</page>
+41
View File
@@ -0,0 +1,41 @@
<process>
<call pgm="/usr/bin/curl"
arg1="https://www.google.com/recaptcha/api/siteverify?secret=6LflJEIUAAAAAJnxDEfIErAnaKM1AletERz7iNmN&response=$[g-recaptcha-response]"
name="recaptcha">
<if value1="$[name]" value2="" type="eq">
<error field="name" message="Name cannot be blank.">
</if>
<if value1="$[email]" value2="" type="eq">
<error field="email" message="E-Mail cannot be blank.">
</if>
<if value1="$[message]" value2="" type="eq">
<error field="message" message="Message cannot be blank.">
</if>
<if expr="'$[recaptcha]' like '%false%'">
<error field="recaptcha" message="Please complete the reCAPTCHA question.">
</if>
<ifnoerror>
<email from="support@barant.com" to="brad.arant@gmail.com"
subject="E-Mail from barant.com website">
<p>This is an email sent from the contact web page:</p>
<p>Name: $[name:0]<br>
E-Mail: $[email:0]<br>
<p>$[message:0]</p>
</email>
<if value1="$[RETURNCODE]" value2="255" type="ne">
<setpage name="messagesent">
</if>
</ifnoerror>
</process>
+62
View File
@@ -0,0 +1,62 @@
<process>
<if value1="$[name:0]" value2="" type="eq">
<error field="name" message="You must enter a name!">
</if>
<if value1="$[email:0]" value2="" type="eq">
<error field="email" message="You must enter an e-mail address!">
</if>
<if value1="$[password:0]" value2="" type="eq">
<error field="password" message="You must enter a password!">
</if>
<if value1="$[password:0]" value2="$[verifypassword:0]" type="ne">
<error field="verifypassword" message="The password verification does not match the entered password!">
</if>
<ifnoerror>
<sql>
select created from users where email = '$[email:0]'
</sql>$[sqlerror]
<ifrow>
<error field="email" message="This e-mail address already has a registered account!">
<else>
<set name="name" value="$[name:0]" format="binary">
<set name="email" value="$[email:0]" format="binary">
<set name="password" value="$[password:0]" format="binary">
<sql>
insert into users
set name='$[name]',
company_name='$[company_name]',
email='$[email]',
secret='$[password]',
last_login=null,
uuid=uuid(),
created=now(),
status='CONFIRM',
type='user'
</sql>$[sqlerror]
<sql>select last_insert_id() as id</sql>$[sqlerror]
<set name="id" value="$[.id]">
<set name="link" value="<linkbutton class='button' process='resendconfirmationemail'>Confirm E-Mail</linkbutton>">
<sql>insert into user_messages set user_id=$[id],
message_id='confirmemail',
created=now(),
message='E-mail address is not verified.',
link="$[link]"</sql>$[sqlerror]
<set name="login_email" value="$[email]">
<set name="login_password" value="$[password]">
<include file="login.method">
<include file="sendemailconfirm.email">
</ifrow>
</ifnoerror>
</process>
+20
View File
@@ -0,0 +1,20 @@
<page template="mainpagetemplate">
<contents>
<sectionframe title="Create Project">
<entryform>
<field prompt="Title" type="text" name="text" size="50" maxlength="100">
<field prompt="Description" type="multiline" name="description" rows="5" cols="60">
<buttonbay>
<linkbutton process="createproject"><div class="button">Create Project</div></linkbutton>
</buttonbay>
</entryform>
<messages>
</sectionframe>
</contents>
</page>
+9
View File
@@ -0,0 +1,9 @@
<process>
<sql sessionid="projman">insert into projects set created_date=now(),
owner_id=$[_login_id],
text='$[text]',
description='$[description]'
</sql>$[sqlerror]
<setpage name="projman">
</process>
+21
View File
@@ -0,0 +1,21 @@
<page template="mainpagetemplate">
<contents>
<sectionframe title="Create Release Target">
Login Id: $[_login_id]<br>
Project Id: $[_project_id]<br>
<entryform>
<tr><td>Project Id: $[_project_id]</td></tr>
<field prompt="Target" type="text" name="release" size="25" maxlength="20">
<field prompt="Description" type="multiline" name="description" rows="5" cols="60">
<buttonbay>
<linkbutton process="createreleasetarget"><div class="button">Create Release Target</div></linkbutton>
</buttonbay>
</entryform>
<messages>
</sectionframe>
</contents>
</page>
+9
View File
@@ -0,0 +1,9 @@
<process>
<set name="descriptionx" value="$[description]" format="binary">
<sql sessionid="projman">insert into releases (project_id, `release`, description)
VALUES ('$[_project_id]', '$[release]', '$[descriptionx]')
</sql>$[sqlerror]
<setpage name="project">
</process>
+33
View File
@@ -0,0 +1,33 @@
<page template="mainpagetemplate">
<contents>
<projectheader />
<h2>Create Request</h2>
<p>Please enter the information in the following form:</p>
<entryform>
<field prompt="Title" type="text" name="text" size="100SD" maxlength="100">
<field prompt="Description" type="multiline" name="description" class="widgEditor" rows="5" cols="100">
<reffield prompt="Priority"
name="priority"
table="request_priority"
sortfield="sequence"
value="$[priority]"
valuefield="id"
listfield="description" />
<reffield prompt="Target Release"
name="release_id"
table="releases"
where="project_id=$[_project_id]"
sortfield="'release'"
value="$[release_id]"
valuefield="id"
listfield="release" />
<buttonbay>
<linkbutton process="createrequest"><div class="button">Create Request</div></linkbutton>
</buttonbay>
</entryform>
<messages>
</contents>
</page>
+15
View File
@@ -0,0 +1,15 @@
<process>
<set name="textx" value="$[text]" format="binary">
<set name="descriptionx" value="$[description]" format="binary">
<sql sessionid="projman">insert into requests set project_id=$[_project_id],
created_date=now(),
creator_id=$[_login_id],
owner_id=$[_login_id],
priority=$[priority],
release_id=$[release_id],
text='$[textx]',
description='$[descriptionx]'
</sql>$[sqlerror]
<setpage name="project">
</process>
+26
View File
@@ -0,0 +1,26 @@
<page template="mainpagetemplate">
<contents>
<sectionframe title="Create Task">
Login Id: $[_login_id]<br>
Project Id: $[_project_id]<br>
Request Id: $[_request_id]<br>
<entryform>
<tr><td>Project Id:</td><td>$[_project_id]</td></tr>
<tr><td>Request Id:</td><td>$[_request_id]</td></tr>
<field prompt="Title" type="text" name="text" size="50" maxlength="100">
<field prompt="Description" type="multiline" name="description" rows="5" cols="60">
<buttonbay>
<linkbutton process="createtask"><div class="button">Create Task</div></linkbutton>
<linkbutton page="request"><div class="button">Cancel</div></linkbutton>
</buttonbay>
</entryform>
<messages>
</sectionframe>
</contents>
</page>
+13
View File
@@ -0,0 +1,13 @@
<process>
<set name="textx" value="$[text]" format="binary">
<set name="descriptionx" value="$[description]" format="binary">
<sql sessionid="projman">insert into tasks set request_id=$[_request_id],
created=now(),
creator_id=$[_login_id],
text='$[textx]',
description='$[descriptionx]'
</sql>$[sqlerror]
<setpage name="request">
</process>
+22
View File
@@ -0,0 +1,22 @@
<field prompt="Name On Card" type="text" name="nameoncard" size="50" maxlength="100" value="$[nameoncard]">
<field prompt="Card Number" type="text" name="cardnumber" size="50" maxlength="100" value="$[cardnumber]">
<field prompt="Expiration Month" type="text" name="expmonth" size="3" maxlength="2" value="$[expmonth]">
<field prompt="Expiration Year" type="text" name="expyear" size="5" maxlength="4" value="$[expyear]">
<field prompt="CVS" type="text" name="cvs" size="5" maxlength="4" value="$[cvs]">
<field prompt="Billing Zip Code" type="text" name="billingzip" size="6" maxlength="5" value="$[billingzip]">
<buttonbay>
<linkbutton process="processpayment"><div class="button" onclick="document.getElementById('processing').style.visibility='visible'; return true;">Process Payment</div></linkbutton>
</buttonbay>
<td colspan="2" style="text-align: center;"><img
src="https://www.paypalobjects.com/webstatic/en_US/i/buttons/cc-badges-ppmcvdam.png"
alt="Buy now with PayPal" /></td>
<messages>
<div id="processing" style="position: absolute; background: white; visibility: hidden; top:280px; left: 400px; display: inline-block; padding: 0px 10px 0px 10px; border: 1pt solid black; border-radius: 5px;">
<img class="rotate" src="/images/spinning.png" width="50" align="center">
<span style="padding: 0px 0px 0px 10px; font-size: 16px"> PROCESSING...</span>
</div>
+12
View File
@@ -0,0 +1,12 @@
<page template="mainpagetemplate">
<title>CRYSTAL</title>
<contents>
<setenv name="_menubar"></setenv>
<sectionframe title="Crystal - High Security Communications">
<p>Coming soon. High security communications apps for iPhone and
Android.</p>
</sectionframe>
</contents>
</page>
+6
View File
@@ -0,0 +1,6 @@
<sectionframe title="IN LOVING MEMORY">
<br><b><font size="2" color="#80FF80">David Eugene Arant</font></b>
<p>Born: April 17th, 1935<br>
Died: March 8th, 2012</p>
<p><linkbutton page="davidarant">More...</linkbutton></p>
</sectionframe>
+27
View File
@@ -0,0 +1,27 @@
<page template="mainpagetemplate">
<heading>
<title>barant.com - David Eugene Arant</title>
</heading>
<contents>
<img src="images/arant2.jpg" align="left">
<h1>David Eugene Arant</h1>
<p>David Eugene Arant was born in South Gate California on April 17th, 1935
to parents May L. Arant and Francis M. Arant.</p>
<p>David was an artist, philosopher, teacher and educator, singer and musician. He
has left a legacy of paintings and recordings of his talents.</p>
<p>We will be posting images of his paintings as well as recordings of his
piano playing and singing here on this website in the near future.</p>
<p>Many of his paintings are out in the world and no longer in my
possession. If you have such a painting by David then please snap a photo of
it and send it to me at barant@barant.com and we will be sure to include it
on these pages.</p>
<whiledir dir="davidarantx" name="file">
<if expr="right('$[file]',4) = '.jpg'">
<a href="davidarantx/$[file]"><img src="davidarantx/$[file]" width="100"></a>
</if>
</whiledir>
</contents>
</page>
+8
View File
@@ -0,0 +1,8 @@
<process>
<sql sessionid="projman">
delete from requests where id=$[_request_id]
</sql>$[sqlerror]
<setpage name="project">
</process>
+13
View File
@@ -0,0 +1,13 @@
<h1>Latest News and Events</h1>
<sql>select *,date_format(date,'%W, %M %D, %Y %r') as formatted_date from news order by date desc</sql>
<whilerow>
<table width="100% border="1" cellpadding="5" cellspacing="2">
<tr>
<td class="newsitem">
<h3><b>$[.headline]</b><br>$[.formatted_date]</h3>
<p>$[.text]</p>
</td>
</tr>
</table>
</whilerow>
+27
View File
@@ -0,0 +1,27 @@
<page template="mainpagetemplate">
<title>Document Management</title>
<style>
.price {display: table-cell;
background-color: #fff;
width: 100px;
height: 100px;
text-align: center;
vertical-align: middle;
border: 1px solid #000;
border-radius: 20px;
}
.number {font-size: 30px;}
</style>
<contents>
<sectionframe title="Document Management">
<h1>Online Document Management</h1>
<p>BARANT Technology Group now offers document management storage and
tools for organizing your document requirements and workflow in your
business.</p>
<p>In its simplest form you can establish groups of documents based
upon department for internal documents use. Or if you are a service
group you can establish accounts and store correspondence and
documents for any activity with that account.</p>
</sectionframe>
</contents>
</page>
+206
View File
@@ -0,0 +1,206 @@
<page template="mainpagetemplate" secure="yes" loggedin="yes" admin="true">
<title>ADMIN INVOICES</title>
<contents>
<database host="$[host]" name="$[database]" user="$[user]" password="$[password]" sessionid="1">
<script>
function checkDetail() {
document.getElementById('detail').style.display=(document.getElementById('sku').value=='***')?'block':'none';
}
function totalInvoice() {
const detail_section = document.getElementById('detail_section');
const totalsum = document.getElementById('totalsum');
const linecount = document.getElementById('linecount');
var sum = 0;
var index = 0;
detail_section.childNodes.forEach((child) => {
child.quantity_z.setAttribute('name','quantity' + index);
child.sku_z.setAttribute('name','sku' + index);
child.description_z.setAttribute('name','description' + index);
child.textarea_z.setAttribute('name','textarea' + index);
child.detail_z.setAttribute('name','detail' + index);
child.price_z.setAttribute('name','price' + index);
child.taxAmount_z.setAttribute('name','tax_amount' + index);
child.total_z.setAttribute('name','total' + index);
child.type_z.setAttribute('name','type' + index);
linecount.value = index;
index += +1;
sum += +child.total;
});
totalsum.innerText = sum.toFixed(2);
invtot.value = sum.toFixed(2);
}
function addLine(qty,skuid,descr,text,prc,tax,tot,typ) {
const lineItem = document.createElement('div');
lineItem.style.border = "padding: 3px;";
column1 = document.createElement('div');
column1.setAttribute('style','display: inline-block; margin-right: 5px;');
removeButton = document.createElement('button');
removeButton.setAttribute('type','button');
removeButton.innerText = '-';
removeButton.addEventListener('click', function(e) {
document.getElementById('detail_section').removeChild(lineItem);
totalInvoice();
});
column1.appendChild(removeButton)
lineItem.appendChild(column1);
const quantity = document.createElement('input');
const sku = document.createElement('select');
const description = document.createElement('input');
const textarea = document.createElement('textarea');
const detail = document.createElement('div');
const price = document.createElement('input');
const taxAmount = document.createElement('input');
const total = document.createElement('input');
const type = document.createElement('input');
lineItem.quantity_z = quantity;
lineItem.sku_z = sku;
lineItem.description_z = description;
lineItem.detail_z = detail;
lineItem.textarea_z = textarea;
lineItem.price_z = price;
lineItem.taxAmount_z = taxAmount;
lineItem.total_z = total;
lineItem.type_z = type;
column2 = document.createElement('div');
column2.setAttribute('style','display: inline-block; margin-right: 5px;');
quantity.setAttribute('type','text');
quantity.setAttribute('size','5');
quantity.setAttribute('maxlength','5');
quantity.setAttribute('name','quantity');
quantity.setAttribute('value',qty);
quantity.addEventListener('change',(e) => {
taxAmount.value = '0.00';
total.value = (quantity.value * sku.options[sku.selectedIndex].price).toFixed(2);
description.value = sku.options[sku.selectedIndex].description;
lineItem.total = total.value;
totalInvoice();
});
column2.appendChild(quantity);
lineItem.appendChild(column2);
column3 = document.createElement('div');
column3.setAttribute('style','display: inline-block; margin-right: 5px;');
sku.setAttribute('name','sku');
sku.detail = detail;
sku.addEventListener('change', (e) => {
sku.detail.style.display = sku.value == '***' ? 'block':'none';
price.value = sku.options[sku.selectedIndex].price;
taxAmount.value = '0.00';
total.value = (quantity.value * sku.options[sku.selectedIndex].price).toFixed(2);
lineItem.total = total.value;
type.value = sku.options[sku.selectedIndex].typex;
description.value = sku.options[sku.selectedIndex].description;
totalInvoice();
});
<sql sessionid="1">select * from product_list</sql>
<whilerow sessionid="1">
option = document.createElement('option');
option.setAttribute('value','$[1.sku]');
option.description = '$[1.description]';
option.typex = '$[1.type]';
option.price = '$[1.price]';
option.innerText = '$[1.description]';
if(skuid == '$[1.sku]') {
option.selected = 'selected';
}
sku.appendChild(option);
</whilerow>
column3.appendChild(sku);
lineItem.appendChild(column3);
description.setAttribute('type','hidden');
description.setAttribute('value', descr);
lineItem.appendChild(description);
type.setAttribute('type','hidden');
type.setAttribute('value', typ);
lineItem.appendChild(type);
column4 = document.createElement('div');
column4.setAttribute('style','display: inline-block; margin-right: 5px;');
price.setAttribute('type','text');
price.setAttribute('size','15');
price.setAttribute('maxlength','15');
price.setAttribute('name','price');
price.setAttribute('value',prc);
column4.appendChild(price);
lineItem.appendChild(column4);
column5 = document.createElement('div');
column5.setAttribute('style','display: inline-block; margin-right: 5px;');
taxAmount.setAttribute('type','text');
taxAmount.setAttribute('size','15');
taxAmount.setAttribute('maxlength','15');
taxAmount.setAttribute('name','tax_amount');
taxAmount.setAttribute('value',tax);
column5.appendChild(taxAmount);
lineItem.appendChild(column5);
column6 = document.createElement('div');
column6.setAttribute('style','display: inline-block;');
total.setAttribute('type','text');
total.setAttribute('size','15');
total.setAttribute('maxlength','15');
total.setAttribute('name','total');
total.setAttribute('value',tot);
column6.appendChild(total);
lineItem.appendChild(column6);
textarea.setAttribute('name','textarea');
textarea.innerHTML = text;
CKEDITOR.replace(textarea);
detail.appendChild(textarea);
lineItem.appendChild(detail);
detail.style.display = sku.value == '***' ? 'block':'none';
lineItem.total = total.value;
document.getElementById('detail_section').appendChild(lineItem);
}
</script>
<input type="hidden" id="linecount" name="linecount">
<input type="hidden" id="invtot" name="invoice_total">
<eval name="_menu">
<include file="adminmenu.section">
</eval>
<h3>Invoice $[_invoice_id]</h3>
<sql>select * from invoices where id=$[_invoice_id]</sql>
<entryform>
<td>Account</td>
<td>
<select>
<sql sessionid="1">select * from users</sql>
<whilerow sessionid="1">
<option value="$[1.id]"
<if value1="$[.user_id]" value2="$[1.id]" type="eq">selected</if>
>$[1.name]</option>
</whilerow>
</select>
</td></tr>
<tr><td colspan="3">
<div id="detail_section"></div>
<sql>select * from invoices_detail where invoice_id=$[_invoice_id]</sql>
<whilerow>
<script>
addLine('$[.quantity]','$[.sku]','$[.description]','$[.text]','$[.price]','$[.tax_amount]','$[.total]','$[.type]');
</script>
</whilerow>
<button type="button" onclick="addLine('1','','','','0.00','0.00','0.00','');">+</button>
<div id="totalsum" style="border: 1pt solid #000f; padding: 3px; width: 100px; text-align: right; float: right;"></div>
<script>
totalInvoice();
</script>
<buttonbay>
<linkbutton process="update_invoice"><div class="button">Update Invoice</div></linkbutton>
</buttonbay>
</entryform>
<br>
</database>
</contents>
</page>
+41
View File
@@ -0,0 +1,41 @@
<page template="mainpagetemplate">
<contents>
$[_project_header]
Request Id: $[_request_id]<br>
<sql sessionid="projman">select *,
request_priority.description as priority_description,
author.name as author_name,
owner.name as owner_name,
owner.id as owner_id
from requests
join users as author on requests.creator_id=author.id
join users as owner on requests.owner_id=owner.id
join request_priority on requests.priority=request_priority.id
where requests.id=$[_request_id]</sql>$[sqlerror]
<entryform>
<tr><td class="fieldprompt">Created:</td><td>$[created_date]</td></tr>
<tr><td class="fieldprompt">Author:</td><td>$[author_name]</td></tr>
<reffield prompt="Owner" name="owner_id" table="users" sortfield="name" value="projman.owner_id" valuefield="id" listfield="name" />
<reffield prompt="Priority" name="priority" table="request_priority" sortfield="sequence" value="projman.priority" valuefield="id" listfield="description" />
<reffield prompt="Target Release" name="release_id" table="releases" where="project_id=$[_project_id]" sortfield="releases.release" value="release_id" valuefield="id" listfield="release" />
<field prompt="Title" type="text" name="text" size="50" maxlength="100" value="$[text]">
<field prompt="Description" type="multiline" class="widgEditor" name="description" rows="5" cols="60" value="$[description]">
<buttonbay>
<linkbutton process="updaterequest"><div class="button">Update</div></linkbutton>
<linkbutton page="request"><div class="button">Cancel</div></linkbutton>
<linkbutton process="deleterequest"><div class="button">Delete</div></linkbutton>
</buttonbay>
</entryform>
<messages>
</sectionframe>
</contents>
</page>
+38
View File
@@ -0,0 +1,38 @@
<page template="mainpagetemplate">
<menu>
<include file="projects.menu">
<include file="sessionvar.menu">
</menu>
<contents>
<sectionframe title="Edit Task">
Login Id: $[_login_id]<br>
Project Id: $[_project_id]<br>
Request Id: $[_request_id]<br>
Task Id: $[_task_id]<br>
<sql sessionid="projman">select *,
author.name as author_name
from tasks
join users as author on tasks.creator_id=author.id
where tasks.id=$[_task_id]</sql>$[sqlerror]
<entryform>
<tr><td class="fieldprompt">Created:</td><td>$[created]</td></tr>
<tr><td class="fieldprompt">Author:</td><td>$[author_name]</td></tr>
<field prompt="Title" type="text" name="text" size="50" maxlength="100" value="$[text]">
<field prompt="Description" type="multiline" name="description" rows="5" cols="60" value="$[description]">
<buttonbay>
<linkbutton process="updatetask"><div class="button">Update</div></linkbutton>
<linkbutton page="task"><div class="button">Cancel</div></linkbutton>
<linkbutton process="deletetask"><div class="button">Delete</div></linkbutton>
</buttonbay>
</entryform>
<messages>
</sectionframe>
</contents>
</page>
+19
View File
@@ -0,0 +1,19 @@
<h1>Featured Song</h1>
<table width="100% border="1" cellpadding="5" cellspacing="2">
<tr>
<td class="featured">
<h3>BARANT Audio Experiments - 3rd Mellenium - The Null</h3>
<p>One of the short piece from BAE. These exprimental works are explorations
in improvisation using high tech digital environments. Come check it out and
see the wild "jam" style of BAE.</p>
<p>
<linkbutton page="artistcollections">View Artist Profile</linkbutton>
<linkbutton page="collectionlist">View Collection</linkbutton>
<p>
<abutton process="listentosample">Sample</abutton>
<abutton process="addtocart">Buy</abutton>&nbsp;&nbsp;Time is
1:45&nbsp;&nbsp;Price: <b>$1.00</b></p>
</td>
</tr>
</table>
+26
View File
@@ -0,0 +1,26 @@
<page template="mainpagetemplate">
<title>Support E-Mail</title>
<contents>
<sectionframe title="Contact">
<p>Please contact us by phone at <b>(702) 755-8235</b>.</p>
<p>To e-mail us, just enter text below and press the buttons:</p>
<entryform>
<field prompt="Name" type="text" name="name" size="50" maxlength="50">
<field prompt="E-Mail" type="text" name="email" size="50" maxlength="50">
<field prompt="Message" type="multiline" name="message" rows="5" cols="60">
<captcha>
<buttonbay>
<linkbutton process="contact" class="button">Send Message</linkbutton>
</buttonbay>
</entryform>
<messages>
<script src='https://www.google.com/recaptcha/api.js'></script>
</sectionframe>
</contents>
</page>
+1
View File
@@ -0,0 +1 @@
<include file="springman.section">
+65
View File
@@ -0,0 +1,65 @@
<page template="mainpagetemplate">
<title>HOSTING</title>
<contents>
<retain name="sku">
<sectionframe title="Virtual Machine Hosting">
<p>We offer several virtual machine hosting options. Everything to run your business.</p>
<p>Take a look at our machine catalog and our extremely reasonable
prices. We don't mess around with hidden costs and domain names that
we actually own instead of you. You bring your own domain name to our
hosts and you own it.</p>
<p>We also offer outstanding technical support to help you on your way
and to get your hosts up and running and working for you!</p>
<p>All our servers are located in a secure facility with power
redundancy and fire protection.</p>
<hr>
<h2>Ubuntu 24.04 Host</h2>
<p>Full Ubuntu 24.04 host with memory, CPU and storage size pricing
tiers. Both monthly and annual rates available.</p>
<p>All our servers use SSD for high performance.</p>
<table border="1">
<tr>
<th>Server</th>
<th>RAM</th>
<th>CPUs</th>
<th>Storage</th>
<th>Monthly Price</th>
<th>Annual Price</th>
</tr>
<tr>
<td>Ubuntu 24.04 Server</td>
<td>4MB</td>
<td>2</td>
<td>50GB</td>
<td>$9.95</td>
<td>$99.95</td>
</tr>
<tr>
<td>Ubuntu 24.04 Server</td>
<td>4MB</td>
<td>4</td>
<td>75GB</td>
<td>$14.95</td>
<td>$149.95</td>
</tr>
</table>
<hr>
<h2>OSCommerce Host</h2>
<hr>
<h2>WordPress Host</h2>
<hr>
<h2>FreePBX Host</h2>
<p>Full implementation solution for a business of any size. Unlimited
bandwidth and 50GB storage for voice-mail and recordings. Full root
access. Full service support contacts available to maintain your
phones and other VoIP devices. </p>
<p>$49.95/month</p>
<p>See our SIP trunking pricing and DID line options as well for a complete
telephony solution.</p>
<hr>
</sectionframe>
<set name="pagemenu" value="davidarant">
</contents>
</page>
+11
View File
@@ -0,0 +1,11 @@
<table width="100%" cellpadding="3" cellspacing="0" border="1">
<tr>
<td>
<p>Hot Downloads:</p>
<p>
<linkbutton process="catalogentry">BAE: The Null</linkbutton><br>
<linkbutton process="catalogentry">John Collins: Remember Me Forever</linkbutton>
</p>
</td>
</tr>
</table>
+7
View File
@@ -0,0 +1,7 @@
<page template="mainpagetemplate">
<title>Barant Systems</title>
<contents>
<include file="barantstream.section">
<set name="pagemenu" value="davidarant">
</contents>
</page>
+58
View File
@@ -0,0 +1,58 @@
<sql>select i.id as invnumber,
u.name as name,
u.company_name as company_name,
u.email as email,
date_format(i.created,'%m/%e/%Y') as invdate,
i.status as status,
i.amount as amount
from invoices as i
join users as u on i.user_id=u.id
where i.id=$[_invoice_id]</sql>
<set name="amount" value="$[.amount]">
<div style="width: 500px; border: 1pt solid #000; padding: 3px; background: #fff;">
<div><div style="display: inline-block;"><img style="width: 300px;" src="images/invoice_logo.png"></div>
<div style="display: flex; float: right; align-items: center;">
Invoice: $[.invnumber] $[.status]
</div>
</div>
<div style="background: #eee;">
<div>Name: $[.name]</div>
<div>Company Name: $[.company_name]</div>
<div>E-Mail $[.email]</div>
<div>Invoice Date: $[.invdate]</div>
</div>
<div style="background: #ddd;">
<sql>select * from invoices_detail where invoice_id=$[_invoice_id]</sql>
<table style="border: 0px;" cellspacing="0">
<tr><td style="background-color: #888; color: #fff; width: 50px; padding:3px; text-align: center; border: 1pt solid #ddd;">Qty</td>
<td style="background-color: #888; color: #fff; width: 400px; padding: 3px; border: 1pt solid #ddd;">Description</td>
<td style="background-color: #888; color: #fff; width: 60px; padding: 3px; text-align: center; border: 1pt solid #ddd;">Unit Price</td>
<td style="background-color: #888; color: #fff; width: 60px; padding: 3px; text-align: center; border: 1pt solid #ddd;">Amount</td>
</tr>
<whilerow>
<tr><td style="width: 50px; vertical-align: top; text-align: center; border: 1pt solid #ddd;">
<if value1="$[.sku]" value2="***" type="ne">$[quantity]</if></td>
<td style="width: 400px; border: 1pt solid #ddd;">
<if value1="$[.sku]" value2="***" type="ne">$[description]<br></if>
$[text]</td>
<td style="width: 60px; vertical-align: top; text-align: right; border: 1pt solid #ddd;">
<if value1="$[.sku]" value2="***" type="ne">$[price]</if></td>
<td style="width: 60px; vertical-align: top; text-align: right; border: 1pt solid #ddd;">$[total]</td>
</tr>
</whilerow>
<tr><td style="width: 50px; border: 0pt solid #000;"></td>
<td style="width: 400px; text-align: right; border: 0pt solid #000;" colspan="2">Invoice Total:</td>
<td style="width: 60px; text-align: right; border: 1pt solid #000;">$[amount]</td>
</tr>
<tr><td colspan="4" style="width: 50px; border: 0pt solid #000;"><hr></td>
</tr>
<sql>select * from payments where invoice_id=$[_invoice_id]</sql>
<whilerow>
<tr><td style="width: 50px; border: 0pt solid #000;"></td>
<td colspan="2" style="width: 400px; text-align: right; border: 0pt solid #000;">Credit Card: $[.card_brand] ending in $[.last_4_digits] expires on $[.exp_month]/$[.exp_year]</td>
<td style="width: 60px; text-align: right; border: 1pt solid #000;">$[.amount]</td>
</tr>
</whilerow>
</table>
</div>
</div>
+57
View File
@@ -0,0 +1,57 @@
<html>
<head></head>
<body>
<sql>select i.id as invnumber,
u.name as name,
u.company_name as company_name,
u.email as email,
date_format(i.created,'%m/%e/%Y') as invdate,
i.amount as amount
from invoices as i
join users as u on i.user_id=u.id
where i.id=30</sql>
<set name="amount" value="$[.amount]">
<div style="width: 500px; border: 1pt solid #000; padding: 3px;">
<div><div style="display: inline-block;"><img style="width: 50px;" src="images/btglogo.png"></div>
<div style="display: inline-block;">
<div>BARANT TECHNLOGY GROUP</div>
<div>INVOICE</div>
</div>
<div style="display: inline-block;">
Invoice: $[.invnumber]
</div>
</div>
<div style="background: #eee;">
<div>Name: $[.name]</div>
<div>Company Name: $[.company_name]</div>
<div>E-Mail $[.email]</div>
<div>Invoice Date: $[.invdate]</div>
</div>
<div style="background: #ddd;">
<sql>select * from invoices_detail where invoice_id=29</sql>
<table style="border: 0px;" cellspacing="0">
<tr><td style="background-color: #888; color: #fff; width: 50px; padding:3px; text-align: center; border: 1pt solid #ddd;">Qty</td>
<td style="background-color: #888; color: #fff; width: 400px; padding: 3px; border: 1pt solid #ddd;">Description</td>
<td style="background-color: #888; color: #fff; width: 60px; padding: 3px; text-align: center; border: 1pt solid #ddd;">Amount</td>
</tr>
<whilerow>
<tr><td style="width: 50px; text-align: center; border: 1pt solid #ddd;">$[quantity]</td>
<td style="width: 400px; border: 1pt solid #ddd;">$[description]</td>
<td style="width: 60px; text-align: right; border: 1pt solid #ddd;">$[total]</td>
</tr>
</whilerow>
<tr><td style="width: 50px; border: 0pt solid #000;"></td>
<td style="width: 400px; text-align: right; border: 0pt solid #000;">Invoice Total:</td>
<td style="width: 60px; text-align: right; border: 1pt solid #000;">$[amount]</td>
</tr>
</table>
</div>
<sql>select * from payments where invoice_id=29</sql>
<whilerow>
<div style="background: #ccc;">
<div>Payment Info</div>
</div>
</whilerow>
</div>
</body>
</html>
+6
View File
@@ -0,0 +1,6 @@
<sectionframe title="INVOICE HISTORY">
<sql>select * from invoices where user_id=$[_user_id]</sql>$[sqlerror]
<whilerow>
<linkbutton page="barantmail">|$[created]|</linkbutton><br>
</whilerow>
</sectionframe>
+13
View File
@@ -0,0 +1,13 @@
<page template="mainpagetemplate">
<title>barant.com - JET Extension Tags</title>
<contents>
<if value1="$[ARGS]" value2="" type="eq">
<include file="jet_overview.section">
<else>
<set name="subpage" expr="substring('$[ARGS]', 2)">
<include file="jet_$[subpage].section">
</if>
</contents>
</page>
+26
View File
@@ -0,0 +1,26 @@
<sectionframe title="JET Command Reference">
<h2><a href="/jet/contents"><img src="/images/back.png" width="15"></a> CALL</h2>
<hr>
<p>Use the CALL tag to transfer control to an executable file on the
host system. Use a fully qualified name for the executable file.</p>
<h3>Arguments</h3>
<ul>
<li><b>PGM</b>: Fully qualified path name to the executable to be called.</li>
<li><b>NAME</b>: Specify the name of a variable that is to receive The
standard output of the executable.</li>
<li><b>INPUT</b>: Specify the named of a variable that contains data to be
provided to the standard input of the program being called.</li>
<li><b>ARG1</b> - <b>ARG30</b>: Specify the data elements that are to be passed as
arguments to the called program.</li>
</ul>
<h3>Residuals</h3>
<p>The named variable &#36;&#91;RETURNCODE&#93; will contain the integer value
returned by the called executable file.</p>
<h3>Examples</h3>
<div class="code">
&lt;call pgm="/usr/bin/wget" arg1="barant.com">
</exclude></div>
</sectionframe>
+22
View File
@@ -0,0 +1,22 @@
<sectionframe title="JET Command Reference">
<h2><a href="/jet/contents"><img src="/images/back.png" width="15"></a> COMMENT</h2>
<hr>
<p>Use the COMMENT tag to prevent JET from recognizing and forwarding
the contents to the output. This is not the same as an HTML command
tag but instead prevents JET from outputing the contained data to the
output stream.</p>
<h3>Arguments</h3>
<p>There is no arguments for this tag.</p>
<h3>Residuals</h3>
<p>There is no residuals for this tag.</p>
<h3>Examples</h3>
<div class="code">
&lt;comment>=================================<br>
Stuff in this container is not output as part<br>
of this output stream.<br>
================================&lt;/comment>
</exclude></div>
</sectionframe>
+27
View File
@@ -0,0 +1,27 @@
<sectionframe title="JET Command Reference">
<h2><a href="/jet/contents"><img src="/images/back.png" width="15"></a> CONTAINER</h2>
<hr>
<p>Use the CONTAINER tag inside a TAG set to insert the contents of
the define macro tag into the output stream. </p>
<h3>Arguments</h3>
<p>There are no arguments for this tag.</p>
<h3>Residuals</h3>
<p>There are no residuals for this tag.</p>
<h3>Examples</h3>
<div class="code">
&lt;tag name="wrapdiv"><br>
&nbsp;&lt;div><br>
&nbsp;&nbsp;&ltcontainer><br>
&nbsp;&lt;/div><br>
&lt/wrapdiv><br>
<br>
&lt;wrapdiv><br>
&nbsp;This text will be passed through since this is the tag's
container.<br>
&nbsp;In the final output this will be surrounded by a &lt;div> tag.<br>
&lt;/wrapdiv>
</exclude></div>
</sectionframe>
+33
View File
@@ -0,0 +1,33 @@
<sectionframe title="JET Tag Reference Contents">
<ul>
<li><a href="/jet/variables">Variables</a></li>
<li><a href="/jet/macros">Macros</a></li>
<li><a href="/jet/call">CALL</a></li>
<li><a href="/jet/comment">COMMENT</a></li>
<li><a href="/jet/container">CONTAINER</a></li>
<li><a href="/jet/database">DATABASE</a></li>
<li><a href="/jet/eval">EVAL</a></li>
<li><a href="/jet/exclude">EXCLUDE</a></li>
<li><a href="/jet/extract">EXTRACT</a></li>
<li><a href="/jet/for">FOR</a></li>
<li><a href="/jet/if">IF</a></li>
<li><a href="/jet/ifnorow">IFNOROW</a></li>
<li><a href="/jet/ifrow">IFROW</a></li>
<li><a href="/jet/include">INCLUDE</a></li>
<li><a href="/jet/library">LIBRARY</a></li>
<li><a href="/jet/net">NET</a></li>
<li><a href="/jet/read">READ</a></li>
<li><a href="/jet/set">SET</a></li>
<li><a href="/jet/setcookie">SETCOOKIE</a></li>
<li><a href="/jet/sql">SQL</a></li>
<li><a href="/jet/system">SYSTEM</a></li>
<li><a href="/jet/tag">TAG</a></li>
<li><a href="/jet/type">TYPE</a></li>
<li><a href="/jet/while">WHILE</a></li>
<li><a href="/jet/whiledir">WHILEDIR</a></li>
<li><a href="/jet/whilerow">WHILEROW</a></li>
<li><a href="/jet/write">WRITE</a></li>
</ul>
</sectionframe>
+25
View File
@@ -0,0 +1,25 @@
<sectionframe title="JET Command Reference">
<h2><a href="/jet/contents"><img src="/images/back.png" width="15"></a> DATABASE</h2>
<hr>
<p>Use the DATABASE tag to gain access to the mySQL database specified in the tag arguments.
Access to the database is only available inside the container of this tag.</p>
<p>Nesting database tags will allow multiple connections to the mySQL server.</p>
<h3>Arguments</h3>
<ul>
<li><b>HOST</b>: The host name that contains the mySQL database.</li>
<li><b>NAME</b>: The name of the database contained on the MySQL server.</li>
<li><b>USER</b>: The user name that will be used to authorize access to the mySQL database.</li>
<li><b>PASSWORD</b>: The password used to authorize the user.</li>
<li><b>SESSIONID</b>: A qualified name used to identify the session for the database connection.</li>
</ul>
<h3>Residuals</h3>
<p>The named variable &#36;&#91;ERROR&#93; will contain the value "TRUE" if an error occurred during
the opening of the database. A value of "FALSE" is returned if no error occurred..</p>
<h3>Examples</h3>
<div class="code">
&lt;call pgm="/usr/bin/wget" arg1="barant.com">
</exclude></div>
</sectionframe>
+26
View File
@@ -0,0 +1,26 @@
<sectionframe title="JET Command Reference">
<h2><a href="/jet/contents"><img src="/images/back.png" width="15"></a> CALL</h2>
<hr>
<p>Use the CALL tag to transfer control to an executable file on the
host system. Use a fully qualified name for the executable file.</p>
<h3>Arguments</h3>
<ul>
<li><b>PGM</b>: Fully qualified path name to the executable to be called.</li>
<li><b>NAME</b>: Specify the name of a variable that is to receive The
standard output of the executable.</li>
<li><b>INPUT</b>: Specify the named of a variable that contains data to be
provided to the standard input of the program being called.</li>
<li><b>ARG1</b> - <b>ARG30</b>: Specify the data elements that are to be passed as
arguments to the called program.</li>
</ul>
<h3>Residuals</h3>
<p>The named variable &#36;&#91;RETURNCODE&#93; will contain the integer value
returned by the called executable file.</p>
<h3>Examples</h3>
<div class="code">
&lt;call pgm="/usr/bin/wget" arg1="barant.com">
</exclude></div>
</sectionframe>
+26
View File
@@ -0,0 +1,26 @@
<sectionframe title="JET Command Reference">
<h2><a href="/jet/contents"><img src="/images/back.png" width="15"></a> CALL</h2>
<hr>
<p>Use the CALL tag to transfer control to an executable file on the
host system. Use a fully qualified name for the executable file.</p>
<h3>Arguments</h3>
<ul>
<li><b>PGM</b>: Fully qualified path name to the executable to be called.</li>
<li><b>NAME</b>: Specify the name of a variable that is to receive The
standard output of the executable.</li>
<li><b>INPUT</b>: Specify the named of a variable that contains data to be
provided to the standard input of the program being called.</li>
<li><b>ARG1</b> - <b>ARG30</b>: Specify the data elements that are to be passed as
arguments to the called program.</li>
</ul>
<h3>Residuals</h3>
<p>The named variable &#36;&#91;RETURNCODE&#93; will contain the integer value
returned by the called executable file.</p>
<h3>Examples</h3>
<div class="code">
&lt;call pgm="/usr/bin/wget" arg1="barant.com">
</exclude></div>
</sectionframe>
+26
View File
@@ -0,0 +1,26 @@
<sectionframe title="JET Command Reference">
<h2><a href="/jet/contents"><img src="/images/back.png" width="15"></a> CALL</h2>
<hr>
<p>Use the CALL tag to transfer control to an executable file on the
host system. Use a fully qualified name for the executable file.</p>
<h3>Arguments</h3>
<ul>
<li><b>PGM</b>: Fully qualified path name to the executable to be called.</li>
<li><b>NAME</b>: Specify the name of a variable that is to receive The
standard output of the executable.</li>
<li><b>INPUT</b>: Specify the named of a variable that contains data to be
provided to the standard input of the program being called.</li>
<li><b>ARG1</b> - <b>ARG30</b>: Specify the data elements that are to be passed as
arguments to the called program.</li>
</ul>
<h3>Residuals</h3>
<p>The named variable &#36;&#91;RETURNCODE&#93; will contain the integer value
returned by the called executable file.</p>
<h3>Examples</h3>
<div class="code">
&lt;call pgm="/usr/bin/wget" arg1="barant.com">
</exclude></div>
</sectionframe>
+26
View File
@@ -0,0 +1,26 @@
<sectionframe title="JET Command Reference">
<h2><a href="/jet/contents"><img src="/images/back.png" width="15"></a> CALL</h2>
<hr>
<p>Use the CALL tag to transfer control to an executable file on the
host system. Use a fully qualified name for the executable file.</p>
<h3>Arguments</h3>
<ul>
<li><b>PGM</b>: Fully qualified path name to the executable to be called.</li>
<li><b>NAME</b>: Specify the name of a variable that is to receive The
standard output of the executable.</li>
<li><b>INPUT</b>: Specify the named of a variable that contains data to be
provided to the standard input of the program being called.</li>
<li><b>ARG1</b> - <b>ARG30</b>: Specify the data elements that are to be passed as
arguments to the called program.</li>
</ul>
<h3>Residuals</h3>
<p>The named variable &#36;&#91;RETURNCODE&#93; will contain the integer value
returned by the called executable file.</p>
<h3>Examples</h3>
<div class="code">
&lt;call pgm="/usr/bin/wget" arg1="barant.com">
</exclude></div>
</sectionframe>
+26
View File
@@ -0,0 +1,26 @@
<sectionframe title="JET Command Reference">
<h2><a href="/jet/contents"><img src="/images/back.png" width="15"></a> CALL</h2>
<hr>
<p>Use the CALL tag to transfer control to an executable file on the
host system. Use a fully qualified name for the executable file.</p>
<h3>Arguments</h3>
<ul>
<li><b>PGM</b>: Fully qualified path name to the executable to be called.</li>
<li><b>NAME</b>: Specify the name of a variable that is to receive The
standard output of the executable.</li>
<li><b>INPUT</b>: Specify the named of a variable that contains data to be
provided to the standard input of the program being called.</li>
<li><b>ARG1</b> - <b>ARG30</b>: Specify the data elements that are to be passed as
arguments to the called program.</li>
</ul>
<h3>Residuals</h3>
<p>The named variable &#36;&#91;RETURNCODE&#93; will contain the integer value
returned by the called executable file.</p>
<h3>Examples</h3>
<div class="code">
&lt;call pgm="/usr/bin/wget" arg1="barant.com">
</exclude></div>
</sectionframe>
+26
View File
@@ -0,0 +1,26 @@
<sectionframe title="JET Command Reference">
<h2><a href="/jet/contents"><img src="/images/back.png" width="15"></a> CALL</h2>
<hr>
<p>Use the CALL tag to transfer control to an executable file on the
host system. Use a fully qualified name for the executable file.</p>
<h3>Arguments</h3>
<ul>
<li><b>PGM</b>: Fully qualified path name to the executable to be called.</li>
<li><b>NAME</b>: Specify the name of a variable that is to receive The
standard output of the executable.</li>
<li><b>INPUT</b>: Specify the named of a variable that contains data to be
provided to the standard input of the program being called.</li>
<li><b>ARG1</b> - <b>ARG30</b>: Specify the data elements that are to be passed as
arguments to the called program.</li>
</ul>
<h3>Residuals</h3>
<p>The named variable &#36;&#91;RETURNCODE&#93; will contain the integer value
returned by the called executable file.</p>
<h3>Examples</h3>
<div class="code">
&lt;call pgm="/usr/bin/wget" arg1="barant.com">
</exclude></div>
</sectionframe>
+26
View File
@@ -0,0 +1,26 @@
<sectionframe title="JET Command Reference">
<h2><a href="/jet/contents"><img src="/images/back.png" width="15"></a> CALL</h2>
<hr>
<p>Use the CALL tag to transfer control to an executable file on the
host system. Use a fully qualified name for the executable file.</p>
<h3>Arguments</h3>
<ul>
<li><b>PGM</b>: Fully qualified path name to the executable to be called.</li>
<li><b>NAME</b>: Specify the name of a variable that is to receive The
standard output of the executable.</li>
<li><b>INPUT</b>: Specify the named of a variable that contains data to be
provided to the standard input of the program being called.</li>
<li><b>ARG1</b> - <b>ARG30</b>: Specify the data elements that are to be passed as
arguments to the called program.</li>
</ul>
<h3>Residuals</h3>
<p>The named variable &#36;&#91;RETURNCODE&#93; will contain the integer value
returned by the called executable file.</p>
<h3>Examples</h3>
<div class="code">
&lt;call pgm="/usr/bin/wget" arg1="barant.com">
</exclude></div>
</sectionframe>
+26
View File
@@ -0,0 +1,26 @@
<sectionframe title="JET Command Reference">
<h2><a href="/jet/contents"><img src="/images/back.png" width="15"></a> CALL</h2>
<hr>
<p>Use the CALL tag to transfer control to an executable file on the
host system. Use a fully qualified name for the executable file.</p>
<h3>Arguments</h3>
<ul>
<li><b>PGM</b>: Fully qualified path name to the executable to be called.</li>
<li><b>NAME</b>: Specify the name of a variable that is to receive The
standard output of the executable.</li>
<li><b>INPUT</b>: Specify the named of a variable that contains data to be
provided to the standard input of the program being called.</li>
<li><b>ARG1</b> - <b>ARG30</b>: Specify the data elements that are to be passed as
arguments to the called program.</li>
</ul>
<h3>Residuals</h3>
<p>The named variable &#36;&#91;RETURNCODE&#93; will contain the integer value
returned by the called executable file.</p>
<h3>Examples</h3>
<div class="code">
&lt;call pgm="/usr/bin/wget" arg1="barant.com">
</exclude></div>
</sectionframe>
+26
View File
@@ -0,0 +1,26 @@
<sectionframe title="JET Command Reference">
<h2><a href="/jet/contents"><img src="/images/back.png" width="15"></a> CALL</h2>
<hr>
<p>Use the CALL tag to transfer control to an executable file on the
host system. Use a fully qualified name for the executable file.</p>
<h3>Arguments</h3>
<ul>
<li><b>PGM</b>: Fully qualified path name to the executable to be called.</li>
<li><b>NAME</b>: Specify the name of a variable that is to receive The
standard output of the executable.</li>
<li><b>INPUT</b>: Specify the named of a variable that contains data to be
provided to the standard input of the program being called.</li>
<li><b>ARG1</b> - <b>ARG30</b>: Specify the data elements that are to be passed as
arguments to the called program.</li>
</ul>
<h3>Residuals</h3>
<p>The named variable &#36;&#91;RETURNCODE&#93; will contain the integer value
returned by the called executable file.</p>
<h3>Examples</h3>
<div class="code">
&lt;call pgm="/usr/bin/wget" arg1="barant.com">
</exclude></div>
</sectionframe>
+26
View File
@@ -0,0 +1,26 @@
<sectionframe title="JET Command Reference">
<h2><a href="/jet/contents"><img src="/images/back.png" width="15"></a> CALL</h2>
<hr>
<p>Use the CALL tag to transfer control to an executable file on the
host system. Use a fully qualified name for the executable file.</p>
<h3>Arguments</h3>
<ul>
<li><b>PGM</b>: Fully qualified path name to the executable to be called.</li>
<li><b>NAME</b>: Specify the name of a variable that is to receive The
standard output of the executable.</li>
<li><b>INPUT</b>: Specify the named of a variable that contains data to be
provided to the standard input of the program being called.</li>
<li><b>ARG1</b> - <b>ARG30</b>: Specify the data elements that are to be passed as
arguments to the called program.</li>
</ul>
<h3>Residuals</h3>
<p>The named variable &#36;&#91;RETURNCODE&#93; will contain the integer value
returned by the called executable file.</p>
<h3>Examples</h3>
<div class="code">
&lt;call pgm="/usr/bin/wget" arg1="barant.com">
</exclude></div>
</sectionframe>
+53
View File
@@ -0,0 +1,53 @@
<sectionframe title="JET Extension Tags">
<p>Complete reference documentation go <a href="/jet/contents">here</a>.</p>
<p>JET provides a superfast method of inserting data and other elements
into a system. JET treats data with transparency. SGML style tags
provide ability to insert elements from various data sources including
mySQL.</p>
<p>JET makes an excellent tool for making websites. Using the session
control library websites can be put together in easy modular form.
Pretty URLs, smart multipage form entry and session variables for
complex login operations.</p>
<p>JET works on a principal of transparency. A JET script file will
basically pass anything that exists within it that is untagged through
to the output process. JET tags can be inserted to provide
conditional output as well as dynamic elements from the mysql database
as well as any other scripting program or executable program written
in any language.</p>
<p>JET can be used for anything from web sites to asterisk dialplan
generation to dynamic postcripting to anything that you can apply it
to.</p>
<p>JET is highly reliant on mysql. This may change in the future but
many expression handling functions are dependant on the mysql library
functions. Any expression that works in mysql will work in JET.</p>
<h3>JET Libraries</h3>
<p>You can make JET scripts and compile them into super fast
libraries. Scripts can be anything from web page functions and
concealers to session control, credit card processing and just about
anything. Libraries add some performance enhancements by pre parsing
many of the elements in the script.</p>
<p>Libraries allow you to make your own tags and implement them in
the scripts. JET does not have JSON or XML parsing but using a
libraries you can develop an XML parser operation that usually
suffices for most script processing.
<h3>Session Control (SESSIONCTL) Library</h3>
<p>For web sites, a session control library is provided with JET and
can be used to control advanced session parameters for your website.</p>
<ul>
<li>Server side session variables that are set as part of a session
identifier.</li>
<li>Manage login session details.</li>
<li>Template formatting of webite content.</li>
<li>Pretty URLS with clean navigation.</li>
</ul>
</sectionframe>
+26
View File
@@ -0,0 +1,26 @@
<sectionframe title="JET Command Reference">
<h2><a href="/jet/contents"><img src="/images/back.png" width="15"></a> CALL</h2>
<hr>
<p>Use the CALL tag to transfer control to an executable file on the
host system. Use a fully qualified name for the executable file.</p>
<h3>Arguments</h3>
<ul>
<li><b>PGM</b>: Fully qualified path name to the executable to be called.</li>
<li><b>NAME</b>: Specify the name of a variable that is to receive The
standard output of the executable.</li>
<li><b>INPUT</b>: Specify the named of a variable that contains data to be
provided to the standard input of the program being called.</li>
<li><b>ARG1</b> - <b>ARG30</b>: Specify the data elements that are to be passed as
arguments to the called program.</li>
</ul>
<h3>Residuals</h3>
<p>The named variable &#36;&#91;RETURNCODE&#93; will contain the integer value
returned by the called executable file.</p>
<h3>Examples</h3>
<div class="code">
&lt;call pgm="/usr/bin/wget" arg1="barant.com">
</exclude></div>
</sectionframe>
+26
View File
@@ -0,0 +1,26 @@
<sectionframe title="JET Command Reference">
<h2><a href="/jet/contents"><img src="/images/back.png" width="15"></a> CALL</h2>
<hr>
<p>Use the CALL tag to transfer control to an executable file on the
host system. Use a fully qualified name for the executable file.</p>
<h3>Arguments</h3>
<ul>
<li><b>PGM</b>: Fully qualified path name to the executable to be called.</li>
<li><b>NAME</b>: Specify the name of a variable that is to receive The
standard output of the executable.</li>
<li><b>INPUT</b>: Specify the named of a variable that contains data to be
provided to the standard input of the program being called.</li>
<li><b>ARG1</b> - <b>ARG30</b>: Specify the data elements that are to be passed as
arguments to the called program.</li>
</ul>
<h3>Residuals</h3>
<p>The named variable &#36;&#91;RETURNCODE&#93; will contain the integer value
returned by the called executable file.</p>
<h3>Examples</h3>
<div class="code">
&lt;call pgm="/usr/bin/wget" arg1="barant.com">
</exclude></div>
</sectionframe>
+26
View File
@@ -0,0 +1,26 @@
<sectionframe title="JET Command Reference">
<h2><a href="/jet/contents"><img src="/images/back.png" width="15"></a> CALL</h2>
<hr>
<p>Use the CALL tag to transfer control to an executable file on the
host system. Use a fully qualified name for the executable file.</p>
<h3>Arguments</h3>
<ul>
<li><b>PGM</b>: Fully qualified path name to the executable to be called.</li>
<li><b>NAME</b>: Specify the name of a variable that is to receive The
standard output of the executable.</li>
<li><b>INPUT</b>: Specify the named of a variable that contains data to be
provided to the standard input of the program being called.</li>
<li><b>ARG1</b> - <b>ARG30</b>: Specify the data elements that are to be passed as
arguments to the called program.</li>
</ul>
<h3>Residuals</h3>
<p>The named variable &#36;&#91;RETURNCODE&#93; will contain the integer value
returned by the called executable file.</p>
<h3>Examples</h3>
<div class="code">
&lt;call pgm="/usr/bin/wget" arg1="barant.com">
</exclude></div>
</sectionframe>
+26
View File
@@ -0,0 +1,26 @@
<sectionframe title="JET Command Reference">
<h2><a href="/jet/contents"><img src="/images/back.png" width="15"></a> CALL</h2>
<hr>
<p>Use the CALL tag to transfer control to an executable file on the
host system. Use a fully qualified name for the executable file.</p>
<h3>Arguments</h3>
<ul>
<li><b>PGM</b>: Fully qualified path name to the executable to be called.</li>
<li><b>NAME</b>: Specify the name of a variable that is to receive The
standard output of the executable.</li>
<li><b>INPUT</b>: Specify the named of a variable that contains data to be
provided to the standard input of the program being called.</li>
<li><b>ARG1</b> - <b>ARG30</b>: Specify the data elements that are to be passed as
arguments to the called program.</li>
</ul>
<h3>Residuals</h3>
<p>The named variable &#36;&#91;RETURNCODE&#93; will contain the integer value
returned by the called executable file.</p>
<h3>Examples</h3>
<div class="code">
&lt;call pgm="/usr/bin/wget" arg1="barant.com">
</exclude></div>
</sectionframe>
+26
View File
@@ -0,0 +1,26 @@
<sectionframe title="JET Command Reference">
<h2><a href="/jet/contents"><img src="/images/back.png" width="15"></a> CALL</h2>
<hr>
<p>Use the CALL tag to transfer control to an executable file on the
host system. Use a fully qualified name for the executable file.</p>
<h3>Arguments</h3>
<ul>
<li><b>PGM</b>: Fully qualified path name to the executable to be called.</li>
<li><b>NAME</b>: Specify the name of a variable that is to receive The
standard output of the executable.</li>
<li><b>INPUT</b>: Specify the named of a variable that contains data to be
provided to the standard input of the program being called.</li>
<li><b>ARG1</b> - <b>ARG30</b>: Specify the data elements that are to be passed as
arguments to the called program.</li>
</ul>
<h3>Residuals</h3>
<p>The named variable &#36;&#91;RETURNCODE&#93; will contain the integer value
returned by the called executable file.</p>
<h3>Examples</h3>
<div class="code">
&lt;call pgm="/usr/bin/wget" arg1="barant.com">
</exclude></div>
</sectionframe>
+26
View File
@@ -0,0 +1,26 @@
<sectionframe title="JET Command Reference">
<h2><a href="/jet/contents"><img src="/images/back.png" width="15"></a> CALL</h2>
<hr>
<p>Use the CALL tag to transfer control to an executable file on the
host system. Use a fully qualified name for the executable file.</p>
<h3>Arguments</h3>
<ul>
<li><b>PGM</b>: Fully qualified path name to the executable to be called.</li>
<li><b>NAME</b>: Specify the name of a variable that is to receive The
standard output of the executable.</li>
<li><b>INPUT</b>: Specify the named of a variable that contains data to be
provided to the standard input of the program being called.</li>
<li><b>ARG1</b> - <b>ARG30</b>: Specify the data elements that are to be passed as
arguments to the called program.</li>
</ul>
<h3>Residuals</h3>
<p>The named variable &#36;&#91;RETURNCODE&#93; will contain the integer value
returned by the called executable file.</p>
<h3>Examples</h3>
<div class="code">
&lt;call pgm="/usr/bin/wget" arg1="barant.com">
</exclude></div>
</sectionframe>
+26
View File
@@ -0,0 +1,26 @@
<sectionframe title="JET Command Reference">
<h2><a href="/jet/contents"><img src="/images/back.png" width="15"></a> CALL</h2>
<hr>
<p>Use the CALL tag to transfer control to an executable file on the
host system. Use a fully qualified name for the executable file.</p>
<h3>Arguments</h3>
<ul>
<li><b>PGM</b>: Fully qualified path name to the executable to be called.</li>
<li><b>NAME</b>: Specify the name of a variable that is to receive The
standard output of the executable.</li>
<li><b>INPUT</b>: Specify the named of a variable that contains data to be
provided to the standard input of the program being called.</li>
<li><b>ARG1</b> - <b>ARG30</b>: Specify the data elements that are to be passed as
arguments to the called program.</li>
</ul>
<h3>Residuals</h3>
<p>The named variable &#36;&#91;RETURNCODE&#93; will contain the integer value
returned by the called executable file.</p>
<h3>Examples</h3>
<div class="code">
&lt;call pgm="/usr/bin/wget" arg1="barant.com">
</exclude></div>
</sectionframe>
+10
View File
@@ -0,0 +1,10 @@
<sectionframe title="JET Variables">
<p>JET stores temporary values in names variables. There are several
variable types based upon scope and data sources.</p>
<p>Variables can belong to *GLOBAL or *LOCAL scopes.</p>
<p>The basic variable name syntax for variables is:</p>
<exclude>x$[variable-name]</exclude> for globally scope variables.
</sectionframe>
+26
View File
@@ -0,0 +1,26 @@
<sectionframe title="JET Command Reference">
<h2><a href="/jet/contents"><img src="/images/back.png" width="15"></a> CALL</h2>
<hr>
<p>Use the CALL tag to transfer control to an executable file on the
host system. Use a fully qualified name for the executable file.</p>
<h3>Arguments</h3>
<ul>
<li><b>PGM</b>: Fully qualified path name to the executable to be called.</li>
<li><b>NAME</b>: Specify the name of a variable that is to receive The
standard output of the executable.</li>
<li><b>INPUT</b>: Specify the named of a variable that contains data to be
provided to the standard input of the program being called.</li>
<li><b>ARG1</b> - <b>ARG30</b>: Specify the data elements that are to be passed as
arguments to the called program.</li>
</ul>
<h3>Residuals</h3>
<p>The named variable &#36;&#91;RETURNCODE&#93; will contain the integer value
returned by the called executable file.</p>
<h3>Examples</h3>
<div class="code">
&lt;call pgm="/usr/bin/wget" arg1="barant.com">
</exclude></div>
</sectionframe>
+26
View File
@@ -0,0 +1,26 @@
<sectionframe title="JET Command Reference">
<h2><a href="/jet/contents"><img src="/images/back.png" width="15"></a> CALL</h2>
<hr>
<p>Use the CALL tag to transfer control to an executable file on the
host system. Use a fully qualified name for the executable file.</p>
<h3>Arguments</h3>
<ul>
<li><b>PGM</b>: Fully qualified path name to the executable to be called.</li>
<li><b>NAME</b>: Specify the name of a variable that is to receive The
standard output of the executable.</li>
<li><b>INPUT</b>: Specify the named of a variable that contains data to be
provided to the standard input of the program being called.</li>
<li><b>ARG1</b> - <b>ARG30</b>: Specify the data elements that are to be passed as
arguments to the called program.</li>
</ul>
<h3>Residuals</h3>
<p>The named variable &#36;&#91;RETURNCODE&#93; will contain the integer value
returned by the called executable file.</p>
<h3>Examples</h3>
<div class="code">
&lt;call pgm="/usr/bin/wget" arg1="barant.com">
</exclude></div>
</sectionframe>
+26
View File
@@ -0,0 +1,26 @@
<sectionframe title="JET Command Reference">
<h2><a href="/jet/contents"><img src="/images/back.png" width="15"></a> CALL</h2>
<hr>
<p>Use the CALL tag to transfer control to an executable file on the
host system. Use a fully qualified name for the executable file.</p>
<h3>Arguments</h3>
<ul>
<li><b>PGM</b>: Fully qualified path name to the executable to be called.</li>
<li><b>NAME</b>: Specify the name of a variable that is to receive The
standard output of the executable.</li>
<li><b>INPUT</b>: Specify the named of a variable that contains data to be
provided to the standard input of the program being called.</li>
<li><b>ARG1</b> - <b>ARG30</b>: Specify the data elements that are to be passed as
arguments to the called program.</li>
</ul>
<h3>Residuals</h3>
<p>The named variable &#36;&#91;RETURNCODE&#93; will contain the integer value
returned by the called executable file.</p>
<h3>Examples</h3>
<div class="code">
&lt;call pgm="/usr/bin/wget" arg1="barant.com">
</exclude></div>
</sectionframe>
+26
View File
@@ -0,0 +1,26 @@
<sectionframe title="JET Command Reference">
<h2><a href="/jet/contents"><img src="/images/back.png" width="15"></a> CALL</h2>
<hr>
<p>Use the CALL tag to transfer control to an executable file on the
host system. Use a fully qualified name for the executable file.</p>
<h3>Arguments</h3>
<ul>
<li><b>PGM</b>: Fully qualified path name to the executable to be called.</li>
<li><b>NAME</b>: Specify the name of a variable that is to receive The
standard output of the executable.</li>
<li><b>INPUT</b>: Specify the named of a variable that contains data to be
provided to the standard input of the program being called.</li>
<li><b>ARG1</b> - <b>ARG30</b>: Specify the data elements that are to be passed as
arguments to the called program.</li>
</ul>
<h3>Residuals</h3>
<p>The named variable &#36;&#91;RETURNCODE&#93; will contain the integer value
returned by the called executable file.</p>
<h3>Examples</h3>
<div class="code">
&lt;call pgm="/usr/bin/wget" arg1="barant.com">
</exclude></div>
</sectionframe>
+67
View File
@@ -0,0 +1,67 @@
<page template="mainpagetemplate" secure="yes" loggedin="no">
<title>JUKEBOX</title>
<contents>
<script>
var index = 0;
const paths = [];
const songs = [];
function onselection(path,selection) {
var name = path + '/' + selection;
var player = document.getElementById('player');
var audio = document.getElementById('audio');
var title = document.getElementById('title');
player.src = name;
title.textContent = selection;
audio.load();
audio.play();
}
function selectNext() {
var index = Math.floor(Math.random()*songs.length) + 1;
onselection(paths[index],songs[index]);
}
</script>
<retain name="download_file">
<div style="display: inline-block;">
<audio id="audio" controls onended="selectNext();">
<source id="player" type="audio/mp3">
</audio>
</div>
<div style="font-size: 20px; display: inline-block;" id="title">Click on a title below</div>
<sectionframe title="Old Library">
<div style="height: 300px; overflow-y: scroll;">
<whiledir name="file" dir="musiclink/library">
<if expr="left('$[file]',1) != '.' ">
<div style="cursor: pointer;" onclick="onselection('musiclink/library','$[file]');">$[file]</div>
<script>
paths[index]='musiclink/library';
songs[index++]='$[file]';
</script>
</if>
</whiledir>
</div>
<script>
</script>
</sectionframe>
<sectionframe title="Ian's Library">
<div style="height: 300px; overflow-y: scroll;">
<whiledir name="file" dir="musiclink/ianslibrary">
<if expr="left('$[file]',1) != '.' ">
<div style="cursor: pointer;" onclick="onselection('musiclink/ianslibrary','$[file]');">$[file]</div>
<script>
paths[index]='musiclink/ianslibrary';
songs[index++]='$[file]';
</script>
</if>
</whiledir>
</div>
</sectionframe>
<script>
function printName(name) {
document.write(name + '\n');
}
//songs.forEach(printName);
</script>
</contents>
</page>
+7
View File
@@ -0,0 +1,7 @@
<if value1="$[_login_id]" value2="" type="ne">
<div style="color: #444; margin-bottom: 3px;">Welcome $[_login_name]</div>
<div>
<linkbutton page="cart"><img style="margin-top: 0px; margin-right: 10px;" src="/images/shopping_cart.png" width="30px" align="center"></linkbutton>
<linkbutton process="logout" class="button">Logout</linkbutton>
</div>
</if>
+31
View File
@@ -0,0 +1,31 @@
<sql>
select * from users where email='$[login_email]' and secret='$[login_password]'
</sql>
<ifrow>
<if expr="'$[.status]' in('ACTIVE','CONFIRM')">
<set name="login_id" value="$[.id]">
<set name="login_name" value="$[.name]">
<set name="login_email" value="$[login_email]">
<set name="login_type" value="$[.type]">
<set name="login_uuid" value="$[.uuid]">
<if value1="$[_session_id]" value2="" type="eq">
<createsession>
</if>
<setenv name="_login_id">$[login_id]</setenv>
<setenv name="_login_name">$[login_name]</setenv>
<setenv name="_login_email">$[login_email]</setenv>
<setenv name="_login_type">$[login_type]</setenv>
<setenv name="_login_uuid">$[login_uuid]</setenv>
<sql>update users set last_login=now() where id=$[login_id]</sql>
<if value1="$[start]" value2="" type="eq">
<setpage name="account">
<else>
<setpage name="$[start]">
</if>
<clearenv name="start">
<else>
<set name="errmessage" value="Login information is not correct.">
</if>
<else>
<set name="errmessage" value="Login information is not correct.">
</ifrow>
+26
View File
@@ -0,0 +1,26 @@
<page template="mainpagetemplate">
<title>LOGIN</title>
<contents>
<setenv name="start">$[start:0]</setenv>
<sectionframe title="LOGIN">
<p>Please enter your information below to login.</p>
<entryform>
<field prompt="E-Mail Address" type="text" name="login_email" size="50" maxlength="50">
<field prompt="Password" type="password" name="login_password" size="32" maxlength="32">
<buttonbay>
<linkbutton process="login"><div class="button">Login</div></linkbutton>
</buttonbay>
</entryform>
<messages>
<p>If you have already registered before but do not remember your password
then click <linkbutton page="forgotpassword">here</linkbutton>.</p>
<p>First time here? Sign up now for free.</p>
<linkbutton page="newaccount"><div class="button">New Account</div></linkbutton>
</sectionframe>
</contents>
</page>
+3
View File
@@ -0,0 +1,3 @@
<process>
<include file="login.method">
</process>
+8
View File
@@ -0,0 +1,8 @@
<page template="mainpagetemplate">
<title>Barant Systems</title>
<contents>
<sectionframe title="Log Out">
<p>Thank you. Come back soon.</p>
</sectionframe>
</contents>
</page>
+7
View File
@@ -0,0 +1,7 @@
<process>
<clearenv name="_login_id">
<clearenv name="_login_type">
<clearenv name="_login_name">
<clearenv name="_login_email">
<setpage name="logout">
</process>
+29
View File
@@ -0,0 +1,29 @@
<page template="mainpagetemplate">
<title>BARANT Technology Group</title>
<contents>
<setenv name="_menubar"></setenv>
<sectionframe title="Welcome to BARANT Systems">
<div style="width: 48%;">
<p>We are BARANT Technology Group. Contact us for information on how we can
help you with your technical objectives.</p>
<h1>Modular1 VST Synthesizer</h1>
<p>Check out our <a href="/vst">Modular1 VST3
Synthesizer</a> If you appreciate the art of modular analog
synthesizers then you will really enjoy the Modular1 with all the
features of an analog modular synthesizer put into a single VST3
instrument. With the added features of polyphony and patches that
change instantaneously this synthesizer is truly a powerhouse in the
audio toolbox.</p>
<a href="/vst"><img src="/images/modular1.png" style="width: 200px;" align="left"></a>
<p>Excellent quality and technical performance provide a performance level
instrument for musicians or students who wish to learn sound wave
synthesis techniques or for musicians to enable that old analog sound
in their DAW recording system..</p>
<p>Checkout the product page for more information on the capabilities
of the Modular1 synthesizer.</p>
</div>
</sectionframe>
</contents>
</page>
+50
View File
@@ -0,0 +1,50 @@
<tag name="title">
<container name="_title" eval="no">
<exclude><title></exclude>$[_title]<exclude></title></exclude>
</tag>
<template>
<div class="pageclass">
<div class="heading">
<div style="display: inline-block; width: 500px;">
<a href="https://barant.com"><img style="width: 60px; height: 60px; margin: 10px;" align="left" src="/images/btglogo.png"></a>
<div style="padding-top: 15px;">
<div style="left: 80px; color: #2099f0; font-size: 20pt;">BARANT TECHNOLOGY GROUP</div>
<div style="left: 80px; color: #2099f0;"><exclude>$[_title]</exclude></div>
</div>
</div>
<div style="float: right; text-align: right; margin-right: 10px; margin-top: 5px;"><include file="login.menu"></div>
</div>
<div class="menubar">
<if value1="$[_menubar]" value2="" type="eq">
<include file="menu.bar">
<else>
<include file="$[_menubar]">
</if>
</div>
<div style="display: table-row; width: 100%;">
<div style="display: table-cell; border:
background-image: url('/images/grid.png') repeat-x repeat-y;">
<div class="panel" style="width: 200px; display: table-cell; ">
<if value1="$[_menu]" value2="" type="eq">
<include file="opensource.menu">
</if>
$[_menu]
<include file="cart.menu">
<comment>
<if value1="$[_login_id]" value2="1" type="eq">
<include file="sessionvar.menu">
</if>
</comment>
</div>
<div class="panel" style="display: table-cell; width: 960px; max-width: 960px;"><contents></div>
<div style="clear: both;"></div>
</div>
</div>
<div class="footer" style="clear: both;">&copy; 1999-2026 BARANT Systems, All Rights Reserved</div>
</div>
</template>
+123
View File
@@ -0,0 +1,123 @@
#!/bin/jet-1.4
<include file="config.cfg">
<database host="$[host]" name="$[database]" user="$[user]" password="$[password]" sessionid="">
<database host="$[host]" name="$[database]" user="$[user]" password="$[password]" sessionid="2">
<sql>
select count(*) as number_of_items,
sum(price * quantity) as total,
sum(price * quantity) * 100 as cents
from product_list
join cart_item on product_list.sku=cart_item.sku
where cart_item.session_uuid='$[_session_id]'
</sql>
<set name="total" value="$[.total]">
<type mimetype="text/json">
<eval name="sendpayinfo"> {
"idempotency_key": "$[tranonce]",
"amount_money": {
"amount": $[.cents],
"currency": "USD"
},
"source_id": "$[token]",
"autocomplete": true,
"location_id": "LV0MRENX5ED3Z",
"reference_id": "123456",
"note": "Brief description"
}
</eval>
<call pgm="/usr/bin/curl" name="payment"
arg1="https://connect.squareup.com/v2/payments"
arg2="-X"
arg3="POST"
arg4="-H"
arg5="Square-Version: 2023-08-16"
arg6="-H"
arg7="Authorization: Bearer EAAAEM6VGCc3A4KULdA1qupCMhsQTeYyQqCj-T_uHQ4E1VUOuKN7A8sobb3u582q"
arg8="-H"
arg9="Content-Type: application/json"
arg10="-d"
arg11="$[sendpayinfo]">
<call pgm="/usr/bin/jq" arg1="-j" arg2=".errors[].code" input="$[payment]" name="data">
<if value1="$[data]" value2="IDEMPOTENCY_KEY_REUSED" type="eq">
Payment already processed.
<else>
<call pgm="/usr/bin/jq" arg1="-j" arg2=".payment.status" input="$[payment]" name="data">
<if value1="$[data]" value2="COMPLETED" type="eq">
<sql>select value from sessionenv
where session_uuid='$[_session_id]'
and name='_login_id'
</sql>
<set name="_login_id" value="$[.value]">
<sql>insert into invoices
set user_id=$[_login_id],
created=now(),
amount=$[total],
status="PAID"
</sql>
<sql>select last_insert_id() as invoice_id</sql>
<set name="invoice_id" value="$[.invoice_id]">
<sql>replace into sessionenv
set session_uuid='$[_session_id]',
name='_invoice_id',
value='$[invoice_id]'
</sql>
<call pgm="/usr/bin/jq" arg1="-j" arg2=".payment.status" input="$[payment]" name="card_charged">
<call pgm="/usr/bin/jq" arg1="-j" arg2=".payment.card_details.card.card_brand" input="$[payment]" name="card_brand">
<call pgm="/usr/bin/jq" arg1="-j" arg2=".payment.card_details.card.last_4" input="$[payment]" name="last_4_digits">
<call pgm="/usr/bin/jq" arg1="-j" arg2=".payment.card_details.card.exp_month" input="$[payment]" name="exp_month">
<call pgm="/usr/bin/jq" arg1="-j" arg2=".payment.card_details.card.exp_year" input="$[payment]" name="exp_year">
<call pgm="/usr/bin/jq" arg1="-j" arg2=".payment.id" input="$[payment]" name="payment_id">
<sql>insert into payments
set invoice_id=$[invoice_id],
type='CC',
created=now(),
amount=$[total],
card_brand='$[card_brand]',
last_4_digits='$[last_4_digits]',
exp_month=$[exp_month],
exp_year=$[exp_year],
payment_id='$[payment_id]',
idempotency='$[tranonce]'
</sql>
<sql>select *
from product_list
join cart_item on product_list.sku=cart_item.sku
where cart_item.session_uuid='$[_session_id]'
</sql>
<ifrow>
<whilerow>
<sql sessionid="2">insert into barant.invoices_detail
set invoice_id=$[invoice_id],
sku='$[.sku_prefix]',
sku_suffix='$[.sku_suffix]',
quantity=$[.quantity],
description='$[.description]',
price=$[.price],
total=$[.price]*$[.quantity],
tax_amount=0.00,
type='FILE'
</sql>
<if expr="'$[sku]'='MODULAR1'">
<sql sessionid="2">select * from barant.modular1_1_licenses limit 1</sql>
<set name="license" value="$[2.name]">
<set name="key" value="$[2.key]">
<sql sessionid="2">delete from barant.modular1_1_licenses where name="$[license]"</sql>
<sql sessionid="2">insert into barant.files
set user_id=$[_login_id],
invoice_id=$[invoice_id],
sku='MODULAR1',
sku_suffix='',
created_date=now(),
count=1,
license_name='$[license]',
license_key='$[key]'
</sql>
</if>
</whilerow>
</ifrow>
<sql>delete from cart_item where session_uuid='$[_session_id]'</sql>
OK
</if>
</if>
</database>
</database>
+13
View File
@@ -0,0 +1,13 @@
<table width="100%" cellpadding="3" cellspacing="0" border="1">
<tr>
<td>
<p>Account Status:</p>
<p>Hello $[login_name],</p>
<p>You have a balance of: <b>$[balance]</b></p>
<p>
<linkbutton page="addtobalance">Buy</linkbutton><br>
</p>
</td>
</tr>
</table>
+15
View File
@@ -0,0 +1,15 @@
<page template="mainpagetemplate">
<heading>
<title>Barant Systems - Member Home</title>
</heading>
<contents>
<sectionframe title="Welcome to BARANT SYSTEMS" style="big">
<p>
<linkbutton page="WCWCOH2014">West Coast Wing Chun Open House Video 2014</linkbutton>
</p>
</sectionframe>
</contents>
</page>
Loaded 100 of 191 files, more files were not shown because too many files have changed in this diff. Show more