Multi-day accumulated fixes: tag dispatch, session/pooling correctness, SPA rollout, jetc compiler

JetCore engine (Tag.cpp/.h, Global.cpp/.h, __*.cpp tag classes):
- Numerous __mysql.cpp connection-pooling correctness fixes (stale
  result sets, double-indirection sessionid bugs, field caching,
  pool keying) and a session-registration-before-connection-confirmed
  ordering fix (dangling pointer on a failed connect)
- Tag.cpp: large body of fixes to the tag-dispatch/container-scanning
  logic (bare-name fallback, database aliasing, single-quote handling,
  @-prefix session variable resolution, TAGDEF caching, nested split-tag
  scanning for if/while/until/ifrow so an inner one doesn't corrupt an
  outer one's own boundary scan) plus the process-first rendering
  order fix (a <process> now runs before <checksession>/page
  resolution, fixing a real "blank page after successful login" bug)
- Global.h/.cpp: added imapSessions (parallel to the existing __mysql*
  session map) for the new <imap> tag family
- __whiledir.cpp/__include.cpp: caching and directory-name-aliasing
  fixes
- __call.cpp/.h: fixed a dangling-pointer bug
- __write.cpp: fixed an O_WRONLY-only open that couldn't create a new
  file
- __ifrow.cpp/__sql.cpp: fixed the same sessionid double-indirection
  bug __mysql.cpp had (resolveKeyword's result was being used as a map
  key lookup instead of the resolved value itself)

jetc compiler (jetc/JetParser.cpp/.h, JetCodegen.cpp/.h, JetAST.h,
jetc.cpp, build-shared.sh, build-compiled.sh):
- Parser fixes: inline <include>, nested-quote handling, void-tag
  recognition
- Codegen fixes and expanded AST support
- build-shared.sh: atomic rename into place for a freshly-built .jtc
  (a live server dlopen()ing the same path mid-rebuild was corrupting
  its own already-mapped view of the old file) and a staleness check
  so a cached JetCore .o doesn't silently keep serving yesterday's
  fixes forever
- Added -lssl to both build scripts' link lines (needed once the new
  <imap> tag's client-side TLS code existed - previously nothing in
  this codebase used OpenSSL's SSL/TLS client API, only libcrypto)

Site content (jetc/barant-site/): SPA (fetch-and-swap navigation)
rollout across essentially every .page/.jet/.section/.tag/.proc/.method
file - dynamic-content fixes, fragment-mode stripping, native
$[@name] session variables replacing older mechanisms, and this
session's own checkout.page redesign, login start-param redirect fix,
and per-page side-menu (menu.bar/$[PAGE].menu) refresh support.
Completed the earlier main.css/control.css move from assets/ to
assets/images/ (git still showed the old paths as tracked-but-deleted
until now).

Deliberately left out of this commit: dozens of .pre-<description>-
<date> manual backup files (this session's and earlier ones' own
before/after snapshots, not meant for permanent history), compiled
.jtc build outputs, ad hoc test binaries and scripts under jetc/
(login_asan, wcwc_test, optest2_bin, etc.), and jetc/__pycache__/ -
none of these are meant to be tracked; a .gitignore covering them
would be worth adding separately.
This commit is contained in:
Brad Arant committed 2026-09-03 05:20:48 +00:00
1 parent 54b6e522f9
commit b0cadc3f08
162 files changed
+3567 -2887

No files matched your search

+18 -166
View File
@@ -1,10 +1,3 @@
# --------------------------------------------------------------
# SESSIONCTL lib
#
# Session Control Function Library
#
#
# --------------------------------------------------------------
<tag name="ifadmin">
<if value1="$[__admin__]" value2="1" type="eq">
@@ -18,9 +11,6 @@
</if>
</tag>
#==============================================================================
# RETAIN tag definition.
#==============================================================================
<tag name="retain" keywords="name value empty">
<if value1="#[empty]" value2="" type=eq>
@@ -36,17 +26,8 @@
</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">
@@ -93,8 +74,8 @@
document.forms[0].N_LEVEL.value='$[X_LEVEL]';
</IF>
document.forms[0].submit();
document.forms[0].target='';"
document.forms[0].target='';
document.forms[0].requestSubmit();"
<if value1="#[CLASS]" value2="" type="ne">
CLASS="#[CLASS]"
</if>
@@ -102,9 +83,6 @@
</TAG>
#------------------------------------------------------------------------------
# ABUTTON tag definition.
#------------------------------------------------------------------------------
<TAG NAME="ABUTTON" KEYWORDS="PAGE PROCESS NAME VALUE MULTIPART">
<BUTTON ONCLICK="javascript:
@@ -126,81 +104,20 @@
document.forms[0].encoding='multipart/form-data';
</IF>
document.forms[0].submit();">&nbsp;<CONTAINER>&nbsp;</BUTTON>
document.forms[0].requestSubmit();">&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>
<eval name="_envvalue" scope="local"><container></eval>
<set name="#[name]" value="#[_envvalue]">
<set name="@#[name]" value="#[_envvalue]">
</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>
<tag name="clearenv" keywords="name">
<set name="#[name]" value="">
<set name="@#[name]" value="">
</tag>
#--------------------------------------------------
#SETPAGE
#--------------------------------------------------
<tag name="setpage" keywords="NAME DIR">
<SET NAME=PAGE VALUE='#[NAME]'>
<IF VALUE1="#[DIR]" VALUE2="" TYPE="NE">
@@ -209,79 +126,21 @@
</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>
<set name="_login_id" value="$[@_login_id]">
<set name="_login_name" value="$[@_login_name]">
<set name="_login_email" value="$[@_login_email]">
<set name="_login_type" value="$[@_login_type]">
<set name="_login_uuid" value="$[@_login_uuid]">
</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">
@@ -292,10 +151,10 @@
<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="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="contents" scope="local"><eval name="_BODY"><container></eval></tag>
<TAG NAME='TEMPLATE' SCOPE=LOCAL>
<tag name="contents" scope="local">
$[_BODY]
@@ -331,7 +190,7 @@ $[_BODY]
</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">
<form method="post" enctype="multipart/form-data" action="$[REQUEST_URI]">
<INPUT TYPE=HIDDEN NAME="_LASTPAGE" VALUE="$[PAGE]" >
<INPUT TYPE=HIDDEN NAME="PROCESS" VALUE="" >
<INPUT TYPE=HIDDEN NAME="EXITPROCESS" VALUE="$[EXITPROCESS]" >
@@ -361,14 +220,7 @@ $[_BODY]
</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>
+1 -1
View File
@@ -1,4 +1,4 @@
<page template="mainpagetemplate">
<page>
<heading>
<title>Barant Systems - West Coast Wing Chun Open House 2014</title>
</heading>
+2 -2
View File
@@ -1,4 +1,4 @@
<page template="mainpagetemplate" secure="yes" loggedin="yes">
<page secure="yes" loggedin="yes">
<title>ACCOUNT</title>
<contents>
<retain name="download_file">
@@ -46,7 +46,7 @@
<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; padding: 5px;"><img src="/assets/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>
+1 -1
View File
@@ -1,4 +1,4 @@
<page template="mainpagetemplate">
<page>
<title>BARANT Systems</title>
<contents>
<sectionframe title="E-Mail Confirmation">
+1 -1
View File
@@ -1,4 +1,4 @@
<page template="mainpagetemplate">
<page>
<heading>
<title>The Digital Gods - The MP3 Music Store</title>
</heading>
+1 -1
View File
@@ -1,4 +1,4 @@
<page template="mainpagetemplate">
<page>
<menu>
<include file="projects.menu">
<include file="sessionvar.menu">
-4
View File
@@ -1,7 +1,3 @@
<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>
+1 -1
View File
@@ -1,4 +1,4 @@
<page template="mainpagetemplate" secure="yes" loggedin="yes" admin="true">
<page secure="yes" loggedin="yes" admin="true">
<title>ADMINISTRATION</title>
<contents>
<eval name="_menu">
+1 -1
View File
@@ -1,4 +1,4 @@
<page template="mainpagetemplate" secure="yes" admin="true" loggedin="yes">
<page secure="yes" admin="true" loggedin="yes">
<title>INVOICE</title>
<contents>
<eval name="_menu">
+1 -1
View File
@@ -1,4 +1,4 @@
<page template="mainpagetemplate" secure="yes" loggedin="yes" admin="true">
<page secure="yes" loggedin="yes" admin="true">
<title>ADMIN INVOICES</title>
<contents>
<eval name="_menu">
+1 -1
View File
@@ -1,4 +1,4 @@
<page template="mainpagetemplate">
<page>
<title>APPLICATIONS</title>
<contents>
<sectionframe title="Project Manager">
+3 -3
View File
@@ -1,9 +1,9 @@
<page template="mainpagetemplate">
<page>
<title>RCA1802 Micro-Controller Assembler/Emulator</title>
<contents>
<sectionframe title="RCA1802">
<h1>The RCA1802 Micro-Controller</h1>
<img src="images/rca1802chip.jpeg" align="right">
<img src="/assets/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
@@ -26,7 +26,7 @@ device.</p>
</sectionframe>
<sectionframe title="RCA1802 Emulator">
<img src="images/emu1802a.png" align="right" width="500">
<img src="/assets/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
+1 -1
View File
@@ -3,7 +3,7 @@
<table width="100% cellpadding="5" cellspacing="0">
<tr>
<td class="featured">
<p><img src="images/organ1.png" align="right"></p>
<p><img src="/assets/organ1.png" align="right"></p>
<p>
<whiledir dir="/var/www/barant/musiclink" name="filename">
<if expr="substring('$[filename]',1,1) != '.'">
+1 -1
View File
@@ -16,7 +16,7 @@
</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>
<if value1="#[edit]" value2="true" type="eq"><img src="/assets/edit.png" width="16"></if></div></if>
<div class="sectionframecontents"><container></div></div>
</tag>
+1 -1
View File
@@ -1,4 +1,4 @@
<page template="mainpagetemplate">
<page>
<title>BARANTMAIL OPEN SOURCE PROJECT</title>
<contents>
<sectionframe title="BARANTMAIL OPEN SOURCE PROJECT">
+1 -1
View File
@@ -1,4 +1,4 @@
<page template="mainpagetemplate">
<page>
<heading>
<title>BARANT Systems</title>
</heading>
+102 -60
View File
@@ -1,80 +1,122 @@
<page template="mainpagetemplate">
<page>
<title>SHOPPING CART</title>
<contents>
<retain name="sku">
<set name="tranonce" expr="unix_timestamp()">
<setenv name="tranonce">$[tranonce]</setenv>
<sectionframe title="SHOPPING CART">
<input type="hidden" name="sku" value="">
<input type="hidden" name="qty" value="">
<script>
function update(input) {
PROCESS.value="updatecartqty";
submit();
function cartQtyChange(sku, qty) {
if (qty === '' || isNaN(qty)) return;
document.forms[0].PROCESS.value = 'updatecartqty';
document.forms[0].PAGE.value = 'cart';
document.forms[0].sku.value = sku;
document.forms[0].qty.value = qty;
document.forms[0].requestSubmit();
}
</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
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>
$[sqlerror]
<ifrow>
<set name="cart_count" value="$[.number_of_items]">
<set name="cart_total" value="$[.total]">
</ifrow>
<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>
<sectionframe title="Shopping Cart">
<if expr="$[cart_count] > 0">
<sql>
select if(find_in_set('SUBSCRIPTION', group_concat(distinct type)),'true','false') as subscription,
if(find_in_set('FILE', group_concat(distinct type)),'true','false') as file
from product_list
join cart_item on product_list.sku=cart_item.sku
where cart_item.session_uuid='$[_session_id]'
</sql>
$[sqlerror]
<ifrow>
<set name="cart_has_subscription" value="$[.subscription]">
<set name="cart_has_file" value="$[.file]">
</ifrow>
<if value1="$[cart_has_subscription]" value2="true" type="eq">
<div class="cart-notice">Some items in your cart are recurring subscriptions. You will not be
charged automatically - you'll be notified by e-mail before each renewal, and it's your
responsibility to renew.</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 value1="$[cart_has_file]" value2="true" type="eq">
<div class="cart-notice">Some items in your cart are downloadable files - available from your
account page after checkout.</div>
</if>
<div class="cart-wrap">
<div class="cart-header">
<div class="cart-col-desc">Item</div>
<div class="cart-col-price">Price</div>
<div class="cart-col-qty">Qty</div>
<div class="cart-col-total">Total</div>
<div class="cart-col-remove"></div>
</div>
<div class="cart-items">
<sql>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]'
order by description</sql>
$[sqlerror]
<whilerow>
<set name="linetotal" expr="$[.Price] * $[.Qty]">
<div class="cart-row">
<div class="cart-col-desc">$[.Description]</div>
<div class="cart-col-price">$$[.Price]</div>
<div class="cart-col-qty">
<input type="number" class="cart-qty-input" min="0" value="$[.Qty]"
onchange="cartQtyChange('$[.SKU]', this.value); return true;">
</div>
<div class="cart-col-total">$$[linetotal]</div>
<div class="cart-col-remove">
<a href="#" class="cart-remove-link" onclick="
document.forms[0].PROCESS.value='removecartitem';
document.forms[0].PAGE.value='cart';
document.forms[0].sku.value='$[.SKU]';
document.forms[0].requestSubmit();
return false;">Remove</a>
</div>
</div>
</whilerow>
</div>
<div class="cart-summary">
<div class="cart-summary-row">
<span>$[cart_count] item<if expr="$[cart_count] != 1">s</if></span>
<span class="cart-summary-total">$$[cart_total]</span>
</div>
</div>
</div>
<div style="text-align: center; width: 100%; margin-top: 10px;">
<linkbutton page="checkout" class="button">Check Out</linkbutton>
</div>
<else>
<div class="cart-empty">
<div class="cart-empty-icon">&#128722;</div>
<div class="cart-empty-title">Your cart is empty</div>
<div class="cart-empty-text">Items you add will show up here.</div>
</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>
</page>
+1 -1
View File
@@ -1,4 +1,4 @@
<page template="mainpagetemplate">
<page>
<contents>
<sectionframe title="Change Project Icon">
+85 -24
View File
@@ -1,8 +1,8 @@
<page template="mainpagetemplate" loggedin="yes">
<page loggedin="yes">
<title>SHOPPING CART - CHECKOUT</title>
<script src="https://web.squarecdn.com/v1/square.js"></script>
<contents>
<script>
<script src="https://web.squarecdn.com/v1/square.js"></script>
<script>
function processCardForm(token) {
xhr = new XMLHttpRequest();
xhr.open('POST', '/pp.cgi', true);
@@ -11,50 +11,111 @@
console.log(">" + this.responseText + "<");
if(this.responseText == "OK\n") {
document.forms[0].PAGE.value = 'thankyou';
document.forms[0].submit();
} else {
message.innerText = this.responseText;
document.forms[0].requestSubmit();
} else {
var payBtn = document.getElementById('pay');
payBtn.disabled = false;
var processbanner = document.getElementById('process');
processbanner.style.visibility = 'hidden';
message.innerText = this.responseText;
}
};
let data = 'id=$[_session_id]&token=' + token + '&tranonce=$[tranonce]';
xhr.send(data);
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' }
input: {
backgroundColor: '#1c1c24',
color: '#e7e4dc',
fontSize: '14px'
},
'input::placeholder': { color: '#8d8c92' },
'.input-container': { borderColor: 'rgba(197, 164, 90, 0.28)' },
'.input-container.is-focus': { borderColor: '#c5a45a' },
'.input-container.is-error': { borderColor: '#a13a3a' },
'.message-text': { color: '#8d8c92' },
'.message-text.is-error': { color: '#a13a3a' }
}
});
await card.attach('#card');
let button = document.getElementById('pay');
button.addEventListener('click', async () => {
message.innerText = '';
let result = await card.tokenize();
if (result.status === 'OK') {
button.disabled = true;
let processbanner = document.getElementById('process');
processbanner.style.visibility = 'visible';
processCardForm(result.token);
} else {
let errorMessage = 'Please check your card details and try again.';
if (result.errors && result.errors.length && result.errors[0].message)
errorMessage = result.errors[0].message;
message.innerText = errorMessage;
}
});
}
buildForm();
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>
<sql>select 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>
$[sqlerror]
<ifrow>
<set name="checkout_total" value="$[.total]">
</ifrow>
<sectionframe title="Order Summary">
<sql>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]'
order by description</sql>
$[sqlerror]
<div class="cart-wrap">
<div class="checkout-header">
<div class="cart-col-desc">Item</div>
<div class="cart-col-price">Price</div>
<div class="checkout-col-qty">Qty</div>
<div class="cart-col-total">Total</div>
</div>
<div class="cart-items">
<whilerow>
<set name="linetotal" expr="$[.Price] * $[.Qty]">
<div class="checkout-row">
<div class="cart-col-desc">$[.Description]</div>
<div class="cart-col-price">$$[.Price]</div>
<div class="checkout-col-qty">$[.Qty]</div>
<div class="cart-col-total">$$[linetotal]</div>
</div>
</whilerow>
</div>
<div class="cart-summary">
<div class="cart-summary-row">
<span>Total Due</span>
<span class="cart-summary-total">$$[checkout_total]</span>
</div>
</div>
</div>
</sectionframe>
<sectionframe title="Payment">
<div class="checkout-pay-wrap">
<div class="checkout-pay-label">Card Details</div>
<div id="card" class="checkout-card-input"></div>
<button id="pay" type="button" class="button checkout-pay-btn">Pay $$[checkout_total]</button>
<div id="process" class="checkout-processing">Processing Payment &mdash; Please wait&hellip;</div>
<div id="message" class="checkout-error"></div>
</div>
</sectionframe>
</contents>
</page>
+1 -1
View File
@@ -1,4 +1,4 @@
<page template="mainpagetemplate">
<page>
<title>Support E-Mail</title>
<contents>
<sectionframe title="Contact">
+1 -1
View File
@@ -1,4 +1,4 @@
<page template="mainpagetemplate">
<page>
<contents>
<sectionframe title="Create Project">
@@ -1,4 +1,4 @@
<page template="mainpagetemplate">
<page>
<contents>
<sectionframe title="Create Release Target">
+1 -1
View File
@@ -1,4 +1,4 @@
<page template="mainpagetemplate">
<page>
<contents>
<projectheader />
+1 -1
View File
@@ -1,4 +1,4 @@
<page template="mainpagetemplate">
<page>
<contents>
<sectionframe title="Create Task">
+1 -1
View File
@@ -17,6 +17,6 @@ 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">
<img class="rotate" src="/assets/spinning.png" width="50" align="center">
<span style="padding: 0px 0px 0px 10px; font-size: 16px"> PROCESSING...</span>
</div>
+1 -1
View File
@@ -1,4 +1,4 @@
<page template="mainpagetemplate">
<page>
<title>CRYSTAL</title>
<contents>
<setenv name="_menubar"></setenv>
+2 -2
View File
@@ -1,9 +1,9 @@
<page template="mainpagetemplate">
<page>
<heading>
<title>barant.com - David Eugene Arant</title>
</heading>
<contents>
<img src="images/arant2.jpg" align="left">
<img src="/assets/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>
+1 -1
View File
@@ -1,4 +1,4 @@
<page template="mainpagetemplate">
<page>
<title>Document Management</title>
<style>
.price {display: table-cell;
+1 -1
View File
@@ -1,4 +1,4 @@
<page template="mainpagetemplate" secure="yes" loggedin="yes" admin="true">
<page secure="yes" loggedin="yes" admin="true">
<title>ADMIN INVOICES</title>
<contents>
<database host="$[host]" name="$[database]" user="$[user]" password="$[password]" sessionid="1">
+1 -1
View File
@@ -1,4 +1,4 @@
<page template="mainpagetemplate">
<page>
<contents>
$[_project_header]
+1 -1
View File
@@ -1,4 +1,4 @@
<page template="mainpagetemplate">
<page>
<menu>
<include file="projects.menu">
<include file="sessionvar.menu">
+1 -1
View File
@@ -1,4 +1,4 @@
<page template="mainpagetemplate">
<page>
<title>Support E-Mail</title>
<contents>
<sectionframe title="Contact">
+1 -1
View File
@@ -1,4 +1,4 @@
<page template="mainpagetemplate">
<page>
<title>HOSTING</title>
<contents>
<retain name="sku">
+1 -1
View File
@@ -1,4 +1,4 @@
<page template="mainpagetemplate">
<page>
<title>Barant Systems</title>
<contents>
<include file="barantstream.section">
+1 -1
View File
@@ -10,7 +10,7 @@
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><div style="display: inline-block;"><img style="width: 300px;" src="/assets/invoice_logo.png"></div>
<div style="display: flex; float: right; align-items: center;">
Invoice: $[.invnumber] $[.status]
</div>
+1 -1
View File
@@ -12,7 +12,7 @@
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><div style="display: inline-block;"><img style="width: 50px;" src="/assets/btglogo.png"></div>
<div style="display: inline-block;">
<div>BARANT TECHNLOGY GROUP</div>
<div>INVOICE</div>
+1 -1
View File
@@ -1,4 +1,4 @@
<page template="mainpagetemplate">
<page>
<title>barant.com - JET Extension Tags</title>
<contents>
+1 -1
View File
@@ -1,6 +1,6 @@
<sectionframe title="JET Command Reference">
<h2><a href="/jet/contents"><img src="/images/back.png" width="15"></a> CALL</h2>
<h2><a href="/jet/contents"><img src="/assets/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>
+1 -1
View File
@@ -1,6 +1,6 @@
<sectionframe title="JET Command Reference">
<h2><a href="/jet/contents"><img src="/images/back.png" width="15"></a> COMMENT</h2>
<h2><a href="/jet/contents"><img src="/assets/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
+1 -1
View File
@@ -1,6 +1,6 @@
<sectionframe title="JET Command Reference">
<h2><a href="/jet/contents"><img src="/images/back.png" width="15"></a> CONTAINER</h2>
<h2><a href="/jet/contents"><img src="/assets/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>
+1 -1
View File
@@ -1,6 +1,6 @@
<sectionframe title="JET Command Reference">
<h2><a href="/jet/contents"><img src="/images/back.png" width="15"></a> DATABASE</h2>
<h2><a href="/jet/contents"><img src="/assets/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>
+1 -1
View File
@@ -1,6 +1,6 @@
<sectionframe title="JET Command Reference">
<h2><a href="/jet/contents"><img src="/images/back.png" width="15"></a> CALL</h2>
<h2><a href="/jet/contents"><img src="/assets/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>
+1 -1
View File
@@ -1,6 +1,6 @@
<sectionframe title="JET Command Reference">
<h2><a href="/jet/contents"><img src="/images/back.png" width="15"></a> CALL</h2>
<h2><a href="/jet/contents"><img src="/assets/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>
+1 -1
View File
@@ -1,6 +1,6 @@
<sectionframe title="JET Command Reference">
<h2><a href="/jet/contents"><img src="/images/back.png" width="15"></a> CALL</h2>
<h2><a href="/jet/contents"><img src="/assets/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>
+1 -1
View File
@@ -1,6 +1,6 @@
<sectionframe title="JET Command Reference">
<h2><a href="/jet/contents"><img src="/images/back.png" width="15"></a> CALL</h2>
<h2><a href="/jet/contents"><img src="/assets/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>
+1 -1
View File
@@ -1,6 +1,6 @@
<sectionframe title="JET Command Reference">
<h2><a href="/jet/contents"><img src="/images/back.png" width="15"></a> CALL</h2>
<h2><a href="/jet/contents"><img src="/assets/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>
+1 -1
View File
@@ -1,6 +1,6 @@
<sectionframe title="JET Command Reference">
<h2><a href="/jet/contents"><img src="/images/back.png" width="15"></a> CALL</h2>
<h2><a href="/jet/contents"><img src="/assets/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>
+1 -1
View File
@@ -1,6 +1,6 @@
<sectionframe title="JET Command Reference">
<h2><a href="/jet/contents"><img src="/images/back.png" width="15"></a> CALL</h2>
<h2><a href="/jet/contents"><img src="/assets/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>
+1 -1
View File
@@ -1,6 +1,6 @@
<sectionframe title="JET Command Reference">
<h2><a href="/jet/contents"><img src="/images/back.png" width="15"></a> CALL</h2>
<h2><a href="/jet/contents"><img src="/assets/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>
+1 -1
View File
@@ -1,6 +1,6 @@
<sectionframe title="JET Command Reference">
<h2><a href="/jet/contents"><img src="/images/back.png" width="15"></a> CALL</h2>
<h2><a href="/jet/contents"><img src="/assets/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>
+1 -1
View File
@@ -1,6 +1,6 @@
<sectionframe title="JET Command Reference">
<h2><a href="/jet/contents"><img src="/images/back.png" width="15"></a> CALL</h2>
<h2><a href="/jet/contents"><img src="/assets/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>
+1 -1
View File
@@ -1,6 +1,6 @@
<sectionframe title="JET Command Reference">
<h2><a href="/jet/contents"><img src="/images/back.png" width="15"></a> CALL</h2>
<h2><a href="/jet/contents"><img src="/assets/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>
+1 -1
View File
@@ -1,6 +1,6 @@
<sectionframe title="JET Command Reference">
<h2><a href="/jet/contents"><img src="/images/back.png" width="15"></a> CALL</h2>
<h2><a href="/jet/contents"><img src="/assets/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>
+1 -1
View File
@@ -1,6 +1,6 @@
<sectionframe title="JET Command Reference">
<h2><a href="/jet/contents"><img src="/images/back.png" width="15"></a> CALL</h2>
<h2><a href="/jet/contents"><img src="/assets/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>
+1 -1
View File
@@ -1,6 +1,6 @@
<sectionframe title="JET Command Reference">
<h2><a href="/jet/contents"><img src="/images/back.png" width="15"></a> CALL</h2>
<h2><a href="/jet/contents"><img src="/assets/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>
+1 -1
View File
@@ -1,6 +1,6 @@
<sectionframe title="JET Command Reference">
<h2><a href="/jet/contents"><img src="/images/back.png" width="15"></a> CALL</h2>
<h2><a href="/jet/contents"><img src="/assets/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>
+1 -1
View File
@@ -1,6 +1,6 @@
<sectionframe title="JET Command Reference">
<h2><a href="/jet/contents"><img src="/images/back.png" width="15"></a> CALL</h2>
<h2><a href="/jet/contents"><img src="/assets/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>
+1 -1
View File
@@ -1,6 +1,6 @@
<sectionframe title="JET Command Reference">
<h2><a href="/jet/contents"><img src="/images/back.png" width="15"></a> CALL</h2>
<h2><a href="/jet/contents"><img src="/assets/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>
+1 -1
View File
@@ -1,6 +1,6 @@
<sectionframe title="JET Command Reference">
<h2><a href="/jet/contents"><img src="/images/back.png" width="15"></a> CALL</h2>
<h2><a href="/jet/contents"><img src="/assets/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>
+1 -1
View File
@@ -1,6 +1,6 @@
<sectionframe title="JET Command Reference">
<h2><a href="/jet/contents"><img src="/images/back.png" width="15"></a> CALL</h2>
<h2><a href="/jet/contents"><img src="/assets/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>
+1 -1
View File
@@ -1,6 +1,6 @@
<sectionframe title="JET Command Reference">
<h2><a href="/jet/contents"><img src="/images/back.png" width="15"></a> CALL</h2>
<h2><a href="/jet/contents"><img src="/assets/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>
+1 -1
View File
@@ -1,6 +1,6 @@
<sectionframe title="JET Command Reference">
<h2><a href="/jet/contents"><img src="/images/back.png" width="15"></a> CALL</h2>
<h2><a href="/jet/contents"><img src="/assets/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>
+1 -1
View File
@@ -1,4 +1,4 @@
<page template="mainpagetemplate" secure="yes" loggedin="no">
<page secure="yes" loggedin="no">
<title>JUKEBOX</title>
<contents>
<script>
+1 -1
View File
@@ -1,7 +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 page="cart"><img style="margin-top: 0px; margin-right: 10px;" src="/assets/shopping_cart.png" width="30px" align="center"></linkbutton>
<linkbutton process="logout" class="button">Logout</linkbutton>
</div>
</if>
+2 -5
View File
@@ -8,19 +8,16 @@
<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">
<if value1="$[@start]" value2="" type="eq">
<setpage name="account">
<else>
<setpage name="$[start]">
<setpage name="$[@start]">
</if>
<clearenv name="start">
<else>
+1 -1
View File
@@ -1,4 +1,4 @@
<page template="mainpagetemplate">
<page>
<title>LOGIN</title>
<contents>
<setenv name="start">$[start:0]</setenv>
+1 -1
View File
@@ -1,4 +1,4 @@
<page template="mainpagetemplate">
<page>
<title>Barant Systems</title>
<contents>
<sectionframe title="Log Out">
+2 -2
View File
@@ -1,4 +1,4 @@
<page template="mainpagetemplate">
<page>
<title>BARANT Technology Group</title>
<contents>
<setenv name="_menubar"></setenv>
@@ -16,7 +16,7 @@ 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>
<a href="/vst"><img src="/assets/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
+3 -4
View File
@@ -3,11 +3,11 @@
<exclude><title></exclude>$[_title]<exclude></title></exclude>
</tag>
<template>
<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>
<a href="https://barant.com"><img style="width: 60px; height: 60px; margin: 10px;" align="left" src="/assets/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>
@@ -25,7 +25,7 @@
<div style="display: table-row; width: 100%;">
<div style="display: table-cell; border:
background-image: url('/images/grid.png') repeat-x repeat-y;">
background-image: url('/assets/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">
@@ -47,4 +47,3 @@
</div>
</template>
+2 -10
View File
@@ -43,11 +43,7 @@ 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]">
<set name="_login_id" value="$[@_login_id]">
<sql>insert into invoices
set user_id=$[_login_id],
created=now(),
@@ -56,11 +52,7 @@ Payment already processed.
</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>
<setenv name="_invoice_id">$[invoice_id]</setenv>
<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">
+1 -1
View File
@@ -1,4 +1,4 @@
<page template="mainpagetemplate">
<page>
<heading>
<title>Barant Systems - Member Home</title>
</heading>
+1 -1
View File
@@ -3,7 +3,7 @@
<table border="0" cellspacing="0" cellpadding="0" width="1000">
<tr>
<td colspan="3" class="heading">
<img src="images/barant_web_logo.png" width="400">barant systems</h1>
<img src="/assets/barant_web_logo.png" width="400">barant systems</h1>
</td></tr>
<td colspan="3" class="menubar">
<include file="menu.bar">
+14 -16
View File
@@ -7,33 +7,31 @@
<table class="menubar" cellspacing="0" cellpadding="0" width: 100%">
<tr>
<td style="border-bottom: 1pt solid #bbb; width: 20px;">&nbsp;</td>
<tab><a href="/main">HOME</a></tab>
<tab><a href="/services">SERVICES</a></tab>
<tab><a href="/hosting">HOSTING</a></tab>
<tab><a href="/documents">DOCUMENT MGMT</a></tab>
<tab><a href="/siptrunk">SIP TRUNKING</a></tab>
<tab><a href="/vst">VST</a></tab>
<tab><a href="/modular1">MODULAR1</a></tab>
<tab><a href="/modular1_patches">MODULAR1 PATCHES</a></tab>
<tab><a href="/synthedit">SYNTHEDIT</a></tab>
<tab><a href="/wordpress">WORDPRESS</a></tab>
<tab><a href="/opensource">OPEN SOURCE</a></tab>
<tab><a href="/contact">CONTACT</a></tab>
<tab page="main"><a href="/main">HOME</a></tab>
<tab page="services"><a href="/services">SERVICES</a></tab>
<tab page="hosting"><a href="/hosting">HOSTING</a></tab>
<tab page="documents"><a href="/documents">DOCUMENT MGMT</a></tab>
<tab page="siptrunk"><a href="/siptrunk">SIP TRUNKING</a></tab>
<tab page="vst"><a href="/vst">VST</a></tab>
<tab page="wordpress"><a href="/wordpress">WORDPRESS</a></tab>
<tab page="opensource"><a href="/opensource">OPEN SOURCE</a></tab>
<tab page="contact"><a href="/contact">CONTACT</a></tab>
<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">
<tab><a href="/cart">CART</a></tab>
<tab page="cart"><a href="/cart">CART</a></tab>
</if>
</ifrow>
</if>
<if value1="$[_login_id]" value2="" type="ne">
<tab><a href="/account">ACCOUNT</a></tab>
<tab page="account"><a href="/account">ACCOUNT</a></tab>
<tab page="email"><a href="/email">EMAIL</a></tab>
<if value1="$[_login_type]" value2="admin" type="eq">
<tab><a href="/admin">ADMIN</a></tab>
<tab page="admin"><a href="/admin">ADMIN</a></tab>
</if>
<else>
<tab><a href="/login">LOGIN</a></tab>
<tab page="login"><a href="/login">LOGIN</a></tab>
</if>
<td style="border-bottom: 1pt solid #bbb; width: 10px;">&nbsp;</td>
</tr>
+1 -1
View File
@@ -1,4 +1,4 @@
<page template="mainpagetemplate">
<page>
<title>BARANT Systems</title>
<contents>
<sectionframe title="Contact">
+4 -4
View File
@@ -1,4 +1,4 @@
<page template="mainpagetemplate">
<page>
<title>VST INSTRUMENTS</title>
<contents>
<retain name="sku">
@@ -6,7 +6,7 @@
<sql>select * from products where sku='MODULAR1'</sql>
<div style="display: cell-column;">
<h2>$[description]</h2>
<div style="display: cell-column; margin-right: 10px;"><img style="width: 800px;" src="images/modular1_0.png"></div>
<div style="display: cell-column; margin-right: 10px;"><img style="width: 800px;" src="/assets/modular1_0.png"></div>
<p>$[text]</p></div>
<div>
<span><font size="+3">$19.95</font></span>
@@ -40,10 +40,10 @@ for more expressive sounds.</li>
<hr>
<h2>Samples</h2>
<audio controls>
<source src="/musiclink/bae/trytryagain.mp3" type="audio/mp3">
<source src="/assets/trytryagain.mp3" type="audio/mp3">
</audio>
<audio controls>
<source src="/musiclink/bae/trytryagain6.mp3" type="audio/mp3">
<source src="/assets/trytryagain6.mp3" type="audio/mp3">
</audio>
<div style="clear: both;"></div>
</sectionframe>
@@ -1,4 +1,4 @@
<page template="mainpagetemplate" secure="yes" loggedin="yes" admin="true">
<page secure="yes" loggedin="yes" admin="true">
<title>ADMINISTRATION</title>
<contents>
<h3>Modular1 Presets</h3>
+3 -3
View File
@@ -1,4 +1,4 @@
<page template="mainpagetemplate">
<page>
<title>Modular1 Patches</title>
<contents>
<script>
@@ -36,14 +36,14 @@ from our users. We will post them here so that they can be shared.</p>
<whilerow>
<table style="width: 500px; margin: 5px; background-color: #fff;"><tr>
<td style="background-color: #fff; padding: 5px;">
<a href="/get_modular_patch.cgi?id=$[.id]"><img style="width: 20px;" src="/images/download.png"></a>
<a href="/get_modular_patch.cgi?id=$[.id]"><img style="width: 20px;" src="/assets/download.png"></a>
</td>
<td style="background-color: #fff; width: 400px;">
<div style="font-size: 18px;"><b>$[.title]</b></div>
<div>$[.text]</div>
</td>
<td style="background-color: #fff;">
<img onclick="onselection($[.id]); return true;" style="width: 40px; cursor: pointer; " src="/images/speaker.png">
<img onclick="onselection($[.id]); return true;" style="width: 40px; cursor: pointer; " src="/assets/speaker.png">
</td>
</tr></table>
</whilerow>
+1 -1
View File
@@ -1,4 +1,4 @@
<page template="mainpagetemplate" secure="yes" loggedin="no">
<page secure="yes" loggedin="no">
<title>BAE MUSIC</title>
<contents>
<script>
+2 -2
View File
@@ -1,4 +1,4 @@
<page template="mainpagetemplate">
<page>
<heading>
<title>The Digital Gods - The MP3 Music Store</title>
</heading>
@@ -20,7 +20,7 @@ create a new collection then click <linkbutton page="newcollection">here</linkbu
<tr><td colspan="2"><hr></td></tr>
<tr>
<td valign="top" width="100">
<image src="images/blank_collection_cover.png" border="1">
<image src="/assets/blank_collection_cover.png" border="1">
</td>
<td valign="top">
<table cellpadding="3" cellspacing="0" width="100%">
+1 -1
View File
@@ -1,4 +1,4 @@
<page template="mainpagetemplate">
<page>
<heading>
<title>The Digital Gods - The MP3 Music Store</title>
</heading>
+1 -1
View File
@@ -1,4 +1,4 @@
<page template="mainpagetemplate">
<page>
<title>PROJECT MANAGER - My Projects</title>
<contents>
<retain name="project_id">
+1 -1
View File
@@ -1,5 +1,5 @@
<clearenv name="_menubar">
<page template="mainpagetemplate">
<page>
<title>PROJECT MANAGER - My Work List</title>
<contents>
<retain name="task_id">
+1 -1
View File
@@ -1,5 +1,5 @@
<page template="mainpagetemplate">
<page>
<title>NEW MEMBER</title>
<contents>
<sectionframe title="New Account">
+1 -1
View File
@@ -1,4 +1,4 @@
<page template="mainpagetemplate">
<page>
<heading>
<title>The Digital Gods - The MP3 Music Store</title>
</heading>
+1 -1
View File
@@ -1,4 +1,4 @@
<page template="mainpagetemplate">
<page>
<title>Page Not Found</title>
<contents>
<p>Requested page is not found.</p>
+1 -1
View File
@@ -1,4 +1,4 @@
<page template="mainpagetemplate">
<page>
<title>OPEN SOURCE</title>
<contents>
<sectionframe title="Open Source Projects">
+1 -1
View File
@@ -1,4 +1,4 @@
<page template="mainpagetemplate" secure="yes" loggedin="yes">
<page secure="yes" loggedin="yes">
<title>PAY INVOICE</title>
<script src="https://sandbox.web.squarecdn.com/v1/square.js></script>
<contents>
+1 -1
View File
@@ -1,4 +1,4 @@
<page template="mainpagetemplate">
<page>
<title>PROJECT MANAGEMENT - $[_project_title]</title>
<menu>
<include file="projects.menu">
+1 -1
View File
@@ -1,5 +1,5 @@
<clearenv name="_menubar">
<page template="mainpagetemplate">
<page>
<title>PROJECT MANAGER</title>
<contents>
<retain name="project_id">
+1 -1
View File
@@ -1,4 +1,4 @@
<page template="mainpagetemplate">
<page>
<heading>
<title>The Digital Gods - The MP3 Music Store</title>
</heading>
+1 -1
View File
@@ -1,4 +1,4 @@
<page template="mainpagetemplate">
<page>
<title>PROJECT MANAGEMENT - $[_project_title]</title>
<menu>
<include file="projects.menu">
+2 -2
View File
@@ -1,4 +1,4 @@
<page template="mainpagetemplate">
<page>
<title>Server Core Framework</title>
<contents>
<sectionframe title="Server Core Framework">
@@ -33,7 +33,7 @@ Unty 3D and for the Unreal Engine 4 with drop in and play options that
can be heavily modified to support unique game features. Offers
support for mySQL backends.</p>
<img src="images/ServerCoreMap.png" width="80%">
<img src="/assets/ServerCoreMap.png" width="80%">
<br>
<code>
git clone https://barant.com/git@ServerCore.git
+1 -1
View File
@@ -1,4 +1,4 @@
<page template="mainpagetemplate">
<page>
<title>BARANT Technology Group</title>
<contents>
<setenv name="_menubar"></setenv>
+5 -6
View File
@@ -1,11 +1,10 @@
<sql>select * from sessionenv where session_uuid="$[_session_id]"</sql>$[sqlerror]
<sectionframe title="Session Vars">
<table>
<whilerow>
<tr>
<td style="font-size: 8pt;">$[.name]:</td><td style="font-size: 10pt;"><b>$[.value]</b></td>
</tr>
</whilerow>
<tr><td style="font-size: 8pt;">_login_id:</td><td style="font-size: 10pt;"><b>$[@_login_id]</b></td></tr>
<tr><td style="font-size: 8pt;">_login_name:</td><td style="font-size: 10pt;"><b>$[@_login_name]</b></td></tr>
<tr><td style="font-size: 8pt;">_login_email:</td><td style="font-size: 10pt;"><b>$[@_login_email]</b></td></tr>
<tr><td style="font-size: 8pt;">_login_type:</td><td style="font-size: 10pt;"><b>$[@_login_type]</b></td></tr>
<tr><td style="font-size: 8pt;">_login_uuid:</td><td style="font-size: 10pt;"><b>$[@_login_uuid]</b></td></tr>
</table>
</sectionframe>
</if>
+1 -1
View File
@@ -1,4 +1,4 @@
<page template="mainpagetemplate">
<page>
<title>SIP Trunking</title>
<style>
.price {display: table-cell;
+1 -1
View File
@@ -1,4 +1,4 @@
<page template="mainpagetemplate">
<page>
<title>Barant Systems - Streaming</title>
<contents>
<include file="barantstream.section">
+4 -4
View File
@@ -1,4 +1,4 @@
<page template="mainpagetemplate">
<page>
<title>SYNTHEDIT</title>
<contents>
<sectionframe title="SYNTHEDIT">
@@ -22,9 +22,9 @@ synthesizers. Using a superfast algorithm to generate with precision
the harmonics up to the nyquist limit. Precise control over the amplitude and phase
of each harmonic allows traditional waveforms to be generated without
aliasing problems. </p>
<img src="images/sawtooth.png" width="120px">
<img src="images/square.png" width="120px">
<img src="images/triangle.png" width="120px">
<img src="/assets/sawtooth.png" width="120px">
<img src="/assets/square.png" width="120px">
<img src="/assets/triangle.png" width="120px">
<br>
<p>Individual control over each and every harmonic affords the
generation of many waveforms that require a harmonic purity.</p>
+1 -1
View File
@@ -1,4 +1,4 @@
<page template="mainpagetemplate">
<page>
<title>PROJECT MANAGEMENT - $[_project_title]</title>
<menu>
<include file="projects.menu">
+1 -1
View File
@@ -1,5 +1,5 @@
<page template="mainpagetemplate">
<page>
<menu>
<include file="projects.menu">
<include file="sessionvar.menu">
+1 -1
View File
@@ -1,4 +1,4 @@
<page template="mainpagetemplate">
<page>
<title>THANK YOU</title>
<contents>
<sectionframe title="Thank You">
Loaded 100 of 162 files, more files were not shown because too many files have changed in this diff. Show more