|
Server : Apache/2.2.22 (Unix) mod_ssl/2.2.22 OpenSSL/1.0.0-fips mod_auth_passthrough/2.1 mod_bwlimited/1.4 System : Linux server.jackjohnson.com 2.6.32-279.5.2.el6.x86_64 #1 SMP Fri Aug 24 01:07:11 UTC 2012 x86_64 User : jackjohn ( 502) PHP Version : 5.3.17 Disable Function : NONE Directory : /home/jackjohn/public_html/cgi-bin/sc/templates/includes/ |
Upload File : |
#Curved Include File
#Copyright ShopSite inc. Design by Lauren
[-- IF SC_Registration --]
<h3>Customer Registration</h3>
<script type="text/JavaScript">
function DisplayLogName(name) {
var cookies=document.cookie;
var start = cookies.indexOf(name + "=");
var name = "";
var start1;
var end1;
var tmp;
var signed_in = -1;
document.write("<p class=\"boxedin\">");
if (start != -1) {
start = cookies.indexOf("=", start) +1;
var end = cookies.indexOf("|", start);
if (end != -1) {
signed_in = cookies.indexOf("|yes", start);
name = unescape(cookies.substring(start,end));
document.write("<b>" + name + "<\/b>");
if (signed_in != -1) {
document.write("<br>");
document.write("<a href=\"[-- SHOPPING_CART_URL BASE --]/order.cgi?func=3&storeid=[-- STORE.ID --]&html_reg=html\" rel=\"nofollow\"><b>[-- STORE.ViewEdit --]<\/b><\/a>");
document.write("<br>");
document.write("<a href=\"[-- SHOPPING_CART_URL BASE --]/order.cgi?func=4&storeid=[-- STORE.ID --]&html_reg=html\" rel=\"nofollow\"><b>[-- STORE.SignOut --]<\/b><\/a>");
}
else
{
document.write(" - You are no longer signed in<br>");
}
}
}
if (signed_in == -1) {
document.write("New Customer? <a href=\"[-- SHOPPING_CART_URL BASE --]/order.cgi?func=1&storeid=[-- STORE.ID --]&html_reg=html\" rel=\"nofollow\"><b>[-- STORE.ToRegister --]<\/b><\/a>");
document.write("<br>");
document.write("Returning Customer? <a href=\"[-- SHOPPING_CART_URL BASE --]/order.cgi?func=2&storeid=[-- STORE.ID --]&html_reg=html\" rel=\"nofollow\"><b>[-- STORE.ToSignIn --]<\/b><\/a>");
}
document.write("<\/p>");
}
DisplayLogName("[-- RegCookieName --]");
</script>
[-- END_IF --]