.id
3240
.gutitle
j_single
.title
j_single
.file
.extension
.name
|/routinetype-subutility|
.user_id
7
.notes
.body
<var att.j = caller.att.j>
<var set = caller.set>

<var att.highlight = caller.att.highlight>
<var _picwidth = caller._picwidth>



<div id="#escapeDoubleQuotes(att.j)#" class="j j_single j_single_routine#att.single_routine# j_orderby#att.orderby# j_ajax_num_#get.j_ajax_num#<if set.tbl EQ "user" AND set.id EQ client_id> this_is_me</if>">

<if set.recordcount EQ 0>

<p><b>#escapeMarkup(att.j)#</b> is unavailable</p>

<else>

<var _set = QueryNew(set.columnlist)>
<var QueryAddRow(_set)>
<loop list="#set.columnlist#" index="i">
<var QuerySetCell(_set,i,set[i][set.currentrow])>
</loop>
<if set.tbl EQ "user">
<var _display_title = escapeMarkup(set.name)>
<else>
<var _display_title = escapeMarkup(set.title)>
</if>
<if trim(att.highlight) NEQ "">
<var att.highlight = replace(replace(escapeMarkup(att.highlight),"(","\(","all"),")","\)","all")>
<var _display_title = reReplaceNoCase(_display_title,"(#att.highlight#)","<b>\1</b>","all")>
<var _display_title = '<span style="font-weight:normal;">' & _display_title & '</span>'>
</if>

<!---
So basically we try to run the routine for "jsingle_[tbl]", and if we can't
find that we use jsingle_generic.
We pass:
- set (the data set)
- picwidth (a number)
- display_title (a safe display title that includes text highlighting if necessary)

( ...unless att.single_routine is passed )
--->
<if isdefined("att.single_routine") AND att.single_routine NEQ "">
<var _routine = caller.att.single_routine>
<else>
<var _routine = "jsingle_#set.tbl#">
<set j="/routine-#_routine#@fentriss">
<setempty><var _routine = "jsingle_generic"></setempty>
</set>
</if>
<routine where="routine.gutitle = '#_routine#'" set="#_set#" picwidth="#_picwidth#"
display_title="#_display_title#">

</if>

</div>
 
.sum_double
0.00
.producttype
.productincludes
.physical_unsignedint
0
.isprotected_unsignedint
0
.overridesiteheader_unsignedint
0