Joelie
> qi
Undefined Variable
The variable
DEF.JPARSE.STATUS
was not found in
GLOBAL
on line 141.
<
tag.slashes
>
<var _s = trim(lcase(get.s1))>
<!--- 1. Define Important Variables --->
<
tag.qi_def
basic_only="1">
<!--- 2. Handle Program Requests --->
<if _s EQ "style.css">
<!--- include style, stop processing --->
<
tag.qi_style
headers="1">
<break>
<elseif _s EQ "script.js">
<!--- include script, stop processing --->
<
tag.qi_script
headers="1">
<break>
<elseif _s EQ "jfield_script.js">
<
tag.jfield_script
>
<break>
<elseif _s EQ "ajaxupload.js">
<
tag.ajaxupload
>
<break>
<elseif _s EQ "fcode.js">
<
tag.fcode
>
<break>
<elseif _s EQ "j_service">
<
tag.j_service
>
<break>
</if>
<!--- 1a. define basic variables for logged in user --->
<real_person>
<
tag.qi_def
>
</real_person>
<if _s EQ "iqtpi_whiteboard_utils">
<
tag.iqtpi_whiteboard_utils
>
<break>
</if>
<!--- 3. Handle User Requests --->
<if _s EQ "" OR _s EQ "Home">
<
tag.qi_layout
>
<!--- home --->
<real_person>
<
tag.qi_dashboard
>
</real_person>
<fake_person>
<
tag.qi_intro
>
</fake_person>
</
tag.qi_layout
>
<elseif _s EQ "Sign_Up" OR _s EQ "Make_a_New_Account">
<
tag.qi_layout
title="Create a new iqtpi account">
<!--- sign up --->
<
tag.qi_sign_up
>
</
tag.qi_layout
>
<elseif _s EQ "About">
<
tag.qi_layout
title="About iqtpi">
<!--- include an "about me" page --->
<
tag.qi_about
>
</
tag.qi_layout
>
<elseif _s EQ "Contact">
<
tag.qi_layout
title="Contact iqtpi">
<!--- include a "contact" page --->
<
tag.qi_contact
>
</
tag.qi_layout
>
<elseif _s EQ "Sites">
<
tag.qi_layout
title="Sites on iqtpi">
<
tag.qi_sites
>
</
tag.qi_layout
>
<elseif _s EQ "People">
<
tag.qi_layout
title="People on iqtpi">
<
tag.qi_people
>
</
tag.qi_layout
>
<elseif _s EQ "News">
<
tag.qi_layout
title="News on iqtpi">
<
tag.qi_news
>
</
tag.qi_layout
>
<elseif _s EQ "Messages">
<
tag.qi_layout
title="Messages | iqtpi">
<
tag.qi_messages
>
</
tag.qi_layout
>
<elseif _s EQ "Compose">
<
tag.qi_layout
title="New Message | iqtpi">
<
tag.qi_compose
>
</
tag.qi_layout
>
<elseif _s EQ "Profile">
<!--- "profile" is a shortcut for "my profile" --->
<real_person>
<var _idstr = client_id>
<if GLOBAL.Def.CLIENT.gutitle NEQ "">
<var _idstr = GLOBAL.Def.CLIENT.gutitle>
</if>
<goto url="http://#this_domain#/#_idstr#">
</real_person>
<fake_person>
<goto url="http://#this_domain#/">
</fake_person>
<elseif _s EQ "Invite">
<!--- magic invite page - DO NOT TELL ANYONE ABOUT THIS. --->
<
tag.qi_layout
title="Invite someone to iqtpi">
<
tag.qi_invite
>
</
tag.qi_layout
>
<elseif _s EQ "Search">
<!--- search. --->
<
tag.qi_layout
title="Search iqtpi">
<
tag.qi_search
>
</
tag.qi_layout
>
<else>
<!--- user? jparse? not found? --->
<if isNumeric(_s) OR isValidGutitle(_s) EQ 1>
<
tag.qi_single_user
>
<elseif
GLOBAL.Def.jParse.status
EQ 1>
<!--- jParse --->
<var J = GLOBAL.Def.jParse>
<if J.single EQ 1 AND J.tbl EQ "user">
<!--- user. redirect to proper user url --->
<set j="#J.jStr_resolved#" maxrows="1">
<setcrawl>
<!--- redirect with proper gutitle --->
<if trim(set.gutitle) NEQ "">
<goto url="http://#this_domain#/#trim(lcase(set.gutitle))#">
<else>
<goto url="http://#this_domain#/#set.id#">
</if>
<break>
</setcrawl>
<setempty>
<goto url="http://#this_domain#/#listLast(J.jStr_resolved,'-')#">
<break>
</setempty>
</set>
<elseif J.single EQ 1 AND J.tbl EQ "site">
<
tag.qi_single_site
>
<elseif J.single EQ 1>
<
tag.qi_single_gen
>
<else>
<!--- search. --->
<
tag.qi_layout
title="#escapeMarkup(J.jStr_resolved)#">
<
tag.qi_search
>
</
tag.qi_layout
>
</if>
<else>
<!--- not found --->
<
tag.qi_layout
title="Page Not Found">
<h3>Page Not Found</h3>
<p>
The page you requested cannot be found on this website.
</p>
</
tag.qi_layout
>
</if>
</if>